:root{--brand-blue: #2f5bc4;--brand-blue-dark: #22448f;--brand-green: #4fa048;--brand-green-dark: #357a33;--brand-yellow: #f2b90f;--brand-yellow-dark: #8a5a00;--bg: #f5f6f8;--surface: #ffffff;--border: #e3e6eb;--text: #15181e;--text-body: #4a5060;--text-muted: #5b6270;--link: #2f5bc4;--border-strong: #c9ced6;--hover: #fafbfc;--faint: #a3a9b3;--strong-bg: #15181e;--strong-fg: #ffffff;--strong-fg-dim: #c9ced6;--green-solid: #357a33;--danger-solid: #b42318;--toast-ok: #8fd18a;--toast-err: #ffb4ab;--skeleton-a: #eceef2;--skeleton-b: #f5f6f8;--tint-blue: #eaf0fb;--tint-green: #e7f4e6;--tint-yellow: #fff4cc;--tint-grey: #eef0f3;--tint-blue-hover: #dde7f9;--tint-warn: #fdf3d6;--danger: #b42318;--tint-danger: #fdecea;--radius-btn: 12px;--radius-card: 16px;--radius-sm: 8px;--btn-h: 44px;--touch: 40px;--font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;color-scheme:light;--gutter: 14px;--nav-h: 56px;--safe-b: env(safe-area-inset-bottom, 0px);--safe-t: env(safe-area-inset-top, 0px);--max-w: 600px}:root[data-theme=dark]{color-scheme:dark;--brand-blue: #4572dc;--brand-blue-dark: #a9c1fb;--brand-green: #5fb858;--brand-green-dark: #8fd18a;--brand-yellow-dark: #f2c94c;--bg: #0f1115;--surface: #181b21;--border: #2a2f38;--text: #eceef2;--text-body: #b4bac6;--text-muted: #98a0ae;--link: #8fb0ff;--border-strong: #3d4450;--hover: #1e2229;--faint: #6b7380;--strong-bg: #eceef2;--strong-fg: #15181e;--strong-fg-dim: #4a5060;--toast-ok: #357a33;--toast-err: #b42318;--skeleton-a: #1d2128;--skeleton-b: #272c35;--tint-blue: #1c2745;--tint-green: #1a2f1b;--tint-yellow: #3a2f10;--tint-grey: #232831;--tint-blue-hover: #26335a;--tint-warn: #3a2f10;--danger: #ff8a80;--tint-danger: #3d1f1c}*,*:before,*:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;touch-action:pan-x pan-y;overscroll-behavior-y:contain}.ptr{position:fixed;z-index:40;left:50%;top:calc(var(--safe-t) + 8px);width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--surface, #fff);color:var(--brand-blue);border:1px solid var(--border);box-shadow:0 4px 14px #15181e24;transform:translate(-50%,-44px);opacity:0;pointer-events:none}.ptr-spin{animation:spin .8s linear infinite}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:14px;line-height:1.45;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}input,textarea,[contenteditable=true]{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}a,img{-webkit-user-drag:none}*{scrollbar-width:none}*::-webkit-scrollbar{display:none}h1,h2,h3,p{margin:0}ul,ol{margin:0;padding:0;list-style:none}a{color:var(--link);text-decoration:none}button,input,textarea{font:inherit;color:inherit}img{display:block}:focus-visible{outline:2px solid var(--brand-blue);outline-offset:2px;border-radius:6px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.muted{color:var(--text-muted)}.small{font-size:13px}.center{text-align:center}.strong{font-weight:600;color:var(--text)}.mono,.num{font-variant-numeric:tabular-nums;letter-spacing:.01em}.strike{text-decoration:line-through;color:var(--text-muted)}.page{max-width:var(--max-w);margin:0 auto;padding:calc(var(--safe-t) + 12px) var(--gutter) 20px;display:flex;flex-direction:column;gap:12px}.with-nav{padding-bottom:calc(var(--nav-h) + var(--safe-b))}.page.with-bottom{padding-bottom:calc(150px + var(--safe-b))}.splash{min-height:100dvh;display:grid;place-items:center}.splash-art{width:min(200px,56vw);height:auto;aspect-ratio:693 / 698;color:var(--text);overflow:visible}.splash-outline{stroke-dasharray:1;animation:splash-draw 1.1s cubic-bezier(.65,0,.35,1) both}.splash-dot{animation:splash-pop .35s cubic-bezier(.2,.9,.3,1.4) calc(.9s + var(--i) * 60ms) both}.splash-dot-loop{animation:splash-pop .35s cubic-bezier(.2,.9,.3,1.4) calc(.9s + var(--i) * 60ms) both,splash-pulse 1.8s ease-in-out calc(1.9s + var(--i) * 90ms) infinite}.page-loading{min-height:60dvh;display:grid;place-items:center;animation:page-loading-in .3s ease-out .25s both}@keyframes page-loading-in{0%{opacity:0}to{opacity:1}}.logo-base{opacity:.14}.logo-trace{stroke-dasharray:.2 .8;animation:logo-trace 1.5s linear infinite}@keyframes logo-trace{0%{stroke-dashoffset:0}to{stroke-dashoffset:-1}}.splash-dot-load{animation:splash-pulse 1.2s ease-in-out calc(var(--i) * 80ms) infinite}@keyframes splash-draw{0%{stroke-dashoffset:1}to{stroke-dashoffset:0}}@keyframes splash-pop{0%{opacity:0}to{opacity:1}}@keyframes splash-pulse{0%,to{opacity:1}50%{opacity:.25}}@keyframes splash-fade{0%{opacity:0}to{opacity:1}}.section-h{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;margin-bottom:8px}.section-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin-bottom:8px}.count{min-width:24px;height:22px;padding:0 7px;border-radius:999px;background:var(--tint-grey);color:var(--text-muted);font-size:12px;font-weight:600;display:inline-grid;place-items:center;font-variant-numeric:tabular-nums}.page-title{font-size:20px;font-weight:700;letter-spacing:-.01em}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);padding:12px 14px}.list-card{padding:2px 0;overflow:hidden}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--btn-h);padding:0 20px;border-radius:var(--radius-btn);border:1px solid transparent;font-size:15px;font-weight:600;cursor:pointer;transition:background-color .15s,border-color .15s,transform .1s;text-align:center}.btn:active:not(:disabled){transform:scale(.985)}.btn:disabled{cursor:not-allowed;opacity:.55}.btn-block{width:100%}.btn-sm{min-height:34px;padding:0 12px;font-size:13px}.btn-primary{background:var(--brand-blue);color:#fff}.btn-primary:hover:not(:disabled){background:var(--brand-blue-dark)}.btn-success{background:var(--green-solid);color:#fff}.btn-success:hover:not(:disabled){background:#2a6229}.btn-secondary{background:var(--surface);border-color:var(--border);color:var(--text)}.btn-secondary:hover:not(:disabled){border-color:var(--border-strong)}.btn-danger{background:var(--danger-solid);color:#fff}.btn-danger:hover:not(:disabled){background:#912018}.btn-ghost{background:transparent;color:var(--link);border-color:var(--border)}.btn-ghost:hover{background:var(--tint-blue)}.icon-btn{width:var(--touch);height:var(--touch);flex:none;display:inline-grid;place-items:center;border:0;border-radius:12px;background:transparent;cursor:pointer;color:var(--text)}.icon-btn:hover{background:var(--tint-grey)}.icon-btn.on-dark{color:#fff;background:#00000059}.link-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:var(--touch);padding:0 12px;margin:0 auto;border:0;background:none;cursor:pointer;color:var(--link);font-weight:600;font-size:15px}.link-btn.on-dark{color:#fff}.spinner{width:18px;height:18px;border-radius:50%;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;animation:spin .7s linear infinite}.spinner.dark{border-color:var(--border);border-top-color:var(--brand-blue);width:24px;height:24px}.btn-secondary .spinner,.btn-ghost .spinner{border-color:var(--border);border-top-color:var(--brand-blue)}@keyframes spin{to{transform:rotate(360deg)}}.badge{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap;flex:none}.badge-available{background:var(--tint-green);color:var(--brand-green-dark)}.badge-assigned{background:var(--tint-blue);color:var(--brand-blue-dark)}.badge-maintenance{background:var(--tint-grey);color:var(--text-muted)}.badge-retired{background:var(--tint-grey);color:var(--text-muted);text-decoration:line-through}.admin-tag{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:6px;background:var(--strong-bg);color:var(--strong-fg);font-size:11px;font-weight:700;letter-spacing:.06em}.avatar{display:inline-grid;place-items:center;flex:none;overflow:hidden;border-radius:50%;background:var(--tint-blue);color:var(--brand-blue-dark);font-weight:600}.avatar img{width:100%;height:100%;object-fit:cover}.skeleton{display:block;background:linear-gradient(90deg,var(--skeleton-a) 0,var(--skeleton-b) 50%,var(--skeleton-a) 100%) 0 0 / 200% 100%;animation:shimmer 1.2s ease-in-out infinite}@keyframes shimmer{to{background-position:-200% 0}}.skeleton-rows .row-item{pointer-events:none}.rows>li+li{border-top:1px solid var(--border)}.row-item{display:flex;align-items:center;gap:10px;min-height:52px;padding:8px 14px}.row-compact{min-height:46px}.row-link{color:inherit}.row-link:hover{background:var(--hover)}.row-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.row-title{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-meta{font-size:13px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.row-chevron{color:var(--faint);flex:none;margin-left:-4px}.type-icon{display:inline-grid;place-items:center;flex:none;border-radius:12px;background:var(--tint-grey);color:var(--text)}.empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:20px 16px;text-align:center}.empty-compact{padding:14px 16px;gap:4px}.empty-icon{color:var(--text-muted);margin-bottom:4px}.empty-title{font-weight:600}.empty-text{color:var(--text-body);font-size:14px;max-width:30ch}.empty .btn{margin-top:8px}.logo-mark{display:block;flex:none;align-self:flex-start;color:var(--text)}.logo-tile{width:116px;height:116px;display:grid;place-items:center;flex:none;background:var(--surface);border:1px solid var(--border);border-radius:32px;box-shadow:0 1px #fff9 inset,0 18px 40px -12px #15181e38,0 4px 10px -4px #15181e1a;animation:login-rise .7s cubic-bezier(.2,.8,.2,1) both}:root[data-theme=dark] .logo-tile{box-shadow:0 1px #ffffff0d inset,0 18px 40px -12px #000000b3}.logo-tile .logo-mark{align-self:auto}.logo-tile-lg{width:132px;height:132px;border-radius:36px}.logo-tile-sm{width:84px;height:84px;border-radius:24px;box-shadow:0 10px 24px -10px #15181e40}:root[data-theme=dark] .logo-tile-sm{box-shadow:0 10px 24px -10px #000000b3}.logo-tile .splash-art{width:56%}.login .logo-tile{margin-bottom:14px}.login{position:relative;isolation:isolate;overflow:hidden;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:calc(var(--safe-t) + 24px) 24px calc(var(--safe-b) + 24px);--login-glow: rgba(47, 91, 196, .13)}:root[data-theme=dark] .login{--login-glow: rgba(69, 114, 220, .22)}.login:before{content:"";position:absolute;z-index:-2;top:0;right:0;bottom:0;left:0;background:radial-gradient(60% 42% at 50% 30%,var(--login-glow),transparent 70%)}.login:after{content:"";position:absolute;z-index:-1;top:0;right:0;bottom:0;left:0;background-image:radial-gradient(var(--border-strong) 1px,transparent 1.2px);background-size:22px 22px;opacity:.55;-webkit-mask-image:radial-gradient(70% 55% at 50% 38%,#000,transparent 75%);mask-image:radial-gradient(70% 55% at 50% 38%,#000,transparent 75%)}.login-body{width:100%;max-width:360px;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}.login-brand{display:flex;justify-content:center;width:100%;margin:0 0 10px;animation:login-rise .7s cubic-bezier(.2,.8,.2,1) both}.wordmark{display:block;max-width:100%;height:auto;color:var(--text)}.wm-letter{animation:splash-fade .6s ease-out calc(var(--i) * 70ms + .15s) both}.login-eyebrow{font-size:12px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--text-muted);animation:login-rise .6s ease-out .25s both}.login-title{font-size:32px;font-weight:700;letter-spacing:-.03em;line-height:1.1;animation:login-rise .6s ease-out .32s both}.login-desc{color:var(--text-body);font-size:15px;max-width:30ch;margin-bottom:10px;animation:login-rise .6s ease-out .4s both}.login-actions{width:100%;display:flex;flex-direction:column;gap:14px;animation:login-rise .6s ease-out .5s both}.login-note{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:var(--text-muted);font-size:13px}.login .denied{width:100%;align-items:center;text-align:center;animation:login-rise .6s ease-out .4s both}@keyframes login-rise{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}.login .gis-btn{color-scheme:light;background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden}.gis-btn{min-height:44px;width:100%;display:flex;justify-content:center;align-items:center}.install{margin-top:8px;display:flex;flex-direction:column;gap:10px}.install-steps{margin:0;padding:12px 12px 12px 32px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);font-size:14px;color:var(--text-body);display:flex;flex-direction:column;gap:6px}.install-steps svg{vertical-align:-3px}.mock-login{display:flex;flex-direction:column;gap:8px}.mock-note{font-size:13px;color:var(--brand-yellow-dark);background:var(--tint-yellow);border-radius:8px;padding:8px 12px}.denied{display:flex;flex-direction:column;gap:10px;align-items:flex-start;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);padding:16px}.denied svg{color:var(--danger)}.denied-title{font-weight:600}.home-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.home-actions{display:flex;align-items:center;gap:4px}.home-intro .greeting{animation:login-rise .6s ease-out .55s both}.home-intro .greeting+p{animation:login-rise .6s ease-out .65s both}.greeting{margin-top:10px;font-size:20px;font-weight:700;letter-spacing:-.01em}.avatar-btn:hover .avatar{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--border)}.avatar-btn{display:block;border:0;padding:2px;background:none;border-radius:50%;cursor:pointer;width:var(--touch);height:var(--touch)}.bottom-nav{position:fixed;inset:auto 0 0 0;z-index:10;display:grid;grid-template-columns:repeat(3,1fr);height:calc(var(--nav-h) + var(--safe-b));padding-bottom:var(--safe-b);background:var(--surface);border-top:1px solid var(--border)}.nav-item{min-width:0;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--text-muted);font-size:12px;font-weight:500}.bottom-nav.dense .nav-item{font-size:10.5px}.nav-item{transition:color .15s}.nav-item:hover{color:var(--text)}.nav-item.active{color:var(--link);font-weight:600}.nav-item{position:relative}button.nav-item{background:none;border:0;padding:0;font-family:inherit;cursor:pointer}.more-list{list-style:none;margin:0;padding:0}.more-item{position:relative;display:flex;align-items:center;gap:14px;min-height:52px;padding:0 4px;color:var(--text);font-size:16px;font-weight:500;text-decoration:none;border-radius:10px}.more-item:hover{background:var(--hover)}.more-item.active{color:var(--link);font-weight:600}.more-item .count-badge{margin-left:auto}.count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--danger-solid);color:#fff;font-size:11px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}.count-badge-tab{position:absolute;top:0;right:0;transform:translate(35%,-20%);box-shadow:0 0 0 2px var(--tint-grey)}.count-badge-nav{position:absolute;top:4px;left:calc(50% + 4px);box-shadow:0 0 0 2px var(--surface)}.top-bar{display:flex;align-items:center;gap:8px;margin:-6px 0 0 -10px}.top-title{font-size:17px;font-weight:600}.top-spacer{flex:1}.device-card{display:flex;gap:14px;align-items:flex-start}.device-card-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;align-items:flex-start}.device-name{font-size:20px;font-weight:700;line-height:1.3;letter-spacing:-.01em}.device-sub{font-size:13px;color:var(--text-muted);word-break:break-word}.holder{display:flex;align-items:center;gap:12px}.holder-name{font-weight:600}.timeline{position:relative;display:flex;flex-direction:column;gap:14px}.tl-item{position:relative;padding-left:22px}.tl-item:before{content:"";position:absolute;left:4px;top:16px;bottom:-14px;width:2px;background:var(--border)}.tl-item:last-child:before{display:none}.tl-dot{position:absolute;left:0;top:6px;width:10px;height:10px;border-radius:50%;background:var(--faint)}.tl-assign .tl-dot{background:var(--brand-blue)}.tl-transfer .tl-dot{background:var(--brand-yellow)}.tl-checkout .tl-dot{background:var(--brand-green)}.tl-text{font-weight:500;font-size:14px}.tl-time{font-size:12px;color:var(--text-muted);font-variant-numeric:tabular-nums}.tl-note{font-size:13px;color:var(--text-muted);margin-top:2px}.notice{padding:9px 12px;border-radius:10px;font-weight:500;font-size:13.5px;background:var(--tint-grey);color:var(--text)}.notice-blue{background:var(--tint-blue);color:var(--brand-blue-dark)}.bottom-bar{position:fixed;inset:auto 0 0 0;z-index:10;display:flex;flex-direction:column;gap:6px;padding:12px var(--gutter) calc(12px + var(--safe-b));background:var(--surface);border-top:1px solid var(--border)}.bottom-bar>*{width:100%;max-width:calc(var(--max-w) - 2 * var(--gutter));margin-left:auto;margin-right:auto}.bottom-explain{font-size:13px;color:var(--text-body)}.stat-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 0}.stat-pair>div{background:var(--bg);border-radius:12px;padding:12px}.stat-pair dt{font-size:12px;color:var(--text-muted)}.stat-pair dd{margin:2px 0 0;font-weight:600}.admin-tools .section-label{margin-bottom:10px}.tool-row{display:flex;flex-wrap:wrap;gap:8px}.tool-row .btn{min-height:var(--touch);font-size:14px;padding:0 14px}.success{min-height:100dvh;justify-content:center;align-items:center;text-align:center;gap:12px;max-width:420px}.success-icon{color:var(--brand-green)}.success-title{font-size:22px;font-weight:700;margin-top:8px}.success .btn{margin-top:16px}.form{display:flex;flex-direction:column;gap:16px}.form-foot{margin-top:12px}.field{display:flex;flex-direction:column;gap:6px;border:0;padding:0;margin:0;min-width:0}.field-label{font-size:14px;font-weight:600;padding:0}.field-error{font-size:13px;color:var(--danger)}.input{width:100%;min-height:42px;padding:8px 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface);font-size:16px}.input:focus{outline:none;border-color:var(--brand-blue);box-shadow:0 0 0 3px var(--tint-blue)}.input[aria-invalid=true]{border-color:var(--danger)}.textarea{resize:vertical;min-height:80px;line-height:1.4}.radio-cards{border:0;padding:0;margin:0 0 16px;display:flex;flex-direction:column;gap:8px}.radio-cards legend{padding:0}.radio-card{display:flex;gap:12px;align-items:flex-start;cursor:pointer;padding:14px;border:1px solid var(--border);border-radius:12px;min-height:56px}.radio-card.checked{border-color:var(--brand-blue);background:var(--tint-blue)}.radio-card input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--brand-blue);flex:none}.radio-title{display:block;font-weight:600}.radio-hint{display:block;font-size:13px;color:var(--text-muted)}.seg{display:flex;flex-wrap:wrap;gap:8px}.seg-item{position:relative;min-height:var(--touch);padding:0 14px;display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:10px;cursor:pointer;font-size:14px;font-weight:500}.seg-item input{position:absolute;opacity:0;pointer-events:none}.seg-item.checked{border-color:var(--brand-blue);background:var(--tint-blue);color:var(--brand-blue-dark);font-weight:600}.seg-item:has(input:focus-visible){outline:2px solid var(--brand-blue);outline-offset:2px}.list-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px}.head-actions{display:flex;gap:8px}.search{display:flex;align-items:center;gap:10px;padding:0 12px;min-height:40px;background:var(--surface);border:1px solid var(--border);border-radius:12px;color:var(--text-muted)}.search:focus-within{border-color:var(--brand-blue);box-shadow:0 0 0 3px var(--tint-blue)}.search-input{flex:1;border:0;outline:0;background:transparent;font-size:16px;color:var(--text);min-width:0}.chips{display:flex;gap:8px;overflow-x:auto;margin:0 calc(-1 * var(--gutter));padding:0 var(--gutter);scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border-radius:999px;cursor:pointer;border:1px solid var(--border);background:var(--surface);font-size:13px;font-weight:500}.chip.active{background:var(--strong-bg);border-color:var(--strong-bg);color:var(--strong-fg)}.chip-count{font-size:12px;color:var(--text-muted);font-variant-numeric:tabular-nums}.chip.active .chip-count{color:var(--strong-fg-dim)}.scan-page{position:fixed;top:0;right:0;bottom:0;left:0;background:#0b0d11;color:#fff;overflow:hidden}.scan-video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.scan-top{position:absolute;z-index:2;top:0;left:0;right:0;display:flex;justify-content:space-between;padding:calc(var(--safe-t) + 12px) 12px 0}.scan-frame{position:absolute;z-index:1;left:50%;top:42%;width:260px;height:260px;transform:translate(-50%,-50%);border-radius:20px;box-shadow:0 0 0 100vmax #0b0d119e}.corner{position:absolute;width:36px;height:36px;border:4px solid var(--brand-yellow)}.corner.tl{top:-2px;left:-2px;border-right:0;border-bottom:0;border-top-left-radius:20px}.corner.tr{top:-2px;right:-2px;border-left:0;border-bottom:0;border-top-right-radius:20px}.corner.bl{bottom:-2px;left:-2px;border-right:0;border-top:0;border-bottom-left-radius:20px}.corner.br{bottom:-2px;right:-2px;border-left:0;border-top:0;border-bottom-right-radius:20px}.scan-line{position:absolute;left:16px;right:16px;top:16px;height:2px;border-radius:2px;background:var(--brand-yellow);box-shadow:0 0 12px #f2b90fb3;animation:sweep 2.2s ease-in-out infinite alternate}@keyframes sweep{to{top:calc(100% - 18px)}}.scan-bottom{position:absolute;z-index:2;left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:16px;align-items:center;padding:0 32px calc(var(--safe-b) + 28px);text-align:center}.scan-hint{color:#e5e8ee;font-size:15px;max-width:32ch}.scan-invalid{color:#fff;background:#b42318d9;border-radius:12px;padding:10px 14px;font-size:14px}.scan-blocked{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;flex-direction:column;justify-content:center;gap:16px;max-width:420px;margin:0 auto;padding:80px 24px calc(var(--safe-b) + 24px)}.scan-blocked-title{font-size:20px;font-weight:700}.scan-steps{list-style:decimal;padding-left:20px;color:#e5e8ee;display:flex;flex-direction:column;gap:8px}@media(prefers-reduced-motion:reduce){.scan-line,.skeleton,.spinner,.wm-letter,.login-brand,.splash-outline,.splash-dot,.logo-trace,.page-loading,.logo-tile,.home-intro .greeting,.home-intro .greeting+p,.login-eyebrow,.login-title,.login-desc,.login-actions,.login .denied{animation:none}}.sheet{margin:auto auto 0;width:100%;max-width:var(--max-w);max-height:90dvh;border:0;padding:0;border-radius:20px 20px 0 0;background:var(--surface);color:var(--text)}.sheet::backdrop{background:#0b0d1180}.sheet[open]{animation:rise .2s ease-out}@keyframes rise{0%{transform:translateY(24px);opacity:0}}.sheet-body{padding:8px var(--gutter) calc(var(--safe-b) + 20px)}.sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.sheet-title{font-size:17px;font-weight:600}.toasts{position:fixed;z-index:50;left:0;right:0;top:calc(var(--safe-t) + 12px);display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none;padding:0 var(--gutter)}.toast{display:flex;align-items:center;gap:10px;max-width:420px;width:100%;padding:12px 14px;border-radius:12px;background:var(--strong-bg);color:var(--strong-fg);font-size:14px;font-weight:500;box-shadow:0 8px 24px #15181e33;animation:rise .2s ease-out}.toast-success svg{color:var(--toast-ok)}.toast-error svg{color:var(--toast-err)}.badge-late{background:var(--tint-danger);color:var(--danger)}.link-inline{background:none;border:0;padding:0;color:var(--link);font-weight:600;text-decoration:underline;cursor:pointer}.wip-item>summary{list-style:none;cursor:pointer}.wip-item>summary::-webkit-details-marker{display:none}.wip-detail{padding:0 16px 16px;display:flex;flex-direction:column;gap:16px}.wip-flag{display:flex;flex-direction:column;gap:8px}.wip-flag>.row-title{white-space:normal;overflow:visible;text-overflow:clip}.wip-fine-btn{margin-left:8px;vertical-align:middle}.fine-kind{display:flex;align-items:flex-end;gap:12px}.fine-kind .field{flex:1;min-width:0}.fine-kind .switch{margin-bottom:4px}.fine-kind.fine-kind-master,.fine-kind.fine-kind-row{align-items:center}.fine-kind.fine-kind-master .switch,.fine-kind.fine-kind-row .switch{margin-bottom:0}.wip-repeated{margin:0;padding-left:18px;font-size:13px;color:var(--text-muted)}.wip-cols{display:grid;gap:10px;grid-template-columns:1fr}@media(min-width:720px){.wip-cols{grid-template-columns:1fr 1fr}}.wip-pre{margin:0;white-space:pre-wrap;word-break:break-word;font:inherit;font-size:13px;background:var(--tint-grey);border-radius:10px;padding:10px;max-height:200px;overflow:auto}.msg-preview{max-height:50vh;font-size:14px}.wip-unmatched>summary{cursor:pointer;list-style:none}.wip-unmatched>summary::-webkit-details-marker{display:none}.wip-map{margin:10px 0 6px;display:flex;flex-direction:column;gap:8px}.wip-map li{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}.wip-map-name{font-weight:600}.wip-map-select{min-height:36px;padding:4px 8px}@media(min-width:720px){.wip-map li{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) auto;align-items:center}}.force-update{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;border:0;padding:0;background:var(--bg);color:var(--text)}.force-update[open]{display:flex;animation:splash-fade .2s ease-out}.force-update::backdrop{background:var(--bg)}.force-update-body{width:100%;max-width:440px;margin:0 auto;display:flex;flex-direction:column;justify-content:center;gap:16px;padding:calc(var(--safe-t) + 24px) 24px calc(var(--safe-b) + 24px)}.force-update-title{font-size:30px;font-weight:700;letter-spacing:-.02em;line-height:1.2;margin:8px 0 0}.force-update-desc{color:var(--text-body);font-size:16px;margin-bottom:8px}.check-row{display:flex;align-items:center;gap:12px;min-height:60px;padding:8px 16px;cursor:pointer}.check-row input{width:20px;height:20px;accent-color:var(--brand-blue);flex:none}.check-all{border-bottom:1px solid var(--border);font-weight:600}.check-all>span:nth-child(2){flex:1}.print-sheet{display:grid;grid-template-columns:repeat(3,70mm);grid-auto-rows:37mm;width:210mm;padding:0;margin:0 auto 160px;background:#fff;transform-origin:top left}.print-sheet:empty{display:none}@media screen{.print-sheet{zoom:.44;border:1px solid var(--border)}@media(min-width:768px){.print-sheet{zoom:.8}}}.label{display:flex;align-items:center;gap:3mm;padding:3mm 4mm;overflow:hidden;outline:1px dashed #d5d9df;break-inside:avoid}.label-qr{width:29mm;height:29mm;flex:none}.label-qr svg{width:100%;height:100%;display:block}.label-text{display:flex;flex-direction:column;gap:1.5mm;min-width:0}.label-logo{display:inline-flex;align-self:flex-start;-webkit-print-color-adjust:exact;print-color-adjust:exact}.label-logo img{height:8mm;width:auto}.label-code{font-size:13pt;font-weight:700;letter-spacing:.02em;color:#000}.label-name{font-size:8pt;line-height:1.25;color:#000;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}@media print{@page{size:A4;margin:0}body{background:#fff}.no-print,.bottom-nav,.toasts{display:none!important}.print-sheet{zoom:1;border:0;margin:0 auto}.label{outline:0}}.page.page-wide{max-width:none}.people-split,.stack{display:flex;flex-direction:column;gap:12px}.notice-warn{background:var(--tint-yellow);color:var(--brand-yellow-dark)}.tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(max-content,1fr);gap:4px;padding:4px;border-radius:12px;background:var(--tint-grey);overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tab{position:relative;min-height:34px;border:0;border-radius:9px;background:transparent;cursor:pointer;padding:0 12px;white-space:nowrap;font-size:14px;font-weight:600;color:var(--text-muted);transition:background-color .15s,color .15s}.tab:hover{color:var(--text)}.tab.active{background:var(--surface);color:var(--text);box-shadow:0 1px 2px #15181e14}.stepper{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:2px}.stepper-label{flex:1;text-align:center;font-weight:600;font-size:14px}.switch{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:var(--touch);padding:0 4px 0 10px;border:0;background:none;cursor:pointer;border-radius:999px}.switch:disabled{cursor:not-allowed;opacity:.55}.switch-text{font-size:14px;font-weight:600;color:var(--text-muted);min-width:4.2em;text-align:right}.switch.on .switch-text{color:var(--brand-green-dark)}.switch-track{position:relative;width:46px;height:28px;border-radius:999px;background:var(--border-strong);transition:background-color .15s}.switch.on .switch-track{background:var(--green-solid)}.switch-thumb{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0003;transition:transform .15s}.switch.on .switch-thumb{transform:translate(18px)}.switch:hover:not(:disabled) .switch-track{box-shadow:0 0 0 3px var(--tint-grey)}.approvers{display:flex;flex-wrap:wrap;gap:2px 12px}.approvers-done{color:var(--brand-green-dark)}.approvers-wait{color:var(--brand-yellow-dark)}.badge-pending,.leave-off{background:var(--tint-yellow);color:var(--brand-yellow-dark)}.leave-wfh{background:var(--tint-blue);color:var(--brand-blue-dark)}.leave-time{background:var(--tint-grey);color:var(--text-muted)}.today-tag{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:999px;background:var(--tint-blue);color:var(--brand-blue-dark);font-size:11px;font-weight:700}.meal-day.is-today{border-color:var(--brand-blue)}.meal-day-title{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:700;margin-bottom:4px;padding:0}.meal-row{display:flex;align-items:center;gap:12px;padding:10px 0}.meal-row+.meal-row{border-top:1px solid var(--border)}.meal-main{flex:1;min-width:0}.meal-label{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted)}.meal-dish{font-weight:600;margin-top:1px;white-space:pre-line}.meal-note{display:flex;align-items:center;gap:4px;font-size:13px;color:var(--text-muted);margin-top:2px}.today-meals{display:flex;align-items:center;gap:12px;color:inherit}.today-meals:hover{border-color:var(--border-strong)}.today-meals-rows{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px}.today-meal{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:8px}.today-dish{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.count-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.count-head .section-label{margin-bottom:4px}.count-dish{font-weight:600;white-space:pre-line}.count-big{display:flex;align-items:baseline;gap:4px;flex:none}.count-num{font-size:30px;font-weight:700;line-height:1;letter-spacing:-.02em}.count-unit{font-size:14px;color:var(--text-muted);font-weight:600}.count-block .meal-note{margin-top:8px}.count-list{margin-top:12px;border-top:1px solid var(--border)}.count-list summary{min-height:var(--touch);display:flex;align-items:center;cursor:pointer;font-weight:600;font-size:14px;list-style:none}.count-list summary::-webkit-details-marker{display:none}.count-list summary:after{content:"+";margin-left:auto;color:var(--text-muted);font-weight:500}.count-list[open] summary:after{content:"–"}.count-hint{margin:4px 0 6px}.count-person{display:flex;align-items:center;gap:8px;min-height:44px;border-top:1px solid var(--border)}.menu-day-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.menu-day-head .meal-day-title{margin:0;flex:1;min-width:0;flex-wrap:wrap;gap:4px 8px}.menu-day-head .btn{flex:none}.menu-day{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:12px;min-width:0}.form-actions{display:flex;flex-direction:column;gap:8px}.sticky-actions{position:sticky;bottom:calc(var(--nav-h) + var(--safe-b));z-index:5;margin:0 calc(-1 * var(--gutter));padding:10px var(--gutter);background:var(--surface);border-top:1px solid var(--border)}.sticky-actions .btn-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.day-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.day-cell{display:flex;flex-direction:column;align-items:center;gap:2px;min-height:58px;padding:6px 2px;border-radius:10px;cursor:pointer;background:var(--surface);border:1px solid var(--border);color:var(--text);transition:border-color .15s,background-color .15s}.day-cell:hover{border-color:var(--border-strong)}.day-cell.today .day-cell-dow{color:var(--link)}.day-cell.selected{border-color:var(--brand-blue);background:var(--tint-blue);box-shadow:inset 0 0 0 1px var(--brand-blue)}.day-cell-dow{font-size:12px;font-weight:600;color:var(--text-muted)}.day-cell-date{font-size:16px;font-weight:700;line-height:1.2}.day-marks{display:flex;gap:3px;min-height:18px}.mark{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:5px;font-size:11px;font-weight:700;border:1px solid var(--border);color:var(--text-muted);background:var(--surface)}.mark.on{background:var(--green-solid);border-color:var(--green-solid);color:#fff}.legend{display:flex;align-items:center;gap:4px;margin-top:-6px}.day-counts{display:flex;flex-direction:column;align-items:center;font-size:12px;font-weight:600;color:var(--text-muted);line-height:1.35}.meal-day{padding:12px 14px}.meal-block{padding:10px 0 2px}.meal-block+.meal-block{border-top:1px solid var(--border);margin-top:8px}.meal-block-head{display:flex;align-items:center;justify-content:space-between;min-height:20px}.meal-block .meal-dish{font-size:15px;margin:2px 0 8px}.saved-flag{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:600;color:var(--brand-green-dark);opacity:0;transition:opacity .2s}.saved-flag.show{opacity:1}.choice2{display:grid;grid-template-columns:1fr 1fr;gap:8px}.choice2-opt{min-height:40px;border-radius:10px;border:1px solid var(--border);background:var(--surface);font-size:14px;font-weight:600;color:var(--text-muted);cursor:pointer;transition:background-color .15s,border-color .15s,color .15s,transform .1s}.choice2-opt:hover:not(:disabled){border-color:var(--border-strong);color:var(--text)}.choice2-opt:active:not(:disabled){transform:scale(.98)}.choice2-opt.on-yes{background:var(--tint-green);border-color:var(--brand-green-dark);color:var(--brand-green-dark);box-shadow:inset 0 0 0 1px var(--brand-green-dark)}.choice2-opt.on-no{background:var(--tint-grey);border-color:var(--text-muted);color:var(--text);box-shadow:inset 0 0 0 1px var(--text-muted)}.choice2-compact{display:inline-grid;grid-template-columns:auto auto;flex:none;gap:4px}.choice2-compact .choice2-opt{min-height:40px;padding:0 14px}.choice2-opt:disabled{cursor:not-allowed;opacity:.6}.meal-block .meal-note{margin-top:8px}.meal-heart{display:flex;align-items:center;gap:12px;margin-top:8px}.heart-btn{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border-radius:999px;border:1px solid var(--border);background:transparent;color:var(--text-muted);font:inherit;font-size:14px;font-weight:600;cursor:pointer}.heart-btn:hover{background:var(--tint-grey)}.heart-btn.on{color:var(--danger);border-color:var(--danger);background:var(--tint-danger)}.meal-dislike{margin-top:10px}.meal-dislike-label{margin:0 0 6px;font-size:13px;color:var(--text-muted)}.dislike-list{display:flex;flex-wrap:wrap;gap:8px}.dislike-btn{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border-radius:999px;border:1px solid var(--border);background:transparent;color:var(--text-muted);font:inherit;font-size:14px;cursor:pointer;text-align:left}.dislike-btn:hover{background:var(--tint-grey)}.dislike-btn.on{color:var(--brand-yellow-dark);border-color:var(--brand-yellow-dark);background:var(--tint-yellow);font-weight:600}.stat-link{min-height:32px;padding:0 4px;border:0;background:transparent;color:var(--link);font:inherit;font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.stat-list{margin:0;padding:0;list-style:none}.stat-quote{font-weight:400;overflow-wrap:anywhere}.dislike-count{padding-left:4px;border-left:1px solid currentColor}.dish-feedback{font-style:italic;overflow-wrap:anywhere}.calendar{padding:12px}.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.cal-head span{text-align:center;font-size:12px;font-weight:600;color:var(--text-muted);padding:2px 0 6px}.cal-cell{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:3px;min-height:44px;padding:4px 0 3px;border-radius:8px;border:1px solid transparent;background:transparent;cursor:pointer;color:var(--text)}.cal-cell:hover:not(:disabled){background:var(--tint-grey)}.cal-cell:disabled{cursor:default;color:var(--faint)}.cal-cell.out{visibility:hidden}.cal-cell.today .cal-num{background:var(--brand-blue);color:#fff;font-weight:700}.cal-cell.selected{background:var(--tint-blue);border-color:var(--brand-blue)}.cal-num{display:grid;place-items:center;min-width:22px;height:22px;border-radius:11px;font-size:14px;font-weight:600;line-height:1}.cal-dots{display:flex;align-items:center;gap:2px;min-height:12px}.cal-dots .dot{width:6px;height:6px}.cal-count{font-size:12px;font-weight:700;color:var(--text-muted);margin-left:1px}.cal-legend{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:10px;padding-top:10px;border-top:1px solid var(--border);font-size:12px;color:var(--text-muted)}.cal-legend>span{display:inline-flex;align-items:center;gap:6px}.dot.dot-g-off{background:var(--brand-yellow)}.dot.dot-g-wfh{background:var(--brand-blue)}.dot.dot-g-time{background:var(--faint)}.team-filter{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.team-filter::-webkit-scrollbar{display:none}.team-sum{width:100%;background:none;border:0;text-align:left;cursor:pointer;font:inherit}.team-sum-rest{margin-top:6px}.team-chip{flex:none;min-height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--border);background:var(--surface, #fff);color:var(--text);font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap}.team-chip[aria-pressed=true]{background:var(--tint-blue);border-color:var(--brand-blue);color:var(--brand-blue-dark)}.week-grid{display:flex;flex-direction:column;gap:10px}.week-day{padding:12px 14px}.week-day.is-today{border-color:var(--brand-blue)}.week-day-title{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;margin-bottom:8px}.week-people{display:flex;flex-direction:column;gap:6px}.week-people li{display:grid;grid-template-columns:10px 1fr;column-gap:8px;align-items:center}.week-name{font-weight:600;font-size:14px}.week-type{grid-column:2;font-size:12px;color:var(--text-muted)}.dot{width:10px;height:10px;border-radius:50%;background:var(--faint)}.dot-holiday,.dot-unpaid_leave{background:var(--brand-yellow)}.dot-wfh{background:var(--brand-blue)}.row-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}.person-grid{display:flex;flex-direction:column;gap:12px}@media(min-width:900px){.person-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}.person-grid:not(.person-grid-2){max-width:640px}.person-grid-2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}.person-card{display:flex;gap:14px;align-items:flex-start}.person-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.person-tags{display:flex;flex-wrap:wrap;gap:6px}.person-tags:empty{display:none}.leave-summary{margin:-4px 0 8px}.icon-btn-tint{color:var(--link);background:var(--tint-blue)}.icon-btn-tint:hover{background:var(--tint-blue-hover)}.home-grid{display:grid;gap:12px;grid-template-columns:minmax(0,1fr);align-items:start}.home-col{display:flex;flex-direction:column;gap:12px;min-width:0}.section-link{margin-left:auto;font-size:13px;font-weight:600}button.section-link{display:inline-flex;align-items:center;gap:4px;background:none;border:0;padding:4px 0;color:var(--link);cursor:pointer}.home-skel{padding:12px 14px;display:flex;flex-direction:column;gap:10px}.stat-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;text-align:center}.stat-row>div{display:flex;flex-direction:column-reverse;gap:2px}.stat-row dt{font-size:12px;color:var(--text-muted);line-height:1.25}.stat-row dd{margin:0}.stat-num{font-size:24px;font-weight:700;line-height:1.1}.stat-num.bad{color:var(--danger)}.stat-num.warn{color:var(--brand-yellow-dark)}.team-stats{flex:1;min-width:0}.stat-row-3{grid-template-columns:repeat(3,minmax(0,1fr))}.member-li{display:flex;align-items:center}.member-link{flex:1;min-width:0}.team-more{font-size:14px;font-weight:600;color:var(--link);border-top:1px solid var(--border)}.team-more .row-chevron{margin-left:auto}.team-all-sum{padding:10px 14px;border-bottom:1px solid var(--border)}.team-all-sum .num{font-size:20px;font-weight:700;line-height:1.1}.team-all-sum .num.bad{color:var(--danger)}.team-all-sum .num.warn{color:var(--brand-yellow-dark)}.team-all-row{gap:8px;min-height:44px;padding-block:6px}.team-all-chips{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px;flex:none;max-width:56%}.tchip{font-size:12px;font-weight:600;line-height:1;padding:4px 7px;border-radius:999px;background:var(--tint-blue);color:var(--brand-blue-dark);white-space:nowrap}.tchip-zero{background:var(--tint-grey);color:var(--text-muted);font-weight:500}.tchip-warn{background:var(--tint-warn);color:var(--brand-yellow-dark)}.tchip-bad{background:var(--tint-danger);color:var(--danger)}.section-h .badge{margin-left:8px;font-weight:600;vertical-align:middle}.wip-grid{display:grid;gap:12px;grid-template-columns:minmax(0,1fr);align-items:start}.wip-card{display:flex;flex-direction:column;gap:10px}.wip-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.wip-card-title{font-size:15px;font-weight:700}.wip-actions{display:flex;gap:8px;flex-wrap:wrap}.wip-prev summary{cursor:pointer;font-size:13px;color:var(--text-muted);font-weight:600;min-height:28px;display:flex;align-items:center}.wip-prev .wip-pre{margin-top:6px}.wip-toolbar{display:flex;flex-direction:column;gap:8px}.notice-danger{background:var(--tint-danger);color:var(--danger)}.rows-2{display:block}.meal-days{display:grid;gap:10px;grid-template-columns:minmax(0,1fr);align-items:start;transition:opacity .2s}.meal-days.is-busy{opacity:.45;pointer-events:none}.meal-days.meal-wide{display:none}@media(min-width:900px){.meal-narrow{display:none}.meal-days.meal-wide{display:grid}.home-grid,.wip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wip-toolbar{flex-direction:row;align-items:center;justify-content:space-between}.wip-toolbar .stepper{min-width:280px}.wip-toolbar .chips{margin:0;padding:0}.meal-days{grid-template-columns:repeat(2,minmax(0,1fr))}.rows-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.rows-2>li+li{border-top:0}.rows-2>li{border-bottom:1px solid var(--border)}.rows-2>li:nth-child(odd){border-right:1px solid var(--border)}.rows-2>li:nth-last-child(-n+2):nth-child(odd),.rows-2>li:last-child{border-bottom:0}}@media(min-width:1200px){.meal-days{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(hover:hover)and (pointer:fine){.input,.search-input{font-size:14px}}@media(max-width:359px){.hide-xs{display:none}}@media(min-width:768px){.page{padding-top:24px}.page.page-wide{padding-left:28px;padding-right:28px}.form-actions{flex-direction:row}.cal-cell{min-height:54px}.people-split{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px;align-items:start}}.fine-amount{font-weight:700;white-space:nowrap;align-self:flex-start}.fine-amount.bad{color:var(--danger)}.fine-void{text-decoration:line-through;color:var(--text-muted)}.fine-hero{display:flex;flex-direction:column;gap:10px}.fine-hero-top{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.fine-hero-label,.fine-hero-count,.fine-hero-foot{font-size:13px;color:var(--text-muted)}.fine-hero-num{font-size:30px;font-weight:700;line-height:1.1}.fine-hero-num.bad{color:var(--danger)}.fine-bar{height:8px;border-radius:999px;background:var(--tint-grey);overflow:hidden}.fine-bar>span{display:block;height:100%;border-radius:inherit;background:var(--brand-green);transition:width .3s}.fine-hero-foot{display:flex;justify-content:space-between;gap:8px}.fine-hero-foot b{color:var(--text)}.fine-tools{display:flex;flex-direction:column;gap:10px}.fine-groups{display:grid;gap:12px;grid-template-columns:minmax(0,1fr);align-items:start}.fine-group-head{display:flex;align-items:center;gap:10px;padding:0 12px}.fine-group-toggle{flex:1;min-width:0;display:flex;align-items:center;gap:8px;min-height:48px;padding:0;border:0;background:none;font:inherit;color:inherit;text-align:left;cursor:pointer}.fine-group-toggle .fine-amount{align-self:center}.fine-group-chev{flex:none;color:var(--faint);transition:transform .15s}.fine-group.open .fine-group-chev{transform:rotate(90deg)}.fine-group-title{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fine-collect{flex:none}.fine-confirm{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:0 12px 8px;padding:8px 10px;border-radius:10px;background:var(--tint-yellow);color:var(--brand-yellow-dark);font-size:14px;font-weight:600}.fine-confirm-btns{display:flex;gap:8px}.fine-rows{border-top:1px solid var(--border)}.fine-item{display:flex;align-items:stretch}.fine-item+.fine-item{border-top:1px solid var(--border)}.fine-check{flex:none;width:52px;display:grid;place-items:center;padding:0;border:0;background:none;cursor:pointer}.fine-check-static{cursor:default}.fine-dot{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;border:2px solid var(--border-strong);color:transparent;transition:background-color .15s,border-color .15s,color .15s}button.fine-check:hover .fine-dot,button.fine-check:focus-visible .fine-dot{border-color:var(--brand-green);color:var(--brand-green)}button.fine-check:active .fine-dot{background:var(--tint-green)}button.fine-check:disabled{cursor:default;opacity:.6}.fine-dot.is-paid{border-color:var(--brand-green);background:var(--brand-green);color:#fff}.fine-dot.is-void{border-style:dashed;color:var(--text-muted)}.fine-body{flex:1;min-width:0;display:flex;align-items:flex-start;gap:10px;padding:11px 14px;border:0;background:none;font:inherit;color:inherit;text-align:left;cursor:pointer}.fine-check+.fine-body{padding-left:0}.fine-body:hover{background:var(--hover)}.fine-title{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-weight:600}.fine-meta{font-size:13px;color:var(--text-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.fine-presets{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.fine-detail{margin:0;display:flex;flex-direction:column}.fine-detail>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:11px 0;border-top:1px solid var(--border)}.fine-detail>div:first-child{border-top:0}.fine-detail dt{flex:none;font-size:14px;color:var(--text-muted)}.fine-detail dd{margin:0;min-width:0;text-align:right;font-weight:600;overflow-wrap:anywhere}.fine-people{display:flex;flex-wrap:wrap;gap:8px;max-height:188px;overflow-y:auto;padding:2px}.fine-sheet-actions{display:flex;flex-direction:column;gap:8px;margin-top:12px}.fine-rules summary{cursor:pointer;font-size:13px;font-weight:600;color:var(--text-muted);min-height:32px;display:flex;align-items:center}.fine-rules p{margin-top:4px}@media(min-width:900px){.fine-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.fine-tools{flex-direction:row;flex-wrap:wrap;align-items:center}.fine-tools .tabs{min-width:260px}.fine-tools .search{flex:1;min-width:220px}.fine-tools .chips{margin:0;padding:0;width:100%}}.wfh-photo{width:44px;height:44px;border-radius:10px;overflow:hidden;border:0;padding:0;background:var(--tint-grey);flex:none;cursor:pointer;display:grid;place-items:center}.wfh-photo:disabled{cursor:default}.wfh-photo img{width:100%;height:100%;object-fit:cover;display:block}.wfh-shot{width:100%;border-radius:12px;display:block}.wfh-days{list-style:none;margin:0;padding:0 16px 10px 72px;display:grid;gap:2px}.wfh-day{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-height:32px;font-size:14px}.wfh-day-when{flex:1;min-width:0}button.wfh-person{width:100%;border:0;background:none;font:inherit;text-align:left;cursor:pointer}.wfh-meta{white-space:normal}.wfh-frequent{border-top:1px solid var(--border)}.row-between{display:flex;align-items:center;justify-content:space-between;gap:12px}.row-between>p{flex:1;min-width:0}button.row-button{width:100%;background:none;border:0;text-align:left;font:inherit;color:inherit;cursor:pointer}.pick-list{max-height:220px;overflow-y:auto;border:1px solid var(--border);border-radius:12px;margin-top:8px}.pick-row{cursor:pointer}.pick-row input{width:18px;height:18px;flex:none;accent-color:var(--brand-blue)}.pick-empty{padding:12px 14px}.wip-draft{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid var(--border);border-radius:var(--radius-sm)}.wip-draft-head{display:flex;align-items:center;justify-content:space-between}.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.field-row>.field{justify-content:flex-end}.fold-head{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:0;background:none;border:0;color:inherit;font:inherit;text-align:left;cursor:pointer}.fold-head .section-h{margin-bottom:0}.fold-chev{flex:none;color:var(--text-muted);transition:transform .15s}.fold-head[aria-expanded=true] .fold-chev{transform:rotate(180deg)}.fold-body{margin-top:12px}.fold-body[hidden]{display:none}.settings-grid{display:grid;gap:12px;grid-template-columns:minmax(0,1fr);align-items:start}@media(min-width:900px){.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.input[type=time],.input[type=date],.input[type=month]{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;width:100%;min-width:0;max-width:100%;text-align:left}.input[type=time]::-webkit-date-and-time-value,.input[type=month]::-webkit-date-and-time-value{text-align:left}.feedback-open{width:100%;background:none;border:0;text-align:left;font:inherit;cursor:pointer}.feedback-open>svg:first-child{color:var(--link);flex:none}.notice[role=note] svg{vertical-align:-3px;margin-right:4px}.feedback-row{display:flex;flex-direction:column;gap:10px;padding:14px}.feedback-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.feedback-date{margin-left:auto}.feedback-text{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.45}.feedback-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.feedback-actions .btn{margin-left:auto}.lab-card{display:flex;flex-direction:column;gap:12px}.lab-pool{display:flex;flex-direction:column;gap:10px;border:0;padding:0;margin:0;min-width:0}.lab-text,.lab-preview{display:flex;flex-direction:column;gap:8px}.dot.dot-g-holiday{background:var(--danger)}.cal-cell.holiday:not(.selected):not(.out){background:var(--tint-danger)}.cal-cell.holiday .cal-num{color:var(--danger)}.cal-cell.holiday.today .cal-num{color:var(--link)}.holiday-tag{display:inline-flex;align-items:center;min-height:20px;padding:0 8px;border-radius:999px;white-space:nowrap;background:var(--tint-danger);color:var(--danger);font-size:11px;font-weight:700}.day-holiday{display:inline-flex;align-items:center;min-height:18px;font-size:11px;font-weight:700;color:var(--danger)}.holiday-list{margin:4px 0 0;padding-left:18px}.form-row{display:grid;grid-template-columns:1fr;gap:16px}.btn-row{display:inline-flex;gap:8px}@media(min-width:640px){.form-row{grid-template-columns:1fr 1fr}}.wip-preview-facts{display:flex;flex-direction:column;gap:8px;margin:0}.wip-preview-facts>div{display:grid;grid-template-columns:110px 1fr;gap:8px;font-size:14px}.wip-preview-facts dt{color:var(--text-muted);font-weight:600}.wip-preview-facts dd{margin:0;overflow-wrap:anywhere}.wip-preview-roster{max-height:40vh;overflow-y:auto}.ann-list{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}.ann{display:flex;align-items:flex-start;gap:12px;padding:14px 8px 14px 14px;border-radius:var(--radius-card);background:var(--tint-blue);color:var(--text)}.ann-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:12px;background:var(--surface, #fff);color:var(--link)}.ann-reminder{background:var(--tint-yellow)}.ann-reminder .ann-icon{color:var(--brand-yellow-dark, #8a6d00)}.ann-notice{background:var(--tint-grey)}.ann-greeting{background:var(--tint-green)}.ann-greeting .ann-icon{color:var(--brand-green-dark, #2f7d32)}.ann-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;padding-top:2px}.ann-title{margin:0;font-size:16px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}.ann-body{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.45}.ann-meta{margin:2px 0 0;color:var(--text-muted)}.ann-close{flex:none}.ann-admin-row{display:flex;flex-direction:column;gap:8px;padding:14px}.ann-admin-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.ann-admin-head .row-main{min-width:0}.ann-admin-body{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text-muted)}.ann-admin-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.ann-push-icon{vertical-align:-2px}.push-card{display:flex;align-items:flex-start;gap:12px;padding:14px 8px 14px 14px}.push-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:12px;background:var(--tint-blue);color:var(--link)}.push-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px;align-items:flex-start}.push-title{margin:0;font-size:16px;font-weight:700}.push-main p{margin:0}.push-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px}.push-setting-text{display:flex;flex-direction:column;gap:2px;min-width:0}.bill-warn{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:10px;background:var(--tint-yellow);color:var(--brand-yellow-dark);font-size:13px}.bill-days{display:grid;grid-template-columns:repeat(var(--cols, 15),minmax(0,1fr));gap:4px}.bill-day{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;padding:6px 0 5px;border:1px solid var(--border);border-radius:10px;background:var(--surface, transparent);color:inherit;font:inherit;cursor:pointer}.bill-day:hover{background:var(--hover)}.bill-day.sel{border-color:var(--strong-bg);box-shadow:0 0 0 1px var(--strong-bg) inset}.bill-day.wk{background:var(--tint-grey)}.bill-day-bar{display:flex;align-items:flex-end;width:50%;max-width:14px;height:34px}.bill-day-bar>span{display:block;width:100%;border-radius:4px 4px 2px 2px;background:var(--brand-green);transition:height .2s}.bill-day.empty .bill-day-bar>span{background:var(--border);height:3px!important}.bill-day-n{font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.1}.bill-day-wd{font-size:9px;color:var(--text-muted);line-height:1}.bill-day.empty .bill-day-n{color:var(--text-muted);font-weight:500}.bill-day-dot{position:absolute;top:4px;right:4px;width:7px;height:7px;border-radius:50%;background:var(--danger)}.bill-photo{display:block;width:100%;max-height:46vh;overflow:auto;padding:0;border:1px solid var(--border);border-radius:12px;background:var(--tint-grey);cursor:zoom-in}.bill-photo img{display:block;width:100%;height:auto;max-height:46vh;object-fit:contain}.bill-photo.zoom{max-height:80vh;cursor:zoom-out}.bill-photo.zoom img{max-height:none}.bill-photo-wait{display:grid;place-items:center;min-height:120px;cursor:default}@media(max-width:480px){.bill-day-wd{display:none}.bill-day-bar{height:28px}}.bill-chev{flex:none;align-self:center;color:var(--faint)}.ot-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.ot-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ot-rate{width:72px;padding:8px 10px;text-align:center}.ot-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-bottom:12px}.ot-hero{display:flex;flex-direction:column;gap:10px}.ot-hero-top{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}.ot-hero-label{font-size:13px;color:var(--text-muted, #6b7280)}.ot-hero-num{font-size:32px;font-weight:700;letter-spacing:-.02em;line-height:1.1}.ot-hero-side{display:flex;flex-direction:column;gap:2px;font-size:13px;color:var(--text-muted, #6b7280);text-align:right}.ot-rows{list-style:none;margin:0;padding:0}.ot-item{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;padding:12px 16px;border-top:1px solid var(--border, rgba(127, 127, 127, .2))}.ot-item:first-child{border-top:0}.ot-main{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1;align-items:flex-start;text-align:left}.ot-btn{background:none;border:0;padding:0;cursor:pointer}.ot-title{font-weight:600;display:flex;flex-wrap:wrap;gap:6px;align-items:center}.ot-meta{font-size:13px;color:var(--text-muted, #6b7280)}.ot-task{font-size:13px;max-width:100%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-all}.ot-error{color:var(--danger, #dc2626);word-break:break-word}.ot-cancel{align-self:flex-start;font-size:13px;padding-left:0;padding-right:0;text-align:left;justify-content:flex-start}.ot-side{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex-shrink:0}.ot-hours{font-weight:700;font-size:16px}.guide-frame{display:block;width:100%;height:calc(100dvh - var(--nav-h) - var(--safe-b) - 96px);min-height:360px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}
