/* Authentication-only layout; account and shared-file views retain their theme. */
html:not(.pan-public-route) body:has(#auth:not(.hidden)){background:#f3f6f4;color:#20372e;color-scheme:light}
html:not(.pan-public-route) body:has(#auth:not(.hidden)) .shell{max-width:none;min-height:100svh;padding:20px 24px 16px;display:flex;flex-direction:column;align-items:center}
html:not(.pan-public-route) body:has(#auth:not(.hidden)) .topbar{width:100%;max-width:1120px;margin:0 0 16px;flex-shrink:0}
html:not(.pan-public-route) body:has(#auth:not(.hidden)) .brand small{color:#64796f}
html:not(.pan-public-route) body:has(#auth:not(.hidden)) .mark{background:#226e50;color:#fff;width:38px;height:38px;border-radius:11px;font-size:22px}
#auth.auth-card{width:min(440px,100%);max-width:440px;padding:28px 32px;margin:auto 0;background:#fff;border:1px solid #e0e8e3;border-radius:18px;box-shadow:0 12px 40px #20372e0b;color:#20372e}
#auth .auth-layout{display:block}
#auth .auth-copy{display:none}
#auth .auth-panel{padding:0;border:0;background:transparent;border-radius:0}
#auth .auth-tabs{margin:0 0 20px;padding:4px;gap:4px;border:0;background:#eef3ef;border-radius:9px}
#auth .auth-tab{padding:9px;color:#65786e;font-size:14px;font-weight:600;border-radius:6px}
#auth .auth-tab.active{background:#fff;color:#205d44;box-shadow:0 1px 5px #20372e12}
#reset-screen button:disabled{cursor:default}
#auth .auth-screen{margin:0;max-width:none}
#auth .panel{background:transparent;border:0;border-radius:0;box-shadow:none}
#auth .auth-form{padding:0}
#auth .panel-kicker{display:none}
#auth .auth-form h2{font-size:26px;line-height:1.25;letter-spacing:-.5px;margin:0 0 8px;color:#20372e}
#auth .auth-form .hint{margin:0 0 20px;line-height:1.6;color:#728078;font-size:13px}
#auth label{color:#40584a;font-size:13px;margin:12px 0}
#auth input{background:#fff;color:#20372e;border:1px solid #cbd7cf;border-radius:6px;padding:10px 12px;min-height:42px;margin-top:6px;box-shadow:none;font-size:14px}
#auth input::placeholder{color:#87948c}
#auth input:focus{border-color:#226e50;box-shadow:0 0 0 3px #226e5015}
#auth .button{background:#226e50;color:white;border-radius:6px;padding:10px 14px;min-height:42px;font-size:14px;font-weight:600}
#auth .button:hover{background:#19563d}
#auth .button.secondary{background:#edf3ef;color:#226e50}
#auth .code-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:12px}
#auth .code-row input{margin:0}
#auth .wide{margin-top:8px}
#auth .auth-links{margin:14px 0 0;justify-content:flex-end}
#auth .auth-links button,#auth .auth-switch button{color:#226e50;font-weight:600}
#auth .auth-secondary{padding:16px 0 0;margin-top:20px;border-top:1px solid #e6ece8;gap:4px 12px}
#auth .auth-secondary strong{font-size:13px;color:#40584a}
#auth .auth-secondary span{font-size:11px;color:#728078}
#auth .auth-secondary .button{font-size:12px}
#auth .status{font-size:12px;min-height:0;margin:12px 0 0;padding:0;color:#226e50}
#auth .status:empty{display:none}
#auth .status.error{color:#ad3636}
html:not(.pan-public-route) body:has(#auth:not(.hidden)) .site-footer{flex-shrink:0;margin:20px 0 0;color:#7d8981;font-size:11px}
html:not(.pan-public-route) body:has(#auth:not(.hidden)) .site-footer nav{gap:20px;margin-bottom:8px}
html:not(.pan-public-route) body:has(#auth:not(.hidden)) .site-footer nav a{color:#536d5e!important;font-size:12px!important}
@media(max-height:760px){html:not(.pan-public-route) body:has(#auth:not(.hidden)) .shell{padding-top:12px;padding-bottom:10px}html:not(.pan-public-route) body:has(#auth:not(.hidden)) .topbar{margin-bottom:10px}#auth.auth-card{padding:22px 28px}#auth .auth-form .hint{margin-bottom:12px}#auth label{margin:9px 0}html:not(.pan-public-route) body:has(#auth:not(.hidden)) .site-footer{margin-top:12px}}
@media(max-width:480px){html:not(.pan-public-route) body:has(#auth:not(.hidden)) .shell{padding:16px}#auth.auth-card{padding:24px;box-shadow:none}html:not(.pan-public-route) body:has(#auth:not(.hidden)) .site-footer nav{gap:14px}}
