:root{--surface-000:#f6f7f5;--surface-100:#fff;--surface-200:#eef0ec;--line:#dde1dc;--ink:#16201b;--ink-muted:#5a665f;--brand:#0f6b55;--on-brand:#fff;--brand-soft:#e2f1ec;--accent:#a8521c;--accent-soft:#fbeadf;--pending:#8a5a00;--pending-soft:#fdf1d6;--approved:#11673f;--approved-soft:#dff3e7;--rejected:#b3261e;--rejected-soft:#fbe4e2;--neutral:#4f5a54;--neutral-soft:#eceeeb;--sick:#b0306a;--sick-soft:#fbe6ef;--wfh:#2459a6;--wfh-soft:#e3ecf9;--other:#6e5520;--other-soft:#f4eddc;--focus:#2459a6;--shadow:0 8px 24px rgba(22,32,27,.12);--scrim:rgba(22,32,27,.4);--font:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--r-sm:6px;--r-md:10px;--r-lg:16px}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--surface-000:#121614;--surface-100:#1b201d;--surface-200:#242a26;--line:#313833;--ink:#eef2ee;--ink-muted:#a3aea7;--brand:#4cc4a1;--on-brand:#08201a;--brand-soft:#173a30;--accent:#f0a06a;--accent-soft:#3d2618;--pending:#f3c467;--pending-soft:#3a2d10;--approved:#79d9a5;--approved-soft:#133524;--rejected:#ff9a92;--rejected-soft:#3d1a18;--neutral:#b7c0ba;--neutral-soft:#2a302c;--sick:#f59cc4;--sick-soft:#3d1a2a;--wfh:#8fb6ff;--wfh-soft:#172840;--other:#e0c27e;--other-soft:#33291a;--focus:#8fb6ff;--shadow:0 8px 24px rgba(0,0,0,.5);--scrim:rgba(0,0,0,.6);color-scheme:dark}}:root[data-theme=dark]{--surface-000:#121614;--surface-100:#1b201d;--surface-200:#242a26;--line:#313833;--ink:#eef2ee;--ink-muted:#a3aea7;--brand:#4cc4a1;--on-brand:#08201a;--brand-soft:#173a30;--accent:#f0a06a;--accent-soft:#3d2618;--pending:#f3c467;--pending-soft:#3a2d10;--approved:#79d9a5;--approved-soft:#133524;--rejected:#ff9a92;--rejected-soft:#3d1a18;--neutral:#b7c0ba;--neutral-soft:#2a302c;--sick:#f59cc4;--sick-soft:#3d1a2a;--wfh:#8fb6ff;--wfh-soft:#172840;--other:#e0c27e;--other-soft:#33291a;--focus:#8fb6ff;--shadow:0 8px 24px rgba(0,0,0,.5);--scrim:rgba(0,0,0,.6);color-scheme:dark}*{box-sizing:border-box}body,html{height:100%}body{margin:0;background:var(--surface-000);color:var(--ink);font-family:var(--font);font-size:15px;line-height:22px}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}h1,h2,h3{margin:0;text-wrap:balance}.muted{color:var(--ink-muted)}.small{font-size:13px;line-height:18px}.strong{font-weight:600}.num{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.app{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100%;background:linear-gradient(to right,var(--surface-100) 231px,var(--line) 231px,var(--line) 232px,transparent 232px)}.nav{background:var(--surface-100);border-right:1px solid var(--line);padding:20px 14px;flex-direction:column;gap:2px;position:-webkit-sticky;position:sticky;top:0;height:100vh}.logo,.nav{display:flex}.logo{align-items:center;gap:10px;font-weight:700;font-size:17px;padding:0 8px 20px}.logo i{width:24px;height:24px;border-radius:var(--r-sm);background:var(--brand);display:inline-block}.nav button{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;border:0;background:none;padding:9px 12px;border-radius:var(--r-md);color:var(--ink-muted);font-weight:500;cursor:pointer}.nav button:hover{background:var(--surface-200);color:var(--ink)}.nav button.on{background:var(--brand-soft);color:var(--brand)}.count{font-size:12px;line-height:20px;min-width:22px;text-align:center;border-radius:999px;padding:0 7px;background:var(--pending-soft);color:var(--pending);font-weight:600}.count.alert{background:var(--rejected);color:#fff;box-shadow:0 0 0 2px var(--surface-100)}.nav .grow{flex:1 1}.who{border-top:1px solid var(--line);padding:14px 8px 0;display:flex;flex-direction:column;gap:8px}.who label{font-size:12px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-muted)}input[type=date],input[type=number],input[type=text],select,textarea{width:100%;height:40px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface-100);padding:0 12px}textarea{height:76px;padding:8px 12px;resize:vertical}.main{min-width:0;padding:32px clamp(20px,3vw,48px) 56px;flex-direction:column;gap:28px;width:100%}.main,.top{display:flex}.top{justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}.top h1{font-size:28px;line-height:36px;font-weight:600;letter-spacing:-.01em}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.phonebar,.tabs{display:none}.btn{height:40px;padding:0 16px;border-radius:var(--r-md);border:1px solid var(--line);background:var(--surface-100);font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.btn:hover{background:var(--surface-200)}.btn.primary{background:var(--brand);border-color:var(--brand);color:var(--on-brand)}.btn.primary:hover{filter:brightness(1.07)}.btn.quiet{background:transparent;border-color:transparent;color:var(--brand)}.btn.quiet:hover{background:var(--brand-soft)}.btn.danger{color:var(--rejected);border-color:var(--rejected)}.btn.sm{height:32px;padding:0 12px;font-size:13px}.btn:disabled{opacity:.45;cursor:not-allowed}.iconbtn{width:40px;height:40px;border-radius:var(--r-md);border:1px solid var(--line);background:var(--surface-100);cursor:pointer;position:relative;display:inline-flex;align-items:center;justify-content:center}.iconbtn svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.6}.dotn{position:absolute;top:6px;right:6px;width:8px;height:8px;border-radius:50%;background:var(--rejected);border:2px solid var(--surface-100)}.badge{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:500;letter-spacing:.02em;white-space:nowrap}.badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.b-pending{background:var(--pending-soft);color:var(--pending)}.b-approved{background:var(--approved-soft);color:var(--approved)}.b-rejected{background:var(--rejected-soft);color:var(--rejected)}.b-cancelled{background:var(--neutral-soft);color:var(--neutral)}.tag{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:var(--r-sm);font-size:12px;font-weight:500;white-space:nowrap}.t-annual{background:var(--brand-soft);color:var(--brand)}.t-sick{background:var(--sick-soft);color:var(--sick)}.t-wfh{background:var(--wfh-soft);color:var(--wfh)}.t-other{background:var(--other-soft);color:var(--other)}.f-annual{background:var(--brand)}.f-sick{background:var(--sick)}.f-wfh{background:var(--wfh)}.f-other{background:var(--other)}.avatar{flex:none;width:32px;height:32px;border-radius:50%;background:var(--surface-200);color:var(--ink-muted);font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center}.card{background:var(--surface-100);border:1px solid var(--line);border-radius:var(--r-lg)}.section{display:flex;flex-direction:column;gap:12px;min-width:0}.section>h2{font-size:18px;line-height:26px;font-weight:600;display:flex;justify-content:space-between;align-items:center;gap:8px}.grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));grid-gap:16px;gap:16px}.split{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);grid-gap:24px;gap:24px;align-items:start}.empty{padding:28px 16px;text-align:center;color:var(--ink-muted)}.banner{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;padding:14px 16px;border-radius:var(--r-lg);background:var(--accent-soft);color:var(--ink)}.banner b{color:var(--accent)}.banner ol{margin:6px 0 0;padding-left:20px}.bal{padding:16px;display:flex;flex-direction:column;gap:8px}.bal .big{font-size:30px;line-height:34px;font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.bar{display:flex;height:8px;border-radius:999px;background:var(--surface-200);overflow:hidden;gap:2px}.bar span{height:100%}.bar .p{opacity:.4}.row{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line);cursor:pointer}.row:last-child{border-bottom:0}.row:hover{background:var(--surface-200)}.row .m{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:2px}.row .t{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.row .act{display:flex;gap:6px}.filters{display:flex;gap:8px;flex-wrap:wrap}.chip{height:32px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:var(--surface-100);cursor:pointer;font-size:13px;font-weight:500}.chip.on{background:var(--ink);border-color:var(--ink);color:var(--surface-100)}.form{padding:20px;display:flex;flex-direction:column;gap:16px}.field label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}.field .hint{color:var(--ink-muted)}.field .err,.field .hint{font-size:12px;margin-top:4px}.field .err{color:var(--rejected)}.two{grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px}.two,.types{display:grid}.types{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-gap:8px;gap:8px}.typebtn{border:1px solid var(--line);background:var(--surface-100);border-radius:var(--r-md);padding:10px 12px;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:4px}.typebtn.on{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand) inset;background:var(--brand-soft)}.seg{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden}.seg button{border:0;border-left:1px solid var(--line);background:var(--surface-100);padding:9px 4px;font-size:13px;font-weight:500;cursor:pointer}.seg button:first-child{border-left:0}.seg button.on{background:var(--brand-soft);color:var(--brand)}.seg button:disabled{color:var(--ink-muted);cursor:not-allowed;opacity:.6}.summary{padding:16px;display:flex;flex-direction:column;gap:10px}.summary .line{display:flex;justify-content:space-between;gap:12px}.summary .total{border-top:1px solid var(--line);padding-top:10px;font-weight:600}.warn{background:var(--rejected-soft);color:var(--rejected)}.info,.warn{padding:10px 12px;border-radius:var(--r-md);font-size:13px}.info{background:var(--surface-200)}.steps{list-style:none;margin:0;padding:0}.steps li{position:relative;display:flex;gap:12px;padding-bottom:16px}.steps li:last-child{padding-bottom:0}.steps li:not(:last-child):before{content:"";position:absolute;left:13px;top:28px;bottom:0;width:2px;background:var(--line)}.mk{flex:none;width:28px;height:28px;border-radius:50%;border:2px solid var(--line);background:var(--surface-100);color:var(--ink-muted);font-size:13px;font-weight:600;display:inline-flex;align-items:center;justify-content:center}.s-done .mk{background:var(--approved);border-color:var(--approved);color:var(--surface-100)}.s-current .mk{background:var(--pending-soft);border-color:var(--pending);color:var(--pending)}.s-rejected .mk{background:var(--rejected);border-color:var(--rejected);color:var(--surface-100)}.quote{margin-top:4px;padding:6px 10px;border-radius:var(--r-sm);background:var(--surface-200);font-size:13px}.calwrap{overflow-x:auto}.cal{min-width:760px;display:grid}.cal>div{border-bottom:1px solid var(--line);border-left:1px solid var(--line);min-height:42px;display:flex;align-items:center;padding:0 4px;font-size:12px}.cal .h{background:var(--surface-200);font-weight:500;color:var(--ink-muted);justify-content:center;flex-direction:column;line-height:14px;min-height:44px}.cal .h.today{color:var(--brand);font-weight:700}.cal .name{border-left:0;padding:0 10px;gap:8px;font-weight:600;font-size:13px;position:-webkit-sticky;position:sticky;left:0;background:var(--surface-100);z-index:1}.cal .wk{background:var(--surface-200)}.cal .hol{background:var(--accent-soft);color:var(--accent)}.cal .cb{width:100%;border-radius:var(--r-sm);padding:3px 4px;font-weight:500;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cal .cb.pend{background:transparent!important;border:1.5px dashed}.legend{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--ink-muted);align-items:center}.legend span{display:inline-flex;gap:6px;align-items:center}.sw{width:12px;height:12px;border-radius:3px;display:inline-block}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px}th{text-align:left;font-size:12px;font-weight:500;letter-spacing:.03em;text-transform:uppercase;color:var(--ink-muted);background:var(--surface-200)}td,th{padding:10px 14px}td{border-top:1px solid var(--line);vertical-align:middle}td.n,th.n{text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}td input[type=number]{width:80px;height:34px;text-align:right}.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));grid-gap:16px;gap:16px}.kpi{padding:16px}.kpi .v{font-size:28px;line-height:34px;font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.hbar{display:grid;grid-template-columns:130px minmax(0,1fr) 48px;grid-gap:10px;gap:10px;align-items:center;padding:6px 0}.hbar .track{height:14px;position:relative}.hbar .fill{height:100%;background:var(--brand);border-radius:0 4px 4px 0;min-width:2px}.hbar:hover .fill{filter:brightness(1.12)}.st-not{background:var(--neutral-soft);color:var(--neutral)}.st-prog{background:var(--wfh-soft);color:var(--wfh)}.st-done{background:var(--approved-soft);color:var(--approved)}.st-block{background:var(--rejected-soft);color:var(--rejected)}.sf-not{background:var(--neutral);opacity:.35}.sf-prog{background:var(--wfh)}.sf-done{background:var(--approved)}.sf-block{background:var(--rejected)}.obj{overflow:hidden}.obj-hd{padding:16px;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid var(--line)}.obj-hd .t{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}.obj-hd h3{font-size:16px;line-height:22px;font-weight:600}.pct{font-size:22px;line-height:26px;font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.obar{display:flex;height:8px;border-radius:999px;background:var(--surface-200);overflow:hidden;gap:2px}.obar span{height:100%}.counts{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--ink-muted)}.counts span{display:inline-flex;gap:6px;align-items:center}.task{display:flex;flex-direction:column;gap:10px;margin:10px 16px;padding:12px 14px;border-left:1px solid var(--line);border:1px solid var(--line);border-left-width:4px;border-radius:var(--r-md);background:var(--surface-100)}.task.tk-prog{border-left-color:var(--wfh)}.task.tk-done{border-left-color:var(--approved)}.task.tk-block{border-left-color:var(--rejected)}.task-top{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-gap:12px;gap:12px;align-items:center}.task .tt{min-width:0;display:flex;flex-direction:column;gap:2px}.task .tt .strong.done{text-decoration:line-through;color:var(--ink-muted);font-weight:500}.task .late{color:var(--rejected)}.sel{height:32px;width:auto;padding:0 28px 0 10px;border-radius:999px;border:1px solid transparent;font-size:13px;font-weight:600;cursor:pointer;-moz-appearance:none;appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,currentColor 0),linear-gradient(135deg,currentColor 50%,transparent 0);background-position:calc(100% - 14px) 14px,calc(100% - 9px) 14px;background-size:5px 5px;background-repeat:no-repeat}.sel option{background:var(--surface-100);color:var(--ink)}.blockednote{display:flex;gap:8px;align-items:center;padding:8px 10px;border-radius:var(--r-sm);background:var(--rejected-soft)}.blockednote input{height:34px;border-color:var(--rejected)}.addtask{display:flex;gap:8px;padding:12px 16px;flex-wrap:wrap;background:var(--surface-000)}.addtask input[type=text]{flex:1 1 220px;height:36px}.addtask input[type=date]{flex:0 1 160px;height:36px}.people{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));grid-gap:12px;gap:12px}.person{padding:14px;display:flex;flex-direction:column;gap:10px;cursor:pointer;text-align:left;font:inherit;color:inherit}.person.on,.person:hover{border-color:var(--brand)}.person.on{box-shadow:0 0 0 1px var(--brand) inset}.person .pr{display:flex;gap:10px;align-items:center}@media (max-width:760px){.task-top{grid-template-columns:minmax(0,1fr) auto}.task .rm{display:none}.obj-hd .t>div:last-child{text-align:left!important}}.pol{padding:18px 20px;display:flex;flex-direction:column;gap:12px;border-top:3px solid var(--brand);transition:box-shadow .15s,transform .15s}.pol:hover{box-shadow:var(--shadow)}.pol-hd{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}.pol-hd h3{font-size:17px;line-height:24px;margin-top:6px}.pol-body{white-space:pre-line;max-width:70ch}.pol-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,420px),1fr));grid-gap:16px;gap:16px;align-items:start}.pol-cat{display:inline-flex;align-items:center;height:22px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:600;letter-spacing:.02em;background:var(--brand-soft);color:var(--brand)}.pol-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}.pol-list li{position:relative;padding-left:22px}.pol-list li:before{content:"";position:absolute;left:4px;top:8px;width:7px;height:7px;border-radius:50%;background:var(--brand)}.pol-ft{border-top:1px solid var(--line);padding-top:10px}.ptabs{display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid var(--line);scrollbar-width:none}.ptabs a{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;margin-bottom:-1px;border-bottom:3px solid transparent;color:var(--ink-muted);font-weight:600;font-size:14px;text-decoration:none;white-space:nowrap;border-radius:var(--r-sm) var(--r-sm) 0 0}.ptabs a:hover{color:var(--ink);background:var(--surface-200)}.ptabs a.on{color:var(--brand);border-bottom-color:var(--brand);background:var(--brand-soft)}.ptabs .n{font-size:12px;line-height:18px;min-width:20px;padding:0 6px;text-align:center;border-radius:999px;background:var(--surface-200);color:var(--ink-muted)}.ptabs a.on .n{background:var(--brand);color:var(--on-brand)}.scrim{position:fixed;inset:0;background:var(--scrim);display:flex;justify-content:flex-end;z-index:20}.drawer{width:min(460px,100%);height:100%;background:var(--surface-100);box-shadow:var(--shadow);overflow-y:auto;display:flex;flex-direction:column;gap:18px;padding:calc(24px + env(safe-area-inset-top, 0px)) 24px 24px}.drawer .hd{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.kv{display:grid;grid-template-columns:120px 1fr;grid-gap:8px 12px;gap:8px 12px;font-size:14px}.kv dt{color:var(--ink-muted)}.kv dd{margin:0}.pop{position:absolute;right:0;top:48px;width:min(340px,calc(100vw - 32px));background:var(--surface-100);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow);z-index:15;max-height:420px;overflow-y:auto}.pop .it{padding:12px 14px;border-bottom:1px solid var(--line);font-size:14px}.pop .it.unread{background:var(--brand-soft)}.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(24px + env(safe-area-inset-bottom, 0px));background:var(--ink);color:var(--surface-100);padding:10px 16px;border-radius:var(--r-md);font-weight:500;z-index:30;box-shadow:var(--shadow);max-width:calc(100vw - 32px)}@media (max-width:900px){.split{grid-template-columns:minmax(0,1fr)}}@media (max-width:760px){.app{grid-template-columns:minmax(0,1fr);background:none}.nav{display:none}.phonebar{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 16px;background:var(--surface-100);border-bottom:1px solid var(--line);position:-webkit-sticky;position:sticky;top:env(safe-area-inset-top,0);z-index:10}.phonebar select{width:auto;max-width:56vw;height:36px}.tabs{display:flex;position:fixed;left:0;right:0;bottom:0;background:var(--surface-100);border-top:1px solid var(--line);z-index:10;padding-bottom:env(safe-area-inset-bottom,0);overflow-x:auto}.tabs button{flex:1 0 auto;border:0;background:none;padding:10px;font-size:12px;font-weight:500;color:var(--ink-muted);white-space:nowrap}.tabs button.on{color:var(--brand);box-shadow:inset 0 2px 0 var(--brand)}.main{padding:20px 16px 96px;gap:20px}.top h1{font-size:22px;line-height:30px}.two{grid-template-columns:1fr}.row{flex-wrap:wrap}.row .act{width:100%;justify-content:flex-end}.hbar{grid-template-columns:100px minmax(0,1fr) 40px}}@media (prefers-reduced-motion:no-preference){.drawer{animation:slide .18s ease-out}@keyframes slide{0%{transform:translateX(24px);opacity:.6}}}a{color:var(--brand)}a.plain{color:inherit}.nav a,a.plain{text-decoration:none}.nav a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;border-radius:var(--r-md);color:var(--ink-muted);font-weight:500}.nav a:hover{background:var(--surface-200);color:var(--ink)}.nav a.on{background:var(--brand-soft);color:var(--brand)}.tabs a{flex:1 0 auto;padding:10px;font-size:12px;font-weight:500;color:var(--ink-muted);white-space:nowrap;text-decoration:none;text-align:center}.tabs a.on{color:var(--brand);box-shadow:inset 0 2px 0 var(--brand)}.flash{padding:10px 14px;border-radius:var(--r-md);font-size:14px}.flash.error{background:var(--rejected-soft);color:var(--rejected)}.flash.ok{background:var(--approved-soft);color:var(--approved)}.auth{min-height:100%;display:flex;align-items:center;justify-content:center;padding:32px 16px}.auth .card{width:min(440px,100%)}.auth h1{font-size:24px;line-height:32px}.profile-hd{padding:24px;display:flex;gap:20px;align-items:center;flex-wrap:wrap}.avatar.lg{width:72px;height:72px;font-size:24px;background:var(--brand-soft);color:var(--brand)}.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-gap:16px;gap:16px}.facts .card{padding:16px 18px;display:flex;flex-direction:column;gap:10px}.facts h3{font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-muted)}.kv2{display:grid;grid-template-columns:minmax(110px,40%) 1fr;grid-gap:6px 12px;gap:6px 12px;font-size:14px}.kv2 dt{color:var(--ink-muted)}.kv2 dd{margin:0;overflow-wrap:anywhere}.fieldset{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:14px}.fieldset legend{font-size:16px;font-weight:600;margin-bottom:6px}.check{display:flex;gap:8px;align-items:center;font-size:14px}.check input{width:18px;height:18px}.bday{display:flex;gap:10px;align-items:center;padding:10px 16px;border-bottom:1px solid var(--line)}.bday:last-child{border-bottom:0}.pill{font-size:12px;font-weight:600;padding:2px 8px;border-radius:999px;background:var(--accent-soft);color:var(--accent)}.search{display:flex;gap:8px;flex-wrap:wrap}.search input,.search select{flex:1 1 200px}a.btn{text-decoration:none;color:inherit}a.btn.primary{color:var(--on-brand)}a.btn.quiet{color:var(--brand)}input:not([type]),input[type=email],input[type=password],input[type=tel],input[type=url]{width:100%;height:40px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface-100);padding:0 12px}.typebtn input[type=radio]{width:auto;height:auto}.spin{width:14px;height:14px;border-radius:50%;border:2px solid;border-right:2px solid transparent;display:inline-block;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.btn[aria-busy=true]{cursor:progress;opacity:.85}.pw{position:relative}.pw input{padding-right:44px}.pw-eye{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;background:none;border-radius:var(--r-sm);color:var(--ink-muted);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.pw-eye:hover{color:var(--ink);background:var(--surface-200)}.pw-eye svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.req{color:var(--rejected);font-weight:700}[aria-invalid=true]{border-color:var(--rejected)!important;box-shadow:0 0 0 3px var(--rejected-soft)}.skel{display:flex;flex-direction:column;gap:20px}.skel-card,.skel-line{border-radius:var(--r-md);background:linear-gradient(90deg,var(--surface-200) 25%,var(--surface-100) 50%,var(--surface-200) 75%);background-size:200% 100%;animation:shimmer 1.2s ease-in-out infinite}.skel-card{height:120px;border:0}@keyframes shimmer{to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){.skel-card,.skel-line,.spin{animation:none}}.dept{display:flex;align-items:center;gap:12px;padding:10px 16px;border-bottom:1px solid var(--line);flex-wrap:wrap}.dept:last-child{border-bottom:0}.dept-name{display:flex;gap:8px;align-items:center;flex:1 1 320px}.dept-name input{flex:1 1;height:36px}.dept-n{min-width:80px}.dept-lock{min-width:70px;text-align:center}.dept-add{background:var(--surface-000)}.dept-add input{flex:1 1 260px;height:36px}.danger-text{color:var(--rejected)!important}.danger-text:hover{background:var(--rejected-soft)!important}.followup{display:flex;flex-direction:column;gap:6px}.followup textarea{height:auto;min-height:64px;background:var(--surface-000)}.followup textarea:focus{background:var(--surface-100)}.followup-ft{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.tabs .count{margin-left:4px;font-size:11px;line-height:16px;min-width:18px;padding:0 5px}.live-toasts{position:fixed;right:20px;bottom:calc(20px + env(safe-area-inset-bottom, 0px));display:flex;flex-direction:column;gap:8px;z-index:40;width:min(380px,calc(100vw - 32px))}.live-toast{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:var(--r-md);background:var(--surface-100);border:1px solid var(--line);border-left:4px solid var(--brand);box-shadow:var(--shadow);font-size:14px}.live-toast>a,.live-toast>span:not(.live-dot){flex:1 1;min-width:0}.live-dot{flex:none;width:8px;height:8px;margin-top:7px;border-radius:50%;background:var(--brand)}.live-x{flex:none;border:0;background:none;font-size:18px;line-height:20px;color:var(--ink-muted);cursor:pointer;padding:0 4px;border-radius:var(--r-sm)}.live-x:hover{background:var(--surface-200);color:var(--ink)}@media (max-width:760px){.live-toasts{right:16px;bottom:calc(72px + env(safe-area-inset-bottom, 0px))}}@media (prefers-reduced-motion:no-preference){.live-toast{animation:toastin .2s ease-out}@keyframes toastin{0%{transform:translateY(8px);opacity:0}}}.ptabs a.s-pending.on{color:var(--pending);border-bottom-color:var(--pending);background:var(--pending-soft)}.ptabs a.s-pending.on .n{background:var(--pending);color:var(--surface-100)}.ptabs a.s-approved.on{color:var(--approved);border-bottom-color:var(--approved);background:var(--approved-soft)}.ptabs a.s-approved.on .n{background:var(--approved);color:var(--surface-100)}.ptabs a.s-rejected.on{color:var(--rejected);border-bottom-color:var(--rejected);background:var(--rejected-soft)}.ptabs a.s-rejected.on .n{background:var(--rejected);color:var(--surface-100)}.ptabs a.s-cancelled.on{color:var(--neutral);border-bottom-color:var(--neutral);background:var(--neutral-soft)}.ptabs a.s-cancelled.on .n{background:var(--neutral);color:var(--surface-100)}