/* Portal-only light theme. Institutional styles remain unchanged. */
:root{color-scheme:light;--bg:#f5f5f5;--panel:#fff;--ink:#171717;--muted:#525252;--gold:#202020;--line:#d4d4d4;--green:#166534;--orange:#92400e}
body{background:var(--bg);color:var(--ink);font-size:15px}
h1,h2,.serif{font-family:OpenSans,Arial,sans-serif;font-weight:700;line-height:1.2}h1{font-size:clamp(30px,4vw,44px)}h2{font-size:26px}h3{font-weight:600}
.topbar{background:#fff}.brand img{filter:grayscale(1) brightness(.22)}
.panel,.reg-panel,.submission-card,.queue-row,.stat,.work-card,dialog{background:#fff;border-color:var(--line);box-shadow:0 2px 8px #00000005}
input:not([type=checkbox]):not([type=radio]),textarea,select{background:#fff;color:#171717;border:1px solid #a3a3a3;border-radius:6px;color-scheme:light}
input::placeholder,textarea::placeholder{color:#737373;opacity:1}input:disabled,select:disabled,textarea:disabled{background:#eaeaea;color:#666}
input[type=checkbox],input[type=radio]{accent-color:#171717}
.btn,.btn.primary,button[type=submit]{background:#171717;color:#fff;border-color:#171717;font-weight:600}.btn:hover,.btn.primary:hover{background:#333;color:#fff;border-color:#333}
.btn.text{background:transparent;color:#171717}.btn.text:hover{background:#e5e5e5;color:#171717}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.live-error,.inline-error,[aria-invalid=true]+.live-error{color:#b91c1c}.live-success{color:#166534}[aria-invalid=true]{border-color:#b91c1c!important}
.notice,.attention,.upload,.side-note,.demo{background:#f0f0f0;color:#404040;border-color:#d4d4d4}.help,.progress-note,.step-list li{color:#525252}
.step-list li.active .step-no,.step-list .current .step-no{background:#171717;color:#fff;border-color:#171717}.step-no{border-color:#a3a3a3}
.pill.active,.process .current{background:#fef3c7;color:#854d0e;border-color:#fde68a}.pill.done{background:#dcfce7;color:#166534;border-color:#bbf7d0}
.status-label{color:#334155}.avatar{background:#eee;color:#171717;border-color:#ccc}fieldset{border-color:#d4d4d4}legend,label{color:#262626}
@media(max-width:650px){.shell{padding-inline:18px}.panel{padding:22px 18px}.nav a{font-size:12px}}
body[data-page=registro]{--bg:#f5f5f5;--panel:#fff;--ink:#171717;--muted:#525252;--gold:#202020;--line:#d4d4d4;--green:#166534;background:#f5f5f5;color:#171717}
body[data-page=registro] .reg-panel{border-top-color:#171717}.author-row,.work-tab{background:#fff;color:#171717;border-color:#d4d4d4}.work-tab[aria-current=true]{background:#e5e5e5;color:#171717}.errors h3,.inline-error{color:#b91c1c}.page-footer{color:#525252}.site-return-bar{background:#f5f5f5}.site-return{background:#fff;color:#171717;border-color:#a3a3a3}input::file-selector-button{background:#171717;color:#fff}.success-mark{background:#dcfce7;color:#166534}
.step-list li[aria-current="step"] .step-no{background:#171717;color:#fff;border-color:#171717}
