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

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

#commerceHub{background:transparent;min-width:0;padding:8px 0 30px;font-size:14px}#commerceHub section{padding:0;box-shadow:none;border:0;background:transparent}#commerceHub .customer-detail{padding:24px;background:white;border:1px solid var(--line)}#commerceHub .hub-tabs{top:0}dialog.commerce-surface{margin:auto;background:white;padding:24px;color:#18304d}dialog.commerce-surface .tablewrap table{min-width:0}dialog.commerce-surface .offline-summary{background:#eaf7f0;padding:15px;border-radius:10px}.commerce-surface .danger{color:#a52739}.commerce-surface .wizard-steps{font-size:12px;color:#617b9d}.commerce-surface .code{word-break:break-all}@media(max-width:650px){#commerceHub .customer-detail{padding:15px}dialog.commerce-surface{padding:18px}}
/* Contain table/tab scroll areas and visually hidden icon labels within the portal column. */
#customerHub{min-width:0;max-width:100%;overflow-x:clip}.commerce-surface .icon-only{position:relative;flex:0 0 auto}

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

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