:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;color:#21353e;background:#f6f9fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at 50% 42%,#e2f1f5 0,transparent 58%)}button,input,a{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:#126c84}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #368ba9;outline-offset:4px}[hidden]{display:none!important}.entry{min-height:calc(100dvh - 55px);display:grid;place-items:center;padding:45px 22px;position:relative}.identity{text-align:center;animation:appear .8s both}.identity img{width:260px;height:174px;filter:drop-shadow(0 24px 27px #1a899b20);animation:float 8s ease-in-out infinite}.overline{font-size:10px;letter-spacing:.38em;color:#678391;margin:10px 0 17px}h1{font-size:52px;font-weight:650;letter-spacing:.1em;margin:0}.tagline{color:#68808b;font-size:17px;letter-spacing:.13em;margin:20px 0 43px}.primary{border:1px solid #ffffff66;border-radius:18px;background:linear-gradient(140deg,#297e95,#1b4758);color:white;padding:15px 25px;box-shadow:inset 0 1px 1px #ffffff50,0 10px 30px #29647720;transition:transform .25s,box-shadow .25s}.primary:hover{transform:translateY(-2px);box-shadow:0 14px 32px #29647732}.enter{min-width:200px}.enter span{margin-left:30px}.private-note{font-size:11px;letter-spacing:.12em;color:#7b8f99;margin-top:23px}footer{text-align:center;color:#8b9aa3;font-size:11px;padding:17px;position:relative}.sky{position:fixed;inset:0;overflow:hidden;pointer-events:none}.sky i{position:absolute;width:420px;height:420px;left:15%;top:15%;border:1px solid #ffffffaa;border-radius:50%;box-shadow:inset 0 0 55px #ffffff40;animation:float 12s ease-in-out infinite}.sky i:nth-child(2){width:660px;height:660px;left:55%;top:35%;opacity:.5;animation-delay:-5s}.sky i:nth-child(3){width:8px;height:8px;left:73%;top:22%;background:#9bccd590;box-shadow:-600px 220px 0 #acc9d560,100px 380px 0 #9bccd570;animation-delay:-3s}.panel{width:min(100%,430px);padding:30px 35px 36px;background:linear-gradient(145deg,#ffffffdb,#ffffff85);border:1px solid white;box-shadow:0 25px 90px #335b7112,inset 0 1px white;border-radius:30px;backdrop-filter:blur(26px);animation:appear .4s both}.back{border:0;background:#e5edf180;border-radius:50%;width:36px;height:36px;color:#526a75}.panel h2{font-size:29px;letter-spacing:-.03em;margin:24px 0 9px}.muted{color:#73848e;font-size:13px;line-height:1.8}.tabs{display:flex;background:#e3edf180;border-radius:13px;padding:4px;margin:22px 0}.tabs button{flex:1;padding:9px;border:0;border-radius:10px;background:none;color:#647986}.tabs button[aria-pressed=true]{background:#fff;color:#234a5c;box-shadow:0 2px 9px #354d5810}label{display:block;font-size:12px;margin:17px 0 7px;color:#456271}input{width:100%;min-height:46px;border:1px solid #d6e1e7;background:#ffffffae;border-radius:12px;padding:11px 13px;color:#21353e}form .primary{width:100%;margin-top:24px}.message{font-size:13px;line-height:1.7;color:#a14335;min-height:22px;margin:16px 0 0}.status-icon{font-size:30px;margin-top:25px;color:#3b8495}.status-actions{display:grid;gap:10px;margin-top:25px}.secondary{padding:12px 18px;border:1px solid #cfdce3;border-radius:14px;background:#ffffff80;color:#36576a}.admin-wrap{max-width:1000px;margin:60px auto;padding:24px}.admin-head{display:flex;justify-content:space-between;gap:20px;align-items:center}.admin-head h1{font-size:30px}.admin-list{display:grid;gap:14px;margin-top:28px}.account{background:#ffffffbd;border:1px solid white;padding:23px;border-radius:22px;box-shadow:0 8px 30px #335b7108}.account h2{font-size:18px;margin:0 0 9px}.account p{font-size:13px;color:#667e8a;overflow-wrap:anywhere}.actions{display:flex;gap:10px;flex-wrap:wrap}.actions button{padding:9px 15px;border:1px solid #d2e1e7;background:#f1f7f9;border-radius:10px;color:#235e71}.badge{font-size:11px;margin-left:14px;background:#e7f0f4;color:#477684;padding:5px 8px;border-radius:8px}.admin-head a{font-size:13px;white-space:nowrap}.admin-wrap .message{min-height:0}@keyframes float{50%{transform:translateY(-13px)}}@keyframes appear{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}@media(max-width:480px){h1{font-size:43px}.identity img{width:230px}.panel{padding:25px}.entry{padding:28px 18px}.admin-wrap{margin:15px auto;padding:20px}.admin-head h1{font-size:24px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

