/* Web Boomers billing: one stylesheet for the website, client area and admin panel. */

:root {
  --paper: #FFFFFF;
  --canvas: #F4F6F9;
  --ink: #0F1B2D;
  --text: #2B3648;
  --slate: #566173;
  --faint: #8F9BB0;
  --rule: #DDE2EA;
  --rule-strong: #C9D0DB;
  --blue: #0066FF;
  --blue-dark: #0052CC;
  --blue-tint: #F2F7FF;
  --ok: #0E7A55;   --ok-bg: #E6F4EE;
  --warn: #9A5B00; --warn-bg: #FFF4E0;
  --bad: #B42318;  --bad-bg: #FDECEA;
  --info: #0052CC; --info-bg: #E8F0FF;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); }
p { margin: 0 0 1em; }
img { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
strong { font-weight: 700; }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 200; background: var(--paper); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--mono); font-size: .92em; }
.muted { color: var(--slate); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.main { width: 100%; padding-top: 32px; padding-bottom: 64px; }
body.site { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body.site > .main { flex: 1 0 auto; }
body.site > .foot { flex-shrink: 0; }
.main-narrow { max-width: 680px; }

/* ---------- Header and footer ---------- */

.topbar { background: var(--paper); border-bottom: 1px solid var(--rule); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.wordmark { font-weight: 800; font-size: 20px; letter-spacing: .06em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: var(--ink); }
.wordmark span { color: var(--blue); }
.wordmark-sm { font-size: 16px; }
.topnav { display: flex; align-items: center; gap: 20px; }
.cart-link { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; color: var(--ink) !important; }
.cart-link:hover { background: var(--canvas); }
.cart-link .icon { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 1px; right: -1px; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 800; line-height: 1; }
.avatar-link { display: block; border-radius: 50%; }
.avatar { display: inline-grid; place-items: center; flex: none; border-radius: 50%; overflow: hidden; background: var(--blue-tint); box-shadow: 0 0 0 1px var(--rule-strong); }
.avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.avatar-initial { color: var(--blue); font-weight: 800; font-size: 15px; }
.avatar-link:hover .avatar { box-shadow: 0 0 0 2px var(--blue); }
.topnav a:not(.btn) { color: var(--slate); font-weight: 600; font-size: 15px; text-decoration: none; }
.topnav a:not(.btn):hover { color: var(--ink); }
.topnav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 8px; }

.foot { background: var(--paper); border-top: 1px solid var(--rule); font-size: 14px; color: var(--slate); }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; padding-top: 32px; padding-bottom: 28px; }
.foot p { margin: 10px 0 0; }
.foot a:not(.wordmark) { color: var(--slate); }
.foot a:not(.wordmark):hover { color: var(--ink); }
.foot-links { display: flex; flex-direction: column; gap: 4px; }
.foot-copy { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 16px; margin-top: 16px !important; font-size: 13px; }

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 9px 16px;
  font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--rule-strong); border-radius: 8px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { color: var(--ink); border-color: var(--ink); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-small { min-height: 32px; padding: 6px 11px; font-size: 13px; }
.btn-lg { min-height: 50px; padding: 13px 22px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-quiet { background: transparent; border-color: transparent; color: var(--slate); }
.btn-quiet:hover { background: var(--paper); border-color: var(--rule); color: var(--ink); }
.btn-danger { color: var(--bad); border-color: #F1C6C1; }
.btn-danger:hover { color: var(--bad); border-color: var(--bad); background: var(--bad-bg); }
.btn-danger-text { color: var(--bad); }
.btn-danger-text:hover { color: var(--bad); }
.btn.is-disabled { background: var(--canvas); border-color: var(--rule); color: var(--faint); cursor: not-allowed; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.is-busy { opacity: .65; cursor: progress; }
.text-link { font-weight: 600; }
.icon { display: block; flex: none; }
.btn-icon { width: 40px; padding: 0; flex: none; }
.btn-icon .icon { width: 19px; height: 19px; }
.btn-google { background: var(--paper); gap: 10px; font-weight: 700; }
.link-button { font: inherit; font-weight: 600; background: none; border: 0; padding: 0; color: var(--bad); cursor: pointer; }
.link-button:hover { text-decoration: underline; }
.center { text-align: center; }
.break { overflow-wrap: anywhere; }

/* ---------- Notices and pills ---------- */

.notice { padding: 12px 16px; border: 1px solid; border-radius: 8px; margin: 0 0 18px; font-size: 15px; overflow-wrap: anywhere; }
.notice-ok { background: var(--ok-bg); border-color: #BFE3D2; color: #0B5E42; }
.notice-error { background: var(--bad-bg); border-color: #F5C2BC; color: #8F1C12; }
.notice a { color: inherit; font-weight: 700; }
.form-error { margin: 14px 0 0; padding: 10px 14px; border-radius: 8px; background: var(--bad-bg); color: #8F1C12; font-size: 14px; }

.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.5; white-space: nowrap; vertical-align: middle; }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-warn { background: var(--warn-bg); color: var(--warn); }
.pill-bad { background: var(--bad-bg); color: var(--bad); }
.pill-info { background: var(--info-bg); color: var(--info); }
.pill-muted { background: #EEF1F5; color: var(--slate); }

/* ---------- Home: hero ---------- */

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 28px 0 44px; }
.eyebrow { display: inline-block; margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.hero h1 { font-size: clamp(2.1rem, 1.1rem + 3.3vw, 3.3rem); line-height: 1.07; letter-spacing: -.03em; font-weight: 800; margin: 0 0 18px; max-width: 15ch; }
.hero h1 span { color: var(--blue); }
.lede { font-size: 18px; color: var(--slate); max-width: 50ch; margin: 0 0 22px; }
.hero-points { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 9px; font-size: 15px; color: var(--text); }
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points .icon { width: 18px; height: 18px; color: var(--ok); }
.hero-price { display: flex; align-items: baseline; gap: 6px; margin: 0 0 22px; }
.hero-price span { font-size: 14px; color: var(--slate); margin-right: 2px; }
.hero-price strong { font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.hero-price small { font-size: 15px; color: var(--slate); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }

/* Monitor illustration: a site going live while the setup card ticks through its steps */
.hero-visual { position: relative; padding: 28px 30px 6px; }
.monitor { max-width: 480px; margin: 0 auto; }
.monitor-screen { position: relative; aspect-ratio: 16 / 10.4; background: var(--canvas); border: 11px solid var(--ink); border-bottom-width: 20px; border-radius: 16px; overflow: hidden; }
.monitor-neck { width: 84px; height: 40px; margin: 0 auto; background: #C9D0DB; clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.monitor-base { width: 180px; height: 10px; margin: 0 auto; background: #AEB8C6; border-radius: 6px 6px 3px 3px; }
.mon-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #E9EDF2; border-bottom: 1px solid var(--rule); }
.mon-bar i { width: 8px; height: 8px; border-radius: 50%; background: #C3CBD6; }
.mon-bar span { flex: 1; margin-left: 10px; padding: 2px 10px; background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; font-size: 11px; color: var(--slate); }
.mon-page { padding: 14px 18px; }
.mon-nav { display: flex; align-items: center; gap: 8px; }
.mon-nav b { width: 52px; height: 10px; border-radius: 3px; background: var(--ink); }
.mon-nav i { width: 24px; height: 6px; border-radius: 3px; background: var(--rule-strong); }
.mon-nav i:first-of-type { margin-left: auto; }
.mon-hero { margin-top: 18px; }
.mon-hero b { display: block; width: 62%; height: 12px; border-radius: 3px; background: var(--ink); }
.mon-hero b + b { width: 48%; margin-top: 7px; }
.mon-hero b.w60 { width: 38%; height: 7px; margin-top: 11px; background: var(--rule-strong); }
.mon-btn { display: block; width: 66px; height: 18px; margin-top: 12px; border-radius: 5px; background: var(--blue); }
.mon-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; width: 52%; }
.mon-cards i { height: 40px; border-radius: 6px; background: var(--paper); border: 1px solid var(--rule); }
.mon-setup { position: absolute; right: 14px; bottom: 14px; width: 54%; padding: 12px 14px; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 10px; }
.mon-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0; font-size: 12px; font-weight: 800; }
.mon-done { padding: 1px 8px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-size: 10px; opacity: 0; animation: wb-done 8s infinite; }
.mon-steps { list-style: none; margin: 8px 0 10px; padding: 0; display: grid; gap: 5px; }
.mon-steps li { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--text); opacity: .3; }
.mon-steps li::before { content: ""; width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--ok); }
.mon-steps li:nth-child(1) { animation: wb-s1 8s infinite; }
.mon-steps li:nth-child(2) { animation: wb-s2 8s infinite; }
.mon-steps li:nth-child(3) { animation: wb-s3 8s infinite; }
.mon-progress { height: 6px; border-radius: 999px; background: #EEF1F5; overflow: hidden; }
.mon-progress span { display: block; height: 100%; width: 6%; border-radius: 999px; background: var(--blue); animation: wb-fill 8s infinite; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; animation: wb-float 6s ease-in-out infinite; }
.chip .icon { width: 18px; height: 18px; color: var(--blue); }
.chip-1 { top: 2px; left: 0; }
.chip-2 { top: 34%; right: 0; animation-delay: -2s; }
.chip-3 { bottom: 24%; left: 2%; animation-delay: -4s; }
@keyframes wb-fill { 0%, 8% { width: 6%; } 30% { width: 38%; } 52% { width: 70%; } 72%, 92% { width: 100%; } 100% { width: 6%; } }
@keyframes wb-s1 { 0%, 18% { opacity: .3; } 24%, 92% { opacity: 1; } 100% { opacity: .3; } }
@keyframes wb-s2 { 0%, 40% { opacity: .3; } 46%, 92% { opacity: 1; } 100% { opacity: .3; } }
@keyframes wb-s3 { 0%, 62% { opacity: .3; } 68%, 92% { opacity: 1; } 100% { opacity: .3; } }
@keyframes wb-done { 0%, 72% { opacity: 0; } 78%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes wb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.how { padding: 0 0 52px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; counter-reset: how; }
.how-steps li { counter-increment: how; display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; padding: 18px 20px; }
.how-steps li + li { border-left: 1px solid var(--rule); }
.how-steps li::before { content: counter(how); grid-row: span 2; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; border: 1px solid #CFE0FF; background: var(--blue-tint); color: var(--blue); font-size: 14px; font-weight: 800; }
.how-steps strong { font-size: 15px; }
.how-steps span { font-size: 13px; color: var(--slate); }

/* ---------- Home: plans ---------- */

.plans { padding: 8px 0 56px; scroll-margin-top: 20px; }
.plans-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.plans-head h2 { font-size: 30px; letter-spacing: -.02em; font-weight: 800; margin: 0; }

.tier-switch { display: inline-flex; gap: 4px; padding: 4px; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; }
.tier-switch [role="tab"] { font: inherit; font-size: 15px; font-weight: 700; color: var(--slate); background: transparent; border: 0; border-radius: 7px; padding: 8px 20px; cursor: pointer; }
.tier-switch [role="tab"]:hover { color: var(--ink); }
.tier-switch [role="tab"][aria-selected="true"] { background: var(--ink); color: #fff; }
.js .tier:not(.is-active) { display: none; }
.tier + .tier { margin-top: 40px; }
.js .tier + .tier { margin-top: 0; }

.tier-intro { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 16px; }
.tier-intro h3 { font-size: 20px; margin: 0; }
.tagline { margin: 3px 0 0; font-size: 14px; color: var(--slate); }
.tier-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--slate); }
.tier-facts li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-right: 8px; vertical-align: middle; position: relative; top: -1px; }

/* Plan boxes: at most 3 per row (4 plans: 2 + 2, 5 plans: 3 + 2), last row centred */
.plan-grid { --gap: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); padding-top: 14px; }
.plan-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  flex: 0 1 calc((100% - (var(--cols, 3) - 1) * var(--gap)) / var(--cols, 3)); max-width: 400px;
  padding: 26px 24px 24px; background: var(--paper); border: 1px solid var(--rule); border-radius: 14px;
}
.plan-card.is-featured { border: 2px solid var(--blue); padding: 25px 23px 23px; }
.plan-flag { position: absolute; top: -12px; left: 22px; padding: 3px 12px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.plan-top { display: block; }
.plan-card .plan-name { margin: 0; font-size: 18px; font-weight: 700; }
.plan-price { margin: 8px 0 2px; font-size: 38px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan-price small { margin-left: 2px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--slate); }
.plan-note { margin: 0; font-size: 13px; color: var(--slate); }
.plan-specs { list-style: none; margin: 18px 0 22px; padding: 0; border-top: 1px solid var(--rule); font-size: 14.5px; }
.plan-specs li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.plan-specs li > span { color: var(--slate); }
.plan-specs li > strong { color: var(--ink); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.plan-specs li.is-off > strong { color: var(--faint); font-weight: 500; }
.plan-specs .spec-yes .icon { width: 18px; height: 18px; color: var(--ok); }
.plan-card .buy-row, .plan-card > .btn { margin-top: auto; }
.buy-row { display: flex; gap: 8px; }
.buy-row .btn-primary { flex: 1; min-height: 46px; font-size: 16px; }
.buy-row .btn-icon { min-height: 46px; width: 46px; }
.plan-peek .plan-specs { margin: 12px 0 0; }

.promise { padding: 14px 0; border-top: 1px solid var(--rule); }
.promise strong { display: block; font-size: 16px; }
.promise p { margin: 4px 0 0; }
.guarantee .small { margin: 14px 0 0; }


.not-included { margin: 14px 0 0; font-size: 14px; color: var(--slate); }
.not-included strong { color: var(--ink); font-weight: 600; }

.included { padding: 0 0 56px; }
.included h2 { font-size: 22px; margin: 0 0 18px; }
.checklist { list-style: none; margin: 0; padding: 20px 24px; columns: 4 200px; column-gap: 32px; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; }
.checklist li { break-inside: avoid; position: relative; padding: 6px 0 6px 24px; font-size: 15px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 11px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

.assurance { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 24px; }
.guarantee { background: var(--paper); border: 1px solid var(--rule); border-left: 4px solid var(--ok); border-radius: 12px; padding: 26px 28px; scroll-margin-top: 20px; }
.guarantee h2, .faq h2 { font-size: 22px; margin: 0 0 12px; }
.guarantee p { color: var(--text); }
.guarantee p:last-child { margin: 0; }
.faq details { border-bottom: 1px solid var(--rule-strong); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--slate); font-weight: 500; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: var(--slate); }

/* ---------- Page structure ---------- */

.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin: 0 0 24px; }
.page-head h1 { font-size: 28px; letter-spacing: -.015em; font-weight: 800; margin: 0; }
.sub { color: var(--slate); margin: 4px 0 0; }
.back { display: inline-block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--slate); text-decoration: none; }
.back::before { content: "\2190\00a0"; }
.back:hover { color: var(--ink); }
.head-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.head-actions form { margin: 0; }

.panel { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 22px; margin: 0 0 20px; }
.panel-title { font-size: 17px; font-weight: 700; margin: 0 0 14px; }
.panel-title a { color: inherit; }
.panel-sub { color: var(--slate); font-size: 14px; margin: -10px 0 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel-head .panel-title { margin: 0; }
.panel-flush { padding: 0; }
.stack > .panel, .grid-2 > .panel { margin: 0; }
.panel .panel-title + .small { margin-top: -6px; }

.empty { background: var(--paper); border: 1px dashed var(--rule-strong); border-radius: 12px; padding: 40px 24px; text-align: center; margin-bottom: 20px; }
.empty h2 { font-size: 20px; margin: 0 0 6px; }
.empty p { color: var(--slate); margin: 0 0 18px; }
.empty p:last-child { margin: 0; }

/* ---------- Forms ---------- */

.stack { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend, .cycles legend { font-size: 14px; font-weight: 600; }
fieldset.field, .cycles { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field legend, .cycles legend { padding: 0; margin-bottom: 8px; }
.opt { color: var(--slate); font-weight: 500; font-size: 13px; margin-left: 6px; }
.field-hint { font-size: 13px; color: var(--slate); margin: 0; }
.field-msg { font-size: 13px; margin: 0; font-weight: 600; }
.field-msg.is-error { color: var(--bad); }
.field-msg.is-ok { color: var(--ok); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  display: block; width: 100%; margin: 0; font: inherit; font-size: 15px; line-height: 1.4; color: var(--ink);
  background-color: var(--paper); border: 1px solid var(--rule-strong); border-radius: 8px;
  padding: 10px 12px;
}
input:not([type="checkbox"]):not([type="radio"]), select { height: 44px; }
input[type="search"], input[type="date"], select { -webkit-appearance: none; appearance: none; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
select {
  padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23566173' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 12px 8px;
}
textarea { resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
[aria-invalid="true"] { border-color: var(--bad) !important; }
input:disabled, select:disabled { background: var(--canvas); color: var(--faint); }
input.mono, textarea.mono { font-family: var(--mono); font-size: 14px; }
.upper { text-transform: uppercase; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--blue); width: 18px; height: 18px; margin: 0; flex: none; }

.input-prefix { display: flex; }
.input-prefix span { display: grid; place-items: center; flex: none; height: 44px; padding: 0 12px; background: var(--canvas); border: 1px solid var(--rule-strong); border-right: 0; border-radius: 8px 0 0 8px; color: var(--slate); font-weight: 600; font-size: 15px; }
.input-prefix input { border-radius: 0 8px 8px 0 !important; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { margin-top: 2px; }

/* ---------- Sign-up and account ---------- */

.setup { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 32px; }
.setup h1 { font-size: 26px; margin: 0; }
.google-id { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: 20px 0 24px; background: var(--canvas); border-radius: 10px; }
.panel .google-id { margin: 0; }
.google-id img { border-radius: 50%; flex: none; }
.google-id strong { display: block; font-size: 15px; overflow-wrap: anywhere; }
.google-id span { display: block; font-size: 13px; color: var(--slate); }

/* ---------- Order ---------- */

.order { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.order-main { display: grid; gap: 26px; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 24px; }
.cycles { display: grid; gap: 10px; }
.cycle { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--rule-strong); border-radius: 10px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.cycle:hover { border-color: var(--slate); }
.cycle:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); box-shadow: inset 0 0 0 1px var(--blue); }
.cycle-name { font-weight: 700; }
.cycle-price { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.cycle-price small { display: block; font-size: 12px; font-weight: 500; color: var(--slate); }

.summary { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 24px; position: sticky; top: 20px; }
.summary h2 { font-size: 18px; margin: 0 0 12px; }
.summary dl { margin: 0 0 20px; font-size: 15px; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.summary dt { color: var(--slate); }
.summary dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.sum-total { border-top: 1px solid var(--rule); margin-top: 8px; padding-top: 14px !important; }
.sum-total dt { color: var(--ink); font-weight: 700; }
.sum-total dd { font-size: 22px; font-weight: 800; }
.summary .form-error { margin: 0 0 14px; }
.fine { font-size: 13px; color: var(--slate); margin: 14px 0 0; }

.overlay { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(15, 27, 45, .55); }
.overlay-box { background: var(--paper); border-radius: 12px; padding: 30px 28px; max-width: 420px; text-align: center; }
.overlay-box p { color: var(--text); }
.spinner { display: inline-block; width: 36px; height: 36px; margin-bottom: 14px; border: 3px solid var(--rule); border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Client area ---------- */

.svc { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 22px; margin-bottom: 16px; }
.svc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.svc-domain { font-size: 19px; margin: 0; overflow-wrap: anywhere; }
.svc-sub { font-size: 14px; color: var(--slate); margin: 2px 0 0; }
.svc-msg { margin: 14px 0 0; font-size: 15px; color: var(--text); }
.svc-note { margin: 16px 0 0; font-size: 14px; color: var(--slate); }
.svc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.svc-actions form { margin: 0; }
.refund { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--rule); }
.refund summary { font-size: 14px; font-weight: 600; color: var(--slate); cursor: pointer; }
.refund form { display: grid; gap: 14px; margin-top: 12px; max-width: 560px; }
.refund form p { margin: 0; font-size: 14px; color: var(--text); }
.refund form .btn { justify-self: start; }

/* ---------- Client area header ---------- */

.client-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin: 0 0 26px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.client-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.client-id > div > strong { display: block; font-size: 16px; }
.client-id > div > span { display: block; font-size: 13px; color: var(--slate); overflow-wrap: anywhere; }
.subnav { display: flex; flex-wrap: wrap; gap: 4px; }
.subnav a { padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--slate); text-decoration: none; }
.subnav a:hover { background: var(--paper); color: var(--ink); }
.subnav a[aria-current="page"] { background: var(--ink); color: #fff; }
.subnav .subnav-quiet { color: var(--faint); }

/* ---------- Order: configure, cart, checkout ---------- */

.step { display: grid; gap: 12px; }
.step + .step { padding-top: 22px; border-top: 1px solid var(--rule); }
.step-title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 17px; }
.step-title > span:first-child { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; background: var(--ink); color: #fff; font-size: 13px; }
.step-title .opt { margin-left: 0; }
.addons { display: grid; gap: 10px; }
.addon { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 14px; padding: 14px 16px; border: 1px solid var(--rule-strong); border-radius: 10px; cursor: pointer; }
.addon:hover { border-color: var(--slate); }
.addon:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); box-shadow: inset 0 0 0 1px var(--blue); }
.addon input { margin-top: 2px; }
.addon-text strong { display: block; font-size: 15px; }
.addon-text small { display: block; margin-top: 2px; font-size: 13px; color: var(--slate); }
.addon-price { font-weight: 700; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.addon-price small { display: block; font-size: 12px; font-weight: 500; color: var(--slate); }
.plan-peek { padding-top: 16px; border-top: 1px solid var(--rule); }
.plan-peek summary { font-size: 14px; font-weight: 600; color: var(--slate); cursor: pointer; }
.summary dl .sum-addons { display: block; padding: 0; }
.summary dl .sum-addons dt { padding-left: 10px; }
.sum-discount dd { color: var(--ok); }
.summary .btn + .btn { margin-top: 10px; }
.summary .check { font-size: 14px; }
#checkout-form { display: grid; gap: 14px; margin: 0; }
#checkout-form .form-error { margin: 0; }

.cart-list { display: grid; gap: 12px; align-content: start; }
.cart-item { display: flex; justify-content: space-between; gap: 20px; padding: 20px 22px; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; }
.cart-item h2 { margin: 0; font-size: 17px; }
.cart-item h2 span { margin-left: 6px; font-size: 13px; font-weight: 600; color: var(--slate); }
.cart-domain { margin: 4px 0 10px; font-family: var(--mono); font-size: 14px; overflow-wrap: anywhere; }
.cart-lines { list-style: none; margin: 0; padding: 0; max-width: 380px; font-size: 14px; color: var(--slate); }
.cart-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; font-variant-numeric: tabular-nums; }
.cart-item-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 12px; }
.cart-price { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cart-actions { display: flex; gap: 16px; font-size: 14px; }
.cart-actions a { font-weight: 600; text-decoration: none; }
.cart-actions a:hover { text-decoration: underline; }
.cart-actions form { margin: 0; }
.add-more { justify-self: start; padding: 6px 2px; font-weight: 700; font-size: 15px; text-decoration: none; }
.coupon-form { display: flex; gap: 8px; margin: 0 0 16px; }
.coupon-form input { min-width: 0; }
.coupon-on { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 10px 12px; border-radius: 8px; background: var(--ok-bg); color: #0B5E42; font-size: 14px; }
.coupon-on form { margin: 0; }
.account-step { margin: 8px 0 0; }
.account-step .small { margin: -4px 0 14px; }
.ordering-as { display: flex; align-items: center; gap: 12px; }
.ordering-as > div { flex: 1; min-width: 0; }
.ordering-as strong { display: block; font-size: 15px; }
.ordering-as span:not(.avatar) { display: block; font-size: 13px; color: var(--slate); overflow-wrap: anywhere; }
.ordering-as a { font-weight: 600; white-space: nowrap; }
.summary .btn .icon { width: 17px; height: 17px; }
.agree { display: grid; gap: 6px; padding: 14px 16px; background: var(--canvas); border-radius: 10px; }
.agree .check { font-size: 14px; line-height: 1.5; }
.agree a { font-weight: 600; }
.cart-notice a { margin-left: 6px; }

.locked { background: var(--canvas) !important; cursor: default; }
.locked:focus { outline: none; border-color: var(--rule-strong); }
.hint-tight { margin-top: -10px; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.account-grid > .panel { margin: 0; }

/* ---------- Service page ---------- */

.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; margin-top: 18px; }
.svc-main, .svc-side { display: grid; gap: 20px; min-width: 0; }
.svc-main > .panel, .svc-side > .panel { margin: 0; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.quick form { margin: 0; }
.change-list { list-style: none; margin: 0 0 12px; padding: 0; }
.change-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); }
.change-specs { display: block; margin-top: 2px; font-size: 13px; color: var(--slate); }
.panel-warn { background: var(--warn-bg); border-color: #F2D29B; }
.panel-warn .panel-title { color: var(--warn); }
.panel .refund { margin: 0; padding: 0; border: 0; }

/* ---------- Tables, invoice sheet, text pages ---------- */

.table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; margin-bottom: 20px; }
.panel .table-wrap { border: 0; border-radius: 0; margin: 0; background: none; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: .04em; padding: 11px 14px; border-bottom: 1px solid var(--rule); white-space: nowrap; background: #FAFBFC; }
.table th.num { text-align: right; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table tbody tr:last-child td { border-bottom: 0; }
.table td a:not(.btn) { color: var(--ink); font-weight: 600; text-decoration: none; }
.table td a:not(.btn):hover { color: var(--blue); text-decoration: underline; }
.panel .table th { background: none; }
.panel .table th:first-child, .panel .table td:first-child { padding-left: 0; }
.panel .table th:last-child, .panel .table td:last-child { padding-right: 0; }
.panel-flush .table th:first-child, .panel-flush .table td:first-child { padding-left: 18px; }
.panel-flush .table th:last-child, .panel-flush .table td:last-child { padding-right: 18px; }
.table-compact td { padding: 10px 8px; }
.actions { text-align: right; white-space: nowrap; }
.actions form { display: inline-block; margin: 0 0 0 6px; }

.sheet { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 40px; max-width: 880px; overflow-x: auto; }

.prose { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 36px 40px; }
.prose h1 { font-size: 28px; margin: 0; letter-spacing: -.015em; }
.prose .sub { margin-bottom: 8px; }
.prose h2 { font-size: 18px; margin: 30px 0 8px; scroll-margin-top: 20px; }
.prose p { color: var(--text); line-height: 1.7; margin: 0 0 12px; }
.prose ul { margin: 0 0 14px; padding-left: 20px; color: var(--text); line-height: 1.7; }
.prose li { margin-bottom: 4px; }
.prose-foot { margin-top: 28px !important; padding-top: 18px; border-top: 1px solid var(--rule); }

@media (max-width: 700px) {
  .table.is-stackable thead { display: none; }
  .table.is-stackable, .table.is-stackable tbody, .table.is-stackable tr, .table.is-stackable td { display: block; width: 100%; }
  .table.is-stackable tr { padding: 12px 14px; border-bottom: 1px solid var(--rule); }
  .table.is-stackable tbody tr:last-child { border-bottom: 0; }
  .table.is-stackable td { padding: 5px 0 !important; border: 0; text-align: right; white-space: normal; overflow: hidden; }
  .table.is-stackable td::before { content: attr(data-label); float: left; margin-right: 16px; font-size: 12px; font-weight: 700; line-height: 1.9; color: var(--slate); text-align: left; }
  .table.is-stackable td[data-label=""]::before, .table.is-stackable td:first-child::before { display: none; }
  .table.is-stackable td:first-child { padding-bottom: 8px !important; text-align: left; font-size: 15px; }
  .table.is-stackable td[data-label=""] { padding-top: 10px !important; text-align: left; }
  .table.is-stackable td[data-label=""] form { display: inline-block; margin: 0 6px 0 0; }
  .table.is-stackable .inline-form { justify-content: flex-end; }
  .panel .table.is-stackable tr { padding-left: 0; padding-right: 0; }
}

/* ---------- Admin ---------- */

body.admin { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.admin-bar, .menu-close, .side-scrim { display: none; }
.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 22px; padding: 22px 14px 18px; background: var(--ink); color: #C6CEDA; }
.side-head { display: flex; align-items: center; justify-content: space-between; padding: 0 10px; }
.side .wordmark, .admin-bar .wordmark { color: #fff; font-size: 18px; }
.side .wordmark span, .admin-bar .wordmark span { color: #5C9DFF; }
.side-nav { display: grid; gap: 2px; }
.side-group { margin: 14px 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6F7C93; }
.side-nav a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 8px; color: #C6CEDA; font-size: 15px; font-weight: 600; text-decoration: none; }
.side-nav a .icon { width: 19px; height: 19px; opacity: .85; }
.side-nav a span:not(.badge) { flex: 1; }
.side-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.side-nav a[aria-current="page"] { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 3px 0 0 var(--blue); }
.side-nav a[aria-current="page"] .icon { opacity: 1; color: #7DB1FF; }
.badge { min-width: 20px; padding: 1px 7px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 12px; font-weight: 700; text-align: center; }
.side-foot { margin-top: auto; display: grid; gap: 2px; padding: 14px 2px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.side-foot a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: #9AA6BA; text-decoration: none; }
.side-foot a .icon { width: 17px; height: 17px; }
.side-foot a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.side-user { padding: 0 10px 6px; font-size: 12px; color: #8F9BB0; overflow-wrap: anywhere; }
.admin-main { padding: 30px 36px 60px; max-width: 1320px; min-width: 0; }

body.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login-box { width: 100%; max-width: 380px; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 32px; }
.login-box .wordmark { display: block; margin: 0 0 22px; }
.login-box h1 { font-size: 20px; margin: 0 0 10px; }
.login-box .small { margin: 0 0 20px; line-height: 1.6; }
.login-foot { margin: 22px 0 0; text-align: center; font-size: 14px; }
.login-foot a { color: var(--slate); }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 20px; }
.kpi { display: grid; gap: 2px; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 16px 18px; }
.kpi-label { font-size: 13px; font-weight: 600; color: var(--slate); }
.kpi-value { font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi-note { font-size: 13px; color: var(--slate); }

.bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; height: 220px; align-items: stretch; }
.bar-col { display: grid; grid-template-rows: 18px minmax(0, 1fr) 20px; justify-items: center; text-align: center; min-width: 0; }
.bar-val { font-size: 11px; color: var(--slate); white-space: nowrap; align-self: end; }
.bar { align-self: end; width: 100%; max-width: 38px; min-height: 2px; background: var(--blue); border-radius: 4px 4px 0 0; }
.bar-col:hover .bar { background: var(--blue-dark); }
.bar-label { font-size: 12px; color: var(--slate); align-self: end; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; margin-bottom: 20px; }

.attn { list-style: none; margin: 0; padding: 0; }
.attn li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.attn li:first-child { padding-top: 0; }
.attn li:last-child { border-bottom: 0; padding-bottom: 0; }
.attn a { font-weight: 600; color: var(--ink); text-decoration: none; }
.attn a:hover { color: var(--blue); text-decoration: underline; }
.attn span { display: block; font-size: 13px; color: var(--slate); margin-top: 2px; overflow-wrap: anywhere; }

.meter { width: 140px; height: 6px; margin: 6px 0 4px; background: #EEF1F5; border-radius: 999px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--blue); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.tabs a { padding: 7px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--slate); text-decoration: none; }
.tabs a span { font-size: 12px; margin-left: 3px; color: var(--faint); }
.tabs a:hover { background: var(--paper); color: var(--ink); }
.tabs a[aria-current="page"] { background: var(--ink); color: #fff; }
.tabs a[aria-current="page"] span { color: #C6CEDA; }
.search { display: flex; gap: 8px; margin: 0; }
.search input { width: 260px; }

.dl { margin: 0; }
.dl > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.dl > div:first-child { padding-top: 0; }
.dl > div:last-child { border-bottom: 0; }
.dl dt { color: var(--slate); }
.dl dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.dl-stack > div { grid-template-columns: 1fr; gap: 6px; }
.copyable { user-select: all; background: var(--canvas); padding: 7px 10px; border-radius: 6px; }

.action-list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.action-list form { margin: 0; }
.panel .action-list + .edit-box, .dl + .action-list { margin-top: 18px; }
.inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.inline-form input:not([type="hidden"]) { width: auto; flex: 1 1 160px; }
.inline-form label { font-size: 13px; font-weight: 600; color: var(--slate); white-space: nowrap; }
.inline-form .input-narrow { flex: 0 0 96px; width: 96px; min-height: 32px; padding: 5px 8px; font-size: 14px; }
.edit-box { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--rule); }
.edit-box summary { font-size: 14px; font-weight: 600; cursor: pointer; }
.edit-box form { margin-top: 14px; }
.edit-box .small { margin: 0; }

.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.plain-list li:first-child { padding-top: 0; }
.plain-list li:last-child { border-bottom: 0; }
.plain-list a { font-weight: 600; margin-right: 6px; }

.invoice-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.invoice-layout .sheet { max-width: none; }
.invoice-layout aside .small { margin: -6px 0 14px; }

.refund-card .reason { margin: 4px 0 16px; padding: 12px 16px; background: var(--canvas); border-left: 3px solid var(--rule-strong); border-radius: 0 8px 8px 0; font-size: 15px; color: var(--ink); }
.refund-card .panel-title { margin-bottom: 4px; }
.refund-head .small { margin: 0 0 8px; }
.refund-forms { display: grid; gap: 10px; }

.form-wide { max-width: 820px; }
.form-wide .panel-title:not(:first-of-type) { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--rule); }
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.price-grid label { font-weight: 500; color: var(--slate); }
.danger-zone { max-width: 820px; margin: 0; }
.checks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 20px; }

.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.checks li:first-child { padding-top: 0; }
.checks li:last-child { border-bottom: 0; }
.checks small { display: block; color: var(--slate); font-size: 12px; }
.check-mark { position: relative; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; }
.is-ok .check-mark { background: var(--ok); }
.is-ok .check-mark::after { content: ""; position: absolute; left: 5px; top: 5px; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.is-bad .check-mark { border: 2px solid var(--bad); }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .invoice-layout { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding-bottom: 36px; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-steps li:nth-child(3) { border-left: 0; }
  .how-steps li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .account-grid, .svc-layout { grid-template-columns: 1fr; }
  .assurance { grid-template-columns: 1fr; gap: 32px; }
  .order { grid-template-columns: 1fr; }
  .summary { position: static; }

  .plan-card { flex-basis: calc((100% - var(--gap)) / 2); }

  body.admin { display: block; }
  .admin-bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 12px 0 6px; background: var(--ink); }
  .admin-bar-title { margin-left: auto; font-size: 14px; font-weight: 600; color: #C6CEDA; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40%; }
  .menu-btn, .menu-close { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: none; color: #fff; cursor: pointer; }
  .menu-btn:hover, .menu-close:hover { background: rgba(255, 255, 255, .08); }
  .menu-dot { position: absolute; top: 10px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: #F04438; box-shadow: 0 0 0 2px var(--ink); }
  .side { position: fixed; top: 0; left: 0; bottom: 0; z-index: 60; width: min(290px, 86vw); height: 100%; transform: translateX(-100%); transition: transform .22s ease; }
  .side-head { padding-right: 0; }
  .menu-close { display: grid; }
  body.menu-open .side { transform: none; }
  body.menu-open { overflow: hidden; }
  .side-scrim { position: fixed; inset: 0; z-index: 50; display: block; background: rgba(15, 27, 45, .5); }
  .side-scrim[hidden] { display: none !important; }
  .admin-main { padding: 20px 16px 48px; max-width: none; }
}
@media (max-width: 720px) {
  .plan-card { flex-basis: 100%; max-width: 520px; padding: 22px 20px 20px; }
  .plan-card.is-featured { padding: 21px 19px 19px; }
  .plan-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .plan-price { margin: 0; font-size: 30px; }
  .plan-note { margin-top: 4px; }
  .plans-head h2 { font-size: 26px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-value { font-size: 22px; }
  .page-head h1 { font-size: 24px; }
  .toolbar { align-items: stretch; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; }
  .tabs a { white-space: nowrap; }
  .search { width: 100%; }
  .search input { width: auto; flex: 1; }
  .action-list { display: grid; }
  .action-list > .btn, .action-list form > .btn { width: 100%; }
  .inline-form input:not([type="hidden"]), .inline-form select { flex: 1 1 100%; }
  .inline-form .input-narrow { flex: 0 0 96px; }
  .head-actions { width: 100%; }
  .bars { gap: 4px; height: 180px; }
  .bar-val { display: none; }
  .sheet, .prose { padding: 22px 18px; }
  .setup { padding: 24px 18px; }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .main { padding-top: 22px; }
  .topbar-in { min-height: 58px; gap: 12px; }
  .topnav { gap: 8px; }
  .wordmark { font-size: 18px; }
  .hero-visual { padding: 22px 8px 4px; }
  .chip { font-size: 12px; padding: 6px 11px; }
  .chip .icon { width: 15px; height: 15px; }
  .chip-2 { top: 2px; right: 0; }
  .chip-3 { bottom: 20%; left: 0; }
  .mon-setup { width: 66%; }
  .how-steps { grid-template-columns: 1fr; }
  .how-steps li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .cart-item { flex-direction: column; gap: 12px; }
  .cart-item-side { flex-direction: row; align-items: center; }
  .client-head { margin-bottom: 20px; }
  .subnav { width: 100%; }
  .change-list li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hide-sm { display: none !important; }
  .lede { font-size: 16px; }
  .field-row { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 24px; }
  .svc, .panel, .order-main, .summary { padding: 18px; }
  .svc-head { flex-direction: column; }
  .dl > div { grid-template-columns: 1fr; gap: 2px; }
  .search { width: 100%; }
  .search input { width: auto; flex: 1; }
  .tier-switch { width: 100%; }
  .tier-switch [role="tab"] { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .side { transition: none; }
  .chip, .mon-steps li, .mon-progress span, .mon-done { animation: none !important; }
  .mon-steps li, .mon-done { opacity: 1; }
  .mon-progress span { width: 100%; }
  .spinner { animation-duration: 2.4s; }
}

/* ---------- Print (invoices) ---------- */

@media print {
  .topbar, .foot, .side, .admin-bar, .skip, .overlay, .no-print, .notice, .client-head { display: none !important; }
  body, body.admin { display: block; background: #fff; }
  .main, .admin-main { padding: 0; max-width: none; }
  .sheet { border: 0; padding: 0; max-width: none; }
  a { color: inherit; text-decoration: none; }
  @page { margin: 14mm; }
}

/* ======================================================================
   Website theme support: announcement bar, popup, chat bubble, back to top,
   domain search results. Used on every public page, with any theme.
   ====================================================================== */

.theme-chrome { display: contents; }
.theme-home { display: block; }
.theme-flash { padding-top: 18px; }
.theme-flash .notice:last-child { margin-bottom: 0; }
body.themed > .main { font-family: var(--wb-font, inherit); }

.wb-ann { --a-bg: #E53935; --a-fg: #fff; position: relative; z-index: 70; background: var(--a-bg); color: var(--a-fg); font-size: 13px; font-weight: 600; }
.wb-ann--brand { --a-bg: var(--wb-accent, var(--blue)); }
.wb-ann--info { --a-bg: #0C4A6E; }
.wb-ann--success { --a-bg: #047857; }
.wb-ann--warning { --a-bg: #FBBF24; --a-fg: #1C1400; }
.wb-ann--dark { --a-bg: #0B1330; }
.wb-ann-in { max-width: 1200px; margin: 0 auto; min-height: 36px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 14px; padding: 7px 44px; text-align: center; }
.wb-ann-in p { margin: 0; }
.wb-ann a, .wb-ann a:hover { color: inherit; }
.wb-ann-link { padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.18); text-decoration: none; white-space: nowrap; }
.wb-ann-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 18px; line-height: 1; cursor: pointer; }
.wb-ann-x:hover { background: rgba(255,255,255,.15); }

.wb-preview-bar { position: fixed; left: 50%; top: 12px; transform: translateX(-50%); z-index: 2000; padding: 8px 16px; border-radius: 999px; background: #0B1330; color: #fff; font-size: 13px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.wb-preview-bar a { color: #9CC3FF; margin-left: 8px; }

.wb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 12px; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; background: var(--wb-accent, var(--blue)); color: #fff; }
.wb-btn:hover { color: #fff; filter: brightness(1.06); }
.wb-btn--ghost { background: #fff; color: var(--ink); border-color: var(--rule); }
.wb-btn--ghost:hover { color: var(--ink); border-color: var(--rule-strong); filter: none; }

.wb-pop { width: min(480px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 22px; background: #fff; color: var(--text); box-shadow: 0 40px 90px -30px rgba(2,6,23,.65); overflow: hidden; }
.wb-pop::backdrop { background: rgba(2,6,23,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.wb-pop[open] { animation: wb-pop .3s cubic-bezier(.2,.8,.2,1) both; }
@keyframes wb-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.wb-pop-img { display: block; width: 100%; max-height: 240px; object-fit: cover; }
.wb-pop-body { padding: 26px; }
.wb-pop-body h2 { margin: 0 36px 10px 0; font-size: 22px; line-height: 1.25; color: var(--ink); }
.wb-pop-body p { margin: 0; color: var(--slate); }
.wb-pop-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.wb-pop-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule); background: rgba(255,255,255,.92); font-size: 20px; line-height: 1; cursor: pointer; z-index: 1; }

.wb-chat { position: fixed; right: 18px; bottom: 18px; z-index: 1050; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.wb-chat-launch { position: relative; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--wb-accent, var(--blue)); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 16px 34px -12px rgba(var(--wb-accent-rgb, 0,102,255), .8); transition: transform .2s ease; }
.wb-chat-launch:hover { transform: scale(1.05); }
.wb-chat-launch svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wb-chat-dot { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: #EF4444; border: 2px solid #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.wb-chat-teaser { display: grid; justify-items: end; gap: 8px; max-width: 270px; }
.wb-chat-bubble { position: relative; margin: 0; padding: 12px 16px; border-radius: 14px; background: #fff; color: var(--ink); font-size: 14px; box-shadow: 0 14px 34px -14px rgba(15,40,110,.45); border: 1px solid var(--rule); }
.wb-chat-teaser-x { position: absolute; top: -8px; left: -8px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--rule); background: #fff; font-size: 13px; line-height: 1; cursor: pointer; color: var(--slate); }
.wb-chat-q { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.wb-chat-q button, .wb-chat-opts button { border: 1px solid rgba(var(--wb-accent-rgb, 0,102,255), .5); background: #fff; color: var(--wb-accent, var(--blue)); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-align: right; box-shadow: 0 6px 18px -12px rgba(15,40,110,.5); }
.wb-chat-q button:hover, .wb-chat-opts button:hover { background: var(--wb-accent, var(--blue)); color: #fff; }
.wb-chat-panel { width: min(360px, calc(100vw - 36px)); max-height: min(560px, calc(100vh - 110px)); display: flex; flex-direction: column; border-radius: 20px; background: #fff; box-shadow: 0 30px 70px -24px rgba(2,6,23,.55); border: 1px solid var(--rule); overflow: hidden; animation: wb-pop .25s ease both; }
.wb-chat-head { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--wb-accent, var(--blue)); color: #fff; }
.wb-chat-head strong { display: block; font-size: 15px; }
.wb-chat-head small { display: block; opacity: .85; font-size: 12px; }
.wb-chat-head button { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 18px; cursor: pointer; }
.wb-chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-weight: 800; flex: none; }
.wb-chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #F8FAFF; min-height: 120px; }
.wb-chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; white-space: pre-line; }
.wb-chat-msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--rule); color: var(--ink); border-bottom-left-radius: 4px; }
.wb-chat-msg--me { align-self: flex-end; background: var(--wb-accent, var(--blue)); color: #fff; border-bottom-right-radius: 4px; }
.wb-chat-msg a { display: inline-block; margin-top: 6px; font-weight: 700; }
.wb-chat-opts { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px; border-top: 1px solid #EEF2F9; background: #fff; }
.wb-chat-foot { display: grid; gap: 8px; padding: 12px 16px 16px; background: #fff; }
.wb-chat-foot a { display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 14px; }
.wb-chat-wa, .wb-chat-wa:hover { background: #16A34A; color: #fff; }
.wb-chat-mail, .wb-chat-mail:hover { border: 1px solid var(--rule); color: var(--ink); overflow-wrap: anywhere; padding: 0 10px; text-align: center; }

.wb-totop { position: fixed; left: 18px; bottom: 18px; z-index: 1040; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--wb-accent, var(--blue)); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 26px -10px rgba(var(--wb-accent-rgb, 0,102,255), .8); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.wb-totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wb-totop svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.wb-dres { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 6px; padding: 12px 14px; border-radius: 12px; font-size: 15px; border: 1px solid var(--rule); background: #F8FAFF; color: var(--ink); }
.wb-dres small { display: block; color: var(--slate); font-size: 13px; }
.wb-dres--ok { background: #F0FDF4; border-color: #86EFAC; }
.wb-dres--bad { background: #FEF2F2; border-color: #FCA5A5; }
.wb-dres--busy { color: var(--slate); }
[data-wb-plan].is-switching { animation: wb-switch .35s ease; }
@keyframes wb-switch { from { opacity: .4; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Client area: Domains */
.domain-find { max-width: 560px; }
.domain-find input { flex: 1; min-width: 0; }
.domain-result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; margin-top: 16px; padding: 16px 18px; border-radius: 12px; background: var(--ok-bg); border: 1px solid #BFE3D2; }
.domain-result.is-taken { background: var(--bad-bg); border-color: #F5C2BC; }
.domain-result span, .domain-result small { display: block; }
.domain-result small { color: var(--slate); margin-top: 2px; }

@media (max-width: 640px) {
  .wb-chat { right: 12px; bottom: 12px; }
  .wb-totop { left: 12px; bottom: 12px; }
  .wb-chat-launch { width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) { .wb-pop[open], .wb-chat-panel, [data-wb-plan].is-switching { animation: none; } }
@media print { .theme-chrome, .wb-ann, .wb-chat, .wb-totop, .wb-pop, .wb-preview-bar { display: none !important; } }

/* ======================================================================
   Admin: website, texts, media and domains pages
   ====================================================================== */

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.btn-row form { margin: 0; }
.section-title { font-size: 20px; margin: 28px 0 12px; }
.code-edit { font-family: var(--mono); font-size: 13px; line-height: 1.55; tab-size: 2; white-space: pre; overflow: auto; }
textarea.code-edit[rows="30"] { min-height: 60vh; }
.steps-list { margin: 0; padding-left: 20px; color: var(--text); }
.steps-list li { margin-bottom: 4px; }

.img-field { display: flex; align-items: center; gap: 8px; }
.img-field input { flex: 1; min-width: 0; }
.img-field img { width: 44px; height: 44px; flex: none; object-fit: contain; border: 1px solid var(--rule); border-radius: 8px; background: var(--canvas); }

.content-group { padding: 0; }
.content-group > summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; }
.content-group > summary::-webkit-details-marker { display: none; }
.content-group > summary::after { content: "+"; font-size: 22px; color: var(--slate); }
.content-group[open] > summary::after { content: "−"; }
.content-group > summary .panel-title { margin: 0; }
.content-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; padding: 0 22px 22px; }
.content-fields .field.is-wide { grid-column: 1 / -1; }
.content-fields .field label .mono { margin-left: 6px; font-weight: 400; }
.sticky-save { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 0; background: linear-gradient(transparent, var(--canvas) 35%); }

.list-edit { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--rule); border-radius: 10px; background: var(--canvas); }
.le-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) auto; gap: 8px 10px; align-items: end; padding: 10px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); }
.le-cell { display: grid; gap: 4px; min-width: 0; }
.le-cell.le-wide { grid-column: 1 / -2; }
.le-cell label { font-size: 12px; font-weight: 700; color: var(--slate); }
.le-tools { display: flex; gap: 4px; }
.le-tools .btn { min-width: 32px; padding: 6px 8px; }

.media-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.media-grid figure { margin: 0; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.media-grid img { display: block; width: 100%; height: 130px; object-fit: contain; background: repeating-conic-gradient(#F1F3F6 0 25%, #fff 0 50%) 50% / 16px 16px; }
.media-grid figcaption { display: grid; gap: 8px; padding: 10px; }
.media-grid figcaption > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tld-add { margin-top: 14px; }
.tld-add input { max-width: 160px; }
.domain-update { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.domain-update select, .domain-update input { height: 36px; font-size: 14px; }
.domain-update input[name="note"] { max-width: 150px; }

@media (max-width: 800px) {
  .content-fields { grid-template-columns: 1fr; }
  .le-cell.le-wide { grid-column: 1 / -1; }
}

/* ======================================================================
   Logo, ✅ / ❌ lines, test results, fonts and plan lists
   ====================================================================== */

.wordmark-logo { display: block; height: var(--wb-logo-h, 32px); width: auto; max-width: 220px; object-fit: contain; }
.wordmark-sm .wordmark-logo { height: 28px; }
.side-head .wordmark-logo, .admin-bar .wordmark-logo { height: 28px; }
.login-box .wordmark-logo { height: 40px; margin: 0 auto; }

.checklist li.is-off { color: var(--slate); }
.checklist li.is-off::before { content: "\2715"; border: 0; transform: none; top: 6px; left: 1px; width: auto; height: auto; color: var(--bad); font-size: 13px; font-weight: 800; }

.test-group { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); margin: 18px 0 8px; }
.is-bad .check-mark { background: var(--bad); border: 0; }
.is-bad .check-mark::before, .is-bad .check-mark::after { content: ""; position: absolute; left: 4px; top: 8px; width: 10px; height: 2px; background: #fff; transform: rotate(45deg); }
.is-bad .check-mark::after { transform: rotate(-45deg); }
.is-warn .check-mark { background: #F59E0B; }
.is-warn .check-mark::after { content: "!"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; line-height: 18px; text-align: center; }

.marks-edit { display: grid; gap: 8px; }
.marks-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.marks-row select.is-yes { color: var(--ok); font-weight: 700; }
.marks-row select.is-no { color: var(--bad); font-weight: 700; }

.font-sample { margin: 0; padding: 16px 18px; border: 1px dashed var(--rule-strong); border-radius: 10px; background: var(--canvas); font-size: 16px; }
.font-sample strong { display: block; font-size: 24px; line-height: 1.2; margin-bottom: 6px; }
.font-custom > summary { cursor: pointer; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.font-tile { display: grid; place-items: center; height: 130px; background: var(--canvas); font-size: 44px; font-weight: 800; color: var(--ink); line-height: 1; }
.font-tile small { display: block; font-size: 12px; font-weight: 600; color: var(--slate); }

@media (max-width: 640px) {
  .marks-row { grid-template-columns: minmax(0, 1fr) auto; }
  .marks-row input { grid-column: 1 / -1; grid-row: 2; }
}

/* ======================================================================
   Easier editing: section chips, search, simple lists, renew and give forms
   ====================================================================== */

.section-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.section-chips a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.section-chips a:hover { border-color: var(--blue); color: var(--blue); }
.content-tools { position: sticky; top: 0; z-index: 6; display: grid; gap: 10px; padding: 12px 0 2px; margin-bottom: 6px; background: var(--canvas); }
.content-tools input[type="search"] { max-width: 520px; }
.content-tools .section-chips { margin: 0; }
.content-form .field-key { display: none; }
.content-form.show-keys .field-key { display: inline; margin-left: 6px; font-weight: 400; }
.content-group > summary { gap: 12px; }
.content-group > summary .group-view { margin-left: auto; font-weight: 600; white-space: nowrap; }
.content-group { scroll-margin-top: 150px; }
.content-fields .field.is-toggle { grid-column: 1 / -1; padding: 12px 14px; border-radius: 10px; background: var(--info-bg, #EAF2FF); }
.content-fields .field.is-toggle select { max-width: 260px; }
.content-fields .field-hint { margin-top: 2px; }

.list-edit.is-simple [data-rows] { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.list-edit.is-simple .le-row { grid-template-columns: minmax(0, 1fr) auto; margin: 0; padding: 8px; }
.list-edit.is-simple .le-cell label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.list-edit.is-simple .le-tools .btn { min-width: 28px; padding: 4px 6px; }

.svc-list li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.svc-list li:last-child { border-bottom: 0; }
.renew-form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.renew-form select, .renew-form input { height: 36px; font-size: 14px; }
.renew-form input { max-width: 170px; }
.give-form { max-width: none; }

@media (max-width: 800px) {
  .content-tools { position: static; }
  .content-group > summary { flex-wrap: wrap; }
}

/* ======================================================================
   Sign in with email and password, service tabs, plan extras
   ====================================================================== */

.notice-warn { background: var(--warn-bg); border-color: #F3D38B; color: #7A4B00; }
.auth-box .btn-google { justify-content: center; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 20px 0 16px; color: var(--slate); font-size: 13px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.pw-field { display: flex; gap: 6px; }
.pw-field input { flex: 1; min-width: 0; }
.pw-toggle { flex: none; min-width: 64px; }
.pw-check { margin: 6px 0 0; font-size: 13px; color: var(--slate); }
.pw-check.is-ok { color: var(--ok); font-weight: 600; }
.pw-check.is-bad { color: var(--bad); font-weight: 600; }
.small-title { font-size: 15px; margin: 8px 0 0; }
.right { text-align: right; }
.auth-box .small.right { margin: -6px 0 0; }
.wb-more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 14px; padding: 11px; border: 0; border-radius: 12px; background: #EEF3FF; color: var(--wb-accent, var(--blue)); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.wb-more:hover { background: #E3ECFF; }
.list-service { border: 1px solid var(--rule); border-radius: 10px; padding: 0 16px; }
.list-service > summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--ink); }
.list-service[open] > summary { border-bottom: 1px solid var(--rule); margin-bottom: 14px; }
.list-service > .grid-2 { padding-bottom: 16px; }

/* ======================================================================
   Support tickets, billing period picker, setup fee
   ====================================================================== */

.thread { display: grid; gap: 12px; margin-bottom: 18px; }
.msg { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--rule); background: var(--paper); max-width: 860px; }
.msg header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-bottom: 6px; font-size: 14px; }
.msg header span { color: var(--slate); font-size: 13px; }
.msg-body { line-height: 1.6; overflow-wrap: anywhere; }
.msg-staff { background: #EEF4FF; border-color: #CFE0FF; margin-left: auto; }
.priority-offer p { margin: 6px 0 12px; }
.period-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 14px; font-size: 14px; }
.period-pick label { font-weight: 700; }
.period-pick select { height: 38px; width: auto; }
.plan-setup { margin: 2px 0 0; font-size: 13px; font-weight: 600; color: #B45309; }
.section-chips a.is-on { border-color: var(--blue); background: var(--blue); color: #fff; }

/* ======================================================================
   Switching service and server tabs: the panel fades in, cards rise one by one
   ====================================================================== */

.wb-enter { animation: wb-panel-in .45s cubic-bezier(.2, .8, .2, 1) both; }
.wb-enter [data-wb-plan],
.wb-enter .wbt-tiers,
.wb-enter .wbt-tier-facts,
.wb-enter .wbt-included { animation: wb-rise .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--wb-i, 0) * 70ms + 40ms); }
.wb-enter .wbt-included { --wb-i: 4; }
[data-wb-service][aria-selected="true"] svg { animation: wb-icon-pop .5s cubic-bezier(.3, 1.6, .5, 1); }
[data-wb-tiers] [role="tab"] { transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .2s ease; }
@keyframes wb-panel-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes wb-rise { from { opacity: 0; transform: translateY(22px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes wb-icon-pop { 0% { transform: scale(.7) rotate(-8deg); } 60% { transform: scale(1.12) rotate(3deg); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .wb-enter, .wb-enter * { animation: none !important; }
  [data-wb-service][aria-selected="true"] svg { animation: none; }
}

.auth-box .btn-block + .btn-block { margin-top: 10px; }
.auth-box .fine .btn { margin-top: 10px; }

/* ======================================================================
   Phones: nothing may be wider than the screen (stops the page zooming out)
   ====================================================================== */

html, body { overflow-x: clip; }
body .wbt-service .wbt-tiers { max-width: 100%; grid-auto-columns: auto; }
body .wbt-cycle { max-width: 100%; }
@media (max-width: 760px) {
  body .wbt-service .wbt-tiers { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; }
  body .wbt-service .wbt-tiers button { padding: 10px 6px; }
  body .wbt-service .wbt-tiers button small { font-size: .7rem; line-height: 1.25; }
  body .wbt-cycle { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; }
  body .wbt-cycle button { padding: 9px 4px; font-size: .8rem; white-space: nowrap; }
}

/* ======================================================================
   Sign in / Create account
   ====================================================================== */

.auth-page { max-width: 560px; }
.auth { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 22px; box-shadow: 0 12px 32px rgba(15, 27, 45, .07); }
.account-step .auth { border: 0; box-shadow: none; padding: 0; background: transparent; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 20px; border-radius: 12px; background: var(--canvas); }
.auth-tabs button { padding: 11px 8px; border: 0; border-radius: 9px; background: transparent; color: var(--slate); font: inherit; font-weight: 700; cursor: pointer; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.auth-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 4px rgba(15, 27, 45, .14); }
.auth-panel { animation: wb-panel-in .3s ease both; }
.auth .btn-google { justify-content: center; }
.verify-field { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.verify-field input { flex: 1 1 220px; min-width: 0; background: var(--canvas); color: var(--slate); cursor: not-allowed; }
.verify-field .verify-btn { flex: none; }
.verify-field .verified-badge { display: none; align-items: center; gap: 4px; color: var(--ok); font-weight: 700; font-size: 14px; white-space: nowrap; }
.verify-field.is-verified input { background: #F0FDF4; border-color: #BBF7D0; color: var(--ink); cursor: default; }
.verify-field.is-verified .verify-btn { display: none; }
.verify-field.is-verified .verified-badge { display: inline-flex; }
.field-hint.is-error { color: var(--bad); font-weight: 600; }
.cron-log pre { margin: 6px 0 0; padding: 10px 12px; max-height: 240px; overflow: auto; border-radius: 8px; background: var(--canvas); white-space: pre-wrap; }
.setup .auth { border: 0; box-shadow: none; padding: 0; background: transparent; }

/* ======================================================================
   Wallet, currencies, payment gateways
   ====================================================================== */

.wallet-balance { display: grid; align-content: center; gap: 4px; }
.wallet-balance p { margin: 0; }
.wallet-amount { font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.amount-in { color: var(--ok); font-weight: 700; }
.amount-out { color: var(--bad); font-weight: 700; }
.wallet-use { margin: 0 0 12px; padding: 10px 12px; border: 1px solid #BBF7D0; border-radius: 10px; background: #F0FDF4; font-size: 14px; }
.client-head + .wallet-use, .subnav + .wallet-use { margin-top: 12px; }
.manual-pay { margin-bottom: 16px; }
.manual-text { margin: 8px 0 10px; padding: 12px 14px; border-radius: 10px; background: var(--canvas); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.currency-select { height: 34px; padding: 0 8px; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); width: auto; }
.gw-box { margin: 0; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 12px; display: grid; gap: 10px; }
.gw-box legend { padding: 0 6px; font-weight: 700; color: var(--ink); }
.gw-box legend .pill { margin-left: 6px; vertical-align: middle; }
.wallet-adjust select, .wallet-adjust input { width: auto; }
.wallet-adjust input[name="note"] { min-width: 220px; flex: 1; }

/* ======================================================================
   "Payment successful" window
   ====================================================================== */

.receipt-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: rgba(15, 23, 42, .55); animation: wb-panel-in .25s ease both; }
.receipt-card { width: min(440px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 28px 24px 22px; border-radius: 18px; background: var(--paper); box-shadow: 0 24px 60px rgba(15, 23, 42, .3); text-align: center; animation: wb-rise .35s cubic-bezier(.2, .8, .2, 1) both; }
.receipt-tick { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: #DCFCE7; color: #16A34A; }
.receipt-tick .icon { width: 34px; height: 34px; stroke-width: 3; }
.receipt-card h2 { margin: 0 0 6px; font-size: 22px; }
.receipt-sub { margin: 0 0 16px; color: var(--slate); font-size: 14px; }
.receipt-rows { margin: 0 0 18px; padding: 4px 14px; border: 1px solid var(--rule); border-radius: 12px; text-align: left; }
.receipt-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.receipt-rows div:last-child { border-bottom: 0; }
.receipt-rows dt { color: var(--slate); }
.receipt-rows dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.receipt-actions { justify-content: center; }
body.has-modal { overflow: hidden; }
@media print { .receipt-modal { display: none !important; } }
.pay-check { margin: 0 0 14px; align-items: center; }

/* ======================================================================
   Quick on/off chips, revenue bars
   ====================================================================== */

.toggle-row { display: flex; flex-wrap: wrap; gap: 6px; }
.toggle-row form { margin: 0; }
.chip-toggle { padding: 4px 10px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--slate); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.chip-toggle::before { content: "○ "; }
.chip-toggle.is-on { border-color: #BBF7D0; background: #F0FDF4; color: var(--ok); }
.chip-toggle.is-on::before { content: "● "; }
.chip-toggle:hover { border-color: var(--blue); }
.bar-cell { width: 35%; }
.bar { display: block; height: 8px; min-width: 2px; border-radius: 4px; background: var(--blue); }
.top-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* ======================================================================
   Manage page: cPanel shortcuts and usage; email test results
   ====================================================================== */

.svc-links { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; margin-top: 4px; }
.svc-links a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.svc-links a:hover { border-color: var(--blue); color: var(--blue); }
.svc-links .icon { width: 16px; height: 16px; }
.usage-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.usage-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.usage-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; margin-bottom: 6px; }
.usage-bar { display: block; height: 8px; border-radius: 6px; background: var(--canvas); overflow: hidden; }
.usage-bar span { display: block; height: 100%; border-radius: 6px; background: var(--ok); }
.usage-bar.is-mid span { background: #F59E0B; }
.usage-bar.is-high span { background: var(--bad); }
.mail-diag { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mail-diag li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border-left: 5px solid; background: var(--canvas); }
.mail-diag li.is-ok { border-color: var(--ok); }
.mail-diag li.is-bad { border-color: var(--bad); }
.mail-diag .small { overflow-wrap: anywhere; color: var(--slate); }
