/* Arisingtech Licensing v0.6.4 – dashboard theme, no external dependencies */
:root{--bg:#061321;--panel:#091b2c;--border:#17344b;--muted:#9fb4cf;--blue:#075fc9;--green:#06935b;--orange:#d19a26;--red:#c92d3d;--text:#eff6ff}
html{font-size:15px}body{background:#05111e;color:var(--text);font-family:Inter,Segoe UI,Arial,sans-serif;line-height:1.42}main{width:100%;max-width:none;padding:0;margin:0}.ui-icon{display:inline-block;vertical-align:middle;flex-shrink:0}
.brand-header{display:none}.site-footer{margin:25px 24px 12px;font-size:11px;border-color:#153147}.admin-layout{display:grid;grid-template-columns:236px minmax(0,1fr);gap:0;min-height:calc(100vh - 45px);align-items:stretch}.admin-sidebar{display:flex;flex-direction:column;gap:0;position:sticky;top:0;height:100vh;min-height:620px;background:linear-gradient(155deg,#091e32,#061626 75%);border:0;border-right:1px solid #18334b;border-radius:0;padding:0 10px}.sidebar-brand{height:70px;display:flex;align-items:center;gap:10px;padding:7px 8px 8px;border-bottom:1px solid #1b344b;margin-bottom:15px}.sidebar-brand img{width:49px;height:49px;object-fit:contain}.sidebar-brand strong{display:block;font-size:17px;letter-spacing:.8px;line-height:1.1}.sidebar-brand small{display:block;font-size:11px;letter-spacing:1.5px;color:#b1c7e2;margin-top:4px}.sidebar-brand em{font-style:normal;letter-spacing:0;font-size:10px;color:#a7bed8;margin-left:6px}.admin-sidebar nav{display:flex;flex-direction:column;gap:4px}.admin-sidebar nav a,.sidebar-extra a{display:flex;align-items:center;gap:15px;padding:13px 13px;border-radius:8px;text-decoration:none;color:#dce9fb;font-size:14px;min-height:45px}.admin-sidebar nav a:hover,.sidebar-extra a:hover{background:#102d4b}.admin-sidebar nav a.current{background:linear-gradient(90deg,#114d9e,#0b346b);color:#fff}.sidebar-extra{border-top:1px solid #173047;margin-top:25px;padding-top:15px}.sidebar-extra>span{font-size:10px;letter-spacing:1px;color:#839ebc;padding-left:14px}.sidebar-extra a{margin-top:8px;font-size:12px}
.admin-main{min-width:0}.topbar{height:70px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:10px 22px 10px 28px;background:#07192a;border-bottom:1px solid #18344b}.topbar-heading h1{font-size:20px;margin:0;line-height:1.2}.topbar-heading p{font-size:12px;color:#b6c9e0;margin:5px 0 0}.topbar-tools{display:flex;gap:20px;align-items:center}.topbar-search{display:flex;gap:10px;align-items:center;width:290px;padding:11px 13px;background:#11263b;border:1px solid #1c3b57;border-radius:7px;color:#b2c5de;font-size:12px;text-decoration:none}.topbar-admin{display:flex;align-items:center;gap:8px;font-size:12px}.topbar-admin svg{background:#18385d;border-radius:50%;width:31px;height:31px;padding:6px}.admin-content{padding:14px 14px 28px;max-width:1900px;margin:0 auto}.dash-title{display:none}
.dash-kpis{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:0 0 14px}.dash-kpi{min-height:88px;padding:12px 9px;display:flex;flex-direction:row;gap:10px;align-items:center;background:linear-gradient(140deg,#0d2939,#0b1e30);border:1px solid #19394f;border-radius:10px}.dash-kpi.good,.dash-kpi.warn,.dash-kpi.bad,.dash-kpi.neutral,.dash-kpi.blue,.dash-kpi.purple{border-left:1px solid #19394f}.dash-kpi .kpi-icon{width:53px;height:58px;border-radius:9px;display:grid;place-items:center;color:white;background:#086d49}.dash-kpi.warn .kpi-icon{background:#83631a}.dash-kpi.bad .kpi-icon{background:#962631}.dash-kpi.neutral .kpi-icon{background:#4a617b}.dash-kpi.blue .kpi-icon{background:#075dc4}.dash-kpi.purple .kpi-icon{background:#6335b5}.dash-kpi .kpi-copy{display:flex;flex-direction:column;min-width:0}.dash-kpi .kpi-copy>span{font-size:12px;color:#b8cce3;white-space:normal}.dash-kpi strong{font-size:24px;line-height:1.2;margin-top:2px}.dash-kpi small{font-size:10px;color:#93abc6;margin-top:3px}
.dash-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:12px}.dash-grid>.panel{grid-column:span 6;min-height:220px}.dash-grid>.dash-recent{grid-column:span 8}.dash-grid>.dash-detail{grid-column:span 4}.panel{background:linear-gradient(150deg,#0a1d2e,#081827);border:1px solid #19364e;border-radius:9px;padding:12px;margin-bottom:14px;box-shadow:0 3px 12px #0002}.dash-grid .panel{margin:0}.dash-section-head{margin:0 0 10px;min-height:27px}.dash-section-head h2{font-size:15px;display:flex;gap:8px;align-items:center;color:#f1f6ff}.dash-section-head h2 svg{color:#e6f3ff}.dash-section-head a{display:flex;align-items:center;gap:5px;color:#4aa2ff;font-size:12px}.dash-table{min-width:470px;font-size:11.5px}.dash-table th{font-size:11px;font-weight:500;color:#bed0e5;background:#152c43}.dash-table td,.dash-table th{padding:8px 10px;line-height:1.35}.dash-table td{color:#dbe7f7}.dash-table td:last-child{min-width:0}.dash-table .state,.state{font-size:11px;padding:5px 9px;border-radius:7px}.state-active{background:#075737;color:#9bf2bf}.state-grace{background:#a96c0e;color:#fff}.state-suspended,.state-expired{background:#742129;color:#fff}.state-revoked{background:#55232c;color:#ffa4b1}.dash-table a:not(.btn){color:#62aaff;text-decoration:none;font-weight:600}.dash-table tr:hover td{background:#102d44}
.dash-detail>p{font-size:12px;margin:4px 0}.dash-detail h3{font-size:19px;margin:6px 0 12px}.dash-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 10px}.dash-detail-grid>div{display:flex;align-items:flex-start;gap:9px;min-width:0}.dash-detail-grid>div svg{color:#e0eeff;margin-top:2px}.dash-detail-grid>div span{display:flex;flex-direction:column;font-size:11px;color:#a9c0d8}.dash-detail-grid>div strong{color:#f0f7ff;font-size:12px;font-weight:600;overflow-wrap:anywhere}.dash-detail-actions{display:flex;gap:8px;margin-top:18px}.dash-detail-actions a{flex:1;min-width:0}.dash-detail-actions .ui-icon{margin-right:5px}
.license-workspace{grid-template-columns:minmax(0,1.75fr) minmax(320px,.85fr)}.license-workspace>.panel{padding:14px;background:linear-gradient(150deg,#0a1d2e,#081827);border:1px solid #19364e;box-shadow:none}.license-table{font-size:12px}.license-table th{background:#142b42;font-size:11px}.license-table td{padding:10px 8px}.license-side{top:12px}.side-license-top h3{font-size:20px}.side-license-metrics strong{font-size:13px}.entity-workspace{grid-template-columns:minmax(0,1.65fr) minmax(300px,.85fr)}.entity-table{font-size:12px}.entity-table th{font-size:11px;background:#142b42}.entity-table td{padding:10px 12px}.entity-title h2,.licensing-title h2{font-size:20px}.entity-detail h2{font-size:17px}.entity-detail h3{font-size:16px}.entity-detail .entity-metrics strong{font-size:13px}.admin-content button,.admin-content a.btn{border-radius:7px;font-size:12px;min-height:35px;padding:7px 12px}.admin-content input,.admin-content select,.admin-content textarea{font-size:13px;min-height:39px;padding:8px 11px}.admin-content label{font-size:12px}
@media(max-width:1400px){.dash-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.dash-grid>.dash-recent,.dash-grid>.dash-detail{grid-column:span 6}}
@media(max-width:1080px){.admin-layout{grid-template-columns:190px minmax(0,1fr)}.sidebar-brand strong{font-size:13px}.sidebar-brand img{width:38px}.topbar-search{width:220px}.dash-grid>.panel{grid-column:span 12}.entity-workspace,.license-workspace{grid-template-columns:1fr}.entity-detail,.license-side{position:static}}
@media(max-width:720px){.admin-layout{grid-template-columns:1fr}.admin-sidebar{position:static;height:auto;min-height:0;border-right:0;border-bottom:1px solid #19364e;padding:5px 8px}.sidebar-brand{height:48px;margin:0;border:0}.sidebar-brand img{width:33px;height:33px}.admin-sidebar nav{flex-direction:row;overflow-x:auto;gap:3px}.admin-sidebar nav a{min-height:35px;padding:8px;font-size:12px;gap:5px;white-space:nowrap}.sidebar-extra{display:none}.topbar{height:60px;padding:9px 13px}.topbar-search{display:none}.topbar-admin{font-size:0}.admin-content{padding:10px}.dash-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dash-kpi{padding:8px;min-height:75px}.dash-kpi .kpi-icon{width:40px;height:45px}.dash-kpi .kpi-icon svg{width:24px}.dash-kpi strong{font-size:20px}.dash-grid{gap:9px}.dash-grid>.panel{grid-column:span 12}.dash-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Detail panel pictograms */
.side-license-metrics .detail-metric,.entity-metrics .detail-metric{display:flex;flex-direction:row;gap:9px;align-items:flex-start}.detail-metric>.ui-icon{margin-top:3px;color:#e4f0ff}.detail-metric>span{display:flex;flex-direction:column;gap:4px;color:#9fb4cf;font-size:11px}.detail-metric>span>strong{color:#f1f7ff;font-size:13px}
.topbar-search{margin:0;max-width:290px;min-width:220px}.topbar-search input{font-size:12px;border:0;outline:none;box-shadow:none;background:transparent;color:#dbeaff;margin:0;padding:0;width:100%;min-height:20px;height:22px}.topbar-search input::placeholder{color:#a7bed8}.topbar-search input:focus{outline:none}.topbar-search:focus-within{border-color:#4097ee}

/* v0.6.4: vector app branding and safe deletion of revoked licenses */
.sidebar-brand img{filter:drop-shadow(0 2px 6px #0671b533)}
.license-delete-zone{display:flex;flex-direction:column;gap:10px;align-items:flex-start;margin-top:18px;padding-top:15px;border-top:1px dashed #744452}
.license-delete-zone .muted{font-size:11px;line-height:1.5}
.license-delete-zone a.btn-danger{display:inline-flex;gap:7px;align-items:center;background:#9e2636}
.license-delete-zone a.btn-danger:hover{background:#c02e42}

/* v0.6.6 – KPI cards faithfully match approved dark reference. Sidebar unchanged. */
.dash-kpis{gap:12px!important;align-items:stretch}
.admin-content .dash-kpi,.dash-kpis>a.dash-kpi,.dash-kpi.good,.dash-kpi.warn,.dash-kpi.bad,.dash-kpi.neutral,.dash-kpi.blue,.dash-kpi.purple{
 display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;
 min-height:112px!important;padding:13px 14px!important;gap:15px!important;
 background:linear-gradient(125deg,#0b2332,#0a1b2c)!important;
 border:1px solid #1b3549!important;border-radius:11px!important;box-shadow:0 6px 18px #0002!important;
 text-decoration:none!important;color:#eff7ff!important
}
.dash-kpi.good{background:linear-gradient(125deg,#08352e,#0b2330 65%,#0a1b2c)!important}
.dash-kpi .kpi-icon{flex:0 0 67px!important;width:67px!important;height:76px!important;display:grid!important;place-items:center!important;border-radius:10px!important;background:linear-gradient(140deg,#007e4c,#005b38)!important;box-shadow:0 6px 18px #0003!important}
.dash-kpi.warn .kpi-icon{background:linear-gradient(140deg,#ae8209,#6f5305)!important}
.dash-kpi.bad .kpi-icon{background:linear-gradient(140deg,#b4081c,#80071b)!important}
.dash-kpi.neutral .kpi-icon{background:linear-gradient(140deg,#38556d,#263f56)!important}
.dash-kpi.blue .kpi-icon{background:linear-gradient(140deg,#0875f2,#074aab)!important}
.dash-kpi.purple .kpi-icon{background:linear-gradient(140deg,#7926d2,#5114a1)!important}
.dash-kpi .kpi-icon svg{width:35px!important;height:35px!important;stroke-width:2!important}
.dash-kpi .kpi-copy{flex:1!important;min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:3px!important;text-align:left!important}
.dash-kpi .kpi-copy>span{font-size:13px!important;color:#c2d4e8!important;line-height:1.3!important}
.dash-kpi .kpi-copy>strong{font-size:31px!important;font-weight:750!important;line-height:1.05!important;color:white!important}
.dash-kpi .kpi-copy>small{font-size:11px!important;color:#a5bed8!important;line-height:1.35!important}
.tool-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.tool-stat{border:1px solid #19364e;background:linear-gradient(150deg,#0a2637,#091827);padding:16px;border-radius:10px;display:flex;flex-direction:column;gap:8px}
.tool-stat small{color:#a6bbd1}.tool-stat strong{font-size:21px;overflow-wrap:anywhere}
.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tool-grid .panel{margin:0}.tool-card{display:flex;flex-direction:column}.tool-card form{margin-top:auto}
.tool-counts{display:flex;gap:12px;flex-wrap:wrap}.tool-counts span{background:#132c43;border-radius:8px;padding:10px 14px}.tool-danger{border-color:#79333f;background:#24121c}.tool-output{white-space:pre-wrap;overflow-wrap:anywhere;color:#bce4ff}
@media(max-width:1400px){.dash-kpi .kpi-icon{flex-basis:58px!important;width:58px!important;height:65px!important}}
@media(max-width:900px){.tool-stats,.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.dash-kpi{min-height:92px!important;padding:9px!important;gap:9px!important}.dash-kpi .kpi-icon{flex-basis:44px!important;width:44px!important;height:53px!important}.dash-kpi .kpi-icon svg{width:25px!important;height:25px!important}.dash-kpi .kpi-copy>strong{font-size:23px!important}.tool-stats,.tool-grid{grid-template-columns:1fr}}
