@font-face { font-family: SUSE; font-weight: 400 700; font-display: swap; src: url(/suse-latin.woff2) format("woff2"); }
@font-face { font-family: JBM; font-weight: 400 500; font-display: swap; src: url(/jetbrains-mono-latin.woff2) format("woff2"); }
:root { --bg: #000; --surface: #0d0d0d; --ink: #f2f2f2; --muted: #a6a6a6; --line: #2a2a2a; --accent: #9ae187; --red: #ff9a8f; --amber: #f0c36a; }
@media (prefers-color-scheme: light) { :root { --bg: #fbfbf8; --surface: #f0f1ec; --ink: #14160f; --muted: #52574a; --line: #d6d9cd; --accent: #2c6b1f; --red: #a12a1c; --amber: #7a5200; } }
* { box-sizing: border-box; }
html { scroll-padding-top: 5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1.0625rem/1.65 SUSE, system-ui, sans-serif; overflow-wrap: break-word; }
a { color: var(--accent); text-underline-offset: .18em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 1rem; top: 1rem; z-index: 3; background: var(--bg); padding: .5rem 1rem; }
.top { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem clamp(1rem, 4vw, 3rem); background: var(--bg); border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.25rem; } .brand span { color: var(--accent); }
.menu summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: .4rem; }
.menu nav { position: absolute; right: clamp(1rem, 4vw, 3rem); top: 100%; display: grid; min-width: 17rem; max-height: 75vh; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: .4rem; }
.menu nav a, aside a { color: var(--ink); text-decoration: none; padding: .45rem .7rem; border-radius: 4px; }
.menu nav a:hover, aside a:hover { background: var(--line); }
.menu [aria-current] { color: var(--accent); }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.05; letter-spacing: -.025em; margin: 0 0 1rem; text-wrap: balance; hyphens: auto; }
h2 { font-size: 1.6rem; line-height: 1.2; margin: 3.5rem 0 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--accent); }
h3 { font-size: 1.15rem; line-height: 1.35; margin: 0 0 .5rem; } h3 a { color: var(--ink); text-decoration: none; } h3 a:hover { text-decoration: underline; }
.ref { font: 500 .8rem JBM, monospace; color: var(--accent); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; margin-top: 0; }
.home { max-width: 64rem; margin: 0 auto; padding: clamp(2rem, 6vw, 4.5rem) 1rem; }
.search { display: grid; gap: .4rem; margin-top: 2rem; }
input { font: inherit; width: 100%; padding: .85rem 1rem; background: var(--surface); color: var(--ink); border: 1px solid var(--muted); border-radius: 6px; }
ol.books, ol.results, ul.quick { list-style: none; padding: 0; margin: 0; }
.quick { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.books a, .results a { display: grid; gap: .15rem 1.25rem; padding: 1rem .25rem; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.books a { grid-template-columns: 3rem 1fr auto; align-items: baseline; }
.books strong { font-size: 1.25rem; } .books .sum { grid-column: 2; } .books .n { grid-column: 3; grid-row: 1; font: .8rem JBM, monospace; color: var(--muted); }
.sum { color: var(--muted); font-size: .95rem; }
.books a:hover, .results a:hover { background: var(--surface); }
.results .name { font-weight: 700; }
.book { display: grid; grid-template-columns: 17rem minmax(0, 46rem); justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); padding: 2.5rem 1rem; }
aside nav { position: sticky; top: 5rem; max-height: calc(100vh - 6rem); overflow: auto; display: grid; font-size: .95rem; }
aside p { margin: 0 .7rem .5rem; font-weight: 700; } aside ol { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; }
section.law { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
section.law:target { background: var(--surface); box-shadow: 0 0 0 .9rem var(--surface); }
section.law p { margin: .5rem 0; max-width: 68ch; }
.penalty { display: flex; flex-wrap: wrap; gap: .4rem 2rem; margin: .8rem 0 0; }
.penalty div { display: flex; gap: .5rem; align-items: baseline; } dt { color: var(--muted); font-size: .85rem; } dd { margin: 0; font: 500 .9rem JBM, monospace; }
.felony div:first-child dd { color: var(--red); } .misdemeanor div:first-child dd { color: var(--amber); }
.table { overflow-x: auto; } table { border-collapse: collapse; width: 100%; font-size: .95rem; } th, td { text-align: left; vertical-align: top; padding: .55rem .75rem .55rem 0; border-bottom: 1px solid var(--line); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1rem; }
pre { margin: 0 0 .75rem; white-space: pre-wrap; font: .88rem/1.6 JBM, monospace; }
button { font: inherit; cursor: pointer; min-height: 44px; padding: .4rem 1.2rem; background: var(--accent); color: var(--bg); border: 0; border-radius: 6px; font-weight: 700; }
.near { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; } .next { margin-left: auto; }
footer { border-top: 1px solid var(--line); padding: 2rem clamp(1rem, 4vw, 3rem); color: var(--muted); font-size: .9rem; } footer p { max-width: 70ch; }
@media (max-width: 860px) { .book { grid-template-columns: minmax(0, 1fr); } aside nav { position: static; max-height: none; border: 1px solid var(--line); border-radius: 6px; padding: .75rem 0; } }
@media (max-width: 560px) { .books a { grid-template-columns: 2.6rem 1fr; } .books .n { grid-column: 2; grid-row: auto; } }
@media print { .top, aside, footer, .near, .copy { display: none; } .book { display: block; } body { background: #fff; color: #000; } }
@media (prefers-reduced-motion: no-preference) { a { transition: background-color .12s; } }
aside a { display: block; }
.menu summary::after { content: ""; width: .45rem; height: .45rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
