@charset "UTF-8";
:root{--ink:#172b37;--muted:#697983;--line:#e4eaed;--canvas:#f4f7f8;--teal:#008e83;--teal-dark:#00766d;--sidebar:#102a31;--radius:14px;--shadow:0 5px 25px #152e3d05;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;color:var(--ink);background:var(--canvas);font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #26bbaa;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #009e8b44;border-color:var(--teal)}h1,h2,h3,p{margin-top:0}h1{font-size:31px;letter-spacing:-.9px;font-weight:700;line-height:1.22;margin-bottom:9px}h2{font-size:17px;letter-spacing:-.3px;line-height:1.4;margin-bottom:6px}h3{font-size:15px;line-height:1.5;margin-bottom:6px}p{line-height:1.7}small{font-size:12px}.muted,.form-note{color:var(--muted)}.mono,code,.code-field{font-family:Consolas,"Liberation Mono",monospace;overflow-wrap:anywhere}.nowrap{white-space:nowrap}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.eyebrow{display:block;font-size:10px;font-weight:750;letter-spacing:1.8px;margin-bottom:12px}.teal{color:var(--teal)}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:var(--sidebar);color:#cad9dc;display:flex;flex-direction:column;padding:25px 17px 0;z-index:30}.brand{display:flex;align-items:center;gap:10px;color:#fff;font-size:11px;font-weight:750;letter-spacing:1px;padding:0 3px 26px}.brand-logo{display:flex;align-items:center;justify-content:center;background:#f5faf9;border-radius:10px;padding:5px;width:75px;height:55px;flex:none}.brand-logo img{width:65px;height:43px;object-fit:contain}.brand small{display:block;margin-top:6px;font-weight:400;font-size:10px;letter-spacing:0;color:#91a9ae}.nav-label{color:#6f9097;font-size:9px;letter-spacing:1.7px;font-weight:700;padding:14px 14px}.sidebar nav{overflow:auto;padding:0 0 20px;flex:1;scrollbar-width:thin}.nav-link{display:flex;align-items:center;position:relative;gap:12px;min-height:44px;border-radius:8px;padding:10px 13px;margin:3px 0;font-size:13px;transition:background .15s,color .15s}.nav-link svg{opacity:.7;flex:none}.nav-link:hover{background:#ffffff09;color:#fff}.nav-link.selected{background:#00a19124;color:#85e4d2}.nav-link.selected svg{opacity:1}.nav-link i{width:5px;height:5px;background:#4bd0b8;border-radius:50%;margin-left:auto}.sidebar-bottom{border-top:1px solid #ffffff13;display:flex;align-items:center;gap:10px;padding:20px 2px 23px}.user-avatar{width:35px;height:35px;border-radius:50%;background:#2c4f57;color:#e7f4f4;display:grid;place-items:center;font-weight:700;flex:none}.sidebar-user{min-width:0;flex:1}.sidebar-user strong,.sidebar-user small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-user strong{font-size:12px;color:#e5eeee}.sidebar-user small{font-size:10px;color:#84a2aa;margin-top:4px}.logout-form button{padding:5px;border:0;background:none;color:#8ca6ad;border-radius:4px}.logout-form button:hover{color:#fff;background:#ffffff10}.main-shell{margin-left:244px}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff;padding:0 36px;gap:20px}.breadcrumb{font-size:12px;color:#7d8b93}.breadcrumb span{padding:0 12px;color:#ccd5da}.breadcrumb strong{font-weight:500;color:#354c58}.topbar-right{display:flex;align-items:center;gap:8px;color:#7b8b92;font-size:11px}.privacy-dot{width:6px;height:6px;border-radius:50%;background:#1cae86}.role-pill{display:inline-block;border:1px solid var(--line);background:#fff;border-radius:6px;padding:6px 10px;font-size:11px;line-height:1.2;color:#47606d}.topbar .role-pill{margin-left:12px}.menu-toggle{display:none}.content{padding:34px 36px 0;max-width:1600px;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:27px}.page-heading .eyebrow{font-size:9px;margin-bottom:9px}.page-heading p{font-size:13px;color:var(--muted);margin:0}.heading-date{text-align:right;font-size:12px;color:#4b626d;white-space:nowrap}.heading-date small{display:block;color:#95a1a8;font-size:10px;margin-top:6px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0 0 25px}.stat-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:23px;box-shadow:var(--shadow);transition:transform .15s,border-color .15s}.stat-card:hover{transform:translateY(-2px);border-color:#abd8ce}.stat-icon{position:absolute;right:19px;top:20px;display:grid;place-items:center;width:34px;height:34px;border:1px solid #e4f0ed;background:#f0f9f6;border-radius:9px;color:#238a79}.stat-icon svg{width:18px}.stat-label{display:block;color:#6c7d86;font-size:11px;padding-right:29px;margin:2px 0 14px}.stat-card>strong{display:block;font-size:31px;font-weight:650;line-height:1.2;letter-spacing:-1px;margin-bottom:22px}.stat-link{font-size:10px;color:#86959c;display:flex;justify-content:space-between}.stat-link span{color:var(--teal)}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:22px;align-items:start}.dashboard-aside{display:grid;gap:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:22px;min-width:0}.panel-head{padding:22px 23px;display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-head h2{margin:0}.panel-head p{font-size:11px;color:var(--muted);margin:4px 0 0}.panel-head>.text-link{font-size:10px;white-space:nowrap}.text-link{color:var(--teal);font-size:12px;font-weight:550}.text-link:hover{text-decoration:underline}.table-scroll{width:100%;overflow:auto;border-radius:0 0 var(--radius) var(--radius)}table{width:100%;border-collapse:collapse;text-align:left;font-size:11px}thead{background:#f8fafb}th{font-size:10px;color:#81919b;font-weight:550;white-space:nowrap;border-top:1px solid #edf1f3;border-bottom:1px solid #edf1f3}th,td{padding:16px 22px;vertical-align:top}td{border-bottom:1px solid #edf1f3;line-height:1.5;color:#425965}tbody tr:last-child td{border-bottom:0}td strong{display:block;font-size:11px;font-weight:600;color:#2d4653;margin-bottom:3px}td small{display:block;color:#91a0a9;font-size:10px;line-height:1.6}td .mono{font-size:10px}tbody tr:hover{background:#fcfefe}.badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border-radius:5px;padding:4px 7px;font-size:9px;font-weight:550}.badge i{width:4px;height:4px;border-radius:50%;background:currentColor}.badge.positive{color:#0e9473;background:#eaf8f1}.badge.negative{color:#b94d58;background:#fff0f1}.badge.neutral{color:#9f7c38;background:#fcf6e9}.capacity{font-weight:650;color:#405e6b}.capacity span{color:#94a4ac;font-weight:400}.attention-card{background:#113c42;border:1px solid #0d3338;border-radius:var(--radius);padding:23px;color:#e9f7f4}.attention-card .eyebrow{font-size:8px;color:#83bcb8;margin-bottom:16px}.attention-card>strong{font-size:38px;font-weight:500;display:block;color:#83e5cf;margin-bottom:12px;line-height:1}.attention-card h3{font-size:14px}.attention-card p{font-size:11px;color:#9fbdbc;line-height:1.8;margin-bottom:18px}.quick-start{padding:23px;margin:0}.quick-start h3{font-size:12px;margin-bottom:19px}.quick-start ol{padding-left:18px;margin:0}.quick-start li{padding-left:6px;margin-bottom:18px;color:var(--teal);font-size:10px}.quick-start li:last-child{margin-bottom:0}.quick-start a{color:#405965;font-size:11px;font-weight:600}.quick-start a:hover{color:var(--teal)}.quick-start small{display:block;font-size:10px;color:#91a0a6;line-height:1.6;margin-top:4px}.quick-start .muted{font-size:12px}.button{display:inline-flex;align-items:center;justify-content:center;gap:15px;min-height:39px;border-radius:7px;padding:9px 16px;border:1px solid transparent;font-size:11px;font-weight:600;line-height:1.5;text-align:center;text-decoration:none;transition:background .15s,border-color .15s}.button.primary{background:var(--teal);color:#fff;border-color:var(--teal)}.button.primary:hover{background:var(--teal-dark)}.button.secondary{background:#fff;color:#3e5967;border-color:#dce5e9}.button.secondary:hover{background:#f4f8f8;border-color:#aacdc6}.button.light{background:#f4fcfa;color:#267e71;border-color:#d4eee7}.button.light:hover{background:#e0f6ef}.button.full{width:100%}.button.small{min-height:29px;padding:5px 10px;font-size:10px}.button.danger-outline{background:#fff;border-color:#f1d9dd;color:#b34c5c}.button.danger-outline:hover{background:#fff1f3}.notice{padding:15px 18px;border:1px solid;border-radius:9px;line-height:1.7;margin-bottom:22px;font-size:12px;overflow-wrap:anywhere}.notice a{text-decoration:underline;font-weight:600}.notice.success{background:#edf9f3;border-color:#cdeadd;color:#267b5c}.notice.danger{background:#fff1f3;border-color:#f4d9de;color:#ab4257}.notice.warning{background:#fff9ed;border-color:#eee1bf;color:#8e7138}.notice.info{background:#edf7fa;border-color:#d7e9ee;color:#47707e}.empty-state{text-align:center;padding:39px 25px 44px;border-top:1px solid #eef3f3}.empty-icon{display:inline-grid;place-items:center;width:48px;height:48px;background:#eef8f5;color:#60a99b;border-radius:50%;margin-bottom:15px}.empty-state h3{font-size:13px;color:#5f7884}.empty-state p{font-size:11px;color:#8b9da5;margin:6px auto 0;max-width:370px}.count{font-size:10px;font-weight:500;vertical-align:middle;background:#edf4f4;color:#6c9394;border-radius:5px;padding:3px 6px;margin-left:6px}.search-field{display:flex;align-items:center;gap:7px;border:1px solid #e2e9ed;border-radius:7px;padding:7px 11px;color:#83959e;font-size:18px}.search-field input{border:0;outline:0;min-width:0;width:140px;color:#385361;background:none;font-size:11px;padding:2px 0}.search-field:focus-within{border-color:var(--teal);outline:2px solid #009e8b22}.search-field input:focus{outline:0}.search-field input::placeholder{color:#a0afb6}.create-panel>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:14px;padding:19px 23px}.create-panel>summary::-webkit-details-marker{display:none}.create-panel>summary strong{display:block;font-size:13px;font-weight:600}.create-panel>summary small{display:block;color:#8798a1;font-size:10px;margin-top:4px;line-height:1.7}.create-icon{width:34px;height:34px;display:grid;place-items:center;color:var(--teal);font-size:23px;font-weight:300;background:#eef8f4;border-radius:9px;flex:none}.expand-label{margin-left:auto;color:var(--teal);font-size:10px;white-space:nowrap}.expand-label b{margin-left:10px;font-size:15px;font-weight:400}.create-panel[open] .expand-label b{display:inline-block;transform:rotate(180deg)}.create-body{padding:23px;border-top:1px solid var(--line);background:#fcfefe;border-radius:0 0 var(--radius) var(--radius)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px}.form-grid .wide{grid-column:1/-1}.field{display:block;min-width:0;margin-bottom:17px}.form-grid .field{margin-bottom:0}.field-label{display:block;color:#4e6571;font-size:11px;font-weight:550;margin-bottom:8px;line-height:1.5}.required{margin-left:5px;color:#b16e66;font-size:10px}.field input,.field textarea,.field select{width:100%;min-height:41px;border:1px solid #dce5e9;background:#fff;border-radius:7px;color:#344f5d;padding:10px 12px;line-height:1.5;font-size:12px;transition:border-color .15s}.field textarea{resize:vertical;min-height:72px}.field input:disabled,.field select:disabled{background:#f3f6f7;color:#7a8c95}.field input[type=password]{letter-spacing:1px}.field input::placeholder,.field textarea::placeholder{color:#acb8bf}.field-help{display:block;color:#92a0a9;font-size:10px;margin:6px 0 0;line-height:1.7}.form-note{font-size:11px;line-height:1.8;margin:16px 0}.form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:22px;padding-top:19px;border-top:1px solid #e8eff0}.checkbox{display:flex;gap:9px;align-items:flex-start;font-size:11px;color:#526d78;margin-top:15px;line-height:1.6}.checkbox input{accent-color:var(--teal);margin:2px 0 0;width:15px;height:15px}.readonly-value{margin:0;border:1px solid #e4eaed;background:#f7f9fa;border-radius:7px;min-height:41px;padding:10px 12px;color:#7b8e98;font-size:12px}.row-edit>summary{list-style:none;color:var(--teal);border:1px solid #daebe7;border-radius:5px;display:inline-block;padding:4px 9px;font-size:10px;cursor:pointer;background:#fff;white-space:nowrap}.row-edit>summary::-webkit-details-marker{display:none}.row-edit[open]{position:relative;z-index:5}.row-edit[open]>summary{background:#e8f8f1}.edit-popover{position:fixed;top:7vh;left:calc(244px + (100vw - 244px - min(680px, 100vw - 320px))/2);width:min(680px,calc(100vw - 320px));max-height:86vh;overflow:auto;background:#fff;border:1px solid #c5d9d7;border-radius:12px;padding:26px;box-shadow:0 18px 100px #052f3760;z-index:50}.edit-popover h3{font-size:18px;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:20px}.edit-popover-close{position:absolute;right:17px;top:17px;border:0;background:#eff5f4;color:#547a79;border-radius:50%;width:29px;height:29px;font-size:18px}.edit-popover-close:hover{background:#dff1eb}.inline-form{margin:0}.secret-box{border:1px solid #a6d9c9;background:#effcf6;border-radius:var(--radius);padding:23px;margin-bottom:24px}.secret-box .eyebrow{color:#4b9681;font-size:9px}.secret-box h2{color:#287c66}.secret-box p{font-size:12px;color:#669183;margin-bottom:17px}.secret-value{display:flex;align-items:center;gap:15px;padding:13px 15px;border:1px dashed #b5d9ca;border-radius:7px;background:#fff}.secret-value code{color:#176f55;flex:1;font-size:14px;line-height:1.8;user-select:all}.section-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.section-toolbar p{font-size:12px;margin:0}.audit-details{font-size:10px;line-height:1.7;white-space:pre-wrap;max-width:350px;min-width:180px;background:#f4f8f8;padding:10px;border-radius:6px;overflow-wrap:anywhere}.settings-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:22px;align-items:start}.padded{padding:25px}.padded>.muted{font-size:12px;margin:8px 0 23px}.profile-card{text-align:center;padding:35px}.large-avatar{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;margin:0 auto 19px;background:#e4f5ef;color:#2b8b75;font-size:22px;font-weight:650}.profile-card>p{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.profile-card .role-pill{margin-bottom:8px}.docs-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:22px;align-items:start}.prose{padding:25px}.prose p,.prose li{font-size:12px;color:#6d818c;line-height:1.9}.prose h2{margin-bottom:18px}.prose ol{padding-left:21px;margin:0}.prose li{padding-left:5px;margin-bottom:18px}.prose li:last-child{margin:0}.prose strong{color:#3c5c69}.prose .notice{margin-top:20px;margin-bottom:0;font-size:11px}.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 30px}.check-grid h3{font-size:12px;color:#3e6872}.check-grid p{font-size:11px;margin:0}.prose pre{background:#102d35;color:#bfe1d9;padding:18px;border-radius:8px;overflow:auto;font-size:11px;line-height:1.8;white-space:pre;max-width:100%}.prose code{font-size:11px}.api-route{display:flex;align-items:flex-start;gap:12px;border-top:1px solid var(--line);padding:14px 0;font-size:11px}.api-method{color:var(--teal);font-weight:700;background:#eaf7f2;border-radius:4px;padding:3px 6px;font-size:9px}.api-route p{margin:3px 0 0;font-size:11px}.footer{display:flex;gap:20px;justify-content:space-between;align-items:flex-start;border-top:1px solid var(--line);padding:22px 0 25px;margin-top:33px;color:#96a4ad;font-size:9px;line-height:1.8}.footer span:first-child{font-weight:600;color:#70858e;white-space:nowrap}.footer span:last-child{text-align:right}.login-page{background:#fff}.login-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-intro{padding:65px max(45px,8vw);background:#11363d;color:#f3faf8;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-intro:after{content:"";width:430px;height:430px;position:absolute;border:1px solid #ffffff08;border-radius:50%;right:-260px;bottom:-180px;box-shadow:0 0 0 70px #ffffff02,0 0 0 140px #ffffff02;pointer-events:none}.login-logo{display:grid;place-items:center;width:145px;height:99px;background:#f7fcfa;border-radius:14px;margin-bottom:62px}.login-logo img{width:126px;height:80px}.login-intro .eyebrow{font-size:9px;color:#79b6b3;margin-bottom:18px}.login-intro h1{font-size:clamp(32px,3.7vw,52px);letter-spacing:-1.6px;line-height:1.23;margin-bottom:22px}.login-intro>p{font-size:13px;color:#a4c3c5;line-height:1.9;max-width:310px}.login-points{margin-top:32px;display:grid;gap:20px;color:#60afaa;font-size:10px}.login-points b{font-weight:450;color:#c3dbda;margin-left:13px;font-size:12px}.login-intro .intro-foot{font-size:10px;color:#6d989d;margin-top:65px;margin-bottom:0}.login-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:50px 35px;position:relative;background:radial-gradient(ellipse at 100% 0,#f4faf7,transparent 60%)}.login-card{width:100%;max-width:350px}.login-card>.eyebrow{font-size:9px}.login-card h2{font-size:26px;letter-spacing:-.7px;margin-bottom:12px}.login-card>.muted{font-size:12px;margin-bottom:30px}.login-form .field{margin-bottom:20px}.login-form .field input{min-height:46px}.login-form .button{min-height:46px;margin-top:5px;justify-content:space-between;padding:11px 17px;font-size:12px}.login-form .button span{font-size:20px;font-weight:400}.login-note{font-size:10px;color:#97a7af;text-align:center;line-height:1.8;margin:25px 0 0}.login-bottom{position:absolute;bottom:20px;color:#a5b3ba;font-size:9px}.filter-empty{padding:20px 25px;color:#8b9da5;font-size:12px;text-align:center}.filter-result{font-size:10px;color:#7f969e;margin-left:10px}.ui-toast{position:fixed;bottom:25px;right:25px;max-width:calc(100vw - 50px);padding:13px 18px;border:1px solid #abdbca;border-radius:9px;background:#edfcf6;color:#2a7a60;font-size:12px;z-index:100;box-shadow:0 7px 25px #183b2f20}
@media(min-width:1600px){.content{padding-left:50px;padding-right:50px}.topbar{padding-left:50px;padding-right:50px}.stats-grid{gap:24px}.dashboard-columns{grid-template-columns:minmax(0,1fr) 300px}}
@media(max-width:1200px){.sidebar{width:215px;padding-left:12px;padding-right:12px}.main-shell{margin-left:215px}.brand{gap:7px;font-size:9px}.brand-logo{width:66px;height:50px}.brand-logo img{width:57px}.content{padding:29px 24px 0}.topbar{padding:0 24px}.stats-grid{gap:12px}.stat-card{padding:20px 17px}.stat-label{font-size:10px}.stat-icon{right:15px;width:29px;height:29px}.dashboard-columns{grid-template-columns:minmax(0,1fr)}.dashboard-aside{grid-template-columns:1fr 1fr;align-items:start}.dashboard-columns>.panel{margin-bottom:0}.edit-popover{left:calc(215px + (100vw - 215px - min(650px, 100vw - 270px))/2);width:min(650px,calc(100vw - 270px))}th,td{padding:15px 18px}.settings-layout,.docs-grid{grid-template-columns:1fr 1fr}.panel-head{padding:20px}.search-field input{width:115px}.login-intro{padding:50px 7vw}.login-logo{margin-bottom:45px}}
@media(max-width:900px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-layout,.docs-grid{grid-template-columns:1fr}.settings-layout>.panel,.docs-grid>.panel{margin-bottom:0}.settings-layout,.docs-grid{margin-bottom:22px}.page-heading h1{font-size:27px}.topbar-right{font-size:10px}.topbar-right .role-pill{display:none}.footer{flex-direction:column;gap:5px}.footer span:last-child{text-align:left}.login-intro{padding:40px}.login-intro h1{font-size:34px}.login-intro>p{font-size:12px}.login-panel{padding:35px}.login-card h2{font-size:24px}}
@media(max-width:700px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:244px;box-shadow:15px 0 60px #082a342a}.sidebar.mobile-open{transform:translateX(0)}.main-shell{margin-left:0}.topbar{height:62px;padding:0 19px;justify-content:flex-start;gap:15px}.menu-toggle{display:grid;place-items:center;border:1px solid var(--line);background:#fff;border-radius:6px;width:31px;height:31px;font-size:17px;color:#4f717b}.breadcrumb{font-size:11px}.breadcrumb span{padding:0 8px}.topbar-right{margin-left:auto;font-size:0;gap:0}.privacy-dot{width:7px;height:7px}.content{padding:25px 18px 0}.page-heading{margin-bottom:22px;gap:15px}.page-heading h1{font-size:26px}.page-heading p{font-size:12px}.page-heading .eyebrow{font-size:8px}.heading-date{font-size:10px}.heading-date small{display:none}.stats-grid{gap:12px;margin-bottom:20px}.stat-card{padding:19px}.stat-card>strong{font-size:29px;margin-bottom:18px}.stat-label{font-size:10px}.stat-icon{right:17px;top:16px;width:28px;height:28px}.stat-icon svg{width:16px}.stat-link{font-size:9px}.dashboard-columns{gap:18px}.dashboard-aside{gap:15px}.attention-card,.quick-start{padding:20px}.attention-card>strong{font-size:34px}.attention-card h3{font-size:12px}.attention-card p{font-size:10px}.quick-start h3{font-size:11px}.quick-start small{font-size:9px}.quick-start a{font-size:10px}.quick-start ol{padding-left:13px}.panel-head{padding:18px}.panel-head h2{font-size:14px}.panel-head>.text-link{font-size:9px}.panel-head p{font-size:10px}th,td{padding:14px 16px;font-size:10px}.table-scroll table{min-width:560px}.table-scroll table#licenses-table{min-width:800px}.table-scroll table#activations-table{min-width:820px}.table-scroll table#audit-table{min-width:800px}.table-scroll table#users-table{min-width:700px}.table-scroll table#customers-table{min-width:700px}.search-field{padding:6px 8px}.search-field input{width:100px;font-size:10px}.count{font-size:9px;padding:2px 5px;margin-left:3px}.create-panel>summary{padding:16px;gap:10px}.create-panel>summary strong{font-size:12px}.create-panel>summary small{font-size:9px;max-width:260px}.create-icon{width:29px;height:29px;font-size:20px}.expand-label{font-size:0}.expand-label b{font-size:17px;margin-left:5px}.create-body{padding:19px}.form-grid{gap:17px;grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.form-actions{margin-top:19px}.form-actions .button{width:100%}.edit-popover{left:15px;width:calc(100vw - 30px);top:5vh;max-height:90vh;padding:22px}.secret-box{padding:19px}.secret-value{align-items:stretch;flex-direction:column;gap:10px}.secret-value code{font-size:12px}.secret-value .button{min-height:32px}.notice{font-size:11px;padding:13px 15px}.settings-layout,.docs-grid{gap:18px}.padded,.prose{padding:21px}.prose p,.prose li{font-size:11px}.check-grid{gap:17px;grid-template-columns:1fr}.section-toolbar p{font-size:11px}.section-toolbar .button{white-space:nowrap}.footer{margin-top:25px;font-size:8px}.login-layout{grid-template-columns:1fr}.login-intro{padding:30px;min-height:0}.login-logo{width:95px;height:63px;border-radius:9px;margin-bottom:25px}.login-logo img{width:81px;height:52px}.login-intro h1{font-size:30px;letter-spacing:-1px;margin-bottom:13px}.login-intro .eyebrow{font-size:8px;margin-bottom:13px}.login-intro>p{font-size:11px;max-width:330px;margin-bottom:0}.login-points,.login-intro .intro-foot{display:none}.login-panel{padding:40px 30px 65px;min-height:500px}.login-card{max-width:380px}.login-bottom{font-size:8px;bottom:12px}.login-card>.muted{font-size:11px}.login-card h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.create-panel,.row-edit,.search-field,.form-actions,.section-toolbar .button{display:none}.main-shell{margin:0}.content{padding:0}.panel,.stat-card{box-shadow:none}.table-scroll{overflow:visible}table{min-width:0!important}.footer{margin-top:15px}.secret-box{break-inside:avoid}.stats-grid{grid-template-columns:repeat(4,1fr)}}
/* 0.6.2 — wizards, colour coding and consistent fields */
:root{--company:#008e83;--company-bg:#e7f6f3;--book:#2f6bd8;--book-bg:#eaf1fd;--admin:#7a4fd6;--admin-bg:#f1ecfd;--demo:#c27d0a;--demo-bg:#fdf4e2;--ok:#0e8f6f;--ok-bg:#e9f7f0;--warn:#a86f12;--warn-bg:#fdf5e4;--bad:#c2414f;--bad-bg:#fdeff1;--grey:#667983;--grey-bg:#eef2f4}
[hidden]{display:none!important}
fieldset{border:0;margin:0;padding:0;min-width:0}
.field select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#6f8792 50%),linear-gradient(135deg,#6f8792 50%,transparent 50%);background-position:calc(100% - 17px) 18px,calc(100% - 12px) 18px;background-size:5px 5px;background-repeat:no-repeat;padding-right:32px}
.field.compact{margin:0}.field.compact .field-label{font-size:10px;margin-bottom:5px}.field.compact input{min-height:36px;padding:7px 10px}
.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-actions.start{justify-content:flex-start;border-top:0;padding-top:0;margin-top:16px;flex-wrap:wrap}
.error-text{color:var(--bad)!important}.step-sub{font-size:12px;color:#38535f;margin:24px 0 10px;font-weight:650}.step-sub small{font-weight:400;color:var(--muted);margin-left:6px}
.badge.warning{color:var(--warn);background:var(--warn-bg)}
/* kind colours */
.kind-chip{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:4px 10px;font-size:10px;font-weight:650;white-space:nowrap;border:1px solid transparent}
.kind-chip:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.kind-chip.company{color:var(--company);background:var(--company-bg);border-color:#bfe6de}.kind-chip.bookkeeper{color:var(--book);background:var(--book-bg);border-color:#c9daf8}.kind-chip.admin{color:var(--admin);background:var(--admin-bg);border-color:#dccff8}.kind-chip.demo{color:var(--demo);background:var(--demo-bg);border-color:#f2dcae}
.kind-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin:0 2px 0 8px;vertical-align:middle}.kind-dot.company{background:var(--company)}.kind-dot.bookkeeper{background:var(--book)}.kind-dot.admin{background:var(--admin)}.kind-dot.demo{background:var(--demo)}
.kind-row td:first-child{box-shadow:inset 4px 0 0 var(--company)}.kind-row.bookkeeper td:first-child{box-shadow:inset 4px 0 0 var(--book)}.kind-row.admin td:first-child{box-shadow:inset 4px 0 0 var(--admin)}.kind-row.is-demo td:first-child{box-shadow:inset 4px 0 0 var(--demo)}
.selected-row{background:#f5fbfa}
.policy-table td{vertical-align:middle}.policy-table td small.days{font-weight:600}.days.positive{color:var(--ok)!important}.days.warning{color:var(--warn)!important}.days.negative{color:var(--bad)!important}
.access-chip{display:inline-block;border-radius:6px;padding:4px 8px;font-size:10px;font-weight:600;white-space:nowrap}.access-chip.sent{color:var(--ok);background:var(--ok-bg)}.access-chip.created{color:var(--warn);background:var(--warn-bg)}.access-chip.failed{color:var(--bad);background:var(--bad-bg)}.access-chip.none{color:var(--grey);background:var(--grey-bg)}
/* overview tiles */
.tile-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}
.tile{border-radius:var(--radius);padding:18px 20px;border:1px solid;display:flex;flex-direction:column;gap:4px}.tile strong{font-size:28px;line-height:1.1;font-weight:650}.tile span{font-size:11px}
.tile.green{background:var(--ok-bg);border-color:#c8eadb;color:var(--ok)}.tile.amber{background:var(--warn-bg);border-color:#f0dfb6;color:var(--warn)}.tile.red{background:var(--bad-bg);border-color:#f3d2d8;color:var(--bad)}.tile.violet{background:var(--admin-bg);border-color:#dfd3f7;color:var(--admin)}
/* collapsible wizard and advanced panels */
.create-wizard>summary,.legacy-panel>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:14px;padding:19px 23px}.create-wizard>summary::-webkit-details-marker,.legacy-panel>summary::-webkit-details-marker{display:none}
.create-wizard>summary strong,.legacy-panel>summary strong{display:block;font-size:14px;font-weight:650}.create-wizard>summary small,.legacy-panel>summary small{display:block;color:#8798a1;font-size:11px;margin-top:4px}
.create-wizard>summary{background:linear-gradient(90deg,#e9f8f4,#fff 70%);border-radius:var(--radius)}.create-wizard>summary .create-icon{background:var(--company);color:#fff}
.create-wizard[open]>summary{border-radius:var(--radius) var(--radius) 0 0;border-bottom:1px solid var(--line)}.create-wizard[open] .expand-label b,.legacy-panel[open] .expand-label b{display:inline-block;transform:rotate(180deg)}
.create-wizard .wizard-card{border:0;box-shadow:none;margin:0}
.legacy-panel>summary{color:#5d7480}.legacy-panel .legacy-body{border-top:1px solid var(--line);padding:22px;background:#fafcfc;border-radius:0 0 var(--radius) var(--radius)}.legacy-body .panel{box-shadow:none}
/* wizard */
.wizard-card{padding:24px 26px}.wizard-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px;flex-wrap:wrap}.wizard-head h2{font-size:19px}.wizard-head .muted{font-size:12px;margin:0}.wizard-head.compact{margin:16px 0 16px}
.wizard-progress{display:flex;gap:6px;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.wizard-progress li{display:flex;align-items:center;gap:8px;padding:7px 12px 7px 7px;border-radius:999px;background:#eef3f5;color:#6f828b;font-size:11px;font-weight:600}
.wizard-progress b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#fff;color:#6f828b;font-size:11px}
.wizard-progress li.current{background:var(--company);color:#fff}.wizard-progress li.current b{color:var(--company)}
.wizard-progress li.done{background:var(--company-bg);color:var(--company);cursor:pointer}.wizard-progress li.done b{background:var(--company);color:#fff}
.wizard-step{border:1px solid var(--line);border-radius:12px;padding:22px;margin-bottom:16px;background:#fff}
.wizard-step legend{float:left;width:100%;font-size:15px;font-weight:650;color:#21404d;margin:0 0 18px;padding:0;display:flex;align-items:center;gap:10px}
.wizard-step legend b{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--company);color:#fff;font-size:12px;flex:none}
.wizard-step>legend~*{clear:both}
.wizard.js-on .wizard-step{display:none;border:0;padding:4px 0 0}.wizard.js-on .wizard-step.active{display:block;animation:step-in .18s ease-out}
@keyframes step-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.wizard-nav{display:flex;align-items:center;gap:12px;justify-content:flex-end;border-top:1px solid var(--line);padding-top:18px;margin-top:8px}
.wizard-counter{margin-right:auto;color:var(--muted);font-size:11px}
.wizard:not(.js-on) [data-wizard-prev],.wizard:not(.js-on) [data-wizard-next],.wizard:not(.js-on) [data-wizard-counter]{display:none}
.wizard.js-on [data-wizard-submit]{display:none}.wizard.js-on.last [data-wizard-submit]{display:inline-flex}.wizard.js-on.last [data-wizard-next]{display:none}.wizard.js-on.first [data-wizard-prev]{visibility:hidden}
.button.submit-final{background:var(--ok);border-color:var(--ok)}.button.submit-final:hover{background:#0b7a5e}
.product-line{display:flex;align-items:center;gap:8px;font-size:12px;color:#4c6570;margin:0 0 16px}.product-line svg{color:var(--company)}
/* choice cards */
.choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.choice-card{position:relative;display:flex;flex-direction:column;gap:6px;padding:18px;border:2px solid #e2eaee;border-radius:12px;cursor:pointer;background:#fff;transition:border-color .15s,box-shadow .15s,transform .15s}
.choice-card:hover{transform:translateY(-1px);box-shadow:0 6px 18px #18394a10}
.choice-card input{position:absolute;opacity:0;pointer-events:none}.choice-card strong{font-size:14px}.choice-card small{font-size:11px;color:var(--muted);line-height:1.6}
.choice-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;flex:none}
.choice-card.company .choice-icon{background:var(--company-bg);color:var(--company)}.choice-card.bookkeeper .choice-icon{background:var(--book-bg);color:var(--book)}.choice-card.admin .choice-icon{background:var(--admin-bg);color:var(--admin)}
.choice-card.company:has(input:checked){border-color:var(--company);background:#f4fcfa;box-shadow:0 0 0 4px #008e8314}.choice-card.bookkeeper:has(input:checked){border-color:var(--book);background:#f6f9ff;box-shadow:0 0 0 4px #2f6bd814}.choice-card.admin:has(input:checked){border-color:var(--admin);background:#faf7ff;box-shadow:0 0 0 4px #7a4fd614}
.choice-card:has(input:focus-visible),.toggle-card:has(input:focus-visible),.pill:has(input:focus-visible),.chip-check:has(input:focus-visible),.segmented label:has(input:focus-visible){outline:3px solid #26bbaa;outline-offset:2px}
.toggle-card{display:flex;align-items:flex-start;gap:14px;margin-top:16px;padding:15px 16px;border:2px dashed #e2eaee;border-radius:12px;cursor:pointer;background:#fff}
.toggle-card input{width:18px;height:18px;margin:11px 0 0;accent-color:var(--company);flex:none}.toggle-card strong{display:block;font-size:13px}.toggle-card small{display:block;font-size:11px;color:var(--muted);line-height:1.6;margin-top:3px}
.toggle-card.demo .choice-icon{background:var(--demo-bg);color:var(--demo)}.toggle-card.demo input{accent-color:var(--demo)}.toggle-card.demo:has(input:checked){border-style:solid;border-color:var(--demo);background:#fffbf3}
.toggle-card.access .choice-icon{background:var(--ok-bg);color:var(--ok)}.toggle-card.access:has(input:checked){border-style:solid;border-color:var(--ok);background:#f5fcf8}
.sub-options{margin:6px 0 0 18px;padding:4px 0 0 18px;border-left:2px solid #f2dcae}
.segmented{display:inline-flex;flex-wrap:wrap;gap:6px;background:#eef3f5;border-radius:10px;padding:4px;margin-bottom:16px}
.segmented label{cursor:pointer;position:relative}.segmented input{position:absolute;opacity:0;pointer-events:none}
.segmented span{display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border-radius:7px;font-size:12px;font-weight:600;color:#56707b}
.segmented span svg{width:16px;height:16px}
.segmented input:checked+span{background:#fff;color:var(--company);box-shadow:0 1px 4px #17304014}
.segmented.status label.active input:checked+span{color:var(--ok)}.segmented.status label.suspended input:checked+span{color:var(--warn)}.segmented.status label.revoked input:checked+span{color:var(--bad)}
.segmented input:disabled+span{opacity:.45;cursor:not-allowed}
.duration-chips{display:flex;flex-wrap:wrap;gap:8px}
.pill{cursor:pointer;position:relative}.pill input{position:absolute;opacity:0;pointer-events:none}
.pill span{display:inline-block;padding:8px 14px;border:1px solid #d9e3e7;border-radius:999px;font-size:12px;color:#4b6470;background:#fff;font-weight:550}
.pill input:checked+span{background:var(--company);border-color:var(--company);color:#fff}.pill.demo input:checked+span{background:var(--demo);border-color:var(--demo)}
.expiry-preview{align-self:end;margin:0 0 10px;font-size:12px;color:var(--company);font-weight:600}
.chip-grid{display:flex;flex-wrap:wrap;gap:8px}
.chip-check{cursor:pointer;position:relative}.chip-check input{position:absolute;opacity:0;pointer-events:none}
.chip-check span{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:8px;border:1px solid #dbe4e8;background:#fff;font-size:11.5px;color:#5c7480}
.chip-check span:before{content:"";width:14px;height:14px;border-radius:4px;border:1.5px solid #b5c6cd;background:#fff;flex:none}
.chip-check input:checked+span{background:var(--company-bg);border-color:#9fd8cc;color:#0b6f66;font-weight:600}
.chip-check input:checked+span:before{background:var(--company) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8 3 3 5-6' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat;border-color:var(--company)}
.chip-check.basic span{border-style:dashed}
.caps-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.summary-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 18px}
.summary-list>div{background:#f6f9fa;border:1px solid #e6edf0;border-radius:9px;padding:11px 13px;min-width:0}
.summary-list dt{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.8px;margin-bottom:4px}
.summary-list dd{margin:0;font-size:12.5px;color:#203e4b;font-weight:600;overflow-wrap:anywhere}
/* row editor dialog */
.wizard-popover{width:min(860px,calc(100vw - 320px));left:calc(244px + (100vw - 244px - min(860px, 100vw - 320px))/2)}
.wizard-popover h3{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.quick-actions{display:flex;flex-wrap:wrap;gap:8px;padding:12px;background:#f6f9fa;border:1px solid #e6edf0;border-radius:10px}.quick-actions .button svg{width:15px;height:15px}
.row-edit>summary{font-weight:600;padding:6px 12px;background:var(--company-bg);border-color:#bfe6de}
/* filters */
.filter-chips{display:flex;flex-wrap:wrap;gap:8px;padding:0 23px 18px}
.filter-chip{border:1px solid #dbe4e8;background:#fff;border-radius:999px;padding:6px 12px;font-size:11px;color:#56707b;font-weight:600}
.filter-chip b{margin-left:4px;font-weight:700;color:#8aa0a9}
.filter-chip.active{background:#1f3c47;border-color:#1f3c47;color:#fff}.filter-chip.active b{color:#9fd8cc}
.filter-chip.company:not(.active){border-color:#bfe6de;color:var(--company)}.filter-chip.bookkeeper:not(.active){border-color:#c9daf8;color:var(--book)}.filter-chip.admin:not(.active){border-color:#dccff8;color:var(--admin)}.filter-chip.demo:not(.active){border-color:#f2dcae;color:var(--demo)}.filter-chip.soon:not(.active){border-color:#f0dfb6;color:var(--warn)}.filter-chip.expired:not(.active){border-color:#f3d2d8;color:var(--bad)}
/* authority page */
.intro-card .form-actions.start{margin-top:6px}
.section-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:6px}.section-title h2{margin:0}
.matrix-box{margin-top:18px;border:1px solid var(--line);border-radius:10px}
.matrix-box>summary{cursor:pointer;padding:13px 16px;font-size:12px;font-weight:650;color:#38535f}.matrix-box>summary small{font-weight:400;color:var(--muted);margin-left:8px}
.matrix th,.matrix td{padding:8px 10px;text-align:center}.matrix td:first-child,.matrix th:first-child{text-align:left;white-space:nowrap;font-weight:600;color:#38535f}
.matrix .all-row td{background:#f6f9fa}
.perm-select{appearance:none;border:1px solid #dbe4e8;border-radius:6px;padding:5px 8px;font-size:10.5px;font-weight:600;background:var(--grey-bg);color:var(--grey);min-width:82px;text-align:center;cursor:pointer}
.perm-select[data-value=allow]{background:var(--ok-bg);color:var(--ok);border-color:#c8eadb}.perm-select[data-value=deny]{background:var(--bad-bg);color:var(--bad);border-color:#f3d2d8}
.member-list{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.member-chip{padding:6px 12px;border-radius:999px;background:var(--book-bg);color:var(--book);font-size:11.5px;font-weight:600;border:1px solid #c9daf8}.member-chip.off{background:var(--grey-bg);color:var(--grey);border-color:#dbe4e8}.member-chip.current{background:var(--book);color:#fff}
.demo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}
.demo-card{border:1px solid var(--line);border-left:4px solid var(--demo);border-radius:10px;padding:12px 14px;background:#fff}.demo-card>summary{cursor:pointer;display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px}
.state-chip{border-radius:999px;padding:3px 9px;font-size:10px;font-weight:650;white-space:nowrap}.state-chip.violet{background:var(--admin-bg);color:var(--admin)}.state-chip.amber{background:var(--warn-bg);color:var(--warn)}.state-chip.red{background:var(--bad-bg);color:var(--bad)}.state-chip.green{background:var(--ok-bg);color:var(--ok)}.state-chip.grey{background:var(--grey-bg);color:var(--grey)}
.setup-card{border:2px dashed #bfe6de}
@media(max-width:1200px){.wizard-popover{left:calc(215px + (100vw - 215px - min(820px, 100vw - 270px))/2);width:min(820px,calc(100vw - 270px))}.caps-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.tile-row{grid-template-columns:repeat(2,minmax(0,1fr))}.choice-grid{grid-template-columns:1fr}.demo-grid{grid-template-columns:1fr}.form-grid.three{grid-template-columns:1fr}}
@media(max-width:700px){.wizard-card{padding:18px}.wizard-progress li span{display:none}.wizard-progress li{padding:5px}.wizard-step{padding:16px}.summary-list{grid-template-columns:1fr}.caps-grid{grid-template-columns:1fr 1fr}.wizard-nav{flex-wrap:wrap}.wizard-nav .button{flex:1}.wizard-counter{width:100%;order:-1;text-align:center}.wizard-popover{left:10px;width:calc(100vw - 20px)}.filter-chips{padding:0 18px 16px}.tile strong{font-size:23px}.segmented{display:flex}.segmented label{flex:1}.segmented span{justify-content:center;width:100%}}
.chip-hidden{display:none}
.chip-grid+.field,.chip-grid+.notice,.form-grid+.field,.caps-grid+.field{margin-top:18px}
.quick-start .button.full{margin-bottom:18px}
