/* Shannan.dev report stylesheet tweaks */

:root {
	--pico-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	--pico-font-family-sans-serif: "Noto Sans", system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, "Helvetica Neue", sans-serif, var(--pico-font-family-emoji);
	--pico-font-family-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace, var(--pico-font-family-emoji);
	--pico-font-family: var(--pico-font-family-sans-serif);
}


body {
	padding: 2rem 0;
	line-height: 1.5;
}

.back-link {
	margin-bottom: 2rem;
}

code {
	background: var(--pico-code-background-color);
	padding: 0.125rem 0.25rem;
	border-radius: 0.25rem;
}

pre code {
	background: none;
}

#logo {
	display: block;
	margin: 0 auto 2rem auto;
	max-width: 2in;
}

hr {
	display: none;
}

blockquote {
	border: 1px solid var(--pico-secondary-border);
	border-left-width: 0.25rem;
	padding: 1.25rem 1rem;
	background: var(--pico-text-selection-color);
}

blockquote *:last-child {
	margin-bottom: 0;
}

ol {
	margin-bottom: 1rem;
	padding-inline-start: 2rem;
}
ol > li {
	padding-inline-start: .5rem;
}
ol > li::marker {
  color: var(--pico-primary); 
  font-weight: 700;
}

ul {
	margin-bottom: 1rem;
	padding-inline-start: 1.5rem;
}
ul > li {
	padding-inline-start: 1rem;
}

ul > li::marker {
  content: '\0025C6';
  color: var(--pico-primary);
}


li p {
	margin-top: 0;
	margin-bottom: 0;
}

h3 {
  --pico-font-size: 1.25rem;
}

ul > li, ol > li {
	margin-top: .5rem;
	margin-bottom: .5rem;
}

nav ul > li,
nav ol > li {
	margin: 0;
}

h1:first-of-type {
	text-align: center;
	margin-bottom: 3rem;
}

mark {
	color: var(--pico-contrast);
}

s, del {
	color: #555;
	background: #555;
}

h1:first-of-type > em {
  display: block;
  margin-top: 1rem;
  font-size: 60%;
  font-style: normal;
  color: var(--pico-primary);
}

.svg-graph {
  max-width: 100%;
  margin: 2rem auto;
  border: 2px solid var(--pico-secondary-border);
}
.svg-graph svg {
  width: 100%;
  height: auto;
}
.svg-graph-error {
  border: 2px solid #ef4444;
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
  background-color: #fee2e2;
}
.svg-graph-error strong {
  color: #991b1b;
}
.svg-graph-error code {
  color: #7f1d1d;
}

@media print {
  .svg-graph {
    background: #fff;
  }
}
