:root {
  --platform-ink: #14213a;
  --platform-muted: #61708a;
  --platform-blue: #315fdb;
  --platform-blue-dark: #244bb6;
  --platform-border: #e2e8f0;
  --platform-bg: #f5f8fc;
  --platform-panel: #fff;
  --platform-soft: #eef3ff;
  --platform-shadow: 0 16px 44px rgba(27, 46, 83, .08);
}
html { background: var(--platform-bg); }
body { color: var(--platform-ink); background: var(--platform-bg); }
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); background: rgba(255,255,255,.94); border-bottom: 1px solid var(--platform-border); }
.header-inner { max-width: 1240px; min-height: 76px; margin: auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--platform-ink); font-weight: 800; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; color: white; border-radius: 12px; background: linear-gradient(145deg,#4779f0,#204bc0); box-shadow: 0 7px 16px rgba(49,95,219,.24); }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.main-nav a, .site-footer a { color: #53627b; text-decoration: none; font-size: .91rem; padding: 8px 10px; border-radius: 9px; }
.main-nav a:hover, .site-footer a:hover { color: var(--platform-blue); background: #f0f4ff; }
.main-nav .nav-cta { color: white; background: var(--platform-blue); }
.page-shell { max-width: 1200px; min-height: 68vh; margin: 0 auto; padding: 36px 24px 72px; }
.page-heading { margin-bottom: 24px; }
.page-heading h1 { margin: 0; font-size: clamp(1.65rem,3vw,2.3rem); font-weight: 750; letter-spacing: -.035em; }
.eyebrow { color: var(--platform-blue); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.muted, .helper-text { color: var(--platform-muted); }
.panel, .stat-card, .action-card { border: 1px solid var(--platform-border); border-radius: 18px; background: var(--platform-panel); box-shadow: var(--platform-shadow); }
.panel { padding: clamp(20px,3vw,30px); margin: 0 0 22px; }
.panel > h2, .panel > h3 { margin-top: 0; font-weight: 720; letter-spacing: -.025em; }
.page-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 22px 0; }
.page-intro h2 { margin: 3px 0 7px; font-size: clamp(1.35rem,2vw,1.8rem); font-weight: 730; }
.page-intro p { margin-bottom: 0; }
.button, button { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; border: 0; border-radius: 10px; padding: 10px 16px; color: #fff; background: var(--platform-blue); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s ease, transform .15s ease, box-shadow .15s ease; }
.button:hover, button:hover { color: #fff; background: var(--platform-blue-dark); box-shadow: 0 7px 18px rgba(49,95,219,.18); transform: translateY(-1px); }
.button.secondary, button.secondary { color: var(--platform-ink); background: #eef2f8; }
button.danger { color: #b42318; background: #fff0ed; }
input, select, textarea { width: 100%; min-height: 44px; border: 1px solid #d5ddeb; border-radius: 9px; padding: 10px 12px; color: var(--platform-ink); background: white; font: inherit; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(49,95,219,.12); border-color: #7292ef; }
label { display: block; margin: 14px 0 6px; color: #34425b; font-size: .9rem; font-weight: 680; }
form > button { margin-top: 17px; }
.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; }
.field-span { grid-column: 1/-1; }
.field-grid > div { min-width: 0; }
.auth-panel { max-width: 480px; margin: 20px auto; padding: 30px; }
.stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.stat-card { padding: 20px; }
.stat-card h2 { margin: 16px 0 0; font-size: 2rem; }
.admin-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.domain-manager-overview { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; }
.domain-manager-filters { display:flex; flex-wrap:wrap; gap:12px; margin:1rem 0; }
.action-card { display: block; padding: 22px; color: inherit; text-decoration: none; transition: transform .17s ease, box-shadow .17s ease; }
.action-card:hover { color: inherit; transform: translateY(-3px); box-shadow: 0 20px 45px rgba(27,46,83,.12); }
.action-card p { margin-bottom: 0; color: var(--platform-muted); }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 13px; border-bottom: 1px solid var(--platform-border); text-align: left; vertical-align: top; }
th { color: #576780; font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
td small { color: var(--platform-muted); }
.status-pill, .pill { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; background: #eef2f8; color: #52617a; font-size: .78rem; font-weight: 750; }
.status-pill.success { color: #13734b; background: #e7f8ef; }
.status-pill.warning { color: #95620a; background: #fff5dc; }
.status-pill.danger { color: #ad2c25; background: #ffedeb; }
.notice, .warning-box { margin: 14px 0; padding: 13px 16px; border-radius: 11px; background: #e8f7ef; color: #176343; }
.notice.error, .warning-box { background: #fff0ed; color: #9d3028; }
.customer-workspace { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 22px; align-items: start; }
.customer-sidebar { position: sticky; top: 96px; display: grid; gap: 5px; padding: 15px; border: 1px solid var(--platform-border); border-radius: 16px; background: white; box-shadow: var(--platform-shadow); }
.customer-sidebar .eyebrow { padding: 6px 10px; margin: 0; }
.customer-sidebar a { display: flex; align-items: center; gap: 10px; padding: 10px; color: #53627b; border-radius: 9px; font-size: .9rem; text-decoration: none; }
.customer-sidebar a:hover { color: var(--platform-blue); background: #f0f4ff; }
.customer-sidebar svg { width: 17px; height: 17px; }
.customer-content { min-width: 0; }
.catalog-hero { position: relative; overflow: hidden; margin: 20px 0 36px; padding: clamp(28px,5vw,56px); color: white; border-radius: 24px; background: radial-gradient(ellipse at 85% 5%,rgba(110,154,255,.4),transparent 35%),linear-gradient(120deg,#142445,#244d9b); box-shadow: 0 22px 52px rgba(22,51,109,.2); }
.catalog-hero .eyebrow { color: #b7ceff; }
.catalog-hero h2 { max-width: 760px; margin: 9px 0 13px; font-size: clamp(2rem,5vw,3.45rem); font-weight: 780; letter-spacing: -.045em; }
.catalog-hero p { max-width: 700px; color: #e0e9ff; font-size: 1.04rem; }
.catalog-benefits { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 20px 0 0; list-style: none; color: #eef3ff; }
.catalog-benefits li:before { content: '✓'; color: #82e2bd; margin-right: 8px; font-weight: 800; }
.catalog-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin: 30px 0 17px; }
.catalog-section-heading h2 { margin: 0; }
.package-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.package-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 24px; }
.package-card h3 { font-size: 1.3rem; font-weight: 750; }
.package-card .catalog-button { margin-top: auto; }
.package-price { margin: 19px 0; color: var(--platform-ink); font-size: 2rem; font-weight: 790; letter-spacing: -.035em; }
.package-price small { color: var(--platform-muted); font-size: .92rem; font-weight: 500; letter-spacing: normal; }
.is-featured { border: 2px solid #7595f0; }
.featured-badge { position: absolute; top: 16px; right: 16px; padding: 5px 9px; color: #234cb7; border-radius: 999px; background: #eaf0ff; font-size: .72rem; font-weight: 800; }
.plan-features { padding-left: 20px; margin: 0 0 22px; color: #53627b; }
.plan-features li { margin: 8px 0; }
.catalog-faq { margin: 50px 0 20px; }
.catalog-faq-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.catalog-faq-grid article { padding: 20px; border: 1px solid var(--platform-border); border-radius: 15px; background: white; }
.catalog-faq-grid h3 { font-size: 1rem; }
.catalog-faq-grid p { margin-bottom: 0; color: var(--platform-muted); }
.faq-list { display: grid; gap: 10px; }
.faq-item { padding: 18px 21px; border: 1px solid var(--platform-border); border-radius: 14px; background: white; }
.faq-item summary { cursor: pointer; font-weight: 720; }
.faq-item p { margin: 12px 0 0; color: var(--platform-muted); }
.checkout-grid, .profile-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(280px,.8fr); gap: 18px; align-items: start; }
.checkout-summary { position: sticky; top: 100px; }
.payment-panel { max-width: 970px; margin: 0 auto; }
.payment-header, .invoice-top { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.payment-total { min-width: 150px; text-align: right; }
.payment-total strong { display: block; font-size: 1.8rem; }
.payment-layout { display: grid; grid-template-columns: minmax(240px,.9fr) minmax(280px,1fr); gap: 24px; align-items: center; margin-top: 20px; }
.payment-qr-card { padding: 22px; border: 1px solid var(--platform-border); border-radius: 16px; text-align: center; background: #fbfcff; }
.payment-qr { display: block; width: min(100%,290px); aspect-ratio: 1; object-fit: contain; margin: 0 auto 18px; border: 1px solid var(--platform-border); border-radius: 12px; background: white; }
.payment-countdown { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(100%,290px); margin: 12px auto 10px; padding: 13px; border-radius: 11px; background: #eef3ff; text-align: left; }
.payment-countdown span, .payment-countdown small { display: block; }
.payment-countdown small { color: var(--platform-muted); }
.payment-countdown strong { font-size: 1.5rem; color: var(--platform-blue); font-variant-numeric: tabular-nums; }
.payment-countdown.is-finished { background: #fff4e6; }
.payment-instructions li { margin: 13px 0; color: #52617a; }
.verify-payment-button { width: 100%; margin: 20px 0 12px; }
.order-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; white-space: nowrap; }
.order-detail-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: 20px; margin: 0; }
.order-detail-grid > div { min-width: 0; }
.order-detail-grid dt { color: var(--platform-muted); font-size: .82rem; font-weight: 700; }
.order-detail-grid dd { margin: 5px 0 0; overflow-wrap: anywhere; }
.payment-result { display: flex; gap: 15px; padding: 22px; margin: 22px 0; border-radius: 14px; background: #f0f4ff; }
.payment-result-success { background: #eaf8f0; }
.result-icon { font-size: 1.6rem; font-weight: 800; }
.credential-reveal { padding: 13px; border: 1px dashed #cbd6e7; border-radius: 10px; }
.credential-reveal summary { cursor: pointer; font-weight: 700; }
.credential-reveal code { overflow-wrap: anywhere; }
.support-layout { display: grid; grid-template-columns: minmax(280px,.85fr) minmax(0,1.15fr); gap: 18px; align-items: start; }
.ticket-list { display: grid; }
.ticket-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 14px 4px; border-bottom: 1px solid var(--platform-border); color: inherit; text-decoration: none; }
.ticket-row span:first-child { min-width: 0; }
.ticket-row b, .ticket-row small { display: block; }
.ticket-row small { margin-top: 5px; color: var(--platform-muted); }
.conversation { display: grid; gap: 12px; margin-bottom: 18px; }
.conversation-message { padding: 17px 19px; border: 1px solid var(--platform-border); border-radius: 14px; background: #fff; }
.conversation-message.staff-message { border-color: #d7e3ff; background: #f3f6ff; }
.conversation-message header { display: flex; justify-content: space-between; gap: 15px; color: #3f4f68; }
.conversation-message time { color: var(--platform-muted); font-size: .82rem; }
.conversation-message p { margin: 12px 0 0; white-space: normal; overflow-wrap: anywhere; }
.content-editor-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.content-editor, .faq-editor { padding: 18px; border: 1px solid var(--platform-border); border-radius: 13px; background: #fbfcff; }
.content-editor-heading { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.content-editor-heading h3 { margin: 3px 0 8px; }
.content-save { display: flex; justify-content: flex-end; align-items: end; gap: 12px; }
.faq-row-form { display: grid; grid-template-columns: minmax(260px,1fr) 110px 125px 130px; gap: 12px; align-items: center; }
.faq-row-form button, .faq-row-form .small { min-height: 36px; padding: 7px 10px; }
.faq-actions { display: flex; gap: 7px; align-items: center; }
.invoice-paper { max-width: 900px; margin: 0 auto; }
.invoice-parties { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; padding: 24px 0; }
.invoice-parties span, .invoice-parties b, .invoice-parties small { display: block; }
.invoice-parties span, .invoice-parties small { color: var(--platform-muted); }
.invoice-parties b { margin: 6px 0; }
.invoice-total { display: flex; justify-content: end; align-items: baseline; gap: 18px; padding: 18px 0; font-weight: 700; }
.invoice-total strong { font-size: 1.7rem; }
.content-document { max-width: 900px; margin: 0 auto; }
.document-body { color: #45546d; font-size: 1.02rem; line-height: 1.8; }
.site-footer { padding: 24px; border-top: 1px solid var(--platform-border); background: white; }
.footer-inner { max-width: 1200px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 15px; flex-wrap: wrap; color: var(--platform-muted); }
.footer-inner nav { display: flex; flex-wrap: wrap; }
.empty-state { padding: 30px 15px; text-align: center; color: var(--platform-muted); }
.stats { grid-template-columns: repeat(4,minmax(0,1fr)); }
.panel-heading-row, .section-title-row, .client-welcome { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.panel-heading-row { margin-bottom: 15px; }
.panel-heading-row h2, .section-title-row h2 { margin: 0; }
.section-title-row { margin: 34px 0 16px; }
.client-welcome { margin: 10px 0 24px; padding: 25px 28px; border-radius: 20px; color: white; background: radial-gradient(ellipse at 85% 10%,rgba(123,161,255,.35),transparent 32%),linear-gradient(115deg,#182b50,#2c56a7); }
.client-welcome .eyebrow { color: #bcd0ff; }
.client-welcome h2 { margin: 4px 0; font-size: clamp(1.6rem,3vw,2.25rem); font-weight: 760; }
.client-welcome p:not(.eyebrow) { margin: 0; color: #e2eaff; }
.client-welcome .button { color: #1e3f87; background: white; white-space: nowrap; }
.service-card { padding: 22px; }
.service-heading { display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.service-heading h3 { margin: 2px 0 0; font-size: 1.35rem; font-weight: 750; overflow-wrap: anywhere; }
.service-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; padding: 19px 0; margin: 18px 0; border-top: 1px solid var(--platform-border); border-bottom: 1px solid var(--platform-border); }
.service-details span, .service-details b, .service-details small { display: block; }
.service-details span { color: var(--platform-muted); font-size: .83rem; }
.service-details b { margin-top: 5px; }
.expiry-warning { color: #a64b15; margin-top: 3px; }
.service-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.empty-mark { display: grid; width: 46px; height: 46px; margin: 0 auto 12px; place-items: center; border-radius: 14px; color: #355fd0; background: #edf2ff; font-weight: 800; }
.contact-hero { display: flex; justify-content: space-between; align-items: center; min-height: 240px; overflow: hidden; position: relative; margin: 20px 0 25px; padding: clamp(28px,5vw,48px); color: white; border-radius: 23px; background: radial-gradient(ellipse at 88% 45%,rgba(118,153,255,.42),transparent 29%),linear-gradient(120deg,#182545,#2c4d91); }
.contact-hero > div:first-child { max-width: 620px; position: relative; z-index: 1; }
.contact-hero .eyebrow { color: #bbd0ff; }
.contact-hero h2 { margin: 5px 0 10px; font-size: clamp(1.9rem,4vw,2.8rem); font-weight: 780; }
.contact-hero p:not(.eyebrow) { color: #e3eaff; }
.contact-hero .button.secondary { color: #203c78; background: white; }
.contact-orbit { display: grid; width: 190px; height: 190px; place-items: center; margin-right: 5%; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; box-shadow: 0 0 0 24px rgba(255,255,255,.04),0 0 0 48px rgba(255,255,255,.025); color: white; font-size: 4rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(250px,.9fr); gap: 20px; align-items: start; }
.contact-aside { display: grid; gap: 12px; }
.contact-aside article { padding: 19px; border: 1px solid var(--platform-border); border-radius: 15px; background: white; }
.contact-aside h3 { margin: 8px 0 4px; font-size: 1.05rem; }
.contact-aside p { margin-bottom: 0; color: var(--platform-muted); }
.contact-icon { color: var(--platform-blue); font-size: .75rem; font-weight: 850; letter-spacing: .1em; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0; }
.filter-tabs a { padding: 7px 12px; border: 1px solid var(--platform-border); border-radius: 999px; background: white; }
.contact-message > header { display: flex; justify-content: space-between; align-items: start; gap: 18px; }
.contact-message > header h2 { margin: 4px 0; font-size: 1.3rem; }
.contact-message > header p { margin: 0; }
.contact-message-body { padding: 17px 0; margin: 16px 0; border-top: 1px solid var(--platform-border); border-bottom: 1px solid var(--platform-border); white-space: normal; overflow-wrap: anywhere; }
.contact-status-form { display: flex; align-items: end; gap: 10px; }
.contact-status-form label { margin: 0; }
.contact-status-form select { max-width: 190px; }
.contact-status-form button { min-height: 43px; }
.stat-total { color: var(--platform-muted); font-size: 1rem; font-weight: 500; }
.announcement-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 20px 0 34px; }
.announcement-strip article { display: flex; gap: 11px; padding: 15px 17px; border: 1px solid #dbe5ff; border-radius: 13px; background: #f2f6ff; }
.announcement-strip p { margin: 4px 0 0; color: var(--platform-muted); white-space: normal; }
.announcement-dot { width: 9px; height: 9px; flex: 0 0 9px; margin-top: 6px; border-radius: 50%; background: var(--platform-blue); }
.announcement-admin-list { display: grid; gap: 12px; margin-top: 16px; }
.announcement-admin-list article { padding: 16px; border: 1px solid var(--platform-border); border-radius: 13px; }
.announcement-admin-list .form-actions { display: flex; justify-content: flex-start; gap: 9px; }
.server-actions { display: flex; align-items: center; gap: 8px; }
.server-actions form { margin: 0; }
.renewal-hero { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 25px 28px; margin: 16px 0 20px; border-radius: 19px; color: white; background: linear-gradient(115deg,#182b50,#315fbd); }
.renewal-hero .eyebrow { color: #c2d5ff; }
.renewal-hero h2 { margin: 5px 0; font-weight: 760; }
.renewal-hero p:not(.eyebrow) { margin: 0; color: #e1eaff; }
.renewal-panel { display: grid; grid-template-columns: 1fr minmax(280px,.8fr); gap: 28px; align-items: center; }
.service-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.service-summary-card { display: flex; min-width: 0; flex-direction: column; padding: 22px; margin: 0; color: var(--platform-ink); text-decoration: none; transition: transform .17s ease,box-shadow .17s ease,border-color .17s ease; }
.service-summary-card:hover { color: var(--platform-ink); transform: translateY(-3px); border-color: #c5d2f4; box-shadow: 0 20px 42px rgba(27,46,83,.11); }
.service-summary-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.service-summary-icon { display: grid; width: 42px; height: 42px; place-items: center; color: var(--platform-blue); border-radius: 13px; background: #edf2ff; }
.service-summary-icon svg { width: 20px; height: 20px; }
.service-summary-card > .eyebrow { margin-bottom: 5px; }
.service-summary-card h2 { margin: 0; font-size: 1.24rem; font-weight: 760; overflow-wrap: anywhere; }
.service-summary-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 17px 0; margin-top: 12px; border-top: 1px solid var(--platform-border); border-bottom: 1px solid var(--platform-border); }
.service-summary-meta span, .service-summary-meta small, .service-summary-meta b { display: block; min-width: 0; }
.service-summary-meta small { color: var(--platform-muted); font-size: .78rem; }
.service-summary-meta b { margin-top: 4px; overflow-wrap: anywhere; font-size: .92rem; }
.service-summary-bottom { display: flex; justify-content: space-between; gap: 8px; margin: 13px 0; color: var(--platform-muted); font-size: .8rem; }
.service-summary-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; color: var(--platform-blue); font-weight: 730; }
.service-summary-link svg { width: 17px; height: 17px; transition: transform .17s ease; }
.service-summary-card:hover .service-summary-link svg { transform: translateX(3px); }
.service-detail-back { margin: 8px 0 14px; }
.service-detail-back a { display: inline-flex; align-items: center; gap: 7px; color: #53627b; font-weight: 680; text-decoration: none; }
.service-detail-back a:hover { color: var(--platform-blue); }
.service-detail-back svg { width: 17px; height: 17px; }
.cpanel-open-form { display: inline-flex; margin: 0; }
.cpanel-open-form > button { gap: 8px; margin: 0; }
.cpanel-open-form svg, .cpanel-secure-note svg { width: 16px; height: 16px; }
.cpanel-secure-note { display: inline-flex; align-items: center; gap: 6px; color: #54705f; font-size: .81rem; font-weight: 650; }
.cpanel-unavailable-note { align-self: center; color: var(--platform-muted); font-size: .84rem; }
.cpanel-error-panel { max-width: 660px; padding: clamp(24px,5vw,42px); margin: 30px auto; }
.cpanel-error-panel h2 { margin: 6px 0 10px; }
.cpanel-error-panel > p:not(.eyebrow) { color: var(--platform-muted); overflow-wrap: anywhere; }
.cpanel-error-mark { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; margin-bottom: 14px; color: #a43e35; border-radius: 14px; background: #fff0ee; }
.cpanel-error-mark svg { width: 23px; height: 23px; }
@media (max-width: 960px) {
  .header-inner { align-items: start; flex-direction: column; gap: 10px; padding-top: 14px; padding-bottom: 12px; }
  .main-nav { justify-content: flex-start; }
  .customer-workspace { grid-template-columns: 1fr; }
  .customer-sidebar { position: static; display: flex; overflow-x: auto; }
  .customer-sidebar .eyebrow { display: none; }
  .customer-sidebar a { white-space: nowrap; }
  .package-grid, .admin-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .page-shell { padding: 24px 14px 48px; }
  .header-inner { padding-left: 14px; padding-right: 14px; }
  .main-nav { gap: 2px; }
  .main-nav a { padding: 7px 8px; font-size: .83rem; }
  .page-intro, .payment-header, .invoice-top { align-items: start; flex-direction: column; }
  .stats, .admin-grid, .package-grid, .catalog-faq-grid, .content-editor-grid, .support-layout, .checkout-grid, .profile-grid, .payment-layout, .contact-layout { grid-template-columns: 1fr; }
  .service-card-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .announcement-strip { grid-template-columns: 1fr; }
  .client-welcome, .contact-hero { align-items: start; flex-direction: column; gap: 20px; }
  .renewal-panel { grid-template-columns: 1fr; }
  .contact-orbit { position: absolute; right: -58px; bottom: -60px; width: 150px; height: 150px; opacity: .65; }
  .payment-total { text-align: left; }
  .checkout-summary { position: static; }
  .field-grid { grid-template-columns: 1fr; }
  .service-details { grid-template-columns: 1fr; }
  .service-summary-bottom { flex-wrap: wrap; }
  .stats { grid-template-columns: 1fr 1fr; }
  .contact-status-form { align-items: stretch; flex-direction: column; }
  .contact-status-form select { max-width: none; }
  .contact-message > header { flex-direction: column; }
  .field-span { grid-column: auto; }
  .faq-row-form { grid-template-columns: 1fr 90px; }
  .faq-row-form > div:first-child { grid-column: 1/-1; }
  .faq-actions { grid-column: 1/-1; }
  .invoice-parties { grid-template-columns: 1fr; }
  .customer-sidebar { margin-right: -14px; border-radius: 11px 0 0 11px; }
}
@media print {
  .site-header, .site-footer, .page-heading, .customer-sidebar, .form-actions, .button { display: none !important; }
  html, body { background: white !important; }
  .page-shell, .invoice-paper { max-width: none; margin: 0; padding: 0; border: 0; box-shadow: none; }
}

/* Shared responsive shell and polished component defaults */
:root {
  --platform-ink: #17233b;
  --platform-muted: #66748a;
  --platform-blue: #365fd6;
  --platform-blue-dark: #294cad;
  --platform-border: #e3e8f0;
  --platform-bg: #f4f6fa;
  --platform-panel: #ffffff;
  --platform-soft: #edf2ff;
  --platform-shadow: 0 12px 34px rgba(27, 42, 69, .065);
  color-scheme: light;
}
html { min-width: 320px; scroll-behavior: smooth; background: var(--platform-bg); }
body { min-height: 100vh; overflow-x: hidden; color: var(--platform-ink); background: linear-gradient(180deg,#f8faff 0,#f4f6fa 260px); }
.site-header { background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(221,228,239,.9); box-shadow: 0 5px 22px rgba(25,42,71,.045); }
.header-inner { width: min(100%,1380px); min-height: 72px; padding: 10px 28px; gap: 22px; }
.brand { color: var(--platform-ink); font-size: 1.02rem; letter-spacing: -.025em; }
.brand:hover { color: var(--platform-blue); }
.brand-mark { width: 40px; height: 40px; border-radius: 13px; }
.main-nav { gap: 4px; }
.main-nav a { color: #4e5d75; font-size: .88rem; font-weight: 650; padding: 9px 12px; border-radius: 10px; transition: color .16s ease,background .16s ease; }
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a.is-active { color: #274ba9; background: #eef3ff; }
.main-nav .nav-cta, .main-nav .nav-cta:hover { margin: 0 0 0 5px; color: #fff; background: var(--platform-blue); }
.main-nav .nav-logout { margin-left: 4px; color: #34445e; border: 1px solid var(--platform-border); background: #fff; }
.nav-account { padding: 0 8px; color: #738096; font-size: .82rem; font-weight: 700; }
.nav-toggle { display: none; }
.page-shell { width: min(100%,1380px); min-height: calc(100vh - 150px); padding: 34px 28px 72px; }
.page-heading { margin: 0 0 21px; }
.page-heading .eyebrow { margin-bottom: 6px; }
.page-heading h1 { color: var(--platform-ink); font-size: clamp(1.65rem,3vw,2.15rem); font-weight: 760; letter-spacing: -.04em; }
.eyebrow { color: #63738d; font-size: .68rem; letter-spacing: .15em; }
h2,h3 { color: var(--platform-ink); }
.panel, .stat-card, .action-card { border-color: var(--platform-border); border-radius: 17px; background: var(--platform-panel); box-shadow: var(--platform-shadow); }
.panel { overflow: visible; padding: clamp(19px,2.6vw,28px); margin: 0 0 20px; }
.panel > h2, .panel > h3 { margin-bottom: 15px; }
.page-intro { align-items: center; margin: 8px 0 20px; }
.page-intro h2 { color: var(--platform-ink); }
.button, button { min-height: 44px; border-radius: 10px; font-weight: 690; }
.button { white-space: nowrap; }
.button.secondary, button.secondary { color: #34445e; border: 1px solid #e1e7f0; background: #f4f6fa; }
.button.secondary:hover, button.secondary:hover { color: #223653; background: #eaf0f8; }
input, select, textarea { min-width: 0; min-height: 46px; border-color: #d9e0eb; border-radius: 10px; background: #fff; }
input:focus, select:focus, textarea:focus { border-color: #829be5; outline: 3px solid rgba(54,95,214,.13); box-shadow: none; }
label { color: #34435a; font-size: .86rem; }
.helper-text { font-size: .79rem; }
.table-wrap { max-width: 100%; border: 1px solid var(--platform-border); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.table-wrap table { width: 100%; min-width: 650px; }
.table-wrap th { background: #f7f9fc; }
.table-wrap td { overflow-wrap: anywhere; }
.admin-workspace, .customer-workspace { display: grid; grid-template-columns: 236px minmax(0,1fr); gap: 23px; align-items: start; margin-top: 4px; }
.admin-sidebar, .customer-sidebar { position: sticky; top: 90px; display: grid; gap: 4px; max-height: calc(100vh - 112px); overflow-y: auto; padding: 13px; border: 1px solid var(--platform-border); border-radius: 17px; background: #fff; box-shadow: var(--platform-shadow); }
.admin-sidebar .eyebrow, .customer-sidebar .eyebrow { padding: 8px 11px; margin: 0 0 3px; color: #8290a4; font-size: .64rem; }
.admin-sidebar a, .customer-sidebar a { display: flex; align-items: center; gap: 11px; min-height: 41px; padding: 9px 11px; border-radius: 10px; color: #53627a; font-size: .84rem; font-weight: 620; text-decoration: none; transition: color .15s ease,background .15s ease; }
.admin-sidebar a:hover, .customer-sidebar a:hover { color: #294cad; background: #f3f6fc; }
.admin-sidebar a.is-active, .customer-sidebar a.is-active { color: #294cad; background: #edf2ff; font-weight: 740; }
.admin-sidebar svg, .customer-sidebar svg { width: 17px; height: 17px; flex: 0 0 17px; }
.admin-content, .customer-content { min-width: 0; }
.stats { gap: 14px; }
.stat-card { min-width: 0; padding: 19px 20px; }
.stat-card h2 { overflow-wrap: anywhere; }
.action-card { height: 100%; }
.status-pill, .pill { white-space: nowrap; }
.notice, .warning-box { line-height: 1.55; }
.site-footer { margin-top: 24px; border-top: 1px solid var(--platform-border); background: rgba(255,255,255,.82); }
.footer-inner { width: min(100%,1380px); padding: 0 10px; }
.footer-inner nav { gap: 3px; }
.site-footer a { padding: 7px 9px; font-size: .81rem; }
.catalog-hero, .client-welcome, .contact-hero, .renewal-hero { box-shadow: 0 18px 42px rgba(28,53,105,.13); }
.package-card, .catalog-faq-grid article, .faq-item, .content-editor, .faq-editor { border-color: var(--platform-border); box-shadow: 0 8px 25px rgba(25,42,71,.04); }
.is-featured { border-color: #7894e7; }
.empty-state { border-radius: 14px; }
.form-actions { row-gap: 8px; }
.inline { display: inline-flex; vertical-align: middle; margin: 2px 4px 2px 0; }
.inline form { margin: 0; }
.order-error { overflow-wrap: anywhere; }
.conversation-message p, .contact-message-body, .document-body { overflow-wrap: anywhere; }
.content-document { width: min(100%,900px); }
.filter-tabs a { color: #4e5d75; text-decoration: none; }
.filter-tabs a:hover { color: var(--platform-blue); background: #f3f6ff; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(54,95,214,.3); outline-offset: 3px; }
:target { scroll-margin-top: 96px; }
.admin-content, .customer-content, .panel, .action-card, .stat-card { overflow-wrap: anywhere; }
.table-wrap { scrollbar-color: #c7d0df #f4f6fa; }
.table-wrap:focus-within { outline: 2px solid rgba(54,95,214,.2); outline-offset: 2px; }

@media (max-width: 1080px) {
  .header-inner { padding-inline: 20px; }
  .main-nav a { padding-inline: 9px; font-size: .83rem; }
  .admin-workspace, .customer-workspace { grid-template-columns: 1fr; gap: 15px; }
  .admin-sidebar, .customer-sidebar { position: static; display: flex; align-items: center; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 9px; white-space: nowrap; scrollbar-width: thin; }
  .admin-sidebar .eyebrow, .customer-sidebar .eyebrow { display: none; }
  .admin-sidebar a, .customer-sidebar a { flex: 0 0 auto; }
  .admin-content, .customer-content { width: 100%; }
}
@media (max-width: 760px) {
  .site-header { position: sticky; }
  .header-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 12px; padding: 10px 16px; }
  .brand { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 11px; margin: 0; color: #33445d; border: 1px solid var(--platform-border); background: white; box-shadow: none; }
  .nav-toggle:hover { color: #223653; background: #f4f6fa; box-shadow: none; transform: none; }
  .nav-toggle svg { width: 17px; height: 17px; }
  .main-nav { display: none; grid-column: 1/-1; width: 100%; align-items: stretch; flex-direction: column; gap: 3px; padding: 9px 0 3px; border-top: 1px solid var(--platform-border); }
  .main-nav.is-open { display: flex; }
  .main-nav a { width: 100%; padding: 10px 12px; font-size: .9rem; }
  .main-nav .nav-cta, .main-nav .nav-logout { margin: 2px 0 0; }
  .nav-account { padding: 8px 11px 3px; }
  .page-shell { padding: 25px 16px 48px; }
  .page-heading { margin-bottom: 17px; }
  .page-intro, .panel-heading-row, .section-title-row { align-items: flex-start; flex-direction: column; }
  .page-intro > .button, .page-intro > a.button { align-self: flex-start; }
  .section-title-row { gap: 10px; }
  .panel { padding: 19px; border-radius: 15px; }
  .settings-card { padding: 19px; }
  .field-grid, .content-editor-grid { grid-template-columns: 1fr; }
  .field-span { grid-column: auto; }
  .package-grid, .admin-grid, .catalog-faq-grid, .support-layout, .checkout-grid, .profile-grid, .payment-layout, .contact-layout { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .checkout-summary { position: static; }
  .faq-row-form { grid-template-columns: 1fr 90px; }
  .faq-row-form > div:first-child, .faq-actions { grid-column: 1/-1; }
  .contact-status-form { align-items: stretch; flex-direction: column; }
  .contact-status-form select { max-width: none; }
  .site-footer { padding: 20px 16px; }
  .footer-inner { align-items: flex-start; flex-direction: column; padding: 0; }
}
@media (max-width: 480px) {
  .page-shell { padding-inline: 12px; }
  .header-inner { padding-inline: 12px; }
  .brand { gap: 8px; font-size: .93rem; }
  .brand-mark { width: 36px; height: 36px; }
  .nav-toggle { min-height: 38px; padding: 7px 9px; }
  .stats { grid-template-columns: 1fr; }
  .stat-card { padding: 17px; }
  .admin-sidebar, .customer-sidebar { margin-right: -12px; border-radius: 12px 0 0 12px; }
  .payment-header, .invoice-top { align-items: flex-start; flex-direction: column; }
  .payment-total { width: 100%; text-align: left; }
  .payment-qr-card, .payment-instructions { padding: 16px; }
  .service-details { grid-template-columns: 1fr; }
  .invoice-parties { grid-template-columns: 1fr; }
  .contact-hero { align-items: flex-start; flex-direction: column; gap: 15px; }
  .contact-orbit { position: absolute; right: -65px; bottom: -70px; opacity: .35; }
  .table-wrap table { min-width: 590px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media print {
  .site-header, .site-footer, .page-heading, .admin-sidebar, .customer-sidebar, .nav-toggle, .form-actions, .button { display: none !important; }
  html, body { min-height: 0; background: #fff !important; }
  .page-shell, .invoice-paper { width: 100%; max-width: none; min-height: 0; margin: 0; padding: 0; border: 0; box-shadow: none; }
  .admin-workspace, .customer-workspace { display: block; margin: 0; }
  .admin-content, .customer-content { width: 100%; }
  .panel { padding: 0; border: 0; box-shadow: none; }
}

/* Public home and domain search pages */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(290px,.75fr);
  gap: clamp(24px,5vw,64px);
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: clamp(28px,5vw,62px);
  margin: 10px 0 18px;
  border: 1px solid #dfe7f6;
  border-radius: 26px;
  background: radial-gradient(ellipse at 92% 5%,rgba(121,157,255,.21),transparent 29%),linear-gradient(135deg,#fff 10%,#f3f6ff 100%);
  box-shadow: 0 20px 55px rgba(31,55,111,.09);
}
.home-hero-copy { max-width: 720px; }
.home-hero-copy .eyebrow { color: #4866b6; }
.home-hero-copy h2 { max-width: 690px; margin: 9px 0 15px; color: #182746; font-size: clamp(2rem,4.6vw,3.65rem); font-weight: 800; line-height: 1.08; letter-spacing: -.055em; }
.home-hero-copy > p:not(.eyebrow) { max-width: 620px; color: #5e6c82; font-size: clamp(1rem,1.5vw,1.12rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 20px; }
.hero-actions .button { display: inline-flex; align-items: center; justify-content: center; }
.hero-assurance { display: flex; flex-wrap: wrap; gap: 10px 20px; color: #57677e; font-size: .83rem; font-weight: 650; }
.hero-assurance span { display: inline-flex; align-items: center; gap: 7px; }
.hero-assurance svg { width: 16px; height: 16px; color: #3d65c9; }
.home-hero-card { padding: clamp(20px,3vw,30px); border: 1px solid rgba(255,255,255,.86); border-radius: 21px; background: rgba(255,255,255,.91); box-shadow: 0 18px 42px rgba(34,53,95,.12); backdrop-filter: blur(8px); }
.home-hero-card > .eyebrow { margin-bottom: 16px; color: #60708a; }
.home-hero-card ol { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; }
.home-hero-card li { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 12px; padding: 14px 0; border-top: 1px solid #edf0f6; }
.home-hero-card li:first-child { border-top: 0; }
.home-hero-card li > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 12px; color: #365fd6; background: #edf2ff; font-size: .76rem; font-weight: 800; }
.home-hero-card li b, .home-hero-card li small { display: block; }
.home-hero-card li b { margin: 1px 0 4px; color: #25344c; }
.home-hero-card li small { color: #748198; line-height: 1.45; }
.home-trust-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 0 0 38px; }
.home-trust-row span { padding: 12px 15px; border: 1px solid var(--platform-border); border-radius: 12px; color: #58677c; background: rgba(255,255,255,.78); text-align: center; font-size: .83rem; font-weight: 650; }
.home-section { margin: 42px 0; }
.home-section .section-title-row { align-items: end; margin: 0 0 17px; }
.home-section .section-title-row h2 { margin: 2px 0 5px; font-size: clamp(1.45rem,2.6vw,2rem); font-weight: 770; letter-spacing: -.035em; }
.home-section .section-title-row p:not(.eyebrow) { margin: 0; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: #3158bd; font-size: .88rem; font-weight: 700; text-decoration: none; }
.text-link:hover { color: #213f97; text-decoration: underline; text-underline-offset: 3px; }
.category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.category-card { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 22px; border: 1px solid var(--platform-border); border-radius: 17px; color: inherit; background: white; box-shadow: 0 8px 25px rgba(25,42,71,.04); text-decoration: none; transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.category-card:hover { transform: translateY(-3px); border-color: #b8c8f2; box-shadow: 0 14px 30px rgba(31,55,111,.1); }
.category-icon { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 14px; border-radius: 14px; color: #365fd6; background: #edf2ff; }
.category-icon svg { width: 22px; height: 22px; }
.category-card h3 { margin: 0 0 7px; font-size: 1.1rem; font-weight: 750; }
.category-card p { flex: 1; margin: 0 0 16px; color: var(--platform-muted); font-size: .9rem; line-height: 1.6; }
.category-card > span:last-child { display: flex; width: 100%; justify-content: space-between; color: #3158bd; font-size: .85rem; font-weight: 700; }
.home-plan-grid { align-items: stretch; }
.home-plan-grid .package-card { display: flex; flex-direction: column; }
.home-plan-grid .package-card .plan-features { flex: 1; }
.home-plan-grid .catalog-button { margin-top: 12px; text-align: center; }
.value-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.value-grid article { padding: 22px; border: 1px solid var(--platform-border); border-radius: 16px; background: #fff; }
.value-grid article > svg { width: 23px; height: 23px; margin-bottom: 12px; color: #4266c5; }
.value-grid h3 { margin: 0 0 7px; font-size: 1.03rem; }
.value-grid p { margin: 0; color: var(--platform-muted); font-size: .9rem; line-height: 1.6; }
.home-cta { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: clamp(22px,4vw,36px); margin: 42px 0 10px; border: 1px solid #d6e0fb; border-radius: 19px; background: linear-gradient(115deg,#edf2ff,#f8faff); }
.home-cta .eyebrow { margin-bottom: 5px; color: #4866b6; }
.home-cta h2 { margin: 0 0 5px; font-size: clamp(1.3rem,2.5vw,1.75rem); }
.home-cta p:not(.eyebrow) { margin: 0; color: var(--platform-muted); }
.home-cta .button { flex: 0 0 auto; }
.domain-search-hero { padding: clamp(23px,4vw,38px); }
.domain-search-hero > h2 { margin: 6px 0 9px; font-size: clamp(1.65rem,3.4vw,2.45rem); font-weight: 780; letter-spacing: -.04em; }
.domain-search-hero > p:not(.eyebrow) { max-width: 760px; color: #e6ecfb; line-height: 1.6; }
.domain-search-form { display: flex; gap: 10px; max-width: 760px; margin: 23px 0 0; }
.domain-search-form input { flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 0 16px; border: 1px solid #dbe2ef; border-radius: 11px; font-size: 1rem; }
.domain-search-form button { flex: 0 0 auto; min-height: 52px; padding-inline: 20px; }
.domain-result { display: grid; gap: 6px; max-width: 760px; padding: 16px 18px; margin-top: 17px; border: 1px solid transparent; border-radius: 13px; color: #34445d; background: white; line-height: 1.5; overflow-wrap: anywhere; }
.domain-result strong { font-size: 1.05rem; }
.domain-result small { color: #68768b; }
.domain-result-invalid { border-color: #f0d2d2; color: #8f3434; background: #fff8f8; }
.domain-result-valid { border-color: #c7e7d5; color: #205f3b; background: #f4fff8; }
.domain-price { font-weight: 750; }
.domain-search-hero { margin-bottom: 24px; }
.domain-search-form button { margin-top: 0; }
.domain-search-note { margin: 13px 0 0; color: #cbd8f7 !important; font-size: .82rem !important; }
.domain-results { margin: 0 0 34px; }
.domain-primary-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(21px,3vw,30px); border: 1px solid var(--platform-border); border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(25,42,71,.06); }
.domain-primary-card.is-available { border-color: #bde7cd; background: linear-gradient(125deg,#f5fff8,#fff); }
.domain-primary-card.is-unavailable { border-color: #f1d7d4; background: linear-gradient(125deg,#fff8f7,#fff); }
.domain-primary-copy { min-width: 0; }
.domain-primary-copy .eyebrow { margin: 14px 0 4px; color: #657490; }
.domain-primary-copy h2 { overflow-wrap: anywhere; margin: 0 0 7px; color: var(--ink-strong); font-size: clamp(1.45rem,3vw,2rem); letter-spacing: -.035em; }
.domain-primary-copy > p:last-child { margin: 0; color: var(--platform-muted); }
.domain-status { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 10px; border-radius: 999px; font-size: .73rem; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; }
.domain-status.available { color: #13734b; background: #e6f8ed; }
.domain-status.unavailable { color: #a7322b; background: #fff0ee; }
.domain-price-summary { display: grid; min-width: 190px; gap: 4px; padding: 5px 0 5px 25px; border-left: 1px solid #d9e9df; }
.is-unavailable .domain-price-summary { border-color: #efd8d4; }
.domain-price-label { color: #697991; font-size: .76rem; font-weight: 760; letter-spacing: .065em; text-transform: uppercase; }
.domain-card-price { color: #172d4f; font-size: clamp(1.7rem,3vw,2.25rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.1; }
.domain-price-summary small,.domain-recommendation-price small { display: block; color: #697991; font-size: .78rem; line-height: 1.45; }
.domain-native-price { color: #8793a5 !important; }
.domain-results-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 30px 0 14px; border-bottom: 1px solid var(--platform-border); }
.domain-results-heading .eyebrow { margin: 0 0 4px; color: #5d75b7; }
.domain-results-heading h2 { margin: 0; color: var(--ink-strong); font-size: clamp(1.3rem,2.5vw,1.8rem); letter-spacing: -.03em; }
.domain-results-heading > p { margin: 0; color: var(--platform-muted); font-size: .85rem; }
.domain-recommendation-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; padding-top: 16px; }
.domain-recommendation-card { display: flex; min-width: 0; min-height: 177px; flex-direction: column; justify-content: space-between; gap: 18px; padding: 20px; border: 1px solid var(--platform-border); border-radius: 15px; background: #fff; box-shadow: 0 7px 20px rgba(25,42,71,.035); transition: border-color .16s ease,box-shadow .16s ease,transform .16s ease; }
.domain-recommendation-card:hover { border-color: #b9caee; box-shadow: 0 13px 28px rgba(25,42,71,.09); transform: translateY(-2px); }
.domain-recommendation-card h3 { overflow-wrap: anywhere; margin: 11px 0 0; color: #243653; font-size: 1.06rem; font-weight: 760; letter-spacing: -.015em; }
.domain-recommendation-card .muted { margin: auto 0 0; font-size: .86rem; }
.domain-recommendation-price { display: grid; gap: 3px; }
.domain-recommendation-price strong { color: #1e3d7c; font-size: 1.42rem; font-weight: 800; letter-spacing: -.03em; }
.domain-pricing-note { margin: 16px 0 0; color: #77859a; font-size: .8rem; line-height: 1.55; }
.domain-search-next-step { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.domain-search-next-step .eyebrow { margin: 0 0 5px; color: #5c73b0; }
.domain-search-next-step h2 { margin: 0 0 5px; }
.domain-search-next-step p { margin: 0; }
.domain-search-next-step .button { flex: 0 0 auto; }
.catalog-faq { padding: 22px; margin: 20px 0; border: 1px solid var(--platform-border); border-radius: 16px; background: #fff; }
.catalog-faq h2 { margin: 0 0 6px; font-size: 1.2rem; }
.catalog-faq p { max-width: 760px; }
.catalog-section { margin: 24px 0; }
.catalog-section-heading { padding-bottom: 13px; border-bottom: 1px solid var(--platform-border); }
.catalog-section-heading .eyebrow { margin-bottom: 5px; }
.catalog-section-heading h2 { font-size: clamp(1.35rem,2.5vw,1.8rem); font-weight: 760; letter-spacing: -.03em; }
.catalog-section-heading > .muted { font-size: .86rem; }
.catalog-grid { align-items: stretch; }
.catalog-card { height: 100%; }
.faq-contact { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 23px; }
.faq-contact h3 { margin: 0 0 5px; }
.faq-contact p { margin: 0; color: var(--platform-muted); }
.faq-contact .button { flex: 0 0 auto; }
.client-stats { grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0 0 27px; }
.client-stats .stat-card { overflow: hidden; }
.client-stats .stat-card > span { color: #61708a; font-size: .83rem; font-weight: 700; }
.client-stats .stat-card h2 { margin: 8px 0 3px; font-size: clamp(1.65rem,3vw,2rem); }
.client-stats .stat-card small { color: var(--platform-muted); line-height: 1.4; }
.notice.success { border: 1px solid #c7e7d5; }
.notice.error { border: 1px solid #f0d2d2; }
.status-pill.neutral { color: #53627a; background: #edf2f8; }
.status-pill.success { color: #176343; background: #e7f8ef; }
.status-pill.warning { color: #845d12; background: #fff3d9; }
.status-pill.danger { color: #a52d27; background: #ffedeb; }
.button.danger, button.danger { color: #a52d27; border: 1px solid #f1d1cd; background: #fff2f0; }
.button.danger:hover, button.danger:hover { color: #8d201a; background: #ffe5e1; box-shadow: none; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 900px) {
  .home-hero { grid-template-columns: minmax(0,1.1fr) minmax(250px,.9fr); gap: 22px; }
  .category-grid, .value-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .domain-primary-card { align-items: flex-start; flex-direction: column; gap: 20px; }
  .domain-price-summary { width: 100%; min-width: 0; padding: 18px 0 0; border-top: 1px solid #d9e9df; border-left: 0; }
  .domain-recommendation-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .domain-results-heading { align-items: flex-start; flex-direction: column; }
  .domain-search-next-step { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .home-hero { grid-template-columns: 1fr; gap: 22px; padding: 24px 19px; border-radius: 20px; }
  .home-hero-copy h2 { font-size: clamp(1.9rem,9vw,2.65rem); }
  .home-trust-row { grid-template-columns: 1fr; gap: 7px; margin-bottom: 28px; }
  .home-trust-row span { text-align: left; }
  .home-section { margin: 32px 0; }
  .home-section .section-title-row { align-items: flex-start; }
  .category-grid, .value-grid { grid-template-columns: 1fr; }
  .domain-recommendation-grid { grid-template-columns: 1fr; }
  .domain-recommendation-card { min-height: 0; }
  .category-card { padding: 19px; }
  .home-cta { align-items: flex-start; flex-direction: column; }
  .domain-search-form { align-items: stretch; flex-direction: column; }
  .domain-search-form button { width: 100%; }
  .catalog-section-heading { align-items: flex-start; flex-direction: column; }
  .catalog-section-heading > .muted { font-size: .81rem; }
  .client-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .faq-contact { align-items: flex-start; flex-direction: column; }
}

/* Unified left navigation drawer */
.header-inner { display: flex; align-items: center; flex-direction: row; justify-content: space-between; }
@media (max-width: 760px) {
  .header-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 12px; padding: 10px clamp(12px,4vw,16px); }
}
.nav-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 13px; color: #34445e; border: 1px solid var(--platform-border); background: #fff; box-shadow: none; }
.nav-toggle:hover { color: #223653; background: #f4f6fa; box-shadow: none; transform: none; }
.nav-toggle svg { width: 19px; height: 19px; }
.nav-backdrop { position: fixed; z-index: 39; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; color: transparent; background: rgba(18,29,49,.42); box-shadow: none; opacity: 0; transform: none; transition: none; animation: drawer-backdrop-in .18s ease forwards; }
.nav-backdrop:hover, .nav-backdrop:focus-visible { color: transparent; background: rgba(18,29,49,.42); box-shadow: none; outline: none; transform: none; }
.nav-backdrop[hidden] { display: none; }
.nav-drawer { position: fixed; z-index: 40; inset: 0 auto 0 0; display: flex; width: min(360px,calc(100vw - 40px)); max-width: 100%; height: 100vh; height: 100dvh; flex-direction: column; align-items: stretch; justify-content: initial; gap: 0; overflow: hidden; padding: 0; border: 0; border-right: 1px solid var(--platform-border); border-radius: 0 20px 20px 0; background: #fff; box-shadow: 18px 0 52px rgba(18,34,67,.2); opacity: 0; pointer-events: none; transform: translateX(-104%); transition: transform .24s cubic-bezier(.2,.75,.25,1),opacity .18s ease; visibility: hidden; }
.nav-drawer.is-open { display: flex; opacity: 1; pointer-events: auto; transform: translateX(0); visibility: visible; }
.drawer-header { display: flex; width: 100%; min-height: 75px; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 19px; border-bottom: 1px solid #edf0f5; box-sizing: border-box; }
.drawer-header .brand { min-width: 0; overflow: hidden; }
.drawer-header .brand > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.nav-close { display: grid; width: 40px; height: 40px; min-height: 40px; flex: 0 0 40px; place-items: center; padding: 0; color: #52627a; border: 1px solid var(--platform-border); background: #fff; box-shadow: none; }
.nav-close:hover { color: #263d6c; background: #f2f5fb; box-shadow: none; transform: none; }
.nav-close svg { width: 19px; height: 19px; }
.nav-drawer .drawer-body { display: block; width: 100%; min-width: 0; flex: 1 1 auto; align-self: stretch; overflow-x: hidden; overflow-y: auto; padding: 13px 14px 20px; margin: 0; text-align: left; overscroll-behavior: contain; scrollbar-width: thin; box-sizing: border-box; }
.nav-drawer .drawer-group { display: grid; width: 100%; min-width: 0; grid-template-columns: minmax(0,1fr); justify-items: stretch; gap: 3px; padding: 6px 0 15px; margin: 0; text-align: left; box-sizing: border-box; }
.drawer-group + .drawer-group { padding-top: 16px; border-top: 1px solid #edf0f5; }
.drawer-group .eyebrow { width: 100%; padding: 7px 11px 9px; margin: 0; color: #8592a7; font-size: .65rem; letter-spacing: .14em; text-align: left; box-sizing: border-box; }
.nav-drawer a.drawer-link { display: flex; width: 100%; min-width: 0; min-height: 43px; align-self: stretch; align-items: center; justify-content: space-between; gap: 13px; padding: 10px 12px; margin: 0; border: 0; border-radius: 10px; color: #53627a; background: transparent; font-size: .91rem; font-weight: 650; text-align: left; text-decoration: none; box-sizing: border-box; }
.nav-drawer a.drawer-link svg { width: 17px; height: 17px; flex: 0 0 17px; color: #71819b; }
.nav-drawer a.drawer-link-icon-left { justify-content: flex-start; }
.nav-drawer a.drawer-link-icon-left svg { color: #6c7d98; }
.nav-drawer a.drawer-link:hover { color: #294cad; background: #f4f6fb; }
.nav-drawer a.drawer-link:hover svg { color: #365fd6; }
.nav-drawer a.drawer-link.is-active { color: #294cad; background: #edf2ff; font-weight: 750; }
.nav-drawer a.drawer-link.is-active svg { color: #365fd6; }
.drawer-footer { width: 100%; max-width: 100%; flex: 0 0 auto; padding: 13px 18px max(16px,env(safe-area-inset-bottom)); border-top: 1px solid #edf0f5; background: #fff; box-sizing: border-box; }
.drawer-user { display: flex; min-width: 0; align-items: center; gap: 11px; padding: 5px 2px 12px; }
.drawer-user-icon { display: grid; width: 39px; height: 39px; flex: 0 0 39px; place-items: center; border-radius: 50%; color: #365fd6; background: #edf2ff; }
.drawer-user-icon svg { width: 19px; height: 19px; }
.drawer-user > span:last-child { display: grid; min-width: 0; gap: 2px; }
.drawer-user b, .drawer-user small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer-user b { color: #273852; font-size: .88rem; }
.drawer-user small { color: #77849a; font-size: .76rem; }
.nav-drawer a.drawer-logout, .nav-drawer a.drawer-help { display: flex; width: 100%; min-height: 42px; align-items: center; gap: 10px; padding: 9px 11px; margin: 0; border: 1px solid var(--platform-border); border-radius: 10px; color: #4e5d75; background: #fff; font-size: .85rem; font-weight: 680; text-decoration: none; }
.nav-drawer a.drawer-logout svg, .nav-drawer a.drawer-help svg { width: 17px; height: 17px; }
.nav-drawer a.drawer-logout:hover, .nav-drawer a.drawer-help:hover { color: #294cad; background: #f4f6fb; }
.drawer-footer > p { margin: 0 0 7px; color: #66748a; font-size: .82rem; }
.drawer-help { justify-content: space-between; }
.drawer-open { overflow: hidden; }
@keyframes drawer-backdrop-in { to { opacity: 1; } }
@media (max-width: 480px) {
  .nav-toggle { min-height: 40px; padding: 8px 10px; }
  .nav-drawer { width: min(340px,calc(100vw - 28px)); border-radius: 0 16px 16px 0; }
  .drawer-body { padding-inline: 11px; }
  .drawer-footer { padding-inline: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-drawer, .nav-backdrop { animation: none; transition: none; }
}
@media print {
  .nav-drawer, .nav-backdrop { display: none !important; }
}

/* Refined public landing page */
.home-page .page-heading { display: none; }
.home-page .page-shell { padding-top: 28px; }
.home-header-actions { display: flex; align-items: center; gap: 19px; }
.home-header-login { color: #4e5d75; font-size: .9rem; font-weight: 700; text-decoration: none; }
.home-header-login:hover { color: var(--platform-blue); }
.home-header-signup { min-height: 41px; padding: 9px 16px; margin: 0; }
.home-header-actions .nav-toggle { margin: 0; }
.home-hero-copy h1 { max-width: 690px; margin: 9px 0 15px; color: #182746; font-size: clamp(2rem,4.6vw,3.65rem); font-weight: 800; line-height: 1.08; letter-spacing: -.055em; }
.hero-account-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 23px 0 14px; }
.hero-account-actions .button { min-width: 118px; min-height: 47px; margin: 0; padding-inline: 20px; }
.hero-account-actions .hero-login { border: 1px solid #dce4f1; background: #fff; }
.hero-account-actions .hero-login:hover { color: #244bb6; border-color: #c8d5f2; background: #f7f9ff; }
.hero-discovery-links { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 17px; margin: 0 0 19px; color: #748198; font-size: .82rem; font-weight: 650; }
.hero-discovery-links .text-link { gap: 5px; }
.home-hero-card { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.hero-card-note { display: flex; align-items: flex-start; gap: 9px; padding: 12px 13px; margin-top: 12px; border: 1px solid #d9eee2; border-radius: 11px; color: #326447; background: #f2fbf5; font-size: .78rem; font-weight: 650; line-height: 1.5; }
.hero-card-note svg { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 1px; color: #33845a; }
.home-trust-row span { display: flex; align-items: center; justify-content: center; gap: 8px; }
.home-trust-row svg { width: 17px; height: 17px; flex: 0 0 17px; color: #4266c5; }
@media (max-width: 620px) {
  .home-page .page-shell { padding-top: 20px; }
  .home-header-actions { grid-column: 2; grid-row: 1; gap: 9px; justify-self: end; }
  .home-header-login { display: none; }
  .home-hero-copy h1 { font-size: clamp(1.9rem,9vw,2.65rem); }
  .hero-account-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-account-actions .button { width: 100%; min-width: 0; }
  .hero-discovery-links { align-items: flex-start; flex-direction: column; gap: 7px; }
  .home-trust-row span { justify-content: flex-start; text-align: left; }
}
@media (max-width: 380px) {
  .home-header-signup { display: none; }
}

/* Hosting control panel */
.hosting-control-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(22px,4vw,34px); margin-bottom: 18px; border: 1px solid #dce6fb; border-radius: 18px; background: linear-gradient(120deg,#f1f5ff,#fff); }
.hosting-control-hero .eyebrow { margin: 0 0 5px; }
.hosting-control-hero h2 { margin: 0; font-size: clamp(1.5rem,3vw,2.15rem); overflow-wrap: anywhere; }
.hosting-control-hero p:last-child { margin: 7px 0 0; color: var(--platform-muted); }
.hosting-control-hero .status-pill { flex: 0 0 auto; text-transform: capitalize; }
.hosting-control-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-bottom: 27px; }
.hosting-connection-card, .hosting-quick-card { margin: 0; padding: 23px; }
.hosting-section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; margin-bottom: 8px; }
.hosting-section-heading .eyebrow { margin: 0 0 4px; }
.hosting-section-heading h3, .hosting-tools-heading h3 { margin: 0; font-size: 1.15rem; }
.hosting-section-heading > svg { width: 21px; height: 21px; color: #4969c6; }
.hosting-connection-list { margin: 0 0 16px; }
.hosting-connection-list > div { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #edf0f5; }
.hosting-connection-list dt { color: var(--platform-muted); font-size: .87rem; }
.hosting-connection-list dd { min-width: 0; margin: 0; font-size: .9rem; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.hosting-connection-status { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: #f1f3f7; color: #58657a; font-size: .76rem; font-weight: 750; }
.hosting-connection-status.success { color: #197345; background: #e9f8ef; }
.hosting-connection-status.warning { color: #9b5507; background: #fff3e6; }
.hosting-connection-note { margin: 0; color: var(--platform-muted); font-size: .82rem; line-height: 1.55; }
.hosting-quick-card .cpanel-open-form > button { min-height: 40px; }
.hosting-tools-section { margin-bottom: 28px; }
.hosting-tools-heading { margin-bottom: 14px; }
.hosting-tools-heading .eyebrow { margin: 0 0 4px; }
.hosting-tools-heading > div > p:last-child { margin: 6px 0 0; color: var(--platform-muted); font-size: .9rem; }
.hosting-tools-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.hosting-tool-card { display: flex; flex-direction: column; min-width: 0; padding: 20px; margin: 0; }
.hosting-tool-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 15px; border-radius: 12px; background: #edf2ff; color: #4263c4; }
.hosting-tool-icon svg { width: 21px; height: 21px; }
.hosting-tool-card h4 { margin: 0; font-size: 1rem; }
.hosting-tool-card > p { flex: 1; margin: 7px 0 18px; color: var(--platform-muted); font-size: .84rem; line-height: 1.5; }
.hosting-tool-card form { margin: 0; }
.hosting-tool-card button { display: inline-flex; align-items: center; gap: 6px; padding: 0; margin: 0; border: 0; background: transparent; color: var(--platform-blue); font-size: .85rem; font-weight: 700; text-align: left; cursor: pointer; }
.hosting-tool-card button:hover { text-decoration: underline; }
.hosting-tool-card button svg { width: 15px; height: 15px; }
.hosting-tool-disabled { color: var(--platform-muted); font-size: .8rem; }
@media (max-width: 900px) { .hosting-tools-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) {
  .hosting-control-hero { align-items: flex-start; flex-direction: column; }
  .hosting-control-grid { grid-template-columns: 1fr; }
  .hosting-connection-card, .hosting-quick-card { padding: 18px; }
  .hosting-tool-card { padding: 16px; }
}
@media (max-width: 380px) { .hosting-tools-grid { grid-template-columns: 1fr; } }

/* Single-card service details */
.service-detail-card { overflow: hidden; padding: 0; margin-bottom: 20px; }
.service-detail-card-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--platform-border); background: #f7f9fd; }
.service-detail-card-header .eyebrow { margin: 0 0 4px; }
.service-detail-card-header h2 { margin: 0; font-size: clamp(1.25rem,3vw,1.7rem); font-weight: 760; overflow-wrap: anywhere; }
.service-detail-card-header .status-pill { flex: 0 0 auto; text-transform: capitalize; }
.service-detail-overview { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 5px 10px; border-bottom: 1px solid var(--platform-border); background: #fbfcfe; }
.service-detail-overview > div { min-width: 0; padding: 12px 14px; border-right: 1px solid var(--platform-border); }
.service-detail-overview > div:last-child { border-right: 0; }
.service-detail-overview span, .service-detail-overview b, .service-detail-overview small { display: block; }
.service-detail-overview span, .service-detail-overview small { color: var(--platform-muted); font-size: .82rem; }
.service-detail-overview b { margin: 3px 0; overflow-wrap: anywhere; }
.service-detail-overview .service-password-reveal { padding: 0; margin: 3px 0 0; border: 0; border-radius: 0; background: transparent; }
.service-detail-overview .service-password-reveal summary { color: var(--platform-blue); font-size: .84rem; font-weight: 700; }
.service-detail-overview .service-password-reveal p { margin: 8px 0 0; overflow-wrap: anywhere; }
.service-password-unavailable { color: var(--platform-muted); font-size: .88rem; font-weight: 600; }
.service-billing-list { padding: 0; margin: 0; list-style: none; }
.service-billing-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid #edf0f5; }
.service-billing-list li:first-child { border-top: 0; }
.service-billing-list li > div { flex: 1; min-width: 0; }
.service-billing-list li b, .service-billing-list li small { display: block; }
.service-billing-list li small { margin-top: 3px; color: var(--platform-muted); }
.service-billing-list li > span { font-weight: 700; white-space: nowrap; }
.service-billing-list li > a { font-size: .88rem; font-weight: 680; white-space: nowrap; }
.service-detail-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 24px; }
.service-detail-card-actions .cpanel-secure-note { flex: 1 0 auto; }
.plan-change-intro { max-width: 980px; margin: 0 auto 22px; }
.plan-change-intro h2 { margin: 0 0 7px; font-size: clamp(1.5rem,4vw,2rem); overflow-wrap: anywhere; }
.plan-change-intro > p:not(.eyebrow) { color: var(--platform-muted); }
.plan-change-policy, .plan-change-service-note { display: flex; align-items: flex-start; gap: 10px; padding: 13px 15px; border: 1px solid #d9e4ff; border-radius: 12px; background: #f4f7ff; color: #334872; }
.plan-change-policy svg, .plan-change-service-note svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; color: var(--platform-blue); }
.plan-change-section { max-width: 1120px; margin: 0 auto; }
.plan-change-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); }
.plan-change-card { display: flex; flex-direction: column; gap: 10px; }
.plan-change-card .eyebrow, .plan-change-card h3, .plan-change-card p { margin-top: 0; margin-bottom: 0; }
.plan-change-card h3 { font-size: 1.3rem; }
.plan-change-description { min-height: 2.6em; }
.plan-change-badge { align-self: flex-start; padding: 5px 9px; border-radius: 999px; background: #edf2ff; color: #395bc5; font-size: .76rem; font-weight: 750; }
.plan-change-badge.upgrade { background: #e9f8ef; color: #197345; }
.plan-change-badge.downgrade { background: #fff3e6; color: #9b5507; }
.plan-change-estimate { min-height: 48px; padding: 10px 12px; border-radius: 10px; background: #f7f9fd; font-size: .93rem; }
.plan-change-estimate strong, .plan-change-estimate small { display: block; }
.plan-change-estimate small { margin-top: 2px; color: var(--platform-muted); }
.plan-change-card form { margin-top: auto; }
.plan-change-button { width: 100%; }
.plan-change-pending { max-width: 760px; margin: 0 auto; }
.plan-change-pending h3 { margin-top: 0; }
.plan-change-service-note { margin: 0 18px 12px; font-size: .92rem; }
.plan-change-service-note.scheduled { border-color: #f2dfbf; background: #fff9ef; color: #71480e; }
.plan-change-scheduled-note { padding: 10px 12px; border-radius: 10px; background: #fff9ef; color: #71480e; font-size: .9rem; }
.service-billing-details { padding: 14px 24px 18px; border-top: 1px solid var(--platform-border); }
.service-billing-details > summary { display: inline-flex; min-height: 40px; align-items: center; padding: 8px 13px; border: 1px solid #e1e7f0; border-radius: 10px; color: #34445e; background: #f4f6fa; font-weight: 690; list-style: none; cursor: pointer; }
.service-billing-details > summary::-webkit-details-marker { display: none; }
.billing-hide-label, .service-billing-details[open] .billing-show-label { display: none; }
.service-billing-details[open] .billing-hide-label { display: inline; }
.service-billing-content { padding-top: 13px; }
.service-billing-content h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 730; }
@media (max-width: 620px) {
  .service-detail-card-header { align-items: flex-start; padding: 17px; }
  .service-detail-overview { grid-template-columns: 1fr; padding: 4px 16px; }
  .service-detail-overview > div { padding: 10px 0; border-right: 0; border-bottom: 1px solid var(--platform-border); }
  .service-detail-overview > div:last-child { border-bottom: 0; }
  .service-billing-list li { align-items: flex-start; flex-wrap: wrap; gap: 5px 12px; }
  .service-billing-list li > div { flex-basis: 100%; }
  .service-detail-card-actions { padding: 14px 17px; }
  .plan-change-intro { margin-bottom: 16px; }
  .plan-change-policy { padding: 11px 12px; font-size: .9rem; }
  .plan-change-service-note { margin-right: 12px; margin-left: 12px; }
  .service-billing-details { padding: 13px 17px 16px; }
}
@media (min-width: 621px) and (max-width: 900px) {
  .service-detail-overview { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-detail-overview > div:nth-child(2) { border-right: 0; }
  .service-detail-overview > div:nth-child(3) { border-right: 1px solid var(--platform-border); }
  .service-detail-overview > div:nth-child(4) { border-right: 0; }
}

/* Payment confirmation and service setup transition */
.payment-transition[hidden] { display: none !important; }
.payment-transition { position: fixed; z-index: 2000; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(9,18,35,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.payment-transition-card { width: min(100%,440px); padding: 34px 30px 30px; border: 1px solid rgba(255,255,255,.8); border-radius: 24px; background: #fff; box-shadow: 0 28px 90px rgba(4,13,32,.28); text-align: center; animation: payment-card-in .38s cubic-bezier(.2,.8,.2,1) both; }
.payment-transition-success { display: grid; width: 94px; height: 94px; margin: 0 auto 19px; place-items: center; border-radius: 50%; background: #e7f8ee; color: #16804a; animation: payment-success-pop .55s cubic-bezier(.16,1.3,.4,1) both; }
.payment-transition-success span { display: grid; width: 65px; height: 65px; place-items: center; border-radius: 50%; background: #24a765; color: #fff; font-size: 38px; font-weight: 800; box-shadow: 0 8px 20px rgba(36,167,101,.25); }
.payment-transition-copy .eyebrow { margin: 0 0 8px; color: #62728e; font-size: .72rem; font-weight: 800; letter-spacing: .13em; }
.payment-transition-copy h2 { margin: 0; color: #14213a; font-size: clamp(1.45rem,5vw,1.85rem); font-weight: 780; }
.payment-transition-copy > p:last-child { min-height: 1.5em; margin: 9px 0 0; color: #65738a; line-height: 1.55; }
.payment-transition-building { display: none; position: relative; width: 112px; height: 102px; margin: 0 auto 20px; align-items: flex-end; justify-content: center; }
.payment-transition-servers { display: flex; flex-direction: column-reverse; gap: 5px; width: 70px; }
.payment-transition-servers i { position: relative; display: block; height: 21px; border: 2px solid #4569d8; border-radius: 6px; background: linear-gradient(110deg,#f3f6ff,#dce6ff); box-shadow: 0 5px 10px rgba(47,83,190,.1); animation: server-build .55s ease both; }
.payment-transition-servers i:nth-child(2) { animation-delay: .16s; }
.payment-transition-servers i:nth-child(3) { animation-delay: .32s; }
.payment-transition-servers i::before { position: absolute; top: 6px; left: 8px; width: 5px; height: 5px; border-radius: 50%; background: #34b77a; box-shadow: 12px 0 0 #a7b7e9; content: ''; }
.payment-transition-ground { position: absolute; right: 4px; bottom: 0; left: 4px; height: 3px; border-radius: 50%; background: #e1e8f4; }
.payment-transition-progress { overflow: hidden; height: 7px; margin-top: 23px; border-radius: 99px; background: #edf1f7; }
.payment-transition-progress span { display: block; width: 38%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#315de0,#6a8aff); animation: payment-progress 1.5s ease-in-out infinite; }
.payment-transition[data-stage="success"] .payment-transition-progress { display: none; }
.payment-transition[data-stage="building"] .payment-transition-success,
.payment-transition[data-stage="ready"] .payment-transition-success { display: none; }
.payment-transition[data-stage="building"] .payment-transition-building,
.payment-transition[data-stage="ready"] .payment-transition-building { display: flex; }
.payment-transition[data-stage="ready"] .payment-transition-servers i { border-color: #23a66a; background: #e9f8ef; animation: none; }
.payment-transition[data-stage="ready"] .payment-transition-servers i::before { background: #23a66a; box-shadow: 12px 0 0 #72c997; }
.payment-transition[data-stage="ready"] .payment-transition-progress span { width: 100%; animation: none; background: #23a66a; }
.payment-transition-open { overflow: hidden; }
.payment-inline-alert { display: block; padding: 11px 13px; margin: 12px 0 0; border: 1px solid #f0b8b8; border-radius: 11px; background: #fff0f0; color: #a32222 !important; text-align: left; font-size: .9rem; font-weight: 680; line-height: 1.45; }
.payment-inline-alert[hidden] { display: none !important; }
.payment-utr-form input[aria-invalid="true"] { border-color: #d43b3b; box-shadow: 0 0 0 3px rgba(212,59,59,.12); }
.payment-expiry-overlay { position: fixed; z-index: 2100; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(9,18,35,.68); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.payment-expiry-card { width: min(100%,390px); padding: 28px 24px; border: 1px solid #f2cccc; border-radius: 20px; background: #fff; box-shadow: 0 24px 75px rgba(4,13,32,.25); text-align: center; animation: payment-card-in .3s ease both; }
.payment-expiry-mark { display: grid; width: 58px; height: 58px; place-items: center; margin: 0 auto 12px; border-radius: 50%; background: #fff0ed; color: #b8322b; font-size: 31px; font-weight: 800; }
.payment-expiry-card h2 { margin: 0 0 7px; color: #9d3028; font-size: 1.45rem; }
.payment-expiry-card p { margin: 0 0 19px; color: #66525a; line-height: 1.5; }
.payment-expiry-card .button { width: 100%; }
.payment-qr-page { max-width: 520px; padding: clamp(20px,5vw,34px); }
.payment-qr-page .payment-service-name { margin: 0 0 18px; text-align: center; font-size: clamp(1.35rem,5vw,1.8rem); font-weight: 780; overflow-wrap: anywhere; }
.payment-qr-page .payment-countdown { margin-bottom: 14px; }
.payment-qr-page .payment-qr { width: min(100%,330px); margin: 8px auto 15px; }
.payment-qr-page .payment-utr-form { display: grid; gap: 9px; text-align: left; }
.payment-qr-page .payment-utr-form label { margin: 0; }
.payment-qr-page .verify-payment-button { margin: 12px 0 0; }
.payment-qr-page .payment-cancel { width: 100%; margin-top: 10px; }
.payment-qr-page .payment-verify-error { min-height: 0; }
.payment-qr-page .payment-expired-copy { color: var(--platform-muted); text-align: center; }
.payment-qr-page .payment-hidden-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes payment-card-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes payment-success-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes server-build { from { opacity: .25; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes payment-progress { 0% { transform: translateX(-115%); } 100% { transform: translateX(270%); } }
@media (max-width: 480px) { .payment-transition { padding: 15px; } .payment-transition-card { padding: 29px 21px 24px; border-radius: 20px; } }
@media (prefers-reduced-motion: reduce) { .payment-transition *, .payment-transition *::before, .payment-transition *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* Unified production interface: public website and authenticated workspaces. */
:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #eff6ff;
  --ink-strong: #0f172a;
  --ink-muted: #64748b;
  --surface: #ffffff;
  --canvas: #f8fafc;
  --line: #e2e8f0;
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --sidebar-width: 268px;
  --sidebar-collapsed-width: 84px;
  --radius: 14px;
  --elevation: 0 12px 32px rgba(15,23,42,.06);
}
*,*::before,*::after { box-sizing: border-box; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
body { min-width: 320px; color: var(--ink-strong); background: var(--canvas); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body.public-site { background: linear-gradient(180deg,#f8fbff 0,#f8fafc 430px); }
body.portal-body { background: #f8fafc; }
.button,button { min-height: 42px; border-radius: 10px; background: var(--brand); font-weight: 700; }
.button:hover,button:hover { background: var(--brand-dark); }
.button.secondary,button.secondary,.secondary { color: #1e3a5f; border: 1px solid #d9e3f2; background: #fff; }
.button.secondary:hover,button.secondary:hover,.secondary:hover { color: #1e40af; background: var(--brand-soft); }
.notice { border: 1px solid #bce5cc; border-radius: 12px; background: #f0fdf4; color: #166534; }
.notice.error,.warning-box { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }
.status-pill.success,.pill.success { color: #166534; background: #dcfce7; }
.status-pill.warning,.pill.warning { color: #92400e; background: #fef3c7; }
.status-pill.danger,.pill.danger { color: #b91c1c; background: #fee2e2; }
input,select,textarea { border-color: #cbd5e1; border-radius: 10px; }
input:focus,select:focus,textarea:focus { border-color: #60a5fa; box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.panel,.stat-card,.action-card { border-color: var(--line); border-radius: var(--radius); box-shadow: var(--elevation); }
.table-wrap { border-color: var(--line); border-radius: 12px; }
th { color: #475569; background: #f8fafc; }
tbody tr:hover { background: #f8fbff; }

/* Public header and mobile navigation */
.public-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(226,232,240,.92); box-shadow: 0 2px 18px rgba(15,23,42,.035); backdrop-filter: blur(16px); }
.public-header .header-inner { width: min(100%,1240px); min-height: 72px; padding: 10px 24px; }
.public-header .brand { color: var(--ink-strong); }
.public-header .brand:hover { color: var(--brand); }
.public-nav { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.public-nav a { padding: 9px 11px; border-radius: 8px; color: #475569; font-size: .88rem; font-weight: 700; text-decoration: none; }
.public-nav a:hover { color: var(--brand); background: var(--brand-soft); }
.public-actions { display: flex; align-items: center; gap: 13px; margin-left: 8px; }
.public-login { color: #334155; font-size: .88rem; font-weight: 700; text-decoration: none; }
.public-login:hover { color: var(--brand); }
.public-signup { min-height: 40px; padding: 8px 14px; margin: 0; }
.public-header .nav-toggle { display: none; margin: 0; color: #334155; border: 1px solid var(--line); background: #fff; box-shadow: none; }
.public-header .nav-toggle:hover { color: var(--brand); background: var(--brand-soft); box-shadow: none; transform: none; }
.public-site .page-shell { width: min(100%,1240px); min-height: calc(100vh - 150px); padding: 42px 24px 72px; }
.public-site .page-heading { margin: 0 0 24px; }
.home-page .page-heading { display: none; }
.home-page .page-shell { padding-top: 30px; }
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { width: min(100%,1240px); padding: 0 24px; }

/* Authenticated sidebar shell */
.portal-frame { min-height: 100vh; }
.portal-sidebar { position: fixed; z-index: 70; inset: 0 auto 0 0; display: flex; width: var(--sidebar-width); height: 100dvh; flex-direction: column; border-right: 1px solid var(--line); background: #fff; box-shadow: 6px 0 22px rgba(15,23,42,.025); transition: width .2s ease,transform .24s ease; }
.portal-brand { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.portal-brand .brand { min-width: 0; color: var(--ink-strong); }
.portal-brand .brand:hover { color: var(--brand); }
.sidebar-collapse { display: grid; width: 36px; min-height: 36px; flex: 0 0 36px; place-items: center; padding: 0; margin: 0; color: #475569; border: 1px solid var(--line); background: #fff; box-shadow: none; }
.sidebar-collapse:hover { color: var(--brand); background: var(--brand-soft); box-shadow: none; transform: none; }
.sidebar-collapse svg { width: 17px; height: 17px; }
.portal-nav { flex: 1 1 auto; overflow-y: auto; padding: 14px 12px 22px; scrollbar-color: #cbd5e1 transparent; }
.portal-nav-group { margin: 0 0 17px; }
.portal-nav-group > p { margin: 0 0 5px; padding: 0 9px; color: #94a3b8; font-size: .64rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; white-space: nowrap; }
.portal-nav-group > div { display: grid; gap: 2px; }
.portal-nav-link,.portal-footer-links a { display: flex; min-height: 40px; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 9px; color: #475569; font-size: .86rem; font-weight: 650; text-decoration: none; white-space: nowrap; transition: background .15s ease,color .15s ease; }
.portal-nav-link svg,.portal-footer-links svg { width: 17px; height: 17px; flex: 0 0 17px; color: #64748b; }
.portal-nav-link:hover,.portal-footer-links a:hover { color: var(--brand); background: var(--brand-soft); }
.portal-nav-link:hover svg,.portal-footer-links a:hover svg { color: var(--brand); }
.portal-nav-link.is-active { color: var(--brand-dark); background: #eaf1ff; font-weight: 750; }
.portal-nav-link.is-active svg { color: var(--brand); }
.portal-form-panel { max-width: 720px; }
.portal-impersonation { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding: 12px 16px; border: 1px solid #f4c35b; border-radius: 10px; background: #fffbeb; color: #78350f; font-weight: 650; }
.portal-impersonation form { margin: 0; }
.portal-impersonation button { padding: 8px 12px; }
@media (max-width: 520px) { .portal-impersonation { align-items: flex-start; flex-direction: column; } }
.portal-sidebar-footer { flex: 0 0 auto; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.portal-user { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 7px 8px 11px; }
.portal-user-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 10px; color: var(--brand); background: #eaf1ff; }
.portal-user-icon svg { width: 17px; height: 17px; }
.portal-user > span:last-child { display: grid; min-width: 0; }
.portal-user b,.portal-user small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-user b { color: #334155; font-size: .8rem; }
.portal-user small { color: #94a3b8; font-size: .69rem; }
.portal-footer-links { display: grid; gap: 2px; }
.portal-footer-links a { min-height: 34px; padding: 7px 8px; font-size: .78rem; }
.portal-footer-links .portal-logout { color: #b91c1c; }
.portal-footer-links .portal-logout svg { color: #dc2626; }
.portal-main { min-width: 0; min-height: 100vh; margin-left: var(--sidebar-width); transition: margin-left .2s ease; }
.portal-topbar { position: sticky; z-index: 40; top: 0; display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 30px; border-bottom: 1px solid rgba(226,232,240,.92); background: rgba(248,250,252,.88); backdrop-filter: blur(14px); }
.portal-topbar-title { display: grid; gap: 0; }
.portal-topbar-title p { margin: 0; color: #94a3b8; font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.portal-topbar-title b { color: #1e293b; font-size: .98rem; }
.portal-account-link { display: inline-flex; align-items: center; gap: 7px; color: #475569; font-size: .82rem; font-weight: 700; text-decoration: none; }
.portal-account-link:hover { color: var(--brand); }
.portal-account-link svg { width: 19px; height: 19px; }
.portal-mobile-toggle { display: none; margin: 0; }
.portal-main .page-shell { width: min(100%,1380px); min-height: calc(100vh - 132px); padding: 34px 30px 54px; }
.portal-main .page-heading { margin: 0 0 23px; }
.portal-main .page-heading h1 { color: var(--ink-strong); font-size: clamp(1.55rem,2.4vw,2.25rem); }
.portal-footer { display: flex; justify-content: space-between; gap: 12px; padding: 20px 30px; border-top: 1px solid var(--line); color: #94a3b8; background: #fff; font-size: .75rem; }
body.sidebar-collapsed .portal-sidebar { width: var(--sidebar-collapsed-width); }
body.sidebar-collapsed .portal-main { margin-left: var(--sidebar-collapsed-width); }
body.sidebar-collapsed .portal-brand { justify-content: center; padding: 14px; }
body.sidebar-collapsed .portal-brand .brand > span:last-child,body.sidebar-collapsed .portal-nav-group > p,body.sidebar-collapsed .portal-nav-link span,body.sidebar-collapsed .portal-user > span:last-child,body.sidebar-collapsed .portal-footer-links span { display: none; }
body.sidebar-collapsed .portal-brand .brand { display: grid; }
body.sidebar-collapsed .portal-nav { padding-inline: 14px; }
body.sidebar-collapsed .portal-nav-group { margin-bottom: 13px; }
body.sidebar-collapsed .portal-nav-link,body.sidebar-collapsed .portal-footer-links a { justify-content: center; padding-inline: 7px; }
body.sidebar-collapsed .portal-user { justify-content: center; padding-inline: 0; }
body.sidebar-collapsed .portal-sidebar-footer { padding-inline: 14px; }
.portal-backdrop { display: none; }

/* Existing data components in the new visual system */
.portal-main .stats { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.portal-main .stat-card { min-height: 142px; padding: 20px; }
.portal-main .stat-card span { color: var(--ink-muted); font-weight: 700; }
.portal-main .stat-card h2 { color: var(--ink-strong); }
.portal-main .action-card { padding: 21px; }
.portal-main .action-card .action-icon { color: var(--brand); background: var(--brand-soft); }
.portal-main .panel-heading-row,.portal-main .section-title-row { align-items: center; }
.portal-main .client-welcome { border-radius: var(--radius); background: linear-gradient(120deg,#1d4ed8,#2563eb); box-shadow: 0 16px 34px rgba(37,99,235,.18); }
.portal-main .client-welcome .button { color: #1d4ed8; }
.portal-main .service-summary-card { border-radius: var(--radius); }
.portal-main .service-summary-card:hover { border-color: #bfdbfe; box-shadow: 0 16px 32px rgba(37,99,235,.1); }

@media (max-width: 1180px) {
  .public-nav { gap: 0; }
  .public-nav a { padding-inline: 8px; }
  .portal-main .stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 1023px) {
  .portal-sidebar { width: min(320px,calc(100vw - 38px)); transform: translateX(-105%); box-shadow: 20px 0 55px rgba(15,23,42,.22); }
  .portal-sidebar.is-open { transform: translateX(0); }
  .portal-main,body.sidebar-collapsed .portal-main { margin-left: 0; }
  .portal-topbar { padding-inline: 20px; }
  .portal-mobile-toggle { display: grid; width: 40px; min-height: 40px; place-items: center; padding: 0; color: #334155; border: 1px solid var(--line); background: #fff; box-shadow: none; }
  .portal-mobile-toggle:hover { color: var(--brand); background: var(--brand-soft); box-shadow: none; transform: none; }
  .portal-mobile-toggle svg { width: 18px; height: 18px; }
  .sidebar-collapse { display: none; }
  .portal-backdrop { position: fixed; z-index: 65; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: rgba(15,23,42,.48); box-shadow: none; }
  .portal-backdrop[hidden] { display: none; }
  body.portal-drawer-open { overflow: hidden; }
}
@media (max-width: 860px) {
  .public-nav { display: none; }
  .public-header .nav-toggle { display: grid; width: 40px; min-height: 40px; place-items: center; padding: 0; }
  .public-actions { margin-left: auto; }
  .public-site .page-shell { padding-inline: 20px; }
  .portal-main .page-shell { padding-inline: 20px; }
}
@media (max-width: 620px) {
  .public-header .header-inner { min-height: 64px; padding-inline: 16px; }
  .public-login { display: none; }
  .public-signup { min-height: 38px; padding-inline: 12px; font-size: .78rem; }
  .public-actions { gap: 8px; }
  .public-site .page-shell { padding: 28px 16px 46px; }
  .portal-topbar { min-height: 64px; padding: 9px 16px; }
  .portal-topbar-title b { font-size: .9rem; }
  .portal-account-link span { display: none; }
  .portal-account-link svg { width: 23px; height: 23px; }
  .portal-main .page-shell { padding: 26px 16px 42px; }
  .portal-main .page-heading { margin-bottom: 18px; }
  .portal-main .stats { grid-template-columns: 1fr; }
  .portal-main .stat-card { min-height: 0; }
  .portal-footer { flex-direction: column; padding: 18px 16px; }
  .panel { padding: 17px; }
  .page-intro,.panel-heading-row,.section-title-row { align-items: flex-start; flex-direction: column; }
  .page-intro .button,.panel-heading-row .button { width: 100%; }
}
@media print {
  .public-header,.portal-sidebar,.portal-topbar,.portal-footer,.site-footer,.nav-drawer,.nav-backdrop,.portal-backdrop { display: none !important; }
  .portal-main,body.sidebar-collapsed .portal-main { margin-left: 0; }
  .portal-main .page-shell,.public-site .page-shell { width: 100%; min-height: 0; padding: 0; }
}
