.doc { max-width: 760px; margin-inline: auto; padding-block: 56px 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); margin-block: 12px 10px; }
.doc .stand { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.doc h2 { font-size: 22px; margin-block: 38px 10px; }
.doc p, .doc li { color: var(--fg); font-size: 16px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; margin: 10px 0 0; }
.doc a { color: var(--cyan-text); text-underline-offset: 3px; }
.doc address { font-style: normal; }
.facts { display: grid; grid-template-columns: 170px 1fr; gap: 0; border-top: 1px solid var(--line); margin: 14px 0 0; }
.facts dt, .facts dd { padding-block: 12px; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 15px; }
.facts dd { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts dt { border-bottom: 0; padding-bottom: 0; } }
mark.todo { background: rgba(255, 140, 0, 0.22); color: var(--fg); padding: 1px 6px; border-radius: 5px; font-weight: 500; }
.legalnav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.legalnav a { text-decoration: none; color: var(--muted); font-size: 14px; }
.legalnav a:hover, .legalnav a[aria-current="page"] { color: var(--fg); }
.legalnav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 5px; }
.cat { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-top: 14px; }
.cat h2 { font-size: 18px; margin: 0; }
.cat p { grid-column: 1 / -1; color: var(--muted); font-size: 14.5px; margin: 0; }
.cat .state { font-size: 12px; color: var(--muted); font-weight: 500; }
.sw { position: relative; width: 48px; height: 28px; flex: none; }
.sw input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.sw span { position: absolute; inset: 0; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); transition: background .2s; }
.sw span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--muted); transition: transform .2s, background .2s; }
.sw input:checked + span { background: var(--cyan); border-color: var(--cyan); }
.sw input:checked + span::after { transform: translateX(20px); background: #fff; }
.sw input:disabled { cursor: not-allowed; }
.sw input:disabled + span { opacity: 0.7; }
.sw input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 3px; }
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.status { margin-top: 16px; font-size: 14px; color: var(--cyan-text); min-height: 1.4em; }
@media (prefers-reduced-motion: reduce) { .sw span, .sw span::after { transition: none; } }
