:root{
  --navy-950:#03152f;--navy-900:#061f4a;--navy-850:#08285d;--navy-800:#0a3374;--navy-700:#0b57b7;
  --blue:#0c7cf2;--blue-2:#116fe2;--red:#f1182b;--ink:#0a1733;--text:#233556;--muted:#71809b;
  --line:#e7ecf4;--soft:#f5f8fc;--white:#fff;--green:#0aaa5a;--amber:#f59e0b;--danger:#ef3340;--purple:#7c3aed;
  --shadow:0 8px 28px rgba(24,48,88,.08);--shadow-sm:0 2px 12px rgba(24,48,88,.06);
  --radius:16px;--radius-sm:11px;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--soft)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--soft);color:var(--text);font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}a{color:inherit}img{max-width:100%;display:block}.sc-icon{width:20px;height:20px;flex:0 0 20px}.app-shell{min-height:100vh}.sidebar{position:fixed;z-index:60;left:0;top:0;bottom:0;width:272px;display:flex;flex-direction:column;padding:20px 13px 16px;background:linear-gradient(180deg,#061f4a 0%,#041a3e 58%,#03152f 100%);color:#fff;overflow:auto;box-shadow:12px 0 34px rgba(0,24,63,.08)}
.sidebar:before{content:"";position:absolute;inset:auto -90px -120px auto;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(13,111,226,.28),transparent 62%);pointer-events:none}.sidebar-brand{display:flex;align-items:center;gap:11px;padding:1px 10px 20px;position:relative}.brand-mark{width:43px;height:43px;object-fit:contain}.brand-copy{min-width:0}.brand-copy strong{display:block;font-size:22px;line-height:1;font-weight:850;letter-spacing:-.04em}.brand-copy strong span,.brand-panel strong span,.top-wordmark strong span{color:#ff273a}.brand-copy small{display:block;margin-top:5px;font-size:12px;color:#b8c8e3;letter-spacing:.03em}.sidebar-close{display:none;margin-left:auto;border:0;background:transparent;color:white;font-size:30px;line-height:1;cursor:pointer}.primary-nav{display:grid;gap:4px;margin-top:3px}.nav-link{position:relative;display:flex;align-items:center;gap:13px;min-height:47px;padding:11px 14px;border-radius:11px;text-decoration:none;color:#cfdbef;font-weight:600;transition:.18s ease}.nav-link:hover{color:white;background:rgba(255,255,255,.06);transform:translateX(1px)}.nav-link.active{color:#fff;background:linear-gradient(135deg,#0a62cc 0%,#074a9d 100%);box-shadow:0 9px 22px rgba(0,89,201,.28)}.nav-link.active:before{content:"";position:absolute;left:-13px;top:12px;bottom:12px;width:3px;border-radius:3px;background:#ff2638}.nav-link .sc-icon{opacity:.94}.sidebar-spacer{flex:1;min-height:25px}.brand-panel{position:relative;overflow:hidden;margin:18px 3px 9px;padding:16px;border:1px solid rgba(92,153,238,.23);border-radius:16px;background:linear-gradient(145deg,rgba(8,55,117,.9),rgba(2,27,67,.95));box-shadow:inset 0 1px rgba(255,255,255,.04)}.brand-panel:after{content:"";position:absolute;right:-54px;bottom:-67px;width:158px;height:158px;background:url('img/kodesia-mark.png') center/contain no-repeat;opacity:.12}.brand-panel-head{display:flex;align-items:center;gap:9px;position:relative;z-index:1}.brand-panel-head img{width:40px;height:40px}.brand-panel-head strong{font-size:18px;letter-spacing:-.03em}.brand-panel-head small{display:block;color:#d8e4f6;font-size:11px;line-height:1.25}.brand-panel p{position:relative;z-index:1;color:#9fb4d4;font-size:11px;margin:12px 0 13px;max-width:185px}.brand-panel-links{position:relative;z-index:1}.brand-panel-links a{display:inline-flex;align-items:center;gap:5px;text-decoration:none;color:#fff;font-size:11px;font-weight:700}.brand-panel-links .sc-icon{width:13px;height:13px;flex-basis:13px}.sidebar-meta{text-align:center;color:#7088ad;font-size:10px;padding:3px}.sidebar-backdrop{display:none;position:fixed;inset:0;z-index:50;background:rgba(2,12,30,.52);backdrop-filter:blur(2px)}
.app-area{margin-left:272px;min-height:100vh}.topbar{position:sticky;top:0;z-index:40;height:76px;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:0 28px;background:rgba(255,255,255,.95);border-bottom:1px solid var(--line);backdrop-filter:blur(16px)}.topbar-left,.topbar-right{display:flex;align-items:center;gap:13px;min-width:0}.topbar-right{margin-left:auto}.menu-button{display:none}.icon-button{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--ink);cursor:pointer;text-decoration:none;transition:.15s}.icon-button:hover{background:#f3f6fb;border-color:#e8edf5}.top-wordmark{display:flex;align-items:center;gap:14px;text-decoration:none;white-space:nowrap}.top-wordmark strong{font-size:28px;line-height:1;color:#081b42;font-weight:850;letter-spacing:-.05em}.top-wordmark i{width:1px;height:28px;background:#dbe2ed}.top-wordmark em{font-style:normal;color:#71809a;font-size:17px}.global-search{height:43px;width:min(390px,34vw);display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid #e3e9f2;border-radius:12px;background:#f7f9fc;color:#72819a;transition:.18s}.global-search:focus-within{background:#fff;border-color:#9fc4f7;box-shadow:0 0 0 4px rgba(12,124,242,.08)}.global-search .sc-icon{width:18px;height:18px}.global-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--text);font-size:13px}.global-search input::placeholder{color:#8d9ab0}.global-search kbd{display:inline-grid;place-items:center;min-width:23px;height:23px;border:1px solid #dce3ed;border-bottom-width:2px;border-radius:6px;background:#fff;color:#97a2b4;font:11px ui-monospace,monospace}.notification-button{position:relative}.notify-badge{position:absolute;right:4px;top:2px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:10px;background:var(--red);color:#fff;border:2px solid #fff;font-size:9px;font-weight:800}.profile-menu-wrap{position:relative}.profile-button{display:flex;align-items:center;gap:10px;border:0;background:transparent;border-radius:12px;padding:5px 7px;cursor:pointer;color:var(--ink)}.profile-button:hover{background:#f4f7fb}.avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#0c7cf2,#06295e);color:#fff;font-weight:800;box-shadow:inset 0 0 0 2px rgba(255,255,255,.75)}.profile-copy{display:grid;text-align:left;min-width:0}.profile-copy strong{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.profile-copy small{color:#75839b;font-size:10px}.profile-caret{color:#7c8aa0;font-size:16px}.profile-dropdown{position:absolute;display:none;right:0;top:52px;width:235px;padding:8px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 18px 45px rgba(17,38,73,.16)}.profile-dropdown.open{display:block}.profile-dropdown-head{display:grid;padding:10px 11px 12px;border-bottom:1px solid #eef1f5;margin-bottom:5px}.profile-dropdown-head small{color:var(--muted);font-size:11px}.profile-dropdown a{display:flex;align-items:center;gap:9px;padding:9px 10px;text-decoration:none;border-radius:9px;color:#34445f;font-size:12px;font-weight:600}.profile-dropdown a:hover{background:#f5f8fc;color:#0a4f9e}.profile-dropdown .sc-icon{width:16px;height:16px;flex-basis:16px}.dropdown-separator{height:1px;background:#eef1f5;margin:5px}.profile-dropdown .logout-link{color:#c92838}
.main-content{padding:28px 30px 42px;min-width:0}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 20px}.page-heading h1{margin:3px 0 0;color:var(--ink);font-size:30px;line-height:1.15;letter-spacing:-.035em}.page-heading p{margin:6px 0 0;color:var(--muted)}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.15em;color:#7182a0}.page-heading-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}.hero h1{margin:3px 0 3px;color:var(--ink);font-size:34px;line-height:1.08;letter-spacing:-.045em}.hero h1 .brand-accent{color:#0a2a5b}.hero h1 .brand-accent span{color:var(--red)}.hero p{margin:0;color:#74829b;font-size:14px}.date-chip{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;padding:10px 13px;border:1px solid #e3e8f1;border-radius:11px;background:#fff;color:#34445f;font-size:12px;box-shadow:var(--shadow-sm)}.date-chip .sc-icon{width:17px;height:17px;color:#173d75}
.grid{display:grid;gap:14px}.g5{grid-template-columns:repeat(5,minmax(0,1fr))}.g4{grid-template-columns:repeat(4,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow-sm)}.card h2,.card h3{color:var(--ink);margin-top:0}.card h2{font-size:17px}.card h3{font-size:14px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(360px,.82fr);gap:14px;margin-top:14px}.dashboard-lower{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(330px,.8fr);gap:14px;margin-top:14px}
.metric-card{position:relative;overflow:hidden;min-height:136px;padding:17px}.metric-card:after{content:"";position:absolute;right:-35px;bottom:-55px;width:115px;height:115px;border-radius:50%;background:var(--metric-soft,#eef5ff)}.metric-link{display:block;color:inherit;text-decoration:none;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.metric-link:hover{transform:translateY(-2px);border-color:#d4deeb;box-shadow:0 12px 28px rgba(24,48,88,.11)}.metric-link:focus-visible{outline:3px solid rgba(12,124,242,.22);outline-offset:2px}.metric-link .metric-foot:after{content:"→";margin-left:auto;color:var(--metric-color,#0c7cf2);font-size:14px;font-weight:900}.metric-head{display:flex;align-items:center;gap:10px;position:relative;z-index:1}.metric-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;color:var(--metric-color,#0c7cf2);background:var(--metric-bg,#e6f2ff)}.metric-icon .sc-icon{width:22px;height:22px}.metric-label{color:#65748e;font-size:11px;font-weight:650}.metric-value{position:relative;z-index:1;display:block;margin:7px 0 4px;color:#081630;font-size:27px;line-height:1;font-weight:850;letter-spacing:-.04em}.metric-value.money{font-size:21px}.metric-foot{position:relative;z-index:1;display:flex;align-items:center;gap:5px;color:#7b889e;font-size:10px}.metric-foot strong{font-size:11px;color:var(--green)}.metric-foot strong.down{color:var(--danger)}.metric-card.blue{--metric-color:#0c7cf2;--metric-bg:#dcecff;--metric-soft:#eef6ff}.metric-card.green{--metric-color:#09a65a;--metric-bg:#dcf8e8;--metric-soft:#eefbf4}.metric-card.amber{--metric-color:#ed9000;--metric-bg:#fff0cf;--metric-soft:#fff8e9}.metric-card.purple{--metric-color:#7c3aed;--metric-bg:#eee4ff;--metric-soft:#f7f2ff}.metric-card.red{--metric-color:#ef3340;--metric-bg:#ffe5e8;--metric-soft:#fff1f3}
.card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.card-head h2{margin:0;color:#0b1730;font-size:16px;letter-spacing:-.02em}.card-head p{margin:3px 0 0;color:#8190a7;font-size:11px}.card-link{display:inline-flex;align-items:center;gap:4px;color:#1b477e;text-decoration:none;font-size:10px;font-weight:750;padding:7px 9px;border-radius:9px;background:#f5f8fc}.card-link:hover{background:#edf3fa}.chart-total{display:flex;align-items:center;gap:9px;margin-bottom:7px}.chart-total strong{font-size:26px;color:#101c35;letter-spacing:-.035em}.trend-pill{display:inline-flex;align-items:center;gap:3px;padding:4px 7px;border-radius:999px;background:#eaf9f1;color:#07954f;font-size:10px;font-weight:800}.trend-pill.negative{background:#fff0f1;color:#d72f3c}.bar-chart{height:205px;display:flex;align-items:stretch;gap:13px;padding-top:12px}.chart-axis{width:38px;display:flex;flex-direction:column;justify-content:space-between;padding:0 0 25px;text-align:right;color:#8a98ad;font-size:9px}.bars{position:relative;flex:1;display:grid;grid-template-columns:repeat(6,1fr);align-items:end;gap:13px;padding:0 6px 25px;border-bottom:1px solid #dfe6f0;background:repeating-linear-gradient(to top,transparent 0,transparent 44px,#edf1f6 45px)}.bar-item{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:7px;min-width:0}.bar{width:min(50px,82%);min-height:3px;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,#45a2ff,#0872e6);box-shadow:0 5px 12px rgba(12,124,242,.12);position:relative}.bar.current{background:linear-gradient(180deg,#137cf1,#0754b6)}.bar:hover:after{content:attr(data-value);position:absolute;left:50%;bottom:calc(100% + 7px);transform:translateX(-50%);white-space:nowrap;padding:5px 7px;border-radius:7px;background:#0c1930;color:#fff;font-size:9px;font-weight:700;box-shadow:0 6px 18px rgba(0,0,0,.18)}.bar-label{position:absolute;transform:translateY(21px);white-space:nowrap;color:#77859b;font-size:9px}
.license-status-wrap{display:grid;grid-template-columns:180px 1fr;align-items:center;gap:16px;min-height:236px}.donut{--a:65%;--b:10%;--c:15%;width:168px;height:168px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#0c7cf2 0 var(--a),#f7a313 var(--a) calc(var(--a) + var(--b)),#ef3847 calc(var(--a) + var(--b)) calc(var(--a) + var(--b) + var(--c)),#c9d2df calc(var(--a) + var(--b) + var(--c)) 100%);position:relative}.donut:before{content:"";position:absolute;width:112px;height:112px;border-radius:50%;background:#fff;box-shadow:0 0 0 1px #f1f3f7}.donut-center{position:relative;z-index:1;text-align:center}.donut-center strong{display:block;color:#111d36;font-size:25px;line-height:1;font-weight:850}.donut-center span{display:block;color:#7b899f;font-size:10px;margin-top:5px}.status-list{display:grid;gap:1px}.status-row{display:grid;grid-template-columns:12px 1fr auto auto;align-items:center;gap:8px;padding:9px 2px;border-bottom:1px solid #eef1f5;font-size:11px}.status-row:last-child{border-bottom:0}.status-dot{width:9px;height:9px;border-radius:50%;background:var(--dot)}.status-row strong{color:#15213a}.status-row small{min-width:39px;text-align:right;color:#8995a8}
.table-wrap{overflow:auto}.table{width:100%;border-collapse:separate;border-spacing:0;min-width:720px}.table th,.table td{padding:11px 10px;border-bottom:1px solid #edf0f5;text-align:left;vertical-align:middle}.table th{background:#f7f9fc;color:#6e7c94;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.table th:first-child{border-radius:8px 0 0 8px}.table th:last-child{border-radius:0 8px 8px 0}.table td{font-size:11px;color:#34445f}.table tbody tr{transition:.14s}.table tbody tr:hover{background:#fbfcfe}.table td strong{color:#16223a}.table a:not(.btn){color:#0b64c8;text-decoration:none}.table a:not(.btn):hover{text-decoration:underline}.product-cell{display:flex;align-items:center;gap:9px}.product-badge{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:#e7f2ff;color:#0c7cf2;flex:0 0 31px}.product-badge .sc-icon{width:16px;height:16px}.product-cell small{display:block;color:#8793a7}.popular-list{display:grid}.popular-row{display:grid;grid-template-columns:25px 1fr minmax(100px,.85fr) 38px;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #eff2f6}.popular-row:last-child{border-bottom:0}.rank{display:grid;place-items:center;color:#71809a;font-size:11px;font-weight:800}.rank.top{color:#e99800}.popular-copy strong{display:block;color:#17233d;font-size:11px}.popular-copy small{color:#8896aa;font-size:9px}.popular-bar{height:7px;border-radius:99px;background:#eaf0f7;overflow:hidden}.popular-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0b6dd8,#1688ff)}.popular-pct{text-align:right;color:#6f7d92;font-size:9px}
.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:999px;font-size:9px;font-weight:800;white-space:nowrap;letter-spacing:.01em}.badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.success{background:#e6f8ef;color:#0b9d55}.warning{background:#fff3d8;color:#d48800}.danger{background:#ffebed;color:#d82d3c}.neutral{background:#edf1f6;color:#637188}.muted{color:var(--muted)}.small{font-size:11px}.code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px;word-break:break-all}.nowrap{white-space:nowrap}.text-right{text-align:right}.mt16{margin-top:16px}.mb0{margin-bottom:0}.metric-money{font-size:21px!important}.countdown{font-variant-numeric:tabular-nums;font-weight:800}.info{cursor:help;border-bottom:1px dotted #8a96a8}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 12px;border:1px solid #dce3ed;border-radius:10px;background:#fff;color:#34435d;text-decoration:none;cursor:pointer;font:inherit;font-size:11px;font-weight:700;transition:.15s}.btn .sc-icon{width:15px;height:15px;flex-basis:15px}.btn:hover{border-color:#c6d3e4;background:#f8fafc;transform:translateY(-1px)}.btn:disabled{opacity:.58;cursor:not-allowed;transform:none}.btn-primary{color:#fff;border-color:#0758b7;background:linear-gradient(135deg,#0c7cf2,#0755b4);box-shadow:0 7px 15px rgba(10,98,204,.18)}.btn-primary:hover{background:linear-gradient(135deg,#0b72df,#064b9e);border-color:#064b9e}.btn-danger{background:#fff5f6;color:#c52635;border-color:#ffd1d6}.btn-warning{background:#fff9eb;color:#9a6500;border-color:#f2dda8}.btn-success{background:#eaf9f1;color:#0a8f4e;border-color:#c7edd9}.toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.quick-actions{display:flex;flex-wrap:wrap;gap:8px}
.input,select,textarea,input[type="text"],input[type="email"],input[type="password"],input[type="number"],input[type="date"],input[type="url"],input[type="search"]{width:100%;padding:10px 11px;border:1px solid #dce3ed;border-radius:10px;background:#fff;color:#283955;outline:0;transition:.15s}.input:focus,select:focus,textarea:focus,input:focus{border-color:#8abaf3;box-shadow:0 0 0 4px rgba(12,124,242,.08)}.field{margin-bottom:14px}.field label{display:block;color:#263650;font-size:11px;font-weight:750;margin-bottom:6px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.full{grid-column:1/-1}.check-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.check-item{display:flex;gap:8px;align-items:flex-start;border:1px solid #e7ebf2;border-radius:10px;padding:10px;background:#fbfcfe}.check-item input{margin-top:3px}.kv{display:grid;grid-template-columns:160px 1fr;gap:0 14px}.kv>div{padding:8px 0;border-bottom:1px solid #f0f2f6}.progress{height:7px;background:#eaf0f7;border-radius:999px;overflow:hidden;margin-top:4px}.progress>span{display:block;height:100%;background:linear-gradient(90deg,#0b6dd8,#1688ff);border-radius:inherit}.empty{padding:28px!important;text-align:center;color:#8390a5!important}.timeline{display:grid;gap:10px}.timeline-item{border-left:3px solid #dbe4f0;padding-left:12px}.timeline-item strong{display:block}.danger-zone{border-color:#ffd3d7;background:#fffafb}
.alert{padding:11px 13px;border:1px solid transparent;border-radius:10px;margin:12px 0;font-size:11px}.alert-error{background:#fff0f2;color:#aa2532;border-color:#ffd9de}.alert-success{background:#ebfaf2;color:#087e45;border-color:#c8efda}.alert-warning{background:#fff8e7;color:#825800;border-color:#f4e1ad}
.report-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.report-card{position:relative;text-decoration:none;overflow:hidden}.report-card .metric-icon{margin-bottom:13px}.report-card h3{margin:0 0 4px}.report-card p{margin:0;color:var(--muted);font-size:10px}.search-results{display:grid;gap:14px}.search-group-count{display:inline-flex;padding:3px 7px;border-radius:99px;background:#edf4fc;color:#2364a8;font-size:9px;font-weight:800}.domain-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.domain-card{display:grid;gap:10px}.domain-name{display:flex;align-items:center;gap:8px;font-weight:800;color:#17233d;word-break:break-word}.domain-name .sc-icon{color:#0c70da}.domain-meta{display:flex;justify-content:space-between;gap:12px;color:#7a879b;font-size:10px}.domain-actions{display:flex;gap:7px}
.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(390px,.85fr) minmax(460px,1.15fr);background:#f6f8fc}.login-brand{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:50px;background:linear-gradient(145deg,#031631,#06275d 55%,#074390);color:#fff}.login-brand:before{content:"";position:absolute;right:-130px;bottom:-160px;width:560px;height:560px;background:url('img/kodesia-mark.png') center/contain no-repeat;opacity:.12}.login-brand:after{content:"";position:absolute;left:-180px;top:-200px;width:450px;height:450px;border-radius:50%;background:radial-gradient(circle,rgba(13,124,242,.42),transparent 63%)}.login-logo{position:relative;z-index:1;width:min(370px,85%)}.login-brand-copy{position:relative;z-index:1;max-width:500px}.login-brand-copy .eyebrow{color:#82b9ff}.login-brand-copy h1{margin:10px 0;color:#fff;font-size:43px;line-height:1.05;letter-spacing:-.055em}.login-brand-copy p{color:#b9cae5;font-size:15px;max-width:450px}.login-brand-foot{position:relative;z-index:1;color:#6f94c7;font-size:11px}.login-form-zone{display:grid;place-items:center;padding:35px}.login-card{width:min(470px,100%);padding:34px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 24px 70px rgba(29,54,91,.11)}.login-card .mobile-login-logo{display:none;width:210px;margin:0 auto 25px}.login-card h2{margin:0;color:#0d1b35;font-size:30px;letter-spacing:-.04em}.login-card>p{margin:7px 0 25px;color:#7a879c}.login-card .btn-primary{width:100%;min-height:44px;margin-top:3px}.login-security{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:18px;color:#93a0b3;font-size:10px}.login-security:before{content:"";width:6px;height:6px;border-radius:50%;background:#14ad63}
.floating-tooltip{position:fixed;z-index:999999;max-width:min(340px,calc(100vw - 24px));width:max-content;white-space:normal;overflow-wrap:anywhere;text-align:left;line-height:1.45;background:#111827;color:#fff;padding:8px 10px;border-radius:8px;font-size:10px;font-weight:650;box-shadow:0 8px 26px rgba(0,0,0,.22);pointer-events:none;opacity:0;transform:translateY(4px);transition:opacity .12s ease,transform .12s ease}.floating-tooltip.show{opacity:1;transform:translateY(0)}
@media(max-width:1280px){.g5{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-grid,.dashboard-lower{grid-template-columns:1fr}.global-search{width:min(310px,30vw)}.report-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.domain-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1050px){.sidebar{transform:translateX(-105%);transition:transform .22s ease}.nav-open .sidebar{transform:translateX(0)}.nav-open .sidebar-backdrop{display:block}.sidebar-close{display:block}.app-area{margin-left:0}.menu-button{display:inline-flex}.top-wordmark em,.top-wordmark i{display:none}.topbar{padding:0 18px}.main-content{padding:24px 20px 35px}.global-search{width:min(390px,45vw)}}
@media(max-width:780px){.top-wordmark{display:none}.profile-copy{display:none}.global-search{width:min(430px,58vw)}.g5,.g4,.g3,.g2,.dashboard-grid,.dashboard-lower,.form-grid,.check-list,.domain-grid{grid-template-columns:1fr}.g5{grid-template-columns:repeat(2,minmax(0,1fr))}.hero,.page-heading{align-items:flex-start;flex-direction:column}.page-heading-actions{width:100%}.hero h1{font-size:29px}.date-chip{align-self:flex-start}.license-status-wrap{grid-template-columns:1fr;justify-items:center}.status-list{width:100%}.report-cards{grid-template-columns:1fr 1fr}.login-page{grid-template-columns:1fr}.login-brand{display:none}.login-card .mobile-login-logo{display:block}.login-form-zone{padding:20px}.kv{grid-template-columns:1fr}.table{min-width:650px}.bar-chart{gap:5px}.bars{gap:7px}.main-content{padding:20px 14px 32px}.card{padding:14px}}
@media(max-width:520px){.topbar{height:66px;padding:0 10px;gap:7px}.topbar-right{gap:4px}.global-search{width:auto;flex:1}.global-search kbd{display:none}.notification-button{display:none}.profile-button{padding:3px}.main-content{padding-top:16px}.g5{grid-template-columns:1fr}.metric-card{min-height:118px}.report-cards{grid-template-columns:1fr}.hero h1{font-size:26px}.page-heading h1{font-size:26px}.license-status-wrap{min-height:0}.donut{width:150px;height:150px}.donut:before{width:100px;height:100px}.sidebar{width:min(290px,88vw)}.login-card{padding:25px 20px}.login-card h2{font-size:26px}}
/* Backward-compatible utility classes used by existing Seller Center pages. */
.top{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px}.top h2{margin:0}.stat{min-width:0}.stat strong{display:block;margin-top:6px;color:var(--ink);font-size:25px;line-height:1.1;letter-spacing:-.035em}.stat a{color:#0b63c5;text-decoration:none}.login{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 15% 10%,#eaf3ff 0,transparent 34%),#f5f8fc}.login>.login-card{width:min(620px,100%)}hr{border:0;border-top:1px solid var(--line);margin:18px 0}
@media(max-width:780px){.top{align-items:flex-start;flex-direction:column}.top>.toolbar{width:100%}}

/* === Seller Center 3.2.1 refinements === */
.sidebar{overflow:hidden;padding:0;background:linear-gradient(180deg,#061f4a 0%,#041a3e 62%,#03152f 100%)}
.sidebar-batik{position:absolute;inset:0;pointer-events:none;background:url('img/batik-sidebar.png') center bottom/cover no-repeat;opacity:.55;mix-blend-mode:screen}
.sidebar-brand{flex:0 0 auto;padding:20px 23px 16px;border-bottom:1px solid rgba(255,255,255,.06);background:linear-gradient(180deg,rgba(6,31,74,.96),rgba(6,31,74,.82));backdrop-filter:blur(8px);z-index:2}
.sidebar-scroll{position:relative;z-index:2;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:12px 13px 18px;scrollbar-width:thin;scrollbar-color:rgba(137,176,230,.48) transparent}
.sidebar-scroll::-webkit-scrollbar{width:7px}.sidebar-scroll::-webkit-scrollbar-track{background:transparent}.sidebar-scroll::-webkit-scrollbar-thumb{background:rgba(137,176,230,.34);border-radius:10px;border:2px solid transparent;background-clip:padding-box}
.primary-nav{margin-top:0}.nav-section-label{padding:19px 14px 7px;color:#7893ba;font-size:10px;font-weight:800;letter-spacing:.18em}
.sidebar-spacer{display:none}.brand-panel{margin:20px 3px 6px;background:linear-gradient(145deg,rgba(7,55,119,.86),rgba(2,27,67,.91))}
.sidebar-footer-fixed{position:relative;z-index:3;flex:0 0 auto;padding:8px 13px 11px;border-top:1px solid rgba(255,255,255,.06);background:rgba(3,21,47,.92);backdrop-filter:blur(8px)}
.sidebar-meta{padding:0;text-align:center}
.topbar:after{content:"";position:absolute;right:210px;top:0;width:min(420px,32vw);height:75px;background:url('img/batik-header.png') right center/contain no-repeat;opacity:.35;pointer-events:none;z-index:-1}
.demo-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.demo-stat{padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow-sm)}.demo-stat strong{display:block;font-size:24px;color:var(--ink)}.demo-stat span{font-size:11px;color:var(--muted)}
.demo-credential{border:1px solid #9bd5ae;background:#f0fff5;border-radius:14px;padding:14px}.demo-credential-grid{display:grid;grid-template-columns:120px 1fr;gap:8px 12px;margin-top:10px}.demo-credential-grid code{word-break:break-all}.demo-customer-chip{display:flex;align-items:center;gap:9px}.demo-customer-chip .avatar{width:30px;height:30px;font-size:11px}.inline-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.danger-link{color:#c82131}.field-help{font-size:11px;color:var(--muted);margin-top:5px}.duration-preset{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.duration-preset label{border:1px solid var(--line);border-radius:10px;padding:9px;text-align:center;cursor:pointer;background:#fff}.duration-preset input{margin-right:5px}.demo-table-actions{display:flex;gap:5px;flex-wrap:wrap}.role-card{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:13px;background:#fff}.role-perms{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.role-perm{padding:3px 7px;border-radius:20px;background:#eef5ff;color:#2364a8;font-size:10px;font-weight:700}
.modal-open{overflow:hidden}.app-modal{position:fixed;z-index:2000;inset:0;display:none;place-items:center;padding:22px;background:rgba(3,15,35,.58);backdrop-filter:blur(4px)}.app-modal.open{display:grid}.modal-dialog{width:min(760px,100%);max-height:calc(100vh - 44px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #dce5f0;border-radius:18px;background:#fff;box-shadow:0 30px 90px rgba(2,18,45,.28)}.modal-dialog.modal-lg{width:min(930px,100%)}.modal-dialog.modal-sm{width:min(560px,100%)}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px 15px;border-bottom:1px solid var(--line)}.modal-head h2{margin:0;color:var(--ink);font-size:19px;letter-spacing:-.02em}.modal-head p{margin:4px 0 0;color:var(--muted);font-size:11px}.modal-close{width:36px;height:36px;display:grid;place-items:center;flex:0 0 36px;border:1px solid #e1e7ef;border-radius:10px;background:#fff;color:#64748b;font-size:22px;line-height:1;cursor:pointer}.modal-close:hover{background:#f5f8fc;color:#1c2b44}.modal-body{padding:18px 20px;overflow:auto}.modal-foot{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px;border-top:1px solid var(--line);background:#fbfcfe}.modal-note{padding:10px 12px;border-radius:10px;background:#f3f7fc;color:#60708a;font-size:11px}.crud-section+.crud-section{margin-top:16px}.table-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.credential-copy{display:grid;grid-template-columns:130px 1fr;gap:9px 14px}.credential-copy code{word-break:break-all;padding:5px 7px;border-radius:7px;background:#f5f8fc;color:#0a3b78}.modal-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal-form-grid .field{margin-bottom:0}.modal-form-grid .full{grid-column:1/-1}
@media(max-width:1200px){.demo-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.demo-stats{grid-template-columns:1fr}.duration-preset{grid-template-columns:1fr 1fr}.demo-credential-grid,.credential-copy{grid-template-columns:1fr}.modal-form-grid{grid-template-columns:1fr}.modal-form-grid .full{grid-column:auto}.app-modal{padding:10px}.modal-dialog{max-height:calc(100vh - 20px)}.topbar:after{display:none}}
/* Shared CRUD/modal utilities */
.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.section-head h2{margin:0;color:var(--ink);font-size:17px}.section-head p{margin:4px 0 0}.btn-sm{min-height:31px;padding:6px 9px;border-radius:8px;font-size:10px}.codeish{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#183e70}.notice{padding:11px 13px;border:1px solid #d9e8fb;border-radius:10px;background:#f2f7fe;color:#43617f;font-size:11px}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:14px}.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:780px){.section-head{align-items:flex-start;flex-direction:column}.section-head>.btn,.section-head>.toolbar{width:auto}.cols-2{grid-template-columns:1fr}}

/* === v4.1.4 RC6 modal and subscription polish === */
.app-modal{overflow-y:auto;overscroll-behavior:contain;align-items:flex-start;justify-items:center;padding:20px 14px}
.app-modal.open{display:grid}
.modal-dialog{margin:auto;max-height:calc(100dvh - 40px);min-height:0}
.modal-dialog>form{display:flex;flex-direction:column;min-height:0;max-height:inherit}
.modal-dialog>.modal-body,.modal-dialog>form>.modal-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.modal-head,.modal-foot{flex:0 0 auto;background:#fff;z-index:3}
.modal-foot{position:sticky;bottom:0;box-shadow:0 -8px 24px rgba(20,39,73,.04)}
.modal-divider{border:0;border-top:1px solid var(--line);margin:20px 0}
.support-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.action-panel{border:1px solid var(--line);border-radius:14px;padding:14px;background:#fbfdff;min-width:0}
.action-panel h3{margin:0 0 12px;color:var(--ink);font-size:14px}.action-panel .field{margin-bottom:10px}
.advanced-actions{margin-top:18px;border:1px solid var(--line);border-radius:14px;padding:12px 14px;background:#f8fbff}.advanced-actions summary{cursor:pointer;font-weight:800;color:var(--ink)}
.upgrade-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border:1px solid #dfe8f5;border-radius:13px;background:#f8fbff;margin-bottom:14px}
.quote-box{display:grid;gap:4px;margin-top:14px;padding:16px;border-radius:14px;background:linear-gradient(135deg,#061f4a,#0a4f9f);color:#fff}.quote-box span{font-size:12px;opacity:.8}.quote-box strong{font-size:26px}.quote-box small{opacity:.72}
.text-warning{color:#a86105}
@media(max-width:700px){.app-modal{padding:8px;align-items:end}.modal-dialog,.modal-dialog.modal-lg,.modal-dialog.modal-sm{width:100%;max-height:calc(100dvh - 16px);border-radius:16px 16px 0 0;margin:auto 0 0}.support-action-grid{grid-template-columns:1fr}.modal-foot{flex-wrap:wrap}.modal-foot .btn{flex:1;min-width:120px}}

/* RC6 modal viewport hardening */
.app-modal{overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;padding:16px 12px!important}
.app-modal.open{display:grid!important;align-items:start!important;justify-items:center!important}
.modal-dialog,.modal-dialog.modal-lg,.modal-dialog.modal-sm{max-height:calc(100dvh - 32px)!important;min-height:0!important;margin:auto!important;overflow:hidden!important}
.modal-dialog>.modal-body{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch}
.modal-dialog>form{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;min-height:0!important;max-height:inherit!important;overflow:hidden!important}
.modal-dialog>form>.modal-body{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch}
.modal-head,.modal-foot{flex:0 0 auto!important}
@media(max-width:700px){.app-modal{padding:8px!important}.modal-dialog,.modal-dialog.modal-lg,.modal-dialog.modal-sm{max-height:calc(100dvh - 16px)!important;margin:auto 0 0!important}.modal-body{padding-bottom:22px!important}}
/* RC6 persistent SaaS activation credentials */
.activation-credential{align-items:center}.copy-line{display:flex;align-items:center;gap:8px;min-width:0}.copy-line code{flex:1;min-width:0;word-break:break-all}.secret-code{user-select:all}.activation-credential strong{word-break:break-word}@media(max-width:700px){.copy-line{align-items:stretch;flex-direction:column}.copy-line .btn{align-self:flex-start}}


/* === Dynamic SaaS Application Registry table === */
.registry-title{margin:24px 0 12px;scroll-margin-top:96px}.registry-table-wrap{border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow-sm);scroll-margin-top:96px}.registry-table{min-width:1180px}.registry-table th,.registry-table td{vertical-align:top}.registry-table td{padding-top:14px;padding-bottom:14px}.registry-row{scroll-margin-top:96px}.registry-app-cell{display:flex;align-items:flex-start;gap:10px;min-width:230px}.registry-app-icon{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(145deg,#0d66c2,#06488e);color:#fff;font-size:14px;font-weight:900;box-shadow:0 6px 14px rgba(4,83,154,.14)}.registry-app-fields{display:grid;gap:6px;min-width:0;flex:1}.registry-name{font-weight:800}.registry-description{min-height:54px;resize:vertical;font-size:11px}.registry-url{min-width:220px}.registry-key{min-width:250px}.registry-key .input{min-width:0}.registry-status-stack{display:grid;justify-items:start;gap:9px;min-width:130px}.registry-toggle{display:flex;align-items:flex-start;gap:7px;color:#52627b;font-size:10px;font-weight:700;line-height:1.3}.registry-toggle input{margin:1px 0 0;width:15px;height:15px;flex:0 0 15px}.registry-actions{display:flex;gap:6px;flex-wrap:wrap;min-width:240px}.registry-actions form{margin:0}.toggle-row{display:flex;align-items:flex-start;gap:10px;margin:12px 0;font-size:13px;font-weight:650;color:var(--text)}.toggle-row input{margin-top:2px;width:17px;height:17px}.alert-info{background:#eef6ff;border-color:#cfe5ff;color:#244f7c}
@media(max-width:640px){.registry-title{align-items:flex-start}.registry-table-wrap{border-radius:13px}.registry-table td{padding-top:12px;padding-bottom:12px}}
