:root{--navy: #0b1f3a;--navy-2: #13294b;--blue: #1d4ed8;--blue-2: #2563eb;--blue-50: #eff6ff;--bg: #f4f6fa;--white: #fff;--line: #dfe4ec;--text: #0f172a;--muted: #5b6577;--green: #15803d;--green-50: #ecfdf3;--amber: #b45309;--amber-50: #fff7ed;--red: #b91c1c;--red-50: #fef2f2;--gray: #4b5563;--gray-50: #f3f4f6;--radius: 10px;--shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .05);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:15px;color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0}a{color:var(--blue)}code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em}.wrap{word-break:break-all}.sr,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.skip:focus{position:fixed;top:8px;left:8px;z-index:100;background:var(--white);padding:8px}:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}.shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.sidebar{background:var(--navy);color:#dbe5f5;padding:16px 12px;position:sticky;top:0;height:100vh;overflow-y:auto}.brand{display:flex;gap:10px;align-items:center;color:#fff;margin-bottom:18px;font-size:14px}.logo{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:8px;background:var(--blue-2);color:#fff;font-weight:800}.logo.big{width:64px;height:64px;font-size:32px;border-radius:14px}.mode-switch{display:grid;grid-template-columns:1fr 1fr;background:var(--navy-2);border-radius:8px;padding:3px;margin-bottom:14px}.mode-switch button{border:0;background:transparent;color:#c7d2e5;padding:7px;border-radius:6px;cursor:pointer;font:inherit}.mode-switch button.on{background:var(--blue-2);color:#fff}.sidebar nav{display:flex;flex-direction:column;gap:2px}.sidebar nav a{color:#dbe5f5;text-decoration:none;padding:9px 12px;border-radius:8px}.sidebar nav a:hover{background:var(--navy-2)}.sidebar nav a.active{background:var(--blue-2);color:#fff;font-weight:600}.main-col{min-width:0}.topbar{display:flex;align-items:center;gap:12px;background:var(--white);border-bottom:1px solid var(--line);padding:8px 20px;position:sticky;top:0;z-index:5}.spacer{flex:1}.btn.menu-btn{display:none}.bell{position:relative;text-decoration:none;font-size:18px}.bell .count{position:absolute;top:-6px;right:-10px;background:var(--red);color:#fff;font-size:11px;border-radius:10px;padding:1px 5px}.who{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--text)}.avatar{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--blue-50);color:var(--blue);font-weight:700}main{padding:20px 24px 60px;max-width:1280px}.page-head{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px}.page-head h1{font-size:22px;margin:0;color:var(--navy);flex:1 1 auto}.page-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.back{text-decoration:none}.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px;margin-bottom:16px;min-width:0}.card-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.card h2{font-size:15px;margin:0 0 12px;color:var(--navy)}.sub{font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin:14px 0 6px}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.row{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.row.end{justify-content:flex-end}.row.wrap{align-items:center;margin-bottom:12px}.quick{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.big-number{font-size:26px;font-weight:700;color:var(--navy);margin-bottom:10px;font-variant-numeric:tabular-nums}.stats3,.stats4,.stats-row{display:grid;gap:8px}.stats3{grid-template-columns:repeat(3,minmax(0,1fr))}.stats4{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:12px}.stats-row{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:8px}.stat{display:flex;flex-direction:column;justify-content:flex-end;background:var(--bg);border-radius:8px;padding:10px;text-decoration:none;color:var(--text);min-height:72px}.stat-value{font-size:20px;font-weight:700;font-variant-numeric:tabular-nums}.stat-label{font-size:12px;color:var(--muted)}.stat-sub{font-size:11px;color:var(--muted)}.stat.tone-amber .stat-value{color:var(--amber)}.stat.tone-green .stat-value{color:var(--green)}.stat.tone-red .stat-value{color:var(--red)}.stat.tone-navy .stat-value{color:var(--navy)}.stat.tone-blue .stat-value{color:var(--blue)}.kv{display:grid;grid-template-columns:150px 1fr;gap:8px 12px;margin:0}.kv dt{color:var(--muted)}.kv dd{margin:0;min-width:0}.muted{color:var(--muted)}.small{font-size:12px}.block{display:block}.pre{white-space:pre-wrap}.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.tag{display:inline-block;border:1px solid var(--line);border-radius:6px;padding:1px 6px;font-size:12px;color:var(--gray);margin:0 4px}.badge{display:inline-flex;gap:4px;align-items:center;font-size:12px;font-weight:600;border-radius:999px;padding:2px 9px;white-space:nowrap}.tone-green{background:var(--green-50);color:var(--green)}.tone-amber{background:var(--amber-50);color:var(--amber)}.tone-red{background:var(--red-50);color:var(--red)}.tone-gray{background:var(--gray-50);color:var(--gray)}.tone-blue{background:var(--blue-50);color:var(--blue)}.tone-red-text{color:var(--red)}.btn{font:inherit;border-radius:8px;padding:9px 14px;border:1px solid transparent;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:6px;min-height:40px}.btn.primary{background:var(--blue);color:#fff}.btn.primary:hover{background:#1e40af}.btn.ghost{background:var(--white);border-color:var(--line);color:var(--navy)}.btn.danger{background:var(--red);color:#fff}.btn.ghost.danger,.btn.link.danger{background:transparent;color:var(--red)}.btn.link{background:none;border:0;color:var(--blue);padding:4px 6px;min-height:0}.btn.block{width:100%;justify-content:center;margin-top:8px}.btn:disabled{opacity:.5;cursor:not-allowed}.file-pick .btn{position:relative}.file-pick .btn:focus-within{outline:2px solid var(--blue);outline-offset:2px}.btn.is-disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.file-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;opacity:0}.row.file-pick{align-items:center;margin:8px 0}.field{display:flex;flex-direction:column;gap:4px;margin-bottom:12px;min-width:0;flex:1 1 180px}.field-label{font-size:13px;font-weight:600;color:var(--navy)}.req{color:var(--red)}.opt{color:var(--muted);font-weight:400}.field input,.field select,.field textarea{font:inherit;padding:9px 10px;border:1px solid #c8d0dc;border-radius:8px;background:#fff;width:100%;min-height:40px}.field.has-error input,.field.has-error select,.field.has-error textarea{border-color:var(--red)}.hint{font-size:12px;color:var(--muted)}.field-error{font-size:12px;color:var(--red)}.filters{display:flex;flex-wrap:wrap;gap:0 12px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:12px 12px 0;margin-bottom:14px}.filters .field{flex:1 1 150px}.inline{display:inline-flex;gap:6px;align-items:center}.confirm-check{display:flex;gap:10px;align-items:flex-start;background:var(--blue-50);border:1px solid #bfdbfe;border-radius:8px;padding:10px 12px;margin:8px 0;cursor:pointer}.confirm-check input{width:20px;height:20px;margin-top:1px;flex:none}.seg{display:inline-flex;flex-wrap:wrap;background:var(--white);border:1px solid var(--line);border-radius:8px;padding:3px;margin-bottom:14px;gap:2px}.seg button{border:0;background:transparent;padding:7px 12px;border-radius:6px;cursor:pointer;font:inherit;color:var(--navy);text-transform:capitalize}.seg button.on{background:var(--navy);color:#fff}.seg.small button{padding:5px 10px;font-size:13px}.sync{font-size:12px;font-weight:600;padding:3px 9px;border-radius:999px}.table-wrap{overflow-x:auto;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:16px}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:12px;color:var(--muted);font-weight:600;background:#f8fafc}tr.click{cursor:pointer}tr.click:hover td{background:#f8fafc}td.actions{white-space:nowrap}.thumb{width:44px;height:44px;object-fit:cover;border-radius:6px;border:1px solid var(--line)}.plain{list-style:none;padding:0;margin:0}.plain li{padding:4px 0}.activity,.timeline,.comments,.files,.notif-list{list-style:none;padding:0;margin:0}.activity li,.timeline li,.comments li{padding:8px 0;border-bottom:1px solid var(--line)}.activity .mod{display:inline-block;min-width:110px;font-size:11px;font-weight:700;color:var(--muted);text-transform:uppercase}.files li{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:6px 0}.notif-list li{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line)}.notif-list li.unread{background:var(--blue-50)}.notif-main{flex:1;display:flex;gap:10px;text-align:left;background:none;border:0;padding:12px;cursor:pointer;font:inherit;color:inherit}.notif-main .dot{color:var(--blue)}.evidence{margin:0 0 12px}.evidence img{max-width:100%;max-height:360px;border-radius:8px;border:1px solid var(--line);display:block}.report{border-left:3px solid var(--green);padding:4px 10px;margin-bottom:10px}.report.superseded{border-color:var(--line);opacity:.8}.secret{display:flex;flex-direction:column;gap:4px;background:var(--bg);padding:10px;border-radius:8px;margin-bottom:10px}.secret .totp-qr{align-self:center;width:220px;height:220px;image-rendering:pixelated;background:#fff;border-radius:6px;margin-bottom:6px}.codes{columns:2;font-size:15px}.json{max-height:360px;overflow:auto;background:var(--bg);padding:10px;border-radius:8px;font-size:12px}.bars li{display:flex;justify-content:space-between;padding:2px 0;font-variant-numeric:tabular-nums}.state{padding:28px;text-align:center;color:var(--muted)}.state.empty p{margin:4px 0 0}.spinner{display:inline-block;width:16px;height:16px;border:2px solid var(--line);border-top-color:var(--blue);border-radius:50%;animation:spin 1s linear infinite;vertical-align:middle}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spinner{animation:none}}.alert{border-radius:8px;padding:10px 12px;margin:8px 0 12px}.alert.error{background:var(--red-50);color:var(--red);border:1px solid #fecaca}.alert.blue{background:var(--blue-50);color:#1e3a8a}.alert.amber{background:var(--amber-50);color:#7c2d12;border:1px solid #fed7aa}.alert.green{background:var(--green-50);color:#14532d}.dialog-backdrop{position:fixed;inset:0;background:#0b1f3a73;display:grid;place-items:center;z-index:50;padding:16px}.dialog{background:#fff;border-radius:12px;width:min(560px,100%);max-height:calc(100dvh - 32px);overflow-y:auto;padding:20px;box-shadow:0 20px 50px #00000040}.dialog h2{margin:0 0 12px;font-size:18px;color:var(--navy)}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;position:sticky;bottom:-20px;background:#fff;padding:12px 0 0}.cal{display:grid;gap:4px}.cal-month,.cal-week{grid-template-columns:repeat(7,minmax(0,1fr))}.cal-day{grid-template-columns:1fr}.cal .cal-day{background:var(--white);border:1px solid var(--line);border-radius:8px;min-height:92px;padding:6px;display:flex;flex-direction:column;gap:3px;min-width:0}.cal .cal-day.pad{background:transparent;border:0}.cal .cal-day.today{border-color:var(--blue)}.cal-date{font-size:12px;color:var(--muted);font-weight:600}.cal-item{text-align:left;font:inherit;font-size:12px;border:0;border-radius:6px;padding:3px 6px;cursor:pointer;background:var(--blue-50);color:var(--navy);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-item.type-MY_TIME_OFF{background:var(--green-50);color:var(--green)}.cal-item.type-COMPANY_EVENT{background:var(--gray-50)}.auth{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.auth-brand{background:var(--navy);color:#fff;display:grid;place-content:center;justify-items:center;gap:16px;text-align:center}.auth-brand h1{margin:0;font-size:30px}.auth-brand small{font-size:16px;font-weight:500;color:#c7d2e5}.auth-panel{display:grid;place-items:center;padding:24px}.auth-card{width:min(400px,100%)}.auth-card h2{color:var(--navy)}@media(max-width:960px){.shell{grid-template-columns:1fr}.sidebar{position:fixed;left:0;top:0;z-index:40;width:260px;transform:translate(-100%);transition:transform .2s}.shell.nav-open .sidebar{transform:none}.btn.menu-btn{display:inline-flex}.grid3{grid-template-columns:1fr 1fr}}@media(max-width:700px){main{padding:14px 12px 80px}.grid2,.grid3,.auth{grid-template-columns:1fr}.auth-brand{padding:28px}.kv{grid-template-columns:1fr}.kv dt{margin-top:6px}.who{font-size:0}.who .avatar{font-size:14px}.cal-month .cal-day{min-height:64px}.cal-week{grid-template-columns:1fr}}@media(max-width:380px){.stats4,.stats3{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-label{font-size:11px}}@font-face{font-family:Instrument Sans;font-weight:400;font-display:swap;src:url(/fonts/InstrumentSans_400Regular.ttf) format("truetype")}@font-face{font-family:Instrument Sans;font-weight:500;font-display:swap;src:url(/fonts/InstrumentSans_500Medium.ttf) format("truetype")}@font-face{font-family:Instrument Sans;font-weight:600 700;font-display:swap;src:url(/fonts/InstrumentSans_600SemiBold.ttf) format("truetype")}@font-face{font-family:Mulish;font-weight:600;font-display:swap;src:url(/fonts/Mulish_600SemiBold.ttf) format("truetype")}@font-face{font-family:Mulish;font-weight:700 800;font-display:swap;src:url(/fonts/Mulish_700Bold.ttf) format("truetype")}@font-face{font-family:Spline Sans Mono;font-weight:500;font-display:swap;src:url(/fonts/SplineSansMono_500Medium.ttf) format("truetype")}.tabbar,.topbar-brand,.bell .ico,.btn.drawer-signout,.drawer-backdrop{display:none}@media(max-width:700px){:root{--navy: #dde3ec;--navy-2: #242a32;--blue: #2997ff;--blue-2: #2997ff;--blue-50: rgba(41, 151, 255, .12);--bg: #0e141a;--white: #1a2027;--line: rgba(64, 71, 83, .55);--text: #dde3ec;--muted: #8a919e;--green: #34d399;--green-50: rgba(52, 211, 153, .14);--amber: #fbbf24;--amber-50: rgba(251, 191, 36, .14);--red: #ffb4ab;--red-50: rgba(255, 180, 171, .12);--gray: #c0c7d5;--gray-50: #242a32;--radius: 16px;--shadow: none;--field-bg: #161c23;--field-bg-disabled: #1a2027;--field-layer-radius: 11px;font-family:Instrument Sans,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color-scheme:dark;accent-color:#2997ff}body{background:var(--bg)}h1,h2,h3,.big-number,.stat-value,.brand{font-family:Mulish,Instrument Sans,system-ui,sans-serif}.num,.stat-value,code{font-family:Spline Sans Mono,ui-monospace,monospace;font-weight:500}.big-number{font-size:24px;line-height:30px}.topbar{background:#161c23;border-bottom:1px solid var(--line);padding:8px 12px;padding-top:max(8px,env(safe-area-inset-top))}.btn.menu-btn,.btn.topbar-signout,.bell .emoji{display:none}.topbar-brand{display:flex;align-items:center;gap:10px;font-size:11px;line-height:14px;letter-spacing:.08em;font-weight:600;color:#c0c7d5;min-width:0}.topbar-brand .logo{width:32px;height:32px;font-size:14px}.bell{display:grid;place-items:center;width:44px;height:44px;border-radius:22px;background:#40475366;color:var(--text)}.bell .ico{display:block}.bell .count{top:4px;right:2px;background:#ffb4ab;color:#690005;font-weight:600}.who{width:44px;height:44px;justify-content:center;border-radius:22px;background:#40475366}.who .avatar{background:transparent;color:var(--text)}.shell.on-home .topbar{background:#3a4756;border-bottom:0}.logo{background:#dde3ec;color:#0e141a}.sidebar{background:#161c23;color:#c0c7d5;display:flex;flex-direction:column;height:auto;bottom:calc(67px + env(safe-area-inset-bottom))}.sidebar nav a{color:#c0c7d5;min-height:44px;display:flex;align-items:center;border-radius:12px}.sidebar nav a:hover{background:#242a32}.sidebar nav a.active{background:#2997ff33;color:#dde3ec}.mode-switch{background:#0e141a;border-radius:12px}.mode-switch button{min-height:40px;border-radius:9px;color:#c0c7d5}.mode-switch button.on{background:#242a32;color:#dde3ec}.btn.drawer-signout{display:inline-flex;justify-content:center;margin-top:auto}.drawer-backdrop{display:block;position:fixed;inset:0;background:#00000080;z-index:35;border:0;padding:0}.tabbar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;left:0;right:0;bottom:0;z-index:38;background:#161c23;border-top:1px solid var(--line);padding:6px 4px calc(8px + env(safe-area-inset-bottom))}.tabbar a,.tabbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:52px;font:inherit;font-size:11px;line-height:14px;color:#8a919e;text-decoration:none;background:none;border:0;padding:2px 0;cursor:pointer}.tabbar .pill{display:flex;padding:4px 18px;border-radius:999px}.tabbar .on{color:#dde3ec;font-weight:600}.tabbar .on .pill{background:#2997ff33;color:#2997ff}main{padding:14px 12px calc(96px + env(safe-area-inset-bottom))}.page-head h1{font-size:24px;line-height:30px}.card{border:0;box-shadow:none;border-radius:16px}.card h2{font-size:16px;line-height:22px;font-weight:600}.stat{background:#242a32;border-radius:12px}.filters{border:0}.seg{background:#0e141a;border:0;border-radius:12px}.seg button{color:#c0c7d5;border-radius:9px;min-height:36px}.seg button.on{background:#2997ff33;color:#dde3ec}.btn{min-height:48px;border-radius:12px;font-weight:600}.btn.primary{background:#2997ff;color:#002e57}.btn.primary:hover{background:#5aaeff}.btn.ghost{background:transparent;border-color:#404753;color:var(--text)}.btn.danger{background:#93000a;color:#ffdad6}.btn.ghost.danger,.btn.link.danger{background:transparent;color:#ffb4ab}.btn.link{min-height:0}.field-label{color:#c0c7d5;font-weight:500}.field input,.field select,.field textarea{background:var(--field-bg);border-color:#404753;color:var(--text);border-radius:12px;min-height:48px;font-size:16px}.field input::placeholder,.field textarea::placeholder{color:#8a919e}.confirm-check{border-color:#2997ff66}.table-wrap{background:transparent;border:0;overflow:visible}.table-wrap thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.table-wrap table,.table-wrap tbody{display:block}.table-wrap tr{display:block;background:#1a2027;border-radius:16px;padding:8px 16px;margin-bottom:10px}.table-wrap td{display:flex;justify-content:space-between;align-items:center;gap:12px;border:0;padding:6px 0;text-align:right;min-width:0;overflow-wrap:anywhere}.table-wrap td:before{content:attr(data-label);flex:none;max-width:45%;text-align:left;font-size:12px;color:#8a919e}.table-wrap td[data-label=""]:before{content:none}.table-wrap td:first-child{font-weight:600}.table-wrap td.actions{justify-content:flex-end;flex-wrap:wrap;white-space:normal}tr.click:hover td{background:transparent}tr.click:active{background:#242a32}th{background:#161c23}.alert.error{border-color:#ffb4ab66}.alert.blue{color:#9ccbff}.alert.amber{color:#fbbf24;border-color:#fbbf2466}.alert.green{color:#34d399}.dialog,.dialog-actions{background:#1a2027}.dialog{border-radius:16px;box-shadow:none}.cal .cal-day{border-color:transparent;border-radius:12px}.cal .cal-day.pad{background:transparent}.auth-brand{background:linear-gradient(180deg,#3a4756,#161c23)}.auth-panel{background:var(--bg)}.home .page-head{margin:-14px -12px 14px;padding:8px 20px 26px;background:linear-gradient(180deg,#3a4756,#161c23);flex-direction:column;align-items:flex-start;gap:4px}.home .page-head h1{font-size:28px;line-height:34px;font-weight:700}.home .page-head .muted{color:#c0c7d5}.home .quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.home .quick .btn{flex-direction:column;justify-content:center;text-align:center;min-height:72px;border-radius:14px;font-size:13px;padding:12px 6px}.home .quick .btn+.btn{background:#1a2027;color:var(--text)}.home .stats4{grid-template-columns:repeat(2,minmax(0,1fr))}.home .stats3{grid-template-columns:1fr;gap:0}.home .stats3 .stat{flex-direction:row-reverse;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:0;background:transparent;border-radius:0;border-top:1px solid var(--line)}.home .stats3 .stat:first-child{border-top:0}.home .stats3 .stat-label{font-size:14px;color:var(--text)}.home .stats3 .stat-value{font-size:16px}}
