:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#16352b;background:#f1f8f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}button,a{transition:.18s ease}a{color:inherit;text-decoration:none}.boot-screen{min-height:100vh;display:grid;place-items:center;color:#587267;background:#edf7f1}.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(320px,1.05fr) minmax(420px,.95fr);background:#fff}.login-brand{position:relative;overflow:hidden;padding:8vw;display:flex;flex-direction:column;justify-content:center;color:#fff;background:linear-gradient(145deg,#0b4b38,#12865a 58%,#44b884)}.login-brand h1{font-size:clamp(3.2rem,7vw,6.6rem);line-height:.92;letter-spacing:-.065em;margin:1.2rem 0 1.6rem;max-width:650px}.login-brand p{font-size:1.1rem;line-height:1.7;max-width:560px;color:#d9f8e9}.brand-lines{position:absolute;right:-4rem;bottom:3rem;display:grid;gap:1rem;transform:rotate(-14deg)}.brand-lines span{display:block;width:340px;height:24px;border-radius:999px;background:#ffffff21}.brand-lines span:nth-child(2){margin-left:3rem}.brand-lines span:nth-child(3){margin-left:6rem}.login-panel{padding:7vw;display:flex;flex-direction:column;justify-content:center;gap:1.8rem;max-width:760px}.login-panel h2{font-size:2rem;margin:.45rem 0}.muted,.page-heading p,.info-card p,.action-card p{color:#60796e}.eyebrow,.section-label{font-size:.72rem;letter-spacing:.17em;font-weight:800;color:#15875a}.login-brand .eyebrow{color:#bff0d8}form{display:grid;gap:1rem}label{display:grid;gap:.45rem;font-size:.82rem;font-weight:750;color:#36564a}input{width:100%;padding:.85rem 1rem;border:1px solid #c8ddd3;border-radius:10px;background:#f8fcfa;color:#17392d;outline:none}input:focus{border-color:#1b9868;box-shadow:0 0 0 3px #d8f3e5}.primary,.ghost,.account-option{border:0;cursor:pointer}.primary{padding:.9rem 1.15rem;border-radius:10px;background:#12865a;color:#fff;font-weight:800}.primary:hover{background:#0b714a}.primary:disabled{opacity:.6}.alert{padding:.8rem 1rem;border-radius:9px}.error{background:#fff0f1;color:#a72231}.account-list{display:grid;gap:.55rem}.account-option{display:flex;justify-content:space-between;align-items:center;text-align:left;padding:.85rem 1rem;border-radius:10px;background:#f1f8f4;color:#24483b}.account-option:hover{background:#e1f2e9;transform:translateY(-1px)}.account-option span{display:grid;gap:.2rem}.account-option small{color:#6f877d}.app-shell{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;padding:1.7rem 1.25rem;display:flex;flex-direction:column;background:#0c513c;color:#fff}.wordmark{display:flex;align-items:center;gap:.7rem}.wordmark>span{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#fff;color:#10704d;font-weight:900}.sidebar-caption{margin:.5rem 0 2rem 2.65rem;color:#a9dcc5;font-size:.78rem}.sidebar nav{display:grid;gap:.45rem}.nav-link{display:grid;gap:.25rem;padding:.8rem .9rem;border-radius:9px;color:#d9f3e7}.nav-link small{font-size:.67rem;color:#91c6ae}.nav-link:hover,.nav-link.active{background:#176b50;color:#fff}.nav-link.active small{color:#c2ead7}.sidebar-note{margin-top:auto;font-size:.72rem;color:#b8ddcc;display:flex;gap:.5rem;align-items:center}.status-dot{width:7px;height:7px;border-radius:50%;background:#75ebb7;box-shadow:0 0 0 4px #75ebb71f}.main-column{min-width:0}.topbar{height:76px;padding:0 2.2rem;display:flex;justify-content:space-between;align-items:center;background:#fff;border-bottom:1px solid #dcebe4}.topbar>div:first-child{display:grid;gap:.2rem}.topbar .eyebrow{font-size:.6rem}.user-actions{display:flex;align-items:center;gap:.8rem}.role-badge,.access-chip{padding:.38rem .68rem;border-radius:999px;background:#ddf3e8;color:#0c7750;font-size:.72rem;font-weight:850;letter-spacing:.06em}.ghost{padding:.55rem .8rem;border-radius:8px;background:#edf5f1;color:#285043;font-weight:750}.ghost:hover{background:#deebe4}.page{padding:2.5rem;max-width:1280px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;gap:2rem;align-items:flex-start;margin-bottom:2rem}.page-heading h1,.forbidden-card h1{font-size:clamp(2rem,4vw,3.25rem);letter-spacing:-.045em;margin:.45rem 0}.page-heading p{margin:0}.metric-grid,.action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.metric-card,.info-card,.table-card,.action-card,.loading-card,.forbidden-card{background:#fff;border:1px solid #dbeae3;border-radius:15px;box-shadow:0 8px 30px #18523c0f}.metric-card{padding:1.45rem;display:grid;gap:.4rem}.metric-card strong{font-size:2rem;color:#138357}.metric-card span{color:#687e74}.info-card{margin-top:1rem;padding:1.6rem}.info-card h2{margin:.55rem 0}.table-card{overflow:hidden}.table-row{display:grid;grid-template-columns:130px 1fr 150px;align-items:center;gap:1rem;padding:1rem 1.2rem;border-top:1px solid #eaf2ee}.table-head{border-top:0;background:#f3f8f5;color:#758a80;font-size:.72rem;font-weight:800;letter-spacing:.08em}.status{justify-self:start;padding:.34rem .55rem;border-radius:999px;background:#e0f5e9;color:#11784e;font-size:.68rem;font-weight:850}.status.refreshing{background:#fff1cf;color:#8d650a}.status.draft{background:#e7efff;color:#315ea8}.action-card{padding:1.4rem}.action-card>span{font-weight:900;color:#84c8a8}.action-card h2{font-size:1.05rem;margin:1.3rem 0 .5rem}.loading-card{padding:2rem;color:#60786d}.forbidden-card{max-width:720px;padding:clamp(2rem,6vw,4rem);margin:3rem auto;text-align:center;border-top:5px solid #df4c61}.status-code{display:inline-block;font-size:4.5rem;font-weight:950;letter-spacing:-.08em;color:#d73b51}.forbidden-card p{color:#657c72;line-height:1.6}.button-link{display:inline-block;margin-top:1rem;padding:.75rem 1rem;border-radius:9px;background:#12865a;color:#fff;font-weight:800}@media(max-width:850px){.login-shell{grid-template-columns:1fr}.login-brand{min-height:38vh;padding:3rem 2rem}.login-brand h1{font-size:3.4rem}.login-panel{padding:2.5rem 2rem}.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto}.sidebar nav{grid-template-columns:repeat(3,1fr)}.sidebar-note{margin-top:1.5rem}.topbar{padding:0 1rem}.page{padding:1.5rem}.metric-grid,.action-grid{grid-template-columns:1fr}.page-heading{display:grid}.table-row{grid-template-columns:95px 1fr}.table-row>*:last-child{grid-column:2}.table-head>*:last-child{display:none}}@media(max-width:540px){.sidebar nav{grid-template-columns:1fr}.topbar{height:auto;padding:1rem;align-items:flex-start;gap:1rem}.topbar>div:first-child strong{font-size:.8rem}.user-actions{align-items:flex-end;flex-direction:column}.access-chip{justify-self:start}.account-option{align-items:flex-start;gap:.8rem}.login-panel{padding:2rem 1.2rem}}.auth-step{width:min(100%,620px);display:grid;gap:1.6rem;animation:auth-step-in .24s ease both}.login-heading h2{margin:.5rem 0 .65rem;font-size:clamp(2rem,4vw,2.7rem);line-height:1.05;letter-spacing:-.04em}.login-heading p{max-width:520px;margin:0;line-height:1.65}.auth-methods{display:grid;gap:.85rem}.auth-method{position:relative;width:100%;min-height:96px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:1rem;padding:1.05rem 1.15rem;border:1px solid #d5e6dd;border-radius:16px;text-align:left;cursor:pointer}.auth-method:hover{transform:translateY(-2px);box-shadow:0 12px 30px #15553c21}.auth-method:focus-visible,.back-button:focus-visible{outline:3px solid #bce8d3;outline-offset:3px}.auth-method-sso{padding-top:1.3rem;color:#fff;border-color:#0d6548;background:linear-gradient(135deg,#0a4835,#14875b);box-shadow:0 10px 25px #0d674833}.auth-method-local{color:#203f34;background:#f7fcf9}.auth-method-local:hover{border-color:#a7ccba;background:#eff8f3}.auth-method-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;font-size:.7rem;font-weight:900;letter-spacing:.08em;color:#11764f;background:#def4e9}.auth-method-sso .auth-method-icon{color:#fff;background:#ffffff24;border:1px solid rgba(255,255,255,.18)}.auth-method-copy{min-width:0;display:grid;gap:.35rem}.auth-method-copy strong{font-size:1rem}.auth-method-copy small{color:#6b8177;line-height:1.4}.auth-method-sso .auth-method-copy small{color:#d1f1e1}.method-arrow{font-size:1.3rem;font-weight:800}.recommended-badge{position:absolute;top:.55rem;right:.7rem;padding:.28rem .55rem;border-radius:999px;color:#ddf7e9;background:#ffffff1f;font-size:.62rem;font-weight:800;letter-spacing:.04em}.auth-assurance{display:flex;align-items:center;gap:.55rem;color:#687f74;font-size:.78rem}.auth-assurance>span{width:8px;height:8px;border-radius:50%;background:#26a970;box-shadow:0 0 0 4px #def5e9}.back-button{justify-self:start;display:inline-flex;align-items:center;gap:.45rem;padding:0;border:0;color:#45695a;background:transparent;font-size:.78rem;font-weight:800;cursor:pointer}.back-button:hover{color:#12865a}.local-login-form{padding:1.2rem;border:1px solid #dcebe3;border-radius:15px;background:#f7fcf9}@keyframes auth-step-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(max-width:540px){.auth-method{grid-template-columns:42px minmax(0,1fr) auto;gap:.75rem;padding:1rem}.auth-method-icon{width:42px;height:42px}.recommended-badge{display:none}}@media(prefers-reduced-motion:reduce){.auth-step{animation:none}}.user-management{display:grid;gap:1rem}.user-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem}.user-filters{display:flex;align-items:center;gap:.6rem;flex:1}.user-filters input{max-width:280px}.user-filters select,.user-editor select{padding:.75rem .9rem;border:1px solid #c8ddd3;border-radius:10px;background:#f8fcfa;color:#17392d}.primary.compact{padding:.75rem 1rem;white-space:nowrap}.user-editor{padding:1.35rem;border:1px solid #d8e9e0;border-radius:15px;background:#fff;box-shadow:0 8px 30px #18523c12}.user-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.user-editor-heading h2{margin:.35rem 0 1rem}.user-editor-grid{display:grid;grid-template-columns:2fr 1fr 1.5fr;gap:.8rem}.user-editor .primary{justify-self:start}.form-note{margin:0;color:#60796e;font-size:.8rem}.success{background:#e5f8ed;color:#157444}.confirm-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;border:1px solid #f1cbd1;border-radius:12px;background:#fff5f6;color:#7f2633}.confirm-bar>div{display:flex;gap:.5rem}.danger-button,.text-danger,.text-success{border:0;background:transparent;font-weight:800;cursor:pointer}.danger-button{padding:.55rem .75rem;border-radius:8px;background:#c93e53;color:#fff}.text-danger{color:#b93448}.text-success{color:#11784e}.users-card{overflow:hidden;border:1px solid #dbeae3;border-radius:15px;background:#fff;box-shadow:0 8px 30px #18523c0f}.users-row{display:grid;grid-template-columns:minmax(220px,1.5fr) .7fr 1fr .7fr 1.2fr;align-items:center;gap:1rem;padding:1rem 1.2rem;border-top:1px solid #eaf2ee}.users-row.inactive{background:#fafcfa;color:#718078}.users-head{border-top:0;background:#f3f8f5;color:#758a80;font-size:.7rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.user-email{display:grid;gap:.22rem;min-width:0}.user-email strong{overflow:hidden;text-overflow:ellipsis}.user-email small{color:#758a80}.identity-badge,.state-badge{display:inline-flex;padding:.34rem .55rem;border-radius:999px;font-size:.63rem;font-weight:850;letter-spacing:.045em;background:#edf4f0;color:#536c61}.identity-badge.linked,.state-badge.active{background:#ddf3e8;color:#0c7750}.state-badge.inactive{background:#f1f3f2;color:#697870}.row-actions{display:flex;align-items:center;gap:.4rem;justify-content:flex-end}.row-actions .ghost{padding:.45rem .65rem}.empty-users{padding:2rem;text-align:center;color:#687e74}.load-more{justify-self:center}@media(max-width:1000px){.user-toolbar{align-items:stretch;flex-direction:column}.user-filters{flex-wrap:wrap}.user-editor-grid{grid-template-columns:1fr 1fr}.users-head{display:none}.users-row{grid-template-columns:1fr 1fr}.users-row>*:first-child{grid-column:1/-1}.row-actions{justify-content:flex-start}}@media(max-width:600px){.user-filters{display:grid;grid-template-columns:1fr}.user-filters input{max-width:none}.user-editor-grid,.users-row{grid-template-columns:1fr}.users-row>*:first-child{grid-column:auto}.confirm-bar{align-items:flex-start;flex-direction:column}}.access-shell{min-height:100vh;display:grid;place-items:center;padding:32px;background:radial-gradient(circle at top left,#d9f5e9 0,transparent 34%),#f6faf8;color:#12372b}.access-panel{width:min(620px,100%);padding:48px;border:1px solid #c5e2d5;border-radius:28px;background:#fff;box-shadow:0 24px 80px #0b593c21}.access-mark{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;background:#12845b;color:#fff;font-weight:900;font-size:22px}.access-eyebrow{margin:28px 0 10px;color:#12845b;font-size:12px;font-weight:900;letter-spacing:.16em}.access-panel h1{margin:0;font-size:clamp(32px,5vw,50px);line-height:1.04;letter-spacing:-.045em}.access-copy{margin:22px 0;color:#557166;font-size:17px;line-height:1.65}.access-actions{display:grid;gap:11px;margin:30px 0}.access-actions a,.access-actions button{min-height:50px;display:flex;align-items:center;justify-content:center;padding:0 18px;border-radius:13px;font:inherit;font-weight:800;text-decoration:none;cursor:pointer}.access-primary{border:1px solid #12845b;background:#12845b;color:#fff}.access-secondary{border:1px solid #c5e2d5;background:#f4fbf8;color:#154b39}.access-danger{border:1px solid #f3c7cb;background:#fff4f4;color:#b72a37}.access-actions button:disabled{opacity:.65;cursor:default}.access-note{margin:0;color:#667c73;font-size:13px;line-height:1.55}
