:root{color-scheme:light;--color-surface:252 249 244;--color-surface-low:246 243 238;--color-surface-container:240 237 233;--color-surface-container-high:235 232 227;--color-surface-container-lowest:255 255 255;--color-surface-variant:229 226 221;--color-on-surface:28 28 25;--color-on-surface-variant:78 69 58;--color-primary:119 89 40;--color-primary-container:176 141 87;--color-secondary:103 93 82;--color-secondary-container:236 221 208;--color-on-secondary-container:107 97 86;--color-tertiary:100 93 88;--color-outline-variant:209 197 182;--color-error:186 26 26;--color-error-container:255 218 214;--color-shadow:43 38 34;--on-primary:#ffffff;--accent-soft:#f7f2e9;--accent-hover:#efe0d3;--accent-text:#775928;--accent-text-hover:#63471c;--overlay:rgb(28 28 25 / .65);--badge-background:#9d3128;--badge-foreground:#ffffff;--success:#326442}html[data-theme=dark]{color-scheme:dark;--color-surface:26 23 20;--color-surface-low:43 37 32;--color-surface-container:58 51 44;--color-surface-container-high:67 58 49;--color-surface-container-lowest:35 31 27;--color-surface-variant:58 51 44;--color-on-surface:242 235 221;--color-on-surface-variant:206 194 177;--color-primary:212 175 122;--color-primary-container:196 154 97;--color-secondary:184 168 145;--color-secondary-container:55 45 35;--color-on-secondary-container:242 235 221;--color-tertiary:176 164 146;--color-outline-variant:94 80 65;--color-error:255 180 171;--color-error-container:95 40 35;--color-shadow:7 5 4;--on-primary:#1a1714;--accent-soft:#372d23;--accent-hover:#493a2a;--accent-text:#d4af7a;--accent-text-hover:#f0c991;--overlay:rgb(12 9 6 / .78);--badge-background:#a64034;--badge-foreground:#ffffff;--success:#a1d2a6}:root{--surface:rgb(var(--color-surface));--surface-low:rgb(var(--color-surface-low));--surface-container:rgb(var(--color-surface-container));--surface-high:rgb(var(--color-surface-container-high));--surface-lowest:rgb(var(--color-surface-container-lowest));--surface-variant:rgb(var(--color-surface-variant));--on-surface:rgb(var(--color-on-surface));--on-surface-variant:rgb(var(--color-on-surface-variant));--primary:rgb(var(--color-primary));--primary-container:rgb(var(--color-primary-container));--secondary-container:rgb(var(--color-secondary-container));--tertiary:rgb(var(--color-tertiary));--outline-variant:rgb(var(--color-outline-variant));--error:rgb(var(--color-error))}body{background:var(--surface);color:var(--on-surface)}input,textarea,select{color:var(--on-surface);accent-color:var(--primary)}input::placeholder,textarea::placeholder{color:var(--tertiary);opacity:1}:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.is-error{color:var(--error)!important}.theme-toggle{flex:0 0 44px;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--surface-container);color:var(--primary)}.theme-toggle:hover{background:var(--surface-high)}.theme-toggle .material-symbols-outlined{font-size:23px}body:has(#admin-login-modal:not(.hidden))>header{z-index:65;pointer-events:none}body:has(#admin-login-modal:not(.hidden)) #theme-toggle{pointer-events:auto}.primary-button,button.bg-primary-container{background:var(--primary);color:var(--on-primary)}html[data-theme=light] :is(.primary-button,.bg-primary,.chat-launcher,button.bg-primary-container):hover{background-color:var(--accent-text-hover)}.subnav button.selected{color:var(--on-primary)}.evidence-trigger{background:var(--accent-soft);color:var(--accent-text)}.evidence-trigger:hover{background:var(--accent-hover);color:var(--accent-text-hover)}.bg-primary.text-white,.bg-primary-container.text-white{color:var(--on-primary)}html[data-theme=dark] .bg-white{background-color:var(--surface-lowest)}html[data-theme=dark] :is(.text-gray-900,.text-gray-800,.text-black){color:var(--on-surface)}html[data-theme=dark] :is(.text-red-600,.text-red-500){color:var(--error)}html[data-theme=dark] .bg-black\/60{background:var(--overlay)}html[data-theme=dark] :is(#guest-content-body,#admin-content-editor,.social-post-body,.post-editor) [style*=color]:not(img):not(video):not(audio){color:var(--on-surface)!important}html[data-theme=dark] :is(#guest-content-body,#admin-content-editor,.social-post-body,.post-editor) [style*=background]:not(img):not(video):not(audio){background-color:transparent!important}html[data-theme=dark] :is(#guest-content-body,#admin-content-editor,.social-post-body,.post-editor) :is(a,.evidence-trigger,.post-media-trigger){color:var(--primary)!important}html[data-theme=dark] :is(.evidence-trigger,.post-media-trigger)[style]{background-color:var(--accent-soft)!important}html[data-theme=dark] :is(.evidence-trigger,.post-media-trigger){background-color:var(--accent-soft)!important}html[data-theme=dark] :is(#guest-content-body,#admin-content-editor,.post-editor,.social-post-body) :where(p,div,span,h1,h2,h3,h4,li,blockquote,strong,em,b,i,u,font){color:inherit}html[data-theme=dark] :is(#specimen-img,.attachment-item img,.social-media-grid img){box-shadow:0 0 0 1px var(--surface-variant)}dialog{color:var(--on-surface);background:var(--surface-lowest)}dialog::backdrop{background:var(--overlay)}html[data-theme=dark] #app-toast{background:var(--surface-high);color:var(--on-surface);border:1px solid var(--outline-variant)}@media (min-width:1280px){.opinion-sidebar>.panel{display:flex;flex-direction:column;max-height:calc(100dvh - 136px)}.opinion-sidebar .opinion-scroll{flex:1;min-height:60px;max-height:none}.opinion-sidebar :is(.section-title,.opinion-note,.pagination){flex-shrink:0}}*{scrollbar-color:var(--outline-variant) var(--surface-low)}html.theme-changing :is(body,header,nav,section,article,aside,dialog,button,input,textarea,select,blockquote,.panel,.reading-sheet,.chat-message p){transition:background-color .24s ease,color .24s ease,border-color .24s ease,box-shadow .24s ease}@media (prefers-reduced-motion:reduce){html.theme-changing *{transition:none!important}}@media (max-width:1099px){#role-toggle-text{display:none}#role-toggle-btn{width:44px;height:44px;justify-content:center;padding:0}.desktop-nav button{padding-left:9px;padding-right:9px;font-size:12px}header>.h-16{gap:8px}header>.h-16>.flex:last-child{gap:6px}}@media (max-width:767px){button{min-height:44px}.primary-button,.secondary-button,.pagination button,#font-decrease,#font-increase{min-width:44px}#admin-avatar-btn{min-width:44px;padding-left:7px;padding-right:7px}#viewer-badge{padding-left:8px;padding-right:8px;font-size:12px}header>.h-16{padding-left:12px;padding-right:12px}header .font-headline-sm{font-size:18px}.confirm-dialog{max-width:calc(100vw - 24px)}.mobile-tab{min-width:0;padding:3px 4px}.mobile-tab>span:last-child{white-space:normal;max-width:100%;font-size:10.5px;letter-spacing:.015em;line-height:1.25}}
