/* Exact Donna login rules from donna-grokbot style.css + src/workspace.css:8. */
#auth-root {--paper:#fff;--surface:#f4f6f9;--line:rgba(83,104,133,.15);--text:#18212e;--muted:#647186;--blue:#007aff;--blue-soft:rgba(0,122,255,.1); color:var(--text); font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif; min-height:100dvh; display:grid; place-items:center; padding:24px; background:#edf2f9; box-sizing:border-box;}
#auth-root[hidden], #auth-loading[hidden] {display:none!important}
.auth-gated #app,.auth-gated #portal-root {display:none!important}
#auth-root #auth {background:var(--paper);border:1px solid var(--line);border-radius:22px;box-shadow:0 24px 70px #3458791a;}
#auth-root * {box-sizing:border-box}
#auth-root button,#auth-root input {font:inherit;color:inherit;-webkit-tap-highlight-color:transparent}
#auth-root button {cursor:pointer;border:0;background:none}
#auth-root button:disabled {opacity:.45;cursor:default}
#auth-root button:focus-visible,#auth-root input:focus-visible {outline:3px solid var(--blue);outline-offset:3px}
#auth-root h2,#auth-root p {margin:0}
#auth-root .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#auth-root .eyebrow{font-size:8px;color:var(--muted);letter-spacing:1.2px;font-weight:600}
#auth-root .primary-button,#auth-root .secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border-radius:10px;font-size:12px;font-weight:550;min-height:38px}
#auth-root .primary-button{background:#0878ee;color:#fff}
#auth-root .secondary-button{border:1px solid var(--line);background:var(--paper);color:var(--text)}
#auth-root .text-button{display:block;font-size:11px;color:var(--blue);padding:10px}
#auth-root .auth{margin:auto;text-align:center;max-width:410px;padding:35px 25px}
#auth-root .auth .large-icon{margin:auto}
#auth-root .auth h2{font-size:26px;letter-spacing:-.8px;margin:22px 0 13px}
#auth-root .auth p{font-size:13px;line-height:1.65;color:var(--muted);margin-bottom:22px}
#auth-root .auth .text-button{margin:8px auto}
#auth-root .primary-button,#auth-root .secondary-button{font-size:13px}
.auth-gated .sidebar,.auth-gated .chat-header,.auth-gated #notice,.auth-gated .chat-body,.auth-gated #agents-view,.auth-gated #missions-view,.auth-gated #workspace-view,.auth-gated .inspector{display:none!important}.auth-gated .window{height:auto;display:flex!important;max-width:650px;min-height:570px;width:min(650px,100%);margin:auto;flex:initial}.auth-gated .conversation{display:block!important;width:100%;background:var(--paper)}.auth-gated #auth{display:flex;flex-direction:column;align-items:stretch;text-align:left;width:min(460px,100%);padding:52px 32px;margin:auto}.auth-mark{margin-bottom:24px}.auth-gated #auth .eyebrow{font-size:9px;letter-spacing:1.7px}.auth-gated #auth h2{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:34px;letter-spacing:-1px;line-height:1.15;margin:13px 0}.auth-gated #auth>p{font-size:14px;line-height:1.6}.auth-gated #auth-passkey{margin-top:24px;height:43px;font-size:14px}.auth-divider{display:flex;align-items:center;gap:12px;margin:23px 0;color:var(--muted);font-size:11px}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:var(--line);flex:1}.auth-gated #auth form{display:grid;gap:10px}.auth-gated #auth form label{font-size:12px;font-weight:600}.auth-gated #auth-password{font-size:16px;width:100%;padding:12px;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:10px}.auth-gated #auth-password-submit{height:43px;margin-top:5px}.auth-gated #auth-error{color:var(--danger,#b42318);font-size:12px;margin:13px 0 0;min-height:0}.auth-gated #auth-error:empty{display:none}.auth-gated #auth-progress{font-size:11px;color:var(--muted);margin-top:18px}.auth-gated #auth-retry{font-size:11px;text-align:left;padding:5px 0}.auth-gated .desktop-nav nav>a{display:none}.auth-gated .desktop{justify-content:center}.auth-gated .desktop>footer{display:none}@media(max-width:650px){.auth-gated .window{min-height:unset;height:auto;max-height:calc(100dvh - 75px);overflow:auto;flex:none}.auth-gated #auth{padding:35px 25px}.auth-gated #auth h2{font-size:31px}.auth-gated .desktop-nav{flex-shrink:0}}
@media(max-width:650px){#auth-root{padding:16px}#auth-root #auth{padding:35px 25px}}
