.website-admin-view-portal .website-admin-scroll-region { padding:0; background:#eef3f4; }
.website-portal-console { min-height:100%; color:var(--portal-ink,#111827); }
.website-portal-console[hidden], .website-portal-empty[hidden] { display:none; }
.website-portal-summary { display:flex; align-items:stretch; justify-content:space-between; gap:2rem; padding:1.7rem 2rem; background:#fff; border-bottom:1px solid var(--website-admin-border,#d9e2e4); }
.website-portal-summary-copy { min-width:0; }
.website-portal-summary-heading { display:flex; align-items:center; flex-wrap:wrap; gap:.55rem; margin-bottom:1rem; }
.website-portal-state, .website-portal-scan-state { display:inline-flex; align-items:center; min-height:26px; padding:.2rem .58rem; border-radius:999px; font-size:.62rem; font-weight:800; }
.website-portal-state.is-off { color:#5f6b7a; background:#edf0f3; }
.website-portal-state.is-on { color:#11614f; background:#dff2eb; }
.website-portal-scan-state { color:#526072; background:#f5f7f8; border:1px solid #dce3e5; }
.website-portal-scan-state.is-working::before { content:""; width:7px; height:7px; margin-right:.4rem; border:2px solid #9bb8b4; border-top-color:#14776f; border-radius:50%; animation:portal-spin .8s linear infinite; }
@keyframes portal-spin { to { transform:rotate(360deg); } }
.website-portal-summary h2 { margin:.25rem 0 .45rem; font:700 clamp(1.55rem,2.4vw,2.15rem)/1.1 Fraunces,Georgia,serif; }
.website-portal-summary-copy > p:last-of-type { max-width:720px; margin:0; color:var(--portal-muted,#64748b); font-size:.8rem; line-height:1.55; }
.website-portal-address { display:flex; align-items:center; flex-wrap:wrap; gap:.55rem; margin-top:1.15rem; }
.website-portal-address span { color:var(--portal-muted,#64748b); font-size:.65rem; font-weight:800; text-transform:uppercase; letter-spacing:.07em; }
.website-portal-address strong { padding:.48rem .62rem; background:#f4f7f8; border:1px solid #dce4e6; border-radius:6px; font:.7rem/1.35 ui-monospace,SFMono-Regular,Menlo,monospace; }
.website-portal-address-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.4rem; }
.website-portal-address-button { min-height:32px; display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; padding:.38rem .62rem; color:#126d65; background:#fff; border:1px solid #bfd2d0; border-radius:6px; font:800 .62rem Manrope,Arial,sans-serif; text-decoration:none; cursor:pointer; }
.website-portal-address-button:hover { color:#0b504b; background:#f2f8f7; }
.website-portal-address-button:disabled { color:#8a949f; background:#f4f5f6; border-color:#d9dfe2; cursor:not-allowed; }
.website-portal-readiness { width:150px; flex:0 0 150px; display:grid; align-content:center; text-align:right; }
.website-portal-readiness strong { font:700 2.1rem/1 Fraunces,Georgia,serif; }
.website-portal-readiness span { margin-top:.25rem; color:var(--portal-muted,#64748b); font-size:.63rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.website-portal-readiness-track { height:6px; margin-top:.7rem; overflow:hidden; background:#e7ecee; border-radius:999px; }
.website-portal-readiness-track i { display:block; width:0; height:100%; background:#14877f; border-radius:inherit; transition:width .25s ease; }
.website-portal-actionbar { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.9rem 2rem; color:#fff; background:#07121c; border-bottom:1px solid #152535; }
.website-portal-actionbar > div:first-child { display:grid; gap:.15rem; }
.website-portal-actionbar strong { font-size:.8rem; }
.website-portal-actionbar span { color:rgba(255,255,255,.65); font-size:.68rem; }
.website-portal-action-buttons { display:flex; flex-wrap:wrap; gap:.55rem; }
.website-portal-actionbar .portal-button { min-height:38px; padding:.55rem .75rem; }
.website-portal-actionbar .portal-button-secondary { color:#fff; background:rgba(255,255,255,.07); border-color:rgba(255,255,255,.2); }
.website-portal-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr); gap:1px; margin:1.25rem; background:var(--website-admin-border,#d9e2e4); border:1px solid var(--website-admin-border,#d9e2e4); }
.website-portal-panel { background:#fff; }
.website-portal-panel-head { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; padding:1.2rem 1.3rem; border-bottom:1px solid var(--website-admin-border,#d9e2e4); }
.website-portal-panel-head h3 { margin:.18rem 0 0; font-size:.96rem; }
.website-portal-panel-head p:not(.portal-kicker) { max-width:720px; margin:.4rem 0 0; color:var(--portal-muted,#64748b); font-size:.7rem; line-height:1.5; }
.website-portal-panel-head > span { color:var(--portal-muted,#64748b); font-size:.65rem; font-weight:800; white-space:nowrap; }
.website-portal-panel-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:.75rem; }
.website-portal-connection-list { display:grid; }
.website-portal-connection { min-width:0; display:grid; grid-template-columns:34px minmax(0,1fr) auto; align-items:center; gap:.8rem; min-height:58px; padding:.65rem 1.3rem; border-bottom:1px solid #e7ecee; text-decoration:none; }
.website-portal-connection:last-child { border-bottom:0; }
.website-portal-connection:hover { background:#f8fbfb; }
.website-portal-connection-icon { width:30px; height:30px; display:grid; place-items:center; color:#627081; background:#eef1f4; border-radius:50%; font-size:.7rem; font-weight:900; }
.website-portal-connection.is-connected .website-portal-connection-icon { color:#fff; background:#16877e; }
.website-portal-connection.is-connected .website-portal-connection-icon::before { content:"✓"; }
.website-portal-connection.is-attention .website-portal-connection-icon, .website-portal-connection.is-suggested .website-portal-connection-icon { color:#855719; background:#fff0ce; }
.website-portal-connection.is-attention .website-portal-connection-icon::before { content:"!"; }
.website-portal-connection.is-suggested .website-portal-connection-icon::before { content:"+"; }
.website-portal-connection.is-missing .website-portal-connection-icon::before { content:"—"; }
.website-portal-connection.is-recorded .website-portal-connection-icon::before, .website-portal-connection.is-default .website-portal-connection-icon::before { content:"•"; }
.website-portal-connection-copy { min-width:0; display:grid; gap:.14rem; }
.website-portal-connection-copy strong { font-size:.73rem; }
.website-portal-connection-copy span { overflow:hidden; color:var(--portal-muted,#64748b); font-size:.65rem; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }
.website-portal-connection-meta { display:flex; align-items:center; gap:.4rem; }
.website-portal-required { padding:.18rem .4rem; color:#536071; background:#edf0f3; border-radius:999px; font-size:.55rem; font-weight:800; text-transform:uppercase; }
.website-portal-arrow { color:#748091; font-weight:800; }
.website-portal-text-button { padding:0; color:#127168; background:transparent; border:0; font:800 .7rem Manrope,Arial,sans-serif; cursor:pointer; }
.website-portal-text-button:hover { text-decoration:underline; }
.website-portal-text-button:disabled { color:#8a949f; cursor:not-allowed; text-decoration:none; }
.website-portal-brand-preview { margin:1.25rem; overflow:hidden; color:#fff; background:var(--brand-primary,#17231b); border:1px solid rgba(0,0,0,.14); border-radius:10px; box-shadow:0 16px 34px rgba(18,31,38,.12); }
.website-portal-brand-topbar { min-height:48px; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.65rem .8rem; border-bottom:1px solid rgba(255,255,255,.15); }
.website-portal-brand-topbar > span { color:rgba(255,255,255,.66); font-size:.52rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.website-portal-brand-logo { min-width:0; display:flex; align-items:center; gap:.5rem; }
.website-portal-brand-logo img { width:30px; height:30px; object-fit:contain; }
.website-portal-brand-logo strong { overflow:hidden; font-size:.67rem; text-overflow:ellipsis; white-space:nowrap; }
.website-portal-brand-body { min-height:128px; display:grid; align-content:center; gap:.28rem; padding:1.25rem; background:linear-gradient(135deg,rgba(255,255,255,.04),rgba(255,255,255,0)); }
.website-portal-brand-body small { color:var(--brand-accent,#b77946); font-size:.57rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.website-portal-brand-body strong { font-family:var(--brand-heading,Fraunces),Georgia,serif; font-size:1.15rem; }
.website-portal-brand-body span { max-width:280px; color:rgba(255,255,255,.68); font:500 .57rem/1.45 var(--brand-body,Manrope),Arial,sans-serif; }
.website-portal-brand-body i { width:54px; height:5px; margin-top:.45rem; background:var(--brand-accent,#b77946); border-radius:999px; }
.website-portal-brand-facts { display:grid; margin:0 1.25rem; }
.website-portal-brand-facts > div { display:grid; grid-template-columns:70px minmax(0,1fr); gap:.7rem; padding:.58rem 0; border-bottom:1px solid #e8edef; }
.website-portal-brand-facts > div:last-child { border-bottom:0; }
.website-portal-brand-facts dt { color:var(--portal-muted,#64748b); font-size:.6rem; font-weight:800; text-transform:uppercase; }
.website-portal-brand-facts dd { min-width:0; display:flex; align-items:center; gap:.4rem; margin:0; overflow:hidden; font-size:.65rem; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
.website-portal-brand-facts dd i { width:15px; height:15px; flex:0 0 auto; border:1px solid rgba(0,0,0,.12); border-radius:50%; }
.website-portal-detection-note { margin:.7rem 1.25rem 1.2rem; color:var(--portal-muted,#64748b); font-size:.62rem; line-height:1.45; }
.website-portal-features { margin:0 1.25rem 1.25rem; border:1px solid var(--website-admin-border,#d9e2e4); }
.website-portal-feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.website-portal-feature-grid label, .website-portal-feature-tools label { position:relative; min-width:0; display:flex; align-items:center; justify-content:space-between; gap:.8rem; min-height:66px; padding:.75rem 1rem; border-right:1px solid #e7ecee; border-bottom:1px solid #e7ecee; cursor:pointer; }
.website-portal-feature-grid label:nth-child(3n) { border-right:0; }
.website-portal-feature-grid label:nth-child(n+7) { border-bottom:0; }
.website-portal-feature-grid label > span, .website-portal-feature-tools label > span { min-width:0; display:grid; gap:.15rem; }
.website-portal-feature-grid strong, .website-portal-feature-tools strong { font-size:.69rem; }
.website-portal-feature-grid small, .website-portal-feature-tools small { overflow:hidden; color:var(--portal-muted,#64748b); font-size:.58rem; text-overflow:ellipsis; white-space:nowrap; }
.website-portal-feature-grid small.is-completion-note { overflow:visible; color:#9a5b23; line-height:1.35; text-overflow:clip; white-space:normal; }
.website-portal-feature-grid input, .website-portal-feature-tools input { position:absolute; top:50%; right:1rem; width:1px; height:1px; margin:0; opacity:0; pointer-events:none; transform:translateY(-50%); }
.website-portal-feature-grid label > i, .website-portal-feature-tools label > i { position:relative; width:31px; height:18px; flex:0 0 auto; background:#cbd3d8; border-radius:999px; transition:background .15s ease; }
.website-portal-feature-grid label > i::after, .website-portal-feature-tools label > i::after { content:""; position:absolute; top:3px; left:3px; width:12px; height:12px; background:#fff; border-radius:50%; box-shadow:0 1px 3px rgba(0,0,0,.2); transition:transform .15s ease; }
.website-portal-feature-grid input:checked + i, .website-portal-feature-tools input:checked + i { background:#16877e; }
.website-portal-feature-grid input:checked + i::after, .website-portal-feature-tools input:checked + i::after { transform:translateX(13px); }
.website-portal-feature-grid input:focus-visible + i, .website-portal-feature-tools input:focus-visible + i { outline:3px solid rgba(20,135,127,.2); outline-offset:2px; }
.website-portal-feature-tools { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); background:linear-gradient(135deg,rgba(20,135,127,.06),rgba(22,185,237,.05)); }
.website-portal-feature-tools label:last-child { border-right:0; }
.website-portal-feature-tools .portal-beta-label { display:inline-flex; width:max-content; margin-left:.25rem; padding:.08rem .3rem; overflow:visible; color:#0f766e; font-size:.48rem; font-weight:800; line-height:1.2; letter-spacing:.06em; text-transform:uppercase; vertical-align:.08rem; background:#d9f3ef; border-radius:999px; }
.website-portal-feature-footer { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.8rem 1rem; background:#f7fafb; border-top:1px solid #e7ecee; }
.website-portal-feature-note { flex:1 1 auto; margin:0; color:var(--portal-muted,#64748b); font-size:.64rem; line-height:1.55; }
.website-portal-feature-note strong { color:var(--portal-ink,#0f172a); }
.website-portal-autosave-state { flex:0 0 auto; color:#176a56; font-size:.63rem; font-weight:800; white-space:nowrap; }
.website-portal-autosave-state.is-saving { color:#526072; }
.website-portal-autosave-state.is-error { color:#9b2c2c; }
.website-portal-counter-details { overflow:hidden; overflow-anchor:none; background:#fff; border-bottom:1px solid #e1e8ea; }
.website-portal-counter-details > summary { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.8rem 1rem; cursor:pointer; list-style:none; }
.website-portal-counter-details > summary::-webkit-details-marker { display:none; }
.website-portal-counter-details > summary > span { display:grid; gap:.16rem; }
.website-portal-counter-details > summary strong { font-size:.69rem; }
.website-portal-counter-details > summary small { color:#748091; font-size:.58rem; }
.website-portal-counter-details > summary > i { width:8px; height:8px; margin-right:.25rem; border-right:2px solid #526072; border-bottom:2px solid #526072; transform:rotate(45deg); transition:transform .15s ease; }
.website-portal-counter-details[open] > summary > i { transform:rotate(225deg); }
.website-portal-counter-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(250px,.8fr); }
.website-portal-counter-settings { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-content:start; gap:1rem; padding:1.2rem 1.3rem; border-right:1px solid #e1e8ea; }
.website-portal-counter-settings label { min-width:0; display:grid; gap:.42rem; color:#526072; font-size:.62rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.website-portal-counter-settings input, .website-portal-counter-settings select { width:100%; min-height:43px; box-sizing:border-box; padding:.62rem .75rem; color:var(--portal-ink,#111827); background:#fff; border:1px solid #cad5d8; border-radius:7px; font:600 .74rem Manrope,Arial,sans-serif; letter-spacing:normal; text-transform:none; }
.website-portal-counter-settings input:disabled, .website-portal-counter-settings select:disabled { color:#8b96a2; background:#f1f4f5; cursor:not-allowed; }
.website-portal-counter-settings label small { color:#748091; font-size:.58rem; font-weight:500; line-height:1.4; letter-spacing:normal; text-transform:none; }
.website-portal-counter-preview-wrap { display:grid; align-content:center; justify-items:center; gap:.7rem; min-height:190px; padding:1.2rem; text-align:center; background:radial-gradient(circle at 50% 20%,#f0f9f7,#f6f8f8 60%); }
.website-portal-counter-preview-wrap > small { max-width:270px; color:#748091; font-size:.58rem; line-height:1.45; }
.website-portal-counter-preview { min-width:190px; display:grid; gap:.25rem; padding:1.15rem 1.35rem; color:#fff; background:#10251f; border:1px solid rgba(255,255,255,.12); border-radius:12px; box-shadow:0 14px 28px rgba(13,37,31,.16); transition:opacity .15s ease,filter .15s ease; }
.website-portal-counter-preview strong { font:700 2rem/1 Fraunces,Georgia,serif; }
.website-portal-counter-preview span { color:#a8d9cb; font-size:.64rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.website-portal-counter-preview.is-disabled { opacity:.42; filter:grayscale(.65); }
.website-portal-counter-code { display:grid; grid-template-columns:minmax(180px,.55fr) minmax(300px,1.45fr) auto; align-items:center; gap:1rem; padding:1rem 1.3rem; background:#f7fafb; border-top:1px solid #e1e8ea; }
.website-portal-counter-code > div { display:grid; gap:.22rem; }
.website-portal-counter-code strong { font-size:.7rem; }
.website-portal-counter-code span { color:#697789; font-size:.59rem; line-height:1.45; }
.website-portal-counter-code textarea { width:100%; min-height:92px; box-sizing:border-box; resize:vertical; padding:.65rem .75rem; color:#263642; background:#fff; border:1px solid #cad5d8; border-radius:7px; font:500 .61rem/1.45 ui-monospace,SFMono-Regular,Menlo,monospace; }
.website-portal-customize { margin:0 1.25rem 1.25rem; border:1px solid var(--website-admin-border,#d9e2e4); }
.website-portal-customize > summary { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 1.25rem; cursor:pointer; list-style:none; }
.website-portal-customize > summary::-webkit-details-marker { display:none; }
.website-portal-customize > summary > span { display:grid; gap:.18rem; }
.website-portal-customize > summary strong { font-size:.78rem; }
.website-portal-customize > summary small { color:var(--portal-muted,#64748b); font-size:.64rem; font-weight:500; }
.website-portal-customize > summary > i { width:9px; height:9px; border-right:2px solid #526072; border-bottom:2px solid #526072; transform:rotate(45deg); transition:transform .15s ease; }
.website-portal-customize[open] > summary > i { transform:rotate(225deg); }
.website-portal-customize form { padding:1.25rem; background:#f9fbfb; border-top:1px solid var(--website-admin-border,#d9e2e4); }
.website-portal-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.website-portal-form-grid > label, .website-portal-form-grid > fieldset { min-width:0; display:grid; gap:.42rem; color:#526072; font-size:.62rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.website-portal-form-grid > fieldset { margin:0; padding:0; border:0; }
.website-portal-form-grid > fieldset > legend { margin:0 0 .42rem; padding:0; }
.website-portal-form-grid input, .website-portal-form-grid select { width:100%; min-height:43px; box-sizing:border-box; padding:.62rem .75rem; color:var(--portal-ink,#111827); background:#fff; border:1px solid #cad5d8; border-radius:7px; font:600 .74rem Manrope,Arial,sans-serif; letter-spacing:normal; text-transform:none; }
.website-portal-form-grid label > small, .website-portal-form-grid fieldset > small { color:#748091; font-size:.58rem; font-weight:500; line-height:1.4; letter-spacing:normal; text-transform:none; }
.website-portal-form-wide { grid-column:1/-1; }
.website-portal-asset-trigger { width:100%; min-height:64px; display:grid; grid-template-columns:72px minmax(0,1fr) 12px; align-items:center; gap:.75rem; padding:.4rem .75rem .4rem .4rem; color:#526072; background:#fff; border:1px solid #cad5d8; border-radius:7px; cursor:pointer; text-align:left; }
.website-portal-asset-trigger:hover { border-color:#84939a; }
.website-portal-asset-trigger:focus-visible { outline:3px solid rgba(15,129,117,.2); outline-offset:2px; }
.website-portal-asset-trigger-image { width:72px; height:52px; display:grid; place-items:center; overflow:hidden; background:linear-gradient(135deg,#26352e 0 50%,#f1f3ef 50% 100%); border:1px solid #d8e0e2; border-radius:5px; }
.website-portal-asset-trigger-image img { display:block; max-width:90%; max-height:86%; object-fit:contain; }
.website-portal-asset-trigger-image > span { padding:.18rem .3rem; color:#17231b; background:rgba(255,255,255,.88); border-radius:4px; font:700 1rem/1 Fraunces,Georgia,serif; text-transform:none; }
.website-portal-asset-trigger > span:nth-child(2) { min-width:0; display:grid; gap:.22rem; }
.website-portal-asset-trigger strong { overflow:hidden; color:#1f2937; font:700 .72rem/1.25 Manrope,Arial,sans-serif; letter-spacing:normal; text-overflow:ellipsis; text-transform:none; white-space:nowrap; }
.website-portal-asset-trigger small { color:#748091; font:600 .58rem/1.25 Manrope,Arial,sans-serif; letter-spacing:normal; text-transform:none; }
.website-portal-asset-trigger > i { width:7px; height:7px; border-right:2px solid #526072; border-bottom:2px solid #526072; transform:rotate(45deg); }
.website-portal-asset-dialog { width:min(760px,calc(100vw - 2rem)); max-height:min(720px,calc(100vh - 2rem)); box-sizing:border-box; padding:0; overflow:hidden; color:#111827; background:#f8faf9; border:1px solid #cad5d8; border-radius:10px; box-shadow:0 24px 70px rgba(15,23,42,.32); }
.website-portal-asset-dialog::backdrop { background:rgba(6,14,20,.58); backdrop-filter:blur(2px); }
.website-portal-asset-dialog-head { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; padding:1.15rem 1.25rem; background:#fff; border-bottom:1px solid #d8e0e2; }
.website-portal-asset-dialog-head h2 { margin:.2rem 0 .25rem; font:700 1.15rem/1.15 Fraunces,Georgia,serif; }
.website-portal-asset-dialog-head p { margin:0; color:#667487; font:.65rem/1.45 Manrope,Arial,sans-serif; }
.website-portal-asset-dialog-close { width:34px; height:34px; flex:0 0 auto; display:grid; place-items:center; padding:0; color:#526072; background:#f5f7f7; border:1px solid #d8e0e2; border-radius:999px; cursor:pointer; font:500 1.25rem/1 Arial,sans-serif; }
.website-portal-asset-dialog-close:hover { color:#111827; background:#edf2f1; }
.website-portal-logo-picker { display:grid; grid-template-columns:repeat(auto-fill,minmax(132px,1fr)); gap:.7rem; max-height:min(520px,calc(100vh - 180px)); overflow:auto; padding:1rem; background:#f8faf9; }
.website-portal-logo-option { position:relative; min-width:0; display:grid; grid-template-rows:86px auto; padding:0; overflow:hidden; color:#526072; background:#fff; border:1px solid #d8e0e2; border-radius:7px; cursor:pointer; }
.website-portal-logo-option:hover { border-color:#84939a; transform:translateY(-1px); }
.website-portal-logo-option.is-selected { border-color:#0f8175; box-shadow:0 0 0 2px rgba(15,129,117,.18); }
.website-portal-logo-option.is-selected::after { content:"✓"; position:absolute; top:4px; right:4px; width:18px; height:18px; display:grid; place-items:center; color:#fff; background:#0f8175; border-radius:999px; font:800 .62rem/1 Manrope,Arial,sans-serif; }
.website-portal-logo-image { min-width:0; display:grid; place-items:center; padding:.55rem; overflow:hidden; background:linear-gradient(135deg,#26352e 0 50%,#f1f3ef 50% 100%); }
.website-portal-logo-image img { display:block; max-width:100%; max-height:100%; object-fit:contain; }
.website-portal-logo-name { min-width:0; padding:.45rem .5rem; overflow:hidden; color:#344139; background:#fff; border-top:1px solid #d8e0e2; font:700 .62rem/1.25 Manrope,Arial,sans-serif; letter-spacing:normal; text-align:center; text-overflow:ellipsis; text-transform:none; white-space:nowrap; }
.website-portal-logo-option-fallback .website-portal-logo-image > span { padding:.2rem .35rem; color:#17231b; background:rgba(255,255,255,.86); border-radius:4px; font:700 1.25rem/1 Fraunces,Georgia,serif; text-transform:none; }
.website-portal-logo-empty { grid-column:1/-1; margin:0; padding:1rem; color:#748091; font-size:.66rem; font-weight:600; line-height:1.5; text-align:center; text-transform:none; }
.website-portal-color-control { display:grid; grid-template-columns:44px minmax(0,1fr); }
.website-portal-color-control input[type="color"] { padding:4px; border-radius:7px 0 0 7px; }
.website-portal-color-control input[type="text"] { border-left:0; border-radius:0 7px 7px 0; }
.website-portal-form-actions { display:flex; align-items:center; gap:1rem; margin-top:1.2rem; }
.website-portal-activation { display:flex; align-items:center; justify-content:space-between; gap:1.5rem; margin:0 1.25rem 1.25rem; padding:1.25rem 1.35rem; background:#fff; border:1px solid var(--website-admin-border,#d9e2e4); }
.website-portal-activation h3 { margin:.2rem 0 .35rem; font-size:.92rem; }
.website-portal-activation p:not(.portal-kicker) { max-width:680px; margin:0; color:var(--portal-muted,#64748b); font-size:.69rem; line-height:1.5; }
.website-portal-activation-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.55rem; }
.website-portal-status { min-height:1.2rem; margin:0 1.25rem 2rem; color:#176a56; font-size:.7rem; font-weight:700; }
.website-portal-status.is-error { color:#9b2c2c; }
.website-portal-empty { min-height:480px; display:grid; place-content:center; justify-items:center; gap:.6rem; padding:2rem; text-align:center; }
.website-portal-empty h2, .website-portal-empty p { margin:0; }
.website-portal-empty p { color:var(--portal-muted,#64748b); }
@media (max-width:1050px) {
  .website-portal-grid { grid-template-columns:1fr; }
  .website-portal-feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .website-portal-feature-grid label:nth-child(3n) { border-right:1px solid #e7ecee; }
  .website-portal-feature-grid label:nth-child(2n) { border-right:0; }
  .website-portal-feature-grid label:nth-child(n+7) { border-bottom:0; }
}
@media (max-width:700px) {
  .website-portal-summary { align-items:flex-start; flex-direction:column; gap:1.2rem; padding:1.25rem; }
  .website-portal-readiness { width:100%; grid-template-columns:auto 1fr; align-items:baseline; gap:.5rem; text-align:left; }
  .website-portal-readiness-track { grid-column:1/-1; margin-top:.2rem; }
  .website-portal-actionbar, .website-portal-activation { align-items:flex-start; flex-direction:column; }
  .website-portal-actionbar { padding:1rem 1.25rem; }
  .website-portal-action-buttons, .website-portal-action-buttons .portal-button, .website-portal-activation-actions, .website-portal-activation-actions .portal-button { width:100%; }
  .website-portal-grid, .website-portal-features, .website-portal-customize, .website-portal-activation { margin-right:.75rem; margin-left:.75rem; }
  .website-portal-feature-grid, .website-portal-feature-tools, .website-portal-form-grid { grid-template-columns:1fr; }
  .website-portal-feature-footer { align-items:stretch; flex-direction:column; }
  .website-portal-feature-footer .portal-button { width:100%; }
  .website-portal-counter-layout, .website-portal-counter-code { grid-template-columns:1fr; }
  .website-portal-counter-settings { grid-template-columns:1fr; border-right:0; border-bottom:1px solid #e1e8ea; }
  .website-portal-counter-settings .portal-button { grid-column:auto; width:100%; }
  .website-portal-counter-code .website-portal-address-button { width:100%; min-height:40px; }
  .website-portal-feature-grid label { border-right:0 !important; border-bottom:1px solid #e7ecee !important; }
  .website-portal-feature-tools label { border-right:0; }
  .website-portal-feature-grid label:last-child { border-bottom:0 !important; }
  .website-portal-feature-analytics { grid-column:auto; }
  .website-portal-form-wide { grid-column:auto; }
  .website-portal-status { margin-right:.75rem; margin-left:.75rem; }
}

.accessibility-admin-form{display:flex;flex-direction:column;gap:18px;max-width:760px}.accessibility-admin-form label{display:block;font-weight:600}.accessibility-admin-form label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:10px}.accessibility-admin-form input[type=checkbox]{min-width:22px;min-height:22px;accent-color:#156c63}.accessibility-admin-form :is(input[type=url],textarea){display:block;width:100%;padding:10px;border:1px solid #9babba;border-radius:5px;margin-top:6px;font:inherit}.accessibility-admin-form small{display:block;font-weight:400;margin-top:4px}.accessibility-admin-form button{align-self:flex-start}

.website-records-activation{border-top:1px solid #d7e1dd;padding-top:24px;margin-top:24px}.website-records-activation h3{margin:0 0 6px}.website-records-activation p,.website-records-activation small{font-size:12px;color:#687a73}.website-records-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #e0e7e3}.website-records-row small{display:block;margin-top:4px}.website-records-activation fieldset{border:0;padding:16px 0;margin:0}.website-records-activation fieldset label{display:flex;align-items:center;gap:8px;padding:6px 0}.website-records-activation input[type=checkbox]{width:16px;height:16px;accent-color:#176f66}.website-records-activation textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #d7e1dd;border-radius:4px;font:12px/1.6 monospace;padding:10px;margin:8px 0 16px}.website-records-activation details{margin-top:18px}.website-records-activation button:disabled{opacity:.5}.website-records-activation p:empty{display:none}@media(max-width:600px){.website-records-row{align-items:flex-start;flex-direction:column}}

#portal-records-settings{min-width:0}#portal-records-detail .website-records-activation{border:0;padding:0;margin:0}#portal-records-detail header{padding:22px 24px;border-bottom:1px solid #dce5e1}#portal-records-detail header h3{font-size:17px;margin:4px 0 6px}#portal-records-detail header p{margin:0}#portal-records-detail .website-records-row{margin:0 24px}#portal-records-detail .website-records-activation>fieldset,#portal-records-detail .website-records-activation>details,#portal-records-detail .website-records-activation>button,#portal-records-detail .website-records-activation>p{margin-left:24px;margin-right:24px}#portal-records-detail .website-records-activation>details{margin-bottom:24px}#portal-records-detail .website-records-unavailable{padding:20px 24px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;background:#f8faf9}#portal-records-detail .website-records-unavailable strong{font-size:13px}#portal-records-detail .website-records-unavailable p{flex:1;min-width:200px;margin:0}#portal-records-detail textarea{max-width:100%}#portal-records-detail button,#portal-records-detail a{border-radius:4px}

.website-portal-feature-tools #portal-records-settings{min-width:0;border-right:1px solid #e7ecee;border-bottom:1px solid #e7ecee}.records-portal-label{border:0;padding:0;background:transparent;text-align:left;min-width:0;flex:1;color:inherit;font:inherit;cursor:pointer}.records-portal-control button.accessibility-portal-indicator{min-height:18px;cursor:pointer}.records-portal-control button:focus-visible{outline:2px solid #176f66;outline-offset:3px}

/* Records setup uses one aligned content column with visible section tabs. */
#portal-records-detail .website-portal-panel{margin:20px 24px;max-width:1040px;background:#fff}
#portal-records-detail .records-setup-heading{padding:24px 28px 20px}
#portal-records-detail .records-back-link{display:block;border:0;background:none;padding:0;margin:0 0 18px;color:#176f66;font:600 12px/1.5 Manrope,sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
#portal-records-detail .records-setup-heading h3{font-size:22px;margin:0 0 6px}
.records-setup-tabs{display:flex;gap:26px;padding:0 28px;border-bottom:1px solid #dce5e1}
.records-setup-tabs button{padding:14px 0;border:0;border-bottom:2px solid transparent;background:none;color:#64748b;font:600 13px/1.5 Manrope,sans-serif;cursor:pointer}
.records-setup-tabs button[aria-pressed=true]{color:#176f66;border-bottom-color:#176f66}
.records-setup-content{padding:24px 28px;max-width:860px}
.records-setup h4{margin:0 0 6px;font-size:15px;line-height:1.5}.records-setup-content p{margin:0;line-height:1.6}
.records-setup-activation{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.records-setup-state{font-size:11px;color:#64748b;white-space:nowrap;padding-top:4px}
.records-setup-notice{padding:10px 12px;background:#f4f7f6;border-left:2px solid #c7d9d1;margin:0 0 16px!important}
.records-setup-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.records-setup-actions .website-portal-address-button{margin:0;padding:9px 13px;min-height:36px;border-radius:4px;font-size:12px}
.records-installation{margin-top:26px;padding-top:22px;border-top:1px solid #dce5e1}
.records-code-label{display:block;font-size:11px;font-weight:600;color:#64748b;margin-top:18px}
#portal-records-detail .records-code-label textarea{background:#f8faf9;resize:vertical;min-height:82px;margin:7px 0 0;font-size:11px;line-height:1.7}
.records-calendar-list{width:100%;min-width:0}.records-calendar-list legend{font-size:12px;font-weight:600}.records-calendar-list label{border-bottom:1px solid #edf1ef;padding:12px 0!important}.records-calendar-list label span{flex:1;font-size:13px;overflow-wrap:anywhere}.records-calendar-list small{font-size:11px;flex:none}
.records-setup button:focus-visible,.records-setup a:focus-visible{outline:2px solid #176f66;outline-offset:3px}.records-setup-content>[role=status]:not(:empty){margin-top:16px}
@media(max-width:650px){#portal-records-detail .website-portal-panel{margin:12px}#portal-records-detail .records-setup-heading,.records-setup-content{padding:20px}.records-setup-tabs{padding:0 20px;gap:20px}.records-setup-activation{gap:12px}}

.website-installation-status{border-bottom:1px solid #dce5e1;padding:0 0 20px;margin-bottom:22px}.website-installation-status-line{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.website-installation-status-line strong{font-size:13px;color:#176f66}.website-installation-status button{border:1px solid #b7c8c4;background:#fff;color:#176f66;border-radius:4px;padding:8px 12px;font:600 12px/1.5 Manrope,sans-serif;cursor:pointer;min-height:36px}.website-installation-status button:disabled{opacity:.65;cursor:wait}.website-installation-status ul{list-style:none;padding:0;margin:12px 0}.website-installation-status li{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:6px 0;font-size:12px}.website-installation-status small{font-size:11px;color:#526573}.website-installation-status p{font-size:11px!important;margin:10px 0 0!important;color:#64748b}.website-installation-status button:focus-visible{outline:2px solid #176f66;outline-offset:3px}

/* Public website details */
.website-public-profile-form { padding: 0 1.25rem 1.25rem; }
.website-public-profile-socials { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.75rem 1rem; margin: 0; padding: 0; border: 0; }
.website-public-profile-socials legend { margin-bottom: 0.5rem; font-weight: 700; }
.website-public-profile-check { display: flex !important; align-items: center; gap: 0.5rem; }
.website-public-profile-check small { color: var(--portal-muted, #5d666d); }
.website-public-profile-status { margin: 0; color: var(--portal-muted, #5d666d); font-size: 0.9rem; }
.website-public-profile-status.is-error { color: #9b2c2c; }
.website-email { display: grid; gap: 1rem; padding: 0 1.25rem 1.25rem; }
.website-email-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.website-email-head p { margin: 0; color: var(--portal-muted, #5d666d); }
.website-email-head .website-email-from { color: inherit; font-weight: 750; font-size: 1.05rem; overflow-wrap: anywhere; }
.website-email-badge { display: inline-block; padding: 0.2rem 0.65rem; border-radius: 999px; background: #eef0f2; font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.website-email-badge.is-ready { background: #e3f4e8; color: #1d6b3a; }
.website-email-badge.is-pending { background: #fdf1dc; color: #8a5a00; }
.website-email-dns { overflow-x: auto; }
.website-email-dns table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.website-email-dns th, .website-email-dns td { padding: 0.55rem 0.5rem; border-bottom: 1px solid rgba(0,0,0,0.08); text-align: left; vertical-align: top; }
.website-email-dns td small { display: block; color: var(--portal-muted, #5d666d); }
.website-email-dns code { display: block; max-width: 22rem; overflow-wrap: anywhere; word-break: break-all; font-size: 0.8rem; }
.website-email-health { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid rgba(0,0,0,0.08); }
.website-email-health ul { display: grid; gap: 0.5rem; margin: 0.5rem 0 0; padding: 0; list-style: none; font-size: 0.9rem; }
.website-email-health li { line-height: 1.45; overflow-wrap: anywhere; }
.website-email-move { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid rgba(0,0,0,0.08); }
.website-email-move p { margin: 0.35rem 0; line-height: 1.45; overflow-wrap: anywhere; }
.website-email-copy { margin-top: 0.3rem; padding: 0.15rem 0.55rem; border: 1px solid rgba(0,0,0,0.15); border-radius: 999px; background: transparent; font: inherit; font-size: 0.78rem; cursor: pointer; }
@media (max-width: 640px) {
  .website-email-dns thead { display: none; }
  .website-email-dns tr { display: grid; gap: 0.35rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(0,0,0,0.08); }
  .website-email-dns td { padding: 0; border: 0; }
}
.website-domains { display: grid; gap: 1rem; padding: 0 1.25rem 1.25rem; }
.website-domains-list, .website-domains-results { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.website-domains-list li, .website-domains-results li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; padding: 0.7rem 0.85rem; border: 1px solid rgba(0,0,0,0.1); border-radius: 0.75rem; }
.website-domains-list li > div:first-child { flex: 1 1 14rem; min-width: 0; }
.website-domains-list small { display: block; color: var(--portal-muted, #5d666d); }
.website-domains-results li > strong { flex: 1 1 12rem; overflow-wrap: anywhere; }
.website-domains-results li > div { flex: 2 1 14rem; color: var(--portal-muted, #5d666d); font-size: 0.92rem; }
.website-domains-search { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.6rem; }
.website-domains-search label { flex: 1 1 16rem; display: grid; gap: 0.3rem; font-weight: 650; }
.website-domains-transfer form { display: grid; gap: 0.6rem; margin-top: 0.75rem; max-width: 32rem; }
.website-domains-transfer label { display: grid; gap: 0.3rem; font-weight: 650; }
.website-domains-transfer small, .website-domains-note { color: var(--portal-muted, #5d666d); font-size: 0.85rem; margin: 0; }
.website-domains-transfer summary { cursor: pointer; font-weight: 650; }
.site-plan { display: grid; gap: 0.9rem; padding: 0 1.25rem 1.25rem; }
.site-plan-head, .site-plan-tools, .site-plan-add { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.6rem; }
.site-plan label { display: grid; gap: 0.25rem; font-weight: 650; font-size: 0.9rem; }
.site-plan input, .site-plan textarea, .site-plan select { width: 100%; min-width: 0; font: inherit; font-weight: 400; padding: 0.45rem 0.6rem; border: 1px solid rgba(0,0,0,0.18); border-radius: 0.5rem; background: #fff; }
.site-plan-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.6rem 0.9rem; }
.site-plan-wide { grid-column: 1 / -1; }
.site-plan-section { border: 1px solid rgba(0,0,0,0.12); border-radius: 0.75rem; padding: 0.6rem 0.85rem; background: #fff; }
.site-plan-section > summary { display: flex; gap: 0.6rem; align-items: baseline; cursor: pointer; }
.site-plan-section > summary span { color: var(--portal-muted, #5d666d); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-plan-section[open] > summary { margin-bottom: 0.7rem; }
.site-plan-tools { margin-bottom: 0.7rem; }
.site-plan-list, .site-plan-link { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.5rem 0.8rem; margin: 0; padding: 0.6rem; border: 1px dashed rgba(0,0,0,0.15); border-radius: 0.6rem; }
.site-plan-list legend, .site-plan-link legend { font-weight: 700; font-size: 0.88rem; }
.site-plan-item { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.5rem 0.8rem; padding-bottom: 0.6rem; border-bottom: 1px solid rgba(0,0,0,0.08); }
.site-plan-check { display: flex !important; align-items: center; gap: 0.4rem; }
.site-plan-check input { width: auto; }
.site-plan-mini { padding: 0.3rem 0.7rem; border: 1px solid rgba(0,0,0,0.18); border-radius: 999px; background: transparent; font: inherit; font-size: 0.82rem; cursor: pointer; }
.site-plan-mini.is-danger { color: #9b2c2c; border-color: rgba(155,44,44,0.35); }
.site-plan-mini:disabled { opacity: 0.4; cursor: default; }

/* Website Portal sections: the same quiet underlined tabs as the project workspace. */
.website-portal-tabs { display: flex; gap: 24px; margin: 0 0 18px; border-bottom: 1px solid #e2e6e7; overflow-x: auto; scrollbar-width: none; }
.website-portal-tabs a { flex: none; margin-bottom: -1px; padding: 12px 0; border-bottom: 2px solid transparent; color: #5d666d; font: 700 .86rem/1.5 Manrope, system-ui, sans-serif; white-space: nowrap; text-decoration: none; }
.website-portal-tabs a:hover { color: #16191c; }
.website-portal-tabs a.is-current { border-bottom-color: #14877f; color: #126f67; }
[data-portal-tab][hidden] { display: none !important; }

/* ------------------------------------------------------------------
   Domain & email and Website tabs (rebuilt 2026-12-03).
   One vocabulary: numbered sections, flat blocks with hairline rules,
   rows for records, pills for state. Existing teal, ink and Manrope.
   ------------------------------------------------------------------ */
.wp-section { margin:0 1.25rem 1.25rem; background:#fff; border:1px solid var(--website-admin-border,#d9e2e4); }
.wp-section-head { display:grid; gap:.3rem; padding:1.4rem 1.5rem 1.2rem; border-bottom:1px solid var(--website-admin-border,#d9e2e4); }
.wp-section-head h3 { margin:0; color:var(--portal-ink,#111827); font:800 1.05rem/1.25 Manrope,Arial,sans-serif; letter-spacing:-.01em; }
.wp-section-head p:not(.wp-eyebrow) { max-width:760px; margin:0; color:var(--portal-muted,#64748b); font-size:.74rem; line-height:1.55; }
.wp-eyebrow, .wp-callout-label, .wp-fact > span { margin:0; color:#287a72; font:800 .6rem/1.2 Manrope,Arial,sans-serif; letter-spacing:.1em; text-transform:uppercase; }
.wp-section > div:not(.wp-section-head) { min-width:0; }
/* The admin design resets paragraph color and capitals inside main; the section labels keep the sidebar's teal small caps. */
.website-portal-console .wp-eyebrow, .website-portal-console .wp-callout-label, .website-portal-console .wp-fact > span { color:#287a72; font-size:.64rem; text-transform:uppercase; }
#portal-site-plan { padding:1.25rem 1.5rem; }

/* At a glance */
.wp-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:0 1.25rem 1.25rem; background:#fff; border:1px solid var(--website-admin-border,#d9e2e4); }
.wp-facts:empty { display:none; }
.wp-fact { display:grid; align-content:start; gap:.3rem; min-width:0; padding:1.1rem 1.3rem; border-left:1px solid var(--website-admin-border,#d9e2e4); }
.wp-fact:first-child { border-left:0; }
.wp-fact strong, .wp-fact a { overflow:hidden; color:var(--portal-ink,#111827); font:800 .92rem/1.3 Manrope,Arial,sans-serif; text-overflow:ellipsis; white-space:nowrap; }
.wp-fact a { color:#126f67; text-decoration:none; }
.wp-fact a:hover { text-decoration:underline; }
.wp-fact small { color:var(--portal-muted,#64748b); font-size:.66rem; line-height:1.4; }

/* Blocks inside a section */
.wp-domains, .wp-email { display:grid; }
.wp-block { display:grid; gap:.85rem; padding:1.25rem 1.5rem; border-top:1px solid #e6ecee; }
.wp-domains > .wp-block:first-child, .wp-domains > .wp-callout + .wp-block, .wp-email > .wp-email-head + .wp-block { border-top:0; }
.wp-block-head { display:flex; align-items:baseline; flex-wrap:wrap; gap:.4rem .75rem; }
.wp-block-head h4 { margin:0; color:var(--portal-ink,#111827); font:800 .8rem/1.3 Manrope,Arial,sans-serif; }
.wp-block-head p { flex:1 1 100%; margin:0; color:var(--portal-muted,#64748b); font-size:.7rem; line-height:1.5; }
.wp-block-head p a { color:#126f67; }
.wp-count { min-width:1.4rem; padding:.1rem .4rem; color:#526072; background:#eef2f3; border-radius:999px; font-size:.62rem; font-weight:800; text-align:center; }
.wp-note { margin:0; color:var(--portal-muted,#64748b); font-size:.68rem; line-height:1.5; }
.wp-empty, .wp-muted { margin:0; color:var(--portal-muted,#64748b); font-size:.72rem; }
.wp-empty { padding:1rem; background:#f7f9fa; border:1px dashed #d3dcdf; border-radius:8px; }
.wp-actions { display:flex; flex-wrap:wrap; gap:.55rem; }

/* Rows */
.wp-rows { display:grid; margin:0; padding:0; list-style:none; border:1px solid #e1e8ea; border-radius:8px; overflow:hidden; }
.wp-row { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:.5rem 1rem; padding:.85rem 1rem; background:#fff; border-top:1px solid #e9eef0; }
.wp-row:first-child { border-top:0; }
.wp-row.is-chosen { background:#f2f9f8; }
.wp-row-main { display:grid; gap:.25rem; min-width:0; }
.wp-row-main > strong { display:inline; overflow-wrap:anywhere; color:var(--portal-ink,#111827); font-size:.8rem; font-weight:800; }
.wp-row-main > strong + .wp-pill { justify-self:start; }
.wp-row-main small { color:var(--portal-muted,#64748b); font-size:.66rem; line-height:1.45; overflow-wrap:anywhere; }
.wp-row-main small a { color:#126f67; }
.wp-row-price { display:flex; align-items:center; flex-wrap:wrap; gap:.4rem; color:#526072; font-size:.7rem; }
.wp-row-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:.35rem .9rem; }
.wp-records { display:flex !important; flex-wrap:wrap; gap:.3rem; }
.wp-row code, .wp-records code { padding:.12rem .35rem; color:#17252d; background:#f1f5f6; border-radius:4px; font:.64rem/1.4 ui-monospace,SFMono-Regular,Menlo,monospace; overflow-wrap:anywhere; }
.wp-qr { grid-column:1/-1; display:flex; align-items:center; gap:1rem; margin:.25rem 0 0; }
.wp-qr img { padding:.4rem; background:#fff; border:1px solid #e1e8ea; border-radius:6px; }
.wp-qr figcaption { color:var(--portal-muted,#64748b); font-size:.66rem; }
.wp-qr a { color:#126f67; font-weight:700; }

/* Pills and link buttons */
.wp-pill { display:inline-flex; align-items:center; min-height:22px; padding:.1rem .55rem; color:#526072; background:#eef2f3; border-radius:999px; font-size:.6rem; font-weight:800; letter-spacing:.02em; white-space:nowrap; }
.wp-pill.is-ready { color:#11614f; background:#dff2eb; }
.wp-pill.is-pending { color:#875a06; background:#fbf0d9; }
.wp-link-button { padding:0; color:#126f67; background:none; border:0; font:800 .68rem Manrope,Arial,sans-serif; cursor:pointer; }
.wp-link-button:hover { color:#0b504b; text-decoration:underline; }
.wp-link-button.is-danger { color:#a03a3a; }
.wp-link-button:disabled { color:#9aa4ad; cursor:not-allowed; text-decoration:none; }

/* Chosen domain */
.wp-callout { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.75rem 1rem; margin:1.25rem 1.5rem 0; padding:.95rem 1.1rem; background:#f2f9f8; border:1px solid #cfe5e2; border-left:3px solid #14877f; border-radius:6px; }
.wp-callout > div { display:grid; gap:.2rem; }
.wp-callout strong { font-size:.95rem; font-weight:800; }
.wp-callout small { color:var(--portal-muted,#64748b); font-size:.68rem; }

/* Add a domain: one way at a time */
.wp-segmented { display:inline-flex; justify-self:start; flex-wrap:wrap; gap:2px; padding:3px; background:#eef2f3; border-radius:8px; }
.wp-segmented button { min-height:32px; padding:.35rem .8rem; color:#526072; background:transparent; border:0; border-radius:6px; font:800 .68rem Manrope,Arial,sans-serif; cursor:pointer; }
.wp-segmented button:hover { color:var(--portal-ink,#111827); }
.wp-segmented button[aria-selected="true"] { color:var(--portal-ink,#111827); background:#fff; box-shadow:0 1px 2px rgba(11,24,34,.12); }
.wp-add-panel { display:grid; gap:.75rem; }
.wp-add-panel[hidden] { display:none; }
.wp-inline-form { display:flex; align-items:flex-end; flex-wrap:wrap; gap:.65rem; }
.wp-inline-form .wp-field { flex:1 1 15rem; }
.wp-inline-form .portal-button { min-height:42px; }
.wp-disclosure { border-top:1px solid #e9eef0; padding-top:.75rem; }
.wp-disclosure > summary { color:#126f67; font-size:.7rem; font-weight:800; cursor:pointer; }
.wp-disclosure[open] > summary { margin-bottom:.75rem; }

/* Fields */
.wp-field { display:grid; align-content:start; gap:.38rem; min-width:0; }
.wp-field > span { color:#526072; font-size:.6rem; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }
.wp-field input, .wp-field select, .wp-field textarea { width:100%; min-height:42px; box-sizing:border-box; padding:.6rem .75rem; color:var(--portal-ink,#111827); background:#fff; border:1px solid #cad5d8; border-radius:7px; font:600 .76rem/1.4 Manrope,Arial,sans-serif; }
.wp-field textarea { resize:vertical; }
.wp-field input:focus, .wp-field select:focus, .wp-field textarea:focus { border-color:#14877f; outline:none; box-shadow:0 0 0 3px rgba(20,135,127,.12); }
.wp-field > small { color:#748091; font-size:.62rem; line-height:1.4; }

/* Business details form: label column on the left, fields on the right */
.wp-form { display:grid; }
.wp-group { display:grid; grid-template-columns:minmax(150px,220px) minmax(0,1fr); gap:.4rem 2rem; margin:0; padding:1.35rem 1.5rem; border:0; border-top:1px solid #e6ecee; }
.wp-group:first-child { border-top:0; }
.wp-visually-hidden { position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.wp-group-label { grid-column:1; align-self:start; display:grid; gap:.3rem; }
.wp-group-label strong { color:var(--portal-ink,#111827); font:800 .8rem/1.3 Manrope,Arial,sans-serif; }
.wp-group-label p { margin:0; color:var(--portal-muted,#64748b); font-size:.68rem; line-height:1.5; }
.wp-group-body { grid-column:2; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:1rem; }
.wp-group.is-three .wp-group-body { grid-template-columns:repeat(3,minmax(0,1fr)); }
.wp-group.is-choices .wp-group-body { grid-template-columns:repeat(2,minmax(0,1fr)); }
.wp-field.is-wide { grid-column:1/-1; }

.wp-choice { position:relative; display:flex; align-items:flex-start; gap:.7rem; padding:.85rem 1rem; background:#fff; border:1px solid #d5dfe2; border-radius:8px; cursor:pointer; }
.wp-choice:has(input:checked) { background:#f2f9f8; border-color:#14877f; box-shadow:inset 0 0 0 1px #14877f; }
.wp-choice input { width:16px; height:16px; flex:none; margin:.1rem 0 0; accent-color:#14877f; }
.wp-choice > span, .wp-switch > span { display:grid; gap:.2rem; }
.wp-choice strong, .wp-switch strong { color:var(--portal-ink,#111827); font-size:.76rem; font-weight:800; }
.wp-choice small, .wp-switch small { color:var(--portal-muted,#64748b); font-size:.66rem; line-height:1.45; }

.wp-switch { grid-column:1/-1; position:relative; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.85rem 1rem; border:1px solid #d5dfe2; border-radius:8px; cursor:pointer; }
.wp-switch input { position:absolute; opacity:0; pointer-events:none; }
.wp-switch i { position:relative; width:38px; height:22px; flex:none; background:#cfd8db; border-radius:999px; transition:background .15s ease; }
.wp-switch i::after { content:""; position:absolute; top:3px; left:3px; width:16px; height:16px; background:#fff; border-radius:50%; box-shadow:0 1px 2px rgba(0,0,0,.2); transition:transform .15s ease; }
.wp-switch input:checked + i { background:#14877f; }
.wp-switch input:checked + i::after { transform:translateX(16px); }
.wp-switch input:focus-visible + i { box-shadow:0 0 0 3px rgba(20,135,127,.25); }

.wp-savebar { position:sticky; bottom:0; z-index:2; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.75rem 1rem; padding:.9rem 1.5rem; background:rgba(255,255,255,.96); border-top:1px solid var(--website-admin-border,#d9e2e4); backdrop-filter:blur(6px); }
.wp-savebar .website-public-profile-status { flex:1 1 18rem; margin:0; color:var(--portal-muted,#64748b); font-size:.7rem; }
.wp-savebar-actions { display:flex; flex-wrap:wrap; gap:.55rem; }
.wp-status { margin:0; padding:.9rem 1.5rem; color:#526072; background:#f7f9fa; border-top:1px solid #e6ecee; font-size:.72rem; line-height:1.5; overflow-wrap:anywhere; }
.wp-status[hidden] { display:none; }
.wp-status.is-error, .wp-savebar .website-public-profile-status.is-error { color:#9b2c2c; }

/* Sending email */
.wp-email-head { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:1rem 1.5rem; padding:1.3rem 1.5rem; }
.wp-email-head > div:first-child { display:grid; gap:.3rem; min-width:0; max-width:720px; }
.wp-email-from { color:var(--portal-ink,#111827); font:800 1.05rem/1.3 Manrope,Arial,sans-serif; overflow-wrap:anywhere; }
.wp-email-head p { margin:0; color:var(--portal-muted,#64748b); font-size:.72rem; line-height:1.5; }
.wp-email-state { display:flex; align-items:center; flex-wrap:wrap; gap:.75rem; }
.wp-email > .wp-block:first-of-type { border-top:1px solid #e6ecee; }
.wp-dns { overflow-x:auto; border:1px solid #e1e8ea; border-radius:8px; }
.wp-dns table { width:100%; border-collapse:collapse; font-size:.7rem; }
.wp-dns th { padding:.55rem .75rem; color:#526072; background:#f7f9fa; font-size:.58rem; font-weight:800; letter-spacing:.07em; text-align:left; text-transform:uppercase; }
.wp-dns td { padding:.65rem .75rem; border-top:1px solid #e9eef0; vertical-align:top; }
.wp-dns td small { display:block; color:var(--portal-muted,#64748b); font-size:.62rem; }
.wp-dns code { display:block; max-width:24rem; margin-bottom:.25rem; font:.64rem/1.45 ui-monospace,SFMono-Regular,Menlo,monospace; word-break:break-all; }
.wp-checks { display:grid; margin:0; padding:0; list-style:none; border:1px solid #e1e8ea; border-radius:8px; }
.wp-check { display:grid; grid-template-columns:52px minmax(0,1fr); align-items:start; gap:.75rem; padding:.7rem .9rem; border-top:1px solid #e9eef0; }
.wp-check:first-child { border-top:0; }
.wp-check .wp-pill { justify-content:center; }
.wp-check > div { display:grid; gap:.15rem; }
.wp-check strong { font-size:.72rem; font-weight:800; }
.wp-check small { color:var(--portal-muted,#64748b); font-size:.66rem; line-height:1.45; overflow-wrap:anywhere; }

@media (max-width:980px) {
  .wp-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .wp-fact:nth-child(3) { border-left:0; }
  .wp-fact:nth-child(n+3) { border-top:1px solid var(--website-admin-border,#d9e2e4); }
  .wp-group { grid-template-columns:1fr; }
  .wp-group-label, .wp-group-body { grid-column:1; }
  .wp-group-body { margin-top:.6rem; }
  .wp-group.is-three .wp-group-body { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:650px) {
  .wp-section, .wp-facts { margin-right:.75rem; margin-left:.75rem; }
  .wp-section-head, .wp-block, .wp-group, .wp-email-head, .wp-savebar, .wp-status { padding-right:1rem; padding-left:1rem; }
  .wp-callout { margin-right:1rem; margin-left:1rem; }
  .wp-facts, .wp-group-body, .wp-group.is-three .wp-group-body, .wp-group.is-choices .wp-group-body { grid-template-columns:1fr; }
  .wp-fact { border-left:0; border-top:1px solid var(--website-admin-border,#d9e2e4); }
  .wp-fact:first-child { border-top:0; }
  .wp-row { grid-template-columns:minmax(0,1fr) auto; }
  .wp-row-actions, .wp-row-price { grid-column:1/-1; justify-content:flex-start; }
  .wp-dns thead { display:none; }
  .wp-dns tr { display:grid; gap:.35rem; padding:.7rem .75rem; border-top:1px solid #e9eef0; }
  .wp-dns td { padding:0; border:0; }
  .wp-savebar-actions, .wp-savebar-actions .portal-button { width:100%; }
}
.website-portal-tabs .website-portal-tabs-aside { margin-left:auto; color:#126f67; }

/* Site editor: publish bar, live site, Business details as a quick panel (2026-12-03). */
.wp-publishbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.75rem 1rem; margin:0 1.25rem 1.25rem; padding:.85rem 1.25rem; color:#fff; background:#07121c; border:1px solid #152535; }
.wp-publishbar-copy { display:flex; align-items:center; flex-wrap:wrap; gap:.65rem; font-size:.74rem; color:rgba(255,255,255,.75); }
.wp-publishbar-actions { display:flex; flex-wrap:wrap; gap:.5rem; }
.wp-publishbar .portal-button { min-height:38px; padding:.5rem .8rem; }
.wp-publishbar .portal-button-secondary { color:#fff; background:rgba(255,255,255,.07); border-color:rgba(255,255,255,.22); }
.wp-publishbar .portal-button[hidden] { display:none; }
.wp-publishbar .portal-button:disabled { opacity:.45; cursor:not-allowed; }
.wp-live { margin:0 1.25rem 1.25rem; background:#fff; border:1px solid var(--website-admin-border,#d9e2e4); }
.wp-live.is-off, .wp-live[hidden] { display:none; }
.wp-live-bar { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.6rem 1rem; border-bottom:1px solid #e6ecee; }
.wp-live-bar a { overflow:hidden; color:#126f67; font:700 .7rem ui-monospace,SFMono-Regular,Menlo,monospace; text-overflow:ellipsis; white-space:nowrap; }
.wp-live-bar .wp-segmented button[aria-pressed="true"] { color:var(--portal-ink,#111827); background:#fff; box-shadow:0 1px 2px rgba(11,24,34,.12); }
.wp-live-stage { display:grid; justify-items:center; padding:1rem; background:#eef3f4; }
.wp-live-stage iframe { width:100%; height:min(72vh,760px); background:#fff; border:1px solid #d9e2e4; border-radius:6px; transition:width .2s ease; }
.wp-live.is-phone .wp-live-stage iframe { width:390px; max-width:100%; }
.wp-quick > summary.wp-section-head { position:relative; padding-right:3.5rem; list-style:none; cursor:pointer; }
.wp-quick > summary::-webkit-details-marker { display:none; }
.wp-quick:not([open]) > summary.wp-section-head { border-bottom:0; }
.wp-quick > summary > i { position:absolute; top:50%; right:1.6rem; width:9px; height:9px; border-right:2px solid #526072; border-bottom:2px solid #526072; transform:translateY(-70%) rotate(45deg); transition:transform .15s ease; }
.wp-quick[open] > summary > i { transform:translateY(-30%) rotate(225deg); }
#portal-site-plan { padding:1.25rem 1.5rem; }
#portal-site-plan .se-savebar { bottom:.75rem; }
.website-portal-tabs { padding-right:1.25rem; }
.wp-publishbar #portal-publish { color:#fff; background:#14877f; border-color:#14877f; }
.wp-publishbar #portal-publish:hover:not(:disabled) { background:#0f6f68; }

/* Site editor studio (2026-12-03): one bar, the editor on the left, the site on the right. */
.wp-studio { container:wp-studio / inline-size; margin:0 1.25rem 1.25rem; background:#fff; border:1px solid var(--website-admin-border,#d9e2e4); }
.wp-studio-bar { position:sticky; top:0; z-index:6; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.6rem 1rem; padding:.7rem 1rem; color:#fff; background:#07121c; }
.wp-studio-state { display:flex; align-items:center; gap:.6rem; min-width:0; color:rgba(255,255,255,.75); font-size:.72rem; }
.wp-studio-state > span:last-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.wp-studio-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.45rem; }
.wp-studio-actions .portal-button { min-height:34px; padding:.4rem .75rem; }
.wp-studio-actions .portal-button-secondary { color:#fff; background:rgba(255,255,255,.07); border-color:rgba(255,255,255,.22); }
.wp-studio-actions .portal-button[hidden] { display:none; }
.wp-studio-actions .portal-button:disabled { opacity:.45; cursor:not-allowed; }
.wp-studio-actions #portal-publish { color:#fff; background:#14877f; border-color:#14877f; }
.wp-studio-actions .wp-segmented { background:rgba(255,255,255,.08); }
.wp-studio-actions .wp-segmented button { color:rgba(255,255,255,.7); }
.wp-studio-actions .wp-segmented button[aria-pressed="true"] { color:#07121c; background:#fff; }
.wp-studio-body { display:grid; grid-template-columns:minmax(360px,460px) minmax(0,1fr); height:calc(100vh - 150px); min-height:560px; }
.wp-studio-editor { container:wp-editor / inline-size; display:grid; align-content:start; gap:.85rem; min-width:0; overflow:auto; padding:1rem; background:#f6f8f9; border-right:1px solid var(--website-admin-border,#d9e2e4); }
.wp-studio-editor #portal-site-plan { padding:0; }
.wp-studio-editor #portal-site-plan .se-savebar { bottom:0; }
.wp-studio-preview { display:flex; flex-direction:column; min-width:0; margin:0; border:0; background:#eef3f4; }
.wp-studio-preview .wp-live-bar { gap:.6rem; background:#fff; }
.wp-live-label { flex:none; padding:.12rem .5rem; color:#526072; background:#eef2f3; border-radius:999px; font-size:.6rem; font-weight:800; }
.wp-studio-preview .wp-live-bar a { flex:1 1 auto; }
.wp-studio-preview .wp-live-stage { flex:1 1 auto; display:flex; justify-content:center; min-height:0; padding:.75rem; }
.wp-studio-preview .wp-live-stage iframe { width:100%; height:100%; }
.wp-studio-preview.is-phone .wp-live-stage iframe { width:390px; max-width:100%; }
.wp-live-empty { align-self:center; margin:0; color:#647189; font-size:.74rem; }
.wp-live-empty[hidden], .wp-studio-preview iframe[hidden] { display:none; }

/* Business details, collapsed at the top of the editor column. */
.wp-studio-panel { background:#fff; border:1px solid #dfe6e8; border-radius:10px; }
.wp-studio-panel > summary { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.85rem 1rem; list-style:none; cursor:pointer; }
.wp-studio-panel > summary::-webkit-details-marker { display:none; }
.wp-studio-panel > summary > span { display:grid; gap:.15rem; }
.wp-studio-panel > summary strong { font-size:.82rem; font-weight:800; }
.wp-studio-panel > summary small { color:#647189; font-size:.68rem; }
.wp-studio-panel > summary > i { width:8px; height:8px; border-right:2px solid #526072; border-bottom:2px solid #526072; transform:rotate(45deg); transition:transform .15s ease; }
.wp-studio-panel[open] > summary > i { transform:rotate(225deg); }
.wp-studio-panel[open] > summary { border-bottom:1px solid #dfe6e8; }

/* The editor column is narrow: stack label and fields. */
@container wp-editor (max-width:640px) {
  .wp-group { grid-template-columns:1fr; padding:1rem; }
  .wp-group-label, .wp-group-body { grid-column:1; }
  .wp-group-body { margin-top:.5rem; }
  .wp-group.is-three .wp-group-body, .wp-group.is-choices .wp-group-body { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .wp-savebar { padding:.75rem 1rem; }
}
@container wp-editor (max-width:380px) {
  .wp-group-body, .wp-group.is-three .wp-group-body, .wp-group.is-choices .wp-group-body { grid-template-columns:1fr; }
}

/* Wide: the site is always beside the editor. Narrow: stacked, shown with Show site. */
@container wp-studio (min-width:900px) { #portal-toggle-live { display:none; } }
@container wp-studio (max-width:899px) {
  .wp-studio-body { grid-template-columns:1fr; height:auto; min-height:0; }
  .wp-studio-editor { overflow:visible; border-right:0; }
  .wp-studio-preview { display:none; border-top:1px solid var(--website-admin-border,#d9e2e4); }
  .wp-studio-preview.is-open { display:flex; }
  .wp-studio-preview .wp-live-stage { height:70vh; }
  .wp-studio-actions .wp-segmented { display:none; }
}

/* Locked white header for the Site Manager tabs, like the menus to the left (2026-12-03). */
.website-portal-tabs { position:sticky; top:0; z-index:20; align-items:center; gap:28px; min-height:56px; margin:0 0 1.25rem; padding:0 1.25rem; background:#fff; border-bottom:1px solid #e2e6e7; }
.website-portal-tabs a[data-portal-tab-link] { padding:17px 0 16px; }
.website-portal-tabs .website-portal-tabs-aside { display:flex; align-items:center; gap:1rem; margin-left:auto; }
.website-portal-tabs .website-portal-tabs-aside a { padding:0; border:0; color:#126f67; font-size:.8rem; }
.website-portal-focus { display:none; padding:.3rem .65rem; color:#526072; background:#f2f5f6; border:1px solid #dfe6e8; border-radius:6px; font:800 .72rem Manrope,Arial,sans-serif; cursor:pointer; }
.website-portal-focus:hover { color:#17252d; }
html[data-portal-tab="website"] .website-portal-focus { display:inline-flex; }

/* The studio fills the space under the tabs; only its own columns scroll. */
html[data-portal-tab="website"] .website-portal-tabs { margin-bottom:0; }
html[data-portal-tab="website"] .wp-studio { display:flex; flex-direction:column; height:var(--studio-height, calc(100vh - 56px)); margin:0; border:0; }
html[data-portal-tab="website"] .wp-studio-body { flex:1 1 auto; height:auto; min-height:0; }
html[data-portal-tab="website"] .website-portal-status:empty { display:none; }
.wp-studio-editor { display:flex; flex-direction:column; gap:0; overflow:hidden; padding:0; }
.wp-studio-scroll { flex:1 1 auto; display:grid; align-content:start; gap:.85rem; min-height:0; overflow:auto; padding:1rem; }
.wp-studio-footer { flex:none; background:#fff; border-top:1px solid #dfe6e8; }
.wp-studio-footer:empty { display:none; }
.wp-studio-footer .se-savebar { position:static; border:0; border-radius:0; box-shadow:none; backdrop-filter:none; }
/* Business details saves at the end of its own form, never floating over fields. */
.wp-studio-scroll .wp-savebar { position:static; backdrop-filter:none; }
@container wp-studio (max-width:899px) {
  .wp-studio-editor { overflow:visible; }
  .wp-studio-scroll { overflow:visible; }
}
