/* Host Luma unified portal — bright, premium SaaS theme.
   One stylesheet for the whole portal. System font stack, zero external deps. */
:root{
  --bg:#f7f9fc; --surface:#ffffff; --surface-2:#f2f5fa;
  --ink:#050e1c; --text:#3a465a; --muted:#6b7890; --faint:#95a1b5;
  --line:#e6ebf2; --line-2:#dbe2ec;
  --brand:#1a73e8; --brand-ink:#ffffff; --brand-50:#eaf1fd; --brand-100:#d6e4fb;
  --ok:#0f9d58; --ok-bg:#e6f6ed; --ok-line:#bfe6cf;
  --warn:#b7791f; --warn-bg:#fdf3e2; --warn-line:#f3ddb4;
  --bad:#d93025; --bad-bg:#fdeceb; --bad-line:#f6ccc8;
  --radius:16px; --radius-sm:11px; --shadow:0 1px 2px rgba(9,30,66,.06),0 6px 20px rgba(9,30,66,.06);
  --shadow-lg:0 12px 40px rgba(9,30,66,.12); --sidebar-w:248px;
  --font:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
}
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{font-family:var(--font);background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;font-size:15px;line-height:1.55;}
a{color:inherit;text-decoration:none;}
h1,h2,h3{color:var(--ink);margin:0;letter-spacing:-.01em;}

/* ---- shell ---- */
.app{min-height:100vh;}
.sidebar{position:fixed;top:0;left:0;bottom:0;width:var(--sidebar-w);background:var(--surface);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:18px 14px;z-index:40;}
.sidebar-brand{padding:8px 10px 18px;}
.sidebar-brand img{height:28px;width:auto;display:block;}
.nav{display:flex;flex-direction:column;gap:2px;flex:1;}
.nav-item{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:10px;color:var(--muted);font-weight:600;font-size:14px;transition:background .12s,color .12s;}
.nav-item:hover{background:var(--surface-2);color:var(--ink);}
.nav-item.is-active{background:var(--brand-50);color:var(--brand);}
.nav-ico{width:19px;height:19px;flex:0 0 auto;}
.sidebar-foot{border-top:1px solid var(--line);padding-top:10px;margin-top:8px;}
.nav-signout{color:var(--muted);}
.nav-signout:hover{color:var(--bad);background:var(--bad-bg);}
.nav-signout svg{width:19px;height:19px;}

.main{margin-left:var(--sidebar-w);min-height:100vh;display:flex;flex-direction:column;}
.topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:14px;padding:14px 28px;background:rgba(247,249,252,.82);backdrop-filter:saturate(140%) blur(10px);border-bottom:1px solid var(--line);}
.topbar-title{font-weight:700;color:var(--ink);font-size:16px;}
.topbar-account{margin-left:auto;display:flex;align-items:center;gap:10px;}
.acc-email{color:var(--muted);font-size:13px;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.acc-avatar{width:32px;height:32px;border-radius:50%;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;}
.nav-burger{display:none;cursor:pointer;color:var(--ink);}
.nav-burger svg{width:22px;height:22px;}
.content{padding:28px;max-width:1120px;width:100%;}

/* ---- page header ---- */
.page-head{margin-bottom:22px;}
.page-head h1{font-size:24px;font-weight:800;}
.page-head p{margin:6px 0 0;color:var(--muted);font-size:14.5px;max-width:640px;}
.eyebrow{color:var(--brand);font-size:12px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;margin-bottom:7px;}

/* ---- cards / grid ---- */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px;}
.card-link{transition:transform .16s,box-shadow .16s,border-color .16s;}
.card-link:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);border-color:var(--line-2);}
.card-ico{width:40px;height:40px;border-radius:11px;background:var(--brand-50);color:var(--brand);display:flex;align-items:center;justify-content:center;margin-bottom:14px;}
.card-ico svg{width:21px;height:21px;}
.card h3{font-size:16px;font-weight:700;}
.card .card-desc{color:var(--muted);font-size:13.5px;margin-top:5px;}

/* ---- stat tiles ---- */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:24px;}
.stat{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px;box-shadow:var(--shadow);}
.stat .stat-label{color:var(--muted);font-size:12.5px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;}
.stat .stat-value{font-size:26px;font-weight:800;color:var(--ink);margin-top:6px;}

/* ---- badges ---- */
.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:700;border:1px solid transparent;}
.badge .dot{width:6px;height:6px;border-radius:50%;}
.badge-ok{background:var(--ok-bg);color:var(--ok);border-color:var(--ok-line);} .badge-ok .dot{background:var(--ok);}
.badge-warn{background:var(--warn-bg);color:var(--warn);border-color:var(--warn-line);} .badge-warn .dot{background:var(--warn);}
.badge-bad{background:var(--bad-bg);color:var(--bad);border-color:var(--bad-line);} .badge-bad .dot{background:var(--bad);}
.badge-soon{background:var(--surface-2);color:var(--muted);border-color:var(--line-2);}

/* ---- buttons ---- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 18px;border-radius:10px;font-weight:700;font-size:14px;cursor:pointer;border:1px solid transparent;font-family:inherit;transition:background .12s,box-shadow .12s,transform .12s;}
.btn-primary{background:var(--brand);color:var(--brand-ink);box-shadow:0 6px 16px rgba(26,115,232,.24);}
.btn-primary:hover{background:#1665d8;transform:translateY(-1px);}
.btn-ghost{background:var(--surface);border-color:var(--line-2);color:var(--ink);}
.btn-ghost:hover{background:var(--surface-2);}
.btn-block{width:100%;}

/* ---- empty state ---- */
.empty{text-align:center;padding:52px 26px;background:var(--surface);border:1px dashed var(--line-2);border-radius:var(--radius);}
.empty-ico{width:52px;height:52px;border-radius:14px;margin:0 auto 16px;background:var(--brand-50);color:var(--brand);display:flex;align-items:center;justify-content:center;}
.empty-ico svg{width:26px;height:26px;}
.empty-tag{color:var(--brand);font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;margin-bottom:6px;}
.empty h3{font-size:17px;font-weight:800;}
.empty p{color:var(--muted);font-size:14px;max-width:420px;margin:7px auto 18px;}

/* ---- auth (login) ---- */
.auth-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(900px 460px at 50% -10%,var(--brand-50),transparent 60%),var(--bg);}
.auth-card{width:100%;max-width:420px;background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow-lg);padding:34px;}
.auth-card .brand{height:28px;margin-bottom:22px;}
.auth-card h1{font-size:22px;font-weight:800;}
.auth-card .sub{color:var(--muted);font-size:14.5px;margin:8px 0 22px;}
.field label{display:block;font-size:13px;font-weight:700;color:var(--muted);margin-bottom:7px;}
.field input{width:100%;padding:13px 14px;border-radius:11px;border:1px solid var(--line-2);background:var(--surface);color:var(--ink);font-size:15px;font-family:inherit;outline:none;transition:border-color .12s,box-shadow .12s;}
.field input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-100);}
.auth-card .btn{margin-top:16px;}
.auth-hint{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:12.5px;margin-top:16px;}
.auth-hint svg{width:15px;height:15px;flex:0 0 auto;}
.notice{padding:12px 14px;border-radius:11px;font-size:14px;margin-bottom:18px;display:flex;gap:9px;align-items:flex-start;}
.notice svg{width:17px;height:17px;flex:0 0 auto;margin-top:1px;}
.notice.ok{background:var(--ok-bg);color:var(--ok);border:1px solid var(--ok-line);}
.notice.bad{background:var(--bad-bg);color:var(--bad);border:1px solid var(--bad-line);}

/* ---- responsive ---- */
@media(max-width:860px){
  .sidebar{transform:translateX(-100%);transition:transform .2s ease;box-shadow:var(--shadow-lg);}
  .nav-toggle-cb:checked ~ .sidebar{transform:none;}
  .main{margin-left:0;}
  .nav-burger{display:inline-flex;}
  .content{padding:20px;}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;}}
:focus-visible{outline:3px solid var(--brand-100);outline-offset:2px;border-radius:8px;}
/* ---- hosting integration ---- */
.section-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:4px 0 16px;}
.section-title-row h2{font-size:18px;font-weight:800;}
.section-title-row p{margin:4px 0 0;color:var(--muted);font-size:13.5px;}
.portal-hosting-notice{max-width:760px;}
.hosting-list{display:flex;flex-direction:column;gap:18px;}
.host-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px;}
.host-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.host-domain{display:flex;align-items:flex-start;gap:13px;min-width:0;}
.host-icon{width:42px;height:42px;border-radius:12px;background:var(--brand-50);color:var(--brand);display:flex;align-items:center;justify-content:center;flex:0 0 auto;}
.host-icon svg{width:22px;height:22px;}
.host-title-wrap{min-width:0;}
.host-title-wrap h3{font-size:18px;font-weight:800;word-break:break-word;}
.host-title-wrap p{margin:4px 0 0;color:var(--muted);font-size:13.5px;}
.host-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;}
.host-alert{margin-top:16px;margin-bottom:0;}
.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin-top:16px;}
.drow{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:11px 13px;border:1px solid var(--line);border-radius:11px;background:var(--surface-2);}
.drow strong{color:var(--muted);font-size:12.5px;font-weight:700;}
.drow span{color:var(--ink);font-size:13.5px;font-weight:700;text-align:right;word-break:break-word;}
.metric-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(138px,1fr));gap:10px;margin-top:16px;padding:12px;border:1px solid var(--line);border-radius:14px;background:#fbfcff;}
.metric-item{padding:10px 11px;border-radius:10px;background:var(--surface);border:1px solid var(--line);}
.metric-label{display:block;color:var(--muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;}
.metric-value{display:block;color:var(--ink);font-weight:800;font-size:14px;margin-top:4px;}
.btn-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:16px;}
.btn svg{width:17px;height:17px;flex:0 0 auto;}
.sso-form{margin:0;display:inline-flex;}
.sso-form .btn{height:100%;}
.hosting-details{margin-top:16px;padding-top:16px;border-top:1px solid var(--line);}
.manage-actions{display:flex;flex-wrap:wrap;gap:10px;}
.perf-panel{margin-top:16px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fbfcff;}
.perf-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;}
.perf-title{color:var(--ink);font-weight:800;}
.perf-score{display:inline-flex;align-items:center;justify-content:center;min-width:72px;padding:7px 10px;border-radius:999px;background:var(--brand-50);color:var(--brand);font-size:13px;font-weight:800;}
.perf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:9px;}
.perf-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;border-radius:10px;border:1px solid var(--line);background:var(--surface);}
.perf-row strong{color:var(--muted);font-size:12.5px;}
.perf-row span{color:var(--ink);font-size:13px;font-weight:700;text-align:right;word-break:break-word;}
.endpoint-error{margin-top:10px;padding:10px 12px;border-radius:10px;border:1px solid var(--warn-line);background:var(--warn-bg);color:var(--warn);font-size:13px;font-weight:700;}
@media(max-width:640px){.host-card{padding:18px;}.drow,.perf-row{align-items:flex-start;flex-direction:column;}.drow span,.perf-row span{text-align:left;}.btn-row .btn,.sso-form{width:100%;}.sso-form .btn{width:100%;}.metric-strip{grid-template-columns:1fr 1fr;}}
@media(max-width:420px){.metric-strip{grid-template-columns:1fr;}}

