:root{color-scheme:dark;--bg:#0b0f14;--surface:#151a22;--line:rgba(255,255,255,.08);--text:#f5f7fa;--muted:#99a4b3;--blue:#2f80ff;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);-webkit-text-size-adjust:100%}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--bg)}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button,a,summary{cursor:pointer}
main{max-width:560px;min-height:100dvh;margin:0 auto;padding:0 max(18px,env(safe-area-inset-right)) calc(28px + var(--safe-bottom)) max(18px,env(safe-area-inset-left))}
.page-header{position:sticky;top:0;z-index:5;margin:0 -18px 22px;padding:calc(var(--safe-top) + 10px) 18px 10px;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;background:var(--bg);border-bottom:1px solid var(--line)}.page-header strong{text-align:center;font-size:17px;font-weight:650}.back-button{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;color:var(--text);background:#171d26;text-decoration:none;font-size:27px}
h1,h2,p{margin:0}h1{font-size:26px;line-height:1.2;letter-spacing:-.7px}h2{font-size:17px;letter-spacing:-.3px}p,small{color:var(--muted);line-height:1.55}p{font-size:13px}a{color:#79afff}
.profile-hero{display:flex;align-items:center;gap:14px;margin:24px 2px 28px}.avatar{width:56px;height:56px;flex:0 0 56px;display:grid;place-items:center;border-radius:19px;color:#83b7ff;background:linear-gradient(145deg,#1f3656,#182439);border:1px solid #294566;font-size:23px;font-weight:700}.profile-copy{min-width:0}#identity{margin-top:5px;overflow-wrap:anywhere}
.section-label{margin:24px 4px 10px;color:var(--muted);font-size:11px;font-weight:650;letter-spacing:1.4px;text-transform:uppercase}
.card{margin:0 0 12px;padding:18px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,#192029,var(--surface));box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}.card-heading{display:flex;align-items:center;gap:12px;margin-bottom:14px}.card-icon{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:13px;color:#79adff;background:rgba(47,128,255,.12)}.card-icon.green{color:#65d58d;background:rgba(63,195,107,.12)}.card-icon.purple{color:#b59aff;background:rgba(142,108,255,.12)}.card-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.card-heading p{margin-top:3px;font-size:12px}
label{display:grid;gap:8px;color:#ccd3dd;font-size:13px;margin:18px 0 0}input,select{width:100%;min-width:0;min-height:50px;padding:13px 14px;border:1px solid #2c3644;border-radius:12px;background:#10161e;color:var(--text);font-size:16px}input::placeholder{color:#687687}
input:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #7bb0ff;outline-offset:3px}
button{width:100%;min-height:48px;margin-top:16px;padding:13px 16px;border:1px solid transparent;border-radius:13px;background:var(--blue);color:#fff;font-size:14px;font-weight:650;line-height:1.35;transition:background .15s,transform .15s}button:active{transform:scale(.985)}button:disabled{opacity:.55;cursor:progress}button.secondary{background:#202a37;border-color:#303d50;color:#c0d8fa}button.quiet{background:transparent;color:#9aa8ba;font-weight:500}button.danger{background:rgba(242,99,111,.07);border-color:rgba(242,99,111,.14);color:#f38f99}
.check{display:flex;align-items:center;gap:10px;min-height:44px;margin-top:14px}.check input{appearance:auto;accent-color:var(--blue);width:20px;height:20px;min-height:20px;flex:0 0 20px;margin:0}.hint{margin-top:12px;color:#8997a8;font-size:12px}
.message:empty{display:none}.message{padding:12px 14px;margin:12px 0;border:1px solid rgba(255,139,139,.2);border-radius:12px;background:#281b22;color:#ffb9c1;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.message.success{background:#15281f;border-color:#285239;color:#8be5ad}
details summary{list-style:none;display:flex;align-items:center;gap:12px;min-height:48px}details summary::-webkit-details-marker{display:none}details summary::after{content:'›';color:#8490a0;font-size:25px;margin-left:auto;transition:transform .2s}details[open]>summary::after{transform:rotate(90deg)}.summary-copy{display:grid;gap:3px}.summary-copy strong{font-size:15px}.summary-copy small{font-size:12px}.details-body{padding-top:4px}.details-body>p{margin-top:14px}
.inline-actions{display:flex;gap:8px;flex-wrap:wrap}.inline-actions>button{flex:1 1 135px}
.person{padding:16px 0;border-top:1px solid var(--line)}.person:first-child{border-top:0}.person-head{display:flex;align-items:center;gap:11px}.person .avatar{width:38px;height:38px;flex-basis:38px;border-radius:12px;font-size:15px}.person-copy{flex:1;min-width:0}.person strong{display:block;font-size:14px;overflow-wrap:anywhere}.person small{display:block;margin-top:3px;font-size:11px;overflow-wrap:anywhere}.person .inline-actions button{margin-top:12px;min-height:44px;padding:10px 12px;font-size:12px}.badge{padding:5px 8px;border-radius:7px;color:#74d798;background:rgba(63,195,107,.1);font-size:10px;white-space:nowrap}.badge.blocked{color:#f498a1;background:rgba(242,99,111,.1)}
#profile-preview{margin-top:12px;padding:12px;border-radius:12px;background:#111923;border:1px solid #26374c;font-size:12px}.create-access{margin-top:10px;padding-top:12px;border-top:1px solid var(--line)}.create-access>summary{color:#8dbbff}
.login{max-width:420px;display:flex;flex-direction:column;justify-content:center;padding-top:calc(var(--safe-top) + 24px);padding-bottom:calc(var(--safe-bottom) + 24px)}.login .card{padding:24px;margin:0}.login form label:first-child{margin-top:0}.login form>button{margin-top:18px}.login .message{margin-bottom:0}.pin-input{text-align:center;font-size:28px;letter-spacing:15px;padding-left:29px;height:64px}
dialog{width:min(100% - 24px,480px);margin:auto;padding:22px;border:1px solid #344052;border-radius:24px;background:#151b24;color:var(--text);max-height:calc(100dvh - var(--safe-top) - 24px);overflow-y:auto}dialog::backdrop{background:rgba(0,0,0,.65);backdrop-filter:blur(5px)}dialog h2{font-size:20px;margin-bottom:8px}
@media(max-width:380px){main{padding-left:14px;padding-right:14px}.card{padding:16px}.login .card{padding:20px}.page-header{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}}
@media(max-width:600px){dialog{width:100%;max-width:100%;margin:auto 0 0;border-radius:24px 24px 0 0;padding-bottom:calc(22px + var(--safe-bottom))}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important}}
html,body{height:100%;overflow:hidden;overscroll-behavior:none}
main{height:100vh;height:100dvh;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:none;scrollbar-width:none;scroll-padding-block:20px}
main::-webkit-scrollbar{display:none}
.login{justify-content:flex-start}
.login>.card{flex-shrink:0;margin-block:auto}

.login.pin-mode{max-width:430px}
.pin-mode>.card{width:100%;padding:10px 0;background:none;border:0;box-shadow:none}
#unlock-form{text-align:center}
#unlock-form h1{font-size:27px;margin-bottom:8px}
.pin-dots{height:24px;display:flex;justify-content:center;align-items:center;gap:17px;margin:28px 0}
.pin-dots i{width:13px;height:13px;border:2px solid #657080;border-radius:50%;transition:.16s ease}
.pin-dots i.filled{border-color:#4b91ff;background:#4b91ff;transform:scale(1.08);box-shadow:0 0 12px #4b91ff66}
.pin-keypad{width:min(100%,300px);margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:13px 18px}
.pin-keypad button,.pin-keypad span{width:68px;height:68px;min-height:0;margin:0;justify-self:center}
.pin-keypad button{padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.075);color:#f8fafc;font-size:25px;font-weight:600}
.pin-keypad button:active{background:rgba(47,128,255,.28);transform:scale(.93)}
.pin-keypad button[data-pin-delete]{background:transparent;color:#aeb5c0;font-size:23px}
@media(max-height:620px){.pin-keypad{gap:8px 18px}.pin-keypad button,.pin-keypad span{width:56px;height:56px}.pin-dots{margin:18px 0}}

.pin-toggle-card{display:flex;align-items:center;gap:12px;margin-top:0;cursor:pointer}.pin-toggle-card>span{display:grid;gap:5px;flex:1}.pin-toggle-card small{font-size:12px}.pin-toggle-card input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}.pin-toggle-card>i{width:44px;height:26px;border-radius:20px;background:#252c35;position:relative;flex-shrink:0}.pin-toggle-card>i:after{content:'';position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#9098a3;transition:transform .2s}.pin-toggle-card input:checked+i{background:#2879ed}.pin-toggle-card input:checked+i:after{background:#fff;transform:translateX(18px)}.pin-toggle-card input:focus-visible+i{outline:2px solid #79afff;outline-offset:3px}

.push-toggle-row{display:flex;align-items:center;gap:12px;margin:0;min-height:44px;cursor:pointer}.push-copy{display:grid;gap:4px;min-width:0;flex:1}.push-copy strong{font-size:15px}.push-copy small{font-size:12px;line-height:1.4}.push-toggle-row input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;padding:0}.account-switch{position:relative;flex:0 0 44px;height:26px;border-radius:20px;background:#252c35}.account-switch:after{content:'';position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#9098a3;transition:transform .2s}.push-toggle-row input:checked+.account-switch{background:#2879ed}.push-toggle-row input:checked+.account-switch:after{background:#fff;transform:translateX(18px)}.push-toggle-row input:focus-visible+.account-switch{outline:2px solid #79afff;outline-offset:3px}.push-toggle-row input:disabled+.account-switch{opacity:.45}#push-section{padding:16px 18px}#test-push{width:auto;min-height:36px;margin:8px 0 -4px 52px;padding:6px 0;font-size:12px;color:#83b7ff}.card:last-child{margin-bottom:0}

#login-loading{position:fixed;inset:0;display:grid;place-content:center;justify-items:center;gap:18px;background:#0b0f14;color:#99a4b3;font-size:14px}#login-loading i{width:36px;height:36px;border:3px solid #243247;border-top-color:#2f80ff;border-radius:50%;animation:login-spin .8s linear infinite}@keyframes login-spin{to{transform:rotate(360deg)}}

textarea{width:100%;box-sizing:border-box;background:#10161e;border:1px solid #2c3644;border-radius:12px;color:#f5f7fa;font:inherit;font-size:16px;padding:13px;resize:vertical}#broadcast-history p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px}#broadcast-recipients{max-height:240px;overflow-y:auto}.login.pin-mode{justify-content:center}.login.pin-mode>.card{margin-block:0;flex:0 0 auto}.pin-mode #unlock-form{width:100%}

.admin-navigation{display:flex;justify-content:space-between;align-items:center;text-align:left;margin-top:0;color:#f5f7fa}.admin-navigation>span:first-child{display:grid;gap:5px}.admin-navigation small{font-weight:400;font-size:12px}

/* Fit small Android viewports and keep forms reachable above the keyboard. */
.login,.login.pin-mode{height:var(--login-visible-height,100dvh);justify-content:flex-start;padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));scroll-padding-block:20px}
.login>.card,.login.pin-mode>.card{width:100%;min-width:0;flex:0 0 auto;margin-block:auto}
.login input{min-width:0;font-size:16px}
.card,.summary-copy,.person-copy,.pin-toggle-card>span{min-width:0}
.summary-copy strong,.pin-toggle-card strong,.push-copy strong{overflow-wrap:anywhere}
@media(max-width:380px){.card{padding:16px}.login .card{padding:20px}.login.pin-mode>.card{padding:8px 0}.card-icon{width:34px;height:34px;flex-basis:34px}.push-toggle-row,.pin-toggle-card{gap:9px}#push-section{padding:14px}.person-head{flex-wrap:wrap}.pin-keypad{gap:10px 12px}}
@media(max-height:480px){.login,.login.pin-mode{padding-top:16px;padding-bottom:16px}.pin-dots{margin:12px 0}#unlock-form h1{font-size:23px}.pin-keypad button,.pin-keypad span{width:48px;height:48px}.pin-keypad{gap:6px 12px}#other-login{margin-top:10px}}

.correction-item{padding:14px 0;border-bottom:1px solid var(--line)}
.correction-item>strong{display:block;overflow-wrap:anywhere}.correction-item p{margin:7px 0}
.correction-compare{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.correction-compare>div{min-width:0;padding:10px;background:#10161e;border-radius:8px}
.correction-compare b{font-size:12px;color:#91b5e3}.correction-compare pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:12px;line-height:1.6;margin:6px 0 0}

.correction-item.notification-target{outline:2px solid #388fff;outline-offset:4px;border-radius:8px}
.admin-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 20px}.admin-metric{min-width:0;padding:14px 10px;background:#172436;border:1px solid #2b3c53;border-radius:14px}.admin-metric strong{display:block;color:#80b5ff;font-size:26px;font-variant-numeric:tabular-nums}.admin-metric span{display:block;font-size:11px;line-height:1.4;color:#a8b7c9;margin-top:6px}.admin-tiles{display:grid;gap:12px}.admin-tiles .admin-navigation{margin:0;display:flex;gap:12px;align-items:center;text-align:left}.admin-tiles .admin-navigation>span:nth-child(2){flex:1;min-width:0}.tile-icon{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:13px;background:#203957;color:#84b8ff;font-size:25px}.admin-navigation small{line-height:1.5}.admin-data-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;border-bottom:1px solid var(--line);font-size:13px}.admin-data-row strong{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.admin-data-row span{color:#a3b4ca;flex-shrink:0;font-size:12px}#employee-search{margin:0}.person[hidden],[hidden]{display:none!important}
.admin-tiles .admin-navigation>span:nth-child(2){display:grid;gap:5px;align-content:center}
.admin-tiles .admin-navigation strong{display:block;font-size:16px;line-height:1.3;font-weight:650}
.admin-tiles .admin-navigation small{display:block;font-size:12px;line-height:1.45;color:#99aabd;font-weight:400}
.admin-tiles .admin-navigation{min-height:90px;padding:18px 16px}
.admin-tiles .admin-navigation>span:last-child{flex:0 0 16px;color:#7e94af;font-size:24px;text-align:right}
#admin-sections{display:flex;gap:6px;overflow-x:auto;margin:0 0 18px;padding:2px 0 6px}
#admin-sections button{flex:0 0 auto;min-height:38px;width:auto;padding:9px 12px;border-radius:10px;background:#18222f;color:#9eafc3;font-size:12px}
#admin-sections button[aria-current]{background:#203e64;color:#cce2ff}
.admin-enter{animation:admin-screen-in .22s ease-out both}
@keyframes admin-screen-in{from{opacity:.3;transform:translateX(14px)}to{opacity:1;transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.admin-enter{animation:none}}
.broadcast-toolbar{display:flex;align-items:center;gap:8px;margin:6px 0 18px;min-width:0}
.broadcast-toolbar>div{min-width:0;flex:1}.broadcast-toolbar h2{font-size:16px}.broadcast-toolbar p{font-size:11px;margin-top:5px}
.admin-icon-button{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;min-height:40px;padding:0;border:1px solid #2e415a;border-radius:12px;background:#1b2b3f;color:#95beef}
.admin-icon-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.admin-icon-button.primary{background:#287de7;color:#fff;border-color:#408feb}
#broadcast-history{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.broadcast-history-card{min-width:0;padding:17px;border:1px solid #2a3848;border-radius:17px;background:linear-gradient(140deg,#1b2634,#141b24)}
.broadcast-history-card>strong{display:block;font-size:15px;line-height:1.4;overflow-wrap:anywhere}
.broadcast-history-card>p{margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6}
.broadcast-history-card>small{display:block;color:#8193ac;font-size:11px}
.broadcast-history-card .quiet{min-height:36px;width:auto;margin:12px 0 0;padding:6px 0;font-size:11px;color:#99a9be}
.broadcast-deliveries{margin-top:14px;padding-top:12px;border-top:1px solid #ffffff0c}
.broadcast-deliveries>summary{font-size:12px;color:#9ac0f0;min-height:30px}
.broadcast-deliveries p{margin:8px 0;overflow-wrap:anywhere}
.admin-empty{padding:28px 16px;text-align:center;border:1px dashed #344456;border-radius:16px}
.account-sheet-dialog{position:fixed;inset:auto 0 0;width:100%;max-width:100%;margin:0;max-height:calc(100dvh - env(safe-area-inset-top,0px) - 12px);box-sizing:border-box;padding:20px max(18px,env(safe-area-inset-right,0px)) max(20px,env(safe-area-inset-bottom,0px)) max(18px,env(safe-area-inset-left,0px));overflow-y:auto;overscroll-behavior:contain;border:1px solid #344860;border-bottom:0;border-radius:24px 24px 0 0;background:#151e29;color:#f5f7fa}
.account-sheet-dialog::backdrop{background:#03070dbb;backdrop-filter:blur(4px)}
.broadcast-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;min-height:44px}
.broadcast-dialog-head h2{margin:0;min-width:0;font-size:21px;line-height:1.3}
:is(#close-broadcast-dialog,.sheet-close){width:44px;height:44px;flex:0 0 44px;border-radius:14px;background:#222e3d;border-color:#344457}
:is(#close-broadcast-dialog,.sheet-close) svg{display:block;width:22px;height:22px;stroke-width:1.8}
.account-sheet-dialog[open].is-opening{animation:broadcast-sheet-in .26s cubic-bezier(.22,.8,.28,1) both}
.account-sheet-dialog[open].is-opening::backdrop{animation:broadcast-backdrop-in .26s ease-out both}
.account-sheet-dialog.is-closing{animation:broadcast-sheet-out .2s ease-in both;pointer-events:none}
.account-sheet-dialog.is-closing::backdrop{animation:broadcast-backdrop-out .2s ease-in both}
@keyframes broadcast-sheet-in{from{transform:translateY(100%);opacity:.5}to{transform:translateY(0);opacity:1}}
@keyframes broadcast-sheet-out{from{transform:translateY(var(--broadcast-close-from,0px));opacity:1}to{transform:translateY(100%);opacity:0}}
@keyframes broadcast-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes broadcast-backdrop-out{from{opacity:1}to{opacity:0}}
@media(prefers-reduced-motion:reduce){.account-sheet-dialog[open],.account-sheet-dialog[open]::backdrop{animation:none}}
.account-sheet-dialog form{display:grid;gap:15px;margin:0}
.account-sheet-dialog textarea{width:100%;min-height:112px;resize:vertical;box-sizing:border-box;font:inherit;color:var(--text);background:#101721;border:1px solid #324154;border-radius:12px;padding:12px}
.account-sheet-dialog input,.account-sheet-dialog select{font-size:16px}
.account-sheet-dialog label{min-width:0}.account-sheet-dialog input,.account-sheet-dialog select,.account-sheet-dialog textarea{min-width:0;max-width:100%}
.account-sheet-dialog button[type="submit"]{min-height:48px;border-radius:14px}
.account-sheet-dialog #broadcast-recipients{max-height:190px;overflow:auto}
#broadcast-message:empty{display:none}#broadcast-message{color:#ff9d9d;margin-bottom:12px}
.account-sheet-dialog{width:100vw;max-width:none;left:0;right:auto;border-radius:24px 24px 0 0;padding-top:18px}
.account-sheet-dialog form label{margin:0;gap:7px}
.account-sheet-dialog form{gap:16px}
.account-sheet-dialog form>.hint{margin:0;font-size:11px;line-height:1.55}
.account-sheet-dialog form>button{margin:0}
.account-sheet-dialog .broadcast-dialog-head{margin-bottom:18px}
#broadcast-dialog-title:focus{outline:none}
:is(#close-broadcast-dialog,.sheet-close){display:grid;place-items:center;padding:0;line-height:1;outline:none}
:is(#close-broadcast-dialog,.sheet-close):focus-visible{outline:2px solid #83b8ff;outline-offset:3px}
:is(#close-broadcast-dialog,.sheet-close) svg{width:22px;height:22px;flex:none;transform:none}
.broadcast-swipe-handle{width:38px;height:5px;border-radius:8px;background:#71809666;margin:0 auto 14px;touch-action:none}
.account-sheet-dialog{padding-top:9px}
.account-sheet-dialog.is-dragging{animation:none;transform:translateY(var(--broadcast-drag,0px))}
.account-sheet-dialog.is-settling{animation:broadcast-sheet-settle .18s ease-out both}
@keyframes broadcast-sheet-settle{from{transform:translateY(var(--broadcast-close-from,0px))}to{transform:translateY(0)}}
.admin-icon-button{margin:0;line-height:1}
#broadcast-history{gap:9px}
.broadcast-history-card{padding:13px 14px;border-radius:14px;background:#151c25}
.broadcast-history-card>strong{font-size:14px}
.broadcast-history-card>p{margin:6px 0;font-size:12px;line-height:1.5}
.broadcast-history-card>small{font-size:10px}
.broadcast-deliveries{margin-top:8px;padding-top:6px}
.broadcast-deliveries>summary{min-height:36px;font-size:11px}
.broadcast-history-card .quiet{margin:3px 0 0;padding:4px 0;min-height:36px;font-size:11px}
@media(prefers-reduced-motion:reduce){.account-sheet-dialog.is-opening,.account-sheet-dialog.is-settling,.account-sheet-dialog.is-closing,.account-sheet-dialog.is-opening::backdrop,.account-sheet-dialog.is-closing::backdrop{animation:none}}
.broadcast-history-card{position:relative}
.broadcast-history-card>strong{padding-right:34px;min-height:24px}
.broadcast-delete{position:absolute;right:8px;top:7px;display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;margin:0;border:0;border-radius:10px;background:transparent;color:#f17882}
.broadcast-delete svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body::before{content:'';position:fixed;z-index:5;top:0;left:0;right:0;height:env(safe-area-inset-top,0px);background:#0b0f14;pointer-events:none}

/* Keep the status-bar paint stationary in the modal top layer. Only the sheet moves. */
.account-sheet-dialog[open]{display:flex;align-items:flex-end;justify-content:center;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;overflow:hidden;animation:none;transform:none}
.account-sheet-dialog::before{content:'';position:absolute;z-index:2;inset:0 0 auto;height:env(safe-area-inset-top,0px);background:#0b0f14;pointer-events:none}
.account-sheet-dialog::backdrop{top:env(safe-area-inset-top,0px);backdrop-filter:none;background:#03070dbb}
.account-sheet-dialog .broadcast-sheet{width:100%;min-width:0;max-height:calc(100dvh - env(safe-area-inset-top,0px) - 12px);padding:9px max(18px,env(safe-area-inset-right,0px)) max(20px,env(safe-area-inset-bottom,0px)) max(18px,env(safe-area-inset-left,0px));box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;border:1px solid #344860;border-bottom:0;border-radius:24px 24px 0 0;background:#151e29}
.account-sheet-dialog[open].is-opening .broadcast-sheet{animation:broadcast-sheet-in .26s cubic-bezier(.22,.8,.28,1) both}
.account-sheet-dialog[open].is-closing .broadcast-sheet{animation:broadcast-sheet-out .2s ease-in both}
.account-sheet-dialog[open].is-dragging .broadcast-sheet{transform:translateY(var(--broadcast-drag,0px));animation:none}
.account-sheet-dialog[open].is-settling .broadcast-sheet{animation:broadcast-sheet-settle .18s ease-out both}
.account-sheet-dialog[open].is-opening,.account-sheet-dialog[open].is-closing,.account-sheet-dialog[open].is-dragging,.account-sheet-dialog[open].is-settling{animation:none;transform:none}
@media(prefers-reduced-motion:reduce){.account-sheet-dialog[open] .broadcast-sheet{animation:none!important}}
.broadcast-delete:active{background:#f1788214;color:#ff929a}
.account-sheet-dialog:focus{outline:none}
.account-sheet-dialog[open]{overflow:clip;scroll-behavior:auto;overflow-anchor:none}
.account-sheet-dialog .broadcast-sheet{flex:0 1 auto;overflow-anchor:none}

/* Employee directory and private administrator financial profile. */
.employee-directory-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.employee-directory-head p{font-size:12px}
button.employee-add{display:flex;align-items:center;justify-content:center;gap:7px;width:auto;min-height:44px;margin:0;padding:10px 12px;font-size:12px;flex-shrink:0}
.employee-add svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.employee-shifts-link{margin-top:0}
.employee-search-field,.employee-filter-field{margin:12px 0;font-size:12px;gap:6px}
.employee-search-field input,.employee-filter-field select{min-height:44px;padding:10px 12px}
.employee-directory{display:grid;gap:8px;margin-top:18px}
button.employee-row{display:grid;grid-template-columns:42px minmax(0,1fr) 12px;align-items:center;gap:11px;width:100%;margin:0;padding:13px 12px;text-align:left;background:#151c25;border:1px solid var(--line);border-radius:16px;font-weight:400}
.employee-row .avatar{width:42px;height:42px;flex-basis:42px;border-radius:13px;font-size:16px}
.employee-row-copy{min-width:0;display:grid;gap:4px}
.employee-row-copy>strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.employee-row-copy>small{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.employee-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:2px}
.employee-status{display:inline-flex;align-items:center;padding:3px 7px;border-radius:6px;font-size:10px;line-height:1.4;color:#aab7c9;background:#ffffff08}
.employee-status.onshift{color:#69d69d;background:#31b97515}
.employee-status.blocked{color:#ff9ca4;background:#ec617416}
.employee-chevron{font-size:23px;color:#7d8da2;text-align:center}
.employee-create-card{margin-top:16px}
.employee-create-card .create-access{margin:0;padding:0;border:0}
.employee-profile-head{display:flex;gap:13px;align-items:center;margin:4px 0 20px}
.employee-profile-copy{min-width:0}.employee-profile-copy h2{font-size:21px;overflow-wrap:anywhere}.employee-profile-copy p{font-size:12px;margin-top:4px;overflow-wrap:anywhere}
.employee-month-picker{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;padding:8px;border:1px solid var(--line);border-radius:15px;background:#151c25;margin-bottom:14px}
.employee-month-picker button{margin:0;width:44px;height:44px;min-height:44px;padding:0;background:#202b3b;font-size:28px;display:grid;place-items:center;line-height:1}
.employee-month-picker label{margin:0;gap:2px;text-align:center;min-width:0}.employee-month-picker label>span{font-size:10px;color:var(--muted)}
.employee-month-picker input{display:block;min-height:32px;padding:3px 0;border:0;background:transparent;text-align:center;font-size:15px;max-width:100%}
#employee-detail-status:empty{display:none}#employee-detail-status{padding:16px 0}
#employee-detail-content{display:grid;gap:13px;min-width:0}
.employee-income{padding:20px;border:1px solid #305777;border-radius:19px;background:linear-gradient(130deg,#192f45,#15232d);display:grid;gap:8px;min-width:0}
.employee-income>span{color:#b5c6d9;font-size:12px}.employee-income>strong{font-size:clamp(24px,7vw,34px);letter-spacing:-.7px;overflow-wrap:anywhere}.employee-income>small{font-size:11px;line-height:1.5}
.employee-attendance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.employee-attendance .admin-metric{padding:12px 7px;min-width:0}.employee-attendance .admin-metric strong{font-size:20px}.employee-attendance .admin-metric span{font-size:10px}
.employee-section{min-width:0;padding:16px;border:1px solid var(--line);border-radius:17px;background:#141b24}
.employee-section>h2{font-size:15px;margin-bottom:10px}
.employee-finance-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:12px;padding:9px 0;border-bottom:1px solid #ffffff06;font-size:12px;line-height:1.45}
.employee-finance-row>span{color:#a4b0c1;overflow-wrap:anywhere}.employee-finance-row>strong{font-size:12px;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.employee-finance-row.positive>strong{color:#68d59b}.employee-finance-row.negative>strong{color:#f4929c}
.employee-entry-comment{display:block;margin-top:4px;color:#c2ccd9;font-size:11px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.employee-section .hint{font-size:11px;line-height:1.55}
.employee-empty-note{font-size:12px;padding:4px 0;color:#8796a9}
.employee-period,.employee-day{border-top:1px solid var(--line)}
.employee-section>details:nth-child(2){border-top:0}
.employee-period>summary,.employee-day>summary{display:grid;grid-template-columns:minmax(0,1fr) auto 10px;gap:9px;min-height:66px;padding:10px 0}
.employee-period>summary::after,.employee-day>summary::after{font-size:22px;margin:0;text-align:center}
.employee-period-title{display:grid;gap:4px;min-width:0}.employee-period-title>strong{font-size:13px}.employee-period-title>small{font-size:10px;line-height:1.4}
.employee-period>summary>b,.employee-day>summary>b{font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}
.employee-period-amounts{display:grid;gap:4px;text-align:right;font-variant-numeric:tabular-nums}.employee-period-amounts b{font-size:13px;white-space:nowrap}.employee-period-amounts small{font-size:10px}
.employee-day>summary>small{font-size:10px;max-width:112px;text-align:right}
.employee-day>summary>strong{font-size:13px}
.employee-period[open],.employee-day[open]{padding-bottom:12px}
.employee-request-copy{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;padding:10px 0}
.employee-section .inline-actions>button{font-size:12px;min-height:44px;margin-top:10px}
@media(max-width:360px){.employee-section{padding:12px}.employee-finance-row{gap:8px;font-size:11px}.employee-finance-row>strong{font-size:11px}.employee-directory-head{gap:6px}.employee-directory-head p{font-size:11px}}

/* Search and filter share a single compact row. */
.employee-search-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:end;gap:10px;margin:12px 0 18px}
.employee-search-row .employee-search-field{margin:0;min-width:0}
.employee-filter-button{position:relative;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;margin:0;border:1px solid #2b3c50;border-radius:13px;background:#142236;color:#8dbaff}
.employee-filter-button svg{width:22px;height:22px;fill:#142236;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.employee-filter-button.is-active{border-color:#2f80ff;background:#19355a;color:#b8d6ff}
.filter-dot{position:absolute;right:5px;top:5px;width:6px;height:6px;border-radius:50%;background:#65a6ff}
.employee-filter-button:focus-visible{outline:2px solid #83b8ff;outline-offset:3px}
#employee-create-message:empty{display:none}#employee-create-message{color:#ff9d9d;margin:0 0 12px}
#profile-preview{font-size:12px;line-height:1.5;margin:0;color:var(--muted)}
#employee-filter-dialog .employee-filter-field{margin:0 0 18px}
#employee-filter-apply{margin:0;min-height:48px}

/* Team statistics: month navigation, summary, and readable employee rows. */
.stats-month-picker{margin:4px 0 18px;background:#111b27}
#admin-stats-status:empty{display:none}
#admin-stats-status{padding:24px 12px;text-align:center;color:var(--muted)}
#admin-stats-content{display:grid;gap:16px;min-width:0;padding-bottom:12px}
.stats-hero{position:relative;overflow:hidden;padding:22px 20px 16px;border:1px solid #2b4966;border-radius:22px;background:radial-gradient(ellipse at top right,#23486766,transparent 70%),linear-gradient(135deg,#192c40,#121e2b)}
.stats-eyebrow{font-size:10px;font-weight:650;letter-spacing:1.3px;color:#adc4de}
.stats-total{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:10px 0 6px;font-variant-numeric:tabular-nums}
.stats-total strong{font-size:clamp(34px,10vw,46px);line-height:1.1;letter-spacing:-1.6px;overflow-wrap:anywhere;min-width:0}
.stats-total>span{font-size:16px;color:#a6bbd0}
.stats-hero>p{font-size:12px;color:#93aac1}
.stats-metrics{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:22px;padding-top:17px;border-top:1px solid #ffffff12}
.stats-metric{display:grid;gap:5px;min-width:0}
.stats-metric+.stats-metric{border-left:1px solid #ffffff12;padding-left:18px}
.stats-metric strong{font-size:24px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;line-height:1.2}
.stats-metric.worked strong{color:#80dab6}.stats-metric.missed strong{color:#edba87}
.stats-metric span{font-size:11px;color:#a5b7ca}
.stats-note{font-size:11px;line-height:1.6;color:#8193a8;padding:0 4px}
.stats-team{min-width:0;margin-top:6px}
.stats-section-head{display:flex;align-items:center;gap:9px;margin-bottom:6px}
.stats-section-head h2{font-size:17px;letter-spacing:-.25px}
.stats-section-head>span{display:grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:8px;background:#1c2c40;color:#9ebcdd;font-size:11px;font-variant-numeric:tabular-nums}
.stats-list-caption{font-size:11px;color:#8193a8;margin-bottom:14px}
.stats-member-list{display:grid;gap:10px}
.stats-member{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px 11px;align-items:center;padding:15px 14px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(135deg,#17212d,#131a23)}
.stats-member .avatar{width:38px;height:38px;font-size:13px;border-radius:12px;flex-basis:38px}
.stats-member-copy{display:grid;gap:4px;min-width:0}
.stats-member-copy>strong{font-size:13px;font-weight:600;overflow-wrap:anywhere;line-height:1.4}
.stats-member-copy>small{font-size:10px;color:#8d9eb2}
.stats-member-hours{font-size:15px;white-space:nowrap;color:#c5defa;font-variant-numeric:tabular-nums}
.stats-hours-track{grid-column:2 / -1;height:4px;border-radius:4px;background:#253448;overflow:hidden}
.stats-hours-track>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#397ddb,#79b9f7)}
.stats-empty{padding:24px 20px;margin-top:14px;text-align:center;border:1px dashed #2a3d53;border-radius:18px;background:#111b26}
.stats-empty strong{display:block;font-size:14px;line-height:1.5;color:#c5d3e3;margin-bottom:8px}
.stats-empty p{font-size:12px;line-height:1.65;color:#879aaf}
@media(min-width:700px){.stats-member-list{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-hero{padding:26px}.stats-total strong{font-size:48px}}
@media(max-width:360px){.stats-hero{padding:18px 16px 16px}.stats-member{padding:13px 10px;gap:9px}.stats-member-hours{font-size:13px}}

/* Daily attendance and correction review. Date fields stay inside iOS grids. */
.shifts-date-picker{margin:4px 0 16px}
.employee-month-picker label{overflow:hidden}
.employee-month-picker input[type="date"],.employee-month-picker input[type="month"]{width:100%;min-width:0;max-width:100%;box-sizing:border-box;-webkit-appearance:none;appearance:none}
#admin-shifts-content{min-width:0}
.shift-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px}
.shift-summary-item{display:grid;gap:5px;padding:13px 10px;background:#14202d;border:1px solid #ffffff09;border-radius:15px;min-width:0}
.shift-summary-item strong{font-size:23px;font-variant-numeric:tabular-nums;line-height:1.15}
.shift-summary-item span{font-size:10px;color:#97a9bc}
.shift-summary-item.worked strong{color:#7ddab0}.shift-summary-item.waiting strong{color:#e8c38a}.shift-summary-item.rest strong{color:#95b9e7}
.shift-member-list{display:grid;gap:8px}
.shift-member{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:11px;align-items:center;padding:13px 14px;background:#151e29;border:1px solid var(--line);border-radius:16px}
.shift-member .avatar{width:38px;height:38px;flex-basis:38px;border-radius:12px;font-size:13px}
.shift-member-copy{display:grid;justify-items:start;gap:6px;min-width:0}
.shift-member-copy>strong{font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.shift-status{display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border-radius:6px;font-size:10px;line-height:1.4;background:#ffffff07;color:#9cacc0}
.shift-status::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor;flex:none}
.shift-status.worked{color:#7ddab0;background:#38c48612}.shift-status.waiting{color:#e8c38a;background:#e8b34b12}.shift-status.missed{color:#f39ba6;background:#ef718212}
.shift-time{display:grid;gap:5px;text-align:right;font-variant-numeric:tabular-nums}
.shift-time strong{font-size:16px;color:#d4e4f6}.shift-time small{font-size:10px;color:#8498ae}
.corrections-panel{margin-top:28px;min-width:0;padding-bottom:16px}
.corrections-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.corrections-header h2{font-size:17px;margin:0 0 5px}.corrections-header p{font-size:11px;color:#8e9fb2}
.corrections-header [data-refresh]{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;min-height:42px;margin:0;padding:0;border:1px solid #2b3e55;border-radius:12px;background:#182739;color:#8fbaf0}
.corrections-header svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.corrections-panel [data-message]:empty{display:none}.corrections-panel [data-message]{font-size:12px;color:#ffa6af;padding:10px 0}
.corrections-panel [data-list]{display:grid;gap:12px}
.correction-card{padding:16px;background:#151e29;border:1px solid var(--line);border-radius:18px;min-width:0}
.correction-card:has(.pending){border-color:#665139}
.correction-card .correction-item{padding:0;border:0}
.correction-heading{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:8px}
.correction-heading>strong{font-size:14px;overflow-wrap:anywhere;min-width:0}
.correction-status{font-size:10px;line-height:1.5;padding:3px 7px;border-radius:6px;background:#ffffff08;color:#99acc0}
.correction-status.pending{color:#f0cb91;background:#e8b34b15}.correction-status.approved{color:#81d7ae;background:#38c48612}.correction-status.rejected{color:#f39ba6;background:#ef718212}
.correction-item .correction-date{font-size:12px;color:#c0ccdc;margin:10px 0 4px}.correction-item .correction-created{font-size:10px;color:#8598ad;margin:0 0 14px}
.correction-compare{gap:8px}.correction-compare>div{padding:12px 10px;border:1px solid #ffffff08;border-radius:12px;background:#101822}
.correction-compare>div:last-child{border-color:#2c4b64;background:#142332}
.correction-compare b{font-size:10px;letter-spacing:.4px;color:#94b7de}.correction-compare pre{font-size:11px;line-height:1.65}
.correction-card .inline-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.correction-card .inline-actions button{margin:0;min-height:44px;padding:10px 8px;font-size:12px}
.stats-member-details{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border-top:1px solid #ffffff0b;margin-top:3px;padding-top:13px}
.stats-member-details>div{display:grid;gap:5px;min-width:0}.stats-member-details strong{font-size:17px;font-variant-numeric:tabular-nums;color:#d0e2f7}.stats-member-details span{font-size:10px;line-height:1.4;color:#8c9fb4}.stats-member-details .missed strong{color:#f4a0a9}
.stats-unmarked{grid-column:1 / -1;font-size:10px;padding:7px 9px;border-radius:8px;background:#e8b34b0c;color:#d5b586}
@media(max-width:360px){.shift-member{padding:12px 10px;gap:9px}.correction-card{padding:13px}.correction-compare{grid-template-columns:1fr}.stats-member-details{gap:7px}.stats-member-details strong{font-size:15px}}

#admin-corrections-view>.corrections-panel{margin-top:0}
.correction-filters{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#101924;padding:5px;border:1px solid #ffffff09;border-radius:14px;margin-bottom:16px}
.correction-filters button{margin:0;min-height:40px;padding:8px;background:transparent;color:#91a4bc;font-size:12px;border-radius:10px}
.correction-filters button[aria-pressed="true"]{background:#203752;color:#d1e6ff;border-color:#315171}
.correction-filters [data-count]{margin-left:5px;font-variant-numeric:tabular-nums}
.corrections-panel details.correction-card{padding:0;border:1px solid var(--line);border-radius:16px;background:#151e29}
.corrections-panel details.correction-card.pending{border-color:#354960}
.correction-card>summary.correction-summary{display:grid;grid-template-columns:minmax(0,1fr) auto 10px;gap:9px;padding:15px;align-items:start}
.correction-summary::after{font-size:21px!important;margin:0!important;align-self:center}
.correction-summary-copy{display:grid;gap:5px;min-width:0}
.correction-summary-copy>strong{font-size:14px;overflow-wrap:anywhere}
.correction-summary-copy>small{font-size:11px;color:#91a4ba}
.correction-change{font-size:11px;line-height:1.5;color:#b6cce4;overflow-wrap:anywhere}
.correction-body{padding:0 15px 15px;border-top:1px solid #ffffff08}
.correction-body>.correction-created{margin:12px 0!important}
@media(max-width:380px){.correction-card>summary.correction-summary{grid-template-columns:minmax(0,1fr) 10px}.correction-summary>.correction-status{grid-row:2;justify-self:start}.correction-summary::after{grid-column:2;grid-row:1}}

#summary-dialog-status{font-size:12px;margin-bottom:16px;color:#a8b8cb;line-height:1.6}
#summary-dialog-list{display:grid;gap:10px}
.summary-person{display:flex;gap:12px;align-items:center;padding:14px;border:1px solid #2a3a4c;border-radius:15px;background:#101a26}
.summary-person-copy{display:grid;gap:6px;min-width:0;flex:1}.summary-person-copy strong{font-size:14px;overflow-wrap:anywhere}.summary-person-copy small{font-size:11px;line-height:1.5;color:#94a9c1}
button.summary-remind{flex:0 0 auto;width:auto;margin:0;min-height:42px;padding:10px 12px;font-size:12px;background:#213f62;color:#acd0ff;border:1px solid #315d88}
@media(max-width:360px){.summary-person{flex-wrap:wrap}.summary-person-copy{flex-basis:100%}.summary-person .summary-remind{width:100%}}

.summary-attendance-person{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.summary-attendance-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.summary-attendance-actions button{margin:0;min-height:44px;padding:10px;font-size:13px}
.summary-mark.worked{background:#1a4536;border-color:#306950;color:#9ce7c2}
.summary-mark.missed{background:#3b252e;border-color:#653a48;color:#f2adb9}
.summary-attendance-person>.summary-remind{width:100%;background:transparent;min-height:40px}

/* Overview shortcuts share a layout, with distinct status accents. */
.corrections-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:16px}
.corrections-toolbar .correction-filters{order:0;flex:1;min-width:0;margin:0}
.corrections-toolbar [data-refresh]{order:1;display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;min-height:42px;margin:0;padding:0;border:1px solid #2b3e55;border-radius:12px;background:#182739;color:#8fbaf0}
.corrections-toolbar [data-refresh] svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* Selected concept 7: icon and count above a readable label. */
.stats-month-picker{grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;align-items:center}
.stats-month-picker button{align-self:center;border-radius:13px;box-sizing:border-box}
.stats-month-picker button svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.stats-month-picker input[type="month"]::-webkit-calendar-picker-indicator{display:none}
.stats-month-picker input[type="month"]::-webkit-date-and-time-value{text-align:center}
.stats-month-picker input[type="month"]::-webkit-datetime-edit{display:block;text-align:center;padding:0}


#admin-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 20px;container-type:inline-size}
#admin-summary button.admin-metric{--metric-accent:#78b3ff;--metric-tint:#1b2d40;position:relative;display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:40px auto;align-content:start;align-items:center;gap:14px 10px;min-width:0;width:100%;min-height:132px;margin:0;padding:16px 12px;text-align:left;border:1px solid #293848;border-radius:17px;background:linear-gradient(145deg,#121e29,#131d27);box-shadow:none;font-weight:400;cursor:pointer;transition:background .15s,transform .15s}
#admin-summary button[data-summary-kind="working"]{--metric-accent:#80e5bb;--metric-tint:#1b3335}
#admin-summary button[data-summary-kind="missing"]{--metric-accent:#ffc260;--metric-tint:#353022}
#admin-summary .admin-metric .metric-symbol{display:flex;justify-content:center;align-items:center;width:36px;height:36px;margin:0;padding:0;border-radius:50%;background:var(--metric-tint);color:var(--metric-accent)}
#admin-summary .metric-symbol svg{display:block;flex:none;width:20px;height:20px;margin:0;fill:currentColor;stroke:none}
#admin-summary .admin-metric strong{display:block;min-width:0;margin:0;color:#f3f6fc;font-size:30px;line-height:1;font-weight:750;font-variant-numeric:tabular-nums;letter-spacing:-.6px}
#admin-summary .admin-metric .metric-label{grid-column:1/-1;align-self:start;display:block;margin:0;padding:0;color:#e8eef6;font-size:12px;line-height:1.4;font-weight:450;white-space:normal;overflow-wrap:normal}
#admin-summary .admin-metric>.metric-arrow{position:absolute;right:9px;top:61px;width:12px;height:12px;fill:none;stroke:#9baec6;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#admin-summary button.admin-metric:focus-visible{outline:2px solid var(--metric-accent);outline-offset:3px}
#admin-summary button.admin-metric:active{background:#203041;transform:scale(.98)}
@container (max-width:330px){#admin-summary button.admin-metric{grid-template-columns:30px minmax(0,1fr);padding:12px 8px;gap:12px 7px;min-height:124px}#admin-summary .admin-metric .metric-symbol{width:30px;height:30px}#admin-summary .metric-symbol svg{width:18px;height:18px}#admin-summary .admin-metric strong{font-size:26px}#admin-summary .admin-metric .metric-label{font-size:11px}#admin-summary .admin-metric>.metric-arrow{top:54px;right:6px;width:10px}}
@container (min-width:480px){#admin-summary button.admin-metric{grid-template-columns:44px minmax(0,1fr);grid-template-rows:44px auto;padding:18px;min-height:146px;gap:16px 14px}#admin-summary .admin-metric .metric-symbol{width:44px;height:44px}#admin-summary .metric-symbol svg{width:24px;height:24px}#admin-summary .admin-metric strong{font-size:34px}#admin-summary .admin-metric .metric-label{font-size:14px}#admin-summary .admin-metric>.metric-arrow{top:69px;right:12px;width:14px}}
@media(prefers-reduced-motion:reduce){#admin-summary button.admin-metric{transition:none}}

/* Compact summaries: keep full labels readable without wrapping. */
#admin-summary button.admin-metric{grid-template-columns:32px minmax(0,1fr);grid-template-rows:34px auto;gap:10px 9px;padding:12px 10px;min-height:94px}
#admin-summary .admin-metric .metric-symbol{width:32px;height:32px}
#admin-summary .admin-metric strong{font-size:28px}
#admin-summary .admin-metric .metric-label{white-space:nowrap;font-size:12px;line-height:1.3}
@container (max-width:360px){
 #admin-summary button.admin-metric{grid-template-columns:28px minmax(0,1fr);grid-template-rows:30px auto;gap:9px 7px;min-height:86px;padding:10px 8px}
 #admin-summary .admin-metric .metric-symbol{width:28px;height:28px}
 #admin-summary .metric-symbol svg{width:17px;height:17px}
 #admin-summary .admin-metric strong{font-size:25px}
 #admin-summary .admin-metric .metric-label{font-size:10px}
}


/* Native iOS time/date controls must shrink within the form grid. */
#admin-regime-view,#regime-form{min-width:0;width:100%;max-width:100%;box-sizing:border-box}
#admin-regime-view{padding-bottom:24px}
#regime-form{padding:18px;margin:0 0 16px}
#regime-form>.hint{margin:0 0 18px;font-size:12px;line-height:1.5}
#regime-form .regime-day{display:block;min-inline-size:0;min-width:0;width:100%;box-sizing:border-box;margin:0 0 18px;padding:0 0 16px;border:0;border-bottom:1px solid var(--line)}
#regime-form .regime-day legend{padding:0;margin:0 0 10px;font-size:15px;font-weight:650}
#regime-form .regime-time-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;width:100%}
#regime-form label{display:flex;flex-direction:column;gap:7px;min-width:0;width:100%;max-width:100%;margin:0;box-sizing:border-box;font-size:12px}
#regime-form input[type="time"],#regime-form input[type="date"]{display:block;appearance:none;-webkit-appearance:none;min-inline-size:0;min-width:0;width:100%;max-width:100%;height:46px;min-height:46px;box-sizing:border-box;margin:0;padding:10px 12px;font-family:inherit;font-size:16px;line-height:24px;border-radius:12px;text-align:center}
#regime-form input::-webkit-date-and-time-value{min-height:24px;text-align:center;margin:0}
#regime-form input::-webkit-datetime-edit{min-width:0;padding:0;display:inline-flex;justify-content:center}
#regime-form .regime-day output{display:block;margin-top:8px;min-height:18px;font-size:12px;line-height:1.5;color:#8fbae9}
#regime-form .regime-effective{margin-bottom:10px}
#regime-form button[type="submit"]{margin:4px 0 0;min-height:48px}
#regime-status:empty{display:none}
#regime-status{margin:12px 0 0;font-size:13px;line-height:1.5}
@media(max-width:360px){#regime-form{padding:14px}#regime-form .regime-time-fields{gap:8px}#regime-form input[type="time"],#regime-form input[type="date"]{padding:10px 6px}}

.confirmation-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px}.confirmation-copy{display:grid;gap:7px;min-width:0}.confirmation-copy strong{overflow-wrap:anywhere}.confirmation-copy small{font-size:11px;color:var(--muted)}.confirmation-state{font-size:12px;line-height:1.4}.confirmation-state.confirmed{color:#80d7b5}.confirmation-state.waiting{color:#edcc8c}.confirmation-state.changed{color:#f5a872}.confirmation-row button{width:auto;flex:none;margin:0;padding:10px;font-size:12px}#confirmation-month{width:100%;min-width:0;box-sizing:border-box;appearance:none;-webkit-appearance:none}

#admin-confirmations-view{min-width:0;padding-bottom:20px}
.confirmation-month-picker{margin:4px 0 18px}
.confirmation-progress{padding:16px;border:1px solid var(--line);border-radius:18px;background:#141e29;margin-bottom:14px}
.confirmation-progress>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}
.confirmation-progress strong{font-size:15px}.confirmation-progress span{font-size:12px;color:var(--muted)}
#confirmation-bar{display:block;width:100%;height:5px;margin-top:14px;border:0;border-radius:8px;overflow:hidden;appearance:none;background:#263344;color:#80d7b5}
#confirmation-bar::-webkit-progress-bar{background:#263344}#confirmation-bar::-webkit-progress-value{background:#80d7b5}#confirmation-bar::-moz-progress-bar{background:#80d7b5}
#confirmation-remind-all{display:flex;align-items:center;justify-content:center;gap:9px;margin:0 0 18px;padding:12px;min-height:46px;font-size:13px}
#confirmation-remind-all svg{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
#confirmation-message:empty{display:none}#confirmation-message{margin:0 0 16px;font-size:13px;line-height:1.5}
#confirmation-list{display:grid;gap:12px}#confirmation-list .card{margin:0}
.confirmation-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:28px 20px;border:1px solid var(--line);border-radius:20px;background:#131d28;gap:12px}
.confirmation-empty-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#203650;color:#91bdff;font-size:24px}
.confirmation-empty strong{font-size:16px}.confirmation-empty p{margin:0;max-width:280px;font-size:13px;line-height:1.6;color:var(--muted)}.confirmation-empty button{width:auto;margin:4px 0 0;padding:10px 18px;font-size:13px}
@media(max-width:360px){.confirmation-row{flex-wrap:wrap}.confirmation-row button{margin-left:auto}.confirmation-progress{padding:14px}}
.monitoring-intro h2{font-size:22px;margin:10px 0}.monitoring-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.monitoring-metrics .card{margin:0;padding:16px;display:flex;flex-direction:column;gap:9px;min-width:0}.monitoring-metrics strong{font-size:18px;overflow-wrap:anywhere}.monitoring-error{display:grid;grid-template-columns:42px minmax(0,1fr);gap:6px 10px;padding:14px 0;border-bottom:1px solid var(--line)}.monitoring-error span{overflow-wrap:anywhere;font-size:13px}.monitoring-error small{grid-column:2;margin:0}.monitoring-bad{color:#ff9999}#monitoring-errors{max-height:520px;overflow:auto}#admin-monitoring-view>.hint{line-height:1.6}

.advance-review-list article { margin:10px 0; padding:14px; border:1px solid #293446; border-radius:12px; }
.advance-review-list p { color:#a5afbe; line-height:1.5; overflow-wrap:anywhere; }
.advance-review-list summary { cursor:pointer; padding:10px 0; }
.employee-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:16px 0}
.employee-calendar-weekday{text-align:center;font-size:12px;color:#64748b;padding:5px 0}
.employee-calendar-day{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;min-width:0;min-height:91px;margin:0;padding:9px 2px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);box-shadow:none}
.employee-calendar-day strong{font-size:16px}.employee-calendar-day small{font-size:10px;line-height:1.2}.employee-calendar-amount{font-size:11px;font-weight:700;overflow-wrap:anywhere}
.employee-calendar-day.worked{background:#163126;color:#80dfaa}.employee-calendar-day.work{background:#1b2b46;color:#92bfff}.employee-calendar-day.rest{background:#1b222c;color:#99a4b3}
.employee-calendar-day.today strong{text-decoration:underline;text-underline-offset:4px}.employee-calendar-day[aria-pressed="true"]{outline:2px solid #2563eb;outline-offset:1px}.employee-calendar-day:focus-visible{outline:3px solid #2563eb}
.employee-day[hidden]{display:none}.correction-status.revoked{background:#fff1e6;color:#9a3412}
@media(max-width:400px){.employee-calendar{gap:3px}.employee-calendar-day{border-radius:8px;min-height:84px}.employee-calendar-day small{font-size:9px}.employee-calendar-amount{font-size:10px}}

.employee-calendar-day small{color:inherit}
