/* Fiber Wave legal pages: shared, theme-aware (OS setting or the saved choice), no inline styles. */
:root{color-scheme:light dark;--bg:#ffffff;--bg2:#f3f6fc;--line:#cfd9ee;--fg:#0d1530;--muted:#46506b;--link:#14357d;--lt:block;--dk:none}
@media(prefers-color-scheme:dark){html:not([data-theme=light]){--bg:#080f20;--bg2:#0c1830;--line:#27407a;--fg:#f1f5ff;--muted:#b8c4e4;--link:#8aa6ff;--lt:none;--dk:block}}
html[data-theme=dark]{--bg:#080f20;--bg2:#0c1830;--line:#27407a;--fg:#f1f5ff;--muted:#b8c4e4;--link:#8aa6ff;--lt:none;--dk:block}
*{box-sizing:border-box}
html{scroll-padding-top:72px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--fg);font:400 1.0625rem/1.7 system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;overflow-wrap:break-word;-webkit-font-smoothing:antialiased}
a{color:var(--link);text-underline-offset:3px}
:focus-visible{outline:3px solid var(--link);outline-offset:3px;border-radius:4px}
.lg-top{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:10px;padding:8px max(16px,calc((100% - 760px)/2));background:color-mix(in srgb,var(--bg) 84%,transparent);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--line)}
.lg-brand{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--fg);text-decoration:none;margin-right:auto;min-height:44px;white-space:nowrap}
.lg-brand img{width:32px;height:32px}.lg-brand .th-lt{display:var(--lt)}.lg-brand .th-dk{display:var(--dk)}
.lg-top nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;font-size:.95rem;color:var(--muted);text-decoration:none;border-radius:8px}
.lg-top nav a:hover{color:var(--fg);background:var(--bg2)}
.theme-btn{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:10px;border:1.5px solid var(--line);background:transparent;color:var(--fg);cursor:pointer;padding:0}
.theme-btn[hidden]{display:none}
.theme-btn:hover{border-color:var(--link)}
.theme-btn svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.theme-btn .ti-moon,.theme-btn .ti-sun,.theme-btn .ti-auto{display:none}
.theme-btn[data-mode=light] .ti-sun{display:block;fill:currentColor}
.theme-btn[data-mode=dark] .ti-moon{display:block;fill:currentColor}
.theme-btn[data-mode=auto] .ti-sun{display:block}
.theme-btn[data-mode=auto] .ti-auto{display:block;fill:currentColor}
main{max-width:760px;margin:0 auto;padding:40px 16px 72px}
h1{font-size:clamp(1.8rem,5vw,2.4rem);line-height:1.15;letter-spacing:-.02em;margin:0 0 8px}
h2{font-size:1.3rem;line-height:1.25;margin:36px 0 8px}
h3{font-size:1.08rem;margin:24px 0 6px}
p,li{max-width:70ch}
li{margin:6px 0}
.muted{color:var(--muted)}
table{border-collapse:collapse;width:100%;font-size:.97rem}
td,th{padding:10px 10px;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}
th{color:var(--muted);font-size:.85rem;text-transform:uppercase;letter-spacing:.05em}
.tblwrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px;padding:0 4px}
code{font:.9em ui-monospace,Consolas,monospace;background:var(--bg2);padding:1px 6px;border-radius:6px;overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
