:root{--brand: #0693d0;--brand-600: #057bb0;--brand-50: #e9f5fc;--navy: #0b2a42;--navy-2: #103551;--ink: #142033;--ink-2: #334155;--muted: #64748b;--line: #e3e9f0;--bg: #f4f7fa;--card: #ffffff;--green: #0f9d63;--green-50: #e7f7ef;--amber: #c27803;--amber-50: #fdf4e3;--red: #d63a3a;--red-50: #fdecec;--violet: #6d4ed8;--violet-50: #f0ecfd;--radius: 10px;--shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);--shadow-lg: 0 12px 32px rgba(16, 24, 40, .16);font-family:Inter,Segoe UI,system-ui,-apple-system,Roboto,Helvetica Neue,Arial,sans-serif;color:var(--ink);font-size:14px;line-height:1.45}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);-webkit-font-smoothing:antialiased}a{color:var(--brand-600);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,h4{margin:0;color:var(--ink);letter-spacing:-.01em}h1{font-size:22px;font-weight:700}h2{font-size:17px;font-weight:650}h3{font-size:15px;font-weight:650}p{margin:0}code{background:#eef2f6;padding:1px 5px;border-radius:4px;font-size:12.5px}.shell{display:flex;min-height:100%}.sidebar{width:258px;flex-shrink:0;background:var(--navy);color:#c9d7e3;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow-y:auto}.sidebar .brand{padding:18px 18px 14px;display:flex;align-items:center;gap:10px;border-bottom:1px solid rgba(255,255,255,.07)}.sidebar .brand .logo-box{background:#fff;border-radius:8px;padding:6px 10px;display:flex}.sidebar .brand img{height:26px;display:block}.sidebar .brand small{display:block;font-size:10.5px;color:#7fa3bf;letter-spacing:.08em;text-transform:uppercase;margin-top:2px}.nav{padding:10px 10px 24px;flex:1}.nav-section{margin-top:14px}.nav-section>.label{font-size:10.5px;text-transform:uppercase;letter-spacing:.09em;color:#6f8fa8;padding:0 10px 6px;display:flex;align-items:center;gap:6px}.nav-item{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;color:#c9d7e3;cursor:pointer;font-size:13.5px;border:0;background:none;width:100%;text-align:left}.nav-item:hover{background:#ffffff0f;color:#fff;text-decoration:none}.nav-item.active{background:var(--brand);color:#fff}.nav-item.soon{color:#7d97ad}.nav-item .tag{margin-left:auto;font-size:9.5px;padding:1px 6px;border-radius:99px;background:#ffffff14;color:#8fb0c8;letter-spacing:.04em}.nav-item svg{flex-shrink:0;opacity:.9}.main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:60px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 24px;gap:14px;position:sticky;top:0;z-index:20}.topbar .spacer{flex:1}.menu-toggle{display:none}.user-chip{display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;border-radius:50%;background:var(--brand-50);color:var(--brand-600);display:grid;place-items:center;font-weight:700;font-size:13px}.user-chip .meta{line-height:1.2}.user-chip .meta b{font-size:13px;display:block}.user-chip .meta span{font-size:11.5px;color:var(--muted)}.lock-chip{display:inline-flex;align-items:center;gap:6px;font-size:12px;padding:5px 10px;border-radius:99px;background:var(--green-50);color:var(--green);font-weight:600}.lock-chip.locked{background:var(--amber-50);color:var(--amber);cursor:pointer}.content{padding:24px;max-width:1380px;width:100%}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}.page-head p{color:var(--muted);margin-top:4px}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.grid{display:grid;gap:16px}.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}.g4{grid-template-columns:repeat(4,minmax(0,1fr))}.g6{grid-template-columns:repeat(6,minmax(0,1fr))}.mt8{margin-top:8px}.mt12{margin-top:12px}.mt16{margin-top:16px}.mt24{margin-top:24px}.muted{color:var(--muted)}.small{font-size:12.5px}.right{text-align:right}.nowrap{white-space:nowrap}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.card-head{padding:14px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.card-body{padding:18px}.stat{padding:16px 18px;position:relative;overflow:hidden}.stat .label{padding-right:42px;font-size:12px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.05em}.stat .value{font-size:26px;font-weight:750;margin-top:6px;letter-spacing:-.02em}.stat .sub{font-size:12px;color:var(--muted);margin-top:2px}.stat .ico{position:absolute;right:14px;top:14px;width:34px;height:34px;border-radius:9px;display:grid;place-items:center}.tone-blue .ico{background:var(--brand-50);color:var(--brand-600)}.tone-green .ico{background:var(--green-50);color:var(--green)}.tone-amber .ico{background:var(--amber-50);color:var(--amber)}.tone-red .ico{background:var(--red-50);color:var(--red)}.tone-violet .ico{background:var(--violet-50);color:var(--violet)}.tone-red .value{color:var(--red)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);background:#fff;color:var(--ink);padding:8px 14px;border-radius:8px;font-size:13.5px;font-weight:600;cursor:pointer;white-space:nowrap;font-family:inherit}.btn:hover{background:#f6f9fb;text-decoration:none}.btn:disabled{opacity:.55;cursor:not-allowed}.btn.primary{background:var(--brand);color:#fff;border-color:var(--brand)}.btn.primary:hover{background:var(--brand-600)}.btn.danger{color:var(--red);border-color:#f3c7c7}.btn.danger:hover{background:var(--red-50)}.btn.ghost{border-color:transparent;background:transparent}.btn.ghost:hover{background:#eef3f7}.btn.sm{padding:5px 10px;font-size:12.5px}.btn.icon{padding:6px}.field{display:flex;flex-direction:column;gap:6px}.field>span{font-size:12.5px;font-weight:600;color:var(--ink-2)}.field small{color:var(--muted);font-size:11.5px}.input,select.input,textarea.input{border:1px solid #d5dee7;border-radius:8px;padding:9px 11px;font-size:14px;font-family:inherit;color:var(--ink);background:#fff;width:100%}.input:focus{outline:2px solid rgba(6,147,208,.25);border-color:var(--brand)}textarea.input{min-height:110px;resize:vertical}.check{display:flex;gap:10px;align-items:flex-start;cursor:pointer;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fff}.check input{margin-top:3px;accent-color:var(--brand)}.check b{font-size:13.5px;display:block}.check small{color:var(--muted)}.search{position:relative}.search svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--muted)}.search .input{padding-left:32px;min-width:240px}.table-wrap{overflow-x:auto}table.t{width:100%;border-collapse:collapse;font-size:13.5px}table.t th{text-align:left;font-size:11.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:650;padding:10px 14px;background:#f8fafc;border-bottom:1px solid var(--line);white-space:nowrap}table.t td{padding:11px 14px;border-bottom:1px solid #eef2f6;vertical-align:middle}table.t tr:last-child td{border-bottom:0}table.t tr:hover td{background:#fafcfd}table.t td.actions{text-align:right;white-space:nowrap}.empty{padding:40px 20px;text-align:center;color:var(--muted)}.empty svg{color:#b4c3d1;margin-bottom:8px}.badge{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:650;padding:3px 9px;border-radius:99px;white-space:nowrap}.badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.badge.plain:before{display:none}.b-green{background:var(--green-50);color:var(--green)}.b-amber{background:var(--amber-50);color:var(--amber)}.b-red{background:var(--red-50);color:var(--red)}.b-blue{background:var(--brand-50);color:var(--brand-600)}.b-grey{background:#eef2f6;color:#586a7d}.b-violet{background:var(--violet-50);color:var(--violet)}.alert{display:flex;gap:10px;padding:12px 14px;border-radius:8px;font-size:13.5px;align-items:flex-start}.alert svg{flex-shrink:0;margin-top:1px}.alert.info{background:var(--brand-50);color:#0b5577}.alert.success{background:var(--green-50);color:#0a6b44}.alert.warn{background:var(--amber-50);color:#8a5502}.alert.error{background:var(--red-50);color:#a12828}.alert ul{margin:6px 0 0;padding-left:18px}.overlay{position:fixed;inset:0;background:#0b19287a;display:grid;place-items:center;z-index:100;padding:20px;animation:fade .12s ease}.modal{background:#fff;border-radius:12px;box-shadow:var(--shadow-lg);width:100%;max-width:560px;max-height:calc(100vh - 40px);display:flex;flex-direction:column}.modal.wide{max-width:860px}.modal-head{padding:16px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.modal-body{padding:20px;overflow-y:auto}.modal-foot{padding:14px 20px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px}.toasts{position:fixed;right:20px;bottom:20px;display:flex;flex-direction:column;gap:10px;z-index:200}.toast{background:var(--navy);color:#fff;padding:12px 16px;border-radius:10px;box-shadow:var(--shadow-lg);font-size:13.5px;max-width:380px;display:flex;gap:10px;align-items:flex-start;animation:slide .18s ease}.toast.error{background:#8f2323}.toast.success{background:#0b6b45}@keyframes fade{0%{opacity:0}}@keyframes slide{0%{transform:translateY(8px);opacity:0}}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:18px;flex-wrap:wrap}.tab{padding:10px 14px;border:0;background:none;font-size:13.5px;font-weight:600;color:var(--muted);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;font-family:inherit}.tab.active{color:var(--brand-600);border-color:var(--brand)}.chips{display:flex;gap:6px;flex-wrap:wrap}.chip{border:1px solid var(--line);background:#fff;border-radius:99px;padding:5px 12px;font-size:12.5px;font-weight:600;color:var(--ink-2);cursor:pointer;font-family:inherit}.chip.active{background:var(--navy);color:#fff;border-color:var(--navy)}.chip .n{opacity:.7;margin-left:4px}.progress{height:8px;background:#edf2f6;border-radius:99px;overflow:hidden}.progress>div{height:100%;background:var(--brand);border-radius:99px;transition:width .4s ease}.progress.green>div{background:var(--green)}.steps{display:flex;gap:0;margin-bottom:20px}.step{flex:1;display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;color:var(--muted)}.step .dot{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e7edf3;color:var(--muted);font-size:12.5px;flex-shrink:0}.step.done .dot{background:var(--green);color:#fff}.step.current .dot{background:var(--brand);color:#fff}.step.current{color:var(--ink)}.step .bar{flex:1;height:2px;background:#e3e9f0;margin:0 10px}.dropzone{border:2px dashed #c6d4e1;border-radius:12px;padding:30px;text-align:center;background:#fafcfe;cursor:pointer;transition:.15s}.dropzone:hover,.dropzone.drag{border-color:var(--brand);background:var(--brand-50)}.dropzone svg{color:var(--brand)}.kv{display:grid;grid-template-columns:150px 1fr;gap:8px 14px;font-size:13.5px}.kv dt{color:var(--muted)}.kv dd{margin:0;font-weight:600}.bars{display:flex;align-items:flex-end;gap:14px;height:150px;padding-top:10px}.bars .col{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;height:100%;justify-content:flex-end}.bars .bar-pair{display:flex;gap:4px;align-items:flex-end;height:100%}.bars .b1{width:14px;background:#bfe2f3;border-radius:4px 4px 0 0}.bars .b2{width:14px;background:var(--brand);border-radius:4px 4px 0 0}.bars .lbl{font-size:11px;color:var(--muted);white-space:nowrap}.legend{display:flex;gap:14px;font-size:12px;color:var(--muted)}.legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;vertical-align:-1px}.module-tile{padding:16px;display:flex;gap:12px;align-items:flex-start}.module-tile .mi{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:var(--brand-50);color:var(--brand-600);flex-shrink:0}.module-tile.soon .mi{background:#eef2f6;color:#8a9bb0}.perm-group{border:1px solid var(--line);border-radius:10px;margin-bottom:12px;overflow:hidden}.perm-group .pg-head{padding:10px 14px;background:#f8fafc;font-weight:650;font-size:13px;display:flex;align-items:center;gap:8px}.perm-group.sensitive .pg-head{background:var(--amber-50);color:#7a4b02}.perm-row{display:flex;align-items:center;gap:10px;padding:9px 14px;border-top:1px solid #eef2f6;font-size:13.5px}.perm-row input{accent-color:var(--brand);width:16px;height:16px}.perm-row code{margin-left:auto;color:var(--muted)}.role-card{padding:14px 16px;cursor:pointer;border:1px solid var(--line);border-radius:10px;background:#fff;text-align:left;width:100%;font-family:inherit}.role-card.active{border-color:var(--brand);box-shadow:0 0 0 3px #0693d026}.issues li{margin-bottom:2px}.issue-err{color:var(--red)}.issue-warn{color:var(--amber)}.slip{border:1px solid var(--line);border-radius:10px;overflow:hidden}.slip-head{background:var(--navy);color:#fff;padding:14px 18px;display:flex;justify-content:space-between;align-items:center}.slip-net{background:var(--green-50);color:var(--green);padding:14px 18px;display:flex;justify-content:space-between;align-items:center;font-weight:700}.slip-net b{font-size:22px}.payslip-card{padding:18px;display:flex;flex-direction:column;gap:12px}.payslip-card .month{font-size:18px;font-weight:700}.payslip-card .ic{width:42px;height:42px;border-radius:10px;background:var(--brand-50);color:var(--brand-600);display:grid;place-items:center}.secret-box{background:#0b2a42;color:#fff;border-radius:10px;padding:14px 16px;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:18px;letter-spacing:.04em;display:flex;justify-content:space-between;align-items:center}.pager{display:flex;gap:8px;align-items:center;justify-content:flex-end;padding:12px 16px;border-top:1px solid var(--line)}.auth{min-height:100%;display:grid;grid-template-columns:1.05fr 1fr}.auth-hero{background:radial-gradient(1200px 500px at -10% -10%,#1a6f9f 0%,transparent 60%),linear-gradient(160deg,#0b2a42,#0a3c5e 55%,#075a86);color:#e3eef6;padding:48px 56px;display:flex;flex-direction:column;justify-content:space-between}.auth-hero .logo-box{background:#fff;border-radius:12px;padding:10px 16px;display:inline-flex}.auth-hero img{height:40px}.auth-hero h1{color:#fff;font-size:34px;line-height:1.15;margin-top:40px;max-width:460px}.auth-hero p.lead{margin-top:14px;color:#b7cde0;font-size:15px;max-width:460px}.auth-hero ul{list-style:none;padding:0;margin:32px 0 0;display:grid;gap:14px}.auth-hero li{display:flex;gap:12px;align-items:flex-start;font-size:14px}.auth-hero li .ic{width:30px;height:30px;border-radius:8px;background:#ffffff1a;display:grid;place-items:center;flex-shrink:0}.auth-hero li b{color:#fff;display:block}.auth-form{display:grid;place-items:center;padding:40px 24px;background:#fff}.auth-form .box{width:100%;max-width:380px}.auth-form h2{font-size:24px}@media(max-width:1100px){.g6{grid-template-columns:repeat(3,1fr)}.g4{grid-template-columns:repeat(2,1fr)}}@media(max-width:900px){.sidebar{position:fixed;left:-270px;z-index:50;transition:left .2s}.sidebar.open{left:0}.menu-toggle{display:inline-flex}.g2,.g3,.auth{grid-template-columns:1fr}.auth-hero{display:none}.content{padding:16px}}@media(max-width:560px){.g4,.g6{grid-template-columns:1fr 1fr}.user-chip .meta{display:none}}
