:root{font-family:'Segoe UI',Arial,sans-serif;color:#18304d;background:#f2f6fb;font-size:15px;--blue:#1769e0;--line:#dbe5f1}*{box-sizing:border-box}body{margin:0}header{background:#fff;border-bottom:1px solid var(--line);padding:18px max(20px,calc((100vw - 1160px)/2));display:flex;align-items:center;justify-content:space-between;gap:16px}header .identity{display:flex;align-items:center;gap:12px}header img{width:44px}header strong{display:block;font-size:19px}header small,.muted{color:#667b95}main{max-width:1200px;margin:auto;padding:28px 20px 60px}h1{font-size:30px;margin:0 0 10px}h2{font-size:20px;margin:0 0 14px}h3{font-size:16px}p{line-height:1.6}a{color:#125cc9}button,.button{display:inline-block;border:1px solid var(--line);background:white;padding:10px 15px;border-radius:9px;color:#18304d;font:inherit;cursor:pointer;text-decoration:none}button.primary,.button.primary{background:#1769e0;color:#fff;border-color:#1769e0}button:disabled{opacity:.5;cursor:wait}button.danger{color:#b33040}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px;margin:20px 0}.card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:0 5px 20px #29477108}.card p{margin:8px 0}.hero{background:linear-gradient(120deg,#0c284f,#1769e0);color:white;border-radius:18px;padding:30px}.hero p{color:#d7e8ff}.price{font-size:27px;font-weight:700;display:block;margin:20px 0}.pill{display:inline-block;padding:4px 9px;border-radius:20px;background:#e8f2ff;color:#135bbb;font-size:12px}.notice{padding:14px 18px;border-radius:10px;background:#fff7df;color:#715514;margin:15px 0;white-space:pre-wrap;overflow-wrap:anywhere}.notice.error{background:#feecef;color:#982b3f}#message:empty{display:none}label{display:grid;gap:6px;font-size:13px;margin:12px 0}input,select,textarea{width:100%;min-width:0;padding:11px;border:1px solid #cbd8e8;border-radius:8px;font:inherit;background:white;color:#18304d}input[type=checkbox]{width:18px;height:18px;margin:0}.check{display:flex;align-items:center;gap:9px}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.wide{grid-column:1/-1}.tablewrap{overflow:auto;max-width:100%}table{border-collapse:collapse;width:100%;min-width:620px;text-align:left;font-size:13px}th,td{border-bottom:1px solid var(--line);padding:12px 9px;vertical-align:top}th{color:#667b95;font-size:11px;text-transform:uppercase}td small{display:block;margin-top:4px}.empty{padding:20px;color:#667b95}dialog{border:0;border-radius:16px;padding:24px;width:min(700px,calc(100% - 24px));max-height:90dvh;overflow:auto;box-shadow:0 24px 80px #00163055}dialog::backdrop{background:#071d3b88}dialog .actions{justify-content:flex-end;margin-top:20px}.code{background:#edf4ff;border:1px solid #cbddf4;border-radius:8px;padding:12px;overflow-wrap:anywhere;font-family:Consolas,monospace;user-select:all}.step{color:#135bbb;font-weight:600}.summary{display:flex;gap:16px;flex-wrap:wrap}.summary span{padding:12px;border-radius:9px;background:#edf4ff}section{margin:25px 0}.hidden,[hidden]{display:none!important}#profileForm{max-width:850px}details{margin:18px 0}summary{cursor:pointer;font-weight:600}footer{padding:25px;color:#667b95;text-align:center}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #68adff;outline-offset:2px}@media(max-width:650px){header{padding:15px;align-items:flex-start;flex-wrap:wrap}main{padding:18px 12px}h1{font-size:25px}.formgrid{grid-template-columns:1fr}.wide{grid-column:auto}.hero{padding:23px}.card{padding:18px}}

/* v0.20.7: unified customer/billing visual language. */
.ui-icon{display:inline-block;vertical-align:middle;flex-shrink:0}.action-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;line-height:1.25}button,.button{transition:background .15s,border-color .15s,box-shadow .15s}button:hover,.button:hover{background:#edf4ff;border-color:#b7ceed}button.primary:hover{background:#1058be;color:#fff;border-color:#1058be}.actions h2{margin:0 auto 0 0}.eyebrow{display:block;color:#617b9d;font-size:10px;font-weight:700;letter-spacing:1.8px;margin-bottom:8px}h1{letter-spacing:-.8px}header{box-shadow:0 3px 16px #16375c06}.hero{background:radial-gradient(ellipse at 95% 0,#287ec7,transparent 62%),linear-gradient(115deg,#102745,#154a82);box-shadow:0 12px 30px #153c6412}.hero p{max-width:670px}.card{box-shadow:0 5px 18px #1a385509}.pill{font-weight:600;letter-spacing:.2px}.summary span{background:#f1f6fc;border:1px solid #e1eaf5;font-weight:600;color:#1a466f}.card h3{overflow-wrap:anywhere;color:#173957}.card>.actions{border-top:1px solid #edf1f6;padding-top:14px;margin-top:16px}.card .actions .button{font-size:13px}.card p{overflow-wrap:anywhere}.tablewrap{border:1px solid #dce6f2;border-radius:12px;background:#fff}th{background:#f7f9fd;letter-spacing:.5px;padding:13px 12px}td{padding:15px 12px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f7faff}.count-badge{display:inline-grid;place-items:center;min-width:30px;height:28px;border-radius:8px;background:#eef4ff;color:#1657a5;font-weight:700}.billing-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0 30px}.billing-stat{display:flex;gap:14px;align-items:center;background:#fff;border:1px solid #dce6f2;border-radius:14px;padding:20px}.stat-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#edf4ff;color:#1769e0}.billing-stat small{color:#627893;font-size:12px}.billing-stat strong{display:block;font-size:27px;margin-top:4px;color:#183b60}dialog h2{padding-bottom:15px;border-bottom:1px solid #e5edf7}input:focus,select:focus,textarea:focus{border-color:#82ace6}details>summary{padding:13px 16px;background:#eaf1fa;border-radius:10px;color:#264c76}.renewal-confirmation{padding:12px;border:1px solid #b9cfe9;border-radius:10px;background:#f0f6ff;line-height:1.5}.renewal-confirmation input{flex-shrink:0}
@media(max-width:650px){.billing-stats{grid-template-columns:1fr;gap:9px}.billing-stat{padding:14px}.billing-stat strong{font-size:22px}.action-button{min-height:44px}.card .actions{gap:8px}.card .actions>*{flex:1 1 auto}.hero h1{font-size:27px}}
@media(prefers-reduced-motion:reduce){button,.button{transition:none}}
/* v0.20.7 Customer Hub: a single directory with details and operational links. */
.hub-heading,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.hub-heading p{margin-bottom:0}.hub-tabs{display:flex;gap:5px;overflow-x:auto;padding:6px;background:#e7eef8;border-radius:12px;position:sticky;top:0;z-index:2}.hub-tabs button{white-space:nowrap;background:transparent;border-color:transparent;flex:1}.hub-tabs button[aria-pressed=true]{background:#fff;color:#155bc0;box-shadow:0 2px 8px #173b6112}.search-label{min-width:min(100%,260px);margin:0 0 15px}.icon-only{padding:9px;width:38px;height:38px}.icon-only span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.icon-only:focus-visible{outline:3px solid #68adff}.customer-avatar{display:inline-grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:11px;background:#eaf2ff;color:#1659b4;font-weight:700}.customer-cell{display:flex;align-items:center;gap:11px}.customer-cell small{color:#687f9b}.stage-list{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.stage{background:#f3f5f8;border:1px solid #dde5ef;color:#62738a;border-radius:8px;padding:9px 12px;font-size:12px;display:flex;align-items:center;gap:6px}.stage.done{background:#eaf7f0;color:#187448;border-color:#c5e5d4}.stage.needs-review{background:#fff6e5;color:#875c15;border-color:#f0d79d}.customer-detail{background:#fff;border:1px solid #d9e4f1;border-radius:18px;padding:24px;box-shadow:0 8px 26px #122f5109}.customer-detail .profile-bar{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap}.customer-detail h2{margin:5px 0}.timeline{list-style:none;padding:0;margin:0}.timeline li{border-left:2px solid #dce7f6;padding:0 0 20px 18px;position:relative}.timeline li:before{content:'';width:8px;height:8px;border-radius:50%;background:#357bd0;position:absolute;left:-5px;top:7px}.timeline small{display:block;color:#72849c;margin:4px 0}.readiness{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.readiness .stage{margin:0}.hub-tabs button:hover{background:#f5f8fd}.customer-detail form{margin:0}td .actions{min-width:88px}td .actions .icon-only{flex:0 0 38px}.license-chip{font-family:Consolas,monospace;font-size:12px;color:#536e8a}.hub-heading .actions{margin-bottom:10px}
@media(max-width:650px){.hub-tabs button{font-size:13px;min-height:44px}.customer-detail{padding:15px}.hub-heading{align-items:flex-start}.section-heading{gap:8px}.section-heading .search-label{width:100%}.icon-only{width:44px;height:44px}td .actions .icon-only{flex-basis:44px}.customer-detail .formgrid{grid-template-columns:1fr}.stage-list{display:grid;grid-template-columns:1fr 1fr}dialog{padding:18px}header .actions a{font-size:13px}}

/* v0.20.7: separate identity rows in all deletion reviews. */
.record-identity{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:16px 0;min-width:0}
.record-name{display:block;min-width:0;line-height:1.5;overflow-wrap:anywhere}
.record-id{display:block;min-width:0;max-width:100%;margin:0;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.record-effect{margin:16px 0;overflow-wrap:anywhere}
.check input[type=checkbox]{flex:0 0 18px}
dialog{box-sizing:border-box;overflow-wrap:anywhere}

.gateway-fields{grid-column:1/-1;min-width:0;border:1px solid #dbe5f2;border-radius:12px;padding:16px;margin:0}.gateway-fields[hidden]{display:none}.gateway-fields legend{font-weight:650;padding:0 8px}.gateway-fields .notice{overflow-wrap:anywhere}