/* ---- phase 3.2A hosting refinement ---- */
.hosting-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px;}
.hosting-command{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr)) minmax(210px,.8fr);gap:12px;margin-bottom:24px;align-items:stretch;}
.command-metric,.command-actions{background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:16px;}
.command-metric{display:grid;grid-template-columns:34px 1fr;grid-template-areas:"icon label" "icon value" "icon sub";column-gap:11px;align-content:center;min-height:116px;}
.command-icon{grid-area:icon;width:34px;height:34px;border-radius:9px;background:var(--brand-50);color:var(--brand);display:flex;align-items:center;justify-content:center;}
.command-icon svg{width:18px;height:18px;}
.command-label{grid-area:label;color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;}
.command-metric strong{grid-area:value;color:var(--ink);font-size:23px;line-height:1.1;font-weight:850;margin-top:4px;}
.command-metric small{grid-area:sub;color:var(--muted);font-size:12.5px;margin-top:4px;}
.command-actions{display:flex;flex-direction:column;gap:9px;justify-content:center;}
.command-actions .btn{min-height:40px;padding:9px 12px;box-shadow:none;}
.hosting-list-head{margin-top:4px;}
.hosting-list{display:flex;flex-direction:column;gap:12px;}
.host-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 1px 2px rgba(9,30,66,.04),0 6px 18px rgba(9,30,66,.045);overflow:hidden;transition:border-color .18s,box-shadow .18s,transform .18s;}
.host-card:hover{border-color:#cfd9e8;box-shadow:0 3px 8px rgba(9,30,66,.06),0 10px 28px rgba(9,30,66,.08);}
.host-card.is-expanded{border-color:#b9cff4;box-shadow:0 6px 18px rgba(9,30,66,.08),0 20px 45px rgba(26,115,232,.10);}
.host-summary{appearance:none;border:0;background:transparent;width:100%;display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(500px,2fr);gap:18px;align-items:center;padding:16px 18px;cursor:pointer;text-align:left;font-family:inherit;color:inherit;}
.host-main{display:flex;align-items:center;gap:13px;min-width:0;}
.host-icon{width:38px;height:38px;border-radius:10px;background:var(--brand-50);color:var(--brand);display:flex;align-items:center;justify-content:center;flex:0 0 auto;}
.host-icon svg{width:20px;height:20px;}
.host-name-block{display:flex;flex-direction:column;gap:3px;min-width:0;}
.host-name-block strong{color:var(--ink);font-size:16px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.host-name-block span{color:var(--muted);font-size:13px;font-weight:700;}
.host-summary-meta{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0;}
.summary-chip,.summary-date,.expand-label{display:inline-flex;align-items:center;min-height:28px;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800;white-space:nowrap;}
.summary-chip{background:#eef5ff;color:#2b5fb5;border:1px solid #d8e6fb;}
.summary-date{background:var(--surface-2);color:var(--muted);border:1px solid var(--line);}
.expand-label{color:var(--brand);background:transparent;padding-right:2px;}
.chevron{display:inline-flex;width:28px;height:28px;border-radius:8px;color:var(--brand);align-items:center;justify-content:center;transition:transform .2s,background .2s;}
.chevron svg{width:17px;height:17px;}
.host-card.is-expanded .chevron{transform:rotate(180deg);background:var(--brand-50);}
.hosting-details{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .28s ease,opacity .2s ease;border-top:1px solid transparent;}
.host-card.is-expanded .hosting-details{grid-template-rows:1fr;opacity:1;border-top-color:var(--line);}
.hosting-details-inner{overflow:hidden;padding:0 18px;}
.host-card.is-expanded .hosting-details-inner{padding:18px;}
.host-alert{margin:0 0 16px;}
.hosting-expanded-grid{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(360px,1.1fr);gap:16px;align-items:start;}
.hosting-panel{background:#fbfcff;border:1px solid #edf1f7;border-radius:12px;padding:16px;}
.panel-heading{display:flex;align-items:center;gap:9px;margin-bottom:14px;}
.panel-heading span{width:30px;height:30px;border-radius:9px;background:var(--brand-50);color:var(--brand);display:flex;align-items:center;justify-content:center;flex:0 0 auto;}
.panel-heading svg{width:16px;height:16px;}
.panel-heading h3{font-size:15px;font-weight:850;}
.overview-list{margin:0;display:flex;flex-direction:column;gap:0;}
.overview-list div{display:grid;grid-template-columns:120px 1fr;gap:12px;padding:10px 0;border-top:1px solid #edf1f7;align-items:center;}
.overview-list div:first-child{border-top:0;padding-top:0;}
.overview-list dt{color:var(--muted);font-size:12.5px;font-weight:800;}
.overview-list dd{margin:0;color:var(--ink);font-size:13.5px;font-weight:750;text-align:right;word-break:break-word;}
.resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.resource-card{background:var(--surface);border:1px solid #e9eef6;border-radius:11px;padding:12px;min-height:104px;display:grid;align-content:start;gap:6px;}
.resource-card.resource-wide{grid-column:span 2;min-height:82px;}
.resource-card>span{width:30px;height:30px;border-radius:9px;background:#f2f7ff;color:var(--brand);display:flex;align-items:center;justify-content:center;}
.resource-card svg{width:16px;height:16px;}
.resource-card small{color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;}
.resource-card strong{color:var(--ink);font-size:16px;font-weight:850;}
.resource-bar{height:7px;background:#e9eff7;border-radius:999px;overflow:hidden;margin-top:3px;}
.resource-bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#1a73e8,#0f9d58);border-radius:inherit;transition:width .3s ease;}
.perf-panel{margin-top:16px;}
.perf-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;}
.perf-head .panel-heading{margin-bottom:0;}
.perf-score{display:inline-flex;align-items:center;justify-content:center;min-width:78px;padding:7px 11px;border-radius:999px;background:var(--brand-50);color:var(--brand);font-size:13px;font-weight:850;border:1px solid var(--brand-100);}
.perf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:9px;}
.perf-row{display:grid;grid-template-columns:28px minmax(70px,1fr) auto;gap:8px;align-items:center;padding:10px;border:1px solid #e9eef6;border-radius:10px;background:var(--surface);}
.perf-row>span{width:28px;height:28px;border-radius:8px;background:#f2f7ff;color:var(--brand);display:flex;align-items:center;justify-content:center;}
.perf-row svg{width:15px;height:15px;}
.perf-row strong{color:var(--muted);font-size:12.5px;font-weight:800;}
.perf-row em{font-style:normal;color:var(--ink);font-size:12.5px;font-weight:850;padding:4px 8px;border-radius:999px;background:var(--surface-2);white-space:nowrap;}
.perf-row em.is-good{background:var(--ok-bg);color:var(--ok);}
.perf-row em.is-warn{background:var(--warn-bg);color:var(--warn);}
.perf-row em.is-bad{background:var(--bad-bg);color:var(--bad);}
.action-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line);}
.action-toolbar .btn{min-height:40px;box-shadow:none;}
.btn-soft{background:#f5f8fc;border-color:#e7edf6;color:#536176;}
.btn-soft:hover:not(:disabled){background:#edf3fb;color:var(--ink);}
.btn:disabled{cursor:not-allowed;opacity:.48;box-shadow:none;transform:none;}
.sso-form{margin:0;display:inline-flex;}
.endpoint-error{margin-top:10px;padding:10px 12px;border-radius:10px;border:1px solid var(--warn-line);background:var(--warn-bg);color:var(--warn);font-size:13px;font-weight:750;}
.hosting-empty .btn{margin-top:12px;}
@media(max-width:1120px){.hosting-command{grid-template-columns:repeat(2,minmax(0,1fr));}.command-actions{grid-column:span 2;flex-direction:row;flex-wrap:wrap}.host-summary{grid-template-columns:1fr}.host-summary-meta{justify-content:flex-start;flex-wrap:wrap}.hosting-expanded-grid{grid-template-columns:1fr}}
@media(max-width:720px){.hosting-command{grid-template-columns:1fr}.command-actions{grid-column:auto;flex-direction:column}.host-summary{padding:15px}.host-summary-meta{gap:7px}.summary-date{display:none}.hosting-details-inner,.host-card.is-expanded .hosting-details-inner{padding-left:15px;padding-right:15px}.overview-list div{grid-template-columns:1fr}.overview-list dd{text-align:left}.resource-grid{grid-template-columns:1fr}.resource-card.resource-wide{grid-column:auto}.action-toolbar .btn,.sso-form{width:100%}.sso-form .btn{width:100%}.perf-row{grid-template-columns:28px 1fr}.perf-row em{grid-column:2;justify-self:start}}

/* ---- phase 3.2A UI hotfix: compact premium accordion ---- */
.content{max-width:1260px;}
.hosting-page-head{margin-bottom:16px;}
.hosting-page-head h1{font-size:28px;letter-spacing:-.02em;}
.hosting-command{grid-template-columns:1.05fr 1.05fr 1.05fr 1.05fr 1.15fr;gap:14px;margin-bottom:26px;}
.command-metric,.command-actions{border-color:#dfe7f2;border-radius:14px;box-shadow:0 1px 2px rgba(15,23,42,.04),0 10px 24px rgba(15,23,42,.055);}
.command-metric{min-height:104px;padding:18px;grid-template-columns:38px 1fr;}
.command-icon{width:38px;height:38px;border-radius:10px;}
.command-metric strong{font-size:24px;letter-spacing:-.02em;}
.command-actions{padding:16px;}
.command-actions .btn{justify-content:flex-start;border-radius:10px;background:#fff;}
.hosting-list{gap:10px;}
.host-card{padding:0!important;border-radius:14px;border-color:#dfe7f2;box-shadow:0 1px 2px rgba(15,23,42,.035),0 8px 22px rgba(15,23,42,.045);}
.host-summary{min-height:72px;padding:14px 18px!important;grid-template-columns:minmax(260px,1fr) auto;}
.host-card:hover{transform:translateY(-1px);}
.host-card.is-expanded{transform:none;border-color:#b8cff4;}
.host-icon{width:36px;height:36px;border-radius:10px;}
.host-name-block strong{font-size:15.5px;}
.host-name-block span{font-size:12.5px;}
.host-summary-meta{gap:8px;}
.host-summary-meta .badge,.summary-chip,.summary-date,.expand-label{min-height:26px;padding:4px 9px;font-size:11.5px;}
.expand-label{font-weight:850;}
.hosting-details{margin:0!important;padding:0!important;border-top:0;}
.host-card.is-expanded .hosting-details{border-top:1px solid var(--line);}
.hosting-details-inner{padding:0 18px!important;}
.host-card.is-expanded .hosting-details-inner{padding:16px 18px 18px!important;}
.hosting-expanded-grid{grid-template-columns:minmax(280px,.88fr) minmax(420px,1.12fr);gap:14px;}
.hosting-panel{border-color:#e8eef7;background:#fcfdff;border-radius:12px;padding:15px;}
.panel-heading{margin-bottom:10px;}
.overview-list div{padding:8px 0;}
.resource-grid{gap:9px;}
.resource-card{min-height:88px;padding:11px;border-color:#e8eef7;}
.resource-card.resource-wide{min-height:74px;}
.perf-panel{margin-top:14px;}
.perf-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;}
.perf-row{padding:8px 9px;border-color:#e8eef7;}
.action-toolbar{margin-top:14px;padding-top:14px;}
.action-toolbar .btn{border-radius:10px;}
.action-toolbar .btn-primary{box-shadow:0 8px 18px rgba(26,115,232,.18);}
@media(max-width:1120px){.hosting-command{grid-template-columns:repeat(2,minmax(0,1fr));}.host-summary{grid-template-columns:1fr;}.hosting-expanded-grid{grid-template-columns:1fr;}}
@media(max-width:720px){.content{padding:18px;}.hosting-command{grid-template-columns:1fr;}.host-summary{min-height:auto;padding:14px!important;}.host-summary-meta{margin-left:49px}.hosting-details-inner,.host-card.is-expanded .hosting-details-inner{padding-left:14px!important;padding-right:14px!important;}}

/* ---- phase 3.2A UI hotfix 2: cohesive dashboard rail + tighter expanded state ---- */
.hosting-page-head{margin-bottom:14px;}
.hosting-page-head .eyebrow{margin-bottom:6px;}
.hosting-page-head h1{font-size:29px;line-height:1.08;}
.hosting-page-head p{font-size:14px;max-width:760px;}
.hosting-command{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr)) 230px;
  gap:0;
  align-items:stretch;
  background:var(--surface);
  border:1px solid #dfe7f2;
  border-radius:14px;
  box-shadow:0 1px 2px rgba(15,23,42,.04),0 12px 34px rgba(15,23,42,.06);
  padding:8px;
  margin-bottom:24px;
}
.command-metric,.command-actions{
  box-shadow:none;
  border:0;
  background:transparent;
  border-radius:10px;
}
.command-metric{
  min-height:88px;
  padding:14px 16px;
  grid-template-columns:34px minmax(0,1fr);
  border-right:1px solid #edf1f7;
}
.command-metric:nth-child(4){border-right:0;}
.command-icon{width:34px;height:34px;}
.command-label{font-size:11.5px;line-height:1.25;}
.command-metric strong{font-size:23px;line-height:1.08;word-break:normal;}
.command-metric small{font-size:12px;line-height:1.3;}
.command-actions{
  padding:10px 8px 10px 14px;
  border-left:1px solid #edf1f7;
  gap:8px;
}
.command-actions .btn{
  min-height:36px;
  padding:8px 12px;
  border-radius:9px;
  font-size:13px;
}
.hosting-list-head{margin-bottom:12px;}
.hosting-list-head h2{font-size:18px;}
.hosting-list-head p{font-size:13px;margin-top:3px;}
.hosting-list{gap:9px;}
.host-card{border-radius:13px;box-shadow:0 1px 2px rgba(15,23,42,.035),0 7px 18px rgba(15,23,42,.04);}
.host-summary{min-height:64px;padding:12px 16px!important;grid-template-columns:minmax(300px,1fr) auto;}
.host-icon{width:34px;height:34px;}
.host-name-block strong{font-size:15px;}
.host-name-block span{font-size:12px;}
.host-summary-meta .badge,.summary-chip,.summary-date,.expand-label{min-height:24px;padding:4px 8px;font-size:11px;}
.chevron{width:25px;height:25px;}
.host-card.is-expanded .hosting-details-inner{padding:14px 16px 16px!important;}
.hosting-expanded-grid{
  grid-template-columns:minmax(270px,.78fr) minmax(520px,1.22fr);
  gap:12px;
}
.hosting-panel{padding:13px;border-radius:11px;background:#fcfdff;}
.panel-heading{margin-bottom:9px;}
.panel-heading span{width:28px;height:28px;}
.panel-heading h3{font-size:14px;}
.overview-list div{grid-template-columns:112px 1fr;padding:7px 0;}
.overview-list dt,.overview-list dd{font-size:12.5px;}
.resource-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;}
.resource-card,.resource-card.resource-wide{
  grid-column:auto;
  min-height:78px;
  padding:10px;
}
.resource-card>span{width:27px;height:27px;}
.resource-card small{font-size:10.5px;line-height:1.2;}
.resource-card strong{font-size:14px;line-height:1.2;}
.resource-bar{height:6px;}
.perf-panel{margin-top:12px;padding:13px;}
.perf-head{margin-bottom:10px;}
.perf-score{min-width:70px;padding:6px 10px;font-size:12px;}
.perf-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;}
.perf-row{
  grid-template-columns:24px minmax(0,1fr);
  grid-template-rows:auto auto;
  gap:5px 7px;
  min-height:58px;
  padding:8px;
}
.perf-row>span{width:24px;height:24px;}
.perf-row strong{font-size:11.5px;line-height:1.15;}
.perf-row em{
  grid-column:2;
  justify-self:start;
  font-size:11px;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
}
.action-toolbar{
  margin-top:12px;
  padding-top:12px;
  gap:8px;
}
.action-toolbar .btn{
  min-height:38px;
  padding:9px 13px;
  font-size:13px;
}
@media(max-width:1260px){
  .hosting-command{grid-template-columns:repeat(2,minmax(0,1fr));}
  .command-metric{border-right:0;border-bottom:1px solid #edf1f7;}
  .command-metric:nth-child(3),.command-metric:nth-child(4){border-bottom:0;}
  .command-actions{grid-column:span 2;border-left:0;border-top:1px solid #edf1f7;flex-direction:row;flex-wrap:wrap;padding:12px 8px 8px;}
  .hosting-expanded-grid{grid-template-columns:1fr;}
  .resource-grid,.perf-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:760px){
  .hosting-command{grid-template-columns:1fr;}
  .command-metric{border-bottom:1px solid #edf1f7;}
  .command-metric:nth-child(3),.command-metric:nth-child(4){border-bottom:1px solid #edf1f7;}
  .command-actions{grid-column:auto;flex-direction:column;}
  .host-summary{grid-template-columns:1fr;min-height:auto;}
  .host-summary-meta{margin-left:47px;align-items:flex-start;}
  .resource-grid,.perf-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:460px){
  .resource-grid,.perf-grid{grid-template-columns:1fr;}
}

[hidden]{
  display:none!important;
}


/* ---- hosting premium control-centre polish ---- */
.host-card.is-expanded{
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
}
.host-health-card{
  display:grid;
  grid-template-columns:minmax(210px,.55fr) 1fr;
  gap:16px;
  align-items:stretch;
  margin-bottom:14px;
  padding:14px;
  border:1px solid #e3ebf6;
  border-radius:13px;
  background:linear-gradient(135deg,#ffffff 0%,#f7fbff 100%);
}
.health-title{
  display:flex;
  align-items:center;
  gap:12px;
}
.health-title>span{
  width:38px;
  height:38px;
  border-radius:12px;
  background:var(--brand-50);
  color:var(--brand);
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
.health-title svg{width:20px;height:20px;}
.health-title h3{font-size:15px;font-weight:900;margin:0;}
.health-title p{margin:2px 0 0;color:var(--muted);font-size:12.5px;}
.health-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
  gap:8px;
}
.health-pill{
  min-height:58px;
  display:grid;
  grid-template-columns:24px 1fr;
  grid-template-rows:auto auto;
  gap:2px 8px;
  align-content:center;
  padding:9px 10px;
  border-radius:11px;
  border:1px solid #e9eef6;
  background:#fff;
}
.health-pill svg,
.health-live-dot{
  grid-row:1 / span 2;
  align-self:center;
}
.health-pill svg{width:20px;height:20px;color:var(--brand);}
.health-live-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--ok);
  margin-left:6px;
}
.health-pill span{
  color:var(--muted);
  font-size:11px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.035em;
}
.health-pill strong{
  color:var(--ink);
  font-size:13px;
  font-weight:900;
}
.health-pill.is-good{
  border-color:var(--ok-line);
  background:linear-gradient(180deg,#f7fffb,#ffffff);
}
.health-pill.is-warn{
  border-color:var(--warn-line);
  background:linear-gradient(180deg,#fffaf1,#ffffff);
}
.health-pill.is-bad{
  border-color:var(--bad-line);
  background:linear-gradient(180deg,#fff5f4,#ffffff);
}

.info-card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.info-tile{
  min-height:70px;
  padding:11px 12px;
  border-radius:11px;
  border:1px solid #e8eef7;
  background:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
}
.info-tile small{
  color:var(--muted);
  font-size:11px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.info-tile strong{
  color:var(--ink);
  font-size:13px;
  font-weight:900;
  word-break:break-word;
}

.timeline-panel{
  margin-top:12px;
}
.timeline-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:8px;
}
.timeline-list div{
  display:grid;
  grid-template-columns:16px 1fr;
  grid-template-rows:auto auto;
  gap:2px 8px;
  padding:10px 11px;
  border:1px solid #e8eef7;
  border-radius:10px;
  background:#fff;
}
.timeline-list span{
  grid-row:1 / span 2;
  width:10px;
  height:10px;
  margin-top:4px;
  border-radius:999px;
  background:var(--ok);
  box-shadow:0 0 0 4px var(--ok-bg);
}
.timeline-list small{
  color:var(--muted);
  font-size:11px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.035em;
}
.timeline-list strong{
  color:var(--ink);
  font-size:12.5px;
  font-weight:900;
}

.perf-score-wrap{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.perf-rating{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  border:1px solid var(--line);
  background:#fff;
}
.perf-rating.is-good{background:var(--ok-bg);color:var(--ok);border-color:var(--ok-line);}
.perf-rating.is-warn{background:var(--warn-bg);color:var(--warn);border-color:var(--warn-line);}
.perf-rating.is-bad{background:var(--bad-bg);color:var(--bad);border-color:var(--bad-line);}

.resource-note{
  color:var(--muted);
  font-size:11px;
  font-weight:700;
}
.resource-card{
  position:relative;
  overflow:hidden;
}
.resource-card:after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:3px;
  background:linear-gradient(90deg,var(--brand),#45b883);
  opacity:.16;
}

.action-toolbar{
  background:#fbfdff;
  margin-left:-16px;
  margin-right:-16px;
  margin-bottom:-16px;
  padding:14px 16px 16px;
  border-radius:0 0 13px 13px;
}
.action-toolbar .btn-primary{
  min-width:150px;
}
.action-toolbar .btn-ghost{
  background:#fff;
}
.action-toolbar .btn[disabled]{
  display:inline-flex;
  opacity:.5;
}

@media(max-width:980px){
  .host-health-card{grid-template-columns:1fr;}
  .info-card-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:640px){
  .info-card-grid{grid-template-columns:1fr;}
  .health-grid{grid-template-columns:1fr 1fr;}
  .timeline-list{grid-template-columns:1fr;}
  .perf-score-wrap{justify-content:flex-start;}
}
@media(max-width:420px){
  .health-grid{grid-template-columns:1fr;}
}

[hidden]{display:none!important;}


/* ---- final hosting control-centre polish ---- */
.hosting-list{
  max-width:1040px;
}
.host-control-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px;
  margin-bottom:14px;
  border:1px solid #dfeafb;
  border-radius:16px;
  background:
    radial-gradient(circle at top left, rgba(26,115,232,.10), transparent 32%),
    linear-gradient(135deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 10px 28px rgba(9,30,66,.06);
}
.hero-site{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.hero-site-icon{
  width:48px;
  height:48px;
  border-radius:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  background:#eaf2ff;
  color:var(--brand);
}
.hero-site-icon svg{width:23px;height:23px;}
.hero-kicker{
  color:var(--brand);
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:2px;
}
.hero-site h3{
  font-size:20px;
  line-height:1.15;
  font-weight:900;
  word-break:break-word;
}
.hero-site p{
  margin:3px 0 0;
  color:var(--muted);
  font-size:13px;
  font-weight:700;
}
.hero-live{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px;
  flex:0 0 auto;
}
.hero-score{
  min-width:70px;
}
.quick-actions-panel{
  margin:0 0 16px;
  padding:16px;
  border:1px solid #dfeafb;
  border-radius:16px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 8px 24px rgba(9,30,66,.05);
}
.quick-actions-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}
.quick-actions-heading .eyebrow{
  display:block;
  margin-bottom:4px;
}
.quick-actions-heading h3,
.hosting-details-heading h3{
  font-size:17px;
  font-weight:900;
}
.quick-actions-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.quick-action-card{
  min-height:190px;
  display:grid;
  grid-template-rows:auto 1fr auto;
  gap:12px;
  padding:17px;
  border:1px solid #e2eaf6;
  border-radius:14px;
  background:#fff;
  box-shadow:0 1px 2px rgba(9,30,66,.03);
}
.quick-action-card:hover{
  border-color:#cbdcf4;
  box-shadow:0 8px 22px rgba(26,115,232,.08);
}
.quick-action-icon{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:13px;
  background:var(--brand-50);
  color:var(--brand);
}
.quick-action-icon svg{
  width:22px;
  height:22px;
}
.quick-action-cpanel .quick-action-icon{
  background:#fff4e5;
  color:#b7791f;
}
.quick-action-copy h4{
  margin:0;
  color:var(--ink);
  font-size:16px;
  line-height:1.25;
  font-weight:900;
}
.quick-action-copy p{
  margin:5px 0 0;
  color:var(--muted);
  font-size:13.5px;
  font-weight:650;
}
.quick-action-button{
  min-height:46px;
  width:100%;
  font-size:14.5px;
}
.quick-action-button svg{
  width:18px;
  height:18px;
}
.hosting-details-heading{
  margin:18px 0 12px;
}
.hosting-details-heading p{
  margin:4px 0 0;
  color:var(--muted);
  font-size:13.5px;
}
.host-health-card{
  grid-template-columns:minmax(230px,.48fr) 1fr;
  padding:16px;
  border-radius:16px;
}
.health-title h3{
  font-size:16px;
}
.health-title p{
  max-width:280px;
}
.health-grid{
  grid-template-columns:repeat(auto-fit,minmax(135px,1fr));
}
.health-pill{
  min-height:64px;
  border-color:#d8eadf;
  background:linear-gradient(180deg,#ffffff 0%,#fbfffd 100%);
}
.health-pill.is-warn{
  border-color:var(--warn-line);
  background:linear-gradient(180deg,#ffffff 0%,#fffaf0 100%);
}
.hosting-expanded-grid{
  grid-template-columns:minmax(320px,.8fr) minmax(420px,1.2fr);
}
.hosting-panel{
  border-radius:16px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  border-color:#e1e9f4;
}
.info-card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.info-tile{
  min-height:78px;
  padding:13px 14px;
  border:1px solid #e5edf7;
  border-radius:13px;
  background:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
}
.info-tile small{
  color:var(--muted);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.055em;
}
.info-tile strong{
  color:var(--ink);
  font-size:14px;
  font-weight:900;
  word-break:break-word;
}
.resource-grid{
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
}
.resource-card,
.perf-row{
  box-shadow:0 1px 2px rgba(9,30,66,.03);
}
.resource-card{
  min-height:118px;
}
.resource-card.resource-wide{
  grid-column:auto;
  min-height:118px;
}
.resource-note{
  color:var(--muted);
  font-size:11.5px;
  font-weight:700;
}
.resource-card strong{
  font-size:17px;
}
.resource-bar{
  height:8px;
}
.timeline-panel{
  margin-top:14px;
}
.timeline-list{
  gap:10px;
}
.timeline-list div{
  border-radius:13px;
  background:#fff;
}
.perf-panel{
  margin-top:14px;
}
.perf-head{
  padding-bottom:10px;
  border-bottom:1px solid #eef3f9;
}
.perf-score-wrap{
  gap:8px;
}
.perf-rating{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  border:1px solid transparent;
}
.perf-rating.is-good{background:var(--ok-bg);color:var(--ok);border-color:var(--ok-line);}
.perf-rating.is-warn{background:var(--warn-bg);color:var(--warn);border-color:var(--warn-line);}
.perf-rating.is-bad{background:var(--bad-bg);color:var(--bad);border-color:var(--bad-line);}
.perf-grid{
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
}
.perf-row{
  min-height:66px;
  border-radius:13px;
}
.host-guidance{
  margin-top:14px;
  border-color:#dbeafe;
  background:
    radial-gradient(circle at top left, rgba(26,115,232,.08), transparent 34%),
    linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
}
.host-guidance .panel-heading{
  margin-bottom:8px;
}
.host-guidance p{
  margin:0;
  color:var(--text);
  font-size:13.5px;
  font-weight:700;
}
.action-toolbar{
  position:sticky;
  bottom:0;
  margin:14px -18px -18px;
  padding:14px 18px;
  background:rgba(255,255,255,.86);
  backdrop-filter:saturate(140%) blur(10px);
  border-top:1px solid #e8eef6;
}
.action-toolbar .btn-primary{
  min-width:150px;
}
.hosting-details{
  transition:grid-template-rows .24s ease, opacity .18s ease;
}
.host-card.is-expanded{
  border-color:#bcd5ff;
  box-shadow:0 10px 32px rgba(26,115,232,.11);
}
.host-summary{
  transition:background .16s ease;
}
.host-card.is-expanded .host-summary{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
}
@media(max-width:980px){
  .host-control-hero,
  .host-health-card,
  .hosting-expanded-grid{
    grid-template-columns:1fr;
  }
  .host-control-hero{
    align-items:flex-start;
    flex-direction:column;
  }
  .hero-live{
    justify-content:flex-start;
  }
}
@media(max-width:620px){
  .quick-actions-grid,
  .info-card-grid,
  .resource-grid,
  .perf-grid{
    grid-template-columns:1fr;
  }
  .quick-actions-panel{
    padding:14px;
  }
  .quick-action-card{
    min-height:0;
  }
  .action-toolbar{
    position:static;
    margin:14px 0 0;
    padding:14px 0 0;
    background:transparent;
    backdrop-filter:none;
  }
}


/* ---- domain portfolio ---- */
.domain-root{max-width:1120px;}
.domain-rail{margin-bottom:22px;}
.section-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:22px 0 14px;}
.section-title-row h2{font-size:19px;font-weight:800;}
.section-title-row p{margin:4px 0 0;color:var(--muted);font-size:13.5px;}
.domain-list{display:flex;flex-direction:column;gap:11px;}
.domain-card{background:var(--surface);border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow);overflow:hidden;transition:border-color .18s,box-shadow .18s,transform .18s;}
.domain-card:hover{border-color:var(--brand-100);box-shadow:0 7px 24px rgba(26,115,232,.08);}
.domain-card.is-expanded{border-color:#b9d3ff;box-shadow:0 12px 34px rgba(26,115,232,.14);}
.domain-summary{appearance:none;border:0;background:transparent;width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;cursor:pointer;text-align:left;color:inherit;}
.domain-main{display:flex;align-items:center;gap:13px;min-width:0;}
.domain-icon{width:34px;height:34px;border-radius:11px;background:var(--brand-50);color:var(--brand);display:flex;align-items:center;justify-content:center;flex:0 0 auto;}
.domain-icon svg{width:19px;height:19px;}
.domain-main strong{display:block;color:var(--ink);font-size:15px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.domain-main em{display:block;font-style:normal;color:var(--muted);font-size:12.5px;font-weight:650;margin-top:1px;}
.domain-summary-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.domain-summary .chevron{color:var(--brand);display:flex;transition:transform .18s;}
.domain-card.is-expanded .chevron{transform:rotate(180deg);}
.domain-details{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .22s ease,opacity .18s ease;}
.domain-card.is-expanded .domain-details{grid-template-rows:1fr;opacity:1;}
.domain-details-inner{min-height:0;overflow:hidden;padding:0 18px 18px;}
.domain-health-card{display:grid;grid-template-columns:260px 1fr;gap:18px;align-items:center;padding:18px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(135deg,#fff 0%,#f8fbff 100%);margin-top:4px;margin-bottom:14px;}
.domain-expanded-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:14px;margin-bottom:14px;}
.domain-info-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));}
.domain-badge-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;}
.nameserver-list,.dns-record-list{display:flex;flex-wrap:wrap;gap:8px;}
.nameserver-list code,.dns-record-list code{background:var(--surface-2);border:1px solid var(--line);border-radius:10px;padding:8px 10px;color:var(--ink);font-weight:700;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px;}
.domain-empty{max-width:520px;}

/* Premium motion polish for hosting accordions */
.host-card .hosting-details{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .22s ease,opacity .18s ease;}
.host-card.is-expanded .hosting-details{grid-template-rows:1fr;opacity:1;}
.host-card .hosting-details-inner{min-height:0;overflow:hidden;}

/* Slightly richer live metric treatment */
.resource-card strong{letter-spacing:-.01em;}
.resource-card .resource-note{font-size:11.5px;color:var(--muted);font-weight:650;margin-top:2px;}
.perf-score-wrap{align-items:center;}

@media(max-width:980px){
  .domain-health-card,
  .domain-expanded-grid{grid-template-columns:1fr;}
}
@media(max-width:620px){
  .domain-summary{align-items:flex-start;flex-direction:column;}
  .domain-summary-meta{justify-content:flex-start;}
}


/* ---- Phase 3.2A final pass: solid command bar, real actions only ---- */
.hosting-command{grid-template-columns:repeat(4,minmax(0,1fr));}
.command-metric{border-right:1px solid #edf1f7;}
.command-metric:nth-child(4){border-right:0;}
.host-collapse svg{transform:rotate(180deg);}
.action-toolbar .btn[disabled],.action-toolbar .btn:disabled{display:none!important;}
@media(max-width:1260px){
  .hosting-command{grid-template-columns:repeat(2,minmax(0,1fr));}
  .command-metric{border-right:0;border-bottom:1px solid #edf1f7;}
  .command-metric:nth-child(3),.command-metric:nth-child(4){border-bottom:0;}
  .command-metric:nth-child(odd){border-right:1px solid #edf1f7;}
}
@media(max-width:760px){
  .hosting-command{grid-template-columns:1fr;}
  .command-metric{border-right:0!important;border-bottom:1px solid #edf1f7;}
  .command-metric:nth-child(4){border-bottom:0;}
}
.hosting-expanded-grid.is-single{grid-template-columns:1fr;}

/* ---- domains: fully-managed service callout ---- */
.domain-managed{
  display:flex;align-items:center;gap:16px;flex-wrap:wrap;
  padding:16px 18px;margin-bottom:18px;
  border:1px solid #dbeafe;border-radius:14px;
  background:radial-gradient(circle at top left,rgba(26,115,232,.09),transparent 42%),linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 1px 2px rgba(9,30,66,.04),0 10px 26px rgba(9,30,66,.05);
}
.domain-managed .managed-ico{
  width:42px;height:42px;border-radius:12px;flex:0 0 auto;
  background:var(--brand-50);color:var(--brand);
  display:flex;align-items:center;justify-content:center;
}
.domain-managed .managed-ico svg{width:21px;height:21px;}
.domain-managed .managed-text{flex:1 1 300px;min-width:0;}
.domain-managed .managed-text strong{display:block;color:var(--ink);font-size:14.5px;font-weight:850;}
.domain-managed .managed-text p{margin:3px 0 0;color:var(--muted);font-size:13px;line-height:1.5;}
.domain-managed .btn{flex:0 0 auto;box-shadow:0 8px 18px rgba(26,115,232,.18);}
@media(max-width:620px){
  .domain-managed{align-items:flex-start;}
  .domain-managed .btn{width:100%;}
}

/* ---- domains: connected (external) group + section spacing ---- */
.domain-section-gap{margin-top:28px;}
.domain-managed.is-connected{
  border-color:var(--line-2);
  background:linear-gradient(180deg,#ffffff 0%,#f6f8fb 100%);
  box-shadow:0 1px 2px rgba(9,30,66,.03),0 8px 20px rgba(9,30,66,.04);
}
.domain-managed.is-connected .managed-ico{background:var(--surface-2);color:var(--muted);}
.domain-managed.is-connected .btn{box-shadow:none;}

/* ---- support page ---- */
.support-hero{
  display:flex;align-items:center;gap:20px;flex-wrap:wrap;
  padding:22px 24px;margin-bottom:24px;
  border:1px solid #dbe7fb;border-radius:16px;
  background:radial-gradient(circle at top left,rgba(26,115,232,.10),transparent 42%),linear-gradient(135deg,#ffffff 0%,#f6faff 100%);
  box-shadow:0 10px 30px rgba(9,30,66,.06);
}
.support-hero-ico{
  width:52px;height:52px;border-radius:15px;flex:0 0 auto;
  background:var(--brand-50);color:var(--brand);
  display:flex;align-items:center;justify-content:center;
}
.support-hero-ico svg{width:26px;height:26px;}
.support-hero-body{flex:1 1 320px;min-width:0;}
.support-hero-body h2{font-size:20px;font-weight:850;}
.support-hero-body p{margin:5px 0 0;color:var(--muted);font-size:14px;max-width:560px;}
.support-hours{
  display:inline-flex;align-items:center;gap:7px;margin-top:12px;
  padding:6px 12px;border-radius:999px;
  background:var(--ok-bg);color:var(--ok);border:1px solid var(--ok-line);
  font-size:12.5px;font-weight:800;
}
.support-hours svg{width:14px;height:14px;}
.support-hero-actions{display:flex;flex-direction:column;gap:9px;flex:0 0 auto;}
.support-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));}
.support-card{display:block;min-height:150px;}
.support-card h3{margin-top:2px;}
@media(max-width:720px){
  .support-hero-actions{width:100%;}
  .support-hero-actions .btn{width:100%;}
}

/* ---- settings page ---- */
.settings-stack{max-width:900px;display:flex;flex-direction:column;gap:18px;}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start;}
.settings-card{padding:22px;}
.settings-card-head{display:flex;align-items:center;gap:11px;margin-bottom:14px;}
.settings-ico{width:38px;height:38px;border-radius:11px;flex:0 0 auto;background:var(--brand-50);color:var(--brand);display:flex;align-items:center;justify-content:center;}
.settings-ico svg{width:20px;height:20px;}
.settings-card-head h3{font-size:16px;font-weight:850;}
.settings-list{margin:0 0 16px;}
.settings-list>div{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-top:1px solid var(--line);}
.settings-list>div:first-child{border-top:0;padding-top:0;}
.settings-list dt{color:var(--muted);font-size:13px;font-weight:700;}
.settings-list dd{margin:0;color:var(--ink);font-size:13.5px;font-weight:700;text-align:right;word-break:break-word;}
.settings-copy{color:var(--muted);font-size:13.5px;line-height:1.55;margin:0 0 14px;}
.settings-points{display:flex;flex-direction:column;gap:9px;}
.settings-points span{display:flex;align-items:center;gap:9px;color:var(--text);font-size:13px;font-weight:650;}
.settings-points span svg{width:16px;height:16px;color:var(--ok);flex:0 0 auto;}
.settings-legal{margin:20px 0 0;color:var(--faint);font-size:12.5px;max-width:900px;}
.settings-legal a{color:var(--brand);font-weight:700;}
@media(max-width:760px){.settings-grid{grid-template-columns:1fr;}}

/* ---- billing page ---- */
.billing-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));}
.billing-card{display:flex;flex-direction:column;gap:8px;padding:20px;}
.billing-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px;}
.billing-card h3{font-size:15.5px;font-weight:850;word-break:break-word;}
.billing-plan-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:2px;}
.billing-plan{color:var(--muted);font-size:13px;font-weight:700;}
.billing-price{color:var(--ink);font-size:16px;font-weight:850;}
.billing-alert{margin:8px 0 0;font-size:12.5px;}
.billing-portal-form{margin:0;flex:0 0 auto;}

/* ---- apps page ---- */
.app-log{margin:12px 0 0;padding:14px 16px;border:1px solid #1f2a3d;border-radius:12px;background:#0d1424;color:#b9c6d8;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.6;max-height:340px;overflow:auto;white-space:pre-wrap;word-break:break-word;}
.app-auto-deploy-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 18px;align-items:center;margin-bottom:14px;}
.app-auto-deploy-panel .panel-heading{margin-bottom:5px;}
.app-auto-deploy-copy p{margin:0;color:var(--muted);font-size:13.5px;font-weight:650;}
.app-toggle{display:inline-flex;align-items:center;gap:10px;cursor:pointer;user-select:none;}
.app-toggle input{position:absolute;inline-size:1px;block-size:1px;opacity:0;}
.app-toggle-track{width:54px;height:30px;padding:3px;border-radius:999px;border:1px solid var(--line-2);background:var(--surface-2);transition:background .16s,border-color .16s,box-shadow .16s;}
.app-toggle-track span{display:block;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(9,30,66,.18);transition:transform .16s;}
.app-toggle input:checked + .app-toggle-track{background:var(--brand);border-color:var(--brand);}
.app-toggle input:checked + .app-toggle-track span{transform:translateX(24px);}
.app-toggle input:focus-visible + .app-toggle-track{outline:3px solid var(--brand-100);outline-offset:2px;}
.app-toggle input:disabled + .app-toggle-track{opacity:.7;cursor:wait;}
.app-toggle strong{min-width:24px;color:var(--ink);font-size:13px;font-weight:900;}
.app-auto-deploy-status{grid-column:1 / -1;min-height:18px;color:var(--muted);font-size:12.5px;font-weight:750;}
@media(max-width:620px){.app-auto-deploy-panel{grid-template-columns:1fr;}.app-toggle{justify-content:space-between;}}
.info-tile a{color:var(--brand);font-weight:inherit;}
.info-tile a:hover{text-decoration:underline;}
.auth-card-centered{text-align:center;}


/* ---- Portal V2 polish pass ---- */
.dashboard-hero{
  display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;
  margin:0 0 24px;padding:24px;border:1px solid #dbe7fb;border-radius:18px;
  background:radial-gradient(circle at top left,rgba(26,115,232,.12),transparent 42%),linear-gradient(135deg,#ffffff 0%,#f6faff 100%);
  box-shadow:0 12px 34px rgba(9,30,66,.07);
}
.dashboard-hero h2{font-size:22px;font-weight:900;margin:7px 0 4px;color:var(--ink);}
.dashboard-hero p{margin:0;color:var(--muted);font-size:14px;max-width:640px;}
.dashboard-pill{
  display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;
  background:var(--ok-bg);color:var(--ok);border:1px solid var(--ok-line);
  font-size:12px;font-weight:850;
}
.app-url-panel{margin-bottom:14px;border-color:#cfe0fa;background:linear-gradient(135deg,#ffffff 0%,#f7fbff 100%);}
.app-primary-url strong{font-size:15px;}
.info-tile em{display:block;margin-top:4px;color:var(--muted);font-style:normal;font-size:12px;font-weight:650;}
.domain-summary-meta .summary-date,
.domain-summary-meta .summary-chip{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.action-toolbar .btn-primary{min-width:150px;}
@media(max-width:720px){
  .dashboard-hero .btn{width:100%;}
  .action-toolbar{align-items:stretch;}
  .action-toolbar .btn{width:100%;}
}


/* ---- Portal V2 polish pass: dashboard home ---- */
.dashboard-pill.is-warn{background:var(--warn-bg);color:var(--warn);border-color:var(--warn-line);}
.dashboard-pill.is-info{background:var(--brand-50);color:var(--brand);border-color:var(--brand-100);}
.dash-attention{display:flex;flex-direction:column;gap:10px;margin:0 0 24px;}
.dash-alert{display:flex;align-items:center;gap:13px;padding:14px 16px;border-radius:14px;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);}
.dash-alert-ico{width:36px;height:36px;border-radius:10px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;background:#fff;}
.dash-alert-ico svg{width:19px;height:19px;}
.dash-alert p{margin:0;flex:1 1 auto;color:var(--ink);font-size:13.5px;font-weight:700;}
.dash-alert .btn{flex:0 0 auto;box-shadow:none;}
.dash-alert.is-ok{border-color:var(--ok-line);background:var(--ok-bg);}
.dash-alert.is-ok .dash-alert-ico{color:var(--ok);} .dash-alert.is-ok p{color:var(--ok);}
.dash-alert.is-warn{border-color:var(--warn-line);background:var(--warn-bg);}
.dash-alert.is-warn .dash-alert-ico{color:var(--warn);} .dash-alert.is-warn p{color:var(--warn);}
.dash-alert.is-bad{border-color:var(--bad-line);background:var(--bad-bg);}
.dash-alert.is-bad .dash-alert-ico{color:var(--bad);} .dash-alert.is-bad p{color:var(--bad);}
@media(max-width:620px){.dash-alert{flex-wrap:wrap;}.dash-alert .btn{width:100%;}}

/* ---- Phase 13J: Managed WordPress limits, actions, and containment ---- */
.wp-limit-status{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  min-height:28px;
  padding:5px 10px;
  border:1px solid var(--line-2);
  border-radius:999px;
  background:var(--surface-2);
  color:var(--muted);
  font-size:12px;
  font-weight:850;
}
.wp-limit-status.is-over-limit,
.hc-tab-badge.is-over-limit{
  border-color:var(--warn-line);
  background:var(--warn-bg);
  color:var(--warn);
}
.wp-stat dd.is-warn{
  color:var(--warn);
  font-size:18px;
  line-height:1.18;
}
.wp-limit-note.is-over-limit{
  align-items:flex-start;
}
.hosting-wp-head{
  align-items:center;
}
.hosting-wp-head .panel-heading{
  min-width:0;
}
.hosting-wp-stats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:10px;
  padding:0;
  border:0;
  box-shadow:none;
  background:transparent;
}
.hosting-wp-stats .wp-stat{
  min-width:0;
}
.hosting-wp-primary-row{
  display:grid;
  grid-template-columns:minmax(180px,1fr) repeat(4,max-content);
  gap:10px;
  align-items:center;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface);
}
.hosting-wp-primary-row .btn{
  justify-self:start;
}
.wp-col-site{
  min-width:0;
}
.wp-col-site strong,
.wp-site-card-main strong{
  display:block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.wp-sites-table-wrap{
  max-width:100%;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
}
.wp-sites-table{
  width:100%;
  min-width:720px;
  table-layout:fixed;
}
.wp-sites-table th:first-child,
.wp-sites-table td:first-child{
  width:30%;
}
.wp-sites-table th:last-child,
.wp-sites-table td:last-child{
  width:230px;
}
.wp-col-actions{
  white-space:normal;
}
.wp-col-actions .btn{
  margin:3px 4px 3px 0;
}
.wp-site-card{
  grid-template-columns:minmax(160px,1fr) minmax(180px,auto) minmax(180px,max-content);
  max-width:100%;
}
.wp-site-card-actions{
  flex-wrap:wrap;
  white-space:normal;
  min-width:0;
}
.wp-site-card-actions .btn{
  flex:0 1 auto;
}
.hc-tab-badge{
  white-space:nowrap;
}
.command-metric strong small{
  font-size:.62em;
}
@media(max-width:1260px){
  .wp-site-card,
  .hosting-wp-primary-row{
    grid-template-columns:1fr;
  }
  .wp-site-card-meta,
  .wp-site-card-actions{
    justify-content:flex-start;
  }
}
@media(max-width:760px){
  .wp-sites-table{
    min-width:680px;
  }
  .wp-limit-status{
    width:100%;
    justify-content:center;
  }
}
@media(max-width:560px){
  .wp-site-card-actions .btn,
  .hosting-wp-primary-row .btn{
    width:100%;
  }
}

/* ---- WordPress Sites ---- */

/* ============================================================
   Managed WordPress — Phase 9 premium polish
   (subscription cards, manage page, sites table, wizard)
   ============================================================ */
.wp-sites-root{display:grid;gap:22px;}

/* ---- Field label shared ---- */
.wp-field-label{display:block;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;}

/* ---- Subscription cards (list page) ---- */
.wp-sub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:18px;}
.wp-sub-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;display:flex;flex-direction:column;gap:18px;box-shadow:var(--shadow);transition:border-color .15s,box-shadow .15s,transform .15s;}
.wp-sub-card:hover{border-color:var(--brand-100);box-shadow:var(--shadow-lg);transform:translateY(-2px);}
.wp-sub-head{display:flex;align-items:center;gap:12px;min-width:0;}
.wp-sub-badge{width:44px;height:44px;flex:none;border-radius:12px;background:var(--brand-50);color:var(--brand);display:flex;align-items:center;justify-content:center;}
.wp-sub-badge svg{width:24px;height:24px;}
.wp-sub-name{font-size:16px;font-weight:800;color:var(--ink);letter-spacing:-.01em;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.wp-sub-domain-field{display:flex;flex-direction:column;gap:5px;}
.wp-sub-domain{display:flex;align-items:center;gap:7px;color:var(--ink);font-size:14px;font-weight:600;min-width:0;}
.wp-sub-domain svg{width:15px;height:15px;flex:none;color:var(--muted);}
.wp-sub-domain span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}

/* ---- Metric row (shared card + subtle variant) ---- */
.wp-metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0;}
.wp-metric{background:var(--surface-2);border:1px solid var(--line-2);border-radius:12px;padding:12px 10px;text-align:center;min-width:0;}
.wp-metric dt{color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.02em;}
.wp-metric dd{margin:6px 0 0;font-size:22px;font-weight:850;color:var(--ink);line-height:1;}
.wp-metric dd.is-good{color:var(--ok);}
.wp-metric dd.is-muted{color:var(--faint);}
.wp-sub-manage{width:100%;justify-content:center;gap:8px;margin-top:2px;}
.wp-sub-manage svg{width:18px;height:18px;}

/* ---- Manage page header ---- */
.wp-manage-head{align-items:flex-start;}
.wp-back-link{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:13px;font-weight:700;margin-bottom:10px;border-radius:8px;transition:color .12s;}
.wp-back-link:hover{color:var(--brand);}
.wp-back-link:focus-visible{outline:2px solid var(--brand);outline-offset:3px;}
.wp-back-link svg{width:16px;height:16px;}
.wp-manage-domain{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:15px;margin-top:2px;}
.wp-manage-domain svg{width:16px;height:16px;flex:none;}
.wp-manage-domain span{color:var(--text);font-weight:600;}

/* ---- Stat panel ---- */
.wp-stat-panel{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0;}
.wp-stat{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px;box-shadow:var(--shadow);}
.wp-stat dt{color:var(--muted);font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;}
.wp-stat dd{margin:8px 0 0;font-size:24px;font-weight:850;color:var(--ink);line-height:1;}
.wp-stat dd.is-good{color:var(--ok);}
.wp-stat dd.is-muted{color:var(--faint);}

/* ---- Limit note ---- */
.wp-limit-note{display:flex;align-items:center;gap:8px;background:var(--warn-bg);border:1px solid var(--warn-line);color:var(--warn);border-radius:12px;padding:12px 14px;font-size:13.5px;font-weight:650;margin:0;}
.wp-limit-note svg{width:16px;height:16px;flex:none;}

/* ---- Panel titles ---- */
.wp-panel-title h2{font-size:17px;font-weight:800;letter-spacing:-.01em;}
.wp-panel-title p{margin:4px 0 0;color:var(--muted);font-size:13.5px;}
.wp-sites-title{margin-top:2px;}
.wp-manage-status-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);}
.wp-manage-status-panel.is-active{border-color:var(--warn-line);background:var(--warn-bg);}
.wp-manage-status-panel.is-failed{border-color:var(--bad-line);background:var(--bad-bg);}
.wp-manage-status-panel h2{margin:0;color:var(--ink);font-size:16px;font-weight:850;}
.wp-manage-status-panel p{margin:4px 0 0;color:var(--muted);font-size:13.5px;font-weight:650;}

/* ---- Create wizard ---- */
.wp-create-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow);}
.wp-create-form{display:grid;grid-template-columns:1fr;gap:16px;align-items:start;margin-top:16px;}
.wp-field{display:grid;gap:7px;min-width:0;}
.wp-field input[type="text"]{height:44px;border:1px solid var(--line-2);border-radius:11px;padding:0 13px;font:inherit;font-size:14px;background:var(--surface);color:var(--ink);transition:border-color .12s,box-shadow .12s;}
.wp-field input[type="text"]:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-50);}
.wp-field input::placeholder{color:var(--faint);}
.wp-field-hint{color:var(--muted);font-size:12px;}

/* ---- Segmented control (domain type) ---- */
.wp-segment{grid-column:1/-1;border:0;padding:0;margin:0;display:grid;gap:8px;min-width:0;}
.wp-segment legend{padding:0;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;}
.wp-segment-options{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;background:var(--surface-2);border:1px solid var(--line-2);border-radius:12px;padding:5px;}
.wp-segment-options label{position:relative;margin:0;cursor:pointer;}
.wp-segment-options input{position:absolute;opacity:0;width:0;height:0;}
.wp-segment-options span{display:flex;align-items:center;justify-content:center;padding:9px 10px;border-radius:9px;font-size:13px;font-weight:700;color:var(--muted);text-align:center;transition:background .12s,color .12s,box-shadow .12s;}
.wp-segment-options input:checked+span{background:var(--surface);color:var(--brand);box-shadow:var(--shadow);}
.wp-segment-options input:focus-visible+span{outline:2px solid var(--brand);outline-offset:2px;}
.wp-segment-options label:hover span{color:var(--ink);}
.wp-choice-cards{border:0;padding:0;margin:0;display:grid;gap:8px;min-width:0;}
.wp-choice-cards legend{padding:0;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;}
.wp-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.wp-choice-grid label{position:relative;min-width:0;margin:0;cursor:pointer;}
.wp-choice-grid input{position:absolute;opacity:0;width:0;height:0;}
.wp-choice-grid span{display:grid;gap:4px;height:100%;padding:14px 15px;border:1px solid var(--line-2);border-radius:12px;background:var(--surface);transition:border-color .12s,box-shadow .12s,background .12s;}
.wp-choice-grid strong{color:var(--ink);font-size:13.5px;font-weight:850;}
.wp-choice-grid em{color:var(--muted);font-size:12.5px;font-style:normal;line-height:1.35;}
.wp-choice-grid input:checked+span{border-color:var(--brand);background:var(--brand-50);box-shadow:0 0 0 3px rgba(26,115,232,.08);}
.wp-choice-grid input:focus-visible+span{outline:2px solid var(--brand);outline-offset:2px;}
.wp-domain-field{max-width:560px;}
.wp-wizard-actions{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap;}
.wp-sites-result{grid-column:1/-1;border-radius:11px;padding:12px 14px;font-size:13.5px;font-weight:650;}
.wp-sites-result.is-ok{background:var(--ok-bg);color:var(--ok);border:1px solid var(--ok-line);}
.wp-sites-result.is-bad{background:var(--bad-bg);color:var(--bad);border:1px solid var(--bad-line);}

/* ---- Button loading spinner ---- */
.btn.is-loading{position:relative;pointer-events:none;}
.btn.is-loading svg{display:none;}
.btn.is-loading::before{content:"";width:15px;height:15px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:wp-spin .6s linear infinite;}
@keyframes wp-spin{to{transform:rotate(360deg);}}

/* ---- Sites table ---- */
.wp-sites-table-wrap{overflow-x:auto;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);}
.wp-sites-table{width:100%;border-collapse:collapse;min-width:640px;}
.wp-sites-table thead th{background:var(--surface-2);text-align:left;font-size:11.5px;font-weight:850;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);padding:13px 18px;border-bottom:1px solid var(--line);}
.wp-sites-table tbody td{padding:16px 18px;border-bottom:1px solid var(--line);font-size:14px;vertical-align:middle;}
.wp-sites-table tbody tr:last-child td{border-bottom:0;}
.wp-sites-table tbody tr{transition:background .1s;}
.wp-sites-table tbody tr:hover{background:var(--surface-2);}
.wp-col-site strong{display:block;font-weight:750;color:var(--ink);}
.wp-col-site span{display:block;margin-top:2px;color:var(--muted);font-size:12px;}
.wp-col-created{color:var(--text);white-space:nowrap;}

/* ---- Status chips (SSL / CDN) ---- */
.wp-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;font-size:12.5px;font-weight:750;white-space:nowrap;}
.wp-chip svg{width:14px;height:14px;}
.wp-chip.is-on{background:var(--ok-bg);color:var(--ok);border:1px solid var(--ok-line);}
.wp-chip.is-off{background:var(--surface-2);color:var(--muted);border:1px solid var(--line-2);}
.btn-compact{min-height:34px;padding:8px 12px;font-size:12.5px;border-radius:10px;}
.hosting-wp-sites{display:grid;gap:16px;}
.hosting-wp-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.hosting-wp-stats{grid-template-columns:repeat(3,1fr);}
.hosting-wp-stats .wp-stat{box-shadow:none;padding:13px 14px;}
.hosting-wp-stats .wp-stat dd{font-size:21px;}
.hosting-wp-list{display:grid;gap:13px;}
.hosting-wp-subtitle{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.hosting-wp-subtitle h4{font-size:13px;font-weight:850;color:var(--ink);text-transform:uppercase;letter-spacing:.04em;}
.hosting-wp-subtitle a{color:var(--brand);font-size:13px;font-weight:800;}
.hosting-wp-primary-card{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:12px 16px;align-items:center;padding:18px;border:1px solid var(--brand-100);border-radius:var(--radius);background:linear-gradient(135deg,#fff 0%,#f7fbff 100%);box-shadow:var(--shadow);}
.wp-primary-kicker{grid-column:1/-1;display:flex;align-items:center;gap:7px;color:var(--brand);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;}
.wp-primary-kicker svg{width:14px;height:14px;}
.wp-primary-main{min-width:0;}
.wp-primary-main strong{display:block;color:var(--ink);font-size:18px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.wp-primary-main span{display:block;margin-top:3px;color:var(--muted);font-size:12.5px;font-weight:700;}
.wp-primary-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.wp-primary-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap;}
.wp-version-muted{color:var(--muted);font-size:12.5px;font-weight:650;line-height:1.35;}
.wp-col-actions{white-space:nowrap;}
.wp-col-actions .btn{margin-right:7px;}
.wp-col-actions .btn:last-child{margin-right:0;}
.wp-site-list{display:grid;gap:8px;}
.wp-site-card{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);}
.wp-site-card-main{min-width:0;}
.wp-site-card-main strong{display:block;color:var(--ink);font-size:14px;font-weight:850;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.wp-site-card-main span{display:block;margin-top:2px;color:var(--muted);font-size:12px;font-weight:650;}
.wp-site-card-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end;}
.wp-site-card-actions{display:flex;align-items:center;gap:7px;justify-content:flex-end;white-space:nowrap;}
.hosting-wp-empty{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:1px dashed var(--line-2);border-radius:var(--radius);background:var(--surface-2);}
.hosting-wp-empty p{margin:0;color:var(--muted);font-size:13.5px;font-weight:700;}

/* ---- Empty states ---- */
.wp-empty{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:44px 32px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px;}
.wp-empty-inset{padding:40px 32px;}
.wp-empty-icon{width:64px;height:64px;border-radius:18px;background:var(--brand-50);color:var(--brand);display:flex;align-items:center;justify-content:center;}
.wp-empty-icon svg{width:32px;height:32px;}
.wp-empty h2,.wp-empty h3{font-size:19px;font-weight:800;color:var(--ink);letter-spacing:-.01em;}
.wp-empty p{margin:0;color:var(--muted);font-size:14.5px;max-width:44ch;}
.wp-feature-list{list-style:none;margin:6px 0 6px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,auto));gap:10px 26px;justify-content:center;}
.wp-feature-list li{display:flex;align-items:center;gap:8px;color:var(--text);font-size:14px;font-weight:600;}
.wp-feature-list svg{width:16px;height:16px;flex:none;color:var(--ok);}
.wp-empty .btn{margin-top:8px;}

@media(max-width:900px){
  .wp-create-form{grid-template-columns:1fr;}
  .wp-stat-panel{grid-template-columns:repeat(2,1fr);}
  .wp-feature-list{grid-template-columns:repeat(2,minmax(0,auto));}
  .wp-choice-grid{grid-template-columns:1fr;}
  .hosting-wp-primary-card{grid-template-columns:1fr;}
  .wp-primary-meta{justify-content:flex-start;}
  .wp-site-card{grid-template-columns:1fr;}
  .wp-site-card-meta,.wp-site-card-actions{justify-content:flex-start;}
}
@media(max-width:560px){
  .wp-segment-options{grid-template-columns:1fr;}
  .wp-feature-list{grid-template-columns:1fr;justify-content:start;text-align:left;}
  .hosting-wp-stats{grid-template-columns:1fr;}
  .hosting-wp-empty{align-items:stretch;flex-direction:column;}
  .hosting-wp-empty .btn{width:100%;}
  .wp-primary-actions .btn,.wp-site-card-actions .btn{width:100%;}
  .wp-site-card-actions{align-items:stretch;flex-direction:column;}
}

/* ---- Phase 11.6: polished WordPress creation experience ---- */
.wp-create-panel{position:relative;overflow:hidden;padding:0;border-color:var(--brand-100);background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);}
.wp-wizard-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:start;padding:22px 22px 18px;border-bottom:1px solid var(--line);background:linear-gradient(135deg,#ffffff 0%,#eef6ff 100%);}
.wp-wizard-eyebrow{display:inline-flex;margin-bottom:7px;color:var(--brand);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;}
.wp-wizard-hero h2{font-size:22px;line-height:1.15;font-weight:900;letter-spacing:-.02em;margin:0;color:var(--ink);}
.wp-wizard-hero p{margin:7px 0 0;color:var(--muted);font-size:13.5px;line-height:1.45;max-width:68ch;}
.wp-wizard-steps{list-style:none;margin:0;padding:0;display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end;}
.wp-wizard-steps li{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.72);border:1px solid var(--line);color:var(--muted);font-size:12px;font-weight:850;}
.wp-wizard-steps li::before{content:"";width:7px;height:7px;border-radius:999px;background:var(--faint);}
.wp-wizard-steps li.is-active{color:var(--brand);border-color:var(--brand-100);background:var(--brand-50);}
.wp-wizard-steps li.is-active::before{background:var(--brand);}
.wp-create-form{padding:20px 22px 22px;margin:0;gap:18px;}
.wp-choice-cards legend{font-size:11.5px;color:var(--ink);}
.wp-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.wp-choice-grid span{min-height:104px;padding:16px;border-radius:16px;box-shadow:0 1px 0 rgba(15,23,42,.02);}
.wp-choice-grid b{width:34px;height:34px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:var(--surface-2);font-size:18px;font-weight:400;}
.wp-choice-grid strong{font-size:14.5px;}
.wp-choice-grid em{font-size:12.75px;}
.wp-choice-grid input:checked+span{transform:translateY(-1px);}
.wp-wizard-body{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:16px;align-items:start;}
.wp-wizard-main{display:grid;gap:12px;min-width:0;}
.wp-domain-field{max-width:none;}
.wp-field-label{color:var(--ink);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.055em;}
.wp-field input[type="text"]{height:50px;border-radius:14px;font-size:15px;font-weight:650;}
.wp-domain-preview{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--brand-100);border-radius:14px;background:#fff;color:var(--muted);font-size:13px;font-weight:700;}
.wp-domain-preview strong{color:var(--brand);font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.wp-review-card{border:1px solid var(--line);border-radius:16px;background:#fff;padding:15px;box-shadow:var(--shadow);}
.wp-review-card>strong{display:block;color:var(--ink);font-size:14px;font-weight:900;margin-bottom:10px;}
.wp-review-card ul{list-style:none;margin:0;padding:0;display:grid;gap:8px;}
.wp-review-card li{display:flex;align-items:center;gap:8px;color:var(--text);font-size:13px;font-weight:700;}
.wp-review-card svg{width:15px;height:15px;color:var(--ok);flex:none;}
.wp-review-card p{margin:12px 0 0;padding-top:10px;border-top:1px solid var(--line);color:var(--muted);font-size:12.5px;font-weight:750;}
.wp-provision-preview{border:1px solid var(--brand-100);border-radius:16px;background:var(--brand-50);padding:14px 16px;}
.wp-provision-preview strong{display:block;color:var(--ink);font-size:14px;font-weight:900;margin-bottom:10px;}
.wp-provision-preview ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;}
.wp-provision-preview li{position:relative;border:1px solid var(--brand-100);background:#fff;border-radius:12px;padding:10px 8px 10px 27px;color:var(--muted);font-size:12px;font-weight:800;}
.wp-provision-preview li::before{content:"";position:absolute;left:9px;top:12px;width:10px;height:10px;border-radius:999px;border:2px solid var(--brand);border-right-color:transparent;animation:wp-spin .75s linear infinite;}
.hosting-wp-stats{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;align-items:center;padding:13px 15px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:none;}
.hosting-wp-stats strong{color:var(--ink);font-size:15px;font-weight:900;}
.wp-usage-copy{color:var(--muted);font-size:13px;font-weight:700;}
.wp-usage-meter{grid-column:1/-1;height:7px;border-radius:999px;background:var(--surface-2);overflow:hidden;}
.wp-usage-meter span{display:block;height:100%;border-radius:inherit;background:var(--brand);}
.wp-usage-remaining{font-size:13px;font-weight:900;white-space:nowrap;}
.wp-usage-remaining.is-good{color:var(--ok);}.wp-usage-remaining.is-muted{color:var(--faint);}
.hosting-wp-empty{background:linear-gradient(135deg,#fff 0%,#f8fbff 100%);}
@media(max-width:900px){.wp-wizard-hero,.wp-wizard-body{grid-template-columns:1fr}.wp-wizard-steps{justify-content:flex-start}.wp-provision-preview ol{grid-template-columns:1fr 1fr}.hosting-wp-stats{grid-template-columns:1fr}.wp-usage-remaining{white-space:normal}.wp-choice-grid{grid-template-columns:1fr}}
@media(max-width:560px){.wp-wizard-hero,.wp-create-form{padding-left:16px;padding-right:16px}.wp-provision-preview ol{grid-template-columns:1fr}.wp-domain-preview{align-items:flex-start;flex-direction:column}.wp-choice-grid span{min-height:auto}}

/* ---- Phase 11.7: guided WordPress site creation wizard ---- */
.wp-create-wizard{border:1px solid var(--brand-100);border-radius:18px;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);box-shadow:0 18px 38px rgba(15,23,42,.08);}
.wp-create-wizard .wp-create-form{display:grid;grid-template-columns:1fr;padding:0;margin:0;gap:0;}
.wp-wizard-stage{padding:20px 22px 18px;}
.wp-wizard-panel{display:grid;gap:14px;animation:wp-panel-in .14s ease-out;}
.wp-wizard-panel[hidden]{display:none;}
.wp-wizard-panel h3{margin:0;color:var(--ink);font-size:20px;font-weight:900;letter-spacing:-.02em;}
.wp-wizard-panel p{margin:0;color:var(--muted);font-size:13.5px;font-weight:650;line-height:1.45;max-width:68ch;}
.wp-step-count{display:inline-flex;width:max-content;padding:5px 9px;border:1px solid var(--brand-100);border-radius:999px;background:var(--brand-50);color:var(--brand);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;}
.wp-wizard-steps li.is-complete{color:var(--ok);border-color:var(--ok-line);background:var(--ok-bg);}
.wp-wizard-steps li.is-complete::before{background:var(--ok);}
.wp-choice-grid label span{position:relative;}
.wp-choice-grid input:checked+span::after{content:"✓";position:absolute;right:13px;top:13px;width:22px;height:22px;border-radius:999px;display:grid;place-items:center;background:var(--brand);color:#fff;font-size:13px;font-weight:900;}
.wp-suggestion-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:-4px;}
.wp-suggestion-pills button{appearance:none;border:1px solid var(--line-2);background:#fff;border-radius:999px;padding:8px 12px;color:var(--brand);font-size:13px;font-weight:850;cursor:pointer;transition:border-color .12s,box-shadow .12s,transform .12s;}
.wp-suggestion-pills button:hover,.wp-suggestion-pills button:focus-visible{border-color:var(--brand);box-shadow:0 0 0 3px rgba(26,115,232,.09);transform:translateY(-1px);outline:none;}
.wp-review-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.wp-review-summary div{border:1px solid var(--line);border-radius:14px;background:#fff;padding:13px 14px;min-width:0;}
.wp-review-summary span{display:block;color:var(--muted);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.055em;margin-bottom:5px;}
.wp-review-summary strong{display:block;color:var(--ink);font-size:14px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.wp-create-wizard .wp-review-card{box-shadow:none;background:#fff;}
.wp-create-wizard .wp-wizard-actions{padding:16px 22px 20px;border-top:1px solid var(--line);background:rgba(255,255,255,.72);align-items:center;}
.wp-create-wizard .wp-sites-result{margin:0 22px 20px;}
.wp-create-wizard .wp-provision-preview{margin:0 22px 18px;}
@keyframes wp-panel-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){.wp-review-summary{grid-template-columns:1fr}.wp-create-wizard .wp-wizard-actions{align-items:stretch}.wp-create-wizard .wp-wizard-actions .btn{width:100%}}

/* Phase 12: disabled action buttons rendered as spans (Visit/Admin before ready) */
.btn.is-disabled{opacity:.55;pointer-events:none;cursor:default;box-shadow:none;}
/* ============================================================
   Phase 12.5B - Create WordPress site: 3-step wizard
   ============================================================ */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;}
.wp-wizard .wp-panel-title h2{font-size:18px;font-weight:800;letter-spacing:-.01em;}
.wp-wizard .wp-panel-title p{margin:4px 0 0;color:var(--muted);font-size:13.5px;}

/* progress dots */
.wp-wiz-steps{list-style:none;display:flex;gap:8px;margin:16px 0 4px;padding:0;}
.wp-wiz-steps li{flex:1;display:flex;align-items:center;gap:9px;font-size:12.5px;font-weight:750;color:var(--muted);padding:9px 12px;border:1px solid var(--line-2);border-radius:12px;background:var(--surface-2);}
.wp-wiz-steps li span{width:22px;height:22px;flex:none;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--line-2);font-size:12px;font-weight:800;color:var(--muted);}
.wp-wiz-steps li.is-active{color:var(--brand);border-color:var(--brand-100);background:var(--brand-50);}
.wp-wiz-steps li.is-active span{background:var(--brand);border-color:var(--brand);color:#fff;}
.wp-wiz-steps li.is-complete span{background:var(--ok);border-color:var(--ok);color:#fff;}

.wp-wiz-panel{margin-top:16px;}
.wp-wiz-title{font-size:16px;font-weight:800;color:var(--ink);letter-spacing:-.01em;}
.wp-wiz-copy{margin:5px 0 14px;color:var(--muted);font-size:13.5px;}

/* step 1 - choice cards */
.wp-choice-group{border:0;margin:0;padding:0;display:grid;gap:10px;}
.wp-choice{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line-2);border-radius:14px;padding:14px 16px;cursor:pointer;transition:border-color .12s,box-shadow .12s,background .12s;}
.wp-choice:hover{border-color:var(--brand-100);}
.wp-choice input{margin-top:3px;accent-color:var(--brand);}
.wp-choice-body{display:flex;flex-direction:column;gap:2px;min-width:0;}
.wp-choice-body strong{font-size:14.5px;font-weight:800;color:var(--ink);}
.wp-choice-body small{color:var(--muted);font-size:12.5px;}
.wp-choice:has(input:checked){border-color:var(--brand);background:var(--brand-50);box-shadow:0 0 0 3px var(--brand-50);}

/* step 2 - split field */
.wp-split-field{display:flex;align-items:stretch;border:1px solid var(--line-2);border-radius:11px;overflow:hidden;background:#fff;transition:border-color .12s,box-shadow .12s;}
.wp-split-field:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-50);}
.wp-split-field input{flex:1;min-width:0;border:0;outline:0;height:44px;padding:0 13px;font:inherit;font-size:14px;background:transparent;color:var(--ink);}
.wp-split-suffix{display:flex;align-items:center;padding:0 13px;background:var(--surface-2);border-left:1px solid var(--line-2);color:var(--muted);font-size:14px;font-weight:750;white-space:nowrap;}
.wp-domain-preview{margin-top:10px;background:var(--brand-50);border:1px solid var(--brand-100);color:var(--ink);border-radius:11px;padding:10px 13px;font-size:13.5px;}
.wp-domain-preview strong{color:var(--brand);}
.wp-suggestions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:10px;}
.wp-suggestions-label{color:var(--muted);font-size:12px;font-weight:750;}
.wp-suggestion{border:1px solid var(--line-2);background:var(--surface-2);border-radius:999px;padding:5px 12px;font-size:12.5px;font-weight:700;color:var(--text);cursor:pointer;}
.wp-suggestion:hover{border-color:var(--brand-100);color:var(--brand);}

/* step 2 - register new domain panel */
.wp-register-panel{text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;padding:8px 4px;}
.wp-register-badge{width:52px;height:52px;border-radius:16px;background:var(--brand-50);color:var(--brand);display:flex;align-items:center;justify-content:center;}
.wp-register-badge svg{width:26px;height:26px;}
.wp-register-panel .wp-wiz-copy{max-width:46ch;}
.wp-availability{display:flex;gap:8px;width:100%;max-width:440px;}
.wp-availability-input{flex:1;min-width:0;height:42px;border:1px solid var(--line-2);border-radius:11px;padding:0 13px;font:inherit;font-size:14px;background:#fff;color:var(--ink);}
.wp-availability-input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-50);}
.wp-availability-result{width:100%;max-width:440px;border-radius:10px;padding:9px 12px;font-size:13px;font-weight:650;}
.wp-availability-result.is-checking{background:var(--surface-2);color:var(--muted);border:1px solid var(--line-2);}
.wp-availability-result.is-ok{background:var(--ok-bg);color:var(--ok);border:1px solid var(--ok-line);}
.wp-availability-result.is-bad{background:var(--bad-bg);color:var(--bad);border:1px solid var(--bad-line);}
.wp-register-open{margin-top:2px;}
.wp-register-open svg{width:18px;height:18px;}
.wp-register-switch{background:none;border:0;color:var(--muted);font-size:12.5px;font-weight:700;text-decoration:underline;cursor:pointer;}
.wp-register-switch:hover{color:var(--brand);}

/* step 3 - review */
.wp-review-card{margin:0 0 16px;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;}
.wp-review-row{display:flex;justify-content:space-between;gap:16px;padding:12px 16px;border-bottom:1px solid var(--line);}
.wp-review-row:last-child{border-bottom:0;}
.wp-review-row dt{color:var(--muted);font-size:12.5px;font-weight:750;}
.wp-review-row dd{margin:0;color:var(--ink);font-size:13.5px;font-weight:750;text-align:right;word-break:break-word;}
.wp-review-does h4{font-size:13px;font-weight:800;color:var(--ink);margin:0 0 8px;}
.wp-review-caveat{margin-top:12px;background:var(--warn-bg);border:1px solid var(--warn-line);color:var(--warn);border-radius:11px;padding:10px 13px;font-size:13px;font-weight:650;}

/* nav */
.wp-wiz-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line);}
.wp-wiz-nav-right{display:flex;align-items:center;gap:8px;margin-left:auto;}

@media(max-width:640px){
  .wp-wiz-steps{flex-direction:column;gap:6px;}
  .wp-review-row{flex-direction:column;gap:2px;}
  .wp-review-row dd{text-align:left;}
  .wp-availability{flex-direction:column;}
  .wp-wiz-nav{flex-wrap:wrap;}
}
/* ============================================================
   Phase 13 - Hosting control centre (master-detail + tabs)
   ============================================================ */
.hosting-workspace .hosting-list.is-single .host-summary{cursor:default;}
.hosting-workspace .hosting-list.is-single .host-summary .chevron{display:none;}

/* control-centre wrapper (replaces the old stacked panels) */
.hc{display:grid;gap:16px;}
.hc-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;}
.hc-id{display:flex;gap:13px;align-items:flex-start;min-width:0;}
.hc-id-icon{width:46px;height:46px;flex:none;border-radius:14px;background:var(--brand-50);color:var(--brand);display:flex;align-items:center;justify-content:center;}
.hc-id-icon svg{width:23px;height:23px;}
.hc-id-copy{min-width:0;}
.hc-kicker{color:var(--muted);font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;}
.hc-id-copy h3{font-size:20px;font-weight:850;letter-spacing:-.015em;margin:3px 0 9px;word-break:break-word;line-height:1.15;}
.hc-pills{display:flex;flex-wrap:wrap;gap:7px;align-items:center;}
.hc-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.hc-actions .host-collapse{padding:9px;min-width:0;}
.hc-actions .host-collapse svg{margin:0;transform:rotate(180deg);}

/* tabs */
.hc-tabs{display:flex;gap:2px;border-bottom:1px solid var(--line);overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
.hc-tabs::-webkit-scrollbar{display:none;}
.hc-tab{display:inline-flex;align-items:center;gap:7px;border:0;background:none;padding:11px 14px;margin-bottom:-1px;font:inherit;font-size:13.5px;font-weight:750;color:var(--muted);cursor:pointer;border-bottom:2px solid transparent;white-space:nowrap;transition:color .12s,border-color .12s;}
.hc-tab svg{width:16px;height:16px;}
.hc-tab:hover{color:var(--ink);}
.hc-tab.is-active{color:var(--brand);border-bottom-color:var(--brand);}
.hc-tab:focus-visible{outline:2px solid var(--brand);outline-offset:-2px;border-radius:8px;}

/* panels */
.hc-panels{min-height:80px;}
.hc-panel{display:none;}
.hc-panel.is-active{display:block;animation:hcFade .18s ease;}
@keyframes hcFade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.hc-overview-grid{margin:0;}
.hc-empty-hint{color:var(--muted);font-size:12.5px;margin:12px 2px 0;}

/* the WordPress Sites panel already labels itself via the tab - drop its inner heading */
.hc-panel[data-host-tabpanel="wordpress"] .hosting-wp-sites{border:0;padding:0;background:none;box-shadow:none;}
.hc-panel[data-host-tabpanel="wordpress"] .hosting-wp-head .panel-heading{display:none;}
.hc-panel[data-host-tabpanel="wordpress"] .hosting-wp-head{justify-content:flex-end;}

/* health tab spacing */
.hc-panel[data-host-tabpanel="health"]{display:none;}
.hc-panel[data-host-tabpanel="health"].is-active{display:grid;gap:14px;}
.hc-panel[data-host-tabpanel="resources"] .resource-panel{margin:0;}

/* compact account summary row */
.hosting-workspace .host-summary-meta .summary-date{display:none;}
.hosting-workspace .host-summary-meta .expand-label{display:none;}

@media(max-width:640px){
  .hide-sm{display:none !important;}
  .hc-header{gap:12px;}
  .hc-actions{width:100%;}
  .hc-actions .btn{flex:1;justify-content:center;}
}
/* Phase 13: single-account view - hide the redundant summary row + collapse (always expanded) */
.hosting-list.is-single .host-summary{display:none;}
.hosting-list.is-single .hc-actions .host-collapse{display:none;}

/* Phase 13: prevent grid/flex blow-out inside the control-centre panels */
.hc-panels,.hc-panel,.hosting-details-inner,.hc-panel .hosting-wp-sites,.hc-panel .wp-sites-root{min-width:0;max-width:100%;}
.hc-panel .wp-stat-panel{grid-template-columns:repeat(3,minmax(0,1fr));}
.hc-panel .info-card-grid{min-width:0;}
.hc-panel .wp-sites-table-wrap{max-width:100%;}

/* ============================================================
   Phase 13b - obvious segmented pill tab nav + open-account boundary
   ============================================================ */
.hc-nav{display:flex;flex-direction:column;gap:9px;}
.hc-nav-label{color:var(--muted);font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;}

/* override the subtle underline tabs -> a proper segmented control */
.hc-tabs{display:flex;gap:8px;border-bottom:0;padding:6px;background:var(--surface-2);border:1px solid var(--line-2);border-radius:16px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
.hc-tabs::-webkit-scrollbar{display:none;}
.hc-tab{flex:1 1 0;min-width:124px;display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-bottom:0;padding:12px 14px;border:1px solid var(--line-2);border-radius:12px;background:#fff;color:var(--text);font-weight:750;font-size:13.5px;line-height:1;box-shadow:var(--shadow);cursor:pointer;white-space:nowrap;transition:background .14s,color .14s,box-shadow .14s,border-color .14s;}
.hc-tab .hc-tab-ico{display:inline-flex;align-items:center;}
.hc-tab .hc-tab-ico svg{width:17px;height:17px;}
.hc-tab .hc-tab-text{display:inline-block;}
.hc-tab:hover{border-color:var(--brand-100);color:var(--ink);}
.hc-tab:focus-visible{outline:2px solid var(--brand);outline-offset:2px;}
.hc-tab.is-active{background:var(--brand);color:#fff;border-color:var(--brand);box-shadow:0 8px 20px rgba(26,115,232,.28);}
.hc-tab-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:20px;padding:0 7px;border-radius:999px;background:var(--brand-50);color:var(--brand);font-size:11.5px;font-weight:850;}
.hc-tab.is-active .hc-tab-badge{background:rgba(255,255,255,.24);color:#fff;}

/* clearer boundary for the open account / control centre */
.host-card.is-expanded{border-color:var(--brand-100);box-shadow:0 12px 36px rgba(9,30,66,.11);}
.hosting-list.is-single .host-card.is-expanded{border-color:var(--brand-100);}

@media(max-width:640px){
  .hc-tab{flex:0 0 auto;min-width:112px;padding:11px 13px;}
}
/* ============================================================
   Phase 13c - premium visual polish (wider, workspace, canvas)
   ============================================================ */
/* 1. wider + centred content (fixes the empty right side / left-heavy page) */
.content{max-width:1440px;margin-inline:auto;}

/* 2. expanded account reads as a workspace, not a bigger list item */
.host-card.is-expanded{background:var(--surface);border-color:var(--line);box-shadow:var(--shadow-lg);}
.host-card.is-expanded .hosting-details-inner.hc{gap:16px;}

/* 3. command-bar header with a soft brand gradient */
.hc-header{background:linear-gradient(135deg,var(--brand-50) 0%,rgba(255,255,255,0) 72%);border:1px solid var(--brand-100);border-radius:18px;padding:20px 22px;align-items:center;gap:18px;}
.hc-id-icon{background:var(--brand);color:#fff;box-shadow:0 10px 22px rgba(26,115,232,.28);}
.hc-id-icon svg{width:24px;height:24px;}
.hc-id-copy h3{margin:3px 0 9px;font-size:21px;}

/* 4. one clean white content canvas -> removes box-on-box */
.hc-panels{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px 24px;box-shadow:var(--shadow);min-height:120px;}
.hc-panel .hosting-panel,.hc-panel .host-health-card{background:none;border:0;border-radius:0;box-shadow:none;padding:0;margin:0;}
.hc-panel .host-health-card + .hosting-panel,.hc-panel .hosting-panel + .hosting-panel{margin-top:22px;padding-top:22px;border-top:1px solid var(--line);}
.hc-panel .panel-heading h3{font-size:15px;}

/* 5. Overview dashboard: status hero + clean detail list (not six equal boxes) */
.hc-overview{display:grid;grid-template-columns:minmax(0,330px) 1fr;gap:18px;align-items:start;}
.hc-status-card{display:flex;gap:15px;background:linear-gradient(155deg,var(--brand) 0%,#1559bd 100%);color:#fff;border-radius:16px;padding:22px;box-shadow:0 14px 32px rgba(26,115,232,.30);}
.hc-status-icon{width:48px;height:48px;flex:none;border-radius:14px;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;}
.hc-status-icon svg{width:24px;height:24px;color:#fff;}
.hc-status-copy{min-width:0;}
.hc-status-copy .hc-kicker{color:rgba(255,255,255,.78);}
.hc-status-copy h4{font-size:23px;font-weight:850;letter-spacing:-.01em;margin:3px 0 4px;color:#fff;line-height:1.1;}
.hc-status-copy p{margin:0 0 13px;color:rgba(255,255,255,.86);font-size:13.5px;}
.hc-status-pills{display:flex;flex-wrap:wrap;gap:7px;}
.hc-status-pills .badge{background:rgba(255,255,255,.16);color:#fff;border-color:transparent;}
.hc-status-pills .badge .dot{background:#fff;}
.hc-detail-list{margin:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface);}
.hc-detail-list>div{display:flex;justify-content:space-between;gap:16px;padding:13px 18px;border-bottom:1px solid var(--line);}
.hc-detail-list>div:last-child{border-bottom:0;}
.hc-detail-list dt{margin:0;color:var(--muted);font-size:12.5px;font-weight:700;}
.hc-detail-list dd{margin:0;color:var(--ink);font-size:13.5px;font-weight:750;text-align:right;word-break:break-word;}

/* 6. Resources: premium meter + softer cards */
.hc-panel .resource-bar{height:9px;border-radius:999px;background:var(--surface-2);overflow:hidden;}
.hc-panel .resource-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--brand),#4f97f5);}
.hc-panel .resource-card{border:1px solid var(--line-2);border-radius:13px;}

/* 7. Health: prominent score + distinct guidance card */
.hc-panel[data-host-tabpanel="health"].is-active{display:block;}
.hc-panel[data-host-tabpanel="health"] .perf-score{font-size:14px;font-weight:850;padding:5px 12px;border-radius:999px;background:var(--brand-50);color:var(--brand);}
.hc-panel[data-host-tabpanel="health"] .health-pill{border-radius:13px;}
.hc-panel[data-host-tabpanel="health"] .host-guidance{background:var(--brand-50);border:1px solid var(--brand-100);border-radius:14px;padding:16px 18px;margin-top:22px;}

/* 8. responsive */
@media(max-width:900px){.hc-overview{grid-template-columns:1fr;}}
@media(max-width:640px){.hc-header{padding:16px;border-radius:14px;}.hc-panels{padding:16px;border-radius:14px;}.hc-status-card{padding:18px;}.content{margin-inline:0;}}

/* ---- Phase 13J final containment overrides ---- */
.wp-limit-status{display:inline-flex;align-items:center;width:max-content;max-width:100%;min-height:28px;padding:5px 10px;border:1px solid var(--line-2);border-radius:999px;background:var(--surface-2);color:var(--muted);font-size:12px;font-weight:850;}
.wp-limit-status.is-over-limit,.hc-tab-badge.is-over-limit{border-color:var(--warn-line);background:var(--warn-bg);color:var(--warn);}
.wp-stat dd.is-warn{color:var(--warn);font-size:18px;line-height:1.18;}
.wp-limit-note.is-over-limit{align-items:flex-start;}
.hosting-wp-head{align-items:center;}
.hosting-wp-head .panel-heading{min-width:0;}
.hosting-wp-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;padding:0;border:0;box-shadow:none;background:transparent;}
.hosting-wp-stats .wp-stat{min-width:0;}
.hosting-wp-primary-row{display:grid;grid-template-columns:minmax(180px,1fr) repeat(4,max-content);gap:10px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);}
.hosting-wp-primary-row .btn{justify-self:start;}
.wp-col-site{min-width:0;}
.wp-col-site strong,.wp-site-card-main strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.wp-sites-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;}
.wp-sites-table{width:100%;min-width:720px;table-layout:fixed;}
.wp-sites-table th:first-child,.wp-sites-table td:first-child{width:30%;}
.wp-sites-table th:last-child,.wp-sites-table td:last-child{width:230px;}
.wp-col-actions{white-space:normal;}
.wp-col-actions .btn{margin:3px 4px 3px 0;}
.wp-site-card{grid-template-columns:minmax(160px,1fr) minmax(180px,auto) minmax(180px,max-content);max-width:100%;}
.wp-site-card-actions{flex-wrap:wrap;white-space:normal;min-width:0;}
.wp-site-card-actions .btn{flex:0 1 auto;}
.hc-tab-badge{white-space:nowrap;}
.command-metric strong small{font-size:.62em;}
@media(max-width:1260px){.wp-site-card,.hosting-wp-primary-row{grid-template-columns:1fr;}.wp-site-card-meta,.wp-site-card-actions{justify-content:flex-start;}}
@media(max-width:760px){.wp-sites-table{min-width:680px;}.wp-limit-status{width:100%;justify-content:center;}}
@media(max-width:560px){.wp-site-card-actions .btn,.hosting-wp-primary-row .btn{width:100%;}}

/* Phase 13J mobile containment patch: keep manage-page scroll inside panels. */
.wp-sites-root,
.wp-sites-root > *,
.wp-manage-head,
.wp-manage-status-panel,
.wp-panel-title{
  min-width:0;
  max-width:100%;
}
.wp-sites-table-wrap{
  display:block;
  width:100%;
  min-width:0;
}
.wp-manage-status-panel{
  flex-wrap:wrap;
}
.wp-manage-status-panel > div{
  min-width:0;
}
.wp-manage-status-panel .btn{
  flex:0 1 auto;
}
@media(max-width:560px){
  .wp-stat-panel{
    grid-template-columns:1fr;
  }
  .wp-manage-head{
    display:grid;
    grid-template-columns:1fr;
  }
  .wp-manage-status-panel{
    align-items:stretch;
  }
  .wp-manage-status-panel .btn{
    width:100%;
  }
}

/* ---- Phase 13K Sites tab visual containment ---- */
.hc-panel[data-host-tabpanel="wordpress"] .hosting-wp-sites{
  display:grid;
  gap:18px;
  width:100%;
  min-width:0;
  max-width:100%;
}
.host-card.is-expanded .hosting-details-inner.hc,
.host-card.is-expanded .hosting-expanded-grid{
  grid-template-columns:minmax(0,1fr);
}
.host-card.is-expanded .hc-header,
.host-card.is-expanded .hc-tabs,
.host-card.is-expanded .hc-panels{
  box-sizing:border-box;
  width:100%;
  min-width:0;
  max-width:100%;
}
.hc-panel[data-host-tabpanel="wordpress"] .hosting-wp-head{
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}
.hosting-wp-list{
  display:grid;
  gap:14px;
  width:100%;
  min-width:0;
  max-width:100%;
}
.wp-sites-section-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  width:100%;
  min-width:0;
  max-width:100%;
}
.wp-sites-section-header>div{
  min-width:0;
}
.wp-sites-section-header h4{
  margin:0;
  color:var(--ink);
  font-size:14px;
  font-weight:850;
  line-height:1.2;
}
.wp-sites-section-header p{
  margin:3px 0 0;
  color:var(--muted);
  font-size:12.5px;
  line-height:1.35;
}
.wp-manage-all-link{
  flex:0 0 auto;
  max-width:100%;
  white-space:nowrap;
}
.wp-primary-site-card,
.hc-panel[data-host-tabpanel="wordpress"] .wp-site-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px 16px;
  width:100%;
  min-width:0;
  max-width:100%;
  padding:14px 16px;
  border:1px solid var(--line-2);
  border-radius:13px;
  background:#fff;
  box-shadow:0 1px 2px rgba(15,23,42,.04);
}
.wp-primary-site-card{
  background:var(--surface);
}
.wp-primary-site-main,
.hc-panel[data-host-tabpanel="wordpress"] .wp-site-card-main{
  display:grid;
  gap:4px;
  min-width:0;
}
.wp-primary-site-main strong,
.hc-panel[data-host-tabpanel="wordpress"] .wp-site-card-main strong{
  color:var(--ink);
  font-size:14.5px;
  font-weight:850;
  line-height:1.25;
}
.wp-primary-site-main>span,
.hc-panel[data-host-tabpanel="wordpress"] .wp-site-card-main>span{
  color:var(--muted);
  font-size:12.5px;
}
.wp-site-list{
  display:grid;
  gap:10px;
  width:100%;
  min-width:0;
  max-width:100%;
}
.wp-primary-site-card .wp-site-card-meta,
.hc-panel[data-host-tabpanel="wordpress"] .wp-site-card-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-start;
  gap:6px;
  min-width:0;
}
.wp-primary-site-card .wp-site-card-actions,
.hc-panel[data-host-tabpanel="wordpress"] .wp-site-card-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:7px;
  min-width:0;
}
.hc-panel[data-host-tabpanel="wordpress"] .wp-col-created{
  color:var(--muted);
  font-size:12px;
  white-space:nowrap;
}
.hc-panel[data-host-tabpanel="wordpress"] .hosting-wp-subtitle{
  align-items:flex-end;
  min-width:0;
  max-width:100%;
}

@media(max-width:900px){
  .wp-primary-site-card,
  .hc-panel[data-host-tabpanel="wordpress"] .wp-site-card{
    grid-template-columns:1fr;
  }
  .wp-primary-site-card .wp-site-card-actions,
  .hc-panel[data-host-tabpanel="wordpress"] .wp-site-card-actions{
    justify-content:flex-start;
  }
}
@media(max-width:560px){
  .wp-sites-section-header{
    align-items:flex-start;
    flex-direction:column;
  }
  .wp-manage-all-link{
    width:100%;
    justify-content:center;
  }
  .wp-primary-site-card .wp-site-card-actions .btn,
  .hc-panel[data-host-tabpanel="wordpress"] .wp-site-card-actions .btn{
    width:100%;
  }
  .wp-primary-site-card,
  .hc-panel[data-host-tabpanel="wordpress"] .wp-site-card{
    padding:13px;
  }
}

/* Phase 13O: while the WordPress create-site wizard is open, hide the duplicate
   "Create New Site" trigger in the panel header so only the wizard's own
   Cancel / Back / Continue actions remain visible. */
.wp-sites-root.is-wizard-open [data-wp-sites-open-wizard] { display: none; }

/* Phase 13P: portal modal (Create New Site). Fixed overlay moved to <body> on
   open so it escapes card overflow/transform; accessible dialog + scroll lock. */
.portal-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.portal-modal[hidden] { display: none; }
.portal-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.55); backdrop-filter: blur(2px); }
.portal-modal-dialog { position: relative; z-index: 1; width: 100%; max-width: 780px; max-height: 90vh; display: flex; flex-direction: column; background: var(--surface, #fff); border-radius: 16px; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28); overflow: hidden; }
.portal-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--border, #e5e7eb); }
.portal-modal-title { margin: 0; font-size: 1.1rem; line-height: 1.3; }
.portal-modal-close { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--border, #e5e7eb); border-radius: 10px; background: transparent; color: inherit; cursor: pointer; }
.portal-modal-close:hover { background: rgba(15, 23, 42, 0.06); }
.portal-modal-close svg { width: 18px; height: 18px; }
.portal-modal-body { padding: 20px 22px 22px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.portal-modal-body.wp-create-panel { margin: 0; }
.wp-wiz-intro { margin: 0 0 14px; color: var(--muted, #64748b); font-size: 0.92rem; }
.wp-register-note { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(15, 23, 42, 0.05); color: var(--muted, #475569); font-size: 0.86rem; }
body.portal-modal-open { overflow: hidden; }
@media (max-width: 560px) {
  .portal-modal { padding: 0; }
  .portal-modal-dialog { max-width: none; width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
}