@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--font:"Inter Variable", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;--mono:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;--background:#f5f8fb;--surface:#fff;--soft:#eaf3f9;--line:#d5e1ea;--line-strong:#c8d9e5;--text:#29313a;--heading:#111827;--muted:#667085;--accent:#14638f;--accent-hover:#0d4f76;--accent-ink:#234f6c;--th:#547c96;--primary-gradient:linear-gradient(110deg, #206f99, #125a85);--focus-ring:0 0 0 3px #14638f1f;--radius:10px;--radius-sm:8px;--shadow:0 4px 18px #143e590d;--shadow-pop:0 12px 32px #143e5924;--green:#31a06c;--grey:#9da7af;--amber:#b77a22;--blue:#14638f;--red:#b3261e;--red-bg:#fff0ef;--red-line:#f0b9b5;--invalid:#cf514a;--sidebar-width:244px;--header-height:72px;--charcoal:#232a31}*,:before,:after{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:var(--font);color:var(--text);background:var(--background);-webkit-font-smoothing:antialiased;font-size:13px;line-height:1.5}h1,h2,h3,h4{color:var(--heading);margin:0;font-weight:600;line-height:1.3}p{margin:0}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:0;padding:0}button:disabled{cursor:not-allowed;opacity:.6}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:11px;font-weight:600}.muted{color:var(--muted)}.mono{font-family:var(--mono);font-size:12px}.num{font-variant-numeric:tabular-nums;text-align:right}.nowrap{white-space:nowrap}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.btn{border-radius:var(--radius-sm);white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:8px;min-height:36px;padding:0 14px;font-size:12px;font-weight:600;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.btn svg{flex:none;width:15px;height:15px}.btn.primary{color:#fff;background:var(--primary-gradient);border-color:var(--accent)}.btn.primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.btn.secondary{color:var(--accent-ink);background:var(--surface);border-color:var(--line-strong)}.btn.secondary:hover:not(:disabled){background:var(--soft)}.btn.tertiary{color:var(--accent-ink);background:0 0}.btn.tertiary:hover:not(:disabled){background:var(--soft)}.btn.danger{color:var(--red);background:var(--red-bg);border-color:var(--red-line)}.btn.danger:hover:not(:disabled){background:#ffe4e2}.btn.compact{min-height:32px;padding:0 10px}.btn.icon{width:36px;padding:0}.btn.icon.compact{width:32px}.btn.block{width:100%}.input,.select,.textarea{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);width:100%;min-height:42px;color:var(--text);padding:0 12px;transition:border-color .15s,box-shadow .15s}.textarea{resize:vertical;min-height:84px;padding:10px 12px}.input:focus,.select:focus,.textarea:focus{border-color:var(--accent);box-shadow:var(--focus-ring);outline:none}.input[aria-invalid=true],.select[aria-invalid=true]{border-color:var(--invalid)}.input:disabled,.select:disabled,.textarea:disabled,.input[readonly]{background:var(--background);color:var(--muted)}.select{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='%23667085' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:32px}.input.compact,.select.compact{min-height:34px;font-size:12px}.checkbox{width:16px;height:16px;accent-color:var(--accent);margin:0}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field>label{color:var(--text);font-size:12px;font-weight:500}.field .hint{color:var(--muted);font-size:11px}.field .error{color:var(--red);font-size:11px}.field.full{grid-column:1/-1}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;display:grid}.form-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.form-section{flex-direction:column;gap:16px;display:flex}.form-section+.form-section{border-top:1px solid var(--line);margin-top:24px;padding-top:24px}.form-section>h3{font-size:13px;font-weight:600}.check-row{align-items:center;gap:8px;font-size:12px;display:flex}.input-group{position:relative}.input-group .prefix{color:var(--muted);pointer-events:none;font-size:12px;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.input-group .input{padding-left:30px}.alert{border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface);align-items:flex-start;gap:10px;padding:12px 14px;font-size:12px;display:flex}.alert svg{flex:none;width:16px;height:16px;margin-top:1px}.alert.info{border-left:3px solid var(--accent);background:var(--soft)}.alert.error{border-color:var(--red-line);background:var(--red-bg);color:var(--red)}.alert.success{color:#1f6b47;background:#eef9f2;border-color:#bfe3cf}.alert .issue-list{margin:6px 0 0;padding-left:18px}.alert .issue-list code{font-family:var(--mono);background:#0000000d;border-radius:4px;padding:1px 4px;font-size:11px}.alert small{color:var(--muted);font-family:var(--mono);margin-top:2px;font-size:10px;display:block}@media (width<=680px){.form-grid,.form-grid.cols-3{grid-template-columns:minmax(0,1fr)}}.app{grid-template:var(--header-height) minmax(0, 1fr) / var(--sidebar-width) minmax(0, 1fr);height:100dvh;display:grid}.app.nav-collapsed{--sidebar-width:76px}.app>aside{background:linear-gradient(170deg,#fff 25%,#eff5f9 100%);border-right:1px solid #cedfea;flex-direction:column;grid-row:1/3;min-height:0;display:flex;overflow:hidden auto}.brand{min-height:var(--header-height);border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:14px 16px;display:flex}.brand img{object-fit:contain;flex:none;width:42px;height:42px}.brand-text{min-width:0}.brand-text b{color:var(--heading);white-space:nowrap;font-size:14px;display:block}.brand-text span{color:var(--muted);white-space:nowrap;font-size:11px;display:block}aside nav{flex-direction:column;gap:4px;padding:16px 12px;display:flex}.nav-group{flex-direction:column;gap:4px;display:flex}.nav-item{min-height:40px;color:var(--muted);white-space:nowrap;border:1px solid #0000;border-radius:8px;align-items:center;gap:12px;padding:0 12px;font-size:13px;font-weight:500;text-decoration:none;transition:background .15s;display:flex}.nav-item svg{flex:none;width:18px;height:18px}.nav-item:hover{background:var(--soft);color:var(--text);text-decoration:none}.nav-item.active,.nav-item.active-parent{color:var(--text);border-color:var(--line);box-shadow:inset 3px 0 var(--accent);background:#eaf3f9;font-weight:600}.nav-item.active-parent{box-shadow:none;background:0 0;border-color:#0000}.nav-subitem{border-left:1px solid var(--line);border-radius:0 8px 8px 0;min-height:36px;margin-left:22px;padding-left:16px;font-size:12px;position:relative}.nav-subitem:before{content:"";background:var(--muted);width:8px;height:1px;position:absolute;top:50%;left:-1px}.nav-subitem svg{width:16px;height:16px}.nav-logout{border-top:1px solid var(--line);text-align:left;border-radius:0 0 8px 8px;width:100%;margin-top:12px;padding-top:12px}.sidebar-footer{text-align:center;color:var(--muted);border-top:1px solid var(--line);margin-top:auto;padding:18px 16px 12px;font-size:11px;line-height:1.7}.sidebar-footer img{object-fit:contain;width:48px;height:48px;margin-bottom:6px}.sidebar-footer b{color:var(--text);display:block}.sidebar-footer p{justify-content:center;align-items:center;gap:6px;display:flex}.sidebar-footer svg{width:12px;height:12px}.collapse-toggle{color:var(--muted);border-top:1px solid var(--line);white-space:nowrap;align-items:center;gap:10px;padding:14px 24px;font-size:12px;display:flex}.collapse-toggle svg{width:16px;height:16px}.collapse-toggle:hover{color:var(--text);background:var(--soft)}.app.nav-collapsed .brand{justify-content:center;padding:14px 0}.app.nav-collapsed .brand-text,.app.nav-collapsed .nav-item span,.app.nav-collapsed .sidebar-footer,.app.nav-collapsed .collapse-toggle span{display:none}.app.nav-collapsed .nav-item{justify-content:center;padding:0}.app.nav-collapsed .nav-subitem{border-left:0;border-radius:8px;margin-left:0}.app.nav-collapsed .nav-subitem:before{display:none}.app.nav-collapsed .collapse-toggle{justify-content:center;padding:14px 0}.app>header{height:var(--header-height);border-bottom:1px solid var(--line);box-shadow:inset 3px 0 var(--accent);background:#fff;grid-template-columns:minmax(140px,1fr) auto minmax(0,1fr);align-items:center;gap:16px;padding:0 24px;display:grid}.header-left{align-items:center;gap:12px;min-width:0;display:flex}.portal-title b{color:var(--heading);white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:600;display:block;overflow:hidden}.portal-title span{color:var(--muted);font-size:11px;display:block}.section-title{text-align:center;color:var(--text);font-size:13px;font-weight:500}.header-actions{justify-content:flex-end;align-items:center;gap:10px;min-width:0;display:flex}.env-badge{color:#835b0e;letter-spacing:.06em;background:#fff3d8;border-radius:6px;padding:3px 8px;font-size:10px;font-weight:700}.user-chip{border-left:1px solid var(--line);align-items:center;gap:10px;min-width:0;padding:6px 0 6px 12px;display:flex}.avatar{background:var(--soft);width:34px;height:34px;color:var(--accent-ink);border-radius:50%;flex:none;place-items:center;font-size:11px;font-weight:600;display:grid}.user-meta{min-width:0}.user-meta b{color:var(--heading);white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:500;display:block;overflow:hidden}.user-meta span{color:var(--muted);font-size:10px;display:block}.drawer-toggle{display:none}.app>.content{background:var(--background);min-width:0;min-height:0;padding:24px 24px 40px;overflow:auto}.drawer-backdrop{display:none}.toast-stack{top:calc(var(--header-height) + 12px);z-index:100;flex-direction:column;gap:8px;max-width:min(380px,100vw - 32px);display:flex;position:fixed;right:24px}.toast{background:var(--charcoal);color:#fff;box-shadow:var(--shadow-pop);border-radius:10px;align-items:flex-start;gap:10px;padding:12px 14px;font-size:12px;animation:.18s ease-out toast-in;display:flex}.toast>svg{flex:none;width:16px;height:16px;margin-top:1px}.toast.success>svg{color:#7fd6a7}.toast.error>svg{color:#ff9f98}.toast.info>svg{color:#9cd2f2}.toast>div{flex:1;min-width:0}.toast small{color:#ffffffa6;font-family:var(--mono);word-break:break-all;margin-top:2px;font-size:10px;display:block}.toast>button{color:#ffffffb3;place-items:center;display:grid}.toast>button svg{width:14px;height:14px}@keyframes toast-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}@media (width<=1100px){.app{--sidebar-width:220px}.app.nav-collapsed{--sidebar-width:76px}}@media (width<=900px){.user-meta,.env-badge{display:none}}@media (width<=680px){.app,.app.nav-collapsed{--sidebar-width:0px;--header-height:64px;grid-template:var(--header-height) minmax(0, 1fr) / minmax(0, 1fr)}.app>aside{z-index:40;width:264px;box-shadow:var(--shadow-pop);transition:transform .2s;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.app.drawer-open>aside{transform:none}.app.drawer-open .drawer-backdrop{z-index:30;background:#232a3166;display:block;position:fixed;inset:0}.app.nav-collapsed .brand-text,.app.nav-collapsed .nav-item span,.app.nav-collapsed .sidebar-footer{display:initial}.app.nav-collapsed .brand{justify-content:flex-start;padding:14px 16px}.app.nav-collapsed .nav-item{justify-content:flex-start;padding:0 12px}.app.nav-collapsed .nav-subitem{border-left:1px solid var(--line);margin-left:22px;padding-left:16px}.collapse-toggle{display:none}.drawer-toggle{display:inline-flex}.app>header{grid-template-columns:auto minmax(0,1fr) auto;padding:0 12px 0 16px}.section-title{text-align:left;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.portal-title{display:none}.app>.content{padding:16px 16px 32px}.toast-stack{right:16px}}.page-header{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;padding:24px;display:flex;position:relative;overflow:hidden}.page-header:after{content:"";opacity:.9;pointer-events:none;background:url(/portal-ribbon.svg) 100% 0/contain no-repeat;width:220px;height:140px;position:absolute;top:-10px;right:-20px}.page-header-text{z-index:1;min-width:0;position:relative}.page-header h1{letter-spacing:-.025em;margin:2px 0 4px;font-size:23px;line-height:1.35}.page-header p{max-width:640px;color:var(--muted);font-size:12px;line-height:1.6}.page-header-rule{background:var(--accent);border-radius:2px;width:40px;height:3px;margin-top:14px;display:block}.page-header-actions{z-index:1;flex:none;align-items:center;gap:10px;display:flex;position:relative}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.panel-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;display:flex}.panel-header h2,.panel-header h3{font-size:15px;font-weight:600}.panel-header p{color:var(--muted);font-size:12px}.panel-body{padding:20px}.panel+.panel,.stack>*+*{margin-top:16px}.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px;display:grid}.kpi{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px;transition:border-color .15s}.kpi:hover{border-color:var(--muted)}.kpi-top{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.kpi-top>span{font-size:12px;font-weight:500}.kpi strong{color:var(--heading);font-variant-numeric:tabular-nums;margin:12px 0;font-size:28px;font-weight:500;display:block}.kpi em,.kpi-link{color:var(--accent);align-items:center;gap:2px;font-size:11px;font-style:normal;display:inline-flex}.kpi em{color:var(--muted)}.kpi-link svg{width:12px;height:12px}.icon-badge{background:var(--soft);width:36px;height:36px;color:var(--accent-ink);border-radius:50%;flex:none;place-items:center;display:inline-grid}.icon-badge svg{width:17px;height:17px}.icon-badge b{font-size:11px;font-weight:600}.icon-badge.sm{width:28px;height:28px}.icon-badge.sm svg{width:14px;height:14px}.icon-badge.lg{width:44px;height:44px}.tabs{scrollbar-width:none;gap:2px;display:flex;overflow:auto hidden}.tabs.page{border-bottom:1px solid var(--line);margin-bottom:16px}.tab{color:var(--muted);white-space:nowrap;border-bottom:2px solid #0000;align-items:center;gap:8px;margin-bottom:-1px;padding:12px 16px;font-size:13px;font-weight:500;display:inline-flex}.tab:hover:not(:disabled){color:var(--text)}.tab.active{color:var(--accent-ink);border-bottom-color:var(--accent);font-weight:600}.tab-count{background:var(--soft);min-width:20px;height:20px;color:var(--accent-ink);border-radius:10px;place-items:center;padding:0 6px;font-size:11px;font-weight:600;display:inline-grid}.tabs.modal{gap:4px}.tabs.modal .tab{border-radius:8px 8px 0 0;margin-bottom:0;padding:8px 14px;font-size:12px}.tabs.modal .tab.active{background:var(--soft)}.status{white-space:nowrap;align-items:center;gap:7px;font-size:12px;display:inline-flex}.status i{background:var(--grey);border-radius:50%;width:8px;height:8px}.status.green i{background:var(--green)}.status.amber i{background:var(--amber)}.status.red i{background:var(--red)}.status.blue i{background:var(--blue)}.pill{border:1px solid var(--line);background:var(--surface);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:3px 10px;font-size:11px;font-weight:600;display:inline-flex}.pill.accent{background:var(--soft);color:var(--accent-ink);border-color:#c8dcea}.pill.green{color:#1f6b47;background:#eef9f2;border-color:#bfe3cf}.pill.amber{color:#835b0e;background:#fff3d8;border-color:#f1dcb0}.pill.red{background:var(--red-bg);color:var(--red);border-color:var(--red-line)}.pill.grey{background:var(--background);color:var(--muted)}.pill.mono{font-family:var(--mono);font-weight:500}.pill button{color:inherit;place-items:center;display:grid}.pill button svg{width:12px;height:12px}.grid-wrap{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.grid-tools{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.grid-search{flex:240px;align-items:center;max-width:360px;display:flex;position:relative}.grid-search>svg{width:15px;height:15px;color:var(--muted);pointer-events:none;position:absolute;left:12px}.grid-search input{border:1px solid var(--line);background:var(--surface);border-radius:8px;width:100%;min-height:36px;padding:0 32px 0 34px}.grid-search input:focus{border-color:var(--accent);box-shadow:var(--focus-ring);outline:none}.grid-search button{color:var(--muted);place-items:center;display:grid;position:absolute;right:8px}.grid-search button svg{width:14px;height:14px}.grid-tools-right{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.grid-count{margin-left:4px;font-size:11px}.btn.secondary.active{background:var(--soft)}.popover-anchor{position:relative}.popover{z-index:20;background:var(--surface);border:1px solid var(--line);min-width:220px;max-height:360px;box-shadow:var(--shadow-pop);border-radius:10px;flex-direction:column;gap:2px;padding:8px;display:flex;position:absolute;top:calc(100% + 6px);right:0;overflow:auto}.popover.wide{min-width:420px;padding:0}.popover .check-row{border-radius:6px;padding:7px 8px}.popover .check-row:hover{background:var(--background)}.popover .check-row>span:last-child{margin-left:auto}.popover-cols{grid-template-columns:150px minmax(0,1fr);min-height:160px;display:grid}.popover-list{border-right:1px solid var(--line);flex-direction:column;gap:2px;padding:8px;display:flex}.popover-item{text-align:left;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:7px 10px;font-size:12px;display:flex}.popover-item:hover{background:var(--background)}.popover-item.active{background:var(--soft);color:var(--accent-ink);font-weight:600}.popover-values{flex-direction:column;gap:2px;max-height:320px;padding:8px;display:flex;overflow:auto}.filter-pills{flex-wrap:wrap;gap:6px;padding:10px 16px 0;display:flex}.table-scroll{overflow-x:auto}table{border-collapse:separate;border-spacing:0;width:100%}th{z-index:1;background:var(--soft);height:40px;color:var(--th);text-align:left;text-transform:none;white-space:nowrap;border-bottom:1px solid var(--line);-webkit-user-select:none;user-select:none;padding:0 12px;font-size:11px;font-weight:600;position:sticky;top:0}th.sortable{cursor:pointer}th.sortable:hover{color:var(--accent-ink)}th>span{align-items:center;gap:6px;display:inline-flex}th svg{width:12px;height:12px}th.th-trigger,td.td-trigger{width:40px;padding:0 4px 0 8px}td{border-bottom:1px solid var(--line);vertical-align:middle;height:42px;padding:6px 12px;font-size:12px}tbody tr:last-child td{border-bottom:0}tbody tr{cursor:default;transition:background .1s}tbody tr:hover td{background:#f5f8fb}tbody tr.selected td{background:var(--soft)}tbody tr:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.td-trigger button{width:28px;height:28px;color:var(--muted);border-radius:6px;place-items:center;display:grid}.td-trigger button:hover{background:var(--soft);color:var(--accent-ink)}.td-trigger svg{width:16px;height:16px}tr.action-row td{background:var(--background);padding:8px 12px 10px 48px}.context-bar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.grid-state{padding:24px 16px}td.grid-state{text-align:center}.grid-footer{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;display:flex}.pagination{color:var(--muted);align-items:center;gap:10px;font-size:12px;display:flex}.pagination label{align-items:center;gap:8px;display:flex}.pagination .select{width:auto;min-height:30px;padding:0 28px 0 8px}.grid-wrap.dense td{height:38px}.simple-table th{position:static}.simple-table td.actions{text-align:right;white-space:nowrap}.simple-table td.actions .btn+.btn{margin-left:6px}dialog.modal{background:var(--surface);width:min(960px,92vw);max-width:92vw;max-height:90vh;color:var(--text);border:0;border-radius:12px;padding:0;overflow:hidden;box-shadow:0 24px 64px #14283c4d}dialog.modal.md{width:min(640px,92vw)}dialog.modal.xl{width:min(1200px,94vw)}dialog.modal::backdrop{background:#232a316b}.modal-surface{flex-direction:column;max-height:90vh;display:flex}.modal-header{border-bottom:1px solid var(--line);background:linear-gradient(#fff,#f8fbfd);flex:none;padding:18px 24px 0}.modal-header-row{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.modal-header h2{margin-top:2px;font-size:20px;font-weight:500}.modal-badges{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.modal-toolbar{justify-content:space-between;align-items:flex-end;gap:12px;margin-top:12px;display:flex}.modal-toolbar-left{min-width:0;overflow-x:auto}.modal-toolbar-actions{flex:none;gap:8px;padding-bottom:10px;display:flex}.modal-body{flex:auto;min-height:200px;padding:24px;overflow:auto}.modal-footer{border-top:1px solid var(--line);background:var(--background);flex:none;justify-content:flex-end;gap:8px;padding:14px 24px;display:flex}dialog.confirm{border:0;border-radius:12px;width:min(440px,92vw);padding:0;box-shadow:0 24px 64px #14283c4d}dialog.confirm::backdrop{background:#232a316b}.confirm-body{padding:24px}.confirm-body h3{margin-bottom:8px;font-size:16px}.confirm-body p{color:var(--muted);font-size:12px;line-height:1.6}.confirm-actions{justify-content:flex-end;gap:8px;margin-top:20px;display:flex}.empty{text-align:center;flex-direction:column;align-items:center;gap:6px;padding:48px 24px;display:flex}.empty.compact{padding:24px 16px}.empty-icon{background:var(--soft);width:48px;height:48px;color:var(--accent-ink);border-radius:50%;place-items:center;margin-bottom:8px;display:grid}.empty-icon svg{width:22px;height:22px}.empty h3{font-size:14px;font-weight:600}.empty p{color:var(--muted);max-width:420px;font-size:12px}.empty-action{margin-top:10px}.loading{color:var(--muted);justify-content:center;align-items:center;gap:10px;padding:24px;font-size:12px;display:flex}.loading.full{height:100vh}.spinner{border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;width:16px;height:16px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.detail-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px 24px;display:grid}.detail-grid dt{color:var(--muted);margin-bottom:2px;font-size:11px}.detail-grid dd{margin:0;font-size:13px}.inline-form{border:1px dashed var(--line-strong);border-radius:var(--radius);background:var(--background);flex-wrap:wrap;align-items:flex-end;gap:12px;padding:16px;display:flex}.inline-form .field{flex:180px}.inline-form .field.narrow{flex:0 120px}.row-actions{justify-content:flex-end;gap:6px;display:flex}.section-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.section-head h3{font-size:13px;font-weight:600}.section-head p{color:var(--muted);font-size:12px}.copy-box{border:1px solid var(--line);background:var(--background);font-family:var(--mono);word-break:break-all;border-radius:8px;align-items:center;gap:8px;padding:10px 12px;font-size:12px;display:flex}.copy-box code{flex:1}@media (width<=1100px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.page-header{flex-direction:column;margin-bottom:16px;padding:18px}.page-header:after{display:none}.page-header h1{font-size:20px}.kpi-grid{gap:12px;margin-bottom:16px}.kpi strong{font-size:24px}.modal-body{padding:16px}.modal-header{padding:14px 16px 0}.modal-toolbar{flex-direction:column;align-items:stretch}.modal-toolbar-actions{justify-content:flex-end}.popover.wide{min-width:min(420px,100vw - 48px)}}.auth-page{background:url(/login-waves.svg) 50%/cover no-repeat,linear-gradient(160deg,#232a31 0%,#2a3741 55%,#14638f 160%);place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{background:var(--surface);border-top:3px solid var(--accent);border-radius:12px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:min(960px,100%);min-height:560px;display:grid;overflow:hidden;box-shadow:0 30px 80px #00000059}.auth-brand{text-align:center;border-right:1px solid var(--line);background:linear-gradient(#fff,#f5f8fb);flex-direction:column;align-items:center;padding:44px 40px 32px;display:flex}.auth-brand img{object-fit:contain;width:110px;height:110px}.auth-brand h2{margin-top:18px;font-size:22px}.auth-brand h3{letter-spacing:-.02em;margin-top:40px;font-size:22px;line-height:1.35}.auth-rule{background:var(--accent);border-radius:2px;width:44px;height:3px;margin:18px auto 14px;display:block}.auth-values{letter-spacing:.14em;text-transform:uppercase;color:var(--muted);flex-wrap:wrap;justify-content:center;gap:0 10px;font-size:9px;display:flex}.auth-values span+span:before{content:"|";color:var(--line-strong);margin-right:10px}.auth-brand footer{border-top:1px solid var(--line);width:100%;color:var(--muted);margin-top:auto;padding-top:24px;font-size:11px;line-height:1.7}.auth-brand footer b{color:var(--text)}.auth-brand footer p{justify-content:center;align-items:center;gap:6px;display:flex}.auth-brand footer svg{width:12px;height:12px}.auth-panel{align-items:center;padding:44px 40px;display:flex}.auth-form{flex-direction:column;gap:16px;width:100%;display:flex}.auth-form .eyebrow{color:var(--accent)}.auth-form h1{margin-top:-8px;font-size:22px;font-weight:600}.auth-form>p{margin-top:-8px;font-size:12px}.auth-submit{min-height:42px;margin-top:8px}.auth-note{text-align:center;font-size:11px}.input-group.password .input{padding-left:12px;padding-right:40px}.input-group .suffix{width:30px;height:30px;color:var(--muted);border-radius:6px;place-items:center;display:grid;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.input-group .suffix svg{width:16px;height:16px}.no-access{text-align:center;background:var(--surface);border-top:3px solid var(--accent);border-radius:12px;flex-direction:column;align-items:center;gap:10px;width:min(440px,100%);padding:36px 32px;display:flex}.no-access>svg{width:36px;height:36px;color:var(--amber)}.no-access p{color:var(--muted);font-size:12px;line-height:1.6}.activity-list{flex-direction:column;display:flex}.activity-item{border-bottom:1px solid var(--line);color:inherit;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 20px;display:grid}.activity-item:last-child{border-bottom:0}.activity-item:hover{background:var(--background);text-decoration:none}.activity-item i{background:var(--accent);border-radius:50%;width:8px;height:8px}.activity-item b{color:var(--heading);font-size:13px;font-weight:500;display:block}.activity-item span{color:var(--muted);font-size:11px}.activity-item .num{font-size:12px}.scope-filter{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px;display:flex}.scope-filter .select{width:auto;min-width:200px}.segmented{border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:3px;display:inline-flex}.segmented button{color:var(--muted);border-radius:6px;padding:6px 12px;font-size:12px;font-weight:500}.segmented button.active{background:var(--soft);color:var(--accent-ink);font-weight:600}.rate-cards{flex-direction:column;gap:16px;display:flex}.rate-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.rate-card-head{align-items:center;gap:14px;padding:16px 20px;display:flex}.rate-card-head .icon-badge{border-radius:10px}.rate-card-title{flex:1;min-width:0}.rate-card-title b{color:var(--heading);font-size:14px;display:block}.rate-card-title span{color:var(--muted);font-size:11px}.rate-current{background:var(--background);border:1px solid var(--line);white-space:nowrap;border-radius:8px;align-items:baseline;gap:6px;padding:6px 12px;display:inline-flex}.rate-current b{color:var(--heading);font-size:14px}.rate-current span{color:var(--muted);font-size:11px}.rate-card table th{background:var(--surface);color:var(--muted);border-top:1px solid var(--line);font-weight:500;position:static}.rate-card td{font-size:12px}.rate-card tr.current td{background:#eef9f2}.rate-card tr.current td:first-child{box-shadow:inset 3px 0 var(--green)}.rate-card tr.scheduled td:first-child{box-shadow:inset 3px 0 var(--blue)}.rate-card tr.ended td{color:var(--muted)}.rate-card td small{color:var(--muted);font-size:11px;display:block}.rate-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;display:grid}.margin-preview{background:var(--soft);border-radius:8px;justify-content:space-between;align-items:center;padding:12px 14px;font-size:12px;display:flex}.margin-preview b{color:var(--accent-ink);font-size:14px}.invoice-meta{border:1px solid var(--line);border-radius:var(--radius);background:var(--background);grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px 24px;margin-bottom:20px;padding:16px 20px;display:grid}.invoice-meta dt{color:var(--muted);font-size:11px}.invoice-meta dd{margin:2px 0 0;font-size:13px;font-weight:500}.totals{width:min(320px,100%);margin-top:16px;margin-left:auto;font-size:12px}.totals div{border-bottom:1px solid var(--line);justify-content:space-between;padding:6px 0;display:flex}.totals div.grand{border-bottom:0;border-top:2px solid var(--heading);color:var(--heading);margin-top:4px;padding-top:10px;font-size:14px;font-weight:600}.role-list{flex-wrap:wrap;gap:6px;display:flex}.role-select{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:6px;display:grid}.role-select label{border:1px solid var(--line);cursor:pointer;border-radius:8px;align-items:flex-start;gap:8px;padding:8px 10px;font-size:12px;display:flex}.role-select label:hover{background:var(--background)}.role-select label b{font-weight:600;display:block}.role-select label span{color:var(--muted);font-size:11px}.permission-list{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:6px 12px;display:grid}.permission-list label{font-size:12px;font-family:var(--mono);align-items:center;gap:8px;display:flex}.user-cell b{font-weight:500;display:block}.user-cell span{color:var(--muted);font-size:11px}@media (width<=900px){.auth-card{grid-template-columns:minmax(0,1fr);min-height:0}.auth-brand{display:none}}@media (width<=680px){.auth-page{padding:12px}.auth-panel{padding:28px 20px}.rate-pair{grid-template-columns:minmax(0,1fr)}.rate-card-head{flex-wrap:wrap}}
