:root{--brand: #3f9d4f;--brand-strong: #2f7d3d;--brand-soft: #eaf5ec;--blue: #0b74b8;--blue-soft: #e8f2fa;--navy: #0f2b46;--navy-2: #143a5e;--amber: #c98a2e;--amber-soft: #fdf3e2;--red: #c0392b;--red-soft: #fbeae8;--purple: #7c5cbf;--purple-soft: #f1ecfa;--teal: #1f7a8c;--ink: #16232e;--ink-2: #3d4d5c;--muted: #6d7c8b;--muted-2: #93a1ae;--line: #e4eaef;--line-strong: #d3dde5;--bg: #f3f6f8;--bg-2: #eef3f6;--surface: #ffffff;--radius-sm: 8px;--radius: 12px;--radius-lg: 18px;--radius-xl: 24px;--shadow-xs: 0 1px 2px rgba(16, 43, 70, .05);--shadow-sm: 0 2px 8px rgba(16, 43, 70, .06);--shadow-md: 0 10px 30px rgba(16, 43, 70, .1);--shadow-lg: 0 24px 60px rgba(9, 26, 44, .18);--sidebar-w: 264px;--sidebar-w-collapsed: 82px;--topbar-h: 72px;--font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;--mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;font-family:var(--font);background:var(--bg);color:var(--ink);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}h1,h2,h3,h4,h5{margin:0;color:var(--ink);letter-spacing:-.015em;font-weight:700}p{margin:0}a{color:var(--blue);text-decoration:none}button{font-family:inherit;font-size:inherit;cursor:pointer}input,select,textarea{font-family:inherit;font-size:inherit;color:inherit}::selection{background:#3f9d4f33}*{scrollbar-width:thin;scrollbar-color:#c7d3dc transparent}*::-webkit-scrollbar{width:9px;height:9px}*::-webkit-scrollbar-thumb{background:#c7d3dc;border-radius:99px;border:2px solid transparent;background-clip:content-box}*::-webkit-scrollbar-thumb:hover{background:#a9b8c4;background-clip:content-box}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 16px;border-radius:var(--radius-sm);border:1px solid transparent;font-weight:600;font-size:13.5px;white-space:nowrap;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .12s ease,box-shadow .16s ease}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.btn-primary{background:linear-gradient(180deg,var(--brand),var(--brand-strong));color:#fff;box-shadow:0 4px 12px #3f9d4f47}.btn-primary:hover:not(:disabled){background:linear-gradient(180deg,#47ab58,var(--brand));box-shadow:0 6px 18px #3f9d4f57}.btn-ghost{background:var(--surface);border-color:var(--line-strong);color:var(--ink-2)}.btn-ghost:hover:not(:disabled){border-color:#b9c7d2;background:#f8fafb;color:var(--ink)}.btn-danger-ghost{background:var(--surface);border-color:#eccac5;color:var(--red)}.btn-danger-ghost:hover:not(:disabled){background:var(--red-soft);border-color:#e0b0a9}.btn-danger{background:linear-gradient(180deg,#cf4b3d,var(--red));color:#fff;box-shadow:0 4px 12px #c0392b3d}.btn-danger:hover:not(:disabled){background:linear-gradient(180deg,#d75a4c,#b03325)}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:9px;border:1px solid transparent;background:transparent;color:var(--muted);transition:background .15s ease,color .15s ease,border-color .15s ease;position:relative;flex:none}.icon-btn:hover:not(:disabled){background:var(--bg-2);color:var(--ink)}.icon-btn:disabled{opacity:.4;cursor:not-allowed}.icon-btn.danger:hover:not(:disabled){background:var(--red-soft);color:var(--red)}.icon-btn.success:hover:not(:disabled){background:var(--brand-soft);color:var(--brand-strong)}.icon-btn.has-badge{color:var(--ink-2)}.row-actions{display:inline-flex;align-items:center;gap:2px}.input{width:100%;height:40px;padding:0 12px;border-radius:var(--radius-sm);border:1px solid var(--line-strong);background:#fff;color:var(--ink);transition:border-color .15s ease,box-shadow .15s ease;outline:none}textarea.input{height:auto;padding:10px 12px;resize:vertical;min-height:44px;line-height:1.5}select.input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236d7c8b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;padding-right:32px;cursor:pointer}.input:focus{border-color:var(--brand);box-shadow:0 0 0 3px #3f9d4f24}.input:disabled{background:var(--bg-2);color:var(--muted);cursor:not-allowed}.input.compact{width:auto;min-width:150px;height:38px}.color-input{padding:4px;width:56px;min-width:56px;cursor:pointer}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field-label{font-size:12.5px;font-weight:600;color:var(--ink-2);letter-spacing:.01em}.field-label em{color:var(--red);font-style:normal;margin-left:2px}.field-hint{font-size:11.5px;color:var(--muted)}.checkbox{display:inline-flex;align-items:center;gap:9px;font-size:13px;color:var(--ink-2);cursor:pointer;-webkit-user-select:none;user-select:none}.checkbox input{width:16px;height:16px;accent-color:var(--brand);cursor:pointer;margin:0}.branch-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px 16px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2, rgba(0, 0, 0, .02))}.manager-mode{display:flex;gap:6px;flex-wrap:wrap}.manager-mode button{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid var(--line);border-radius:9px;background:transparent;color:var(--ink-2);font-size:12.5px;cursor:pointer}.manager-mode button.active{background:var(--brand);border-color:var(--brand);color:#fff}.employee-pick{gap:8px}.employee-list{min-height:116px;padding:6px}.selected-employee{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:var(--surface-2, rgba(0, 0, 0, .02));font-size:12.5px}.locked-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.locked-fields div{display:flex;flex-direction:column;gap:3px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:var(--surface-2, rgba(0, 0, 0, .02))}.locked-fields span{font-size:10.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.locked-fields strong{font-size:12.5px;font-weight:600;overflow-wrap:anywhere}.login-block{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2, rgba(0, 0, 0, .02))}.login-fields{width:100%}.manager-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}.manager-chip{display:inline-flex;align-items:center;gap:4px;padding:2px 7px;border-radius:999px;background:#0b74b81a;color:var(--brand);font-size:10px;font-weight:700}.manager-chip.login{background:#3f9d4f1f;color:#3f9d4f}.manager-actions{display:flex;flex-direction:column;gap:8px}.manager-actions .card-action{margin-top:0}.form-grid{display:flex;flex-direction:column;gap:16px}.form-grid.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.span-2{grid-column:span 2}.form-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:6px}.form-section-tabs{display:flex;gap:4px;padding:4px;background:var(--bg-2);border-radius:10px;margin-bottom:20px;overflow-x:auto}.form-section-tabs button{flex:1;height:34px;border:0;background:transparent;border-radius:7px;color:var(--muted);font-weight:600;font-size:12.5px;white-space:nowrap;padding:0 12px;transition:background .15s ease,color .15s ease}.form-section-tabs button.active{background:#fff;color:var(--ink);box-shadow:var(--shadow-xs)}.switch-row{display:flex;align-items:center;gap:14px;cursor:pointer;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius);background:#fbfcfd}.switch-row>span:first-child{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.switch-row strong{font-size:13px;font-weight:600}.switch-row small{font-size:11.5px;color:var(--muted)}.switch-row input{position:absolute;opacity:0;pointer-events:none}.switch-track{width:40px;height:22px;border-radius:99px;background:#cdd8e0;position:relative;transition:background .18s ease;flex:none}.switch-track span{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000040;transition:transform .18s ease}.switch-row input:checked+.switch-track{background:var(--brand)}.switch-row input:checked+.switch-track span{transform:translate(18px)}.search-box{display:flex;align-items:center;gap:9px;height:40px;padding:0 12px;border-radius:var(--radius-sm);border:1px solid var(--line-strong);background:#fff;color:var(--muted-2);transition:border-color .15s ease,box-shadow .15s ease;min-width:0}.search-box:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px #3f9d4f24;color:var(--muted)}.search-box input{flex:1;border:0;outline:none;background:transparent;min-width:0;color:var(--ink)}.search-box input::placeholder{color:var(--muted-2)}.search-box button{border:0;background:transparent;color:var(--muted-2);display:inline-flex;padding:2px;border-radius:4px}.search-box button:hover{color:var(--ink)}.grow{flex:1}.color-field{display:flex;align-items:center;gap:10px}.color-field code{font-family:var(--mono);font-size:12px;color:var(--muted);background:var(--bg-2);padding:4px 8px;border-radius:6px}.avatar{display:inline-flex;align-items:center;justify-content:center;color:#fff;font-weight:700;letter-spacing:.02em;flex:none;box-shadow:inset 0 0 0 1px #ffffff24}.badge{display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border-radius:99px;font-size:11.5px;font-weight:600;line-height:1.5;white-space:nowrap}.badge-dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}.badge-green{background:var(--brand-soft);color:#2c7a3b}.badge-blue{background:var(--blue-soft);color:#0868a6}.badge-amber{background:var(--amber-soft);color:#a56d19}.badge-red{background:var(--red-soft);color:#ab3024}.badge-purple{background:var(--purple-soft);color:#6a4bab}.badge-navy{background:#e8eef4;color:var(--navy)}.badge-gray{background:#eef2f5;color:#5d6c7a}.shell{display:flex;min-height:100vh;background:var(--bg)}.sidebar{width:var(--sidebar-w);background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:40;transition:width .22s ease}.shell-collapsed .sidebar{width:var(--sidebar-w-collapsed)}.sidebar-top{height:var(--topbar-h);display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid var(--line);flex:none}.shell-collapsed .sidebar-top{padding:0;justify-content:center}.brand{display:inline-flex;align-items:center;gap:11px;min-width:0}.brand-mark{display:inline-flex;align-items:center;justify-content:center;border-radius:11px;background:linear-gradient(145deg,var(--brand),#2f7d3d);color:#fff;box-shadow:0 4px 12px #3f9d4f4d;flex:none}.brand-text{display:flex;flex-direction:column;line-height:1.05;min-width:0}.brand-text strong{font-size:17px;letter-spacing:.06em;font-weight:800;color:var(--navy)}.brand-text small{font-size:10px;letter-spacing:.28em;color:var(--muted);font-weight:600}.sidebar-scroll{flex:1;overflow-y:auto;padding:18px 12px 12px}.nav-group{display:flex;flex-direction:column;gap:3px;margin-bottom:20px}.nav-label{font-size:10.5px;text-transform:uppercase;letter-spacing:.13em;color:var(--muted-2);font-weight:700;padding:0 12px 8px}.nav-item{display:flex;align-items:center;gap:12px;height:42px;padding:0 12px;border-radius:9px;color:var(--ink-2);font-weight:550;font-size:13.5px;position:relative;transition:background .14s ease,color .14s ease}.nav-item svg{flex:none;color:var(--muted);transition:color .14s ease}.nav-item:hover{background:var(--bg-2);color:var(--ink)}.nav-item.active{background:linear-gradient(90deg,#3f9d4f1f,#3f9d4f0a);color:var(--brand-strong);font-weight:650}.nav-item.active svg{color:var(--brand)}.nav-item.active:before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:3px;border-radius:0 3px 3px 0;background:var(--brand)}.shell-collapsed .nav-item{justify-content:center;padding:0}.shell-collapsed .nav-label{display:none}.sidebar-foot{flex:none;border-top:1px solid var(--line);padding:12px;display:flex;align-items:center;gap:8px}.sidebar-user{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.sidebar-user-copy{display:flex;flex-direction:column;min-width:0;line-height:1.25}.sidebar-user-copy strong{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user-copy small{font-size:11px;color:var(--muted)}.shell-collapsed .sidebar-foot{flex-direction:column}.shell-collapsed .sidebar-user-copy{display:none}.collapse-btn{flex:none}.sidebar-close,.sidebar-backdrop{display:none}.main{flex:1;min-width:0;margin-left:var(--sidebar-w);display:flex;flex-direction:column;transition:margin-left .22s ease}.shell-collapsed .main{margin-left:var(--sidebar-w-collapsed)}.topbar{height:var(--topbar-h);background:#ffffffdb;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:18px;padding:0 26px;position:sticky;top:0;z-index:30}.mobile-menu{display:none}.topbar-title{display:flex;flex-direction:column;min-width:0;line-height:1.2}.topbar-breadcrumb{font-size:10.5px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted-2);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-title h2{font-size:18px;letter-spacing:-.02em;white-space:nowrap}.topbar-search{display:flex;align-items:center;gap:9px;height:40px;padding:0 12px;border-radius:9px;background:var(--bg-2);border:1px solid transparent;color:var(--muted-2);width:300px;margin-left:auto;transition:background .15s ease,border-color .15s ease}.topbar-search:focus-within{background:#fff;border-color:var(--line-strong)}.topbar-search input{flex:1;border:0;background:transparent;outline:none;min-width:0;color:var(--ink)}.topbar-search input::placeholder{color:var(--muted-2)}.topbar-search kbd{font-family:var(--mono);font-size:11px;color:var(--muted-2);background:#fff;border:1px solid var(--line);border-radius:5px;padding:1px 5px}.topbar-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.topbar-search+.topbar-actions{margin-left:0}.branch-picker{display:flex;align-items:center;gap:7px;height:36px;padding:0 8px 0 10px;border-radius:9px;border:1px solid var(--line-strong);background:#fff;color:var(--muted);position:relative}.branch-picker select{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;outline:none;background:transparent;font-weight:600;font-size:12.5px;color:var(--ink-2);padding-right:14px;cursor:pointer;max-width:140px}.branch-picker>svg:last-child{position:absolute;right:8px;pointer-events:none}.branch-static{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 12px;border-radius:9px;background:var(--bg-2);color:var(--ink-2);font-weight:600;font-size:12.5px}.topbar-clock{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12.5px;font-variant-numeric:tabular-nums;font-weight:600}.notif-count{position:absolute;top:3px;right:2px;min-width:16px;height:16px;padding:0 4px;border-radius:99px;background:var(--red);color:#fff;font-size:9.5px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;border:2px solid #fff;box-sizing:content-box}.user-chip{display:flex;align-items:center;gap:9px;height:42px;padding:0 10px 0 5px;border-radius:10px;border:1px solid transparent;background:transparent;transition:background .15s ease}.user-chip:hover{background:var(--bg-2)}.user-chip-copy{display:flex;flex-direction:column;text-align:left;line-height:1.2;max-width:130px}.user-chip-copy strong{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-chip-copy small{font-size:10.5px;color:var(--muted)}.user-chip>svg{color:var(--muted-2)}.dropdown{position:relative}.dropdown-panel{position:absolute;top:calc(100% + 10px);right:0;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-md);z-index:60;overflow:hidden;animation:pop .14s ease}@keyframes pop{0%{opacity:0;transform:translateY(-6px) scale(.98)}}.dropdown-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px;border-bottom:1px solid var(--line)}.dropdown-head strong{font-size:13px}.dropdown-head span{font-size:11px;color:var(--muted)}.dropdown-empty{padding:20px 16px;color:var(--muted);font-size:12.5px;text-align:center}.notif-panel{width:340px}.notif-list{list-style:none;margin:0;padding:6px;max-height:330px;overflow-y:auto}.notif-list button{width:100%;display:flex;align-items:center;gap:10px;padding:9px 10px;border:0;background:transparent;border-radius:8px;text-align:left;transition:background .13s ease}.notif-list button:hover{background:var(--bg-2)}.notif-dot{width:8px;height:8px;border-radius:50%;flex:none}.notif-dot.red{background:var(--red)}.notif-dot.amber{background:var(--amber)}.notif-dot.blue{background:var(--blue)}.notif-copy{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}.notif-copy strong{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notif-copy small{font-size:11px;color:var(--muted)}.notif-list button>svg{color:var(--muted-2);flex:none}.dropdown-link{width:100%;border:0;border-top:1px solid var(--line);background:#fbfcfd;padding:11px;font-size:12.5px;font-weight:600;color:var(--blue)}.dropdown-link:hover{background:var(--bg-2)}.user-panel{width:280px;padding:6px}.user-panel-head{display:flex;gap:11px;padding:11px 10px 13px;border-bottom:1px solid var(--line);margin-bottom:6px}.user-panel-head>div{display:flex;flex-direction:column;gap:3px;min-width:0}.user-panel-head strong{font-size:13.5px}.user-panel-head small{font-size:11.5px;color:var(--muted);word-break:break-all}.user-panel-head .badge{align-self:flex-start;margin-top:3px}.dropdown-item{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border:0;background:transparent;border-radius:8px;color:var(--ink-2);font-size:13px;font-weight:550;text-align:left}.dropdown-item:hover{background:var(--bg-2);color:var(--ink)}.dropdown-item.danger{color:var(--red)}.dropdown-item.danger:hover{background:var(--red-soft)}.content{flex:1;padding:26px;max-width:1600px;width:100%;margin:0 auto}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px;flex-wrap:wrap}.page-head>div:first-child{min-width:0}.eyebrow{display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--brand);margin-bottom:6px}.eyebrow.light{color:#ffffff9e}.page-head h1{font-size:25px;letter-spacing:-.03em;line-height:1.15}.page-head p{color:var(--muted);font-size:13px;margin-top:5px}.page-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-xs);padding:20px;min-width:0}.card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}.card-head>div{min-width:0}.card-head h3{font-size:15px;letter-spacing:-.01em}.card-head p{font-size:12px;color:var(--muted);margin-top:3px}.card-head>svg{color:var(--muted-2);flex:none}.card-action{width:100%;margin-top:14px;justify-content:space-between;border-style:dashed;font-size:12.5px;height:38px}.alert{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:var(--radius);font-size:13px;margin-bottom:16px}.alert svg{flex:none;margin-top:1px}.alert-error{background:var(--red-soft);border:1px solid #f0cdc8;color:#9d2e22}.alert-info{background:var(--blue-soft);border:1px solid #cfe3f2;color:#0a5c8f;align-items:center}.muted{color:var(--muted)}.small{font-size:12px}.mono{font-family:var(--mono);font-size:12px}.upper{text-transform:uppercase;font-size:11px;letter-spacing:.05em;color:var(--muted)}.sub-heading{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:700;margin:22px 0 12px}.sub-heading:first-child{margin-top:0}.stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:20px}.stat-grid.compact-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:820px}.stat-card{display:flex;align-items:flex-start;gap:13px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-xs);text-align:left;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;min-width:0}.stat-clickable:hover{transform:translateY(-2px);box-shadow:var(--shadow-sm);border-color:var(--line-strong)}.stat-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:11px;flex:none}.stat-copy{display:flex;flex-direction:column;gap:1px;min-width:0}.stat-label{font-size:11.5px;font-weight:600;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-value{font-size:24px;font-weight:750;letter-spacing:-.03em;line-height:1.15;color:var(--ink);font-variant-numeric:tabular-nums}.stat-sub{font-size:10.5px;color:var(--muted-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-green .stat-icon{background:var(--brand-soft);color:var(--brand-strong)}.stat-blue .stat-icon{background:var(--blue-soft);color:var(--blue)}.stat-amber .stat-icon{background:var(--amber-soft);color:var(--amber)}.stat-red .stat-icon{background:var(--red-soft);color:var(--red)}.stat-purple .stat-icon{background:var(--purple-soft);color:var(--purple)}.stat-navy .stat-icon{background:#e8eef4;color:var(--navy)}.dash-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:18px;margin-bottom:18px}.dash-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.dash-footer-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:18px}.profile-summary{display:flex;align-items:center;gap:14px;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--line)}.profile-summary h4{font-size:16px}.profile-summary p{font-size:12.5px;color:var(--muted);margin:2px 0 6px}.info-grid{display:grid;gap:12px 18px}.info-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.info-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.info-row{display:flex;flex-direction:column;gap:2px;min-width:0}.info-row>span{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted-2);font-weight:600}.info-row>strong{font-size:13px;font-weight:550;color:var(--ink);word-break:break-word}.address-grid{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}.simple-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.simple-list li{display:flex;align-items:center;gap:11px;padding:9px 0;border-bottom:1px solid var(--line);min-width:0}.simple-list li:last-child{border-bottom:0}.simple-list li>span:nth-child(2),.simple-list li>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.simple-list strong{font-size:12.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.simple-list small{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.simple-list li>svg{color:var(--muted-2);flex:none}.simple-list li.clickable{cursor:pointer;border-radius:8px;padding-left:6px;padding-right:6px;margin-left:-6px;margin-right:-6px}.simple-list li.clickable:hover{background:var(--bg-2)}.list-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9px;flex:none}.list-icon.blue{background:var(--blue-soft);color:var(--blue)}.list-icon.green{background:var(--brand-soft);color:var(--brand-strong)}.bar-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:13px}.bar-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:5px;font-size:12.5px}.bar-list-head span{display:inline-flex;align-items:center;gap:7px;color:var(--ink-2);font-weight:550}.bar-list-head strong{font-size:12.5px;font-variant-numeric:tabular-nums}.branch-dot{width:8px;height:8px;border-radius:3px;flex:none}.progress{display:block;height:7px;border-radius:99px;background:var(--bg-2);overflow:hidden}.progress>span{display:block;height:100%;border-radius:99px;transition:width .4s ease}.progress-green>span{background:linear-gradient(90deg,#5bb96b,var(--brand))}.progress-blue>span{background:linear-gradient(90deg,#3d9bd8,var(--blue))}.progress-amber>span{background:linear-gradient(90deg,#e0a84e,var(--amber))}.progress-red>span{background:linear-gradient(90deg,#db6558,var(--red))}.progress-purple>span{background:linear-gradient(90deg,#9a7fd4,var(--purple))}.donut-wrap{display:flex;align-items:center;gap:20px}.donut{width:128px;height:128px;border-radius:50%;position:relative;flex:none;display:flex;align-items:center;justify-content:center}.donut:after{content:"";position:absolute;top:22px;right:22px;bottom:22px;left:22px;background:#fff;border-radius:50%;box-shadow:inset 0 0 0 1px var(--line)}.donut>span{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;line-height:1.1}.donut strong{font-size:22px;font-weight:750;letter-spacing:-.03em}.donut small{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.donut-legend{list-style:none;margin:0;padding:0;flex:1;display:flex;flex-direction:column;gap:8px;min-width:0}.donut-legend li{display:flex;align-items:center;gap:8px;font-size:12px;min-width:0}.donut-legend li>span:nth-child(2){flex:1;color:var(--ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.donut-legend strong{font-variant-numeric:tabular-nums;font-size:12px}.activity-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:13px}.activity-list li{display:flex;gap:11px;min-width:0}.activity-dot{width:8px;height:8px;border-radius:50%;margin-top:5px;flex:none;background:var(--muted-2)}.activity-dot.type-auth{background:var(--blue)}.activity-dot.type-security{background:var(--red)}.activity-dot.type-employee{background:var(--brand)}.activity-dot.type-branch,.activity-dot.type-user{background:var(--purple)}.activity-dot.type-document{background:var(--blue)}.activity-dot.type-note,.activity-dot.type-manager{background:var(--amber)}.activity-list li>div{display:flex;flex-direction:column;gap:1px;min-width:0}.activity-list strong{font-size:12.5px;font-weight:600;line-height:1.35}.activity-list small{font-size:11px;color:var(--muted)}.today-card{background:linear-gradient(135deg,var(--navy),var(--navy-2));border-color:transparent;color:#fff;display:flex;flex-direction:column;justify-content:space-between;gap:18px;position:relative;overflow:hidden}.today-card:after{content:"";position:absolute;right:-60px;top:-60px;width:200px;height:200px;border-radius:50%;background:#3f9d4f2e}.today-time{display:block;font-size:34px;font-weight:750;letter-spacing:-.03em;font-variant-numeric:tabular-nums;line-height:1.1}.today-date{font-size:12px;color:#ffffffa8}.today-stats{display:flex;flex-wrap:wrap;gap:8px 18px;position:relative;z-index:1}.today-stats span{font-size:11.5px;color:#ffffffa8}.today-stats strong{color:#fff;font-size:14px;margin-right:2px}.compliance-grid{display:flex;flex-direction:column;gap:12px}.compliance-item{display:grid;grid-template-columns:34px minmax(0,1fr) 90px;align-items:center;gap:11px}.compliance-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:9px;background:var(--bg-2);color:var(--muted)}.compliance-item>div{display:flex;flex-direction:column;line-height:1.2}.compliance-item>div>span{font-size:11px;color:var(--muted)}.compliance-item strong{font-size:14px;font-variant-numeric:tabular-nums}.compliance-item strong small{font-size:11px;color:var(--muted-2);font-weight:500}.table-wrap{overflow-x:auto;margin:0 -20px -20px;padding:0 20px 20px}.card.table-card{padding-bottom:20px}.card.table-card .table-wrap{margin:0;padding:0}.table{width:100%;border-collapse:collapse;font-size:12.5px}.table th{text-align:left;font-size:10.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted-2);font-weight:700;padding:9px 12px;border-bottom:1px solid var(--line);white-space:nowrap;background:#fbfcfd}.table th:first-child{border-radius:8px 0 0}.table th:last-child{border-radius:0 8px 0 0}.table td{padding:11px 12px;border-bottom:1px solid var(--line);color:var(--ink-2);vertical-align:middle}.table tbody tr:last-child td{border-bottom:0}.table tbody tr.clickable{cursor:pointer}.table tbody tr.clickable:hover td{background:#f8fafb}.table tbody tr:hover td{background:#fafcfd}.cell-person{display:flex;align-items:center;gap:10px;min-width:0}.cell-person>span:last-child{display:flex;flex-direction:column;gap:1px;min-width:0}.cell-person strong{font-size:12.5px;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cell-person small{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cell-action{text-align:right;color:var(--muted-2);width:40px}.expiry-cell{display:flex;align-items:center;gap:8px;white-space:nowrap}.mini-avatar{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;color:#fff;font-size:10.5px;font-weight:700;flex:none}.log-action{font-weight:550;color:var(--ink)}.toolbar-card{display:flex;align-items:center;gap:11px;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:18px;flex-wrap:wrap}.view-toggle{display:inline-flex;padding:3px;background:var(--bg-2);border-radius:8px;gap:2px}.view-toggle button{width:32px;height:32px;border:0;background:transparent;border-radius:6px;color:var(--muted);display:inline-flex;align-items:center;justify-content:center}.view-toggle button.active{background:#fff;color:var(--ink);box-shadow:var(--shadow-xs)}.employee-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(258px,1fr));gap:15px}.employee-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);padding:17px;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;display:flex;flex-direction:column;min-width:0;position:relative}.employee-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);border-color:var(--line-strong)}.employee-card:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.employee-card-top{display:flex;align-items:flex-start;gap:10px;margin-bottom:12px}.employee-card-top .badge{margin-left:auto}.card-edit{margin-left:2px;opacity:0;transition:opacity .15s ease}.employee-card:hover .card-edit{opacity:1}.employee-card h3{font-size:15px;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.employee-position{font-size:12px;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.employee-meta{display:flex;align-items:center;gap:8px;margin-top:10px;flex-wrap:wrap}.employee-meta>span{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;color:var(--ink-2);font-weight:550}.employee-meta svg{color:var(--muted-2)}.code-chip{background:var(--bg-2);color:var(--muted)!important;padding:2px 7px;border-radius:5px;font-family:var(--mono);font-size:10.5px!important;font-weight:600!important}.employee-contact{display:flex;flex-direction:column;gap:4px;margin-top:10px;padding-top:10px;border-top:1px dashed var(--line)}.employee-contact span{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.employee-contact svg{color:var(--muted-2);flex:none}.employee-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:13px;padding-top:12px;border-top:1px solid var(--line)}.expiry-hint{font-size:11px;font-weight:600;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.expiry-hint.tone-expired{color:var(--red)}.expiry-hint.tone-soon{color:var(--amber)}.expiry-hint.tone-upcoming{color:var(--blue)}.expiry-hint.tone-valid{color:var(--brand-strong)}.profile-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}.profile-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.profile-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px;padding:24px;flex-wrap:wrap;background:linear-gradient(135deg,#fff,#f7fbf8)}.profile-identity{display:flex;align-items:center;gap:20px;min-width:0}.profile-identity>div{min-width:0}.profile-name-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.profile-name-row h1{font-size:25px;letter-spacing:-.03em;line-height:1.15}.profile-identity>div>p{color:var(--muted);font-size:13px;margin-top:3px}.profile-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.profile-chips span{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;color:var(--ink-2);background:#fff;border:1px solid var(--line);padding:4px 9px;border-radius:99px;font-weight:550}.profile-chips svg{color:var(--muted-2)}.profile-quick{display:flex;flex-direction:column;gap:8px;min-width:220px}.profile-quick a,.profile-quick span{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--ink-2);padding:7px 11px;background:#fff;border:1px solid var(--line);border-radius:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-quick svg{color:var(--brand);flex:none}.profile-quick a:hover{border-color:var(--brand);color:var(--brand-strong)}.profile-card{padding:6px 20px 22px}.tabs{display:flex;gap:2px;border-bottom:1px solid var(--line);overflow-x:auto;margin:0 -20px 4px;padding:0 20px;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tab{display:inline-flex;align-items:center;gap:7px;height:48px;padding:0 13px;border:0;background:transparent;color:var(--muted);font-weight:600;font-size:12.5px;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;transition:color .15s ease,border-color .15s ease}.tab:hover{color:var(--ink)}.tab.active{color:var(--brand-strong);border-bottom-color:var(--brand)}.tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;border-radius:99px;background:var(--bg-2);color:var(--muted);font-size:10px;font-weight:700}.tab.active .tab-count{background:var(--brand-soft);color:var(--brand-strong)}.tab-body{padding-top:22px}.section-title{margin-bottom:15px}.section-title.row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.section-title h3{font-size:14.5px}.section-title p{font-size:12px;color:var(--muted);margin-top:2px}.section-title+.info-grid,.section-title+.doc-card-grid,.section-title+.emergency-card{margin-bottom:24px}.doc-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}.doc-card{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:var(--radius);background:#fbfcfd}.doc-card>div{display:flex;flex-direction:column;min-width:0;flex:1;gap:1px}.doc-card>div>span{font-size:10.5px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted-2);font-weight:600}.doc-card>div>strong{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.doc-card>div>small{font-size:11px;color:var(--muted)}.doc-card-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;background:var(--brand-soft);color:var(--brand-strong);flex:none}.emergency-card{display:flex;align-items:center;gap:15px;padding:18px;border-radius:var(--radius);background:linear-gradient(135deg,var(--red-soft),#fff7f6);border:1px solid #f2d5d1;margin-bottom:20px}.emergency-icon{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:12px;background:#fff;color:var(--red);flex:none;box-shadow:var(--shadow-xs)}.emergency-card>div{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}.emergency-card>div>span{font-size:10.5px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);font-weight:600}.emergency-card strong{font-size:18px;letter-spacing:-.02em}.emergency-card small{font-size:11.5px;color:var(--muted)}.timeline-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px}.timeline{list-style:none;margin:0;padding:0 0 0 4px;position:relative}.timeline li{display:flex;gap:13px;padding:0 0 18px;position:relative;min-width:0}.timeline li:not(:last-child):before{content:"";position:absolute;left:4px;top:14px;bottom:0;width:1px;background:var(--line-strong)}.timeline-dot{width:9px;height:9px;border-radius:50%;background:var(--brand);border:2px solid #fff;box-shadow:0 0 0 1px var(--brand);margin-top:5px;flex:none;position:relative;z-index:1}.timeline li>div{display:flex;flex-direction:column;gap:1px;min-width:0}.timeline strong{font-size:12.5px;font-weight:600}.timeline small{font-size:11px;color:var(--muted)}.note-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.note-item{display:flex;gap:11px;padding:13px;border-radius:var(--radius);border-left:3px solid var(--brand);background:#fbfcfd;border-top:1px solid var(--line);border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.note-item>div{flex:1;min-width:0}.note-item strong{font-size:12.5px;display:block}.note-item p{font-size:12px;color:var(--ink-2);margin:3px 0 6px;line-height:1.5}.note-item small{font-size:10.5px;color:var(--muted)}.note-item>svg{color:var(--muted-2);flex:none}.note-item.note-blue{border-left-color:var(--blue)}.note-item.note-amber{border-left-color:var(--amber)}.note-item.note-purple{border-left-color:var(--purple)}.note-item.note-red{border-left-color:var(--red)}.branch-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:16px}.branch-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:box-shadow .16s ease,transform .16s ease}.branch-card:hover{box-shadow:var(--shadow-sm);transform:translateY(-2px)}.branch-accent{height:4px}.branch-card-head{display:flex;align-items:center;gap:12px;padding:16px 16px 0}.branch-logo{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:12px;font-weight:800;font-size:13px;letter-spacing:.03em;flex:none}.branch-card-head>div{flex:1;min-width:0}.branch-card-head h3{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.branch-card-head p{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}.branch-cr{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 16px;padding:11px 13px;border-radius:10px;background:var(--bg-2)}.branch-cr>span{display:flex;flex-direction:column;min-width:0}.branch-cr strong{font-size:12.5px;font-family:var(--mono)}.branch-cr small{font-size:10.5px;color:var(--muted)}.branch-info{display:flex;flex-direction:column;gap:7px;padding:0 16px 14px}.branch-info span{display:flex;align-items:center;gap:7px;font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.branch-info svg{color:var(--muted-2);flex:none}.branch-manager{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 16px;padding:10px 0;border-top:1px solid var(--line);font-size:11.5px}.branch-manager span{color:var(--muted)}.branch-manager strong{font-size:12px;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.branch-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;border-top:1px solid var(--line);background:#fbfcfd;margin-top:auto}.branch-foot .btn{height:34px;font-size:12px;padding:0 11px;border:0;background:transparent;color:var(--blue);justify-content:flex-start}.branch-foot .btn:hover{background:var(--blue-soft)}.manager-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:16px}.manager-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);padding:18px;display:flex;flex-direction:column;min-width:0;transition:box-shadow .16s ease,transform .16s ease}.manager-card:hover{box-shadow:var(--shadow-sm);transform:translateY(-2px)}.manager-head{display:flex;align-items:center;gap:13px;padding-bottom:14px;border-bottom:1px solid var(--line);margin-bottom:14px}.manager-head>div:nth-child(2){flex:1;min-width:0}.manager-head h3{font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.manager-head p{font-size:11.5px;color:var(--muted)}.manager-info{display:flex;flex-direction:column;gap:8px;flex:1}.manager-info span{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.manager-info svg{color:var(--muted-2);flex:none}.doc-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:linear-gradient(90deg,var(--blue-soft),#f5fafd);border:1px solid #d7e8f4;border-radius:var(--radius);margin-bottom:16px;flex-wrap:wrap}.doc-summary>span{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:var(--ink-2)}.doc-summary>span svg{color:var(--blue)}.doc-summary strong{font-size:14px}.breadcrumb{display:flex;align-items:center;gap:2px;flex-wrap:wrap;flex:1;min-width:0}.breadcrumb>button,.breadcrumb>span>button{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;padding:6px 8px;border-radius:6px;font-size:12.5px;font-weight:600;color:var(--ink-2);max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.breadcrumb>button:hover,.breadcrumb>span>button:hover{background:var(--bg-2);color:var(--ink)}.breadcrumb>span{display:inline-flex;align-items:center;color:var(--muted-2)}.breadcrumb svg{color:var(--muted-2);flex:none}.breadcrumb>button svg{color:var(--blue)}.folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:12px;margin-bottom:6px}.folder-card{display:flex;align-items:center;gap:12px;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease;min-width:0}.folder-card:hover{border-color:#bcd6e8;box-shadow:var(--shadow-sm);transform:translateY(-2px)}.folder-card:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.folder-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:11px;background:var(--blue-soft);color:var(--blue);flex:none}.folder-card>div{flex:1;min-width:0;display:flex;flex-direction:column}.folder-card strong{font-size:12.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.folder-card small{font-size:11px;color:var(--muted)}.search-note{margin:-8px 0 14px}.notes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px;align-items:start}.note-card{background:var(--surface);border:1px solid var(--line);border-top:3px solid var(--brand);border-radius:var(--radius-lg);padding:17px;display:flex;flex-direction:column;min-width:0;transition:box-shadow .16s ease,transform .16s ease}.note-card:hover{box-shadow:var(--shadow-sm);transform:translateY(-2px)}.note-card.note-blue{border-top-color:var(--blue)}.note-card.note-amber{border-top-color:var(--amber)}.note-card.note-purple{border-top-color:var(--purple)}.note-card.note-red{border-top-color:var(--red)}.note-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.note-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9px;background:var(--brand-soft);color:var(--brand-strong)}.note-card.note-blue .note-icon{background:var(--blue-soft);color:var(--blue)}.note-card.note-amber .note-icon{background:var(--amber-soft);color:var(--amber)}.note-card.note-purple .note-icon{background:var(--purple-soft);color:var(--purple)}.note-card.note-red .note-icon{background:var(--red-soft);color:var(--red)}.note-head .row-actions{margin-left:auto}.pin-mark{color:var(--amber);transform:rotate(35deg)}.note-card h3{font-size:14.5px;margin-bottom:6px;letter-spacing:-.01em}.note-card>p{font-size:12.5px;color:var(--ink-2);line-height:1.6;margin-bottom:14px;flex:1}.note-foot{display:flex;align-items:center;gap:10px;padding-top:12px;border-top:1px solid var(--line);flex-wrap:wrap;font-size:11px;color:var(--muted)}.note-foot span{display:inline-flex;align-items:center;gap:4px;font-weight:550}.note-foot small{margin-left:auto;font-size:10.5px;color:var(--muted-2)}.settings-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:18px;margin-bottom:18px;align-items:start}.settings-form .switch-row{margin-top:18px}.settings-side{display:flex;flex-direction:column;gap:18px}.brand-preview{display:flex;align-items:center;gap:13px;padding:14px;border-radius:var(--radius);background:var(--bg-2);margin-bottom:14px}.brand-preview-mark{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;color:#fff;flex:none}.brand-preview>div{flex:1;min-width:0;display:flex;flex-direction:column}.brand-preview strong{font-size:15px;letter-spacing:.04em}.brand-preview small{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.swatch-row{display:flex;gap:8px;flex-wrap:wrap}.swatch{width:30px;height:30px;border-radius:8px;border:2px solid #fff;box-shadow:0 0 0 1px var(--line-strong);transition:transform .13s ease}.swatch:hover:not(:disabled){transform:scale(1.1)}.swatch:disabled{opacity:.5;cursor:not-allowed}.snapshot-list,.security-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.snapshot-list li,.security-list li{display:flex;align-items:center;gap:9px;font-size:12.5px;color:var(--ink-2)}.snapshot-list li svg,.security-list li svg{color:var(--brand);flex:none}.snapshot-list strong{margin-left:auto;font-variant-numeric:tabular-nums}.settings-side .card>p{margin-top:12px}.matrix-table td,.matrix-table th{text-align:center}.matrix-table td:first-child,.matrix-table th:first-child{text-align:left}.yes,.no{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%}.yes{background:var(--brand-soft);color:var(--brand-strong)}.no{background:var(--bg-2);color:var(--muted-2)}.role-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:13px}.role-card{border:1px solid var(--line);border-radius:var(--radius);padding:14px;background:#fbfcfd}.role-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.role-card-head>span{font-size:11px;color:var(--muted);white-space:nowrap}.role-card p{font-size:12px;color:var(--muted);line-height:1.5}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:46px 24px;gap:4px}.empty-icon{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:16px;background:var(--bg-2);color:var(--muted-2);margin-bottom:10px}.empty-state h3{font-size:15px}.empty-state p{font-size:12.5px;color:var(--muted);max-width:380px}.empty-action{margin-top:12px}.access-denied{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:70px 24px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);gap:4px}.access-denied .empty-icon{background:var(--red-soft);color:var(--red)}.access-denied h2{font-size:19px}.access-denied p{font-size:13px;color:var(--muted);max-width:440px;margin-bottom:12px}.spinner-wrap{display:flex;align-items:center;justify-content:center;gap:10px;padding:40px;color:var(--muted);font-size:13px}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.page-loader{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:80px 24px;color:var(--muted);font-size:13px}.page-loader svg{color:var(--brand)}.splash{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:radial-gradient(circle at 50% 40%,#fff 0%,var(--bg) 70%)}.splash .spinner-wrap{padding:0}.toast-stack{position:fixed;right:20px;bottom:20px;z-index:200;display:flex;flex-direction:column;gap:9px;max-width:380px}.toast{display:flex;align-items:center;gap:10px;padding:12px 15px;border-radius:10px;background:var(--navy);color:#fff;font-size:12.5px;font-weight:550;box-shadow:var(--shadow-lg);animation:toast-in .2s ease}.toast svg{flex:none}.toast-success svg{color:#6fdc84}.toast-error{background:#8f2a20}.toast-error svg{color:#ffb3aa}.toast-info svg{color:#7cc4ef}@keyframes toast-in{0%{opacity:0;transform:translateY(10px) scale(.98)}}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0b1b2b7a;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;animation:fade .15s ease}@keyframes fade{0%{opacity:0}}.modal{background:#fff;border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);width:100%;max-height:calc(100vh - 48px);display:flex;flex-direction:column;animation:modal-in .18s ease;overflow:hidden}@keyframes modal-in{0%{opacity:0;transform:translateY(14px) scale(.985)}}.modal-sm{max-width:420px}.modal-md{max-width:560px}.modal-lg{max-width:760px}.modal-xl{max-width:980px}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px 16px;border-bottom:1px solid var(--line);flex:none}.modal-head h3{font-size:17px;letter-spacing:-.02em}.modal-head p{font-size:12px;color:var(--muted);margin-top:3px}.modal-body{padding:22px;overflow-y:auto;flex:1}.modal-foot{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:15px 22px;border-top:1px solid var(--line);background:#fbfcfd;flex:none}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);background:#fff}.login-hero{position:relative;background:linear-gradient(150deg,#0b2137,#0f2b46 45%,#123b5c);color:#fff;padding:44px 56px;display:flex;flex-direction:column;justify-content:space-between;gap:34px;overflow:hidden}.hero-glow{position:absolute;border-radius:50%;filter:blur(10px);pointer-events:none}.hero-glow-1{width:520px;height:520px;right:-180px;top:-160px;background:radial-gradient(circle,rgba(63,157,79,.34),transparent 68%)}.hero-glow-2{width:440px;height:440px;left:-160px;bottom:-180px;background:radial-gradient(circle,rgba(11,116,184,.32),transparent 68%)}.hero-top{display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative;z-index:1}.login-hero .brand-text strong{color:#fff}.login-hero .brand-text small{color:#ffffff8c}.hero-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:99px;background:#ffffff17;border:1px solid rgba(255,255,255,.16);font-size:11px;font-weight:600;color:#ffffffe0}.hero-copy{position:relative;z-index:1;max-width:500px}.hero-copy h1{color:#fff;font-size:clamp(32px,3.6vw,48px);line-height:1.06;letter-spacing:-.035em;margin:6px 0 16px}.hero-copy>p{color:#ffffffad;font-size:14px;line-height:1.65;max-width:440px}.hero-features{list-style:none;margin:28px 0 0;padding:0;display:flex;flex-direction:column;gap:14px}.hero-features li{display:flex;align-items:center;gap:12px;font-size:13px;color:#ffffffd6}.hero-features li>span{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:#3f9d4f2e;border:1px solid rgba(111,220,132,.22);color:#7bdc90;flex:none}.hero-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;position:relative;z-index:1;padding:18px 0;border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12)}.hero-stats>div{display:flex;flex-direction:column;gap:1px}.hero-stats strong{font-size:24px;font-weight:750;letter-spacing:-.03em;color:#fff}.hero-stats span{font-size:10.5px;color:#ffffff8c;text-transform:uppercase;letter-spacing:.08em;font-weight:600}.hero-foot{display:flex;align-items:center;gap:7px;font-size:11px;color:#ffffff73;position:relative;z-index:1}.login-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 28px;gap:22px;background:#fff}.login-card{width:100%;max-width:400px}.login-card-head{margin-bottom:26px}.login-mobile-logo{display:none}.login-card-head h2{font-size:24px;letter-spacing:-.03em;margin-top:2px}.login-card-head p{font-size:13px;color:var(--muted);margin-top:6px}.login-form{display:flex;flex-direction:column;gap:16px}.login-field{display:flex;flex-direction:column;gap:6px}.login-field>span{font-size:12.5px;font-weight:600;color:var(--ink-2)}.login-input{display:flex;align-items:center;gap:10px;height:46px;padding:0 13px;border-radius:10px;border:1px solid var(--line-strong);background:#fff;color:var(--muted-2);transition:border-color .15s ease,box-shadow .15s ease}.login-input:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px #3f9d4f24;color:var(--brand)}.login-input input{flex:1;border:0;outline:none;background:transparent;min-width:0;color:var(--ink);font-size:14px}.login-input input::placeholder{color:var(--muted-2)}.password-toggle{border:0;background:transparent;color:var(--muted-2);display:inline-flex;padding:2px;border-radius:5px}.password-toggle:hover{color:var(--ink)}.login-options{display:flex;align-items:center;justify-content:space-between;gap:12px}.text-link{border:0;background:transparent;color:var(--blue);font-size:12.5px;font-weight:600;padding:2px}.text-link:hover{text-decoration:underline}.login-error{padding:10px 13px;border-radius:9px;background:var(--red-soft);border:1px solid #f0cdc8;color:#9d2e22;font-size:12.5px;font-weight:550}.login-submit{height:46px;font-size:14px;margin-top:2px}.login-submit svg{margin-left:auto}.demo-accounts{margin-top:20px;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;animation:pop .16s ease}.demo-accounts-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 13px;background:var(--bg-2);border-bottom:1px solid var(--line)}.demo-accounts-head strong{font-size:12px}.demo-accounts-head span{font-size:10.5px;color:var(--muted)}.demo-account{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:10px 13px;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left;transition:background .13s ease}.demo-account:last-child{border-bottom:0}.demo-account:hover{background:var(--brand-soft)}.demo-account>span{display:flex;flex-direction:column;gap:1px;min-width:0}.demo-account strong{font-size:12px}.demo-account small{font-size:10.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.demo-account code{font-family:var(--mono);font-size:10px;color:var(--muted);background:var(--bg-2);padding:3px 6px;border-radius:5px;flex:none;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.login-legal{display:flex;align-items:flex-start;gap:7px;margin-top:24px;font-size:11px;color:var(--muted-2);line-height:1.5}.login-legal svg{flex:none;margin-top:1px;color:var(--brand)}.login-copyright{font-size:10.5px;color:var(--muted-2);text-align:center;max-width:380px}@media (max-width: 1380px){.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 1180px){.dash-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-grid.three>.card:last-child{grid-column:span 2}.settings-grid{grid-template-columns:minmax(0,1fr)}}@media (max-width: 1024px){.sidebar{transform:translate(-100%);box-shadow:var(--shadow-lg);width:var(--sidebar-w)}.sidebar-open{transform:translate(0)}.shell-collapsed .sidebar{width:var(--sidebar-w)}.shell-collapsed .nav-item{justify-content:flex-start;padding:0 12px}.shell-collapsed .sidebar-user-copy{display:flex}.shell-collapsed .sidebar-foot{flex-direction:row}.shell-collapsed .sidebar-top{padding:0 20px;justify-content:space-between}.shell-collapsed .nav-label{display:block}.shell-collapsed .sidebar-scroll .nav-item span{display:inline}.main,.shell-collapsed .main{margin-left:0}.sidebar-close{display:inline-flex}.collapse-btn{display:none}.sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:35;border:0;background:#0b1b2b66;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.mobile-menu{display:inline-flex}.login-page{grid-template-columns:1fr}.login-hero{display:none}.login-mobile-logo{display:block;margin-bottom:20px}.topbar-search{display:none}.dash-grid,.dash-footer-grid{grid-template-columns:minmax(0,1fr)}.timeline-grid{grid-template-columns:minmax(0,1fr);gap:8px}}@media (max-width: 820px){.content{padding:18px 16px}.topbar{padding:0 16px;gap:12px}.topbar-clock,.branch-picker,.branch-static{display:none}.topbar-title h2{font-size:16px}.user-chip-copy{display:none}.stat-grid,.stat-grid.compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-grid.three{grid-template-columns:minmax(0,1fr)}.dash-grid.three>.card:last-child{grid-column:auto}.page-head{align-items:flex-start}.page-head h1{font-size:21px}.form-grid.two{grid-template-columns:minmax(0,1fr)}.span-2{grid-column:auto}.info-grid.two,.info-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-hero{flex-direction:column;align-items:flex-start}.profile-quick{width:100%;min-width:0}.modal-overlay{padding:0;align-items:flex-end}.modal{max-height:94vh;border-radius:20px 20px 0 0}.notif-panel{width:min(340px,calc(100vw - 32px))}.table-wrap{margin:0 -20px -20px}.toolbar-card .input.compact{min-width:0;flex:1}}@media (max-width: 560px){.stat-grid,.stat-grid.compact-grid,.info-grid.two,.info-grid.three{grid-template-columns:minmax(0,1fr)}.hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.login-panel{padding:28px 18px}.employee-grid,.branch-grid,.manager-grid,.notes-grid{grid-template-columns:minmax(0,1fr)}.page-actions{width:100%}.page-actions .btn{flex:1}.profile-identity{flex-direction:column;align-items:flex-start;gap:14px}.profile-card{padding:6px 14px 18px}.tabs{margin:0 -14px 4px;padding:0 14px}.toast-stack{left:16px;right:16px;bottom:16px;max-width:none}.dropdown-panel{position:fixed;top:auto;bottom:16px;left:16px;right:16px;width:auto}}.leave-balance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.leave-balance{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--line);border-radius:var(--radius);background:#fbfcfd;min-width:0}.leave-balance-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.leave-balance-head>span{font-size:11.5px;color:var(--muted);white-space:nowrap}.leave-balance-none{font-size:11px;color:var(--muted-2)}.leave-balance-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted)}.leave-pending-note{color:var(--amber);font-weight:600}.leave-period{display:flex;flex-direction:column;gap:2px;min-width:170px}.leave-period strong{font-size:12.5px;font-weight:600;color:var(--ink);white-space:nowrap}.leave-period small,.leave-status-cell small,.cell-muted{display:block;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--muted)}.leave-status-cell{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.leave-day-summary{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:var(--radius-sm);background:var(--brand-soft);color:var(--ink-2);font-size:12.5px}.leave-day-summary svg{color:var(--brand-strong);flex:none}.leave-day-summary strong{color:var(--brand-strong);font-size:15px}.leave-decision-summary{display:flex;align-items:center;gap:8px;padding:10px 12px;margin-bottom:14px;border-radius:var(--radius-sm);background:var(--bg-2);color:var(--ink-2);font-size:12.5px}.leave-decision-summary svg{color:var(--muted);flex:none}.leave-days-cell{display:flex;flex-direction:column;gap:2px}.leave-days-cell small{font-size:10.5px;color:var(--muted);white-space:nowrap}.leave-type-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}.leave-type-toolbar .muted{margin:0}.leave-type-list{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.leave-type-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:12px;border:1px solid var(--line);border-radius:var(--radius);background:#fbfcfd}.leave-type-main{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.leave-type-meta{font-size:11.5px;color:var(--muted)}.leave-type-row>p{grid-column:1 / -1;font-size:12px;color:var(--muted);margin:0}.leave-type-row>.row-actions{grid-column:2;grid-row:1;justify-self:end}.leave-type-form{border-top:1px solid var(--line);padding-top:16px;display:flex;flex-direction:column;gap:12px}.leave-type-form .section-title{margin:0}.leave-type-flags{display:flex;flex-direction:column;justify-content:center;gap:10px;padding-top:22px}.leave-type-form-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}@media (max-width: 560px){.leave-balance-grid,.leave-type-row{grid-template-columns:minmax(0,1fr)}.leave-type-row>.row-actions{grid-column:1;grid-row:auto;justify-self:start}.leave-type-flags{padding-top:0}}@media print{body{background:#fff}.sidebar,.topbar,.profile-top,.tabs,.toast-stack,.modal-overlay,.page-actions,.toolbar-card,.card-action{display:none!important}.main{margin-left:0!important}.content{padding:0;max-width:none}.card{border:0;box-shadow:none;padding:0}.profile-hero{border:1px solid #ddd;padding:16px;margin-bottom:16px}.tab-body{display:block!important}.info-grid,.doc-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-top:1px solid var(--line, #e4e9ee)}.pager-info{color:var(--muted);font-size:13px}.pager-actions{display:flex;align-items:center;gap:8px}.pager-page{color:var(--muted);font-size:13px;white-space:nowrap}.pager .btn{padding:7px 12px;font-size:13px}.pager .btn:disabled{opacity:.45;cursor:not-allowed}@media (max-width: 640px){.pager{flex-direction:column;align-items:stretch}.pager-actions{justify-content:space-between}}.report-filter{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:var(--muted);font-weight:600}.report-filter .input{min-width:150px}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.report-grid>.card{min-width:0}.report-sub{display:block;color:var(--muted);font-size:11.5px;margin-top:2px}.report-empty-note{color:var(--muted);font-size:12.5px;padding:4px 0 2px}.report-rank{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.report-rank li{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--bg-1)}.report-rank-number{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:8px;background:var(--brand-soft);color:var(--brand-strong);font-size:11.5px;font-weight:700;flex:none}.report-rank-name{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}.report-rank-name strong{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.report-rank-name span{color:var(--muted);font-size:11px}.report-kv{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}.report-kv li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:9px;border-bottom:1px dashed var(--line);font-size:12.5px}.report-kv li:last-child{padding-bottom:0;border-bottom:0}.report-kv span{color:var(--ink-2)}.report-kv strong{font-variant-numeric:tabular-nums}.report-months{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px;align-items:end;padding-top:8px}.report-month{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}.report-month-value{font-size:11px;font-weight:700;color:var(--ink-2);font-variant-numeric:tabular-nums}.report-month-track{display:flex;align-items:flex-end;justify-content:center;width:100%;height:110px;border-radius:7px;background:var(--bg-2);overflow:hidden}.report-month-track>span{display:block;width:100%;border-radius:7px 7px 0 0;background:linear-gradient(180deg,#5bb96b,var(--brand));transition:height .4s ease}.report-month-label{font-size:10.5px;color:var(--muted);font-weight:600}.report-missing{display:inline-flex;flex-wrap:wrap;gap:5px}@media (max-width: 1024px){.report-grid{grid-template-columns:minmax(0,1fr)}}@media (max-width: 820px){.report-months{grid-template-columns:repeat(6,minmax(0,1fr));row-gap:16px}.report-filter{width:100%}.report-filter .input{flex:1;min-width:0}}@media print{.report-grid{grid-template-columns:minmax(0,1fr)}.report-grid>.card,.tab-body>.card{break-inside:avoid;page-break-inside:avoid;margin-bottom:14px}.report-rank li{background:#fff}.report-month-track{background:#eee}}