select{width:100%;padding:12px;border:1px solid #d6dfe6;border-radius:12px;background:white;color:#253b4a;font:inherit;margin:8px 0 16px}footer a{color:inherit;text-decoration:none}footer a:hover{text-decoration:underline}

/* Account controls share the portal's soft glass, compact spacing and clear focus states. */
.password-field{position:relative}.password-field input{padding-right:54px}.password-toggle{position:absolute;right:5px;top:4px;display:grid;place-items:center;width:38px;height:38px;padding:8px;border:0;border-radius:9px;background:transparent;color:#577886;transition:background .18s,color .18s}.password-toggle:hover{background:#e4eff2;color:#225c6b}.password-toggle svg{width:22px;height:22px}.auth-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 14px;margin-top:12px}.text-action{border:0;background:transparent;padding:8px 0;color:#286b7d;font-size:13px;line-height:1.5;text-align:left}.text-action:hover{color:#163e4b}.auth-eyebrow,.admin-eyebrow{font-size:10px;letter-spacing:.2em;color:#6b8b96;font-weight:600}.auth-eyebrow{margin-top:24px}.auth-eyebrow+h2{margin-top:10px}.auth-footnote{font-size:11px;margin-top:23px}.recovery-code-input{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.04em}
.admin-head h1{font-size:29px;letter-spacing:-.035em}.admin-nav{display:flex;gap:8px;align-items:center}.admin-eyebrow{margin:0 0 10px}.admin-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:25px 0 10px}.admin-section-heading h2{font-size:20px;letter-spacing:-.025em;margin:0}.admin-section-heading>.secondary{flex:none;min-height:38px;padding:8px 15px}.recovery-queue{padding:22px 25px;border:1px solid #dce9ee;border-radius:24px;background:linear-gradient(125deg,#f0f7fabf,#ffffffae);margin:24px 0}.recovery-queue .admin-section-heading{margin:0}.recovery-queue .badge{white-space:nowrap}.recovery-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px 0;border-top:1px solid #dbe7eb}.recovery-row p{font-size:12px;margin:7px 0;color:#607b87}.recovery-row small{font-size:11px;color:#78909b}.recovery-row button{flex:none;font-size:12px;padding:10px 13px}.recovery-empty{font-size:13px;color:#7c929a;padding:5px 0;margin-bottom:0}.account-heading{display:flex;align-items:center;gap:12px}.account-heading h2{margin:0}.account-heading .badge{margin:0}.badge-pending{background:#f5ecda;color:#8b6b31}.badge-approved{background:#e1f0e9;color:#427359}.badge-disabled,.badge-rejected{background:#f1e4e1;color:#8b6058}.account .account-permissions{color:#3f6c7a}.account .account-created{font-size:11px;color:#8b9ea7}.account .actions{margin-top:16px}.account-dialog{width:min(520px,calc(100% - 28px));padding:30px;border:1px solid #fff;border-radius:28px;color:#21353e;background:linear-gradient(140deg,#fcfeff,#f0f6f8);box-shadow:0 30px 100px #1b425336;max-height:calc(100dvh - 40px);overflow:auto}.account-dialog::backdrop{background:#1e3d4b55;backdrop-filter:blur(8px)}.account-dialog[open]{animation:appear .22s both}.account-dialog h2{font-size:25px;margin:10px 0 14px;letter-spacing:-.04em}.permission-options{display:grid;gap:10px;margin:20px 0}.permission-option{display:flex;gap:12px;align-items:flex-start;margin:0;padding:15px;border:1px solid #d8e5eb;background:#ffffffb3;border-radius:16px;cursor:pointer}.permission-option input{width:18px;min-height:18px;height:18px;flex:none;accent-color:#276d80;margin:2px 0}.permission-option strong{display:block;font-size:14px;font-weight:600;line-height:1.5}.permission-option small{display:block;font-size:12px;color:#718b96;line-height:1.65;margin-top:4px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.dialog-actions .primary,.dialog-actions .secondary{width:auto;margin:0;font-size:13px;padding:11px 16px;border-radius:13px}.recovery-code{display:block;background:#e8f1f5;border:1px solid #d4e2e9;padding:17px 12px;border-radius:15px;overflow-wrap:anywhere;text-align:center;font:600 20px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.03em;user-select:all;color:#225668}@media(max-width:620px){.admin-head{align-items:flex-start}.admin-head h1{font-size:24px}.admin-nav{width:100%}.recovery-queue{padding:19px}.recovery-row{align-items:flex-start;flex-direction:column;gap:12px}.account-dialog{padding:24px}.dialog-actions{flex-wrap:wrap}.account-heading{flex-wrap:wrap}.recovery-code{font-size:17px}}
/* Tablet sign-in and account management stay usable with touch and an on-screen keyboard. */
@media screen and (min-width:601px) and (max-width:1200px){
 body:has(.entry){overflow-y:auto;scroll-padding-block:24px}
 .entry{padding:36px 24px;align-items:safe center;min-height:calc(100dvh - 55px)}
 .panel{width:min(100%,470px);padding:28px 34px 32px}
 .panel .back{width:44px;height:44px;display:grid;place-items:center;font-size:19px}
 .panel h2{font-size:30px;margin-top:22px}
 .panel label{font-size:14px}
 .panel .muted{font-size:14px}
 .panel :is(input,select){font-size:16px;min-height:52px;scroll-margin-block:24px}
 .panel select{max-width:100%;min-width:0}
 .panel .tabs button{min-height:44px;font-size:15px}
 .panel .primary,.panel .secondary{min-height:48px}
 .password-field input{padding-right:58px}
 .password-toggle{width:44px;height:44px;right:4px;top:4px;padding:10px}
 .text-action{min-height:44px;display:inline-flex;align-items:center;padding:10px 0;font-size:14px}
 .auth-links{gap:8px 18px}
 .admin-wrap{margin:32px auto;padding:24px}
 .admin-head{flex-wrap:wrap;gap:20px;align-items:center}
 .admin-head>div{min-width:0}
 .admin-nav{max-width:100%;flex-wrap:wrap;gap:10px}
 body .admin-head .admin-nav :is(a,button){min-height:44px;padding:11px 14px}
 .admin-section-heading>.secondary,.actions button,.recovery-row button{min-height:44px;padding:11px 16px;font-size:14px}
 .account{padding:25px}
 .account-heading{flex-wrap:wrap;gap:12px}
 .account h2{font-size:20px}
 .account p,.recovery-row p{font-size:14px;line-height:1.8}
 .account .actions{gap:12px}
 .recovery-row{flex-wrap:wrap;gap:16px}
 .recovery-row>div{min-width:0}
 .recovery-row p,.recovery-row small{overflow-wrap:anywhere}
 .account-dialog{width:min(620px,calc(100% - 48px));max-height:calc(100dvh - 48px);padding:28px;overscroll-behavior:contain;scroll-padding-block:24px}
 .account-dialog :is(input:not([type=checkbox]):not([type=radio]),select){font-size:16px;min-height:48px;scroll-margin-block:24px}
 .permission-options{gap:12px}
 .permission-option{min-height:68px;padding:18px;gap:15px;align-items:flex-start}
 .permission-option input{width:22px;height:22px;min-height:22px;margin:1px 0}
 .permission-option strong{font-size:16px}
 .permission-option small{font-size:13px;line-height:1.7}
 .dialog-actions{gap:12px;flex-wrap:wrap}
 .dialog-actions .primary,.dialog-actions .secondary{min-height:44px;font-size:14px;padding:12px 18px}
}
@media screen and (min-width:601px) and (max-width:1200px) and (max-height:700px){
 .entry:has(.panel:not([hidden])){min-height:0;align-items:start;padding-top:24px;padding-bottom:24px}
 .panel{margin:0 auto}
 .account-dialog{max-height:calc(100dvh - 24px);padding:24px}
}
@media (hover:none){.primary:hover{transform:none}}

.entry,body>footer,.sky{transition:opacity .48s ease,filter .48s ease}.departing .entry,.departing>footer,.departing .sky{opacity:0;filter:blur(4px);pointer-events:none}.back{position:relative;flex:none}
