/* Shared readable palette. Explicit foreground/background pairs include disabled states. */
:root{--muted:#465e54;--text:#193b31;--ink:#193b31;--accent:#215f48;color-scheme:light}
body{line-height:1.6}
:where(input,textarea,select){color:#1c352c;background-color:#fff;font-size:max(1em,14px)}
:where(input,textarea)::placeholder{color:#586b62;opacity:1}
:where(button,.button,.button-link,input[type=submit]){font-size:14px;line-height:1.4}
:where(button,.button,.button-link):focus-visible,:where(a,input,textarea,select,summary):focus-visible{outline:3px solid #2d7859;outline-offset:3px}
:where(button,input,select,textarea):disabled,:where(.button,.page-direction)[aria-disabled=true],.page-direction.disabled,[data-work-start]:disabled{opacity:1!important;color:#42554b!important;background:#e4ebe7!important;border:1px solid #869d90!important;cursor:not-allowed}
:where(.muted,.help,.helptext,.form-help,.source-progress p,.article-meta,.result-meta,.card-meta,.stat-note,.metric-note){color:#465e54}
:where(.app-main,.app-topbar,.topbar,.site-footer) small{font-size:13px;line-height:1.5}
.research-switcher label,.research-switcher #team-balance-link{font-size:13px!important;color:#405b4d!important}
.document-state,.document-state #collaboration-status,.document-topline,.document-actions details,.document-format summary{font-size:14px!important;color:#3d5649}
.document-format button,.document-topline button,.document-actions button,.document-actions a,.document-tabs button{font-size:14px!important;min-height:38px}
.document-state #editor-presence,.document-actions #word-count{color:#405b4d!important;font-size:13px!important}
.review-card,.review-card time,.review-card>a,.review-badge,.review-empty,.comment-intro,.review-actions button,.review-decision{font-size:13px!important;line-height:1.55!important}
.review-card time,.review-empty,.comment-intro{color:#425a4c!important}
.review-badge{color:#64470b!important;background:#fff0bd!important}
.review-actions button{color:#fff;background:#215f48}.review-actions button+button{color:#514522;background:#f0ead8}
.document-workspace aside :is(h2,h3,summary){color:#203e31}.document-workspace aside :is(p,small){color:#354f40}
.bibliography-entry button{font-size:13px;min-height:34px}
.document-tabs button[aria-selected=true]{color:#fff!important;background:#183e50!important}
.document-tabs button[aria-selected=false]{color:#334e42!important;background:#eef4f0!important}
.participation{color:#fff}.participation :is(p,small,li,span){color:#e4f0e9}.participation :is(h2,h3,strong,a){color:#fff}
.participation a:not(.button-link){text-decoration:underline;text-underline-offset:3px}.participation .button-link{color:#173e35;background:#f0f7ef}
.search-form button,.button-link,.page-number.current{color:#fff;background:#215f48}.page-number.current{border-color:#215f48}
:where(.stat-card,.metric-card,.article-card,.result-card) :where(small,.muted){font-size:13px;color:#425a4c}
@media(max-width:700px){input,select,textarea{font-size:16px!important}.document-tabs button{padding:10px 12px}.review-actions button{min-height:40px}}
@media(min-width:761px){:root{--topbar-height:88px}.app-topbar{height:88px;min-height:88px}.research-switcher label{line-height:1.25}}
