/* Hostking panel. Matches hostking.host (css/site.css): DM Sans for text,
   Newsreader for page titles, Geist Mono for small labels and technical values. */
/* DM Sans for text, as hostking.host uses (was Pathway Extreme, as Kinsta's pages use (Google Fonts, OFL, self-hosted; latin plus latin-ext). Titles in Newsreader,
   a free serif in the spirit of Kinsta's Reckless Neue. */
@font-face { font-family: 'DM Sans'; src: url('/fonts/DMSans-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('/fonts/Newsreader-Variable.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('/fonts/Newsreader-Italic-Variable.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/GeistMono-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --font-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;  /* headings: DM Sans like hostking.host's headlines (was Newsreader) */
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --blue: #2066FF; --blue-hover: #0F52B5; --navy: #0B1B3A; --side: #081633; --navy-2: #13254A; --navy-line: rgba(255,255,255,.12);
  --muted: #55637C; --border: #E5EAF2; --surface: #F7F8FB; --tint: #EEF3FC; --green: #1C7A45;
  --amber: #C77700; --amber-text: #8A4B00; --amber-bg: #FDF3E1; --red: #B42318; --red-bg: #FDECEA;
  --side-text: #B9C5DB; --side-accent: #6FAEFF;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font-sans); font-size: 16px; line-height: 1.55; color: var(--navy); background: var(--surface); }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
.mono { font-family: var(--font-mono); font-size: 13px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Shell */
.shell { display: flex; flex-wrap: wrap; min-height: 100vh; }
.side { flex: 1 1 240px; max-width: 256px; background: var(--side); color: var(--side-text); padding: 24px 16px; display: flex; flex-direction: column; gap: 4px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 12px 30px; color: #fff; }
.brand span { font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.brand .tag { font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--side-accent); border: 1px solid var(--navy-line); border-radius: 6px; padding: 2px 8px; }
.nav-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: 8px; color: var(--side-text); font-weight: 500; }
.nav-link > span { display: flex; align-items: center; gap: 12px; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.04); }
.nav-link.active { background: var(--navy-2); color: #fff; box-shadow: inset 3px 0 0 var(--side-accent); }
.nav-count { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; text-align: center; }
.side-foot { margin-top: auto; padding-top: 24px; }
.main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 40px; background: #fff; border-bottom: 1px solid var(--border); }
.search { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 14px; border: 1px solid var(--border); border-radius: 8px; flex: 0 1 440px; color: var(--muted); }
.search input { border: 0; outline: none; background: none; font: 14px var(--font-sans); color: var(--navy); flex: 1; min-width: 0; }
.user-menu { display: flex; align-items: center; gap: 12px; }
.avatar { width: 34px; height: 34px; border-radius: 999px; background: var(--tint); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.content { padding: 36px 40px 48px; display: flex; flex-direction: column; gap: 24px; }

/* Type */
h1.page { margin: 0; font-family: var(--font-serif); font-weight: 360; font-size: 38px; letter-spacing: -0.005em; line-height: 1.1; font-optical-sizing: auto; font-variation-settings: 'opsz' 36; text-rendering: geometricPrecision; }
h1.page em { font-style: italic; color: var(--blue); }
h2.section { margin: 0; font-weight: 500; font-size: 20px; letter-spacing: -0.01em; }
.card-title { font-weight: 500; font-size: 16px; }
.stat { font-weight: 300; font-size: 26px; letter-spacing: -0.01em; }
.label { color: var(--muted); font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: .04em; }

/* Building blocks */
.card { background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.card-pad { padding: 20px 24px; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 20px 24px 14px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.row-between { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 8px; border: 0; font: 500 15px var(--font-sans); cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--tint); color: var(--navy); }
.btn-sm { min-height: 38px; padding: 0 14px; }
.btn-link { background: none; border: 0; color: var(--side-text); font: 500 14px var(--font-sans); cursor: pointer; padding: 0; }
.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 999px; background: currentColor; }
.s-green { color: var(--green); } .s-amber { color: var(--amber-text); } .s-red { color: var(--red); } .s-grey { color: var(--muted); }
.nav-link.btn-link { padding: 0 14px; text-align: left; font-size: 15px; }
.card { overflow: hidden; }
.pill { white-space: nowrap; display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--blue); font-size: 13px; font-weight: 500; }
.badge-readonly { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--amber-bg); color: var(--amber-text); font-size: 13px; font-weight: 500; }
.bar { height: 6px; border-radius: 3px; background: var(--tint); width: 100%; }
.bar > span { display: block; height: 6px; border-radius: 3px; background: var(--blue); }
.bar.warn > span { background: var(--amber); }

/* Tables */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { white-space: nowrap; text-align: left; padding: 12px 20px; color: var(--muted); font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: .04em; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.table td { padding: 15px 20px; border-bottom: 1px solid var(--border); }
.table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
.empty { padding: 28px 24px; color: var(--muted); font-size: 14px; }

/* Forms */
.auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--surface); }
.auth-card { width: 100%; max-width: 420px; padding: 36px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 500; }
.input { min-height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: 8px; font: 15px var(--font-sans); color: var(--navy); background: #fff; }
.input:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
.error { background: var(--red-bg); color: var(--red); border-radius: 8px; padding: 10px 14px; font-size: 14px; margin-bottom: 16px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 20px; }

/* Site cards (client home) */
.site-card { overflow: hidden; display: block; color: inherit; }
.site-shot { height: 120px; background: var(--tint); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.site-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .side { max-width: none; flex-basis: 100%; padding: 16px; }
  .brand { padding-bottom: 12px; }
  .topbar, .content { padding-left: 16px; padding-right: 16px; }
}
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tool { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.tool .input { min-height: 38px; font-size: 13px; }
.tool .btn { align-self: flex-start; margin-top: auto; }
.tool .input:last-of-type { margin-bottom: 6px; }
/* Client dashboard */
.section-title { display: flex; align-items: center; gap: 10px; margin: 8px 0 -6px; font-family: var(--font-serif); font-weight: 360; font-size: 28px; letter-spacing: -0.005em; font-variation-settings: 'opsz' 36; }
.section-title svg { color: var(--blue); }
.site-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.site-tile { display: flex; align-items: stretch; overflow: hidden; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.site-tile:hover { border-color: #BFD6F8; box-shadow: 0 4px 16px rgba(32,102,255,.08); }
.site-icon { flex: 0 0 76px; display: flex; align-items: center; justify-content: center; background: var(--tint); color: var(--blue); }
.site-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; min-width: 0; }
.site-body .card-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 14px; align-items: center; }
.site-facts .warn { color: var(--amber-text); }
.count-tile { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; border: 1px solid var(--border); border-radius: 12px; }
.count { font-family: var(--font-serif); font-weight: 360; font-size: 40px; line-height: 1; margin-bottom: 6px; }
.big-number { font-family: var(--font-serif); font-weight: 360; font-size: 40px; line-height: 1.1; margin: 14px 0 12px; letter-spacing: -0.01em; }
.chart { display: block; width: 100%; height: 150px; }
.chart-x { display: flex; justify-content: space-between; margin-top: 6px; color: var(--muted); font-family: var(--font-mono); font-size: 11px; }
.rings { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.ring-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ring-legend li { display: flex; gap: 10px; align-items: flex-start; }
.ring-legend .swatch { width: 10px; height: 10px; border-radius: 3px; margin-top: 6px; flex: none; }
.ring-label { font-weight: 500; }
@media (max-width: 640px) { .site-row { grid-template-columns: 1fr; } .count { font-size: 32px; } .big-number { font-size: 32px; } }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 22px; cursor: pointer; border-width: 1.5px; }
.plan-card input { position: absolute; opacity: 0; }
.plan-card:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(32,102,255,.12); }
.plan-card:has(input:focus-visible) { outline: 3px solid #8DB4F5; outline-offset: 2px; }
.plan-facts { display: grid; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 14px; }
.attention { list-style: none; margin: 0; padding: 4px 0; }
.attention li { display: flex; align-items: center; gap: 12px; padding: 10px 24px; border-top: 1px solid var(--border); }
.attention li:first-child { border-top: 0; }
.attention a { color: inherit; }
.attention a:hover { color: var(--blue); }
.dot { width: 9px; height: 9px; border-radius: 99px; flex: none; }
.dot-red { background: var(--red); } .dot-amber { background: var(--amber); } .dot-grey { background: #9AA6BA; }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.settings-grid fieldset { margin: 0; padding: 16px; border: 1px solid var(--border); border-radius: 10px; display: grid; gap: 10px; align-content: start; }
.settings-grid legend { padding: 0 6px; }
.settings-grid label:not(.check) { display: grid; gap: 4px; font-size: 14px; font-weight: 500; }
.settings-grid .input { min-height: 38px; }
.sec-jails { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.sec-jail { padding: 14px; border: 1px solid var(--border); border-radius: 10px; }
.wp-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.wp-row-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.wp-row-actions .btn { min-height: 32px; padding: 0 12px; font-size: 13px; }
.perf-box { padding: 16px; border: 1px solid var(--border); border-radius: 10px; display: flex; flex-direction: column; gap: 6px; }
.perf-box p { margin: 4px 0 10px; }
.php-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; margin-top: 8px; }
.php-form label { display: grid; gap: 3px; font-size: 13px; font-weight: 500; }
.php-form .input { min-height: 36px; }
.php-form .btn { grid-column: 1 / -1; justify-self: start; }
.btn-danger { background: #fff; color: var(--red); border: 1.5px solid var(--red); }
.btn-danger:hover { background: var(--red-bg); color: var(--red); }
.mail-more { position: relative; }
.mail-more > summary { list-style: none; }
.mail-more > summary::-webkit-details-marker { display: none; }
.mail-more[open] > summary { background: var(--bg, #f5f7fb); }
/* "More" opens a full-width row under the mailbox (a pop-up would be cut off by the scrolling table). */
.mail-extra { display: none; }
tr:has(.mail-more[open]) + .mail-extra { display: table-row; }
.mail-extra > td { background: var(--bg, #f7f8fb); }
.mail-pop { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: start; padding: 6px 0; text-align: left; }
.mail-form { display: grid; gap: 8px; }
.mail-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 500; }
.mail-form textarea.input { min-height: 72px; padding: 8px 10px; resize: vertical; font: 400 14px var(--font-sans); }
.mail-form .btn { justify-self: start; }
.cron-form { display: grid; grid-template-columns: 220px 1fr auto; gap: 10px; align-items: end; margin-top: 14px; }
.cron-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 500; }
.cron-form .input { min-height: 38px; }
.cron-form .cron-custom:not([hidden]) { grid-column: 1; }
@media (max-width: 760px) { .cron-form { grid-template-columns: 1fr; } }
.cron-form [hidden], .mail-form [hidden] { display: none; }
.site-layout { margin-top: 18px; }
.site-menu { display: flex; gap: 2px; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; padding-bottom: 1px; border-bottom: 1px solid var(--border); margin-bottom: 22px; scrollbar-width: none; }
.site-menu a { padding: 10px 14px; white-space: nowrap; font-weight: 500; font-size: 15px; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.site-menu a:hover { color: var(--navy); }
.site-menu a.active { color: var(--navy); border-bottom-color: var(--blue); }
.site-main { min-width: 0; }
.site-main > section, .site-main > .grid { margin-bottom: 18px; }
.site-title { margin: 0 0 16px; font-family: var(--font-serif); font-weight: 360; font-size: 32px; letter-spacing: -0.005em; font-variation-settings: 'opsz' 36; }
.notice { border: 1px solid #BFD6F8; background: #EEF3FC; border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; }
.details-grid .mono { word-break: break-all; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.tool-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px 18px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tool-card .tool-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 4px; }
.tool-card h3 { margin: 0; font-size: 16px; font-weight: 600; }
.tool-card p { margin: 0 0 10px; font-size: 13.5px; color: var(--muted); }
.tool-card form, .tool-card > .btn { margin-top: auto; }
.tool-card .state { font-size: 12px; font-family: var(--font-mono); }
.details-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px 24px; }
.details-grid .label { margin-bottom: 4px; }
.copy-val { display: flex; align-items: center; gap: 6px; }
.copy-val button { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 2px 4px; border-radius: 6px; font-size: 13px; }
.copy-val button:hover { background: var(--tint); color: var(--blue); }
.danger-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.spinner { width: 34px; height: 34px; border: 3px solid var(--tint); border-top-color: var(--blue); border-radius: 50%; margin: 0 auto; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.usage-row { display: grid; grid-template-columns: 160px 1fr 140px; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.usage-row:last-child { border-bottom: 0; }
@media (max-width: 640px) { .usage-row { grid-template-columns: 1fr; gap: 4px; } }
.recent-job { border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: 10px; background: #fff; padding: 12px 16px; margin-bottom: 18px; }
.recent-job.recent-done { border-left-color: var(--green); }
.recent-job.recent-failed { border-left-color: var(--red); }
.recent-job pre { white-space: pre-wrap; background: var(--surface); padding: 10px; border-radius: 8px; margin: 8px 0 0; font-size: 13px; }
dialog.confirm { border: 0; border-radius: 14px; padding: 0; width: min(520px, 92vw); box-shadow: 0 24px 60px rgba(8, 22, 51, .25); }
dialog.confirm::backdrop { background: rgba(8, 22, 51, .45); }
dialog.confirm .dlg-head { padding: 18px 22px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
dialog.confirm .dlg-head h3 { margin: 0; font-size: 19px; }
dialog.confirm .dlg-body { padding: 18px 22px; }
dialog.confirm .what { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; background: var(--surface); }
dialog.confirm .what h4 { margin: 0 0 6px; font-size: 14px; }
dialog.confirm .what p { margin: 0; font-size: 14px; }
dialog.confirm .dlg-foot { padding: 14px 22px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }
.log-view { background: #081633; color: #E5EAF2; border-radius: 10px; padding: 14px; font-size: 12.5px; line-height: 1.5; white-space: pre-wrap; word-break: break-all; max-height: 560px; overflow: auto; margin: 0; }
.subtabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.subtabs a { padding: 6px 12px; border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--navy); border: 1px solid var(--border); }
.subtabs a.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.site-menu::-webkit-scrollbar { display: none; }
.rule-form { display: grid; grid-template-columns: 1fr 1.4fr 160px auto; gap: 10px; align-items: end; margin-top: 12px; }
.rule-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 500; }
.rule-form .input { min-height: 38px; }
@media (max-width: 760px) { .rule-form { grid-template-columns: 1fr; } }
.btn-google { width: 100%; background: #fff; color: var(--navy); border: 1.5px solid var(--border); font-weight: 500; }
.btn-google:hover { background: var(--surface); color: var(--navy); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.move-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; }
.move-form > label { display: grid; gap: 4px; font-size: 13px; font-weight: 500; }
.move-form .full { grid-column: 1 / -1; }
.move-form .when { border: 0; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.move-form .when-at { display: grid; gap: 4px; font-size: 13px; font-weight: 500; }
.move-form .when-at[hidden] { display: none; }
.move-form textarea.input { min-height: 80px; padding: 8px 10px; font: 400 14px var(--font-sans); }
@media (max-width: 760px) { .move-form { grid-template-columns: 1fr; } }
.move-form > label.check { display: flex; gap: 8px; align-items: center; font-weight: 400; font-size: 14px; }
.copy-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--tint); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.copy-box .mono { word-break: break-all; }
.list-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.list-tools .bulk-bar { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.list-tools .bulk-bar[hidden] { display: none; }
#site-table tr[hidden] { display: none; }

.staff-note{background:#FFF7E6;border:1px solid #F5D9A3;color:#7A4B00;border-radius:10px;padding:10px 14px;margin-bottom:14px;font-size:14px}
.staff-note a{color:#7A4B00;font-weight:600;text-decoration:underline}

.notice{background:#EEF3FC;border:1px solid #BFD6F8;color:#14396F;border-radius:10px;padding:10px 14px;margin-bottom:16px;font-size:14px}
.login-as-bar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:#FFF7E6;border-bottom:1px solid #F5D9A3;color:#7A4B00;padding:10px 24px;font-size:14px}
.login-as-bar .btn{background:#fff}
.login-hist td{font-size:13px}
.login-hist .bad{color:var(--red)}

/* Billing */
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.inv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; margin-top: 18px; }
@media (max-width: 960px) { .inv-layout { grid-template-columns: 1fr; } }
.inv-layout > aside { display: grid; gap: 16px; }
.inv-layout .card { margin: 0; }
.inv-doc .inv-head { display: flex; justify-content: space-between; gap: 20px; padding: 22px 20px 16px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.inv-title { font-family: var(--font-serif); font-size: 26px; line-height: 1.1; }
.inv-meta { display: flex; justify-content: space-between; gap: 20px; padding: 16px 20px; flex-wrap: wrap; font-size: 14px; }
.inv-dates { display: grid; gap: 4px; min-width: 200px; }
.inv-dates > div { display: flex; justify-content: space-between; gap: 18px; }
.inv-items tfoot td { padding-top: 6px; padding-bottom: 6px; border-bottom: 0; }
.inv-items tfoot tr:first-child td { border-top: 1px solid var(--border); padding-top: 12px; }
.inv-items .inv-due td { font-weight: 700; font-size: 17px; border-top: 2px solid var(--navy); padding-top: 10px; }
.pay-eft { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.bill-due { background: #081633; color: #fff; border-color: #081633; border-top: 4px solid #2066FF; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid label { display: grid; gap: 4px; font-size: 13px; font-weight: 500; }
.form-grid .span-2 { grid-column: span 2; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-grid .span-2 { grid-column: auto; } }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.filters .input { min-height: 38px; width: auto; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.money-in { color: var(--green); } .money-out { color: var(--red); }
.actions-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.domain-result { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.tld-prices { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; color: var(--muted); }
.tld-prices b { color: var(--navy); }

.plan-pick { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
.plan-pick:has(input:checked) { border-color: var(--blue); background: var(--tint); }

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.dns-form { display: grid; grid-template-columns: 170px 1fr 110px 2fr 120px auto; gap: 10px; align-items: end; }
.dns-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 500; min-width: 0; }
.dns-form .input { min-height: 38px; }
.mail-extra .dns-form { display: flex; flex-wrap: wrap; } .mail-extra .dns-form label { flex: 1 1 110px; } .mail-extra .dns-form .wide { flex: 3 1 260px; }
@media (max-width: 900px) { .dns-form { grid-template-columns: 1fr 1fr; } .dns-form .wide { grid-column: 1 / -1; } }
/* File pickers: the button sits in the middle of the box like the other fields. */
input.input[type=file] { padding: 6px 8px; line-height: 30px; font-size: 14px; color: var(--muted, #55637C); }
input.input[type=file]::file-selector-button { height: 30px; margin: 0 12px 0 0; padding: 0 14px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg, #F7F8FB); color: var(--navy); font: 500 14px var(--font-sans); cursor: pointer; vertical-align: middle; }
input.input[type=file]::file-selector-button:hover { border-color: var(--blue); }
.spam-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; }
.spam-form .full { grid-column: 1 / -1; }
.spam-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 500; }
.spam-form .input { min-height: 38px; }
.spam-form textarea.input { min-height: 90px; padding: 8px 10px; font-size: 13px; }
@media (max-width: 700px) { .spam-form { grid-template-columns: 1fr; } }
.ticket-img { display: block; margin: 8px 0; max-width: 100%; }
.ticket-img img { max-width: min(100%, 720px); max-height: 520px; border: 1px solid var(--border); border-radius: 8px; display: block; }
.nav-group { margin: 14px 14px 4px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--side-text); opacity: .72; }
.plan-usage { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px 18px; }
.plan-usage .bar { height: 4px; border-radius: 4px; background: var(--border); margin-top: 4px; overflow: hidden; }
.plan-usage .bar span { display: block; height: 100%; border-radius: 4px; }

/* Public help, announcements and status pages */
body.public { background: var(--bg, #F5F7FB); }
.pub-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 24px; background: #fff; border-bottom: 1px solid var(--border); }
.pub-head nav { display: flex; gap: 18px; flex-wrap: wrap; }
.pub-head nav a { color: var(--text, #0B1B3A); font-weight: 500; }
.pub-head nav a.active { color: var(--blue); }
.pub-main { max-width: 880px; margin: 0 auto; padding: 32px 16px 64px; }
.article-body { line-height: 1.65; }
.article-body img { max-width: 100%; height: auto; }
.article-body pre, .article-body code { white-space: pre-wrap; word-break: break-word; }
.article-body table { border-collapse: collapse; max-width: 100%; display: block; overflow-x: auto; }
.article-body td, .article-body th { border: 1px solid var(--border); padding: 6px 10px; }
.kb-list a { display: block; padding: 12px 0; border-top: 1px solid var(--border); }
.kb-list a:first-child { border-top: 0; }
.status-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }

/* Phones: long names (domains, subjects) wrap instead of widening the page */
h1.page, h2.section, .card-title { overflow-wrap: anywhere; }
.row-between > * { min-width: 0; max-width: 100%; }
@media (max-width: 640px) {
  h1.page { font-size: 30px; }
  .row-between > div:first-child { flex: 1 1 100%; }
}
.side-links { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .side { position: sticky; top: 0; z-index: 30; padding: 10px 16px; }
  .brand { padding: 0; justify-content: flex-start; }
  .brand img { height: 26px; width: auto; }
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; min-height: 44px; padding: 0 14px; background: none; color: #fff; border: 1px solid var(--navy-line); border-radius: 8px; font: 500 14px var(--font-sans); cursor: pointer; }
  .side-links { display: none; padding-top: 10px; max-height: calc(100vh - 64px); overflow-y: auto; }
  .side.open .side-links { display: flex; }
  .side-foot { padding-top: 12px; }
  .nav-link { min-height: 44px; }
  .topbar { padding-top: 10px; padding-bottom: 10px; }
  .topbar .search { flex: 1 1 auto; }
  .user-menu > span:last-child { display: none; }
}
.check-list { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; align-content: start; }
.check-list legend { padding: 0; margin-bottom: 4px; }
.saved-pick { position: relative; flex: 1 1 220px; }
.saved-pick .results { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; max-height: 280px; overflow-y: auto; background: var(--surface, #fff); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.saved-pick .results button { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; background: none; font: 14px var(--font-sans); cursor: pointer; border-bottom: 1px solid var(--border); }
.saved-pick .results button:hover, .saved-pick .results button:focus { background: var(--tint); }
.saved-pick .results small { display: block; color: var(--muted); }
@media (max-width: 900px) { .shell { align-content: flex-start; } .side { align-self: flex-start; } }
/* Form fields never push past their card (grid items default to their content's width) */
.input { max-width: 100%; box-sizing: border-box; }
.move-form > *, .form-grid > *, .cron-form > *, .rule-form > *, .dns-form > *, .spam-form > *, .field-row > *, .grid-2 > *, .grid-3 > * { min-width: 0; }
.move-form label > .input, .form-grid label > .input { width: 100%; }
input[type=file].input { font-size: 13px; }
/* Phones: a table marked .stack shows each row as a small card (first cell on top, the rest underneath) */
@media (max-width: 640px) {
  .table.stack thead { display: none; }
  .table.stack, .table.stack tbody, .table.stack tr { display: block; width: 100%; }
  .table.stack tr { padding: 12px 16px; border-bottom: 1px solid var(--border); }
  .table.stack td { display: inline-block; border: 0; padding: 2px 10px 2px 0; vertical-align: middle; }
  .table.stack td:first-child { display: block; padding: 0 0 4px; }
  .table.stack td[data-label]::before { content: attr(data-label) ' '; color: var(--muted); }
}
@media (max-width: 640px) {
  .table.stack.ticks td:first-child { display: inline-block; padding: 0 8px 0 0; vertical-align: top; }
  .table.stack.ticks td:nth-child(2) { display: inline-block; width: calc(100% - 34px); padding: 0 0 4px; }
  .table.stack td.num { text-align: left !important; }
}
.form-grid > label.check { display: flex; flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.form-grid > label.check input { flex: none; }
/* Staff meetings and notices (shown at the top of staff pages) */
.staff-banners{display:grid;gap:0}
.staff-banner{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:12px 24px;border-bottom:1px solid var(--border);background:#EAF2FF;color:#0B3A82}
.staff-banner.sb-soon{background:#FFF7E6;color:#7A4B00}
.staff-banner.sb-live,.staff-banner.sb-urgent{background:var(--red-bg);color:var(--red)}
.staff-banner.sb-important{background:var(--amber-bg);color:var(--amber-text)}
.staff-banner.sb-info{background:#F3F6FA;color:inherit}

/* ---- Consistent forms and tables everywhere (added after a design review) ---- */
/* A label wraps its field: the words sit above the box, both full width. */
main form label:not(.check):not(.btn):not(.nav-link):not(.inline) { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--navy); min-width: 0; }
main form label:not(.check):not(.inline) > .input, main form label:not(.check):not(.inline) > select, main form label:not(.check):not(.inline) > textarea { width: 100%; }
main form > label + label, main form > label + .grid, main form > .grid + label, main form > label + .form-grid { margin-top: 14px; }
textarea.input { min-height: 96px; padding: 10px 14px; line-height: 1.5; resize: vertical; }
textarea.input.mono, .input.mono { font-family: var(--font-mono); font-size: 13px; }
select.input { padding-right: 32px; }
.card-pad > p.muted:first-of-type, .card-pad > .card-title + p { margin: 6px 0 16px; max-width: 72ch; }
/* Links styled as buttons inside pages are blue (the light grey is only for the dark menu). */
main .btn-link { color: var(--blue); }
main .btn-link:hover { color: var(--blue-hover); text-decoration: underline; }
/* Tables: short values never wrap mid-phrase; action cells line up their buttons. */
.table td { vertical-align: middle; }
.table td.nowrap, .table td[data-label="Since"], .table td[data-label="Until"], .table td[data-label="When"], .table td[data-label="Date"], .table td[data-label="Due"], .table td[data-label="Expires"], .table td[data-label="Renews"], .table td[data-label="Issued"], .table td[data-label="Created"], .table td[data-label="Last seen"], .table td[data-label="First seen"], .table td[data-label="Sent"], .table td[data-label="Asked"], .table td[data-label="Approved"], .table td[data-label="Checked"], .table td[data-label="Changed"], .table td[data-label="Last email"], .table td[data-label="Code"] { white-space: nowrap; }
/* Long free text (reasons, notes, paths) wraps and breaks long words instead of pushing the table wider than the page. */
.table td { overflow-wrap: break-word; }
.table td.actions, .table td:last-child > form + form { white-space: nowrap; }
.table td:last-child > form { display: inline-block; vertical-align: middle; margin: 2px 0 2px 6px; }
.table td:last-child > form:first-child { margin-left: 0; }
/* Tab rows that are wider than the page scroll sideways with a soft edge instead of being cut off. */
.site-menu { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
.site-menu:not(:hover) { scroll-behavior: smooth; }
@media (min-width: 1200px) { .site-menu { -webkit-mask-image: none; mask-image: none; } }
/* The sidebar: one line per entry, quieter group headings. */
.side .nav-link span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side .nav-group { margin-top: 18px; }

/* ---- Design pass: one rhythm for every page ---- */
/* Page sections are spaced by .content's gap only; stray margins on top-level blocks are ignored. */
.content > .card, .content > section, .content > .grid, .content > .site-menu, .content > .notice, .content > .error, .content > .filters, .content > .subtabs, .content > form, .content > .tool-grid, .content > .tools-grid { margin-top: 0 !important; margin-bottom: 0 !important; }
.content > h1.page + .site-menu, .content > .row-between + .site-menu { margin-top: -6px !important; }
.content > .site-menu + .site-menu { margin-top: -10px !important; }
/* Tables inside a card line up with the card's heading (24px), not 20px in. */
.card > .table-wrap > .table th:first-child, .card > .table-wrap > .table td:first-child, .card > .table th:first-child, .card > .table td:first-child { padding-left: 24px; }
.card > .table-wrap > .table th:last-child, .card > .table-wrap > .table td:last-child, .card > .table th:last-child, .card > .table td:last-child { padding-right: 24px; }
.table th.num, .table td.num { text-align: right; }
/* Row actions: buttons sit side by side and the column takes only the room it needs. */
.table td:has(> .wp-row-actions), .table td:has(> .actions-row), .table td.actions { width: 1%; white-space: nowrap; }
.table .wp-row-actions, .table .actions-row { flex-wrap: nowrap; justify-content: flex-end; }
.table td .btn:not(.btn-sm) { min-height: 34px; padding: 0 12px; font-size: 14px; }
/* Long technical values break only where they must. */
.table td.mono, .table td .mono { overflow-wrap: break-word; word-break: normal !important; }
.table td.nowrap, .table th.nowrap, .table td .nowrap { white-space: nowrap; }
/* Labels: the words sit at the top so fields in one row line up. */
main form label:not(.check):not(.btn):not(.nav-link):not(.inline) { align-content: start; }
.form-grid { gap: 16px 16px; }
.form-grid > label.check, .form-grid > .check { grid-column: 1 / -1; }
.form-grid > :last-child:has(> .btn), .form-grid > .btn:last-child { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
/* Headings at the top of a padded card get the same space under them everywhere. */
.card-pad > h2.section:first-child, .card-pad > .card-title:first-child { margin: 0 0 6px; }
.card-pad > h2.section:first-child + p, .card-pad > .card-title:first-child + p { margin-top: 0; }
.card-head + .card-pad { padding-top: 0; }
.card-head > .muted, .card-head > .small { text-align: right; }
/* A second row of choices under the page tabs reads as filters, not as more tabs. */
.subtabs { margin-bottom: 0; }
.subtabs a { white-space: nowrap; }
.subtabs a:hover:not(.active) { background: var(--tint); }
/* Empty states: quiet, with room to breathe but no more. */
.card-head + .empty { padding-top: 4px; }
/* Tab rows: fit on wide screens, scroll sideways on narrow ones. */
@media (min-width: 1200px) { .site-menu a { padding: 10px 12px; } }
/* Phones: tighter card padding, buttons that wrap neatly, and stacked tables that read as small cards. */
@media (max-width: 640px) {
  .content { gap: 18px; padding-top: 24px; }
  .card-pad { padding: 16px 18px; }
  .card-head { padding: 16px 18px 10px; }
  .card > .table-wrap > .table.stack td:first-child, .card > .table.stack td:first-child { padding-left: 0; }
  .table.stack tr { padding: 12px 18px; }
  .table.stack td:last-child { padding-right: 0; }
  .table.stack td:has(> .wp-row-actions), .table.stack td:has(> .actions-row) { display: block; width: auto; padding-top: 6px; }
  .table.stack .wp-row-actions, .table.stack .actions-row { justify-content: flex-start; flex-wrap: wrap; }
  .row-between > .actions-row, .row-between > div:last-child { flex-wrap: wrap; }
}
/* Abuse warnings at the top of staff pages: one compact panel, colour only where it means something. */
.abuse-bar { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.abuse-line { --tone: var(--muted); --tone-bg: var(--surface); display: grid; grid-template-columns: minmax(170px, auto) 1fr auto; align-items: center; gap: 4px 16px; padding: 10px 16px 10px 14px; border-left: 4px solid var(--tone); font-size: 13.5px; line-height: 1.45; }
.abuse-line + .abuse-line { border-top: 1px solid var(--border); }
.abuse-line.tone-red { --tone: var(--red); --tone-bg: var(--red-bg); background: #FFF8F7; }
.abuse-line.tone-amber { --tone: var(--amber); --tone-bg: var(--amber-bg); background: #FFFCF5; }
.abuse-line.tone-green { --tone: var(--green); }
.abuse-label { display: inline-flex; align-items: center; gap: 8px; color: var(--tone); font-weight: 600; white-space: nowrap; }
.abuse-line.tone-amber .abuse-label { color: var(--amber-text); }
.abuse-line.tone-amber .abuse-btn { background: var(--amber-text); }
.abuse-items { min-width: 0; color: var(--navy); }
.abuse-items a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--tone) 45%, transparent); text-underline-offset: 2px; }
.abuse-items a:hover { color: var(--tone); }
.abuse-btn { justify-self: end; white-space: nowrap; padding: 4px 12px; border-radius: 6px; background: var(--tone); color: #fff; font-size: 12.5px; font-weight: 600; }
.abuse-btn:hover { color: #fff; filter: brightness(.92); }
.abuse-warn { flex: none; background: var(--red); color: #fff; font-weight: 700; font-size: 11px; letter-spacing: .04em; padding: 2px 7px; border-radius: 4px; animation: abuse-flash 1s steps(1, end) infinite; }
@keyframes abuse-flash { 50% { background: #fff; color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); } }
@media (prefers-reduced-motion: reduce) { .abuse-warn { animation: none; } }
@media (max-width: 760px) { .abuse-line { grid-template-columns: 1fr auto; } .abuse-items { grid-column: 1 / -1; grid-row: 2; } }
.abuse-stop { padding: 14px 18px; background: var(--red); color: #fff; border-radius: 12px; line-height: 1.5; }
.abuse-stop-title { font-size: 19px; font-weight: 700; }
.abuse-stop-head { font-weight: 600; }
.abuse-stop a { color: #fff; text-decoration: underline; }
.content > .abuse-bar, .content > .abuse-stop { margin: 0; }
/* Stacked forms space their fields; grid and inline forms use their own gap. */
main form:is(.form-grid, .php-form, .move-form, .spam-form, .rule-form, .cron-form, .dns-form, .mail-form, .filters, .field-row, [style*="grid"], [style*="flex"]) > :is(label, .grid, .form-grid) { margin-top: 0; }
.form-grid > .span-2, .form-grid > label.span-2 { grid-column: 1 / -1; }
.form-grid > .check, .settings-grid .check, .move-form > .check { margin: 0; }
/* DNS editor */
.card-row { margin: 0 0 6px; align-items: baseline; }
.dns-state { margin: 0 0 14px; }
.dns-state.warn { color: var(--amber-text); }
.dns-role { font-family: var(--font-sans); }
.dns-table td:first-child { max-width: 260px; }
.dns-table .pill { font-family: var(--font-mono); font-size: 12px; padding: 2px 8px; }
.dns-add { margin-top: 16px; }
.dns-form .full { grid-column: 1 / -1; margin: 0; }
.more-tools { margin-top: 16px; }
.more-tools > summary { cursor: pointer; color: var(--muted); }
.more-tools > summary:hover { color: var(--navy); }
.stack-form { display: grid; gap: 10px; margin-top: 12px; justify-items: start; }
.stack-form > label { justify-self: stretch; }
.stack-form textarea.input { min-height: 120px; font-size: 12.5px; }
@media (max-width: 640px) { .dns-table td:first-child { max-width: none; } .dns-form { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .table.stack tr.mail-extra { display: none; } .table.stack tr:has(.mail-more[open]) + tr.mail-extra { display: block; } .table.stack tr.mail-extra > td { display: block; padding: 0; } }
/* Small shared pieces */
.flush { margin: 0; }
.card-sub { margin: 0 0 16px; }
.card-foot { margin-top: 18px; }
.pin-line { margin: -6px 0 0; }
.pin-line .mono { font-size: 14px; color: var(--navy); letter-spacing: .04em; }
.count-row { gap: 16px; }
.count-tile.card { background: #fff; }
.section-title { margin: 12px 0 -8px; }
/* Getting started checklist (client home) */
.checklist-bar { margin: 4px 0 18px; height: 4px; }
.checklist-bar > span { height: 4px; background: var(--green); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .tick { flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; border: 1.5px solid #CFD6E4; }
.checklist a { font-weight: 600; }
.checklist .done .tick { background: var(--green); border-color: var(--green); color: #fff; }
.checklist .done a { color: var(--muted); font-weight: 500; }
h2.section .muted { font-weight: 400; }
.strong { font-weight: 600; }
.plan-row { padding: 16px 24px; border-top: 1px solid var(--border); }
.plan-row .row-between { margin: 0; gap: 12px; align-items: center; }
.plan-usage-line { margin-top: 4px; }
.plan-row .actions-row .input { min-height: 38px; width: 260px; }
.card-error { margin: 0 24px 16px; }
.card-intro { margin: -6px 24px 14px; max-width: 72ch; }
.list-tools .input[type=search] { min-height: 38px; max-width: 260px; }
.table th.tick-col { width: 1%; }
@media (max-width: 640px) { .plan-row { padding: 14px 18px; } .plan-row .actions-row .input { width: 100%; flex: 1 1 200px; } .card-error { margin: 0 18px 14px; } .card-intro { margin: -4px 18px 12px; } }
/* Page header with meta line and actions (website, server, ticket pages) */
.page-head { align-items: flex-end; gap: 14px; }
.page-meta { margin-top: 8px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.card-danger { border-color: #F3C7C2; }
.card-pad > p:last-child { margin-bottom: 0; }
.flush-bottom { margin-bottom: 0; }
.job-line { margin: 0; gap: 10px; align-items: center; }
.job-line + .job-line { margin-top: 6px; }
.job-note { margin-top: 6px; }
.site-layout { margin-top: 0; }
.site-title { font-size: 28px; margin: 4px 0 18px; }
/* Inside a website's tabs every card uses the same title size and body text size. */
.site-main .card h2.section { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.site-main .card-pad > p.muted:not(.small) { font-size: 14px; }
.page-intro { margin: -8px 0 0; max-width: 68ch; }
.content > .page-intro { margin-top: -10px; }
.section-intro { display: grid; gap: 8px; justify-items: start; max-width: 680px; margin-top: 8px; }
.section-intro p { margin: 0; }
.section-intro .copy-box { justify-self: stretch; }
.reward-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: start; }
.reward-head p { margin: 4px 0 0; }
.reward-head .stat { white-space: nowrap; line-height: 1.2; }
.reward-foot { margin-top: 14px; }
.reward-form { margin-top: 14px; }
/* The one-line introduction under a page title */
.content > h1.page + p.muted, .content > .row-between + p.muted, .content > h1.page + .page-intro { margin: -12px 0 0 !important; max-width: 72ch !important; font-size: 15px; }
.label + .stat, .label + .big-number { margin-top: 6px; }
.inv-dates { align-content: start; gap: 6px; }
.brand .menu-btn span { font-size: 14px; font-weight: 500; letter-spacing: 0; }
.move-form.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .move-form.two { grid-template-columns: 1fr; } }
.card-pad > h2.section + form, .card-pad > .card-title + form { margin-top: 14px; }
.crumbs { margin: 0; }
.card-summary { cursor: pointer; font-weight: 600; }
details.card > summary { list-style-position: inside; }
.table td.bar-cell { width: 110px; }
@media (max-width: 640px) { .table.stack td.bar-cell { width: 90px; } }
.attention .attn-dismiss { margin-left: auto; } .attention .attn-dismiss .btn-link { color: var(--muted); } .attention .attn-dismiss .btn-link:hover { color: var(--blue); }
/* Search box and main button on the right of a page title */
.page-tools { display: flex; gap: 10px; align-items: center; flex-wrap: nowrap; }
.page-tools .search { background: #fff; flex: 0 1 340px; min-width: 220px; }
.page-tools .btn { flex: none; }
@media (max-width: 640px) { .page-tools { flex-wrap: wrap; width: 100%; } .page-tools .search { flex: 1 1 100%; } }
.subtabs.page-meta { margin-top: 10px; gap: 6px; }
/* A row of fields with the button at the end of the row */
.inline-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.inline-form > .field { margin: 0; flex: 0 1 auto; }
.inline-form > .field:first-of-type { flex: 1 1 240px; }
.inline-form > .btn, .inline-form > button { flex: none; }
.form-note { margin: 12px 0 0; }
.inline-form > .field { min-width: 0; max-width: 100%; }
.inline-form .field > .input { width: 100%; }
@media (max-width: 640px) { .inline-form > .field { flex: 1 1 100%; } }
.stack-form > textarea.input { width: 100%; justify-self: stretch; }
.icon-btn { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 6px; background: none; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.icon-btn:hover { background: var(--red-bg); color: var(--red); }
.check-row { gap: 8px; padding: 4px 0; align-items: center; flex-wrap: nowrap; }
.check-row .check { margin: 0; }
.note-item { border-top: 1px solid var(--border); padding: 12px 0 0; margin-top: 12px; }
.note-item > div:last-child { white-space: pre-wrap; }
/* Breadcrumb line sits close to the title under it */
.content > :is(p, div).small:has(+ h1.page, + .row-between, + .page-head) { margin: 0 0 -14px !important; }
.content > h1.page + p.small, .content > h1.page + .muted.small { margin-top: -14px !important; }
@media (max-width: 900px) { .ticket-layout { grid-template-columns: 1fr !important; } }
/* Cards stacked inside a plain wrapper never touch */
:is(div, section, form, main):not(.content):not([class*="grid"]):not([style*="grid"]):not([style*="flex"]):not(.row-between):not(.actions-row) > :is(.card, .recent-job) + :is(.card, details.card) { margin-top: 16px; }
.page-head .actions-row .input, .row-between .actions-row .input { min-height: 38px; }
.card-pad > .empty { padding: 0; }
/* Page introduction: one plain sentence, with the details folded away */
.page-intro { max-width: 72ch; }
.page-intro > p { margin: 0; font-size: 15px; }
.intro-more { margin-top: 6px; font-size: 14px; color: var(--muted); }
.intro-more > summary { cursor: pointer; width: max-content; font-size: 13px; color: var(--blue); }
.intro-more > summary:hover { color: var(--blue-hover); }
.intro-more > p { margin: 6px 0 0; line-height: 1.6; }
.content > h1.page + .page-intro, .content > .row-between + .page-intro, .content > .page-head + .page-intro { margin-top: -12px !important; }
.content > .site-menu + .subtabs, .content > .subtabs + .card, .content > .subtabs + section { margin-top: -8px !important; }
.subtabs .nav-count { margin-left: 4px; }
.subtabs a.active .nav-count { background: #fff; color: var(--navy); }
.table td .btn { min-height: 32px; padding: 0 12px; font-size: 13.5px; }
.bulk-confirm { flex: 0 1 300px; min-width: 220px; }
/* Filter links drawn as pills look and behave like .subtabs */
a.pill { background: #fff; color: var(--navy); border: 1px solid var(--border); padding: 5px 12px; font-size: 14px; font-weight: 400; }
a.pill:hover { background: var(--tint); color: var(--navy); }
a.pill.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.late { color: var(--red); font-weight: 600; }
/* A tick box whose label has links or notes in it reads as one sentence, not as columns */
label.check:has(> span, > a, > b, > strong, > em) { display: block; padding-left: 26px; text-indent: -26px; line-height: 1.5; }
label.check:has(> span, > a, > b, > strong, > em) > input:is([type=checkbox],[type=radio]) { margin: 0 8px 0 0; vertical-align: -2px; }
label.check:has(> span, > a, > b, > strong, > em) > * { text-indent: 0; }
/* Filter pills on the left, search on the right */
.filter-bar { display: flex; gap: 12px 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.filter-bar .filters { margin: 0; flex: 0 1 420px; }
.filter-bar .filters .input { flex: 1 1 200px; }
.filters .input[type=search] { flex: 1 1 260px; }
.card-head { flex-wrap: wrap; }
.card-head > h2.section, .card-head > .card-title { flex: 0 1 auto; }
.card-head > .muted, .card-head > .small { flex: 1 1 260px; }
.todo-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 12px; }
.todo-list .muted.small { margin-top: 2px; }
.card-empty { margin: 0; padding: 0 24px 20px; } .card-head + .card-empty { padding-top: 2px; } .form-actions { margin-top: 18px; }
.list-tools { padding: 14px 24px; } @media (max-width: 640px) { .list-tools { padding: 12px 18px; } }
main form[style*="flex"]:has(> label:not(.check)) { align-items: flex-end; }
.row-between > form.filters { flex-wrap: nowrap; margin: 0; } .row-between > form.filters .input { min-width: 240px; } @media (max-width: 640px) { .row-between > form.filters { width: 100%; } .row-between > form.filters .input { min-width: 0; flex: 1 1 auto; } }
@media (max-width: 760px) { .abuse-line { grid-template-columns: minmax(0, 1fr) auto; } .abuse-label { white-space: normal; flex-wrap: wrap; min-width: 0; } .abuse-items { overflow-wrap: anywhere; } }
.mono { overflow-wrap: anywhere; }
/* A search row: the box takes the room, the button sits beside it. */
.actions-row > .input[type="search"], .actions-row > input.input[name="q"] { flex: 1 1 320px; max-width: 520px; }
/* Search results */
.search-hit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 24px; border-top: 1px solid var(--border); color: var(--navy); }
.search-hit:hover { background: var(--tint); color: var(--navy); }
.search-hit-title { font-weight: 500; overflow-wrap: anywhere; }
.topbar form.search { margin: 0; }
.filter-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.client-filters .actions-row > .input { flex: 1 1 340px; max-width: none; }
/* Paging under a list */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 20px; }
.pager-buttons { display: flex; align-items: center; gap: 10px; }
.pager .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
/* Website "More" page: plain link cards */
.more-grid .more-card { color: inherit; text-align: left; align-items: flex-start; transition: border-color .15s; }
.more-grid .more-card:hover { border-color: #BFD6F8; }
.more-grid .more-card h3 { color: var(--navy); }
.more-grid .more-card p { margin: 0; }
.site-main > .crumbs { margin: 4px 0 -12px; }
/* A second tab row straight under the first one is the page's own sections: drawn as pills, like .subtabs */
.site-menu + .site-menu { margin-top: -8px !important; border-bottom: 0; gap: 6px; flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; padding-bottom: 0; }
.site-menu + .site-menu a { padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; margin: 0; font-size: 14px; font-weight: 400; color: var(--navy); background: #fff; }
.site-menu + .site-menu a:hover { background: var(--tint); }
.site-menu + .site-menu a.active { background: var(--navy); border-color: var(--navy); color: #fff; }
/* Two-way switch (Server tools → Mail) */
.seg { display: inline-flex; align-self: flex-start; padding: 3px; gap: 2px; border-radius: 10px; background: var(--tint); border: 1px solid var(--border); }
.seg a { padding: 6px 14px; border-radius: 7px; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.seg a:hover { color: var(--navy); }
.seg a.active { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(8, 22, 51, .12); }
.content > .site-menu + .seg { margin-top: -6px; }
.content > .seg + .subtabs { margin-top: -10px !important; }
.content > .site-menu + .subtabs { margin-top: -8px !important; }
select.input[multiple] { padding: 6px 8px; min-height: 120px; } select.input[multiple] option { padding: 3px 6px; border-radius: 4px; }

/* ServerGuard overview */
.guard-status { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--border); background: #fff; }
.guard-status.is-ok { border-color: color-mix(in srgb, var(--green) 35%, var(--border)); }
.guard-status.is-warn { border-color: color-mix(in srgb, var(--amber, #b45309) 45%, var(--border)); }
.guard-status .dot { align-self: center; }
a.tile { display: block; text-decoration: none; color: inherit; transition: border-color .15s; }
a.tile:hover { border-color: var(--blue); }
a.tile .stat { margin: 6px 0 4px; }

/* Website Doctor */
.doctor { border-left: 4px solid var(--border); }
.doctor-green { border-left-color: var(--green); } .doctor-amber { border-left-color: var(--amber); } .doctor-red { border-left-color: var(--red); }
.doctor-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.doctor-list li { display: flex; gap: 10px; align-items: flex-start; }
.doctor-list .dot { margin-top: 7px; flex: none; }
.doctor-auto { margin-left: auto; }
.doctor-uptime { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); }
.doctor-last pre { background: var(--surface); padding: 10px; border-radius: 8px; }
details.site-details > summary { list-style: none; } details.site-details > summary::-webkit-details-marker { display: none; }
.dot-green { background: var(--green); }
.doctor-uptime .dot, p .dot { display: inline-block; margin-right: 4px; vertical-align: 1px; }

.abuse-folded { margin: 0 0 14px; padding: 6px 2px; }
.abuse-folded a { color: inherit; text-decoration: underline; text-decoration-color: var(--border); }

@media (max-width: 700px) {
  .abuse-line .abuse-items { display: none; }
  .abuse-line { padding: 6px 10px; }
  .staff-banners { font-size: 13px; }
}

.side-version { display: block; padding: 8px 14px 4px; font-size: 11px; color: rgba(255,255,255,.45); text-decoration: none; }
.side-version:hover { color: rgba(255,255,255,.8); }

/* Tiles in a grid never take the stacked-card spacing */
.site-row > .card, .grid > .card, .grid > section { margin-top: 0 !important; margin-bottom: 0 !important; }

/* A label that starts with a tick box or radio reads as one line of text */
label:has(> input:is([type=radio],[type=checkbox]):first-child):not(.check) { display: block; }
label:has(> input:is([type=radio],[type=checkbox]):first-child):not(.check) > input:first-child { margin: 0 6px 0 0; vertical-align: -2px; }

.row-action > summary { list-style: none; display: inline-flex; cursor: pointer; } .row-action > summary::-webkit-details-marker { display: none; }
.card-head .bulk-bar { display: flex; gap: 8px; align-items: center; }
.card-head .bulk-bar[hidden] { display: none; }
.tile-link { display: block; transition: border-color .15s; } .tile-link:hover { border-color: var(--blue, #1a66e8); } .tile-link .card-title { color: var(--ink, inherit); }
/* Links inside running text are underlined, so they do not rely on colour alone (WCAG 1.4.1). */
p a:not(.btn), li a:not(.btn), .notice a:not(.btn), .pin-line a, .small a:not(.btn), .empty a:not(.btn) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
nav a, .site-menu a, .subtabs a, .crumbs a, td > a, .card-title a, h1 a, h2 a, h3 a, .tile-link, .table a, .checklist a, .attention a { text-decoration: none; }

/* =====================================================================
   Client area, 26 Oct 2026: the MyKinsta look. Navy top bar with logo,
   search and account; light sidebar with a soft pill for the page you
   are on; warm off-white page; white cards with hairline borders;
   compact 14px text; navy primary buttons, light secondary ones.
   Staff pages keep the dark sidebar (body.staff-area).
   ===================================================================== */
.client-area {
  --surface: #F5F7FB; --border: #E3E8F0; --line-strong: #CED6E3; --muted: #5F6676; --tint: #EEF3FC; --pill: #E4EBF7;
  font-size: 14px; background: var(--surface);
}
.client-area .ctop { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 20px; height: 58px; padding: 0 24px; background: var(--side); color: #fff; }
.client-area .ctop-brand { display: flex; align-items: center; flex: none; width: 208px; }
.client-area .ctop-brand img { height: 28px; width: auto; }
.client-area .ctop-search { display: flex; align-items: center; gap: 10px; flex: 0 1 460px; height: 36px; padding: 0 12px; border-radius: 8px; background: rgba(255,255,255,.08); color: #9AA8C2; margin: 0; }
.client-area .ctop-search:focus-within { background: rgba(255,255,255,.14); }
.client-area .ctop-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #fff; font: 14px var(--font-sans); }
.client-area .ctop-search input::placeholder { color: #9AA8C2; }
.client-area .ctop-user { margin-left: auto; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.client-area .ctop-user .avatar { width: 30px; height: 30px; font-size: 12px; background: rgba(255,255,255,.12); color: #fff; }
.client-area .ctop-menu { display: none; margin-left: 4px; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: none; color: #fff; cursor: pointer; place-items: center; }
.client-area .shell { min-height: calc(100vh - 58px); flex-wrap: nowrap; }
.client-area .side { flex: 0 0 236px; max-width: 236px; background: transparent; color: var(--navy); padding: 22px 14px 18px; gap: 2px; position: sticky; top: 58px; align-self: flex-start; height: calc(100vh - 58px); overflow-y: auto; }
.client-area .side-links { gap: 2px; }
.client-area .nav-link { min-height: 36px; padding: 0 10px; border-radius: 8px; color: #3B4458; font-size: 14px; font-weight: 500; }
.client-area .nav-link > span { gap: 10px; }
.client-area .nav-link svg { color: #6B7385; }
.client-area .nav-link:hover { background: rgba(11,27,58,.05); color: var(--navy); }
.client-area .nav-link.active { background: var(--pill); color: var(--navy); box-shadow: none; }
.client-area .nav-link.active svg { color: var(--navy); }
.client-area .side-foot { padding-top: 18px; border-top: 1px solid var(--border); margin-top: auto; }
.client-area .side-foot .btn-link { color: #3B4458; font-size: 14px; }
.client-area .main { background: var(--surface); }
.client-area .content { padding: 28px 36px 56px; gap: 20px; width: 100%; max-width: 1280px; }

/* Type: serif page and section titles (as on MyKinsta), quiet sans everywhere else */
.client-area h1.page { font-size: 32px; }
.client-area .section-title { font-size: 24px; margin: 10px 0 -6px; }
.client-area .section-title svg { color: var(--navy); }
.client-area h2.section { font-size: 17px; font-weight: 500; }
.client-area .card-title { font-size: 15px; font-weight: 500; }
.client-area .small { font-size: 13px; }
.client-area .muted { color: var(--muted); }
.client-area .label, .client-area .table th, .client-area .chart-x, .client-area .tool-card .state { font-family: var(--font-sans); font-size: 12.5px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.client-area .mono { font-size: 13px; }
.client-area .stat { font-size: 28px; font-weight: 400; }

/* Cards, tables, fields */
.client-area .card { border-color: var(--border); border-radius: 10px; }
.client-area .card-pad { padding: 20px 22px; }
.client-area .card-head { padding: 18px 22px 14px; align-items: center; }
.client-area .card > .table-wrap > .table th:first-child, .client-area .card > .table-wrap > .table td:first-child, .client-area .card > .table th:first-child, .client-area .card > .table td:first-child { padding-left: 22px; }
.client-area .card > .table-wrap > .table th:last-child, .client-area .card > .table-wrap > .table td:last-child, .client-area .card > .table th:last-child, .client-area .card > .table td:last-child { padding-right: 22px; }
.client-area .table { font-size: 14px; }
.client-area .table th { background: #FAF9F7; padding: 10px 18px; }
.client-area .table td { padding: 13px 18px; }
.client-area .table tbody tr:hover td { background: #FCFBFA; }
.client-area .input { min-height: 38px; font-size: 14px; border-color: var(--line-strong); }
.client-area .input.mono, .client-area input.input.mono { font-family: var(--font-sans); font-size: 14px; }
.client-area textarea.input.mono { font-family: var(--font-mono); font-size: 13px; }
.client-area main form label:not(.check):not(.btn):not(.nav-link):not(.inline) { font-size: 13px; }

/* Buttons: navy primary, white secondary with a hairline border */
.client-area .btn { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 8px; }
.client-area .btn-sm, .client-area .table td .btn { min-height: 32px; padding: 0 12px; font-size: 13px; }
.client-area .btn-primary { background: var(--navy); }
.client-area .btn-primary:hover { background: #1B2D52; }
.client-area .btn-outline { border: 1px solid var(--line-strong); color: var(--navy); background: #fff; }
.client-area .btn-outline:hover { background: #FAF8F5; border-color: #BDB5AA; }
.client-area .btn-danger { border: 1px solid #EBC0BA; }
.client-area .btn-text-danger { background: none; border: 0; color: var(--red); font: 500 13px var(--font-sans); cursor: pointer; padding: 6px 8px; border-radius: 6px; }
.client-area .btn-text-danger:hover { background: var(--red-bg); }

/* Website page: tabs as on MyKinsta */
.client-area .site-menu { border-bottom-color: var(--border); margin-bottom: 20px; }
.client-area .site-menu a { font-size: 14px; padding: 9px 12px; }
.client-area .site-menu a.active { border-bottom-color: var(--navy); }
.client-area .page-meta { font-size: 14px; }

/* Home tiles */
.client-area .site-tile { border-radius: 10px; }
.client-area .site-icon { flex-basis: 64px; background: #F3EFEA; color: var(--navy); }
.client-area .site-body { padding: 14px 18px; gap: 4px; }
.client-area .site-facts { font-size: 13px; }

/* Copy buttons */
.client-area .copy-val { gap: 8px; }
.client-area .copy-val button { border: 1px solid var(--border); background: #fff; font-size: 12px; padding: 2px 8px; color: var(--muted); }
.client-area .copy-val button:hover { border-color: var(--line-strong); color: var(--navy); background: #FAF8F5; }

/* Settings tables (email app settings and similar): label column on the left */
.settings-table th[scope=row] { width: 130px; background: none; border-top: 0; color: var(--muted); font-weight: 500; font-size: 13px; white-space: nowrap; }
.settings-table thead th:first-child { width: 130px; }
.settings-table td { vertical-align: middle; }
.card-foot-note { margin: 0; padding: 12px 22px 16px; border-top: 1px solid var(--border); }
.card-head > div > p { margin-top: 2px !important; }

/* Usage bar inside a table cell */
.use { display: grid; gap: 5px; min-width: 150px; }
.use .bar { height: 5px; background: #EFECE8; }
.use .bar > span { height: 5px; background: var(--navy); }
.use .bar.warn > span { background: var(--amber); }

/* Dialogs used for "Add …" forms */
.client-area dialog.confirm { border-radius: 12px; }
dialog.confirm .dlg-body .form-stack { display: grid; gap: 14px; }
dialog.confirm .addr-field { display: flex; align-items: center; border: 1px solid var(--line-strong, #CED6E3); border-radius: 8px; overflow: hidden; }
dialog.confirm .addr-field .input { border: 0; border-radius: 0; flex: 1; min-width: 0; }
dialog.confirm .addr-field .input:focus { outline-offset: -2px; }
dialog.confirm .addr-field span { padding: 0 12px; color: var(--muted); background: #FAF9F7; align-self: stretch; display: flex; align-items: center; border-left: 1px solid var(--border); font-size: 14px; white-space: nowrap; }
.pw-row { display: flex; gap: 8px; } .pw-row .input { flex: 1; min-width: 0; }

/* Phones */
@media (max-width: 900px) {
  .client-area .ctop { gap: 12px; padding: 0 14px; }
  .client-area .ctop-brand { width: auto; }
  .client-area .ctop-search { display: none; }
  .client-area .ctop-name { display: none; }
  .client-area .ctop-menu { display: grid; }
  .client-area .shell { flex-wrap: wrap; }
  .client-area .side { display: none; position: static; height: auto; max-width: none; flex-basis: 100%; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--border); }
  .client-area .side.open { display: flex; }
  .client-area .side .side-links { display: flex; padding-top: 0; max-height: none; }
  .client-area .content { padding: 20px 16px 40px; }
  .client-area h1.page { font-size: 27px; }
}
.site-cell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.site-ico { flex: none; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: #F3EFEA; color: var(--navy); font-family: var(--font-serif); font-size: 17px; }
.client-area .table td a.status, .client-area .table td .strong a, .client-area .table td > a:not(.btn) { color: var(--navy); font-weight: 500; }
.client-area .table td .strong a:hover, .client-area .table td > a:not(.btn):hover { color: var(--blue); }
.client-area .checklist a { text-decoration: none; color: var(--navy); }
.client-area .checklist a:hover { color: var(--blue); }
.client-area .side-foot form .nav-link > span { display: flex; align-items: center; gap: 10px; }
.client-area .btn-text-danger { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; }
.settings-table tbody th[scope=row] { border-top: 0; border-bottom: 1px solid var(--border); padding-left: 22px; }
.settings-table tbody tr:last-child th[scope=row], .settings-table tbody tr:last-child td { border-bottom: 0; }
.client-area .table tbody tr:hover th[scope=row] { background: #FCFBFA; }
dialog.confirm .dlg-body.form-stack { display: grid; gap: 16px; }
dialog.confirm .dlg-head > .btn { border: 0; min-height: 32px; width: 32px; padding: 0; color: var(--muted); background: none; font-size: 15px; }
dialog.confirm .dlg-head > .btn:hover { background: var(--surface); color: var(--navy); }
.client-area dialog.confirm .dlg-head h3 { font-size: 17px; font-weight: 600; }
/* Website overview: quick links and an info grid, as on MyKinsta's site info page */
.quick-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.quick-tile { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: inherit; text-decoration: none; transition: border-color .15s; }
.quick-tile:hover { border-color: var(--line-strong, #CED6E3); color: inherit; }
.quick-tile > span:last-child { display: grid; gap: 1px; min-width: 0; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px 28px; padding-top: 4px !important; }
.info-grid .label { margin-bottom: 4px; }
.addon-list { border-top: 1px solid var(--border); display: grid; gap: 4px; }
.site-main > .quick-tiles { margin-bottom: 18px; }
.client-area .plan-usage .bar span { background: var(--navy); }
.quick-tiles > .card, .info-grid > * { margin: 0 !important; }
.catchall-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--border); }
.catchall-row .card-title { display: flex; align-items: center; gap: 10px; }
.catchall-row .card-title .status { font-size: 13px; }
.client-area .card-empty { padding: 0 22px 20px; }
.client-area .bill-due .btn-primary { background: #fff; color: var(--navy); } .client-area .bill-due .btn-primary:hover { background: #EEF0F5; color: var(--navy); }
.client-area .card > .empty { padding-left: 22px; padding-right: 22px; }
@media (max-width: 640px) {
  .client-area .settings-table thead { display: none; }
  .client-area .settings-table, .client-area .settings-table tbody, .client-area .settings-table tr { display: block; width: 100%; }
  .client-area .settings-table tr { padding: 12px 18px; border-bottom: 1px solid var(--border); }
  .client-area .settings-table tr:last-child { border-bottom: 0; }
  .client-area .settings-table th[scope=row] { display: block; width: auto; padding: 0 0 6px; border: 0; }
  .client-area .settings-table td { display: block; border: 0; padding: 3px 0; }
  .client-area .settings-table td[data-label]::before { content: attr(data-label); display: inline-block; width: 46px; color: var(--muted); font-size: 12.5px; }
  .client-area .site-tile .site-icon { flex-basis: 56px; }
}
.client-area .activity-list { list-style: none; margin: 0; padding: 0; }
.client-area .activity-list li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 14px; padding: 12px 22px; border-bottom: 1px solid var(--border); }
.client-area .activity-list li:last-child { border-bottom: 0; }
.client-area .activity-what { display: flex; flex-direction: column; min-width: 0; }
.client-area .activity-what a { color: var(--navy); text-decoration: none; font-weight: 500; }
.client-area .activity-what a:hover { text-decoration: underline; }
@media (max-width: 640px) { .client-area .activity-list li { grid-template-columns: 34px 1fr; padding: 12px 18px; } .client-area .activity-list li > .activity-meta { grid-column: 2; } }
@media (max-width: 640px) { .client-area .settings-table th[scope=row] { padding-left: 0 !important; } .client-area .settings-table .copy-val { display: inline-flex; } }
.client-area .activity-meta { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.client-area .rule-form { grid-template-columns: 1fr 1.4fr 190px auto; }
@media (max-width: 760px) { .client-area .rule-form { grid-template-columns: 1fr; } }
.client-area .page-head { align-items: flex-start; } .client-area .page-head > .actions-row { margin-top: 6px; }
/* Overview: settings rows, invoices, calmer job notices (no coloured side bars). */
.client-area .kv-list { border-top: 1px solid var(--border); }
.client-area .kv-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 140px; align-items: center; gap: 16px; padding: 12px 22px; border-bottom: 1px solid var(--border); }
.client-area .kv-row:last-child { border-bottom: 0; }
.client-area .kv-row .label { margin: 0; }
.client-area .kv-row .kv-port { text-align: right; }
.client-area .copy-val .mono { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.client-area .copy-val button { flex: none; }
.client-area .site-cell .strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.client-area .site-cell { min-width: 0; }
.client-area .inv-mini th:nth-child(1) { width: 26%; } .client-area .inv-mini th:nth-child(2) { width: 26%; } .client-area .inv-mini th:nth-child(3) { width: 22%; }
.client-area .inv-mini td:last-child, .client-area .inv-mini th:last-child { padding-left: 48px; }
.client-area .use .bar { width: 100%; max-width: 260px; border-radius: 3px; overflow: hidden; }
.client-area .use .bar > span { display: block; border-radius: 3px; }
.client-area .recent-job, .client-area .recent-job.recent-done, .client-area .recent-job.recent-failed { border-left: 1px solid var(--border); }
.client-area .doctor, .client-area .doctor-green, .client-area .doctor-amber, .client-area .doctor-red { border-left: 1px solid var(--border); }
@media (max-width: 640px) {
  .client-area .kv-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 18px; }
  .client-area .kv-row .kv-port { text-align: left; }
}
.client-area .quick-tile .muted { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .client-area .quick-tiles { grid-template-columns: 1fr 1fr; gap: 10px; } .client-area .quick-tile { padding: 12px; } .client-area .quick-tile .muted { display: none; } .client-area .info-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
/* Backups tab */
.client-area .backup-table td.num, .client-area .backup-table th.num { text-align: right; }
.client-area .backup-table td:first-child { width: 30%; }
.client-area .choice-list { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.client-area .choice-list legend { margin-bottom: 8px; padding: 0; }
.client-area .choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
.client-area .choice:has(input:checked) { border-color: var(--navy); background: #FAF9F7; }
.client-area .choice input { margin-top: 3px; accent-color: var(--navy); }
.client-area .choice > span { display: grid; gap: 2px; }
.client-area label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.client-area label.check input { margin-top: 3px; accent-color: var(--navy); }
@media (max-width: 640px) { .client-area .backup-table td:nth-child(2), .client-area .backup-table th:nth-child(2) { display: none; } }
.client-area .choice input, .client-area label.check input { width: auto; flex: none; height: auto; margin: 3px 0 0; }
.client-area .choice { flex-direction: row; }
.client-area label.check { flex-direction: row; }
@media (min-width: 1100px) { .client-area .usage-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.client-area dialog.confirm label.choice, .client-area dialog.confirm label.check { display: flex; }
/* Website tools (caching, WordPress): boxes with the status top right and buttons along the bottom */
.client-area .tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; padding-top: 4px !important; }
.client-area .tool-box { border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.client-area .tool-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 24px; }
.client-area .tool-head .card-title { margin: 0; }
.client-area .tool-box > p { margin: 0 0 8px; }
.client-area .tool-foot { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.client-area .tool-rows { display: grid; gap: 8px; width: 100%; }
.client-area .tool-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; }
.client-area .inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.client-area .input-sm { height: 32px; padding: 0 10px; font-size: 13px; width: auto; }
.client-area .wp-health { padding-top: 0 !important; }
.client-area .health-ok { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 10px; background: #F1F7F2; color: #1E6B3A; }
.client-area .health-list { list-style: none; margin: 0; padding: 12px 14px; border-radius: 10px; background: #FBF8F3; display: grid; gap: 8px; }
.client-area .health-list li { display: flex; gap: 10px; align-items: baseline; font-size: 14px; }
.client-area .health-list .dot { position: relative; top: 1px; }
.client-area .card-head-sub { border-top: 1px solid var(--border); padding-top: 18px; padding-bottom: 10px; }
.client-area .section-sub { font-size: 15px; font-weight: 600; margin: 0; }
.client-area .wp-items td:last-child { text-align: right; }
.client-area .wp-items .wp-row-actions { justify-content: flex-end; }
.client-area .pw-reveal { background: #F1F7F2; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: grid; gap: 6px; }
.client-area .activity-feed { list-style: none; margin: 0; padding: 0; }
.client-area .activity-feed li { padding: 14px 22px; border-top: 1px solid var(--border); display: grid; gap: 4px; }
.client-area .activity-feed .row-between { gap: 12px; align-items: baseline; }
@media (max-width: 640px) { .client-area .activity-feed li { padding: 12px 18px; } .client-area .wp-items td:last-child { text-align: left; } }
@media (min-width: 760px) { .client-area .tool-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.client-area dialog.confirm .addr-pre span { border-left: 0; border-right: 1px solid var(--border); }
.client-area .dns-top { padding: 0 !important; margin-bottom: 18px; }
.client-area .dns-top > .card { margin: 0 !important; }
.client-area .dns-filter { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 0 !important; padding-bottom: 14px !important; }
.client-area .chip { border: 1px solid var(--border); background: #fff; border-radius: 99px; height: 30px; padding: 0 12px; font: inherit; font-size: 13px; cursor: pointer; color: var(--ink, #1B2333); }
.client-area .chip.active { background: var(--pill); border-color: var(--pill); font-weight: 500; }
.client-area .chip .muted { margin-left: 4px; }
.client-area .dns-table td:first-child { width: 80px; }
.client-area .app-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.client-area .app-title { display: flex; align-items: center; gap: 10px; }
.client-area .pw-reveal-card { background: #F1F7F2; border-color: #CFE5D5; }
/* Staff area: the same shell as the client area, a little denser and wider */
.client-area .ctop-brand { gap: 10px; }
.client-area .ctop-tag { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: #CFD6E4; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: 2px 7px; }
.client-area .nav-group { color: var(--muted); opacity: 1; margin: 18px 12px 4px; font-size: 11px; }
.client-area .side-version { color: var(--muted); }
.client-area .side-version:hover { color: var(--navy); }
.client-area .nav-count { background: var(--navy); }
.staff-area .content { max-width: 1440px; }
.staff-area .nav-link { height: 34px; }
.client-area .side { overflow-y: auto; overscroll-behavior: contain; }
.client-area .score { min-width: 44px; height: 44px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 16px; border: 3px solid currentColor; }
.client-area .metric-list { display: grid; gap: 4px; }
.client-area .metric-list > div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dashed var(--border); padding: 3px 0; }
.client-area .issue-list { margin: 0; padding-left: 18px; font-size: 13px; display: grid; gap: 3px; }
.client-area .php-settings summary { cursor: pointer; }
.client-area .php-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; align-items: end; margin-top: 12px; }
.client-area .score.s-green { color: #1E7B45; } .client-area .score.s-amber { color: #B26B00; } .client-area .score.s-red { color: #B42318; }
/* Login, sign-up, password and two-step pages: brand panel on the left, the form on the warm background */
.auth-body { background: #F5F7FB; }
.auth-body .auth { padding: 0; background: #F5F7FB; display: flex; align-items: stretch; justify-content: stretch; min-height: 100vh; }
.auth-side { flex: 0 0 42%; max-width: 560px; background: var(--side, #0D1016); color: #fff; padding: 40px 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(131,170,45,.22), transparent 70%); }
.auth-side-body h2 { font-family: var(--font-serif); font-weight: 400; font-size: 34px; line-height: 1.2; margin: 0 0 28px; max-width: 420px; color: #fff; }
.auth-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.auth-side li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: #DCE3EF; }
.auth-side li svg { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 9px; background: rgba(255,255,255,.08); color: #fff; }
.auth-side-foot { margin: 0; font-size: 13px; color: #8E9BB3; }
.auth-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px; gap: 18px; }
.auth-body .auth-card { max-width: 420px; padding: 36px; border: 1px solid #E3E8F0; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.04); font-size: 14px; }
.auth-body .auth-logo { display: none; margin-bottom: 24px; }
.auth-body .auth-card h1.page { font-size: 30px !important; }
.auth-body .input { height: 42px; border-color: #CED6E3; border-radius: 8px; }
.auth-body .input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13,16,22,.08); outline: none; }
.auth-body .btn-primary { background: var(--navy); border-color: var(--navy); height: 42px; border-radius: 8px; }
.auth-body .btn-primary:hover { background: #1B2A4E; }
.auth-body .auth-card a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.auth-body .field label, .auth-body .auth-card label { font-weight: 500; }
.auth-foot { margin: 0; font-size: 13px; color: var(--muted); }
.auth-foot a { color: var(--muted); }
@media (max-width: 900px) {
  .auth-side { display: none; }
  .auth-body .auth-logo { display: block; }
  .auth-main { padding: 28px 16px; justify-content: flex-start; padding-top: 48px; }
  .auth-body .auth-card { padding: 26px 22px; }
}

/* ======================================================================
   Panel look: MyKinsta's layout and sizes, in the colours and type of the hostking.host website:
   navy ink #0E1A33 and top bar #0B1A36, Hostking blue #1A66E8 for actions, cool greys for lines
   and page, logo green for ticks. DM Sans 14px, Newsreader page titles.
   ====================================================================== */
.client-area {
  --font-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --navy: #0E1A33; --ink: #0E1A33; --side: #0B1A36; --muted: #5D6880; --border: #E3E8F0; --line-strong: #CED6E3;
  --surface: #F5F7FB; --pill: #E4EBF7; --green: #02A73A; --blue: #1A66E8; --blue-hover: #1552C2; --brand-green: #7CB82F; --tint: #EEF3FC;
  font-family: var(--font-sans); font-size: 14px; color: var(--ink); background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
.client-area body, body.client-area { background: var(--surface); }
.client-area a { color: var(--ink); }
.client-area .content a:not(.btn):not(.nav-link):not(.card):not(.site-tile):not(.quick-tile):not(.chip) { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: #B7C7E4; }
.client-area .content a:not(.btn):hover { text-decoration-color: var(--ink); }

/* Top bar: inset, rounded, near-black, icons on the right */
.client-area .ctop { margin: 8px 8px 0; height: 50px; border-radius: 8px; padding: 0 14px 0 16px; gap: 14px; top: 8px; background: var(--side); }
.client-area .ctop-brand { width: auto; min-width: 190px; }
.client-area .ctop-brand img { height: 24px; }
.client-area .ctop-account { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 10px; border-radius: 6px; max-width: 320px; }
.client-area .ctop-account span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.client-area .ctop-account:hover { background: rgba(255,255,255,.08); color: #fff; }
.client-area .ctop-tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.client-area .ctop-icon { width: 36px; height: 36px; display: inline-grid; place-items: center; border: 0; border-radius: 6px; background: none; color: #fff; cursor: pointer; position: relative; }
.client-area .ctop-icon:hover, .client-area .ctop-pop > summary:hover { background: rgba(255,255,255,.08); color: #fff; }
.client-area .ctop-search { flex: none; height: 36px; padding: 0; background: none; gap: 0; border-radius: 6px; }
.client-area .ctop-search input { width: 0; padding: 0; transition: width .15s; }
.client-area .ctop-search.open { background: rgba(255,255,255,.1); padding-right: 10px; }
.client-area .ctop-search.open input { width: 280px; }
.client-area .ctop-pop { position: relative; }
.client-area .ctop-pop > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 9px; border-radius: 6px; color: #fff; }
.client-area .ctop-pop > summary::-webkit-details-marker { display: none; }
.client-area .ctop-bell > summary { width: 36px; padding: 0; justify-content: center; position: relative; }
.client-area .ctop-dot { position: absolute; top: 8px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: #F04438; box-shadow: 0 0 0 2px var(--side); }
.client-area .ctop-user { margin: 0; gap: 9px; font-size: 14px; font-weight: 500; }
.client-area .ctop-user .avatar { width: 28px; height: 28px; font-size: 11px; background: #3B4558; }
.client-area .ctop-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; background: #0B1A36; color: #fff; border-radius: 8px; padding: 6px; min-width: 200px; box-shadow: 0 12px 32px rgba(11,26,54,.25); }
.client-area .ctop-bell .ctop-panel { background: #fff; color: var(--ink); width: 400px; padding: 18px 20px 12px; border: 1px solid var(--border); }
.client-area .ctop-panel-head { display: grid; gap: 2px; margin-bottom: 8px; }
.client-area .ctop-panel-head b { font-size: 18px; font-weight: 500; }
.client-area .ctop-note { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; color: var(--ink) !important; text-decoration: none !important; font-weight: 500; border-top: 1px solid var(--border); }
.client-area .ctop-note .dot { display: inline-block; margin-right: 8px; vertical-align: 1px; }
.client-area .ctop-menu-panel a, .client-area .ctop-menu-panel button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; background: none; color: #fff; font: 500 14px var(--font-sans); text-decoration: none; border-radius: 6px; cursor: pointer; }
.client-area .ctop-menu-panel a:hover, .client-area .ctop-menu-panel button:hover { background: rgba(255,255,255,.08); color: #fff; }
.client-area .ctop-menu-panel hr { border: 0; border-top: 1px solid rgba(255,255,255,.14); margin: 6px 4px; }
.client-area .ctop-menu-panel form { margin: 0; }

/* Sidebar */
.client-area .shell { min-height: calc(100vh - 58px); }
.client-area .side { flex: 0 0 232px; max-width: 232px; padding: 18px 8px 18px 8px; top: 58px; height: calc(100vh - 58px); }
.client-area .nav-link { min-height: 36px; padding: 0 12px; border-radius: 6px; color: #3B4558; font-size: 14px; font-weight: 500; }
.client-area .nav-link svg { color: #3B4558; }
.client-area .nav-link:hover { background: #ECF0F7; color: var(--ink); }
.client-area .nav-link.active { background: var(--pill); color: var(--ink); }
.client-area .nav-link.active svg { color: var(--ink); }
.client-area:not(.staff-area) .side-foot { display: none; }
.client-area .side-back { display: flex; align-items: center; gap: 6px; padding: 4px 12px 10px; color: var(--muted); font-size: 13px; text-decoration: none; }
.client-area .side-back:hover { color: var(--ink); }
.client-area .side-site { padding: 2px 12px 12px; font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.client-area .nav-group { color: var(--muted); }

/* Page */
.client-area .content { padding: 26px 32px 64px; gap: 20px; max-width: 1320px; }
.client-area h1.page { font-family: var(--font-serif); font-size: 34px; font-weight: 400; letter-spacing: -.01em; color: var(--ink); }
.client-area h1.page em { font-style: italic; color: var(--ink); }
.client-area .section-title { font-family: var(--font-serif); font-size: 26px; font-weight: 400; }
.client-area h2.section { font-family: var(--font-sans); font-size: 18px; font-weight: 500; letter-spacing: -.005em; }
.client-area .card-title { font-size: 15px; font-weight: 600; }
.client-area .muted, .client-area .page-meta { color: var(--muted); }
.client-area .small { font-size: 13px; }
.client-area .label, .client-area .table th { font-size: 14px; font-weight: 400; color: var(--muted); }
.client-area .label { font-size: 13px; }

/* Website sections live in the sidebar on wide screens (tabs stay on phones) */
@media (min-width: 901px) {
  .client-area .site-layout > .site-menu:first-child { display: none; }
}
.client-area .site-menu { gap: 4px; border-bottom: 0; margin-bottom: 20px; }
.client-area .site-menu a { font-size: 14px; color: var(--muted); padding: 8px 6px; margin-right: 18px; border-bottom: 2px solid transparent; font-weight: 500; }
.client-area .site-menu a:hover { color: var(--ink); }
.client-area .site-menu a.active { color: var(--ink); border-bottom-color: var(--ink); }

/* Cards */
.client-area .card { background: #fff; border: 1px solid #E6EBF2; border-radius: 8px; box-shadow: none; }
.client-area .card-head { padding: 22px 22px 14px; }
.client-area .card-pad { padding: 20px 22px; }
.client-area .tool-box { border-color: #E3E8F0; border-radius: 8px; padding: 22px; }
.client-area .site-icon, .client-area .site-ico { background: var(--pill) !important; color: var(--ink); }
.client-area .site-ico { border-radius: 6px; }
.client-area .site-tile { border-radius: 8px; border-color: #E6EBF2; }
.client-area .site-tile:hover { border-color: var(--line-strong); }
.client-area .site-tile .card-title { font-size: 15px; font-weight: 500; }

/* Tables: no header band, a darker rule under the header, thin rules between rows */
.client-area .table th { background: none !important; padding: 12px 18px; border-bottom: 1px solid #D3DAE6; font-weight: 400; color: var(--muted); }
.client-area .table td { padding: 14px 18px; border-bottom: 1px solid var(--border); color: var(--ink); }
.client-area .table tbody tr:last-child td { border-bottom: 0; }
.client-area .table tbody tr:hover td { background: #F9FBFE; }
.client-area .card > .table-wrap > .table, .client-area .card > .table { margin: 0; }

/* Buttons and fields */
.client-area .btn { min-height: 36px; padding: 0 14px; border-radius: 6px; font-weight: 500; font-size: 14px; }
.client-area .btn-sm, .client-area .table td .btn { min-height: 32px; padding: 0 12px; font-size: 13.5px; }
.client-area .btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.client-area .btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: #fff; }
.client-area .btn-outline { background: #fff; border: 1px solid #D9E0EA; color: var(--ink); }
.client-area .btn-outline:hover { background: #F5F7FB; border-color: #D3DAE6; }
.client-area .btn-link { color: var(--ink); }
.client-area .input, .client-area select.input, .client-area textarea.input { border: 1px solid #C5CEDC; border-radius: 6px; background: #fff; color: var(--ink); }
.client-area .input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(26,102,232,.15); outline: none; }
.client-area .copy-val button { border-color: #D9E0EA; border-radius: 5px; color: #3B4558; }
.client-area .pill { background: var(--pill); color: var(--ink); }
.client-area .chip { border-color: #D9E0EA; }
.client-area .chip.active { background: var(--pill); border-color: var(--pill); }
.client-area .notice { background: #fff; border: 1px solid #E3E8F0; color: var(--ink); border-radius: 8px; }
.client-area .use .bar, .client-area .plan-usage .bar { background: #E3E8F0; height: 5px; border-radius: 3px; }
.client-area .use .bar > span, .client-area .plan-usage .bar span { background: var(--green) !important; }
.client-area .use .bar.warn > span { background: var(--amber) !important; }
.client-area .status.s-green, .client-area .s-green { color: #02873A; }
.client-area .dot-green, .client-area .status.s-green::before { background: var(--green); }

/* Dialogs: title, rules above and below the body, Cancel + black button on the right */
.client-area dialog.confirm { border-radius: 10px; border: 0; padding: 0; }
.client-area dialog.confirm .dlg-head { padding: 22px 26px; border-bottom: 1px solid var(--border); }
.client-area dialog.confirm .dlg-head h3 { font-size: 20px; font-weight: 500; }
.client-area dialog.confirm .dlg-body { padding: 22px 26px; }
.client-area dialog.confirm .dlg-foot { padding: 16px 26px; border-top: 1px solid var(--border); gap: 10px; }
.client-area dialog.confirm .dlg-head .btn { border: 0; background: none; font-size: 18px; }
.client-area dialog::backdrop { background: rgba(11,26,54,.45); }

/* Home: tiles and the two side-by-side cards */
.client-area .activity-list li { padding: 12px 22px; }
.client-area .activity-what a { color: var(--ink) !important; text-decoration: none !important; }

/* Staff: same skin, its own groups */
.staff-area .side-foot { border-top-color: var(--border); }

@media (max-width: 900px) {
  .client-area .ctop { margin: 0; border-radius: 0; top: 0; }
  .client-area .ctop-account, .client-area .ctop-search, .client-area .ctop-name { display: none; }
  .client-area .side { top: 50px; height: calc(100vh - 50px); }
  .client-area .content { padding: 20px 16px 48px; }
  .client-area .ctop-bell .ctop-panel { width: min(360px, calc(100vw - 24px)); right: -60px; }
}
.client-area .content a:not(.btn):not(.nav-link):not(.card):not(.site-tile):not(.quick-tile):not(.chip) { text-decoration: none; }
.client-area .content p a:not(.btn), .client-area .content .notice a, .client-area .content .muted a:not(.btn), .client-area .pin-line a, .client-area .attention a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: #B7C7E4; }
.client-area .link-plain { color: var(--ink); font-weight: 500; }
.client-area .home-pair > .card { margin: 0; }
.client-area .feed { list-style: none; margin: 0; padding: 0 22px 10px; }
.client-area .feed li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--border); }
.client-area .feed li:first-child { border-top: 0; }
.client-area .feed-text { color: var(--ink); font-weight: 500; line-height: 1.4; }
.client-area .feed-text .muted { font-weight: 400; }
.client-area .ok-ring { width: 22px; height: 22px; border-radius: 50%; border: 1.6px solid var(--green); color: var(--green); display: inline-grid; place-items: center; }
.client-area .ok-ring svg { stroke-width: 2.4; }
.client-area .checklist a { text-decoration: none !important; }
.client-area { --ring-track: #E9EEF5; }
.client-area .bill-due { background: #fff; color: var(--ink); border: 1px solid #E6EBF2; border-top: 1px solid #E6EBF2; }
.client-area .bill-due .btn-primary { background: var(--blue); color: #fff; } .client-area .bill-due .btn-primary:hover { background: var(--blue-hover); color: #fff; }
.client-area .mono { font-family: var(--font-mono); }
.client-area .card-title { font-size: 17px; font-weight: 500; letter-spacing: -.005em; }
.client-area .site-tile .card-title, .client-area .quick-tile .card-title, .client-area .count-tile .card-title { font-size: 15px; }
.client-area .tool-head .card-title { font-size: 16px; }
.client-area .checklist .card-title, .client-area h2.section { font-size: 18px; font-weight: 500; }
/* Auth pages in the same MyKinsta skin */
.auth-body { --navy: #0E1A33; --muted: #5D6880; --font-sans: 'DM Sans', system-ui, sans-serif; font-family: var(--font-sans); background: #F5F7FB; color: #0E1A33; }
.auth-body .auth { background: #F5F7FB; }
.auth-side { background: #0B1A36; }
.auth-side::after { background: radial-gradient(circle, rgba(26,102,232,.38), transparent 70%); }
.auth-side li { color: #E4EBF7; }
.auth-side-foot { color: #8C9AB3; }
.auth-body .auth-card { border-color: #E6EBF2; border-radius: 8px; }
.auth-body .btn-primary { background: #1A66E8; border-color: #1A66E8; border-radius: 6px; }
.auth-body .btn-primary:hover { background: #1552C2; }
.auth-body .input { border-color: #C5CEDC; border-radius: 6px; }
.auth-body .auth-card a { color: #0E1A33; text-decoration-color: #B7C7E4; }
.client-area .filter-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.client-area .tpl-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.client-area .tpl-layout > .card { margin: 0; }
.client-area .tpl-body { font-family: var(--font-mono) !important; font-size: 12.5px !important; line-height: 1.5; }
.client-area .tpl-preview { width: 100%; height: 760px; border: 0; border-top: 1px solid var(--border); border-radius: 0 0 8px 8px; display: block; background: #EEF2F8; }
@media (max-width: 1100px) { .client-area .tpl-layout { grid-template-columns: 1fr; } }

/* Brand touches from the website: blue focus and active marks, the hero's dotted navy on the sign-in side */
.client-area .input:focus { border-color: var(--blue); }
.client-area .nav-link.active svg { color: var(--blue); }
.client-area .site-menu a.active { border-bottom-color: var(--blue); }
.client-area .ok-ring { border-color: var(--brand-green); color: var(--brand-green); }
.client-area .content p a:not(.btn), .client-area .content .notice a, .client-area .pin-line a { color: var(--blue); text-decoration-color: rgba(26,102,232,.35); }
.auth-side { background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(26,102,232,.35), transparent 70%), radial-gradient(rgba(255,255,255,.07) 1.5px, transparent 1.6px) 0 0 / 22px 22px, #0B1A36; }
/* Sidebar scrolls only when it must, with a thin bar shown on hover */
.client-area .side { scrollbar-width: thin; scrollbar-color: transparent transparent; overscroll-behavior: contain; }
.client-area .side:hover { scrollbar-color: #C5CEDC transparent; }
.client-area .side::-webkit-scrollbar { width: 6px; }
.client-area .side::-webkit-scrollbar-thumb { background: transparent; border-radius: 3px; }
.client-area .side:hover::-webkit-scrollbar-thumb { background: #C5CEDC; }
/* Sortable table headers */
.table th a.sort { color: inherit !important; text-decoration: none !important; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.table th a.sort:hover { color: var(--ink, var(--navy)) !important; }
.table th a.sort .arr { font-size: 11px; opacity: .35; }
.table th a.sort.on { color: var(--ink, var(--navy)) !important; font-weight: 500; }
.table th a.sort.on .arr { opacity: 1; color: var(--blue); }
.auth-body .input:focus { border-color: #1A66E8; box-shadow: 0 0 0 3px rgba(26,102,232,.15); outline: none; }
/* Analytics */
.stat-row { gap: 16px; }
.stat-row > .card { margin: 0; }
.stat-num { font-size: 26px; font-weight: 500; letter-spacing: -.01em; margin: 4px 0 2px; color: var(--ink, var(--navy)); }
.share-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--border); }
.share-bar span { display: block; height: 100%; }
.rank-list { list-style: none; margin: 0; padding: 0 22px 14px; }
.rank-list li { position: relative; display: flex; justify-content: space-between; gap: 14px; padding: 9px 10px; margin-bottom: 4px; font-size: 13.5px; border-radius: 6px; overflow: hidden; }
.rank-list .rank-bar { position: absolute; inset: 0 auto 0 0; background: var(--tint); z-index: 0; border-radius: 6px; }
.rank-list .rank-key { position: relative; z-index: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rank-list .rank-val { position: relative; z-index: 1; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .stat-row.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Home: quick actions */
.quick-actions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.quick-actions .quick-action { margin: 0; display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-decoration: none !important; color: var(--ink, var(--navy)) !important; transition: border-color .15s, box-shadow .15s; }
.quick-actions .quick-action:hover { border-color: var(--blue); box-shadow: 0 2px 10px rgba(26,102,232,.08); }
.quick-actions .quick-action b { display: block; font-weight: 500; font-size: 14px; line-height: 1.3; }
.quick-actions .quick-action .small { display: block; line-height: 1.3; }
.quick-actions .qa-icon { flex: none; width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: var(--tint); color: var(--blue); }
@media (max-width: 1100px) { .quick-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .quick-actions { grid-template-columns: 1fr 1fr; } .quick-actions .quick-action .small { display: none; } }
/* Service information: label and value side by side, as on WHMCS */
.facts > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.facts > div:last-child { border-bottom: 0; }
.facts .label { margin: 0; }
/* Client Summary: WHMCS-style boxes */
.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.summary-grid > .card, .summary-col > .card { margin: 0; }
.summary-col { display: grid; gap: 16px; }
.summary-small .pin-check .muted { display: none; }
.facts-tight > div { grid-template-columns: 120px minmax(0, 1fr); padding: 6px 0; font-size: 13.5px; }
.link-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.flush-feed { padding: 0; margin-top: 6px; }
@media (max-width: 1200px) { .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .summary-grid { grid-template-columns: 1fr; } }

/* ======================================================================
   Staff area in WHMCS's admin look (for now): Open Sans 13px, white header with search, a dark-blue menu bar,
   grey boxes with blue centred titles, dark-blue table headers with striped rows, grey tab buttons, Bootstrap buttons.
   ====================================================================== */
@font-face { font-family: 'Open Sans'; src: url('/fonts/OpenSans-Variable.woff2') format('woff2'); font-weight: 300 800; font-display: swap; }
body.staff-area {
  --font-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --font-serif: var(--font-sans);
  --wh-blue: #1A4D80; --wh-link: #1A4D80; --wh-btn: #337AB7; --wh-grey: #F2F2F2; --wh-line: #DDDDDD;
  --ink: #333; --navy: #333; --muted: #777; --border: #DDDDDD; --surface: #FFFFFF; --pill: #E8EEF5; --tint: #F5F8FB; --blue: #337AB7; --blue-hover: #286090;
  font-family: var(--font-sans); font-size: 13px; line-height: 1.45; color: #333; background: #fff;
}
.staff-area .wh-top { display: flex; align-items: center; gap: 20px; height: 56px; padding: 0 20px; background: #fff; border-bottom: 1px solid #E5E5E5; }
.staff-area .wh-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #777; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.staff-area .wh-logo img { height: 26px; width: auto; }
.staff-area .wh-search { flex: 0 1 460px; display: flex; margin-left: 20px; }
.staff-area .wh-search input { flex: 1; height: 30px; border: 1px solid #CCC; border-right: 0; border-radius: 3px 0 0 3px; padding: 0 10px; font: 13px var(--font-sans); }
.staff-area .wh-search input:focus { outline: none; border-color: #66AFE9; box-shadow: 0 0 0 2px rgba(102,175,233,.3); }
.staff-area .wh-search button { width: 34px; height: 30px; border: 1px solid #CCC; border-radius: 0 3px 3px 0; background: #F5F5F5; color: #555; cursor: pointer; display: grid; place-items: center; }
.staff-area .wh-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.staff-area .wh-right .wh-switch { color: #fff; border: 1px solid rgba(255,255,255,.65); border-radius: 4px; padding: 3px 10px; font-size: 13px; text-decoration: none; white-space: nowrap; }
.staff-area .wh-right .wh-switch:hover { background: rgba(255,255,255,.15); }
.staff-area .wh-link { color: #555 !important; text-decoration: none !important; }
.staff-area .wh-right .ctop-pop > summary { color: #555; height: 30px; }
.staff-area .wh-right .ctop-pop > summary:hover { background: #F2F2F2; color: #333; }
.staff-area .wh-right .ctop-dot { box-shadow: 0 0 0 2px #fff; }
.staff-area .wh-user { position: relative; }
.staff-area .wh-user > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 4px; color: #333; font-weight: 600; padding: 4px 8px; border-radius: 3px; }
.staff-area .wh-user > summary::-webkit-details-marker { display: none; }
.staff-area .wh-user > summary:hover { background: #F2F2F2; }
.staff-area .wh-drop { display: none; position: absolute; z-index: 70; top: 100%; left: 0; min-width: 210px; background: #fff; border: 1px solid rgba(0,0,0,.15); border-radius: 3px; box-shadow: 0 6px 12px rgba(0,0,0,.175); padding: 5px 0; }
.staff-area .wh-user .wh-drop { left: auto; right: 0; display: block; }
.staff-area .wh-user:not([open]) .wh-drop { display: none; }
.staff-area .wh-drop a, .staff-area .wh-drop button { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 6px 18px; color: #333 !important; text-decoration: none !important; background: none; border: 0; font: 13px var(--font-sans); text-align: left; cursor: pointer; white-space: nowrap; }
.staff-area .wh-drop a:hover, .staff-area .wh-drop button:hover, .staff-area .wh-drop a.on { background: #F5F5F5; color: var(--wh-blue) !important; }
.staff-area .wh-drop form { margin: 0; }
.staff-area .wh-nav { position: sticky; top: 0; z-index: 60; display: flex; flex-wrap: wrap; align-items: stretch; min-height: 40px; padding: 0 12px; background: var(--wh-blue); }
.staff-area .wh-item { position: relative; display: flex; align-items: center; gap: 6px; padding: 0 14px; color: #fff !important; text-decoration: none !important; font-size: 13px; cursor: pointer; outline: none; }
.staff-area .wh-item:hover, .staff-area .wh-item:focus-within, .staff-area .wh-item.on { background: rgba(0,0,0,.22); }
.staff-area .wh-menu::after { content: ''; border: 4px solid transparent; border-top-color: rgba(255,255,255,.75); margin-top: 4px; }
.staff-area .wh-menu:hover > .wh-drop, .staff-area .wh-menu:focus-within > .wh-drop { display: block; }
.staff-area .wh-badge { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: #F0AD4E; color: #fff; font-size: 11px; font-weight: 700; line-height: 17px; text-align: center; }
.staff-area .wh-drop .wh-badge { background: #D9534F; }
/* no sidebar: WHMCS's content runs the full width */
.staff-area .shell > .side { display: none; }
.staff-area .shell { min-height: 0; }
.staff-area .content { max-width: none; padding: 16px 22px 50px; gap: 14px; }
/* Type */
.staff-area h1.page { font-family: var(--font-sans); font-size: 22px; font-weight: 400; color: #333; letter-spacing: 0; margin: 0; }
.staff-area h1.page em { font-style: normal; }
.staff-area .section-title { font-family: var(--font-sans); font-size: 18px; font-weight: 400; color: #333; }
.staff-area h2.section, .staff-area .card-title { font-family: var(--font-sans); font-size: 14px !important; font-weight: 700; color: var(--wh-blue); letter-spacing: 0; }
.staff-area .muted, .staff-area .page-meta { color: #777; }
.staff-area .small { font-size: 12px; }
.staff-area a { color: var(--wh-link); }
.staff-area a:hover { color: #23527C; text-decoration: underline; }
.staff-area .label, .staff-area .table th { font-size: 12px; }
/* Boxes: WHMCS's grey panels */
.staff-area .card { background: #fff; border: 1px solid #DDD; border-radius: 3px; box-shadow: none; }
.staff-area .card-head { padding: 9px 14px; background: #F5F5F5; border-bottom: 1px solid #DDD; border-radius: 3px 3px 0 0; }
.staff-area .card-pad { padding: 12px 14px; }
.staff-area .summary-grid > .card, .staff-area .summary-col > .card { background: #EFEFEF; border-color: #E2E2E2; }
.staff-area .summary-grid .card-title { text-align: center; display: block; }
.staff-area .summary-grid .facts { background: #fff; padding: 4px 8px; margin-top: 8px !important; }
.staff-area .summary-grid .facts > div:nth-child(odd) { background: #F7F7F7; }
.staff-area .facts > div { padding: 3px 4px; font-size: 12px; border-bottom: 0; gap: 8px; }
.staff-area .facts-tight > div { grid-template-columns: 110px minmax(0, 1fr); }
.staff-area .notice { background: #D9EDF7; border: 1px solid #BCE8F1; color: #31708F; border-radius: 3px; }
.staff-area .error { background: #F2DEDE; border: 1px solid #EBCCD1; color: #A94442; border-radius: 3px; }
.staff-area .staff-note { background: #FCF8E3; border: 1px solid #FAEBCC; color: #8A6D3B; border-radius: 3px; }
/* Tabs: WHMCS's grey tab buttons */
.staff-area .site-menu, .staff-area .subtabs { display: flex; flex-wrap: wrap; gap: 3px; border-bottom: 1px solid #CCC; padding: 0 4px; margin: 4px 0 14px; }
.staff-area .site-menu a, .staff-area .subtabs a { margin: 0 0 -1px; padding: 5px 11px; border: 1px solid #CCC; border-bottom-color: #CCC; border-radius: 3px 3px 0 0; background: #EFEFEF; color: #1A4D80 !important; font-size: 12px; font-weight: 400; text-decoration: none !important; }
.staff-area .site-menu a:hover, .staff-area .subtabs a:hover { background: #E2E2E2; }
.staff-area .site-menu a.active, .staff-area .subtabs a.active { background: #fff; border-bottom-color: #fff; color: #333 !important; font-weight: 600; }
/* Tables: dark-blue header, striped rows */
.staff-area .table { font-size: 12px; border-collapse: collapse; }
.staff-area .table th { background: var(--wh-blue) !important; color: #fff !important; font-weight: 700; padding: 6px 8px; border: 1px solid #16426E !important; text-align: center; white-space: nowrap; }
.staff-area .table th a.sort, .staff-area .table th a.sort.on { color: #fff !important; }
.staff-area .table th a.sort .arr, .staff-area .table th a.sort.on .arr { color: #fff; opacity: .8; }
.staff-area .table td { padding: 5px 8px; border-bottom: 1px solid #E8E8E8; color: #333; vertical-align: middle; }
.staff-area .table tbody tr:nth-child(even) td { background: #F9F9F9; }
.staff-area .table tbody tr:hover td { background: #F1F6FB; }
.staff-area .table td .muted.small, .staff-area .table .small { font-size: 11px; }
/* Buttons and fields: Bootstrap 3, as WHMCS */
.staff-area .btn { min-height: 28px; padding: 3px 11px; border-radius: 3px; font: 400 12.5px var(--font-sans); border: 1px solid #CCC; background: #fff; color: #333; box-shadow: none; }
.staff-area .btn:hover { background: #E6E6E6; border-color: #ADADAD; color: #333; text-decoration: none; }
.staff-area .btn-sm, .staff-area .table td .btn { min-height: 24px; padding: 1px 8px; font-size: 12px; }
.staff-area .btn-primary { background: #337AB7; border-color: #2E6DA4; color: #fff; }
.staff-area .btn-primary:hover { background: #286090; border-color: #204D74; color: #fff; }
.staff-area .btn-danger { background: #D9534F; border-color: #D43F3A; color: #fff; }
.staff-area .btn-danger:hover { background: #C9302C; border-color: #AC2925; color: #fff; }
.staff-area .btn-outline { background: #fff; border-color: #CCC; color: #333; }
.staff-area .input, .staff-area select.input, .staff-area textarea.input { min-height: 30px; padding: 4px 8px; border: 1px solid #CCC; border-radius: 3px; font: 13px var(--font-sans); color: #555; box-shadow: inset 0 1px 1px rgba(0,0,0,.075); }
.staff-area .input:focus { border-color: #66AFE9; box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6); }
.staff-area label { font-size: 12.5px; font-weight: 600; color: #333; }
/* Statuses: coloured labels like WHMCS's */
.staff-area .status { display: inline-block; padding: 1px 7px; border-radius: 3px; font-size: 11px; font-weight: 700; line-height: 1.6; color: #fff !important; }
.staff-area .status::before { display: none !important; }
.staff-area .status.s-green { background: #5CB85C; }
.staff-area .status.s-amber { background: #F0AD4E; }
.staff-area .status.s-red { background: #D9534F; }
.staff-area .status.s-grey { background: #999; }
.staff-area .status.s-blue { background: #5BC0DE; }
.staff-area dialog.confirm { border-radius: 4px; }
.staff-area .feed li { padding: 6px 0; }
.staff-area .link-list a { color: var(--wh-blue); }
@media (max-width: 900px) {
  .staff-area .wh-top { flex-wrap: wrap; height: auto; padding: 8px 12px; gap: 8px; }
  .staff-area .wh-search { order: 3; flex: 1 1 100%; margin: 0; }
  .staff-area .wh-nav { flex-wrap: nowrap; overflow-x: auto; }
  .staff-area .content { padding: 12px; }
}
.staff-area .link-list { font-size: 12.5px; gap: 4px; }
.check-columns { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 16px; }
/* WHMCS (Blend), from Hostking's own WHMCS 9.1 admin: one blue bar (#1A4D80) with logo, menus and icons; grey sidebar; #F6F6F6 page */
body.staff-area { background: #F6F6F6; font-size: 13px; }
.staff-area .wh-bar { position: sticky; top: 0; z-index: 60; display: flex; align-items: stretch; height: 33px; padding: 0 12px 0 0; background: #1A4D80; }
.staff-area .wh-bar .wh-logo { display: flex; align-items: center; padding: 0 22px 0 18px; }
.staff-area .wh-bar .wh-logo img { height: 22px; }
.staff-area .wh-bar .wh-nav { position: static; display: flex; flex-wrap: nowrap; min-height: 0; padding: 0; background: none; overflow: visible; }
.staff-area .wh-bar .wh-item { padding: 0 12px; font-size: 14px; }
.staff-area .wh-bar .wh-item:hover, .staff-area .wh-bar .wh-item:focus-within, .staff-area .wh-bar .wh-item.on { background: #1B4D7F; box-shadow: inset 0 -3px 0 rgba(255,255,255,.35); }
.staff-area .wh-bar .wh-menu::after { border-top-color: #fff; }
.staff-area .wh-bar .wh-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.staff-area .wh-icon, .staff-area .wh-pop > summary, .staff-area .wh-bar .ctop-pop > summary { width: 30px; height: 30px; display: grid; place-items: center; color: #fff !important; border-radius: 3px; cursor: pointer; list-style: none; text-decoration: none !important; padding: 0; }
.staff-area .wh-pop > summary::-webkit-details-marker { display: none; }
.staff-area .wh-icon:hover, .staff-area .wh-pop > summary:hover, .staff-area .wh-bar .ctop-pop > summary:hover { background: rgba(255,255,255,.12); }
.staff-area .wh-bar .ctop-dot { box-shadow: 0 0 0 2px #1A4D80; }
.staff-area .wh-pop { position: relative; }
.staff-area .wh-pop .wh-drop { display: block; left: auto; right: 0; }
.staff-area .wh-pop:not([open]) .wh-drop { display: none; }
.staff-area .wh-avatar { width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #1A4D80; font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.staff-area .wh-drop-head { display: block; padding: 6px 18px 8px; font-weight: 700; color: #333; border-bottom: 1px solid #EEE; margin-bottom: 4px; }
.staff-area .wh-searchpop .wh-search { display: flex; gap: 6px; width: 420px; padding: 8px; margin: 0; }
.staff-area .wh-searchpop .wh-search input { flex: 1; height: 30px; border: 1px solid #CCC; border-radius: 3px; padding: 0 8px; font: 13px var(--font-sans); }
/* sidebar */
.staff-area .shell > .side { display: block; flex: 0 0 145px; max-width: 145px; padding: 0; background: #F6F6F6; border-right: 1px solid #DDD; position: sticky; top: 33px; height: calc(100vh - 33px); overflow-y: auto; }
.staff-area.side-min .shell > .side { display: none; }
.staff-area .wh-side { font-size: 12px; }
.staff-area .wh-side-head { display: flex; align-items: center; gap: 6px; padding: 5px 8px; background: rgba(0,0,0,.06); color: #444; font-weight: 600; font-size: 13px; }
.staff-area .wh-side-head svg { color: #888; }
.staff-area .wh-side-body { display: grid; gap: 1px; padding: 6px 8px 10px; }
.staff-area .wh-side-body a { color: #202F60; text-decoration: underline; font-size: 12px; line-height: 1.5; }
.staff-area .wh-side-search .input { min-height: 24px; height: 24px; padding: 0 4px; font-size: 12px; margin-bottom: 4px; width: 100%; }
.staff-area .wh-side-row { display: flex; gap: 0; }
.staff-area .wh-side-row .input { border-radius: 2px 0 0 2px; margin: 0; }
.staff-area .wh-side-row .btn { min-height: 24px; height: 24px; border-radius: 0 2px 2px 0; padding: 0 6px; font-size: 12px; }
.staff-area .wh-side-min { display: block; width: 100%; padding: 3px; border: 0; background: #666; color: #fff; font: 11px var(--font-sans); cursor: pointer; }
.staff-area .content { background: #fff; min-height: calc(100vh - 33px); }
.staff-area h1.page { font-size: 19.6px; }
.staff-area a { color: #202F60; }
@media (max-width: 900px) {
  .staff-area .wh-bar { height: auto; flex-wrap: wrap; padding: 0; }
  .staff-area .wh-bar .wh-nav { order: 3; flex: 1 1 100%; overflow-x: auto; }
  .staff-area .wh-bar .wh-item { height: 33px; }
  .staff-area .shell > .side { display: none; }
}
.staff-area .client-jump { max-width: 460px; margin: 10px 0 12px; }
.staff-area .client-jump .input { width: 100%; }
.staff-area .client-jump .input::placeholder { color: #333; }
.staff-area .client-title { font-size: 17px; font-weight: 400; margin: 0; color: #333; }
.staff-area .client-head { margin-top: 0; }
.staff-area .client-flags { background: #EAF2FA; border: 1px solid #D6E4F2; border-radius: 3px; padding: 4px 10px; gap: 12px; }
.staff-area .client-flags b.yes { color: #5CB85C; text-decoration: underline; }
.staff-area .client-flags b.no { color: #D9534F; text-decoration: underline; }
.staff-area .summary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1300px) { .staff-area .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* WHMCS's service form: white right-aligned labels, grey value cells */
.staff-area .wh-usage { padding: 8px 12px; margin-bottom: 8px; background: #F5F5F5; border: 1px dashed #CCC; text-align: center; font-size: 12px; }
.staff-area .wh-svc { padding: 2px; }
.staff-area .wh-form { width: 100%; border-collapse: separate; border-spacing: 2px; font-size: 13px; }
.staff-area .wh-form td { padding: 5px 8px; vertical-align: middle; }
.staff-area .wh-form td.fl { width: 15%; text-align: right; background: #fff; color: #333; white-space: nowrap; }
.staff-area .wh-form td.fv { width: 35%; background: #EFEFEF; }
.staff-area .wh-form .input { min-height: 28px; height: 28px; padding: 2px 8px; font-size: 13px; max-width: 100%; }
.staff-area .wh-form select.input { width: auto; min-width: 220px; }
.staff-area .wh-form .w-sm { width: 140px; min-width: 0; }
.staff-area .wh-cmds { display: table-cell; }
.staff-area .wh-cmds form { display: inline-block; margin: 0 2px 2px 0; }
.staff-area .wh-cmds > .btn { margin: 0 2px 2px 0; }
.staff-area .wh-save { padding: 10px; text-align: center; }
@media (max-width: 900px) { .staff-area .wh-form, .staff-area .wh-form tbody, .staff-area .wh-form tr, .staff-area .wh-form td { display: block; width: auto !important; text-align: left !important; } }
/* WHMCS list details: record count line, status as coloured text */
.staff-area .wh-count { padding: 8px 10px 6px; font-size: 12px; color: #333; }
.staff-area .status { background: none !important; color: #333 !important; padding: 0; font-weight: 400; font-size: 12px; border-radius: 0; }
.staff-area .status.s-green, .staff-area .wh-ok { color: #3C9A1E !important; }
.staff-area .status.s-amber { color: #E68A00 !important; }
.staff-area .status.s-red, .staff-area .wh-bad { color: #CC0000 !important; }
.staff-area .status.s-grey, .staff-area .wh-off { color: #888 !important; }
.staff-area .status.s-blue { color: #2A7AB0 !important; }
.staff-area .wh-totals { background: #F5F5F5; border: 1px solid #E5E5E5; border-radius: 3px; padding: 8px 14px; text-align: center; font-size: 13px; line-height: 1.7; }
.staff-area .wh-totals b { margin-right: 4px; }
.staff-area .status.st-unpaid, .staff-area .status.st-pending { color: #CC0000 !important; } .staff-area .status.st-suspended { color: #FF6600 !important; }
.staff-area .wh-inv-head { display: grid; gap: 16px 24px; grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); align-items: start; }
.staff-area .wh-inv-head .wh-form { table-layout: auto; }
.staff-area .wh-inv-head .wh-form td.fl { width: 1%; min-width: 130px; }
.staff-area .wh-inv-head .wh-form td.fv { width: auto; }
.staff-area .wh-inv-head .wh-inv-actions { flex-direction: column; align-items: stretch; text-align: center; border-left: 1px solid var(--border, #e5e5e5); padding-left: 20px; }
.staff-area .wh-inv-head .wh-inv-actions .wh-inv-email { display: flex; gap: 6px; }
.staff-area .wh-inv-head .wh-inv-actions .wh-inv-email select { flex: 1; min-width: 0; }
.staff-area .wh-inv-head .wh-inv-actions .btn { width: 100%; justify-content: center; }
.staff-area .wh-inv-head .wh-inv-actions .wh-inv-email .btn { width: auto; }
@media (max-width: 900px) { .staff-area .wh-inv-head { grid-template-columns: minmax(0, 1fr); } .staff-area .wh-inv-head .wh-inv-actions { border-left: 0; padding-left: 0; } }
.staff-area .wh-inv-status { text-align: center; vertical-align: middle !important; width: 30%; font-size: 26px; font-weight: 700; background: #fff !important; }
.staff-area .wh-inv-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.staff-area .wh-inv-actions form { margin: 0; }
.staff-area .wh-tabs { margin-top: 10px; }
.staff-area .wh-tabpane { margin-top: -15px; border-top: 0; border-radius: 0 0 3px 3px; }
.staff-area .wh-tickets td { font-size: 12.5px; }
.staff-area .wh-flag { color: #F0AD4E; font-size: 14px; }
.staff-area .wh-flag.high { color: #D9534F; }
.staff-area .wh-flag.low { color: #5BC0DE; }
.staff-area .wh-tag { display: inline-block; padding: 0 4px; border-radius: 2px; font-size: 9.5px; font-weight: 700; line-height: 1.6; color: #fff; background: #BBB; vertical-align: 1px; }
.staff-area .wh-tag.owner { background: #5CB85C; }
.staff-area .wh-tst { color: #779500; }
.staff-area .wh-tst-customer_reply, .staff-area .wh-tst-customer-reply { color: #FF6600; }
.staff-area .wh-tst-answered { color: #000; }
.staff-area .wh-tst-on_hold, .staff-area .wh-tst-in_progress { color: #224488; }
.staff-area .wh-tst-closed { color: #888; }
.staff-area .wh-ticket-head { margin: 6px 0 8px; align-items: flex-start; }
.staff-area .wh-ticket-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; font-size: 16px; }
.staff-area .wh-ticket-title select { width: auto; min-height: 26px; height: 26px; padding: 0 6px; font-size: 12.5px; }
.staff-area .wh-lastreply { background: #333; color: #fff; border-radius: 3px; padding: 3px 8px; font-size: 11px; }
.staff-area .wh-reply-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.staff-area .wh-reply-row > .input { flex: 0 1 260px; }
.staff-area .wh-reply-row .saved-pick { flex: 1 1 260px; position: relative; }
.staff-area .wh-reply-row select { flex: 0 0 140px; }
.staff-area .wh-reply-row .btn-primary { margin-left: auto; min-width: 100px; }
.staff-area textarea.wh-note { background: #FFFBE6; }
.staff-area .wh-thread { margin-top: 6px; }
/* WHMCS ticket messages: author on the left, message on the right */
.staff-area .ticket-thread { gap: 0 !important; border: 1px solid #DDD; }
.staff-area .ticket-thread article { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 0 16px; margin: 0; border: 0; border-bottom: 1px solid #DDD !important; border-radius: 0; padding: 12px 14px; }
.staff-area .ticket-thread article > .row-between { grid-column: 1; grid-row: 1 / span 3; flex-direction: column; align-items: flex-end; text-align: right; margin: 0 !important; gap: 4px !important; }
.staff-area .ticket-thread article > :not(.row-between) { grid-column: 2; }
.staff-area .ticket-thread article[style*="border-left"] { background: #F3F7FB; }
@media (max-width: 900px) { .staff-area .ticket-thread article { grid-template-columns: 1fr; } .staff-area .ticket-thread article > .row-between { grid-row: auto; align-items: flex-start; text-align: left; } .staff-area .ticket-thread article > :not(.row-between) { grid-column: 1; } }
.staff-area .wh-side-info { grid-template-columns: 1fr; gap: 0; } .staff-area .wh-side-info b { margin-top: 6px; font-size: 12px; } .staff-area .wh-side-search label { font-weight: 600; font-size: 11.5px; display: grid; gap: 2px; margin-bottom: 4px; }
/* WHMCS dashboard */
.staff-area .wh-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.staff-area .wh-tile { display: flex; align-items: center; gap: 14px; height: 52px; color: #fff !important; text-decoration: none !important; border-radius: 2px; overflow: hidden; }
.staff-area .wh-tile .wh-tile-ico { width: 84px; height: 100%; display: grid; place-items: center; background: rgba(0,0,0,.1); }
.staff-area .wh-tile b { display: block; font-size: 20px; font-weight: 400; line-height: 1.1; }
.staff-area .wh-tile span:last-child { font-size: 11px; }
.staff-area .t-green { background: #5CC560; } .staff-area .t-pink { background: #E5317A; } .staff-area .t-orange { background: #EBA845; } .staff-area .t-teal { background: #79C9D2; }
.staff-area .wh-widgets { columns: 3 360px; column-gap: 10px; }
.staff-area .wh-widget { break-inside: avoid; margin: 0 0 10px !important; display: block; }
.staff-area .wh-widget .card-head { background: #fff; display: flex; justify-content: space-between; align-items: center; }
.staff-area .wh-widget .card-head .section { color: #333; font-weight: 400; font-size: 13px !important; }
.staff-area .wh-seg { display: inline-flex; }
.staff-area .wh-seg a { padding: 2px 8px; border: 1px solid #CCC; margin-left: -1px; font-size: 11px; color: #555 !important; text-decoration: none !important; background: #fff; }
.staff-area .wh-seg a.on { background: #E6E6E6; font-weight: 600; }
.staff-area .wh-chart { width: 100%; height: auto; display: block; }
.staff-area .wh-legend { font-size: 11px; color: #555; text-align: center; margin-bottom: 6px; }
.staff-area .wh-legend span { display: inline-block; width: 26px; height: 10px; margin: 0 4px 0 10px; vertical-align: -1px; }
.staff-area .lg-new { background: #E1E1E1; } .staff-area .lg-act { background: #8C9EF0; } .staff-area .lg-inc { background: #5CB85C; }
.staff-area .wh-billing { display: grid; grid-template-columns: 1fr 1fr; }
.staff-area .wh-billing > div { padding: 14px; border-bottom: 1px solid #EEE; }
.staff-area .wh-billing > div:nth-child(odd) { border-right: 1px solid #EEE; }
.staff-area .wh-billing b { display: block; font-size: 20px; font-weight: 400; }
.staff-area .wh-billing span { font-size: 11px; color: #777; }
.staff-area .c-green { color: #5CB85C; } .staff-area .c-orange { color: #EBA845; } .staff-area .c-pink { color: #E5317A; }
.staff-area .wh-activity { list-style: none; margin: 0; padding: 4px 14px 10px; max-height: 300px; overflow-y: auto; }
.staff-area .wh-activity li { padding: 6px 0; border-bottom: 1px solid #F0F0F0; font-size: 12.5px; }
@media (max-width: 900px) { .staff-area .wh-tiles { grid-template-columns: 1fr 1fr; } }
.staff-area .wh-overview .card-head { background:#fff; display:flex; justify-content:space-between; align-items:center; } .staff-area .wh-overview .card-head .section { color:#333; font-weight:400; font-size:13px !important; } .staff-area .wh-overview .wh-chart { max-height: 240px; }
/* Calendar */
.staff-area .wh-cal-filter { background: #F2F2F2; padding: 6px 10px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 12px; border-radius: 3px; }
.staff-area .wh-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-left: 1px solid #DDD; border-top: 1px solid #DDD; }
.staff-area .wh-cal-h { text-align: center; font-weight: 600; font-size: 12px; padding: 3px; border-right: 1px solid #DDD; border-bottom: 1px solid #DDD; background: #FAFAFA; }
.staff-area .wh-cal-d { min-height: 96px; padding: 2px 3px; border-right: 1px solid #DDD; border-bottom: 1px solid #DDD; font-size: 11px; display: grid; align-content: start; gap: 1px; min-width: 0; }
.staff-area .wh-cal-d .n { text-align: right; color: #555; }
.staff-area .wh-cal-d.other .n { color: #BBB; }
.staff-area .wh-cal-d.today { background: #FCF8E3; }
.staff-area .wh-cal-d .ev { display: block; padding: 0 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #333 !important; text-decoration: none !important; border-radius: 2px; }
.staff-area .ev-svc { background: #FCEC9E; } .staff-area .ev-addon { background: #FDE2B4; } .staff-area .ev-domain { background: #D5E8F7; } .staff-area .ev-todo { background: #3A6FCB; color: #fff !important; }
.staff-area .wh-cal-d .more { color: #777; }

/* An email as sent, shown as readable text */
.mail-body{white-space:pre-wrap;word-break:break-word;background:#fff;border:1px solid var(--line, #ddd);padding:12px 14px;border-radius:4px;margin:8px 0 0;max-height:360px;overflow:auto;font-size:13px;line-height:1.55;max-width:760px}

/* WHMCS-style search bar and list bar (View/Search Clients and similar lists) */
.staff-area .wh-finder{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:flex-end;padding:12px 14px;margin:0 0 4px;background:#F5F5F5;border:1px solid #E2E2E2}
.staff-area .wh-finder > label{flex:1 1 140px}
.staff-area .wh-finder > .form-grid{flex:1 1 100%}
.staff-area .wh-finder label{font-weight:700;font-size:13px;display:flex;flex-direction:column;gap:4px;margin:0}
.staff-area .wh-finder-ico{width:40px;height:40px;flex:0 0 40px;border-radius:50%;background:#5CB85C;color:#fff;display:grid;place-items:center}
.staff-area .wh-listbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:10px 0 6px}
.staff-area .wh-listbar-right{display:flex;gap:12px;align-items:center}
.staff-area .wh-toggle{display:inline-flex;align-items:center;border:1px solid #ccc;border-radius:3px;font-size:12px;color:#333;text-decoration:none;padding-right:6px;background:#fff}
.staff-area .wh-toggle span{padding:2px 6px;margin-right:6px;background:#ddd;color:#555;font-weight:700}
.staff-area .wh-toggle.on span{background:#337AB7;color:#fff}
.staff-area .input-sm{padding:2px 4px;min-height:0;height:24px;width:auto;display:inline-block}
.staff-area .wh-label{display:inline-block;font-size:10px;font-weight:700;line-height:1;padding:3px 5px;border-radius:2px;color:#fff;background:#999;letter-spacing:.02em}
.staff-area .wh-label-active{background:#5CB85C}
.staff-area .wh-label-inactive{background:#999}
.staff-area .wh-label-closed{background:#555}
@media (max-width:900px){.staff-area .wh-finder-ico{display:none}}
.staff-area .wh-finder [hidden]{display:none!important}
.staff-area .wh-finder .btn{white-space:nowrap;height:30px;display:inline-flex;align-items:center;gap:5px}
.staff-area .wh-finder .input{height:30px;min-height:0;padding:4px 8px}
.staff-area table.table td a{color:#1A4D80}

/* Manage Orders */
.staff-area span.st-active, .staff-area td.st-active { color: #5CB85C; }
.staff-area span.st-pending, .staff-area span.st-unpaid, .staff-area div.st-pending { color: #CC0000; }
.staff-area span.st-cancelled { color: #888; }
.staff-area .wh-tab-btn { margin-left: auto; border: 1px solid #CCC; background: #F5F5F5; border-radius: 3px 3px 0 0; padding: 4px 10px; font: 13px var(--font-sans); cursor: pointer; }
.staff-area .wh-filterbox { background: #F5F5F5; border: 1px solid #E2E2E2; padding: 10px 14px; margin: 0 0 6px; }
.staff-area .wh-filterbox[hidden] { display: none; }
.staff-area .wh-filterbox td.label { width: 130px; text-align: right; font-weight: 400; }
.staff-area .btn-success { background: #5CB85C; border-color: #4CAE4C; color: #fff; }
.staff-area .btn-success:hover { background: #449D44; }
.staff-area .wh-mass { margin: 8px 0; display: flex; gap: 6px; align-items: center; font-size: 13px; }
.staff-area .wh-order-actions { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 14px 0; }
.staff-area .wh-order-actions form { margin: 0; }
.staff-area .wh-infobox { background: #D9EDF7; border: 1px solid #BCE8F1; color: #31708F; padding: 10px 14px; border-radius: 3px; display: flex; gap: 12px; align-items: flex-start; }
.staff-area .wh-infobox.warn { background: #FCF8E3; border-color: #FAEBCC; color: #8A6D3B; }
.staff-area .wh-infobox.bad { background: #F2DEDE; border-color: #EBCCD1; color: #A94442; }
.staff-area .wh-subrow td { background: #FAFAFA !important; font-size: 12px; }
.staff-area .wh-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 900px) { .staff-area .wh-two { grid-template-columns: 1fr; } }
.staff-area .wh-label-pending { background: #F0AD4E; }
.staff-area .wh-two > .wh-form { background: #F5F5F5; border: 1px solid #E2E2E2; padding: 6px 10px; }
.staff-area .wh-order-actions form { display: inline-flex; align-items: center; gap: 4px; }
.staff-area .wh-swatch { display: inline-block; width: 12px; height: 12px; border: 1px solid #ccc; vertical-align: middle; margin-right: 4px; }
.staff-area .wh-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 10px 0; }
.staff-area .wh-stat { background: #fff; border: 1px solid #DDD; border-radius: 3px; padding: 12px; text-align: center; }
.staff-area .wh-stat-n { font-size: 26px; color: #1A4D80; line-height: 1.2; }
.staff-area .wh-stat-l { font-size: 12px; color: #666; }
@media (max-width: 900px) { .staff-area .wh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* WHMCS menu: nested items and the wrench */
.staff-area .wh-drop .wh-sub { padding-left: 22px; }
.staff-area .wh-drop .wh-drop-head { display: block; padding: 6px 14px 2px; font-size: 12px; color: #888; }
.staff-area .wh-config-drop { display: grid; grid-template-columns: repeat(3, 96px); gap: 4px; padding: 8px; right: 0; left: auto; }
.staff-area .wh-config-drop a { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 12px; padding: 8px 4px !important; color: #333; }
.staff-area .wh-config-drop a:hover { background: #F2F2F2; }
.staff-area .wh-config-head { font-size: 15px; font-weight: 600; color: #333; margin: 18px 0 8px; border-bottom: 1px solid #E5E5E5; padding-bottom: 4px; }
.staff-area .wh-config-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.staff-area .wh-config-tile { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid #DDD; border-radius: 3px; padding: 12px; color: #333 !important; text-decoration: none !important; }
.staff-area .wh-config-tile:hover { border-color: #1A4D80; background: #F7FAFD; }
.staff-area .wh-config-tile svg { color: #1A4D80; flex: 0 0 auto; }
.staff-area .wh-config-tile b { display: block; color: #1A4D80; font-weight: 600; }
.staff-area .wh-config-tile span span { display: block; font-size: 12px; color: #666; margin-top: 2px; }
.staff-area .wh-config-search .input { width: 260px; }
.staff-area .wh-reports { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.staff-area .wh-report-list { list-style: none; margin: 0; padding: 0; }
.staff-area .wh-report-list li { padding: 6px 0; border-top: 1px solid #EEE; }
.staff-area .wh-report-list li:first-child { border-top: 0; }
.staff-area .wh-label-bad { background: #D9534F; }
.staff-area .wh-www { font-size: 11px; color: #CC0000 !important; margin-left: 3px; }
.staff-area .wh-filterbox table td.label { width: 140px; text-align: right; background: #EFEFEF; }
.staff-area .wh-txhead { display: grid; grid-template-columns: 1fr 260px; gap: 12px; margin-top: 10px; }
.staff-area .wh-txtotals { display: grid; gap: 8px; }
.staff-area .wh-txtotal { background: #fff; border: 1px solid #DDD; border-radius: 3px; padding: 10px 12px; display: flex; flex-direction: column; }
.staff-area .wh-txtotal b { font-size: 20px; font-weight: 600; color: #333; }
.staff-area .wh-balances { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.staff-area .wh-balance { border: 1px solid #DDD; border-radius: 3px; padding: 8px 12px; min-width: 150px; display: flex; flex-direction: column; background: #fff; }
@media (max-width: 900px) { .staff-area .wh-txhead { grid-template-columns: 1fr; } }
.staff-area .wh-rowbtns .btn { padding: 1px 6px; font-size: 11px; margin-left: 2px; }
.staff-area .wh-btngroup { display: inline-flex; }
.staff-area .wh-btngroup .btn { border-radius: 0; margin-left: -1px; }
.staff-area .wh-btngroup .btn.active { background: #E6E6E6; box-shadow: inset 0 3px 5px rgba(0,0,0,.125); }
.staff-area textarea.wh-reason { width: 100%; background: #EEE; font-size: 12px; resize: vertical; min-height: 40px; }
/* Client Summary boxes, as WHMCS draws them */
.staff-area .wh-box { background: #fff; border: 1px solid #DDD; border-radius: 3px; margin-bottom: 12px; }
.staff-area .wh-box-head { background: #F2F2F2; border-bottom: 1px solid #DDD; text-align: center; font-weight: 700; color: #333; padding: 6px; font-size: 13px; }
.staff-area .wh-box-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.staff-area .wh-box-table td { padding: 3px 8px; border-bottom: 1px solid #F0F0F0; vertical-align: top; }
.staff-area .wh-box-table td.label { width: 42%; color: #555; }
.staff-area .wh-box-table tr:nth-child(odd) td { background: #FAFAFA; }
.staff-area .wh-box-links { padding: 6px 8px; display: flex; flex-direction: column; gap: 3px; font-size: 12px; }
.staff-area .wh-box-links form { margin: 0; }
.staff-area .wh-linkbtn { background: none; border: 0; padding: 0; color: #1A4D80; cursor: pointer; font: inherit; text-align: left; }
.staff-area .wh-linkbtn:hover, .staff-area .wh-box-links a:hover { text-decoration: underline; }
.staff-area .wh-summary .summary-col { min-width: 0; }
.staff-area .wh-pinbox .pin-check > .label { display: none; }
.staff-area .wh-tabbar-right { display: flex; justify-content: flex-end; gap: 6px; margin: 0 0 8px; }
.staff-area .wh-stats4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.staff-area .wh-stats4 > div { background: #F5F5F5; border-radius: 3px; padding: 10px 14px; display: flex; flex-direction: column; }
.staff-area .wh-stats4 b { font-size: 24px; font-weight: 400; color: #555; }
.staff-area .wh-stats4 span { font-size: 11px; text-transform: uppercase; color: #777; }
@media (max-width: 700px) { .staff-area .wh-stats4 { grid-template-columns: repeat(2, 1fr); } }
.staff-area .wh-alert-empty { max-width: 680px; margin: 40px auto; padding: 22px; background: #F2DEDE; border: 1px solid #EBCCD1; color: #333; text-align: center; border-radius: 3px; }
.staff-area tr.wh-overdue td { background: #FCF8E3; }
.staff-area .wh-infobar { display: flex; justify-content: space-between; align-items: center; background: #D9EDF7; border: 1px solid #BCE8F1; color: #31708F; padding: 8px 12px; border-radius: 3px; margin-bottom: 12px; }
.staff-area .wh-infobar form { margin: 0; }
.staff-area .wh-warnbox { background: #FCF8E3; border: 1px solid #FAEBCC; color: #8A6D3B; padding: 10px 14px; border-radius: 3px; margin-bottom: 10px; font-size: 13px; }
.staff-area .ev-event { background: #F0AD4E; color: #fff !important; }
.staff-area .wh-side-body form { margin: 0; }
.staff-area .wh-side-link { background: none; border: 0; padding: 0; font-family: inherit; font-size: 12px; line-height: 1.5; color: #202F60; text-decoration: underline; cursor: pointer; text-align: left; display: block; }
.staff-area .wh-ticket-status { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.staff-area .wh-ticket-status select { width: auto; min-width: 160px; }
.staff-area .wh-reply-sets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.staff-area .wh-reply-sets[hidden] { display: none; }
@media (max-width: 800px) { .staff-area .wh-reply-sets { grid-template-columns: 1fr 1fr; } }
.staff-area .wh-attach { cursor: pointer; }
.staff-area .wh-side-info select { width: 100%; }
.staff-area #reply-return { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; margin: 0; }
.staff-area #reply-return[hidden] { display: none; }
.staff-area .wh-side-body .pin-check form input { min-width: 0; width: 100%; }
.staff-area .wh-side-body .pin-check p { display: none; }
.staff-area .wh-side-body .pin-check .label { font-size: 12px; font-weight: 700; color: #333; }
.staff-area .ticket-thread article.wh-msg-client { background: #EEF5FB; }
.staff-area .ticket-thread article.wh-msg-staff { background: #fff; }
.staff-area .ticket-thread article[style*="border-left"].wh-msg-staff { background: #fff; }
.staff-area .wh-msg-who b { font-size: 13px; }
.staff-area .wh-msg-who .wh-tag { background: #CCC; color: #fff; font-size: 9px; padding: 1px 5px; border-radius: 2px; }
.staff-area .wh-msg-note .wh-msg-who .wh-tag { background: #F0AD4E; }
.staff-area .wh-msg-staff .wh-msg-who .wh-tag { background: #5BC0DE; }
.staff-area .wh-msg-who i { color: #555; word-break: break-all; }
.staff-area .wh-msg-when { margin-bottom: 6px; }
.staff-area .wh-reportgroups { text-align: center; }
.staff-area .wh-reportgroup { font-size: 15px; font-weight: 400; color: #333; margin: 18px 0 8px; }
.staff-area .wh-reportbtns { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.staff-area .wh-reportbtns .btn { background: #fff; border: 1px solid #CCC; color: #333; }
.staff-area .wh-reportbtns .wh-rb-general { background: #5BC0DE; border-color: #46B8DA; color: #fff; }
.staff-area .wh-reportbtns .wh-rb-export { background: #666; border-color: #555; color: #fff; }
.staff-area .wh-profile td.label { width: 16%; }
.staff-area .wh-profile .check { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.staff-area .wh-order { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start; }
.staff-area .wh-order-head { font-size: 15px; font-weight: 400; margin: 14px 0 6px; color: #333; }
.staff-area .wh-order .check { display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 900px) { .staff-area .wh-order { grid-template-columns: 1fr; } }
.staff-area .wh-inv-actions { text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.staff-area .wh-inv-email { display: flex; gap: 4px; }
.staff-area tr.wh-subrow td { background: #F2F2F2; }
.staff-area tr.wh-totalbar td { background: #1A4D80; color: #fff; font-weight: 700; }
.staff-area .wh-inv-head { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
.staff-area .wh-inv-actions .wh-inv-status { width: auto; font-size: 22px; }
@media (max-width: 900px) { .staff-area .wh-inv-head { grid-template-columns: 1fr; } }
.staff-area .table tr.wh-totalbar td { background: #1A4D80 !important; color: #fff !important; font-weight: 700; }
.staff-area .table tr.wh-subrow td { background: #F2F2F2 !important; }
.staff-area .wh-metrics { width: 100%; border-collapse: collapse; font-size: 12px; background: #fff; }
.staff-area .wh-metrics th { text-align: left; padding: 4px 6px; border-bottom: 1px solid #DDD; font-weight: 700; }
.staff-area .wh-metrics td { padding: 3px 6px; border-bottom: 1px solid #F0F0F0; }
.staff-area .wh-svc .check { display: inline-flex; gap: 6px; align-items: center; margin: 0 8px 0 0; }
.staff-area .wh-svc .check + .input { display: inline-block; width: auto; }
.staff-area .wh-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0; }
.staff-area .wh-tagchip { display: inline-flex; align-items: center; background: #E8EEF5; border-radius: 2px; font-size: 11px; padding: 1px 2px 1px 6px; }
.staff-area .wh-tagchip a { text-decoration: none !important; }
.staff-area .wh-tagchip form { display: inline; }
.staff-area .wh-tagchip button { border: 0; background: none; cursor: pointer; color: #888; padding: 0 4px; }

/* Client home (2026 design): welcome band, to-dos, website cards. */
.hk-hero { position: relative; overflow: hidden; background: #0B1B3A; color: #fff; border-radius: 20px; padding: 28px 28px 24px; }
.hk-hero::after { content: ''; position: absolute; right: -70px; top: -90px; width: 280px; height: 280px; border-radius: 50%; border: 44px solid rgba(111,174,255,.10); pointer-events: none; }
.hk-hero-top { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; justify-content: space-between; }
.hk-hero h1.page { color: #fff; margin: 0; }
.hk-hero h1.page em { color: #9CC7FF; }
.hk-hero p { margin: 6px 0 0; color: #B9C5DB; }
.hk-hero-tiles { position: relative; z-index: 1; margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.hk-hero-tiles a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.10); color: #fff; }
.hk-hero-tiles a:hover { background: rgba(255,255,255,.12); color: #fff; }
.hk-hero-tiles span { font-size: 13px; color: #B9C5DB; }
.hk-hero-tiles b { font-size: 24px; line-height: 1.25; }
.hk-hero-tiles small { font-size: 13px; color: #B9C5DB; }
.hk-hero-tiles small.ok { color: #7FD6A2; } .hk-hero-tiles small.warn { color: #FFC46B; }
.hk-hero-tiles small i, .hk-chip i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.client-area .card { box-shadow: 0 1px 2px rgba(11,27,58,.04), 0 6px 20px rgba(11,27,58,.05); }
.hk-todo { padding: 18px 22px 6px; }
.hk-todo h2 { margin: 0 0 6px; }
.hk-todo ul { list-style: none; margin: 0; padding: 0; }
.hk-todo li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 0; border-top: 1px solid #EEF1F6; }
.hk-todo-text { flex: 1 1 260px; display: flex; flex-direction: column; }
.hk-todo-text span { font-size: 14px; color: var(--muted); }
.hk-ico { width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex: none; background: var(--tint); color: var(--blue); }
.hk-ico.amber { background: var(--amber-bg); color: var(--amber-text); } .hk-ico.red { background: var(--red-bg); color: var(--red); }
.hk-quick { display: flex; flex-wrap: wrap; gap: 10px; }
.hk-quick .btn { gap: 8px; }
.hk-sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.hk-site { overflow: hidden; display: flex; flex-direction: column; padding: 0; }
.hk-frame { display: block; background: #F1F4F9; padding: 10px 12px 0; border-bottom: 1px solid var(--border); }
.hk-frame-bar { display: flex; align-items: center; gap: 5px; padding-bottom: 8px; color: var(--muted); }
.hk-frame-bar i { width: 8px; height: 8px; border-radius: 50%; background: #D3DAE6; }
.hk-frame-bar .mono { margin-left: 8px; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hk-frame-page { display: flex; flex-direction: column; height: 118px; border-radius: 8px 8px 0 0; overflow: hidden; background: hsl(var(--h) 45% 96%); }
.hk-frame-nav { height: 16px; background: hsl(var(--h) 40% 24%); }
.hk-frame-hero { flex: 1; display: flex; align-items: center; gap: 14px; padding: 0 16px; }
.hk-frame-mark { width: 56px; height: 56px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font: 700 26px var(--font-serif); color: #fff; background: hsl(var(--h) 45% 42%); flex: none; }
.hk-frame-lines { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.hk-frame-lines i { display: block; height: 7px; border-radius: 4px; background: hsl(var(--h) 25% 80%); }
.hk-frame-lines i:first-child { width: 80%; height: 9px; background: hsl(var(--h) 35% 30%); } .hk-frame-lines i:nth-child(2) { width: 60%; } .hk-frame-lines i:nth-child(3) { width: 46px; height: 14px; background: hsl(var(--h) 55% 48%); }
.hk-site-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.hk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hk-chip { padding: 3px 10px; border-radius: 999px; background: #EEF1F6; color: #3D4B63; font-size: 13px; font-weight: 500; }
.hk-chip.ok { background: #E7F5EC; color: #1C6B3E; } .hk-chip.warn { background: var(--amber-bg); color: var(--amber-text); } .hk-chip.bad { background: var(--red-bg); color: var(--red); }
.hk-site-actions { display: flex; gap: 8px; margin-top: auto; } .hk-site-actions .btn { flex: 1; }
.hk-add { border: 1.5px dashed #C9D3E3; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 220px; padding: 20px; background: #FAFBFD; text-align: center; }
.hk-add span { font-size: 30px; line-height: 1; } .hk-add small { color: var(--muted); max-width: 230px; }
.hk-trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: start; }

/* Website page (2026 design): header card, status cards, shortcut tiles, grouped side menu. */
.client-area .side-switch select { width: calc(100% - 8px); margin: 0 4px 12px; min-height: 42px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff; font: 600 14px var(--font-sans); color: var(--navy); }
.client-area .side-group { margin: 2px 0; }
.client-area .side-group summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 38px; padding: 0 14px; border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--navy); }
.client-area .side-group summary::-webkit-details-marker { display: none; }
.client-area .side-group summary::after { content: '▾'; font-size: 12px; color: var(--muted); transition: transform .15s; }
.client-area .side-group:not([open]) summary::after { transform: rotate(-90deg); }
.client-area .side-group summary:hover { background: var(--tint); }
.client-area .side-group .nav-link { min-height: 38px; padding-left: 26px; font-size: 14px; }
.hk-sitehead { padding: 20px 22px; display: flex; flex-direction: column; gap: 18px; }
.hk-sitehead-top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.hk-siteicon { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.hk-sitehead-name { flex: 1 1 260px; min-width: 0; }
.hk-sitehead-domain { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 18px; }
.hk-sitehead-domain a { color: var(--navy); } .hk-sitehead-domain a:hover { color: var(--blue); }
.hk-lock { color: var(--green); display: inline-flex; }
.hk-sitehead-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hk-status-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.hk-status-row a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; color: var(--navy); background: #fff; }
.hk-status-row a:hover { border-color: #B7C4D9; background: #FAFBFD; color: var(--navy); }
.hk-status-row a > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.hk-status-row small { color: var(--muted); font-size: 13px; } .hk-status-row small.ok { color: var(--green); } .hk-status-row small.warn { color: var(--amber-text); }
.hk-status-row i { font-style: normal; font-size: 22px; color: var(--muted); }
.hk-ico.green { background: #EAF6EF; color: var(--green); }
.hk-dash-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.hk-dash-title h1.page { margin: 0; padding-right: 16px; border-right: 1px solid var(--border); font: 600 26px/1.2 var(--font-sans); }
.hk-crumbs { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; }
.hk-crumbs a { color: var(--muted); display: inline-flex; } .hk-crumbs a:hover { color: var(--blue); }
.hk-dash-grid { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.hk-dash-left { flex: 1 1 200px; max-width: 240px; display: flex; flex-direction: column; gap: 16px; }
.hk-dash-right { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.hk-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.hk-tile { display: flex; align-items: center; gap: 12px; padding: 20px 22px; color: var(--navy); font-size: 17px; }
.hk-tile-ico { color: var(--blue); display: inline-flex; }
.hk-tile:hover, .hk-speed:hover, .hk-safe:hover { color: var(--navy); border-color: #B7C4D9; }
.hk-speed { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 22px; color: var(--navy); }
.hk-speed-head { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.hk-speed small, .hk-safe small { color: var(--muted); font-size: 13px; }
.hk-link { color: var(--blue); font-weight: 600; font-size: 15px; }
.hk-safe { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; color: var(--navy); font-size: 16px; }
.hk-check { color: var(--green); font-size: 20px; font-weight: 700; }
.hk-cache { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 22px 26px; }
.hk-btn-blue { color: var(--blue); }
.hk-ring { --p: 0; --c: var(--blue); width: 96px; height: 96px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), #E9EEF6 0); }
.hk-ring b { width: 80px; height: 80px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; color: var(--c); }
.hk-ring.empty { background: #E9EEF6; } .hk-ring.empty b { color: var(--muted); }


.client-area .side-links .nav-link.active { background: #E8F0FD; color: var(--blue); font-weight: 600; box-shadow: none; border-radius: 10px; }
.hk-sitehead .hk-status-row a { border-radius: 12px; }
.hk-sitehead-top .btn, .hk-dash-grid .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.client-area .side-group summary > span { display: flex; align-items: center; gap: 12px; }
.client-area .side-group .nav-link { padding-left: 44px; }

.client-area .content { max-width: 1560px; }
.hk-tiles .hk-tile { min-height: 76px; }
.hk-tiles .card, .hk-dash-left .card, .hk-dash-right > .card { margin: 0; }

/* ===== Client area, hPanel-style (Oct 2026): white top bar and menu, light page, flat cards, list rows. ===== */
body.client-area { --hp-bg: #F4F5FA; --hp-line: #E3E6EE; --hp-ink: #1F2440; --hp-soft: #5B6178; --hp-pill: var(--hp-pill); background: var(--hp-bg); color: var(--hp-ink); }
body.client-area .ctop { background: #fff; color: var(--hp-ink); border-bottom: 1px solid var(--hp-line); height: 64px; padding: 0 24px; }
body.client-area .ctop-brand img { height: 30px; }
body.client-area .ctop-account { color: var(--hp-ink); }
body.client-area .ctop-search { background: #F4F5FA; border: 1px solid var(--hp-line); color: var(--hp-soft); height: 40px; border-radius: 8px; }
body.client-area .ctop-search:focus-within { background: #fff; border-color: var(--blue); }
body.client-area .ctop-search input { color: var(--hp-ink); }
body.client-area .ctop-search input::placeholder { color: #8A90A6; }
body.client-area .ctop-icon, body.client-area .ctop-pop > summary { color: #3B4160; }
body.client-area .ctop-icon:hover, body.client-area .ctop-pop > summary:hover { background: #F1F3F8; color: var(--hp-ink); }
body.client-area .ctop-user { color: var(--hp-ink); }
body.client-area .ctop-user .avatar { background: var(--hp-pill); color: var(--blue); }
body.client-area .ctop-menu { border-color: var(--hp-line); color: var(--hp-ink); }
body.client-area .side { background: #fff; border-right: 1px solid var(--hp-line); padding: 20px 14px; top: 64px; height: calc(100vh - 64px); flex: 0 0 248px; max-width: 248px; }
body.client-area .nav-link { min-height: 44px; padding: 0 14px; border-radius: 8px; color: #3B4160; font-size: 15px; font-weight: 500; }
body.client-area .nav-link svg { color: #3B4160; }
body.client-area .nav-link:hover { background: #F4F5FA; color: var(--hp-ink); }
body.client-area .nav-link.active, body.client-area .side-links .nav-link.active { background: var(--hp-pill); color: var(--blue); font-weight: 600; box-shadow: none; }
body.client-area .nav-link.active svg { color: var(--blue); }
body.client-area .content { padding: 32px 40px 64px; gap: 24px; max-width: 1400px; }
body.client-area h1.page { font: 700 26px/1.25 var(--font-sans); letter-spacing: -.01em; color: var(--hp-ink); }
body.client-area h1.page em { font-style: normal; color: inherit; }
body.client-area .section-title { font: 700 20px/1.3 var(--font-sans); color: var(--hp-ink); }
body.client-area h2.section, body.client-area .card-title { font-family: var(--font-sans); font-weight: 600; color: var(--hp-ink); }
body.client-area .card { background: #fff; border: 1px solid var(--hp-line); border-radius: 8px; box-shadow: none; }
body.client-area .card:hover { box-shadow: none; }
body.client-area .btn { min-height: 40px; padding: 0 18px; border-radius: 8px; font: 600 14px var(--font-sans); }
body.client-area .btn-sm { min-height: 34px; padding: 0 14px; font-size: 14px; }
body.client-area .btn-outline { background: #fff; border: 1px solid var(--blue); color: var(--blue); }
body.client-area .btn-outline:hover { background: var(--hp-pill); color: var(--blue); }
body.client-area .input { border-radius: 8px; border-color: #D3D8E4; min-height: 44px; }
body.client-area .input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--hp-ring); }
body.client-area .table th { font: 600 13px var(--font-sans); color: var(--hp-soft); text-transform: none; letter-spacing: 0; background: #fff; }
body.client-area .table td { border-color: var(--hp-line); }
/* Home: plain greeting like hPanel, summary tiles as white cards. */
body.client-area .hk-hero { background: none; color: var(--hp-ink); padding: 0; border-radius: 0; overflow: visible; }
body.client-area .hk-hero::after { display: none; }
body.client-area .hk-hero h1.page { color: var(--hp-ink); }
body.client-area .hk-hero h1.page em { color: inherit; }
body.client-area .hk-hero p { color: var(--hp-soft); }
body.client-area .hk-hero-tiles a { background: #fff; border: 1px solid var(--hp-line); color: var(--hp-ink); }
body.client-area .hk-hero-tiles a:hover { border-color: #C3CBDC; background: #fff; color: var(--hp-ink); }
body.client-area .hk-hero-tiles span, body.client-area .hk-hero-tiles small { color: var(--hp-soft); }
body.client-area .hk-hero-tiles small.ok { color: #1C7A45; } body.client-area .hk-hero-tiles small.warn { color: #8A4B00; }
/* hPanel list rows: icon, name and detail, chips, date, action, chevron. */
.hp-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.hp-head .actions-row { display: flex; flex-wrap: wrap; gap: 10px; }
.hp-list { padding: 0; overflow: hidden; }
.hp-list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 24px; border-bottom: 1px solid #E3E6EE; }
.hp-list-head h2 { margin: 0; font: 600 18px var(--font-sans); }
.hp-cols, .hp-row { display: grid; grid-template-columns: var(--cols, minmax(0, 2fr) 1fr 1fr 1fr 140px); gap: 16px; align-items: center; padding: 0 24px; }
.hp-cols { min-height: 44px; font-size: 13px; font-weight: 600; color: #5B6178; border-bottom: 1px solid #E3E6EE; background: #FAFBFD; }
.hp-row { min-height: 76px; border-bottom: 1px solid #EEF0F5; color: #1F2440; font-size: 14px; }
.hp-row:last-child { border-bottom: 0; }
.hp-row:hover { background: #FAFBFE; }
.hp-name { display: flex; align-items: center; gap: 14px; min-width: 0; }
.hp-name b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-name small { display: block; color: #5B6178; font-size: 13px; }
.hp-avatar { width: 44px; height: 44px; border-radius: 10px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--hp-pill); color: var(--blue); font-weight: 700; }
.hp-thumb { width: 72px; height: 48px; border-radius: 6px; flex: none; overflow: hidden; border: 1px solid #E3E6EE; background: hsl(var(--h, 215) 45% 96%); display: flex; flex-direction: column; }
.hp-thumb i { display: block; height: 8px; background: hsl(var(--h, 215) 40% 26%); }
.hp-thumb span { flex: 1; display: flex; align-items: center; justify-content: center; font: 700 16px var(--font-serif); color: hsl(var(--h, 215) 45% 40%); }
.hp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: #EEF1F6; color: #3D4B63; white-space: nowrap; }
.hp-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hp-chip.ok { background: #E7F5EC; color: #1C6B3E; } .hp-chip.warn { background: #FDF3E1; color: #8A4B00; } .hp-chip.bad { background: #FDECEA; color: #B42318; } .hp-chip.off { background: #EEF1F6; color: #5B6178; }
.hp-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.hp-chev { width: 36px; height: 36px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #3B4160; font-size: 20px; text-decoration: none !important; }
.hp-chev:hover { background: #F1F3F8; color: var(--blue); }
.hp-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #3B4160; }
.hp-toggle i { width: 34px; height: 20px; border-radius: 999px; background: #CDD3E0; position: relative; flex: none; }
.hp-toggle i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.hp-toggle.on i { background: var(--blue); } .hp-toggle.on i::after { left: 16px; }
.hp-empty { padding: 44px 24px; text-align: center; color: #5B6178; }
.hp-empty b { display: block; color: #1F2440; font-size: 17px; margin-bottom: 4px; }
.hp-sub { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid #E3E6EE; margin-top: -8px; }
.hp-sub a { padding: 12px 16px; font-weight: 600; font-size: 15px; color: #5B6178; text-decoration: none !important; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.hp-sub a:hover { color: #1F2440; } .hp-sub a.on { color: var(--blue); border-bottom-color: var(--blue); }
@media (max-width: 900px) { .hp-cols { display: none; } .hp-row { grid-template-columns: 1fr; gap: 8px; padding: 14px 18px; } .hp-actions { justify-content: flex-start; } }
.hp-due { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-left: 4px solid var(--amber) !important; }
.hp-due b { display: block; font-size: 17px; } .hp-due span { display: block; }
html { scroll-behavior: smooth; } [id] { scroll-margin-top: 84px; }
.hk-tiles > *, .hk-dash-left > *, .hk-dash-right > * { margin: 0 !important; }
.hk-tiles { align-items: stretch; }
.hk-dash-left { flex-basis: 230px; max-width: 260px; }

/* ===== Staff area, modern (Oct 2026): same structure as WHMCS for muscle memory, calm and clean like the client area. ===== */
body.staff-area { --st-bg: #F4F5FA; --st-line: #E3E6EE; --st-ink: #1F2440; --st-soft: #5B6178; --st-pill: var(--hp-pill); font-family: var(--font-sans); background: var(--st-bg); color: var(--st-ink); }
body.staff-area .content { background: var(--st-bg); padding: 22px 28px 60px; gap: 16px; }
/* Header: white bar, dark menu text, blue pill on hover/open. */
body.staff-area .wh-bar { height: 56px; background: #fff; border-bottom: 1px solid var(--st-line); padding: 0 16px 0 0; }
body.staff-area .wh-bar .wh-logo img { content: url('/images/logo.svg'); height: 26px; }
body.staff-area .wh-bar .wh-item { color: #3B4160 !important; font-size: 14px; font-weight: 600; padding: 0 12px; margin: 10px 2px; border-radius: 8px; }
body.staff-area .wh-bar .wh-item:hover, body.staff-area .wh-bar .wh-item:focus-within, body.staff-area .wh-bar .wh-item.on { background: var(--st-pill); color: var(--blue) !important; box-shadow: none; }
body.staff-area .wh-bar .wh-menu::after { border-top-color: currentColor; opacity: .6; }
body.staff-area .wh-drop { border: 1px solid var(--st-line); border-radius: 10px; box-shadow: 0 12px 32px rgba(15,23,42,.12); padding: 6px; top: calc(100% + 4px); }
body.staff-area .wh-drop a, body.staff-area .wh-drop button { border-radius: 6px; padding: 7px 12px; font-size: 14px; color: var(--st-ink) !important; text-decoration: none !important; }
body.staff-area .wh-drop a:hover, body.staff-area .wh-drop button:hover, body.staff-area .wh-drop a.on { background: var(--st-pill); color: var(--blue) !important; }
body.staff-area .wh-drop-head { border: 0; color: var(--st-soft); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding: 8px 12px 4px; }
body.staff-area .wh-badge { background: #F59E0B; border-radius: 999px; }
body.staff-area .wh-icon, body.staff-area .wh-pop > summary, body.staff-area .wh-bar .ctop-pop > summary { color: #3B4160; border-radius: 8px; width: 36px; height: 36px; }
body.staff-area .wh-icon:hover, body.staff-area .wh-pop > summary:hover, body.staff-area .wh-bar .ctop-pop > summary:hover { background: #F1F3F8; }
body.staff-area .wh-avatar { background: var(--st-pill); color: var(--blue); width: 30px; height: 30px; font-size: 12px; }
body.staff-area .wh-right .wh-switch { color: var(--blue); border: 1px solid var(--blue); border-radius: 8px; padding: 6px 12px; font-weight: 600; }
body.staff-area .wh-right .wh-switch:hover { background: var(--st-pill); }
body.staff-area .wh-bar .ctop-dot { box-shadow: 0 0 0 2px #fff; }
/* Left shortcuts. */
body.staff-area .shell > .side { background: #fff; border-right: 1px solid var(--st-line); flex: 0 0 200px; max-width: 200px; top: 56px; }
body.staff-area .wh-side { font-size: 13px; padding: 10px 8px; }
body.staff-area .wh-side-head { background: none; color: var(--st-soft); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 12px 8px 4px; }
body.staff-area .wh-side-head svg { display: none; }
body.staff-area .wh-side-body { gap: 0; padding: 0 0 6px; }
body.staff-area .wh-side-body a { display: block; color: #3B4160; text-decoration: none; font-size: 13.5px; padding: 6px 8px; border-radius: 6px; }
body.staff-area .wh-side-body a:hover { background: var(--st-bg); color: var(--blue); }
body.staff-area .wh-side-search .input, body.staff-area .wh-side-row .input { height: 34px; min-height: 34px; border-radius: 8px; font-size: 13px; }
body.staff-area .wh-side-row .btn { height: 34px; min-height: 34px; border-radius: 8px; margin-left: 4px; }
body.staff-area .wh-side-min { background: var(--st-bg); color: var(--st-soft); border-top: 1px solid var(--st-line); padding: 8px; font-size: 12px; }
/* Type. */
body.staff-area h1.page { font: 700 24px/1.25 var(--font-sans); color: var(--st-ink); }
body.staff-area .section-title { font: 700 18px var(--font-sans); color: var(--st-ink); }
body.staff-area h2.section, body.staff-area .card-title { font: 600 15px var(--font-sans) !important; color: var(--st-ink); text-transform: none; letter-spacing: 0; }
body.staff-area a { color: var(--blue); }
body.staff-area a:hover { color: var(--blue-hover); text-decoration: none; }
body.staff-area .small { font-size: 13px; }
body.staff-area .muted { color: var(--st-soft); }
/* Cards and WHMCS boxes: white, rounded, flat. */
body.staff-area .card, body.staff-area .wh-box { background: #fff; border: 1px solid var(--st-line); border-radius: 10px; box-shadow: none; overflow: hidden; }
body.staff-area .card-head { background: #fff; border-bottom: 1px solid var(--st-line); padding: 14px 18px; border-radius: 0; }
body.staff-area .card-pad { padding: 16px 18px; }
body.staff-area .wh-box-head { background: #fff; border-bottom: 1px solid var(--st-line); text-align: left; font-size: 14px; font-weight: 700; color: var(--st-ink); padding: 12px 16px; }
body.staff-area .wh-box-table { font-size: 13.5px; }
body.staff-area .wh-box-table td { padding: 7px 16px; border-bottom: 1px solid #F0F2F7; }
body.staff-area .wh-box-table tr:nth-child(odd) td { background: #fff; }
body.staff-area .wh-box-table td.label { color: var(--st-soft); }
body.staff-area .wh-box-links { padding: 10px 16px 14px; font-size: 13.5px; gap: 6px; }
body.staff-area .wh-box-links a { text-decoration: none; }
body.staff-area .summary-grid > .card, body.staff-area .summary-col > .card { background: #fff; border-color: var(--st-line); }
body.staff-area .summary-grid .card-title { text-align: left; }
body.staff-area .summary-grid .facts { background: #fff; padding: 0; }
body.staff-area .summary-grid .facts > div:nth-child(odd) { background: #fff; }
body.staff-area .facts > div { font-size: 13.5px; padding: 6px 0; border-bottom: 1px solid #F0F2F7; }
/* Tables: light header, roomy rows. */
body.staff-area .table { font-size: 13.5px; border-collapse: collapse; }
body.staff-area .table th { background: #FAFBFD !important; color: var(--st-soft) !important; font-weight: 600; font-size: 12.5px; padding: 10px 12px; border: 0 !important; border-bottom: 1px solid var(--st-line) !important; text-align: left; }
body.staff-area .table th a.sort, body.staff-area .table th a.sort.on { color: var(--st-soft) !important; }
body.staff-area .table th a.sort .arr { color: var(--st-soft); }
body.staff-area .table td { padding: 10px 12px; border-bottom: 1px solid #F0F2F7; color: var(--st-ink); }
body.staff-area .table tbody tr:nth-child(even) td { background: #fff; }
body.staff-area .table tbody tr:hover td { background: #F7F9FD; }
body.staff-area .table td .small, body.staff-area .table td .muted.small { font-size: 12.5px; }
/* Buttons and inputs. */
body.staff-area .btn { min-height: 34px; padding: 0 14px; border-radius: 8px; font: 600 13.5px var(--font-sans); border: 1px solid #D3D8E4; background: #fff; color: var(--st-ink); }
body.staff-area .btn:hover { background: #F4F6FA; border-color: #BCC4D6; color: var(--st-ink); }
body.staff-area .btn-sm, body.staff-area .table td .btn { min-height: 30px; padding: 0 11px; font-size: 13px; }
body.staff-area .btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
body.staff-area .btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: #fff; }
body.staff-area .btn-danger { background: #fff; border-color: #F1B7B2; color: #B42318; }
body.staff-area .btn-danger:hover { background: #FDECEA; border-color: #E38C84; color: #B42318; }
body.staff-area .input, body.staff-area select.input, body.staff-area textarea.input { min-height: 36px; border: 1px solid #D3D8E4; border-radius: 8px; font: 14px var(--font-sans); padding: 6px 10px; }
body.staff-area .input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--hp-ring); outline: none; }
body.staff-area label { font-weight: 600; color: var(--st-ink); }
/* Labels as soft chips. */
body.staff-area .wh-label { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #EEF1F6; color: #3D4B63; letter-spacing: 0; text-transform: none; }
body.staff-area .wh-label-active { background: #E7F5EC; color: #1C6B3E; }
body.staff-area .wh-label-pending { background: #FDF3E1; color: #8A4B00; }
body.staff-area .wh-label-closed, body.staff-area .wh-label-inactive { background: #EEF1F6; color: #5B6178; }
body.staff-area .status { font-weight: 600; font-size: 13px; }
body.staff-area .status.s-green { color: #1C6B3E !important; } body.staff-area .status.s-amber { color: #8A4B00 !important; } body.staff-area .status.s-red { color: #B42318 !important; } body.staff-area .status.s-grey { color: var(--st-soft) !important; }
/* Tabs: underline style. */
body.staff-area .site-menu, body.staff-area .subtabs { gap: 2px; border-bottom: 1px solid var(--st-line); padding: 0; margin: 6px 0 16px; }
body.staff-area .site-menu a, body.staff-area .subtabs a { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; padding: 10px 12px; color: var(--st-soft) !important; font-weight: 600; font-size: 13.5px; margin: 0 0 -1px; text-decoration: none; }
body.staff-area .site-menu a:hover, body.staff-area .subtabs a:hover { background: none; color: var(--st-ink) !important; }
body.staff-area .site-menu a.active, body.staff-area .subtabs a.active { background: none; color: var(--blue) !important; border-bottom-color: var(--blue); }
/* Dashboard tiles: white with a coloured icon square. */
body.staff-area .wh-tile { height: auto; padding: 16px; gap: 14px; background: #fff !important; border: 1px solid var(--st-line); border-radius: 10px; color: var(--st-ink) !important; }
body.staff-area .wh-tile .wh-tile-ico { width: 44px; height: 44px; border-radius: 10px; flex: none; }
body.staff-area .wh-tile.t-green .wh-tile-ico { background: #E7F5EC; color: #1C7A45; } body.staff-area .wh-tile.t-pink .wh-tile-ico { background: #FCE7F3; color: #BE185D; }
body.staff-area .wh-tile.t-orange .wh-tile-ico { background: #FDF3E1; color: #B45309; } body.staff-area .wh-tile.t-teal .wh-tile-ico { background: #E0F2FE; color: #0369A1; }
body.staff-area .wh-tile b { font-size: 24px; font-weight: 700; }
body.staff-area .wh-tile span:last-child { font-size: 13px; color: var(--st-soft); }
body.staff-area .wh-tile:hover { border-color: #BCC4D6; }
body.staff-area .wh-stat { border: 1px solid var(--st-line); border-radius: 10px; }
body.staff-area .wh-stat-n { color: var(--st-ink); font-weight: 700; }
/* Notices. */
body.staff-area .notice { background: var(--hp-pill); border: 1px solid #C9DBF8; color: #1E3A6E; border-radius: 10px; }
body.staff-area .error { background: #FDECEA; border: 1px solid #F5C2BC; color: #8A1C12; border-radius: 10px; }
body.staff-area .staff-note { background: #FFF8E6; border: 1px solid #F3DFA8; color: #6B3D00; border-radius: 10px; }
body.staff-area .client-flags { background: #fff; border: 1px solid var(--st-line); border-radius: 10px; padding: 8px 12px; }
body.staff-area .client-flags b.yes { color: #1C7A45; text-decoration: none; } body.staff-area .client-flags b.no { color: #B42318; text-decoration: none; }
body.staff-area .wh-form td.fv { background: #F7F8FB; border-radius: 6px; }
body.staff-area .wh-usage { background: #fff; border: 1px solid var(--st-line); border-radius: 10px; }
body.staff-area { --font-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
body.staff-area { --blue: var(--blue); --blue-hover: #0F52B5; --wh-blue: #1F2440; --wh-link: var(--blue); --ink: #1F2440; --navy: #1F2440; --muted: #5B6178; --border: #E3E6EE; --pill: var(--hp-pill); --tint: #F4F7FC; font-size: 14px; line-height: 1.5; }
body.staff-area .wh-bar .wh-right summary, body.staff-area .wh-bar .wh-right > a:not(.wh-switch), body.staff-area .wh-bar .wh-right .ctop-pop > summary { color: #3B4160 !important; }
body.staff-area .wh-bar .wh-right svg { color: inherit; }
body.staff-area .wh-side-body button, body.staff-area .wh-side-body .wh-linkbtn { display: block; width: 100%; text-align: left; background: none; border: 0; color: #3B4160 !important; text-decoration: none !important; font: 13.5px var(--font-sans); padding: 6px 8px; border-radius: 6px; cursor: pointer; }
body.staff-area .wh-side-body button:hover, body.staff-area .wh-side-body .wh-linkbtn:hover { background: var(--st-bg); color: var(--blue) !important; }
/* hPanel-style top bar extras and side menu details. */
body.client-area .ctop-tools { margin-left: auto; }
body.client-area .ctop-refer { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 8px; background: var(--hp-pill); color: var(--blue); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
body.client-area .ctop-refer:hover { background: #DCE8FC; color: var(--blue-hover); }
body.client-area .ctop-menu-who { padding: 10px 14px 10px; border-bottom: 1px solid var(--hp-line); margin-bottom: 6px; }
body.client-area .ctop-menu-who b { display: block; font-size: 14px; } body.client-area .ctop-menu-who span { font-size: 13px; color: var(--hp-soft); }
body.client-area .nav-group { margin: 20px 14px 6px; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--hp-soft); }
body.client-area .side-back { font-size: 14px; font-weight: 600; color: #3B4160; padding: 6px 14px 14px; }
body.client-area .side-site { padding: 0 14px 14px; font-size: 13px; font-weight: 600; color: var(--hp-soft); text-transform: none; }
body.client-area .side-switch select { margin: 0 0 10px; width: 100%; min-height: 48px; border-radius: 8px; }
body.client-area .side-menu-search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; margin: 0 0 12px; border: 1px solid var(--hp-line); border-radius: 8px; color: #8A90A6; }
body.client-area .side-menu-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 14px var(--font-sans); color: var(--hp-ink); }
@media (max-width: 1100px) { body.client-area .ctop-refer span { display: none; } }

/* ===== Theme: Hostking blue (Oct 2026). Change these few lines to switch the client area to Hostking's own colours. ===== */
body.staff-area { --hp-pill: #EAF1FD; --hp-ring: rgba(32,102,255,.12); }
body.client-area {
  --blue: #2066FF; --blue-hover: #1A52D6; --hp-pill: #E8EFFF; --hp-ring: rgba(32,102,255,.16);
  --hp-ink: #18181A; --hp-soft: #6D7081; --hp-line: #DADCE0; --hp-bg: #F4F7FF;
  --navy: #18181A; --ink: #36344D; --muted: #6D7081; --border: #DADCE0; --tint: #E8EFFF; --pill: #E8EFFF;
  --green: #008361; --amber: #FFCD35; --amber-text: #8C6D00; --amber-bg: #FFF8E2; --red: #D63163; --red-bg: #FFE8EF;
  color: #36344D;
}
body.client-area h1.page, body.client-area .section-title, body.client-area h2.section, body.client-area .card-title, body.client-area .hp-name b, body.client-area .hp-list-head h2 { color: #2F1C6A; }
/* hPanel's status chips and toggles. */
.client-area:not(.staff-area) .hp-chip.ok, .client-area:not(.staff-area) .hk-chip.ok { background: #DEF4F0; color: #008361; }
.client-area:not(.staff-area) .hp-chip.warn, .client-area:not(.staff-area) .hk-chip.warn { background: #FFF8E2; color: #8C6D00; }
.client-area:not(.staff-area) .hp-chip.bad, .client-area:not(.staff-area) .hk-chip.bad { background: #FFE8EF; color: #D63163; }
.client-area:not(.staff-area) .hp-chip.off, .client-area:not(.staff-area) .hk-chip { background: #F2F3F6; color: #6D7081; }
.client-area:not(.staff-area) .hp-toggle.on i { background: var(--blue); }
/* hPanel cards: 1px light border, 4px-ish corners on lists, small shadow-free; buttons 8px. */
body.client-area .card, body.client-area .hp-list { border-color: #DADCE0; border-radius: 4px; }
body.client-area .btn-primary { background: var(--blue); border-color: var(--blue); }
body.client-area .btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
body.client-area .hk-ico, body.client-area .hp-avatar, body.client-area .hk-siteicon { background: #E8EFFF; color: var(--blue); }
body.client-area .hk-ico.green { background: #DEF4F0; color: #008361; } body.client-area .hk-ico.amber { background: #FFF8E2; color: #8C6D00; } body.client-area .hk-ico.red { background: #FFE8EF; color: #D63163; }
body.client-area .hk-tile-ico, body.client-area .hk-link, body.client-area .hk-btn-blue { color: var(--blue); }
body.client-area .hk-hero-tiles small.ok, body.client-area .hk-status-row small.ok { color: #008361; }
body.client-area .notice { background: #E8EFFF; border-color: #D5C8FB; color: #2F1C6A; }
body.client-area .content a:not(.btn):not(.nav-link):not(.card):not(.hp-chev) { text-decoration-color: #AFC7FF; }
body.client-area .bar span, body.client-area .checklist-bar span { background: var(--blue); }
/* hPanel's type: DM Sans throughout, 14px body, bold 24/20/16 headings, 14px menu and buttons. */
body.client-area { font-family: 'DM Sans', system-ui, sans-serif; font-size: 14px; line-height: 1.5; }
body.client-area h1.page { font-size: 24px; font-weight: 700; }
body.client-area .section-title, body.client-area .hp-list-head h2 { font-size: 20px; font-weight: 700; }
body.client-area h2.section, body.client-area .card-title { font-size: 16px; font-weight: 700; }
body.client-area .nav-link { font-size: 14px; }
body.client-area .side-group summary { font-size: 14px; font-weight: 500; color: #36344D; }
body.client-area .btn { font-size: 14px; font-weight: 700; }
body.client-area .mono, body.client-area .hk-frame-bar .mono { font-family: 'DM Sans', system-ui, sans-serif; font-size: 13px; }
body.client-area .hk-frame-mark, body.client-area .hp-thumb span { font-family: 'DM Sans', system-ui, sans-serif; }

/* ===== hPanel frame, measured from hpanel.hostinger.com (27 Oct 2026). ===== */
body.client-area {
  --hp-frame: #0D1016; --hp-side: #E9E9EC; --hp-panel: #F5F5F6; --hp-text: #18181A; --hp-text2: #58585E; --hp-card-line: rgba(0,0,0,.1);
  --hp-bg: var(--hp-panel); --hp-ink: var(--hp-text); --hp-soft: var(--hp-text2); --hp-line: rgba(0,0,0,.1);
  --hp-pill: #E8EFFF; --navy: var(--hp-text); --ink: var(--hp-text); --muted: var(--hp-text2);
  background: var(--hp-frame); color: var(--hp-text); font: 14px/24px 'DM Sans', Roboto, sans-serif;
}
body.client-area .ctop { background: var(--hp-frame); border: 0; height: 64px; padding: 0 24px 0 24px; gap: 16px; color: #F8F9FA; }
body.client-area .ctop-brand { width: auto; }
body.client-area .ctop-brand img { height: 26px; }
body.client-area .ctop-refer { height: 32px; padding: 0 12px 0 4px; border-radius: 999px; background: rgba(77,133,255,.5); color: #F8F9FA; font: 600 12px/20px 'DM Sans', sans-serif; gap: 8px; margin-left: 8px; }
body.client-area .ctop-refer:hover { background: rgba(77,133,255,.7); color: #fff; }
body.client-area .ctop-refer-ico { width: 24px; height: 24px; border-radius: 50%; background: #0D1016; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
body.client-area .ctop-search { display: none; }
body.client-area .ctop-icon, body.client-area .ctop-pop > summary { color: #F8F9FA; border-radius: 999px; }
body.client-area .ctop-icon:hover, body.client-area .ctop-pop > summary:hover { background: rgba(255,255,255,.1); color: #fff; }
body.client-area .ctop-user { color: #F8F9FA; }
body.client-area .ctop-user .avatar { background: rgba(255,255,255,.12); color: #fff; }
body.client-area .ctop-name { display: none; }
body.client-area .ctop-menu { color: #fff; border-color: rgba(255,255,255,.2); }
/* The rounded frame: grey menu panel and light content panel, 8px dark edge. */
body.client-area .shell { padding: 0 8px 8px; min-height: calc(100vh - 64px); flex-wrap: nowrap; }
body.client-area .side { background: var(--hp-side); border: 0; border-radius: 24px 0 0 24px; flex: 0 0 260px; max-width: 260px; padding: 12px 12px 12px; top: 64px; height: calc(100vh - 72px); display: flex; flex-direction: column; }
body.client-area .side-links { gap: 2px; flex: 1; display: flex; flex-direction: column; }
body.client-area .main { background: var(--hp-panel); border-radius: 0 24px 24px 0; min-height: calc(100vh - 72px); }
body.client-area .nav-link, body.client-area .side-links .nav-link { min-height: 36px; height: 36px; padding: 0 12px; border-radius: 12px; font: 500 14px/24px 'DM Sans', sans-serif; color: var(--hp-text); }
body.client-area .nav-link svg { color: var(--hp-text); width: 20px; height: 20px; }
body.client-area .nav-link > span { gap: 12px; }
body.client-area .nav-link:hover { background: rgba(0,0,0,.05); color: var(--hp-text); }
body.client-area .nav-link.active, body.client-area .side-links .nav-link.active { background: #fff; color: var(--hp-text); font-weight: 600; box-shadow: none; }
body.client-area .nav-link.active svg { color: var(--hp-text); }
body.client-area .nav-group { margin: 16px 12px 4px; font: 600 12px/16px 'DM Sans', sans-serif; color: var(--hp-text2); text-transform: none; letter-spacing: 0; display: flex; justify-content: space-between; }
body.client-area .nav-group::after { content: '⌄'; font-size: 13px; line-height: 10px; }
body.client-area .side-feedback { margin-top: auto; border-top: 1px solid rgba(0,0,0,.08); border-radius: 0; padding-top: 12px; height: auto !important; min-height: 48px !important; }
body.client-area .side-back { color: var(--hp-text); font-weight: 600; padding: 4px 12px 12px; }
body.client-area .side-site { color: var(--hp-text2); }
body.client-area .side-switch select, body.client-area .side-menu-search { background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 12px; }
body.client-area .side-group summary { min-height: 36px; border-radius: 12px; font-weight: 500; color: var(--hp-text); padding: 0 12px; }
body.client-area .side-group summary:hover { background: rgba(0,0,0,.05); }
body.client-area .side-group .nav-link { padding-left: 44px; font-weight: 500; }
/* Content: 48px sides, 24px regular titles, white cards with a faint line and 16px corners. */
body.client-area .content { padding: 32px 48px 64px; gap: 24px; max-width: 1240px; }
body.client-area h1.page { font: 400 24px/32px 'DM Sans', sans-serif; letter-spacing: -.12px; color: var(--hp-text); }
body.client-area .section-title, body.client-area .hp-list-head h2 { font: 400 20px/28px 'DM Sans', sans-serif; color: var(--hp-text); }
body.client-area h2.section, body.client-area .card-title { font: 700 16px/24px 'DM Sans', sans-serif; color: var(--hp-text); }
body.client-area .muted, body.client-area .small.muted { color: var(--hp-text2); }
body.client-area .card, body.client-area .hp-list { background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 16px; box-shadow: none; }
body.client-area .btn { min-height: 32px; height: auto; padding: 6px 12px; border-radius: 12px; font: 700 14px/20px 'DM Sans', sans-serif; }
body.client-area .btn-sm { min-height: 32px; padding: 6px 12px; font-size: 12px; font-weight: 600; }
body.client-area .btn-outline { background: #fff; border: 1px solid rgba(0,0,0,.1); color: var(--blue); }
body.client-area .btn-outline:hover { background: #F4F7FF; border-color: rgba(0,0,0,.15); }
body.client-area .input { border-radius: 12px; border: 1px solid rgba(0,0,0,.1); min-height: 40px; }
body.client-area .hp-cols { background: #fff; color: var(--hp-text); font: 700 14px/20px 'DM Sans', sans-serif; border-bottom: 1px solid rgba(0,0,0,.1); }
body.client-area .hp-row { border-color: rgba(0,0,0,.08); }
body.client-area .hp-list-head { border-color: rgba(0,0,0,.1); }
.hp-todos-title { display: flex; align-items: center; gap: 8px; margin-bottom: -8px; }
.hp-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #E73A47; color: #fff; font: 700 12px/20px 'DM Sans', sans-serif; text-align: center; }
.hp-todos { background: #fff; border-radius: 32px; padding: 24px 24px 16px; display: flex; flex-direction: column; gap: 8px; }
.hp-todo { display: flex; align-items: center; gap: 16px; background: #F5F5F6; border-radius: 24px; padding: 16px; min-height: 80px; flex-wrap: wrap; }
.hp-todo-ico { position: relative; width: 48px; height: 48px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.hp-todo-ico i { position: absolute; top: -3px; right: -3px; width: 12px; height: 12px; border-radius: 50%; background: #E73A47; border: 2px solid #F5F5F6; }
.hp-todo-text { flex: 1 1 260px; display: flex; flex-direction: column; min-width: 0; }
.hp-todo-text b { font: 700 16px/24px 'DM Sans', sans-serif; color: #18181A; }
.hp-todo-text span { font-size: 14px; line-height: 24px; color: #58585E; }
.hp-todo-btns { display: flex; gap: 8px; align-items: center; }
body.client-area .hp-btn-white { background: #fff; border: 0; color: #18181A; font: 600 12px/20px 'DM Sans', sans-serif; padding: 6px 12px; border-radius: 12px; min-height: 32px; }
body.client-area .hp-btn-white:hover { background: #fff; color: #2066FF; }
.hp-more { align-self: center; background: none; border: 0; color: #2066FF; font: 600 12px/20px 'DM Sans', sans-serif; cursor: pointer; padding: 8px; }

/* Websites, as hPanel: toolbar card, then one card per plan holding its websites (grid or list). */
.hp-toolbar { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 24px; padding: 16px 24px; margin-bottom: 16px; }
.hp-search { flex: 1; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(0,0,0,.1); color: #58585E; background: #fff; }
.hp-search:focus-within { box-shadow: 0 0 0 2px #2066FF; }
.hp-search input { flex: 1; border: 0; outline: 0; background: none; font: 400 14px var(--font-sans); color: #18181A; min-width: 0; }
.hp-seg { display: flex; gap: 2px; padding: 2px; border-radius: 999px; background: #F5F5F6; }
.hp-seg button { width: 40px; height: 28px; border: 0; border-radius: 999px; background: none; color: #58585E; cursor: pointer; display: grid; place-items: center; }
.hp-seg button.on { background: #fff; color: #18181A; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.hp-bulk { display: flex; align-items: center; gap: 8px; margin: -4px 0 16px; padding: 10px 16px; border-radius: 16px; background: #E8EFFF; }
.hp-plans { display: grid; gap: 16px; }
.hp-plan { background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 24px; padding: 16px 24px; }
.hp-plan-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.hp-plan-head h2 { margin: 0; font: 400 18px/26px var(--font-sans); color: #18181A; }
.hp-plan-head p { margin: 0; font: 500 12px/16px var(--font-sans); color: #58585E; }
.hp-addsite { position: relative; }
.hp-addsite summary { list-style: none; }
.hp-addsite summary::-webkit-details-marker { display: none; }
.hp-addsite-pop { position: absolute; right: 0; top: 40px; z-index: 5; display: flex; gap: 8px; padding: 12px; width: 360px; background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px rgba(0,0,0,.1), 0 8px 24px rgba(0,0,0,.12); }
.hp-addsite-pop .input { flex: 1; min-height: 36px; }
.hp-sites { margin-top: 16px; }
.hp-plans.grid .hp-sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; padding-bottom: 8px; }

.hp-plans.grid .hp-site { display: flex; flex-direction: column; gap: 8px; padding: 8px 8px 12px; border-radius: 16px; background: #F5F5F6; position: relative; }
.hp-plans.grid .hp-site-shot { height: 132px; }
.hp-plans.grid .hp-site-status { position: absolute; top: 16px; right: 16px; }
.hp-plans.grid .hp-site-name, .hp-plans.grid .hp-site-visits { padding: 0 8px; }
.hp-plans.grid .hp-site-visits em { font-style: normal; color: #58585E; }
.hp-plans.grid .hp-site-btns { display: flex; gap: 8px; padding: 4px 8px 0; }
.hp-plans.grid .hp-site-btns .btn { flex: 1; justify-content: center; }
.hp-plans.list .hp-site { display: grid; grid-template-columns: 64px minmax(0, 2.4fr) 1fr 1fr 1fr 280px; align-items: center; gap: 16px; min-height: 72px; border-top: 1px solid #E9E9EC; }
.hp-plans.list .hp-site:has(.hp-site-tick), .hp-plans.list .hp-site-cols:has(.tick-all) { grid-template-columns: 20px 64px minmax(0, 2.4fr) 1fr 1fr 1fr 280px; }
.hp-plans.list .hp-site-cols { min-height: 40px; font: 600 12px var(--font-sans); color: #58585E; border-top: 0; }
.hp-plans.list .hp-site-shot { height: 44px; }
.hp-plans.list .hp-site-visits em { display: none; }
.hp-plans.list .hp-site-btns { display: flex; gap: 8px; justify-content: flex-end; }
.hp-site[hidden] { display: none !important; }
.hp-site-shot { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: hsl(var(--h, 255) 60% 96%); border: 1px solid rgba(0,0,0,.06); text-decoration: none; }
.hp-site-shot i { display: block; height: 18%; min-height: 8px; background: hsl(var(--h, 255) 45% 28%); }
.hp-site-shot span { flex: 1; display: grid; place-items: center; font: 700 22px var(--font-sans); color: hsl(var(--h, 255) 45% 32%); }
.hp-site-name { min-width: 0; }
.hp-site-name b { display: block; font: 700 16px/24px var(--font-sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-site-name b a { color: #18181A; text-decoration: none; }
.hp-site-name small { display: block; font: 400 12px/16px var(--font-sans); color: #58585E; }
.hp-site-visits { font-size: 12px; }
.hp-plans.list .hp-site-cols > span:first-of-type { grid-column: span 2; }
.hp-bulk[hidden] { display: none; }
.hp-plans.grid .hp-site.hp-site-cols, .hp-plans.grid .hp-site .hp-site-upd, .hp-plans.grid .hp-site .hp-site-tick, .hp-plans.grid .hp-site .hp-site-visits.none { display: none; }
.hp-toolbar label.hp-search { display: flex; flex-direction: row; margin: 0; font-weight: 400; }
.hp-toolbar .hp-search input[type=search] { width: auto; height: 30px; min-height: 0; padding: 0; border: 0; box-shadow: none; background: none; border-radius: 0; font-size: 14px; }
body.client-area .nav-link.nav-sub { padding-left: 66px; font-weight: 500; }
.hp-empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 24px; }
.hp-empty-state h2 { margin: 16px 0 4px; font: 600 20px/28px var(--font-sans); color: #18181A; }
.hp-empty-state p { margin: 0 0 24px; font: 400 14px/24px var(--font-sans); color: #58585E; }
.hp-empty-state .btn-link { margin-top: 8px; color: #2066FF; font-weight: 700; background: none; border: 0; }
.hp-crumbs { font: 500 12px/16px var(--font-sans); color: #58585E; margin: 0 0 8px; }
.hp-crumbs a { color: #58585E; text-decoration: none; }
.hp-crumbs a:hover { color: #2066FF; }

/* Domain search and cart, as hPanel's. */
.hp-dsearch { border-radius: 24px; padding: 40px 40px 32px; margin-bottom: 16px; text-align: center; background: linear-gradient(180deg, #F4F7FF 0%, #E8EFFF 55%, #BCD1FF 100%); border: 1px solid rgba(0,0,0,.06); }
.hp-dsearch h2 { margin: 0 0 20px; font: 400 28px/36px var(--font-sans); letter-spacing: -.2px; color: #18181A; }
.hp-dsearch-box { display: flex; align-items: center; gap: 10px; max-width: 600px; margin: 0 auto; height: 48px; padding: 0 6px 0 16px; background: #fff; border-radius: 16px; box-shadow: 0 0 0 2px #8FB2FF, 0 4px 16px rgba(32,102,255,.12); color: #58585E; }
.hp-dsearch-box:focus-within { box-shadow: 0 0 0 2px #2066FF, 0 4px 16px rgba(32,102,255,.18); }
.hp-dsearch-box input[name=q] { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 16px var(--font-sans); color: #18181A; }
.hp-dsearch-box button { width: 36px; height: 36px; border: 0; border-radius: 12px; background: #2066FF; color: #fff; display: grid; place-items: center; cursor: pointer; }
.hp-tld-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; max-width: 840px; margin: 20px auto 0; }
.hp-tld-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 14px; background: #fff; border-radius: 12px; text-decoration: none; border: 1px solid rgba(0,0,0,.06); }
.hp-tld-tile:hover { box-shadow: 0 0 0 1px #8FB2FF; }
.hp-tld-tile b { font: 700 16px/20px var(--font-sans); color: #2066FF; }
.hp-tld-tile span { font: 700 14px/20px var(--font-sans); color: #18181A; }
.hp-tld-tile small, .hp-dprice small, .hp-drow-price small { font-weight: 500; font-size: 12px; color: #58585E; }
.hp-dresults { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-bottom: 8px; }
.hp-dmatch { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px; }
.hp-dmatch h3 { margin: 4px 0 0; font: 700 24px/32px var(--font-sans); color: #18181A; word-break: break-all; }
.hp-dmatch h3 span { font-weight: 400; color: #2066FF; }
.hp-dprice { font: 700 24px/32px var(--font-sans); color: #18181A; }
.hp-dnote { margin: 0; font: 400 12px/16px var(--font-sans); color: #58585E; }
.hp-dmatch form, .hp-dmatch > .btn { margin-top: 8px; }
.hp-ticks { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid #E9E9EC; align-self: stretch; display: grid; gap: 8px; }
.hp-ticks li { position: relative; padding-left: 24px; font-size: 14px; color: #36363B; }
.hp-ticks li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2px solid #18181A; border-bottom: 2px solid #18181A; transform: rotate(-45deg); }
.hp-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 8px; font: 600 12px var(--font-sans); }
.hp-tag.ok { background: #DCF8E3; color: #007A49; }
.hp-tag.off { background: #E9E9EC; color: #36363B; }
.hp-tag.brand { background: #2066FF; color: #fff; }
.hp-sec-title { margin: 24px 0 12px; font: 400 20px/28px var(--font-sans); color: #18181A; }
.hp-dmore { padding: 8px 24px; }
.hp-drow { display: grid; grid-template-columns: minmax(0, 1fr) auto 150px; align-items: center; gap: 16px; min-height: 56px; border-top: 1px solid #E9E9EC; }
.hp-drow:first-child { border-top: 0; }
.hp-drow b { font: 600 14px var(--font-sans); color: #18181A; overflow-wrap: anywhere; }
.hp-drow-price { font: 700 14px var(--font-sans); text-align: right; }
.hp-drow form, .hp-drow .hp-added { justify-self: end; }
.hp-added { color: #58585E !important; cursor: default; }
@media (max-width: 760px) { .hp-tld-tiles { grid-template-columns: repeat(3, 1fr); } .hp-dsearch { padding: 28px 16px; } .hp-drow { grid-template-columns: 1fr auto; } .hp-drow form { grid-column: 1 / -1; justify-self: start; padding-bottom: 12px; } }

.ctop-cart { position: relative; }
.ctop-dot { position: absolute; top: 0; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #E73A47; color: #fff; font: 700 10px/16px var(--font-sans); text-align: center; }
.hp-cart-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(680px, calc(100% - 32px)); padding: 12px 12px 12px 20px; background: #fff; border-radius: 16px; box-shadow: 0 0 0 2px #8FB2FF, 0 8px 24px rgba(0,0,0,.12); }
.hp-cart-bar b, .hp-cart-total b { display: block; font: 700 16px/20px var(--font-sans); color: #18181A; }
.hp-cart-bar small, .hp-cart-total small { font: 400 12px/16px var(--font-sans); color: #58585E; }
.hp-cart-bar[hidden], .hp-cart[hidden], .hp-cart-scrim[hidden] { display: none; }
.hp-cart-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(13,16,22,.55); }
.hp-cart { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(420px, 100%); display: flex; flex-direction: column; background: #F5F5F6; box-shadow: -8px 0 32px rgba(0,0,0,.18); }
.hp-cart-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 12px; }
.hp-cart-head h2 { margin: 0; font: 700 20px/28px var(--font-sans); color: #18181A; }
.hp-cart-x { width: 32px; height: 32px; border: 0; border-radius: 999px; background: #fff; font-size: 22px; line-height: 1; color: #18181A; cursor: pointer; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.hp-cart-body { flex: 1; overflow-y: auto; padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.hp-cart-item { background: #fff; border-radius: 16px; padding: 16px; display: grid; gap: 10px; border: 1px solid rgba(0,0,0,.06); }
.hp-cart-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hp-cart-row > b { font: 700 16px/24px var(--font-sans); color: #18181A; overflow-wrap: anywhere; }
.hp-cart-del { width: 32px; height: 32px; border: 0; border-radius: 10px; background: none; color: #58585E; cursor: pointer; display: grid; place-items: center; }
.hp-cart-del:hover { background: #FFEAE9; color: #BE1025; }
.hp-select { height: 32px; padding: 0 28px 0 12px; border: 0; border-radius: 12px; box-shadow: 0 0 0 1px rgba(0,0,0,.1); background: #fff; font: 600 14px var(--font-sans); color: #18181A; }
.hp-cart-note { margin: 0; font: 400 12px/16px var(--font-sans); color: #58585E; }
.hp-cart-perk { margin: 0; display: flex; align-items: center; gap: 6px; font: 600 12px/16px var(--font-sans); color: #36363B; }
.hp-cart-epp { display: flex; gap: 8px; }
.hp-cart-epp .input { flex: 1; min-height: 32px; }
.hp-cart-sub { margin: 12px 0 0; font: 700 16px/24px var(--font-sans); color: #18181A; }
.hp-cart-cross { display: grid; gap: 4px; padding: 16px; border-radius: 16px; background: #fff; text-decoration: none; border: 1px solid rgba(0,0,0,.06); }
.hp-cart-cross b { font: 700 14px var(--font-sans); color: #18181A; }
.hp-cart-cross span { font-size: 12px; line-height: 16px; color: #58585E; }
.hp-cart-cross em { font: 700 12px var(--font-sans); font-style: normal; color: #2066FF; margin-top: 4px; }
.hp-cart-foot { background: #fff; padding: 12px 24px 16px; border-top: 1px solid #E9E9EC; display: grid; gap: 10px; }
.hp-cart-promo summary { cursor: pointer; font-size: 12px; color: #58585E; list-style: none; }
.hp-cart-promo summary u { color: #2066FF; font-weight: 700; text-decoration: none; }
.hp-cart-promo .input { margin-top: 8px; min-height: 36px; width: 100%; }
.hp-cart-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (min-width: 900px) { .hp-cart-bar { left: calc(50% + 134px); width: min(680px, calc(100% - 340px)); } }
.hp-cart-space { height: 72px; }

/* Website pages: one breadcrumb line, the section as the title, and a tools grid on the dashboard. */
.hk-crumbs-top { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font: 500 12px/16px var(--font-sans); color: #58585E; }
.hk-crumbs-top a { color: #58585E; text-decoration: none; display: inline-flex; }
.hk-crumbs-top a:hover { color: #2066FF; }
.hk-crumbs-top span:last-child { color: #18181A; }
.hk-section-head .page-meta { display: flex; align-items: center; gap: 12px; margin-top: 4px; font-size: 13px; }
.hk-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.hk-tool { display: flex; gap: 12px; align-items: flex-start; padding: 16px; min-height: 96px; background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 16px; text-decoration: none; color: #18181A; transition: box-shadow .15s, border-color .15s; }
.hk-tool:hover { border-color: #8FB2FF; box-shadow: 0 4px 16px rgba(32,102,255,.10); }
.hk-tool b { display: block; font: 700 14px/20px var(--font-sans); }
.hk-tool small { display: block; margin-top: 2px; font: 400 12px/16px var(--font-sans); color: #58585E; }
.hk-tool-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #E8EFFF; color: #2066FF; }
.hk-tool-mail, .hk-tool-backup { background: #DCF8E3; color: #007A49; }
.hk-tool-speed, .hk-tool-cache { background: #FFEEC8; color: #C46C00; }
.hk-tool-shield { background: #FFEAE9; color: #BE1025; }
@media (max-width: 1100px) { .hk-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hk-tools { grid-template-columns: 1fr; } }
.hp-head + .hk-sitehead { margin-top: 16px; }
body.client-area .content { max-width: 1600px; }
body.client-area .content { max-width: none; }
.hk-sites > .card, .hk-sites > article { margin: 0 !important; align-self: start; }
.content > .row-between:has(> .section-title) { align-items: center; }
.content > .row-between > .section-title + .link-plain { font: 700 14px var(--font-sans); color: #2066FF; text-decoration: none; }
/* Cards side by side in a grid line up at the top: no stacked-card margins inside grids. */
.hk-trio > *, .hk-sites > *, .hk-tools > *, .hp-dresults > *, .hp-plans > *, .hk-status-row > *, .hp-tld-tiles > * { margin: 0 !important; }
.hk-trio { align-items: start; }
.hk-loading { display: flex; align-items: center; gap: 12px; min-height: 96px; color: #58585E; font-size: 14px; }
.hk-spin { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid #E8EFFF; border-top-color: #2066FF; animation: hk-spin .8s linear infinite; }
@keyframes hk-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hk-spin { animation-duration: 2.4s; } }
.hk-sitepick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 16px; padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid rgba(0,0,0,.1); font-size: 14px; color: #36363B; }
.hk-sitepick select { height: 32px; padding: 0 28px 0 12px; border: 0; border-radius: 12px; box-shadow: 0 0 0 1px rgba(0,0,0,.1); background: #fff; font: 600 14px var(--font-sans); color: #18181A; }
/* Website tiles: the home page's picture over the letter placeholder once it is ready. */
.hp-site-shot, .hk-frame-page { position: relative; }
.hp-site-shot img, .hk-frame-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; background: transparent; }

/* Kinsta-style titles: light serif for page and section titles. */
body.client-area h1.page, body.client-area .hp-sec-title, body.client-area .section-title, body.client-area .hp-todos-title, body.client-area .hp-dsearch h2, body.client-area .hp-plan-head h2 { font-family: var(--font-serif); font-weight: 400; letter-spacing: -.2px; }
body.client-area h1.page { font-size: 30px; line-height: 36px; }
/* Header and frame in Hostking blue (the website's #2066FF); the logo's white-edged squares stay clear on it. */
body.client-area { --hp-frame: #2066FF; }
body.client-area .ctop-refer { background: rgba(255,255,255,.16); }
body.client-area .ctop-refer:hover { background: rgba(255,255,255,.26); }
body.client-area .ctop-refer-ico { background: #D3F64B; color: #0D1016; }
body.client-area .ctop .avatar { background: rgba(255,255,255,.18); color: #fff; }


/* ===== Staff area in the same brand as the client area: blue header with the white logo, light side menu, rounded cards. ===== */
body.staff-area { --blue: #2066FF; --blue-hover: #1A52D6; --st-bg: #F5F5F6; --st-line: rgba(0,0,0,.1); --st-ink: #18181A; --st-soft: #58585E; --hp-pill: #E8EFFF; }
body.staff-area .wh-bar { background: #2066FF; border-bottom: 0; height: 60px; }
body.staff-area .wh-bar .wh-logo img { content: url('/images/logo-white.svg'); height: 28px; }
body.staff-area .wh-bar .wh-item { color: #fff !important; font-weight: 600; }
body.staff-area .wh-bar .wh-item:hover, body.staff-area .wh-bar .wh-item:focus-within, body.staff-area .wh-bar .wh-item.on { background: rgba(255,255,255,.16); color: #fff !important; }
body.staff-area .wh-icon, body.staff-area .wh-pop > summary, body.staff-area .wh-bar .ctop-pop > summary { color: #fff; }
body.staff-area .wh-icon:hover, body.staff-area .wh-pop > summary:hover, body.staff-area .wh-bar .ctop-pop > summary:hover { background: rgba(255,255,255,.16); }
body.staff-area .wh-avatar { background: rgba(255,255,255,.2); color: #fff; }
body.staff-area .wh-right .wh-switch { color: #fff; border-color: rgba(255,255,255,.6); }
body.staff-area .wh-right .wh-switch:hover { background: rgba(255,255,255,.16); }
body.staff-area .wh-bar .ctop-dot { box-shadow: 0 0 0 2px #2066FF; }
body.staff-area .wh-bar .wh-badge { background: #D3F64B; color: #0D1016; }
body.staff-area .shell > .side { background: #E9E9EC; border-right: 0; top: 60px; }
body.staff-area .wh-side-body a { color: #18181A; border-radius: 10px; }
body.staff-area .wh-side-body a:hover { background: #fff; color: #18181A; }
body.staff-area .wh-side-min { background: transparent; border-top: 1px solid rgba(0,0,0,.08); }
body.staff-area h1.page { font: 400 30px/36px var(--font-serif); letter-spacing: -.2px; color: #18181A; }
body.staff-area .section-title { font: 400 22px/28px var(--font-serif); color: #18181A; }
body.staff-area .card, body.staff-area .wh-box { border-radius: 16px; border-color: rgba(0,0,0,.1); }
body.staff-area .btn { border-radius: 12px; font-weight: 700; }
body.staff-area .btn-primary { background: #2066FF; border-color: #2066FF; color: #fff; }
body.staff-area .btn-primary:hover { background: #1A52D6; border-color: #1A52D6; }
body.staff-area .btn-outline { border-color: rgba(0,0,0,.14); color: #2066FF; background: #fff; }
body.staff-area .input, body.staff-area select.input, body.staff-area textarea.input { border-radius: 10px; }
body.staff-area .table th { background: #fff !important; color: #58585E !important; }
body.staff-area .table tbody tr:hover td { background: #F4F7FF; }
body.staff-area .wh-bar .wh-right, body.staff-area .wh-bar .wh-right a, body.staff-area .wh-bar .wh-right button, body.staff-area .wh-bar .wh-right summary { color: #fff; }
body.staff-area .wh-bar .wh-right .wh-drop, body.staff-area .wh-bar .wh-right .wh-drop a { color: #18181A; }
.cron-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.cron-form > label { flex: 0 0 220px; }
.cron-form > .cron-cmd { flex: 1 1 320px; }
.cron-form > button { flex: none; }
@media (max-width: 760px) { .cron-form > label, .cron-form > .cron-cmd { flex: 1 1 100%; } }
.mail-find { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 18px 4px; }
.mail-find .hp-search { flex: 0 1 320px; height: 36px; display: flex; flex-direction: row; margin: 0; }
.mail-find .hp-search input[type=search] { width: auto; height: 32px; min-height: 0; padding: 0; border: 0; box-shadow: none; background: none; }
.fm-tools { gap: 8px; }
.fm-tools form { margin: 0; }
#tab-body .table td a:not(.btn) { color: #2066FF; font-weight: 600; text-decoration: none; }

/* ===== Phones and small tablets: one column, the side menu slides in from the menu button. ===== */
.main, .content, .shell > * { min-width: 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 900px) {
  body.client-area .shell, body.staff-area .shell { display: block; padding: 0; }
  body.client-area .side, body.staff-area .shell > .side { display: none; position: fixed; z-index: 60; top: 64px; left: 0; bottom: 0; width: min(300px, 86vw); max-width: none; flex-basis: auto; height: auto; border-radius: 0 16px 16px 0; overflow-y: auto; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
  body.client-area .side.open, body.staff-area .shell > .side.open { display: flex; }
  body.staff-area .shell > .side { top: 60px; }
  body.client-area .main, body.staff-area .main { border-radius: 16px 16px 0 0; min-height: calc(100vh - 64px); width: 100%; }
  body.client-area .content, body.staff-area .content { padding: 20px 16px 48px; max-width: 100%; }
  body.client-area .ctop { padding: 0 12px; gap: 8px; }
  body.client-area .ctop-refer, body.client-area .ctop-name, body.client-area .ctop-search:not(.open) { display: none; }
  body.client-area .ctop-refer { padding: 0 4px; }
  .hp-head, .hk-section-head { flex-wrap: wrap; gap: 12px; }
  .hp-head .actions-row { width: 100%; }
  body.client-area h1.page { font-size: 26px; line-height: 32px; }
  .hk-trio, .hk-sites, .hk-dash-grid, .hp-dresults, .summary-grid { grid-template-columns: 1fr !important; }
  .hk-status-row { grid-template-columns: 1fr 1fr !important; }
  .hp-todo { flex-wrap: wrap; height: auto; }
  .hp-todo-btns { width: 100%; justify-content: flex-start; }
  .hp-plan, .hp-toolbar { padding: 14px 16px; }
  .hp-plan-head { flex-wrap: wrap; }
  .hp-plans.grid .hp-sites { grid-template-columns: 1fr 1fr; }
  .hp-plans.list .hp-site { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .hp-plans.list .hp-site-cols, .hp-plans.list .hp-site-upd, .hp-plans.list .hp-site-visits, .hp-plans.list .hp-site-tick { display: none; }
  .hp-plans.list .hp-site-btns { grid-column: 1 / -1; justify-content: flex-start; padding-bottom: 12px; }
  .hp-cols { display: none; }
  .hp-row { grid-template-columns: 1fr !important; gap: 8px; padding: 14px 16px; }
  .hp-actions { justify-content: flex-start; }
  .hk-sitehead-top { flex-wrap: wrap; }
  .hk-sitehead-actions { width: 100%; }
  .card-head { flex-wrap: wrap; gap: 8px; }
  .hp-cart-bar { left: 50%; width: calc(100% - 24px); bottom: 12px; }
  body.client-area .ctop-tools { gap: 4px; margin-left: auto; }
  body.client-area .ctop-tools a[aria-label="Help articles"], body.client-area .ctop-user > svg { display: none; }
  body.client-area .ctop-brand img { width: 112px; height: auto; }
  body.client-area .ctop-menu { flex: none; margin-left: 4px; }
  .site-layout > .site-menu { display: none; }
  .table td, .table th { overflow-wrap: anywhere; }
}
@media (max-width: 520px) {
  .hp-plans.grid .hp-sites, .hk-status-row { grid-template-columns: 1fr !important; }
  .hp-tld-tiles { grid-template-columns: repeat(2, 1fr); }
}
/* Staff: report shortcuts in the brand, tables that scroll inside their card instead of being cut off, long values wrap. */
body.staff-area .wh-reportgroups { text-align: left; max-width: 1100px; }
body.staff-area .wh-reportgroup { font: 400 20px/28px var(--font-serif); color: #18181A; margin: 24px 0 10px; }
body.staff-area .wh-reportbtns { justify-content: flex-start; gap: 8px; }
body.staff-area .wh-reportbtns .btn, body.staff-area .wh-reportbtns .wh-rb-general, body.staff-area .wh-reportbtns .wh-rb-export { background: #fff; border: 1px solid rgba(0,0,0,.12); color: #18181A; border-radius: 12px; font-weight: 600; }
body.staff-area .wh-reportbtns .btn:hover { border-color: #2066FF; color: #2066FF; }
body.staff-area .wh-reportbtns .wh-rb-export { color: #2066FF; }
body.staff-area .card:has(> table), body.staff-area .card:has(> form > table), body.staff-area form:has(> table.table) { overflow-x: auto; }
body.staff-area .wh-box-table td, body.staff-area .facts > div { overflow-wrap: anywhere; }
/* Row buttons wrap inside their cell instead of running past the card's edge. */
.table td.wh-rowbtns, .table td.nowrap.wh-rowbtns { white-space: normal; min-width: 96px; }
.table td.wh-rowbtns .btn { margin: 2px 2px 2px 0; }
/* A button placed straight in the page or a form keeps its own width instead of stretching. */
main.content > .btn, form[class=""] > .btn, form:not([class]) > .btn { align-self: flex-start; justify-self: start; width: auto; }
/* "With Selected" bulk buttons wrap onto more lines on narrow screens. */
.wh-mass { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.wh-mass .btn { margin: 0; }
.staff-area .wh-mass { flex-wrap: wrap; }
/* Staff pages use the full screen width (the client cap above also matched staff pages). */
body.staff-area .content { max-width: none; }
/* Phones: the staff header grows to hold a second, swipeable row for the main menu. */
@media (max-width: 900px) {
  body.staff-area .wh-bar { height: auto; min-height: 56px; flex-wrap: wrap; align-items: center; }
  body.staff-area .wh-bar .wh-nav { order: 3; flex: 1 1 100%; overflow-x: auto; overflow-y: hidden; padding: 0 8px 6px; scrollbar-width: none; }
  body.staff-area .wh-bar .wh-nav::-webkit-scrollbar { display: none; }
  body.staff-area .wh-bar .wh-item { height: 36px; flex: 0 0 auto; }
}
@media (max-width: 900px) {
  body.staff-area .wh-bar .wh-menu > .wh-drop { position: fixed; left: 8px; right: 8px; top: 100px; width: auto; min-width: 0; max-height: calc(100vh - 116px); overflow-y: auto; z-index: 80; }
}
/* Header and frame in hostking.host's navy (its top menu and hero); buttons and links keep the site's blue #2066FF. */
body.client-area { --hp-frame: #0B1B3A; }
body.staff-area .wh-bar { background: #0B1B3A; }
body.staff-area .wh-bar .ctop-dot { box-shadow: 0 0 0 2px #0B1B3A; }
body.staff-area .wh-bar .wh-icon, body.staff-area .wh-bar .wh-pop > summary, body.staff-area .wh-bar .ctop-pop > summary { color: #fff !important; }
body.staff-area .wh-bar .wh-icon:hover, body.staff-area .wh-bar .wh-pop > summary:hover { background: rgba(255,255,255,.14); }
body.staff-area .wh-bar .ctop-bell > summary, body.staff-area .wh-bar .ctop-bell > summary svg, body.staff-area .wh-bar .wh-right > a.wh-icon, body.staff-area .wh-bar .wh-right > a.wh-icon svg { color: #fff !important; }
/* Order page: steps, selectable plan and period tiles, sticky summary (as Hostinger's checkout). */
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.order-main { min-width: 0; display: grid; gap: 14px; align-content: start; }
.order-side { position: sticky; top: 16px; }
.order-step { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; }
.order-step span { width: 26px; height: 26px; border-radius: 50%; background: #E8EFFF; color: #2066FF; font: 700 13px/26px var(--font-sans); text-align: center; flex: none; }
.order-main .plan-grid { margin: 0; }
body.client-area .plan-card, body.client-area .cycle-tile { position: relative; cursor: pointer; border: 1.5px solid rgba(0,0,0,.1); transition: border-color .15s, box-shadow .15s; }
body.client-area .plan-card:hover, body.client-area .cycle-tile:hover { border-color: rgba(32,102,255,.45); }
body.client-area .plan-card:has(input:checked), body.client-area .cycle-tile:has(input:checked) { border-color: #2066FF; box-shadow: 0 0 0 3px rgba(32,102,255,.14); background: #FAFCFF; }
.plan-card input, .cycle-tile input { position: absolute; opacity: 0; pointer-events: none; }
span.plan-pick { position: absolute; top: 18px; right: 18px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(0,0,0,.2); background: #fff; }
:has(> input:checked) > span.plan-pick { border-color: #2066FF; background: radial-gradient(circle, #2066FF 0 5px, #fff 6px); }
.cycle-tile:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.plan-card:has(input:focus-visible), .cycle-tile:has(input:focus-visible) { outline: 3px solid #8DB4F5; outline-offset: 2px; }
.cycle-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cycle-tile { display: flex; flex-direction: column; gap: 2px; padding: 16px 44px 16px 18px; margin: 0; }
.cycle-tile b { font: 700 15px/22px var(--font-sans); }
.cycle-tile .hp-tag { align-self: flex-start; margin-top: 6px; }
.order-summary { display: grid; gap: 10px; }
.order-line { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.order-total { border-top: 1px solid rgba(0,0,0,.1); padding-top: 12px; font-size: 16px; }
.order-total b { font-size: 20px; }
.btn-block { width: 100%; justify-content: center; }
@media (max-width: 900px) {
  .order-layout { grid-template-columns: minmax(0, 1fr); }
  .order-side { position: static; }
  .cycle-tiles { grid-template-columns: minmax(0, 1fr); }
}
.order-main .plan-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.order-main .plan-card, .order-main .cycle-tile { margin: 0 !important; }
.cycle-tile .hp-tag { display: inline-flex; width: auto; align-self: flex-start; }
.order-line[hidden] { display: none; }
.cycle-tiles { align-items: stretch; }
.cycle-tile .hp-tag { display: inline-flex !important; justify-self: start; width: auto; }
/* DNS records: long values (DKIM keys) wrap so TTL and Remove stay in view. */
.dns-table { table-layout: fixed; width: 100%; }
.dns-table th:nth-child(1), .dns-table td:nth-child(1) { width: 70px; }
.dns-table th:nth-child(2), .dns-table td:nth-child(2) { width: 30%; }
.dns-table th:nth-child(4), .dns-table td:nth-child(4) { width: 70px; }
.dns-table th:nth-child(5), .dns-table td:nth-child(5) { width: 110px; }
.dns-table td { white-space: normal !important; overflow-wrap: anywhere; word-break: break-all; }
.dns-table td:nth-child(4), .dns-table td:nth-child(5) { word-break: normal; }
@media (max-width: 900px) { .dns-table { table-layout: auto; } .dns-table th, .dns-table td { width: auto !important; } }
/* One gap between stacked sections everywhere: website pages match the rest of the client area (24px). */
body.client-area .site-main > :is(section, details, .grid, div.card, form, .notice, .error) + :is(section, details, .grid, div.card, form, .notice, .error) { margin-top: 24px !important; }
body.client-area #tab-body > :is(section, details, .grid, div.card, form) + :is(section, details, .grid, div.card, form) { margin-top: 24px !important; }
body.client-area .site-main > :is(section, details, .grid, div.card, form, .notice, .error):not(:first-child), body.client-area #tab-body > :is(section, details, .grid, div.card, form):not(:first-child) { margin-top: 0 !important; }
body.client-area .site-main > :is(section, details, .grid, div.card, form, .notice, .error), body.client-area #tab-body > :is(section, details, .grid, div.card, form) { margin-bottom: 24px !important; }
@media (max-width: 900px) { body.client-area :is(.hk-sites, .hk-trio, .hp-plans) { row-gap: 24px; } }
.dns-table td:nth-child(4), .dns-table td:nth-child(5), .dns-table td:nth-child(5) * { word-break: normal !important; overflow-wrap: normal !important; white-space: nowrap !important; }
/* Login, sign-up, password and two-step pages: one white card on Hostking blue, white logo top-left (as Hostinger's). */
body.auth-body { background: #0B1B3A; }
body.auth-body .auth { position: relative; background: #0B1B3A; display: block; min-height: 100vh; padding: 0; }
body.auth-body .auth-side { display: none; }
.auth-brand { position: absolute; top: 28px; left: 36px; display: inline-flex; z-index: 2; }
.auth-brand img { height: 30px; width: auto; }
body.auth-body .auth-main { min-height: 100vh; padding: 96px 16px 48px; gap: 16px; }
body.auth-body .auth-card { width: 100%; max-width: 456px; padding: 32px; border: 0; border-radius: 16px; box-shadow: 0 24px 48px rgba(6, 20, 66, .28); }
.auth-title { font: 500 32px/1.2 var(--font-serif); text-align: center; margin: 0 0 8px; color: #18181A; }
.auth-card > .auth-title + p.muted { text-align: center; }
.auth-sub { text-align: center; margin: 0 0 24px; color: #36363B; }
.auth-sub a { font-weight: 700; color: #2066FF; text-decoration: none; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 44px; width: 100%; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: none; color: #6B6B73; cursor: pointer; border-radius: 8px; display: grid; place-items: center; }
.pw-eye:hover, .pw-eye.on { color: #18181A; background: #F2F2F4; }
.auth-forgot { display: inline-block; margin-top: 8px; font-weight: 700; font-size: 13px; color: #18181A; text-decoration: none; }
.auth-forgot:hover { text-decoration: underline; }
.auth-submit { width: 100%; height: 48px; font-size: 15px; border-radius: 10px; margin-top: 4px; }
.auth-help { text-align: center; margin: 18px 0 0; }
.auth-help a { font-weight: 700; font-size: 13px; color: #18181A; text-decoration: none; }
body.auth-body .auth-foot, body.auth-body .auth-foot a { color: rgba(255,255,255,.8); }
body.auth-body .auth-foot a:hover { color: #fff; }
@media (max-width: 600px) {
  .auth-brand { left: 16px; top: 20px; }
  body.auth-body .auth-main { padding-top: 76px; justify-content: flex-start; }
  body.auth-body .auth-card { padding: 24px 20px; }
  .auth-title { font-size: 28px; }
}
body.auth-body .auth-card .auth-submit { display: flex; width: 100%; justify-content: center; align-items: center; }
body.auth-body .auth-card .auth-sub a { color: #2066FF; text-decoration: none; font-weight: 700; }
body.auth-body .auth-card .auth-sub a:hover { text-decoration: underline; }
/* WordPress tab before WordPress is found: what the tools do, greyed, with Install WordPress. */
.wp-teaser-grid { margin-top: 16px; }
.wp-teaser-grid .tool-box { opacity: .6; filter: grayscale(.4); }
.wp-teaser-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.wp-teaser-grid .tool-head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.wp-teaser-grid .tool-head .card-title { word-break: normal; overflow-wrap: normal; hyphens: none; }
/* DNS records fold away; subdomains and redirects come first. */
.dns-records > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; color: #2066FF; border-top: 1px solid rgba(0,0,0,.08); }
.dns-records > summary::-webkit-details-marker { display: none; }
.dns-records > summary::after { content: '▾'; color: #58585E; margin-left: auto; }
.dns-records[open] > summary::after { content: '▴'; }
.dns-records > summary .muted { font-weight: 400; }

/* Customer reports: Website security, Website health, Email protection */
.rp-hero { position: relative; overflow: hidden; border-radius: 20px; padding: 28px; color: #fff; background: linear-gradient(120deg, #0B1B3A 0%, #12306B 60%, #0F4B6B 100%); }
.rp-hero::after { content: ''; position: absolute; right: -80px; top: -100px; width: 300px; height: 300px; border-radius: 50%; border: 46px solid rgba(111,174,255,.08); pointer-events: none; }
.rp-hero > * { position: relative; z-index: 1; }
.rp-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.rp-badge { width: 64px; height: 64px; flex: none; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: rgba(28,122,69,.25); border: 1px solid rgba(127,214,162,.35); color: #7FD6A2; }
.rp-badge.bad { background: rgba(180,35,24,.25); border-color: rgba(255,140,130,.35); color: #FF9C93; }
.rp-kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9CC7FF; }
.rp-hero h1 { margin: 2px 0 2px; font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; color: #fff; overflow-wrap: anywhere; }
.rp-hero h1.big { font-size: clamp(26px, 3.4vw, 36px); max-width: 780px; }
.rp-sub { color: #B9C5DB; font-size: 15px; }
.rp-sub i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3FD07F; margin-right: 6px; vertical-align: 1px; }
.rp-sub i.bad { background: #FF6B5E; }
.rp-tiles { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.rp-tile { padding: 16px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); min-width: 0; }
.rp-tile.good { border-color: rgba(127,214,162,.45); background: rgba(28,122,69,.16); }
.rp-tile.bad { border-color: rgba(255,140,130,.45); background: rgba(180,35,24,.18); }
.rp-tile .ico { color: #9CC7FF; display: block; height: 20px; }
.rp-tile b { display: block; font-size: 28px; line-height: 1.2; margin-top: 6px; }
.rp-tile span { font-size: 13px; color: #B9C5DB; }
.rp-tile b small { font-size: 15px; font-weight: 500; color: #B9C5DB; }
.rp-bars { display: flex; align-items: flex-end; gap: 3px; height: 64px; margin-top: 22px; }
.rp-bars i { flex: 1; min-width: 2px; border-radius: 3px 3px 0 0; background: rgba(255,255,255,.18); min-height: 3px; }
.rp-bars i.on { background: #FFB020; }
.rp-bars-axis { display: flex; justify-content: space-between; font-size: 12px; color: #8EA0BF; margin-top: 6px; }
.rp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 4px; }
.rp-dots { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; max-width: 220px; }
.rp-dots i { width: 13px; height: 13px; border-radius: 3px; background: #3CC8A2; }
.rp-dots i.slow { background: #FFB020; } .rp-dots i.down { background: #FF6B5E; } .rp-dots i.none { background: #4A5A78; }
.rp-gauge { height: 6px; border-radius: 99px; background: rgba(255,255,255,.15); margin-top: 12px; overflow: hidden; }
.rp-gauge i { display: block; height: 100%; border-radius: 99px; background: #3CC8A2; }
.rp-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); color: #DCE5F3; font-size: 14px; }
.rp-foot a { color: #fff; text-decoration: underline; }
.rp-note { padding: 12px 16px; border-radius: 12px; background: var(--tint); color: #2B3B57; font-size: 14px; border: 1px solid #D6E2F6; }
.rp-pick { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; border: 1px solid var(--border); border-radius: 999px; background: #fff; max-width: 100%; }
.rp-pick select { border: 0; background: transparent; font: 600 15px var(--font-sans); color: var(--navy); max-width: 100%; min-width: 0; padding: 4px; }
.rp-table { width: 100%; border-collapse: collapse; }
.rp-table th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--border); }
.rp-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.rp-table tr:last-child td { border-bottom: 0; }
.rp-table tr.attn td:first-child { box-shadow: inset 3px 0 0 var(--red); }
.rp-svc { display: flex; gap: 12px; align-items: center; min-width: 0; }
.rp-svc .ic { width: 36px; height: 36px; flex: none; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #E7F5EC; color: var(--green); }
.rp-svc .ic.bad { background: var(--red-bg); color: var(--red); }
.rp-svc b { display: block; overflow-wrap: anywhere; }
.rp-num { font-weight: 700; font-size: 17px; }
.rp-sec { border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.rp-sec + .rp-sec { margin-top: 12px; }
.rp-sec.red { box-shadow: inset 4px 0 0 var(--red); } .rp-sec.blue { box-shadow: inset 4px 0 0 var(--blue); } .rp-sec.amber { box-shadow: inset 4px 0 0 var(--amber); }
.rp-sec > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 20px; font-weight: 700; font-size: 17px; }
.rp-sec > summary::-webkit-details-marker { display: none; }
.rp-sec > summary .meta { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; font-weight: 400; font-size: 13px; color: var(--muted); }
.rp-sec > summary .chev { transition: transform .15s; color: var(--muted); flex: none; }
.rp-sec[open] > summary .chev { transform: rotate(180deg); }
.rp-sec .body { padding: 0 20px 18px; }
.rp-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--border); }
.rp-item:first-child { border-top: 0; }
.rp-item .ic { width: 34px; height: 34px; flex: none; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--red-bg); color: var(--red); }
.rp-item .ic.ok { background: #E7F5EC; color: var(--green); } .rp-item .ic.amber { background: var(--amber-bg); color: var(--amber-text); } .rp-item .ic.blue { background: var(--tint); color: var(--blue); }
.rp-item .txt { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.rp-item .txt b { display: block; }
.rp-todo { border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.rp-todo + .rp-todo { margin-top: 8px; }
.rp-todo.now { box-shadow: inset 4px 0 0 #D1304F; } .rp-todo.soon { box-shadow: inset 4px 0 0 var(--amber); }
.rp-todo > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 12px 16px; flex-wrap: wrap; }
.rp-todo > summary::-webkit-details-marker { display: none; }
.rp-todo .when { font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 2px 8px; border-radius: 6px; background: #FCE8EC; color: #B4234A; }
.rp-todo.soon .when { background: var(--amber-bg); color: var(--amber-text); }
.rp-todo .kind { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; min-width: 70px; }
.rp-todo .ttl { flex: 1 1 280px; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.rp-todo .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.rp-todo .body { padding: 0 16px 14px 16px; color: #2B3B57; font-size: 14px; }
.rp-score { font-weight: 700; } .rp-score small { font-weight: 500; color: var(--muted); font-size: 12px; }
.rp-score.bad { color: #C2264E; } .rp-score.mid { color: var(--amber); } .rp-score.good { color: var(--green); }
.rp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.rp-flow { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
.rp-flow-row { display: grid; grid-template-columns: 120px 1fr 64px; align-items: center; gap: 12px; }
.rp-flow-row .lbl { font-size: 14px; color: #DCE5F3; }
.rp-flow-row .bar { height: 26px; border-radius: 8px; background: rgba(255,255,255,.08); overflow: hidden; }
.rp-flow-row .bar i { display: block; height: 100%; border-radius: 8px; }
.rp-flow-row b { font-size: 18px; text-align: right; }
.rp-chart { display: flex; align-items: flex-end; gap: 3px; height: 180px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.rp-chart .col { flex: 1; display: flex; flex-direction: column-reverse; min-width: 3px; height: 100%; }
.rp-chart .col i { display: block; width: 100%; }
.rp-chart .col i:last-child { border-radius: 3px 3px 0 0; }
.rp-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.rp-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
@media (max-width: 720px) {
  .rp-hero { padding: 20px; border-radius: 16px; }
  .rp-hero h1 { font-size: 24px; }
  .rp-tile b { font-size: 22px; }
  .rp-table thead { display: none; }
  .rp-table tr { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px 10px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
  .rp-table td { padding: 0; border: 0; }
  .rp-table td:first-child, .rp-table td.wide { grid-column: 1 / -1; }
  .rp-table td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
  .rp-table tr.attn { box-shadow: inset 3px 0 0 var(--red); }
  .rp-table tr.attn td:first-child { box-shadow: none; }
  .rp-flow-row { grid-template-columns: 90px 1fr 48px; }
  .rp-sec > summary { padding: 14px 16px; font-size: 16px; }
  .rp-sec .body { padding: 0 16px 16px; }
}
.btn-text { background: none; border: 0; padding: 4px 0; color: var(--blue); font: 600 14px var(--font-sans); cursor: pointer; }
.btn-text:hover { color: var(--blue-hover); }
.rp-todo > summary .chev { margin-left: auto; color: var(--muted); transition: transform .15s; }
.rp-todo[open] > summary .chev { transform: rotate(180deg); }
.rp-pick { width: fit-content; }
.rp-cards > * { margin: 0 !important; }
.rp-cards { align-items: start; }
@media (max-width: 720px) { .rp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .rp-tile { padding: 12px; } }
/* Staff menu on phones: every menu visible (wrapped into rows), no hidden sideways scrolling */
@media (max-width: 720px) {
  body.staff-area .wh-bar .wh-nav { flex-wrap: wrap !important; overflow: visible !important; padding: 2px 6px 6px; gap: 2px; }
  body.staff-area .wh-bar .wh-item { margin: 2px !important; padding: 0 10px !important; height: 36px; flex: 1 1 auto; justify-content: center; font-size: 14px; }
}
@media (max-width: 720px) {
  body.staff-area .wh-bar { position: relative !important; }
  body.staff-area .wh-bar .wh-item { height: 34px; font-size: 13.5px; }
}
@media (max-width: 720px) {
  .service-picker label.inline { flex: 1 1 100% !important; min-width: 0; }
  .service-picker select.input { width: 100%; min-width: 0; max-width: 100%; }
  body.staff-area select.input, body.staff-area input.input { max-width: 100%; }
}
@media (max-width: 720px) {
  .table.stack td { max-width: 100%; white-space: normal !important; overflow-wrap: anywhere; box-sizing: border-box; }
  .table.stack td.nowrap, .table.stack td .nowrap { white-space: normal !important; }
}
.rp-offer { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: space-between; padding: 14px 18px; border-radius: 14px; border: 1px solid #CFE0FF; background: linear-gradient(90deg, #F2F7FF, #FFFFFF); }
.rp-trial { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 18px; border-radius: 14px; border: 1px solid #CFE0FF; background: #F2F7FF; color: #1B3A78; }
.rp-locked { position: relative; }
.rp-locked .body > :not(.rp-unlock) { filter: blur(5px); pointer-events: none; user-select: none; max-height: 220px; overflow: hidden; }
.rp-unlock { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); width: min(92%, 560px); z-index: 2; box-shadow: 0 10px 30px rgba(11,27,58,.15); }
/* Staff header on phones: every icon stays on screen, and the settings / search / notifications / account boxes open
   as a full-width panel under the header (they used to open partly off the screen). */
@media (max-width: 720px) {
  body.staff-area .wh-bar { height: auto !important; flex-wrap: wrap; row-gap: 0; }
  body.staff-area .wh-bar .wh-logo { padding: 0 8px 0 12px; }
  body.staff-area .wh-bar .wh-logo img { height: 22px; }
  body.staff-area .wh-bar .wh-right { gap: 2px; flex-wrap: nowrap; min-width: 0; margin-left: auto; }
  body.staff-area .wh-right > .wh-switch { display: none; }
  body.staff-area .wh-pop > .wh-drop, body.staff-area .wh-bar .ctop-pop > .ctop-drop, body.staff-area .wh-bar details > .wh-drop, body.staff-area .wh-bar .ctop-bell > .ctop-panel {
    position: fixed !important; left: 8px !important; right: 8px !important; top: 64px !important; width: auto !important; max-width: none !important;
    max-height: calc(100vh - 80px); overflow: auto; z-index: 200; }
  body.staff-area .wh-search { display: flex; gap: 8px; padding: 10px !important; }
  body.staff-area .wh-search input { flex: 1 1 auto !important; min-width: 0; width: auto !important; font-size: 16px; }
  body.staff-area .wh-search button { flex: 0 0 auto !important; width: auto !important; }
  body.staff-area .wh-config-drop { display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px; }
}

.wh-config-drop .wh-switch-m { display: none; }
@media (max-width: 720px) { .wh-config-drop .wh-switch-m { display: flex; } }
/* The header search button sits in a dropdown whose buttons are styled as plain menu rows: keep it white on blue. */
body.staff-area .wh-search button.btn-primary, .wh-search button.btn-primary { color: #fff !important; background: var(--blue) !important; }
body.staff-area .wh-search button.btn-primary:hover { color: #fff !important; background: var(--blue-hover) !important; }
body.staff-area .wh-search button.btn-primary { width: auto; justify-content: center; padding: 7px 14px; }
/* Client area on phones: the website Details card in one column, values that wrap; recent invoices and the caching boxes fit. */
@media (max-width: 640px) {
  .client-area .info-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .client-area .info-grid > div { min-width: 0; }
  .client-area .info-grid .mono, .client-area .info-grid > div > div:not(.label) { overflow-wrap: anywhere; word-break: break-word; }
  .client-area .copy-val { flex-wrap: wrap; gap: 6px; }
  .client-area .inv-mini th, .client-area .inv-mini td { padding-left: 8px !important; padding-right: 8px !important; font-size: 14px; }
  .client-area .inv-mini th:nth-child(2), .client-area .inv-mini td:nth-child(2) { display: none; }
  .client-area .inv-mini td:last-child, .client-area .inv-mini th:last-child { padding-left: 8px !important; }
  .client-area .tool-box { padding: 16px; }
  .client-area .tool-head { flex-wrap: wrap; }
  .client-area .tool-row { grid-template-columns: 1fr auto; row-gap: 6px; }
  .client-area .tool-row > span:first-child { grid-column: 1 / -1; overflow-wrap: anywhere; }
  .client-area .tool-foot .btn { flex: 0 1 auto; }
}

/* Headings as hostking.host's ("Your business online, built for you"): DM Sans medium, tight letter spacing. */
h1.page, .section-title, .site-title, .inv-title, .auth-title, .auth-side-body h2, .wh-reportgroup, .count, .big-number,
body.client-area h1.page, body.client-area .hp-sec-title, body.client-area .section-title,
body.client-area .hp-todos-title, body.client-area .hp-dsearch h2, body.client-area .hp-plan-head h2,
body.staff-area h1.page, body.staff-area .section-title, body.staff-area .wh-reportgroup, .client-area h1.page, .client-area .section-title {
  font-family: var(--font-serif); font-weight: 500; letter-spacing: -.03em; font-variation-settings: normal;
}
h2, h3 { letter-spacing: -.015em; }
/* Buttons that are links keep white text on their coloured background (the staff link colour must not win). */
body .abuse-btn, body .abuse-btn:visited, body .abuse-btn:hover, body a.btn-primary, body a.btn-danger, body a.btn-success, body a.btn-primary:visited, body a.btn-danger:visited, body a.btn-success:visited { color: #fff !important; }
