@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Inter+Tight:wght@500;600;700&display=swap');
/* Ask Webbie customer platform styles (matches the marketing site) */
:root {
  --blue: #1B4DB1; --navy: #0E2A6B; --yellow: #F9C623; --cream: #FFF9E8; --white: #fff;
  --ink-2: #2B3F73; --muted: #56658C; --line: #EBE3CB; --pale: #D5DEF3; --pale-blue: #EEF2FB;
  --red: #B3261E; --red-bg: #FDECEA; --green: #1D7A46; --green-bg: #E6F4EC; --amber-bg: #FFF4D6;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Rubik', system-ui, sans-serif;
  --sidebar: 260px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); background: var(--cream); color: var(--navy); line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.15; }
p { margin: 0; }
a { color: var(--blue); }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #0A0B0E; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip-link:focus { top: 12px; }

/* Wordmark */
.wordmark { font-family: var(--font-display); font-weight: 900; letter-spacing: -.5px; line-height: 1; font-size: 26px; }
.wordmark .ask { color: var(--blue); }
.wordmark .webbie { color: var(--yellow); -webkit-text-stroke: 2.5px transparent; paint-order: stroke fill; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; background: #111318; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; border: 2px solid var(--blue); background: var(--blue); color: #0A0B0E;
  transition: transform .12s, box-shadow .12s, background .12s; white-space: nowrap; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.60); color: #0A0B0E; }
.btn:disabled, .btn[aria-busy="true"] { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.btn-yellow { background: var(--yellow); color: #0A0B0E; }
.btn-yellow:hover { color: #0A0B0E; }
.btn-outline { background: #111318; color: var(--blue); }
.btn-outline:hover { color: var(--blue); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--pale-blue); box-shadow: none; transform: none; color: var(--blue); }
.btn-danger { background: #111318; color: var(--red); border-color: #2A2F3A; }
.btn-danger:hover { background: var(--red-bg); color: var(--red); box-shadow: none; transform: none; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 700; text-decoration: underline; cursor: pointer; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .label { font-weight: 700; font-size: 15px; }
.hint { font-size: 14px; color: var(--muted); font-weight: 400; }
.input, .select, .textarea { width: 100%; min-height: 46px; border: 2px solid var(--pale); border-radius: 12px; padding: 10px 14px; background: #111318; font-size: 16px; }
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.42); }
.input[aria-invalid="true"] { border-color: var(--red); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form-error { color: var(--red); font-weight: 600; font-size: 15px; }
.form-error:empty { display: none; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; cursor: pointer; line-height: 1.4; }
/* the box lines up with the first line of the label, however many lines it wraps to */
.check input { width: 20px; height: 20px; accent-color: var(--blue); margin: calc((1.4em - 20px) / 2) 0 0; flex-shrink: 0; }

/* Auth pages */
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.auth-card { width: min(460px, 100%); background: #111318; border: 3px solid var(--blue); border-radius: 28px; box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.60); padding: clamp(24px, 5vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.auth-card .mascot { width: 76px; height: 76px; border-radius: 22px; object-fit: cover; }
.auth-card h1 { font-size: clamp(28px, 5vw, 36px); font-weight: 800; letter-spacing: -.5px; }
.auth-foot { text-align: center; font-size: 15px; color: var(--muted); }

/* App shell */
.shell { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; background: #111318; border-right: 2px solid var(--line); display: flex; flex-direction: column; padding: 22px 16px; gap: 22px; overflow-y: auto; }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; color: var(--navy); text-decoration: none; font-weight: 600; }
.nav a:hover { background: var(--pale-blue); }
.nav a[aria-current="page"] { background: var(--blue); color: #0A0B0E; }
.nav .sep { height: 1px; background: var(--line); margin: 10px 6px; }
.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--cream); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: #0A0B0E; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.user-chip .who { min-width: 0; }
.user-chip strong { display: block; color: var(--navy); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip .who span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.main-col { min-width: 0; display: flex; flex-direction: column; overflow-x: clip; }
.topbar { display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #111318; border-bottom: 2px solid var(--line); position: sticky; top: 0; z-index: 30; }
.menu-btn { width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--pale); background: #111318; color: var(--blue); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.page { padding: clamp(20px, 4vw, 44px); width: 100%; max-width: 1180px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.page-head h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.5px; }
.page-head p { color: var(--muted); margin-top: 6px; font-size: 17px; }
.impersonation-bar { background: var(--navy); color: #0A0B0E; padding: 10px 16px; display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; font-weight: 600; font-size: 15px; }
.impersonation-bar .btn { min-height: 34px; }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: #111318; border: 2px solid var(--line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card h2 { font-size: 21px; font-weight: 700; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.card-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--yellow); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.card .muted, .muted { color: var(--muted); }
.card-feature { border: 3px solid var(--blue); box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.60); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.big-num { font-family: var(--font-display); font-size: 40px; font-weight: 900; color: var(--blue); line-height: 1; }
.stat-link { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.stat-link:hover, .stat-link:focus-visible { border-color: var(--blue); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.42); }
.stat-link .hint { color: var(--blue); font-weight: 700; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--pale-blue); color: var(--blue); white-space: nowrap; }
.chip.green { background: var(--green-bg); color: var(--green); }
.chip.amber { background: var(--amber-bg); color: #E4E6EA; }
.chip.red { background: var(--red-bg); color: var(--red); }
.chip.gray { background: #16191F; color: #E4E6EA; }
.notice { border-radius: 16px; padding: 14px 18px; background: var(--pale-blue); border: 2px solid var(--pale); font-size: 15px; line-height: 1.5; }
.notice.amber { background: var(--amber-bg); border-color: #2A2F3A; }
.notice.green { background: var(--green-bg); border-color: #2A2F3A; }
.notice.red { background: var(--red-bg); border-color: #2A2F3A; }
.empty { text-align: center; padding: 30px 16px; color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; border: 2px solid var(--line); border-radius: 18px; background: #111318; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); background: #111318; }
tr:last-child td { border-bottom: 0; }
td .sub { display: block; color: var(--muted); font-size: 13px; }
tbody tr.clickable { cursor: pointer; }
tbody tr.clickable:hover { background: #111318; }

/* Lists */
.list { display: flex; flex-direction: column; }
.list-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.list-item:last-child { border-bottom: 0; }
.list-item .main { display: flex; align-items: center; gap: 12px; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }

/* Dialog */
dialog { border: 0; border-radius: 24px; padding: 0; width: min(520px, 100% - 32px); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.60); color: var(--navy); }
dialog::backdrop { background: rgba(0, 0, 0, 0.60); }
.dialog-body { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.dialog-body h2 { font-size: 24px; font-weight: 800; }

/* Toasts */
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--navy); color: #0A0B0E; padding: 12px 18px; border-radius: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.60); animation: toast-in .2s ease-out; max-width: min(520px, 92vw); }
.toast.error { background: var(--red); }
.toast.success { background: var(--green); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--pale); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { display: flex; align-items: center; gap: 12px; color: var(--muted); padding: 24px 0; }

@media (max-width: 960px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: min(300px, 86vw); z-index: 50; transform: translateX(-105%); transition: transform .2s; box-shadow: 0 0 40px rgba(0, 0, 0, 0.60); }
  .sidebar.open { transform: none; }
  .topbar { display: flex; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .grid-2, .grid-3, .row-2 { grid-template-columns: minmax(0, 1fr); }
  .page-head .btn-row { width: 100%; }
  .hide-sm { display: none; }
  th, td { padding: 12px 10px; }
  .kv { grid-template-columns: minmax(0, auto) minmax(0, 1fr); }
  .card { padding: 20px; }
  .page-head { margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Ask Webbie logo (mascot + wordmark, transparent background) */
.brand img.brand-logo { width: auto; height: 50px; border-radius: 0; background: none; object-fit: contain; }
.wordmark .ask { color: var(--blue); }

/* ---------- Design questions (welcome page and /app/design) ---------- */
.auth-card.wide { width: min(860px, 100%); }
.dz { gap: 26px; }
.dz-q { border: 0; padding: 0; margin: 0; min-width: 0; }
.dz-q legend { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--navy); margin-bottom: 12px; padding: 0; }
.dz-bg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dz-bgcard { position: relative; display: flex; flex-direction: column; gap: 6px; border: 2px solid var(--line); border-radius: 16px; padding: 14px; cursor: pointer; background: #111318; text-align: left; transition: border-color .15s, box-shadow .15s; }
.dz-bgcard input { position: absolute; opacity: 0; pointer-events: none; }
.dz-bgcard:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.45); }
.dz-bgcard:has(input:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 2px; }
.dz-bgcard strong { font-size: 17px; color: var(--navy); }
.dz-preview { display: flex; flex-direction: column; gap: 6px; height: 92px; border-radius: 10px; padding: 12px; border: 1px solid #2A2F3A; }
.dz-preview i { display: block; height: 10px; width: 45%; border-radius: 4px; }
.dz-preview b { display: block; height: 6px; width: 85%; border-radius: 3px; }
.dz-preview em { display: block; height: 18px; width: 34%; border-radius: 6px; margin-top: auto; background: var(--blue); }
.dz-bgcard.light .dz-preview { background: #111318; } .dz-bgcard.light i { background: #0D0F13; } .dz-bgcard.light b { background: #16191F; }
.dz-bgcard.dark .dz-preview { background: #0D0F13; border-color: #3A3F4A; } .dz-bgcard.dark i { background: #16191F; } .dz-bgcard.dark b { background: #0D0F13; }
.dz-bgcard.dark .dz-preview em { background: var(--yellow); }
.dz-sample { display: flex; align-items: center; justify-content: center; height: 70px; border-radius: 10px; font-size: 34px; background: #16191F; color: var(--navy); }
.dz-family { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #2A2F3A; }
.dz-fam-name { font-weight: 700; font-size: 14px; color: var(--ink-2, var(--navy)); }
.dz-row { display: flex; flex-wrap: wrap; gap: 8px; }
.dz-swatch { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 74px; padding: 6px 4px; border: 2px solid transparent; border-radius: 12px; background: none; cursor: pointer; font: inherit; }
.dz-swatch:hover { background: #16191F; }
.dz-swatch[aria-checked="true"] { border-color: var(--blue); background: var(--pale-blue); }
.dz-swatch:focus-visible { outline: 3px solid var(--yellow); outline-offset: 1px; }
.dz-chip { display: inline-block; width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.42); flex-shrink: 0; }
.dz-swatch[aria-checked="true"] .dz-chip { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.42), 0 0 0 3px #fff, 0 0 0 5px rgba(0, 0, 0, 0.60); }
.dz-name { font-size: 12px; line-height: 1.2; color: var(--navy); text-align: center; }
.dz-picked { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 36px; margin-bottom: 12px; }
.dz-count { font-weight: 700; font-size: 14px; }
.dz-tag { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 999px; background: #111318; padding: 3px 10px 3px 3px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--navy); }
.dz-tag .dz-chip { width: 22px; height: 22px; }
.dz-suggest { background: var(--pale-blue); border-radius: 14px; padding: 10px 12px; margin-bottom: 10px; }
.dz-suggest strong { display: block; font-size: 14px; margin-bottom: 6px; color: var(--navy); }
@media (max-width: 700px) {
  .dz-family { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .dz-row { gap: 4px; }
  .dz-family .dz-swatch { width: calc((100% - 20px) / 6); padding: 4px 0; }
  .dz-swatch .dz-chip { width: 32px; height: 32px; }
  .dz-name { font-size: 10.5px; }
}

/* "Last step" domain page */
.lead-text { font-size: 18px; line-height: 1.55; margin: 0; color: var(--navy); }
.steps-list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.5; }
#invite-email { font-weight: 700; }
.invite-box { display: flex; flex-direction: column; gap: 6px; }
.invite-box code { font-weight: 700; font-size: 16px; }
.records-table { display: flex; flex-direction: column; border: 2px solid var(--line); border-radius: 16px; overflow: hidden; background: #111318; }
.records-row { display: grid; grid-template-columns: minmax(70px, 0.7fr) minmax(70px, 0.7fr) minmax(0, 3fr) auto; gap: 8px 14px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); }
.records-row:first-child { border-top: 0; }
.records-head { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; background: #16191F; }
.records-row code { font-weight: 700; font-size: 15px; }
.records-value { overflow-wrap: anywhere; }
.records-note { padding: 0 14px 10px; margin-top: -4px; }
.alt-way { border: 2px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.dm-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--line); margin-top: 4px; }
.dm-tab { flex: 1 1 0; background: #16191F; border: 2px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; padding: 12px 14px; margin-bottom: -2px; font: inherit; font-weight: 700; font-size: 16px; color: var(--muted, #E4E6EA); cursor: pointer; text-align: center; }
.dm-tab + .dm-tab { margin-left: 8px; }
.dm-tab[aria-selected="true"] { background: #111318; color: var(--navy); border-color: var(--blue); border-bottom: 2px solid #2A2F3A; box-shadow: inset 0 4px 0 rgba(0, 0, 0, 0.60); }
.dm-tab:hover:not([aria-selected="true"]) { color: var(--blue); background: var(--pale-blue); }
.dm-tab:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.dm-panel { display: flex; flex-direction: column; gap: 14px; padding-top: 6px; }
.dm-panel[hidden] { display: none; }
/* after they've sent the invite or added the records: what happens next, with the steps folded away */
.dm-done { display: flex; gap: 16px; align-items: flex-start; background: #16191F; border: 2px solid #3E9B63; border-radius: 16px; padding: 18px 20px; }
.dm-done img { flex-shrink: 0; width: 84px; height: 84px; }
.dm-done p { margin: 6px 0 0; line-height: 1.5; }
.dm-done-title { margin: 0; font-size: 20px; color: var(--navy); }
.dm-done:focus { outline: none; }
.dm-review summary { cursor: pointer; font-weight: 700; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }
.dm-review summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.dm-review-body { display: flex; flex-direction: column; gap: 16px; padding-top: 12px; }
@media (max-width: 520px) { .dm-done { flex-direction: column; align-items: center; text-align: center; } }
@media (max-width: 560px) { .dm-tab { font-size: 14.5px; padding: 10px 8px; } }
.alt-way summary { cursor: pointer; font-size: 16px; }
@media (max-width: 640px) { .records-row { grid-template-columns: 1fr 1fr; } .records-row .records-value { grid-column: 1 / -1; } .records-head { display: none; } }

/* Domain valid / not found badge (admin) */
.dom-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 4px; border-radius: 999px; font-size: 12.5px; font-weight: 700; vertical-align: middle; white-space: nowrap; }
.dom-badge svg { width: 16px; height: 16px; border-radius: 50%; padding: 2px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.dom-badge.ok { background: var(--green-bg); color: var(--green); } .dom-badge.ok svg { background: var(--green); }
.dom-badge.bad { background: var(--red-bg); color: var(--red); } .dom-badge.bad svg { background: var(--red); }
.dom-badge.unknown { background: #16191F; color: #E4E6EA; } .dom-badge.unknown svg { background: #2A2F3A; }
.invite { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #111318; margin-top: 8px; }

/* Design page: "Anything that will help us build your site?" file box */
.opt { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--muted); }
.dz-drop { border: 2px dashed #2A2F3A; border-radius: 18px; background: #111318; padding: 22px; cursor: pointer; transition: border-color .15s, background .15s; }
.dz-drop:hover, .dz-drop.over { border-color: var(--blue); background: var(--pale-blue); }
.dz-drop:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.dz-drop-cta { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--blue); }
.dz-drop-cta strong { color: var(--navy); font-size: 17px; }
.dz-link { color: var(--blue); text-decoration: underline; }
.dz-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.dz-tiles:not(:empty) { margin-top: 18px; }
.dz-tile { position: relative; display: flex; background: #111318; border: 2px solid var(--line); border-radius: 14px; cursor: default; }
.dz-tile[data-state="error"] { border-color: #2A2F3A; background: var(--red-bg); }
.dz-tile-main { flex: 1; min-width: 0; display: flex; gap: 12px; align-items: center; padding: 10px 34px 10px 10px; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; border-radius: 12px; }
.dz-tile-main:disabled { cursor: default; }
.dz-tile-main:focus-visible { outline: 3px solid var(--yellow); outline-offset: 0; }
.dz-thumb { position: relative; flex-shrink: 0; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--pale-blue); display: flex; align-items: center; justify-content: center; }
.dz-thumb img { width: 100%; height: 100%; object-fit: contain; background: #111318; }
.dz-ext { font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--blue); letter-spacing: .5px; }
.dz-progress { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.dz-progress i { display: block; height: 100%; background: var(--blue); transition: width .2s; }
.dz-tile-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dz-tile-text strong { font-size: 15px; line-height: 1.3; color: var(--navy); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.dz-need { color: var(--blue); text-decoration: underline; }
.dz-fname { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.dz-note { font-size: 12.5px; line-height: 1.35; }
.dz-note.ok { color: var(--green); } .dz-note.warn { color: #E4E6EA; } .dz-note.bad { color: var(--red); }
.dz-remove { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.dz-remove:hover { background: var(--red-bg); color: var(--red); }
.dz-ask .dz-ask-file { display: flex; align-items: center; gap: 14px; }
.dz-ask .dz-ask-file > span:last-child { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dz-ask #dz-ask-title { font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.dz-ask-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dz-chipbtn { border: 2px solid var(--pale); background: #111318; border-radius: 999px; padding: 6px 12px; font: 600 14px var(--font-body); color: var(--navy); cursor: pointer; }
.dz-chipbtn:hover { border-color: var(--blue); background: var(--pale-blue); }
.dz-chipbtn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 1px; }

/* Admin: files from the customer */
.file-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.file-card { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.file-thumb { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--pale-blue); border: 1px solid var(--pale); }
.file-thumb img { width: 100%; height: 100%; object-fit: contain; background: #111318; }
.file-ext { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--blue); }
.file-card figcaption { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; }
.file-card .sub { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }

/* Account tour bubbles (tour.js) */
.tour-hole { position: fixed; z-index: 900; border-radius: 14px; pointer-events: none; box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.60), 0 0 0 9999px rgba(0, 0, 0, 0.60); transition: all .25s ease; }
.tour-bubble { position: fixed; z-index: 901; background: #111318; color: var(--navy); border-radius: 18px; padding: 18px 20px 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.60); display: flex; flex-direction: column; gap: 8px; }
.tour-count { font-size: 13px; font-weight: 700; color: var(--muted); }
.tour-bubble h3 { font-family: var(--font-display); font-size: 21px; font-weight: 800; line-height: 1.2; }
.tour-bubble #tour-text { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.tour-hide { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-top: 4px; cursor: pointer; }
.tour-hide input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; }
.tour-actions { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #2A2F3A; padding-top: 10px; margin-top: 2px; }
.tour-link { border: 0; background: none; padding: 6px 2px; font: 700 15px var(--font-body); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tour-link:hover { color: var(--navy); }
.tour-link.tour-next { color: var(--blue); font-size: 16px; }
.tour-link:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.tour-arrow { position: absolute; width: 16px; height: 16px; background: #111318; transform: rotate(45deg); }
.tour-arrow[hidden] { display: none; }
.tour-arrow.right { left: -7px !important; margin-top: -8px; }
.tour-arrow.below { top: -7px !important; margin-left: -8px; }
.tour-arrow.above { bottom: -7px; margin-left: -8px; }
.tour-start { border: 0; background: none; padding: 0; font: 700 15px var(--font-body); color: var(--blue); text-decoration: underline; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .tour-hole { transition: none; } }

/* Admin → Messages */
.nav-badge { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--yellow); color: #0A0B0E; font-size: 12px; font-weight: 800; text-align: center; }
.mx-mailboxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; margin-bottom: 14px; }
.mx-mailbox { display: flex; gap: 10px; align-items: flex-start; background: #111318; border: 2px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: 14px; }
.mx-mailbox .dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; background: #16191F; }
.mx-mailbox.ok .dot { background: var(--green); } .mx-mailbox.bad .dot { background: var(--red); } .mx-mailbox.wait .dot { background: #16191F; }
.mx-mailbox.bad { border-color: #2A2F3A; background: var(--red-bg); }
.mx-mailbox .sub { display: block; color: var(--muted); font-size: 13px; }
.mx-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.seg-tabs { display: inline-flex; background: #111318; border: 2px solid var(--pale); border-radius: 12px; padding: 3px; gap: 2px; }
.seg-tabs button { border: 0; background: none; padding: 7px 14px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; }
.seg-tabs button[aria-pressed="true"] { background: var(--blue); color: #0A0B0E; }
.seg-tabs button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 1px; }
.mx-search { flex: 1; min-width: 200px; max-width: 420px; }
.mx-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 14px; align-items: start; }
.mx-layout > .card { padding: 12px; min-width: 0; }
.mx-groups { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 12px; }
.mx-groups a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 10px; color: var(--navy); text-decoration: none; font-size: 14.5px; }
.mx-groups a:hover { background: var(--pale-blue); }
.mx-groups a[aria-current="true"] { background: var(--blue); color: #0A0B0E; }
.mx-groups a[aria-current="true"] .mx-count { background: #111318; color: var(--blue); }
.mx-group { margin-top: 6px; }
.mx-group-name { font-weight: 800; }
.mx-sub { padding-left: 22px !important; font-size: 14px !important; }
.mx-count { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--pale-blue); color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; }
.mx-count.new { background: var(--yellow); color: #0A0B0E; }
.mx-list-title { font-size: 18px; padding: 4px 4px 8px; }
.mx-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mx-item { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--navy); border: 2px solid transparent; background: none; font: inherit; text-align: left; cursor: pointer; }
.mx-li.open { border: 2px solid var(--blue); border-radius: 14px; background: #111318; margin: 4px 0; }
.mx-li.open .mx-item { border-color: transparent; border-radius: 12px 12px 0 0; }
.mx-li.open .mx-preview { display: none; }
.mx-li.open .mx-subject { white-space: normal; font-size: 17px; font-weight: 800; }
.mx-detail .mx-meta { padding-top: 8px; }
.mx-item:hover { background: var(--pale-blue); }
.mx-item.current { border-color: var(--blue); background: var(--pale-blue); }
.mx-item-top { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.mx-item-top strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-when { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.mx-subject { font-size: 14px; display: flex; align-items: center; gap: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-item.unread .mx-subject { font-weight: 800; }
.mx-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.mx-preview { font-size: 13px; color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mx-tag { align-self: flex-start; font-size: 11.5px; font-weight: 700; color: var(--muted); background: #16191F; border-radius: 6px; padding: 1px 6px; margin-top: 2px; }
.mx-tag.done { color: var(--green); background: var(--green-bg); }
.mx-tag.urgent { color: var(--red); background: var(--red-bg); }
.mx-detail { padding: 6px 14px 14px; display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--pale); }
.mx-close { align-self: flex-end; }
.mx-close-top { margin-left: auto; white-space: nowrap; }
.mx-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mx-meta a.chip { text-decoration: none; }
.mx-actions { margin: 0; align-items: center; }
.mx-select { width: auto; max-width: 100%; min-height: 38px; padding: 6px 10px; font-size: 14px; }
.mx-thread { display: flex; flex-direction: column; gap: 10px; }
.mx-msg { border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #111318; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mx-msg header { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.mx-msg.notice { background: #111318; border-color: var(--pale); }
.mx-msg.out { background: var(--pale-blue); border-color: var(--pale); margin-left: 24px; }
.mx-msg .sub { font-size: 12.5px; color: var(--muted); margin: 0; }
.mx-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.5; max-height: 480px; overflow-y: auto; }
.mx-reply { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--line); padding-top: 12px; }
.field-inline { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
#paste-dialog { width: min(720px, 100% - 32px); }
@media (max-width: 1100px) {
  .mx-layout { grid-template-columns: 220px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .mx-layout { grid-template-columns: minmax(0, 1fr); }
  .mx-groups { position: static; flex-direction: row; flex-wrap: wrap; }
  .mx-group { display: contents; }
  .mx-groups .mx-sub { display: none; }
  .mx-groups .mx-group.open .mx-sub { display: flex; }
  .mx-groups a { border: 1px solid var(--pale); }
  .mx-msg.out { margin-left: 0; }
  .mx-detail { padding: 6px 10px 12px; }
}

/* Design questions, one per screen (design-form.js) */
.wz { display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 16px; }
.wz-progress { display: flex; align-items: center; gap: 12px; }
.wz-progress[hidden] { display: none; }
.wz-count { font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.wz-bar { flex: 1; height: 8px; border-radius: 999px; background: var(--pale-blue); overflow: hidden; }
.wz-bar i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 999px; transition: width .3s ease; }
.wz-step { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.wz-step[hidden] { display: none; }
.wz-step h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 3.2vw, 28px); line-height: 1.2; color: var(--navy); outline: none; overflow-wrap: anywhere; }
.wz-sources { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wz-sources a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--pale-blue); color: var(--blue); font-weight: 700; font-size: 14px; text-decoration: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wz-choices { display: grid; gap: 14px; }
.wz-choices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wz-choice { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 2px solid var(--line); border-radius: 16px; background: #111318; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.wz-choice input { position: absolute; opacity: 0; pointer-events: none; }
.wz-choice strong { font-size: 19px; color: var(--navy); }
.wz-choice:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.45); background: var(--pale-blue); }
.wz-choice:has(input:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 2px; }
.wz-say { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--green-bg); color: var(--green); font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.wz-say[hidden] { display: none; }
/* "Describe your business in 1 sentence." → page ideas */
#wz-import { white-space: pre-line; align-items: flex-start; }
.wz-sub { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--navy); margin-top: 4px; }
.wz-subhint { margin: -8px 0 0; }
/* Light or dark for each chosen color */
.wz-tones { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.wz-tones:empty { display: none; }
.wz-tones-q { width: 100%; margin: 2px 0 0; font-weight: 700; color: var(--navy); font-size: 15px; }
.wz-tone { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 8px; border: 2px solid var(--line); border-radius: 999px; background: #111318; }
.wz-tone-sw { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); flex-shrink: 0; }
.wz-tone-name { font-weight: 700; font-size: 14.5px; color: var(--navy); }
.wz-seg { display: inline-flex; background: #16191F; border-radius: 999px; padding: 2px; }
.wz-seg button { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--muted, #E4E6EA); padding: 5px 10px; border-radius: 999px; cursor: pointer; min-height: 32px; }
.wz-seg button i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.wz-seg button[aria-pressed="true"] { background: var(--blue); color: #0A0B0E; }
.wz-seg button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 1px; }
/* Let's talk business */
.bz-find, .bz-chosen { display: flex; flex-direction: column; gap: 12px; }
.bz-find[hidden], .bz-chosen[hidden], .bz-other[hidden] { display: none; }
.bz-find > label { display: flex; flex-direction: column; gap: 2px; font-size: 17px; color: var(--navy); }
.bz-combo { position: relative; }
.bz-combo .input { font-size: 17px; padding-left: 16px; }
.bz-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 6px; list-style: none; background: #111318; border: 2px solid var(--blue); border-radius: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.48); max-height: 340px; overflow-y: auto; }
.bz-list li { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 9px 12px; border-radius: 10px; cursor: pointer; }
.bz-list li span { font-size: 13px; color: var(--muted, #E4E6EA); white-space: nowrap; }
.bz-list li:hover, .bz-list li[aria-selected="true"] { background: var(--pale-blue); }
.bz-list li.bz-opt-other strong { color: var(--blue); }
.bz-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.bz-cat { border: 2px solid var(--line); background: #111318; color: var(--navy); font: inherit; font-size: 14px; font-weight: 700; padding: 5px 12px; border-radius: 999px; cursor: pointer; }
.bz-cat[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #0A0B0E; }
.bz-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.bz-type { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; border: 2px solid var(--line); background: #111318; border-radius: 12px; padding: 10px 12px; font: inherit; font-weight: 700; font-size: 15px; color: var(--navy); cursor: pointer; }
.bz-type span { font-weight: 400; font-size: 12.5px; color: var(--muted, #E4E6EA); }
.bz-type:hover { border-color: var(--blue); background: #111318; }
.bz-type-other { border-style: dashed; }
.bz-cat:focus-visible, .bz-type:focus-visible, .bz-remove:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.bz-picked { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px; background: var(--green-bg); }
.bz-picked .hint { margin: 0; }
.bz-picked strong { font-size: 18px; color: var(--navy); }
.bz-picked .btn { margin-left: auto; }
/* Header links as a row of menu tabs: select one to edit it below; drag to reorder; × removes */
.bz-links { display: flex; flex-direction: column; gap: 0; }
.bz-links[aria-busy="true"] { opacity: .5; }
.bz-tabs { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px; padding: 0 2px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.60); }
.bz-tab { position: relative; display: inline-flex; align-items: center; min-width: 0; max-width: 100%; background: var(--pale-blue); border: 2px solid var(--pale); border-bottom: 0; border-radius: 12px 12px 0 0; margin-bottom: 2px; user-select: none; -webkit-user-select: none; }
.bz-tab:not(.home) { cursor: grab; }
.bz-tab.on { background: #111318; border-color: var(--blue); margin-bottom: 0; padding-bottom: 2px; z-index: 1; }
.bz-tab.dragging { opacity: .55; outline: 2px dashed var(--blue); outline-offset: 2px; }
.bz-links.is-dragging, .bz-links.is-dragging .bz-tab { cursor: grabbing; }
.bz-tab-btn { all: unset; box-sizing: border-box; cursor: inherit; padding: 10px 10px 10px 12px; font: 700 15px/1.2 var(--font-body); color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.bz-tab.home .bz-tab-btn { cursor: pointer; padding-right: 14px; }
.bz-tab:not(.on) .bz-tab-btn { color: var(--ink-2); font-weight: 600; }
.bz-tab-btn:focus-visible, .bz-tab-x:focus-visible, .bz-tab-add:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 8px; }
.bz-grip { flex: 0 0 auto; width: 14px; height: 22px; margin-left: 8px; margin-right: -6px; touch-action: none; cursor: grab; opacity: .55;
  background-image: radial-gradient(circle, var(--muted) 1.4px, transparent 1.6px); background-size: 6px 6px; background-position: 1px 2px; }
.bz-tab-x { all: unset; box-sizing: border-box; flex: 0 0 auto; width: 26px; height: 26px; margin-right: 6px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.bz-tab-x:hover { background: var(--red-bg); color: var(--red); }
.bz-tab-add { all: unset; box-sizing: border-box; cursor: pointer; padding: 9px 12px; margin-bottom: 4px; border: 2px dashed var(--pale); border-radius: 12px; font: 700 14px/1.2 var(--font-body); color: var(--blue); white-space: nowrap; }
.bz-tab-add:hover { background: var(--pale-blue); border-color: var(--blue); }
.bz-panel { border: 2px solid var(--blue); border-top: 0; border-radius: 0 0 14px 14px; background: #111318; padding: 14px 14px 4px; }
.bz-panel .field { margin-bottom: 12px; }
.bz-panel-fixed { margin: 0 0 12px; color: var(--navy); }
.bz-link-name { font-weight: 700; min-height: 42px; }
.bz-link-notes { font-size: 15px; min-height: 96px; resize: vertical; }
@media (max-width: 560px) {
  .bz-tabs { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .bz-tab, .bz-tab-add { flex: 0 0 auto; }
  .bz-tab-btn { max-width: 150px; font-size: 14px; padding: 9px 8px 9px 10px; } .bz-tab-x { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: no-preference) { .bz-tab { transition: background .15s, border-color .15s; } }
@media (max-width: 560px) { .bz-types { grid-template-columns: minmax(0, 1fr); } .bz-picked .btn { margin-left: 0; } }
.wz-hues { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.wz-hue { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 2px solid var(--line); border-radius: 14px; background: #111318; cursor: pointer; text-align: left; font: inherit; color: var(--navy); }
.wz-hue:hover { border-color: var(--pale); background: #111318; }
.wz-hue[aria-pressed="true"] { border-color: var(--blue); background: var(--pale-blue); box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.45); }
.wz-hue[aria-pressed="true"]::after { content: '✓'; position: absolute; top: 4px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #0A0B0E; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.wz-hue.taken { opacity: .55; }
.wz-hue:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.wz-shades { display: flex; height: 38px; border-radius: 9px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.36); }
.wz-shades i { flex: 1; }
.wz-hue-name { font-size: 14px; font-weight: 700; }
.wz-skip { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding-top: 6px; border-top: 1px solid #2A2F3A; }
.wz-nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; border-top: 2px solid var(--line); }
.wz-nav #wz-next { margin-left: auto; min-width: 150px; }
.wz-nav [hidden] { display: none; }
.dz-name { border: 0; background: none; padding: 0; font: inherit; font-size: 15px; font-weight: 700; color: var(--navy); text-align: left; cursor: pointer; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.dz-name:hover { text-decoration: underline; }
.dz-name:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
button.dz-thumb { border: 0; padding: 0; cursor: pointer; font: inherit; }
button.dz-thumb:disabled { cursor: default; }
button.dz-thumb:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.dz-tile-main { cursor: default; }
@media (max-width: 560px) { .wz-choices.two { grid-template-columns: minmax(0, 1fr); } .wz-hues { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Pick your website address (first design question for customers without a domain) */
.wz-domains { display: grid; gap: 10px; }
.wz-domain { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 14px 16px 14px 46px; border: 2px solid var(--line); border-radius: 14px; background: #111318; cursor: pointer; }
.wz-domain input { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; margin: 0; accent-color: var(--blue); }
.wz-domain strong { font-size: 19px; color: var(--navy); overflow-wrap: anywhere; }
.wz-domain .hint { flex-basis: 100%; }
.wz-domain:has(input:checked) { border-color: var(--blue); background: var(--pale-blue); box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.45); }
.wz-domain:has(input:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 2px; }
.wz-domain:has(input:disabled) { cursor: default; }
.wz-domain:has(input:disabled:not(:checked)) { opacity: .55; }
.wz-domain.fresh { border-style: dashed; }
.wz-finding { display: flex; align-items: center; gap: 10px; padding: 18px; border-radius: 14px; background: var(--pale-blue); color: var(--blue); font-weight: 700; margin: 0; }
.wz-dom-more { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: #111318; border: 2px solid var(--pale); }
.wz-dom-more[hidden], .wz-dom-actions[hidden] { display: none; }
.wz-dom-row { display: flex; gap: 10px; }
.wz-dom-row .input { flex: 1; min-width: 0; }
.wz-dom-actions { justify-content: flex-end; margin: 0; }
.wz-dom-actions #wz-dom-confirm { min-width: 140px; }
@media (max-width: 560px) { .wz-dom-row { flex-direction: column; } .wz-dom-actions .btn { flex: 1; } }

/* One-line system status on the admin home (e.g. image compression) */
.status-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 14.5px; }
.status-line .dot { width: 10px; height: 10px; border-radius: 50%; background: #16191F; align-self: center; flex-shrink: 0; }
.status-line.ok .dot { background: var(--green); }

/* DNS report (admin customer page, dns-report-view.js) */
.dns-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.dns-report h3 { font-size: 18px; margin: 22px 0 10px; display: inline; }
.dns-report > h3, .dns-report h3:not(summary h3) { display: block; }
.dns-report h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin: 0 0 8px; }
.dns-run { display: flex; gap: 8px; flex-wrap: wrap; }
.dns-run .input { width: 240px; min-height: 40px; }
.dns-summary { margin: 0; padding: 12px 16px 12px 32px; background: var(--pale-blue); border-radius: 14px; display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 15px; }
.dns-store { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.dns-box { flex: 1 1 220px; border: 2px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: 14px; }
.dns-box.primary { border-color: var(--blue); background: #111318; }
.dns-box.bad { border-color: #2A2F3A; background: var(--red-bg); }
.dns-box strong { font-size: 17px; display: block; }
.dns-box p { margin: 4px 0 0; }
.dns-box p strong { font-size: 14px; display: inline; }
.dns-box-arrow { align-self: center; font-size: 26px; color: var(--muted); }
.dns-k { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 700; }
.dns-ns { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; color: var(--muted); }
.dns-lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dns-lane { border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.dns-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.dns-node { display: inline-flex; flex-direction: column; border-radius: 10px; padding: 5px 10px; background: #16191F; max-width: 100%; }
.dns-node .t { font-weight: 700; font-size: 14px; overflow-wrap: anywhere; }
.dns-node .s { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.dns-node.start { background: var(--navy); color: #0A0B0E; }
.dns-node.end { background: var(--green-bg); }
.dns-node.warn { background: var(--amber-bg); }
.dns-node.bad { background: var(--red-bg); }
.dns-arrow { display: inline-flex; flex-direction: column; align-items: center; font-size: 16px; color: var(--muted); line-height: 1; }
.dns-arrow span { font-size: 10.5px; font-weight: 800; letter-spacing: .4px; }
.dns-or { font-size: 12px; color: var(--muted); }
.dns-checks { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; font-size: 13.5px; }
.dns-check b { margin-right: 4px; }
.dns-check.ok b { color: var(--green); }
.dns-check.no b { color: var(--red); }
.dns-records { margin-top: 18px; }
.dns-records summary { cursor: pointer; list-style-position: outside; }
.dns-records summary h3 { margin: 0; }
.dns-table { margin-top: 10px; }
.dns-table th, .dns-table td { padding: 8px 12px; vertical-align: top; font-size: 13.5px; }
.dns-table td:last-child { color: var(--muted); }
.dns-table tr.dns-t-MX td { background: #111318; }
.dns-type { display: inline-block; min-width: 44px; text-align: center; font-weight: 800; font-size: 12px; background: #16191F; border-radius: 6px; padding: 1px 6px; }
.dns-val { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; font-size: 12.5px; }
.dns-kv { font-size: 14.5px; margin-top: 10px; }
.dns-kv dd { font-weight: 500; }
.dns-notes { margin-top: 14px; }
@media (max-width: 900px) { .dns-lanes { grid-template-columns: 1fr; } .dns-box-arrow { display: none; } }
@media (max-width: 600px) {
  .dns-report .kv { grid-template-columns: 1fr; gap: 2px; }
  .dns-report .kv dd { margin-bottom: 8px; }
  .dns-run .input { width: 100%; }
}

/* Admin → Revenue Estimator */
.rv-stats { margin-bottom: 20px; }
.rv-table th.num, .rv-table td.num { text-align: right; white-space: nowrap; }
.rv-table td { vertical-align: top; }
.rv-table td:nth-child(2), .rv-table td:nth-child(3) .sub { white-space: nowrap; }
.rv-table tfoot th, .rv-table tfoot td { background: #111318; font-weight: 700; border-top: 2px solid var(--line); }
.rv-open { background: none; border: 0; padding: 2px 4px; margin: -2px -4px; font: inherit; font-weight: 700; color: var(--blue); cursor: pointer; border-radius: 6px; text-decoration: underline dotted; text-underline-offset: 3px; }
.rv-open:hover, .rv-open[aria-expanded="true"] { background: var(--pale-blue); }
.rv-detail-row td { background: #111318; }
.rv-details { display: flex; gap: 14px; flex-wrap: wrap; }
.rv-detail { flex: 1 1 300px; background: #111318; border: 2px solid var(--pale); border-radius: 14px; padding: 12px 16px; }
.rv-detail h4 { margin: 0 0 8px; font-size: 15px; color: var(--navy); }
.rv-line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.rv-line:last-child { border-bottom: 0; }
.rv-line .hint { display: block; font-size: 12.5px; }
.rv-pos { color: var(--green); }
.rv-neg { color: var(--red); }
.rv-filters { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; margin-bottom: 6px; }
.rv-filters .field { margin: 0; flex: 0 1 auto; }
.rv-filters .field label { font-size: 13px; }
.rv-filters .input { padding: 8px 10px; font-size: 14px; }
.rv-f-search { flex: 1 1 220px !important; }
.rv-f-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.rv-sort { background: none; border: 0; padding: 0; font: inherit; font-weight: inherit; color: inherit; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.rv-sort:hover { color: var(--blue); }
.rv-sort .rv-arrow { font-size: 11px; opacity: .45; }
.rv-sort[aria-sort] .rv-arrow { opacity: 1; color: var(--blue); }
.rv-table th.num .rv-sort { justify-content: flex-end; }
.rv-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: var(--pale); color: var(--navy); }
.rv-tag.t-active { background: #16191F; color: var(--green); }
.rv-tag.t-canceling, .rv-tag.t-past_due { background: #16191F; color: #E4E6EA; }
.rv-tag.t-cancelled { background: #16191F; color: var(--red); }
@media (max-width: 700px) { .rv-f-actions { margin-left: 0; width: 100%; } .rv-filters .field { flex: 1 1 140px; } }
/* Build page → Website files (replace from a .zip) */
.fz-drop { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 22px 16px; border: 2px dashed var(--line); border-radius: 16px; background: #111318; cursor: pointer; }
.fz-drop:hover, .fz-drop.over, .fz-drop:focus-within { border-color: var(--blue); background: #111318; }
.fz-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.fz-drop strong { color: var(--navy); font-size: 16px; word-break: break-all; }
.fz-modes { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.fz-modes .check { align-items: flex-start; }
.fz-modes .check > span { display: flex; flex-direction: column; gap: 2px; }
.fz-progress { display: flex; flex-direction: column; gap: 6px; }
.fz-progress[hidden] { display: none; }
.fz-report { margin-top: 10px; }
.fz-list { margin-top: 8px; border: 2px solid var(--line); border-radius: 12px; padding: 8px 12px; background: #111318; }
.fz-list summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.fz-list ul { margin: 8px 0 2px; padding-left: 18px; font-size: 13.5px; display: flex; flex-direction: column; gap: 4px; max-height: 260px; overflow-y: auto; }
.fz-list code { font-size: 12.5px; word-break: break-all; }
.fz-progress .wz-bar { display: block; flex: none; }
#files-result .btn-row { margin-top: 10px; }

/* Monthly Webbie edits: meter (chat bar, Billing) and add-on offer */
.em { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted, #E4E6EA); font-weight: 600; min-width: 0; }
.em-bar { width: 70px; height: 7px; border-radius: 999px; background: var(--pale-blue); overflow: hidden; flex-shrink: 0; }
.em-bar i { display: block; height: 100%; background: var(--blue); border-radius: 999px; }
.em.warn .em-bar i { background: #16191F; }
.em.warn .em-text { color: #E4E6EA; }
.em.full .em-bar i { background: var(--red); }
.em.full .em-text { color: var(--red); }
.edits-big { margin: 4px 0 10px; }
.edits-big .em { font-size: 16px; color: var(--navy); }
.edits-big .em-bar { width: 220px; height: 12px; }
.ws-cap { padding: 0 2px 8px; }
.ws-cap[hidden] { display: none; }
.eo { border: 2px solid #2A2F3A; background: #111318; border-radius: 14px; padding: 12px 14px; font-size: 14.5px; margin-top: 10px; }
.ws-cap .eo { margin-top: 0; }
.eo.blocked { border-color: #2A2F3A; background: #16191F; }
.eo strong { color: var(--navy); }
.eo-buy { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.eo-buy .btn { flex-direction: column; align-items: flex-start; height: auto; min-height: 46px; padding: 6px 14px; line-height: 1.25; }
.eo-buy .btn span { font-size: 12px; font-weight: 500; opacity: .85; }
@media (max-width: 560px) { .em-bar { width: 44px; } .eo-buy .btn { flex: 1 1 100%; } }
.eo.calm { border-color: var(--line); background: #111318; }
/* Admin → Business health */
.bh-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 2px solid var(--line); margin-bottom: 20px; }
.bh-tabs button { border: 0; background: none; font: inherit; font-weight: 700; font-size: 15px; color: var(--muted, #E4E6EA); padding: 10px 14px; border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; border-radius: 8px 8px 0 0; }
.bh-tabs button:hover { color: var(--blue); background: var(--pale-blue); }
.bh-tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--blue); }
.bh-tabs button:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
#bh { display: flex; flex-direction: column; gap: 20px; }
.bh-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.bh-kpi { padding: 18px 20px; gap: 6px; }
.bh-kpi-label { font-weight: 700; color: var(--muted, #E4E6EA); font-size: 14px; }
.bh-kpi-value { font-family: var(--font-display); font-size: 30px; font-weight: 900; color: var(--navy); line-height: 1.05; font-variant-numeric: tabular-nums; }
.bh-kpi-value.down { color: var(--red); }
.bh-kpi .hint { font-size: 13px; line-height: 1.4; }
.bh-chart { position: relative; }
.bh-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.bh-grid { stroke: #E9ECF3; stroke-width: 1; }
.bh-base { stroke: #B9C0CF; stroke-width: 1; }
.bh-axis { fill: #6B7487; font-size: 12px; font-family: inherit; }
.bh-bar path { fill: var(--blue); }
.bh-bar.est path { fill: #9DB6E8; }
.bh-hit { fill: transparent; }
.bh-bar:hover .bh-hit, .bh-bar:focus .bh-hit { fill: #E4E6EA; }
.bh-bar:focus { outline: none; }
.bh-bar:focus-visible path { stroke: var(--yellow); stroke-width: 3; }
.bh-tip { position: absolute; background: var(--navy); color: #0A0B0E; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 8px; pointer-events: none; white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.54); }
.bh-tip[hidden] { display: none; }
.bh-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--blue); vertical-align: -1px; margin-right: 4px; }
.bh-swatch.est { background: #16191F; }
.bh-table td, .bh-table th { white-space: nowrap; }
.bh-table th.num, .bh-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.bh-up { color: var(--green); font-weight: 700; }
.bh-down { color: var(--red); font-weight: 700; }
.bh-cohorts td.bh-cell { text-align: center; font-weight: 700; font-size: 13px; min-width: 54px; color: var(--navy); }
.bh-cell.s0 { background: #111318; color: #8A93A6; }
.bh-cell.s1 { background: #16191F; }
.bh-cell.s2 { background: #16191F; }
.bh-cell.s3 { background: #16191F; }
.bh-cell.s4 { background: #16191F; color: var(--navy); }
.bh-cell.s5 { background: #0D0F13; color: #fff; }
.bh-todo { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.bh-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.bh-quote { display: block; color: var(--muted, #E4E6EA); font-size: 13px; white-space: normal; max-width: 420px; }
.bh-details summary { cursor: pointer; }
.row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 700px) { .row-3 { grid-template-columns: minmax(0, 1fr); } .bh-kpi-value { font-size: 26px; } .bh-tabs { flex-wrap: nowrap; overflow-x: auto; } .bh-tabs button { white-space: nowrap; } }
.nav-label { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8A93A6; padding: 10px 14px 2px; }
.nav-label:first-of-type { padding-top: 2px; }
.cx-reasons { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.cx-reasons .check { font-weight: 600; }
.cx-offer { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.cx-offer p { font-size: 16px; line-height: 1.55; margin: 0; }
.bh-cohorts td.bh-cell.s5, .bh-cohorts td.bh-cell.s4 { color: #fff; }
.bh-cohorts td.bh-cell.s4 { background: #2A2F3A; }
.bh-split { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
@media (max-width: 1000px) { .bh-split { grid-template-columns: minmax(0, 1fr); } }
.nav-note { font-size: 12.5px; color: #E4E6EA; background: var(--amber-bg); border-radius: 8px; padding: 6px 10px; margin: 8px 6px 0; }
.vflags { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: #E4E6EA; white-space: normal; max-width: 260px; }
.dom-row, .v-row { cursor: pointer; }
.dom-row:hover td, .v-row:hover td, .dom-row:focus td, .v-row:focus td { background: #111318; }
.span-2 { grid-column: 1 / -1; }
td.nowrap { white-space: nowrap; }
.bh-table .sub { display: block; font-size: 12.5px; color: var(--muted, #E4E6EA); white-space: normal; }

/* Design questions → Contact information */
.ct-q { display: flex; flex-direction: column; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line, #2A2F3A); }
.ct-q:first-child, #ct-q-form { border-top: 0; padding-top: 4px; }
.ct-q .hint { margin: 0; }
.ct-q .wz-seg { align-self: flex-start; }
.ct-yn button { min-width: 64px; justify-content: center; font-size: 15px; padding: 7px 16px; min-height: 40px; }
.ct-reveal { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.ct-reveal[hidden], #ct-more[hidden], #ct-q-form[hidden] { display: none; }
.ct-site { margin-bottom: 8px; }
/* while their current website is read for an email and phone: the questions are grayed out under a "few seconds" box */
.ct-wait-wrap { position: relative; }
.ct-wait-wrap.ct-busy > :not(.ct-wait) { opacity: .35; filter: grayscale(1); pointer-events: none; user-select: none; }
.ct-wait { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(480px, 92%);
  display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 20px; border-radius: 16px;
  background: #111318; border: 2px solid var(--blue, #3A3F4A); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.54);
  font-weight: 700; color: var(--navy, #E4E6EA); text-align: center; }
.ct-wait[hidden] { display: none; }
.ct-kind { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted, #E4E6EA); min-width: 46px; }

/* Business health → Customers */
.og-share { display: inline-flex; align-items: center; gap: 8px; justify-content: flex-end; min-width: 96px; }
.og-bar { display: inline-block; width: 56px; height: 8px; border-radius: 4px; background: var(--pale-blue, #16191F); overflow: hidden; }
.og-bar i { display: block; height: 100%; background: var(--blue); border-radius: 4px; }
.og-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .og-three { grid-template-columns: 1fr; } }
.og-filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.og-filters .field { flex: 1 1 180px; margin: 0; }
.og-sort { border: 0; background: none; font: inherit; font-weight: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; padding: 0; cursor: pointer; }
.og-sort:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.og-compact th, .og-compact td { padding-left: 10px; padding-right: 10px; }
.og-compact .og-share { min-width: 0; gap: 6px; }
.og-compact .og-bar { width: 28px; }

/* Design questions: "Skip for now – finish later" */
.wz-later { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 14px; text-align: center; }
.wz-later .hint { font-size: 13px; }
.dq-progress { height: 8px; border-radius: 4px; background: var(--pale-blue, #16191F); overflow: hidden; margin: 2px 0 10px; }
.dq-progress i { display: block; height: 100%; background: var(--blue); border-radius: 4px; }

/* Webbie poses (public/img/webbie-thumbs-up, -wave, -wink, -flex .webp, transparent): bigger and centered at the top of a card */
.mascot.pose { width: 150px; height: 150px; border-radius: 0; object-fit: contain; align-self: center; }
.pose-card > h1, .pose-card > p.muted { text-align: center; }
/* "Let's finalize your domain choice!" (domain-pick.js) */
.dp { display: flex; flex-direction: column; gap: 16px; }
.dp .dp-title { text-align: center; font-size: clamp(28px, 5vw, 36px); font-weight: 800; letter-spacing: -.5px; }
.dp .dp-title:focus { outline: none; }
.dp-lead { margin: 0; text-align: center; font-size: clamp(18px, 3vw, 21px); font-weight: 700; color: var(--navy); line-height: 1.5; }
.dp-hl { display: inline-block; background: var(--yellow); color: #0A0B0E; padding: 1px 10px; border-radius: 10px; font-weight: 900; letter-spacing: .5px; transform: rotate(-1.5deg); }
.dp-lead em { color: var(--blue); font-style: italic; }
.dp-sub { margin: 0 0 6px; text-align: center; font-size: 17px; color: var(--ink-2); }
.dp-sub::after { content: ""; display: block; width: 64px; height: 4px; margin: 14px auto 0; border-radius: 4px; background: var(--blue); }
.dp-next[hidden], .dp-next:has(#dp-continue[hidden]) { display: none; }
.dp-later { margin: 0; text-align: center; }
.dp-later[hidden] { display: none; }
#domain-step { width: min(620px, 100%); }
/* "What is this?" popup: previous / next file, and Delete file */
.dz-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dz-arrow { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 2px solid var(--blue); background: #111318; color: var(--blue); font-size: 28px; line-height: 1; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0 0 4px; }
.dz-arrow:hover:not(:disabled) { background: var(--pale-blue); }
.dz-arrow:disabled { border-color: var(--pale); color: var(--pale); cursor: default; }
.dz-arrow:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.dz-count { font-weight: 700; color: var(--muted); font-size: 15px; }
.dz-ask-actions { display: flex; align-items: center; flex-wrap: wrap; }
.dz-ask-actions .dz-spacer { flex: 1; }
.dz-ask-actions .dz-del { color: #E4E6EA; }
.btn.btn-wait { background: #16191F; border-color: #2A2F3A; color: #E4E6EA; box-shadow: none; cursor: default; pointer-events: none; }
/* Let's talk business: the type list is the search results while typing */
.bz-cats[hidden] { display: none; }
.bz-found { margin: 6px 0 10px; min-height: 1em; }
.bz-found:empty { display: none; }
.bz-type.bz-top { border-color: var(--blue); background: #111318; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.36); }
/* "Here we go!" (here-we-go.js): after the contact question for customers fixing their current website */
.hwg { display: flex; flex-direction: column; gap: 14px; text-align: center; }
.hwg p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.hwg-title { font-size: clamp(38px, 7vw, 54px); font-weight: 900; letter-spacing: -1px; color: var(--navy); margin: 0; }
.hwg-title:focus { outline: none; }
.hwg .mascot.pose { width: 170px; height: 170px; }
.hwg .hwg-strong { font-family: var(--font-display, inherit); font-size: clamp(20px, 3.4vw, 24px); font-weight: 800; color: var(--navy); line-height: 1.3; margin-top: 6px; }
.hwg-asks { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-direction: column; gap: 8px; text-align: left; max-width: 440px; width: 100%; }
.hwg-asks li { background: var(--pale-blue); border-radius: 14px 14px 14px 4px; padding: 10px 14px; font-size: 16px; color: var(--navy); font-weight: 600; }
.hwg .hwg-big { color: var(--blue); }
.hwg .hwg-tag { font-weight: 900; font-size: 20px; color: var(--navy); letter-spacing: .3px; }
.hwg .btn { margin-top: 6px; }

/* Namecheap balance warning (top of every admin page while the balance is low) */
.balance-alert{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin:0 0 20px;padding:22px 24px;background:#0D0F13;color:#fff;border-radius:16px;border:3px solid #3A3F4A;box-shadow:0 6px 18px rgba(0, 0, 0, 0.60)}
.balance-alert strong{display:block;font:800 26px/1.2 var(--font-display,inherit);margin-bottom:6px}
.balance-alert span{display:block;font-size:17px;line-height:1.45;max-width:640px}
.balance-alert .balance-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.balance-alert .btn-outline{background:transparent;color:#fff;border-color:#2A2F3A}
.balance-alert.warn{background:#16191F;color:#E4E6EA;border-color:#2A2F3A;box-shadow:none}
.balance-alert.warn strong{font-size:20px}
.balance-alert.warn .btn-outline{color:#E4E6EA;border-color:#3A3F4A}
.balance-alert.compact{margin:0;border-radius:0;border-width:0 0 3px;padding:10px 16px;box-shadow:none;gap:10px}
.balance-alert.compact strong{display:inline;font-size:16px;margin:0 10px 0 0}
.balance-alert.compact span{display:none}
.balance-alert.compact .btn{min-height:34px;padding:6px 14px;font-size:14px}
.balance-chip{display:block;margin:0 14px 12px;padding:9px 12px;background:#0D0F13;color:#fff;border-radius:10px;font:700 13px/1.3 var(--font-body,inherit);text-decoration:none;border:2px solid #3A3F4A}
.balance-chip:hover{background:#0D0F13}
.balance-chip.warn{background:#16191F;color:#E4E6EA;border-color:#2A2F3A}
/* Business health → Visitors: the four lists, two per row */
.bh-grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px;margin-top:16px}
.bh-grid2 > .card{margin:0;min-width:0}
/* "Show us your pages": a paste box per page they listed on Join, with the screenshots under it */
.ps-how { background: var(--pale-blue); border-radius: 12px; padding: 10px 14px; margin: 0 0 14px; font-size: 15px; color: var(--ink-2); }
.ps-how p { margin: 0; }
.ps-how kbd { display: inline-block; font: 700 13px/1 var(--font-body); padding: 3px 7px; border: 1px solid var(--pale); border-bottom-width: 2px; border-radius: 6px; background: #111318; color: var(--navy); }
.ps-cards { display: flex; flex-direction: column; gap: 14px; }
.ps-card { border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #111318; display: flex; flex-direction: column; gap: 8px; }
.ps-card.on { border-color: var(--blue); }
.ps-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.ps-head strong { font: 700 17px var(--font-display); color: var(--navy); }
.ps-head a { font-weight: 700; color: var(--blue); }
.ps-what { margin: 0; }
.ps-paste { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; padding: 16px 12px; border: 2px dashed var(--pale); border-radius: 12px; background: var(--cream); cursor: pointer; color: var(--navy); }
.ps-paste .hint { margin: 0; }
.ps-paste:hover, .ps-paste.over, .ps-card.on .ps-paste:focus { border-color: var(--blue); background: var(--pale-blue); }
.ps-paste:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.ps-shots { display: flex; flex-wrap: wrap; gap: 10px; }
.ps-shots:empty { display: none; }
.ps-shot { position: relative; width: 132px; display: flex; flex-direction: column; gap: 4px; }
.ps-shot img, .ps-shot-ph { width: 132px; height: 92px; object-fit: cover; object-position: top; border-radius: 10px; border: 2px solid var(--line); background: var(--pale-blue); display: block; }
.ps-shot[data-state="uploading"] img { opacity: .55; }
.ps-shot-note { font-size: 13px; color: var(--muted); }
.ps-shot-note.ok { color: var(--green); font-weight: 700; }
.ps-shot-note.bad { color: var(--red); }
.ps-shot-x { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: #111318; color: var(--red); font-size: 18px; line-height: 1; cursor: pointer; }
.ps-shot-x:hover { background: var(--red-bg); }
/* Header tabs drafted from their page screenshots (✎ until they edit them) */
.bz-drafting { margin: 0 0 12px; }
.bz-drafted { color: var(--blue); font-weight: 800; }
.bz-draft-hint { margin: 0 0 8px; padding: 8px 12px; border-radius: 10px; background: var(--amber-bg); color: #E4E6EA; font-size: 14px; }
.bh-table .link-button { background: none; border: 0; padding: 0; color: var(--blue, #E4E6EA); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; text-align: left; }
.req { color: var(--red); }
.dr-dialog .dz-drop { padding: 16px; }
.dr-dialog .dialog-body > .form-error:empty, .dr-dialog .field .form-error:empty { display: none; }

/* Admin → Demos: "+ Add New Demo" in the table header, the screenshot box, and each demo's messages */
.dm-table th.dm-add-th { text-align: right; white-space: nowrap; }
.dm-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .dm-kinds { grid-template-columns: 1fr; } }
.dm-shots { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.dm-shots:empty { display: none; }
.dm-shots li { position: relative; width: 96px; height: 128px; border-radius: 10px; overflow: hidden; border: 2px solid var(--pale); background: #111318; }
.dm-shots img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dm-shots button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.60); color: #fff; font-weight: 700; cursor: pointer; }
.dm-msgs-row > td { background: #111318; }
.dm-msgs { display: grid; gap: 12px; padding: 6px 2px; }
.dm-msg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-height: 560px; overflow: auto; }
.dm-msg { background: #111318; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.dm-msg.theirs { border-left: 4px solid var(--blue); }
.dm-msg.ours { border-left: 4px solid #1B7F4B; }
.dm-msg.sent { background: transparent; border-style: dashed; }
.dm-msg-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.dm-msg-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; font-size: 13px; }
.dm-msg-body { white-space: pre-wrap; margin-top: 6px; font-size: 15px; }
.dm-reply { display: grid; gap: 10px; background: #111318; border: 2px solid var(--blue); border-radius: 12px; padding: 12px 14px; margin-top: 10px; }
.dm-msgs-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.dm-msg-subject { font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 2px; }
.dm-msg-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.dm-msg-foot .dm-msg-tags { margin-top: 0; }
.dm-compose-slot:empty { display: none; }
.dm-btn-pick { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.dm-btn-pick legend { font-weight: 700; font-size: 14px; margin-bottom: 6px; padding: 0; }
.dm-btn-pick .check { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.dm-mini { display: inline-block; font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 8px; border: 2px solid #3A3F4A; }
.dm-mini.blue { background: #0D0F13; color: #fff; }
.dm-mini.yellow { background: #16191F; color: #E4E6EA; border-color: #3A3F4A; }

/* Admin → customer → DNS: automatic changes through the registrar */
.dns-auto { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
.dns-auto h3 { font-size: 17px; }
/* Admin → customer → DNS history */
.dh-records { padding: 6px 0 12px; }
.dh-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dh-item .main { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.dh-records[hidden] { display: none; }

/* ---------- Bookings (public/js/pages/bookings.js) ---------- */
.bk-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.bk-bar .spacer { flex: 1; }
.bk-range { font-family: var(--font-display); font-weight: 700; font-size: 18px; min-width: 170px; text-align: center; }
.bk-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.bk-chip { border: 2px solid var(--pale); background: #111318; border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: 13.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.bk-chip[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #0A0B0E; }
.bk-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.bk-day { background: #111318; border: 2px solid var(--line); border-radius: 18px; margin-bottom: 12px; overflow: hidden; }
.bk-day > h3 { font-size: 15px; padding: 10px 16px; background: var(--pale-blue); display: flex; justify-content: space-between; gap: 8px; }
.bk-day.today > h3 { background: var(--amber-bg); }
.bk-hours { font-family: var(--font-body); font-weight: 500; font-size: 12.5px; color: var(--muted); }
.bk-empty { color: var(--muted); padding: 12px 16px; font-size: 14.5px; }
.bk-appt { display: flex; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); align-items: flex-start; border-left: 5px solid var(--c, var(--blue)); }
.bk-appt:first-of-type { border-top: 0; }
.bk-time { min-width: 78px; font-weight: 700; color: var(--blue); }
.bk-time small { display: block; color: var(--muted); font-weight: 500; }
.bk-who { flex: 1; min-width: 0; }
.bk-who strong { display: block; }
.bk-who .bk-meta strong { display: inline; }
.bk-meta { color: var(--muted); font-size: 13.5px; }
.bk-meta a { font-weight: 700; text-decoration: none; }
.bk-tag { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 1px 8px; background: var(--pale-blue); color: var(--blue); margin-left: 4px; vertical-align: 1px; }
.bk-tag.job { background: var(--amber-bg); color: #E4E6EA; }
.bk-tag.done { background: var(--green-bg); color: var(--green); }
.bk-tag.cancelled { background: var(--red-bg); color: var(--red); }
.bk-appt.cancelled .bk-who strong, .bk-appt.cancelled .bk-time { text-decoration: line-through; color: var(--muted); }
.bk-actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.bk-off { padding: 8px 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); background: repeating-linear-gradient(135deg, #111318, #111318 8px, #16191F 8px, #16191F 16px); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
/* day view: a column per staff member */
.bk-grid { display: grid; grid-template-columns: 64px repeat(var(--cols), minmax(150px, 1fr)); background: #111318; border: 2px solid var(--line); border-radius: 18px; overflow: auto; max-height: 75vh; }
.bk-grid .bk-head { position: sticky; top: 0; z-index: 3; background: var(--pale-blue); padding: 8px; font-weight: 700; font-size: 14px; border-bottom: 2px solid var(--line); display: flex; align-items: center; gap: 6px; }
.bk-col { position: relative; border-left: 1px solid var(--line); }
.bk-axis { position: relative; }
.bk-axis span { position: absolute; right: 6px; font-size: 11.5px; color: var(--muted); transform: translateY(-50%); }
.bk-axis span:first-child { transform: none; }
.bk-line { position: absolute; left: 0; right: 0; border-top: 1px solid #2A2F3A; }
.bk-closed { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, #111318, #111318 6px, #16191F 6px, #16191F 12px); }
.bk-block { position: absolute; left: 4px; right: 4px; border-radius: 10px; background: color-mix(in srgb, var(--c) 16%, #111318); border-left: 4px solid var(--c); padding: 3px 6px; font-size: 12.5px; overflow: hidden; cursor: pointer; line-height: 1.25; }
.bk-block.proc { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--c) 7%, #111318), color-mix(in srgb, var(--c) 7%, #111318) 6px, #111318 6px, #111318 12px); border-left-style: dashed; cursor: default; color: var(--muted); }
.bk-block.cancelled { opacity: .45; text-decoration: line-through; }
.bk-block.done { background: var(--green-bg); border-left-color: var(--green); }
/* setup */
.bk-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 2px; }
.bk-step { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--pale-blue); color: var(--muted); }
.bk-step.ok { background: var(--green-bg); color: var(--green); }
.bk-week { display: flex; flex-direction: column; gap: 8px; }
.bk-wd { display: grid; grid-template-columns: 165px 1fr; gap: 10px; align-items: start; }
.bk-wd label.check { margin-top: 8px; white-space: nowrap; }
.bk-wd label.check input, .bk-daypick input, .check input { flex-shrink: 0; }
.bk-ranges { display: flex; flex-direction: column; gap: 6px; }
.bk-range-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.bk-range-row .input { width: 150px; padding: 8px 10px; }
.bk-small { width: 90px !important; }
.bk-daypick { display: flex; flex-wrap: nowrap; gap: 4px; min-width: 0; }
.bk-daypick label { position: relative; border: 2px solid var(--pale); border-radius: 8px; padding: 3px 0; width: 44px; text-align: center; font-size: 13px; font-weight: 700; cursor: pointer; flex: 0 1 44px; }
/* a break: its name, then its hours, then its days (Mon–Sun on one line) with remove at the bottom right */
.bk-brk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 10px; padding: 10px; border: 2px solid var(--pale); border-radius: 12px; min-width: 0; box-sizing: border-box; }
.bk-brk .input { box-sizing: border-box; }
.bk-brk-name { max-width: 260px; }
.bk-brk-time { display: flex; align-items: center; gap: 6px; }
.bk-brk-time .input { width: 150px; padding: 8px 10px; }
.bk-brk-foot { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.bk-brk-foot .btn { flex-shrink: 0; }
@media (max-width: 560px) {
  .bk-brk-name { max-width: none; width: 100%; }
  .bk-brk-time .input { width: auto; flex: 1 1 0; min-width: 0; padding: 8px 6px; }
  .bk-brk-foot { flex-wrap: wrap; }
  .bk-brk-foot .bk-daypick { flex: 1 1 100%; justify-content: space-between; }
  .bk-brk-foot .bk-daypick label { flex: 1 1 0; width: auto; min-width: 0; padding: 3px 0; font-size: 12.5px; }
  .bk-brk-foot .btn { margin-left: auto; }
}
/* appointment types: the name and details wrap; Edit stays on the right */
.bk-svc-item { flex-wrap: nowrap; }
.bk-svc-item .main { flex: 1 1 auto; }
.bk-svc-item .btn { flex-shrink: 0; }
/* a list of options, one per row (Where it happens, Who does it): readable on a phone */
.bk-picklist { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.bk-picklist .check { align-items: flex-start; border: 2px solid var(--pale); border-radius: 10px; padding: 10px 12px; line-height: 1.35; }
.bk-picklist .check input { margin-top: 1px; }
.bk-picklist .check:has(input:checked) { border-color: var(--navy); background: rgba(0, 0, 0, 0.12); }
.bk-daypick input { position: absolute; opacity: 0; pointer-events: none; }
.bk-daypick label:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #0A0B0E; }
.bk-code { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; background: var(--pale-blue); border-radius: 10px; padding: 8px 10px; word-break: break-all; }
.bk-text { border-top: 1px solid var(--line); padding: 8px 0; font-size: 14px; }
.bk-text:first-child { border-top: 0; }
.bk-lead { margin: 6px 0; padding-left: 18px; }
.bk-addcal-row { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 6px; }
.bk-addcal-btns { display: flex; gap: 8px; flex-wrap: wrap; flex: 1 1 300px; }
.bk-qr { margin: 0; width: 132px; text-align: center; }
.bk-qr svg { width: 120px; height: 120px; display: block; margin: 0 auto; background: #111318; border-radius: 8px; }
.bk-qr figcaption { font-size: 12px; color: var(--muted, #E4E6EA); margin-top: 4px; }
.bk-cust { width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); cursor: pointer; font: inherit; color: inherit; }
.bk-cust:hover { background: var(--pale, #16191F); }
.bk-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.bk-stat { padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.bk-stat strong { font-size: 30px; line-height: 1.1; color: var(--navy, #E4E6EA); }
.bk-stat span { font-weight: 700; }
.bk-stat small { color: var(--muted, #E4E6EA); }
.bk-barrow { display: grid; grid-template-columns: minmax(90px, 40%) 1fr auto; gap: 10px; align-items: center; padding: 5px 0; font-size: 14px; }
.bk-bartrack { background: var(--pale, #16191F); border-radius: 999px; height: 10px; overflow: hidden; }
.bk-bartrack span { display: block; height: 100%; background: var(--blue, #0D0F13); border-radius: 999px; }
.bk-text details { margin-top: 4px; color: var(--muted, #E4E6EA); }
.bk-wd .d-short { display: none; }
/* a phone: each day on one line (short day name, then its hours) */
@media (max-width: 640px) { .bk-wd { grid-template-columns: 72px minmax(0, 1fr); gap: 8px; } .bk-wd .d-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .bk-wd .d-short { display: inline; } .bk-range { min-width: 0; } }
.bk-number { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.bk-number h2 { font-size: 15px; font-family: var(--font-body); font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.bk-num { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 32px; color: var(--navy); text-decoration: none; margin: 4px 0 2px; }
.bk-num .icon { color: var(--blue); }
.bk-number > div:first-child { flex: 1 1 360px; min-width: 0; }
.bk-number .btn-row { flex: 0 0 auto; }
.bk-ready { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.bk-ready li { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.bk-ready li.ok .icon { color: var(--green); width: 18px; height: 18px; }
.bk-ready li.wait { color: var(--ink-2); }
.bk-wait { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #2A2F3A; display: inline-block; flex-shrink: 0; margin: 0 2px; }

/* Popups: a sticky title bar with an × to close (public/js/app.js wraps each popup's title) */
dialog:modal { max-height: calc(100dvh - 32px); overflow: auto; }
.dialog-head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: -28px -28px 0; padding: 20px 20px 14px 28px; background: #111318; border-bottom: 1px solid var(--line, #2A2F3A); }
.dialog-head h2 { margin: 0; }
.dialog-x { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.dialog-x:hover, .dialog-x:focus-visible { background: var(--pale, #16191F); }
/* Bookings → Setup: the business's logo */
.bk-logo-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.bk-logo-prev{max-height:56px;max-width:220px;object-fit:contain;border:1px solid var(--line,#2A2F3A);border-radius:10px;padding:6px;background:#111318}
.bk-logo-empty{color:var(--muted,#E4E6EA);font-size:14px;border:1px dashed var(--line,#2A2F3A);border-radius:10px;padding:14px 18px}
.bk-cancelled{margin-top:16px}
.bk-cx .btn-row{gap:8px}
.bk-logo-field{margin-bottom:16px}
/* place and address suggestions (public/js/place-suggest.js) */
.ps-wrap{position:relative}
.ps-list{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:50;list-style:none;margin:0;padding:6px;background:#111318;border:2px solid #2A2F3A;border-radius:14px;box-shadow:0 14px 34px rgba(0, 0, 0, 0.48);max-height:300px;overflow-y:auto;text-align:left}
.ps-item{padding:9px 10px;border-radius:10px;cursor:pointer;line-height:1.3}
.ps-item strong{display:block;font-weight:700;color:#E4E6EA}
.ps-item span{display:block;font-size:13.5px;color:#E4E6EA}
.ps-item:hover,.ps-item.on{background:#16191F}
.ps-foot{font-size:12px;color:#E4E6EA;padding:6px 10px 2px}
.addr-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}
@media (max-width:640px){.addr-row{grid-template-columns:1fr 1fr}.addr-row .field:first-child{grid-column:1/-1}}
/* Bookings → Setup → Booking Page Questions */
.bk-q-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:8px;padding:10px;border:2px solid var(--pale,#2A2F3A);border-radius:12px;background:#111318}
.bk-q-std{background:var(--pale,#16191F)}
.bk-q-name{flex:1 1 200px;display:flex;flex-direction:column}
.bk-q-lock{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:700;color:var(--muted,#E4E6EA)}
.bk-move{display:inline-flex;flex-direction:column;gap:2px}
.bk-move .btn{padding:0 8px;min-height:20px;line-height:1;font-size:11px}
.bk-move .btn:disabled{opacity:.3}
/* a business's own login page (/login/<slug>) */
.auth-card .brand-mark{max-width:240px;max-height:90px;object-fit:contain;align-self:flex-start}
.auth-card .brand-name{font-family:'Rubik',system-ui,sans-serif;font-weight:800;font-size:22px;color:var(--navy,#E4E6EA)}
.auth-card .powered{font-size:13px;color:var(--muted,#E4E6EA);margin-top:-6px}
.auth-card .powered a{color:inherit;text-decoration:none}
/* the business's logo in the app menu (instead of ours) */
.brand:has(.brand-biz){flex-direction:column;align-items:flex-start;gap:4px}
.brand img.brand-biz{display:block;width:auto;height:auto;max-width:190px;max-height:56px;border-radius:0;background:none;object-fit:contain}
.topbar .brand img.brand-biz{max-height:40px;max-width:170px}
.brand .brand-by{display:block;font-size:11px;color:var(--muted,#E4E6EA);font-weight:500;line-height:1}
/* a page's own sections in the left menu (the Bookings page) */
.nav .nav-sub{display:flex;flex-direction:column;gap:2px;margin:2px 0 6px 14px;padding-left:12px;border-left:2px solid var(--line,#2A2F3A)}
.nav .nav-sub a{font-size:14.5px;padding:8px 12px}
.nav .nav-sub a .icon{width:16px;height:16px}
.nav a.nav-parent .nav-caret{margin-left:auto;display:inline-flex;transition:transform .15s}
.nav a.nav-parent[aria-expanded="true"] .nav-caret{transform:rotate(180deg)}
.nav .nav-sub[hidden]{display:none}
/* the Bookings sections are in the menu (on phones too, behind ☰), so not as tabs on the page */
.bk-bar .seg-tabs.has-subnav{display:none}

/* Admin → customer → Details everywhere (src/contact-sync.js) */
.dx-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.dx-row { border: 1px solid var(--line, #2A2F3A); border-radius: 12px; padding: 10px 12px; }
.dx-row.dx-diff { border-color: #2A2F3A; background: var(--amber-bg); }
.dx-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 13px; color: #E4E6EA; }
.dx-val { font-weight: 700; margin-top: 4px; overflow-wrap: anywhere; }
.dx-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* phones: layout fixes (Bookings) */
.bk-navgroup { display: inline-flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.bk-item-actions { display: inline-flex; gap: 4px; flex-shrink: 0; align-items: center; }
.bk-numline { margin: 0 0 12px; font-weight: 600; color: var(--navy, #E4E6EA); line-height: 1.5; }
.bk-numline .icon { color: var(--blue, #E4E6EA); vertical-align: -2px; }
.bk-numline a { white-space: nowrap; }
/* a button that reads as a link, sitting in a line of text */
.bk-textbtn { background: none; border: 0; padding: 0 0 0 6px; font: inherit; font-size: 14px; font-weight: 700; color: var(--blue, #E4E6EA); cursor: pointer; white-space: nowrap; }
.bk-textbtn:hover { text-decoration: underline; }
.bk-numline a { color: var(--blue, #E4E6EA); }
.bk-q-text { flex: 1 1 240px; min-height: 0; resize: none; font: inherit; line-height: 1.35; }
@media (max-width: 640px) {
  .bk-range-row { flex-wrap: nowrap; }
  .bk-range-row .input { flex: 1 1 0; width: auto; min-width: 0; padding: 8px 6px; }
  .bk-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bk-stat { padding: 12px; }
  .bk-stat strong { font-size: 26px; }
  .bk-navgroup .bk-range { min-width: 0; font-size: 16px; }
  .bk-hide-sm { display: none; }
}

/* photos a customer sent before the visit (src/booking/photos.js) */
.bk-photos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.bk-photos img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block; border: 1px solid var(--line, #2A2F3A); }

/* auto shops: the vehicle fields in the New appointment dialog */
.bk-car { display: grid; grid-template-columns: 90px 1fr 1fr 120px; gap: 8px; }
@media (max-width: 640px) { .bk-car { grid-template-columns: 1fr 1fr; } }

/* after hours (src/booking/after-hours.js) */
.bk-ah-grid { display: grid; grid-template-columns: 1fr 1fr 160px; gap: 10px; margin: 6px 0 4px; }
@media (max-width: 640px) { .bk-ah-grid { grid-template-columns: 1fr 1fr; } .bk-ah-grid > :last-child { grid-column: 1 / -1; } }
.bk-vm { margin: 6px 0; padding: 8px 10px; border-left: 3px solid var(--blue, #3A3F4A); background: var(--pale, #16191F); border-radius: 6px; }
.bk-vm audio { display: block; width: 100%; max-width: 360px; margin-top: 6px; height: 36px; }
/* Bookings: the Setup tab's section menu, and the Activity filters (wrap on phones instead of scrolling) */
.bk-secnav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.bk-secnav button { border: 2px solid var(--pale); background: #111318; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--navy); cursor: pointer; }
.bk-secnav button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #0A0B0E; }
.bk-secnav button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 1px; }
.bk-act { border-top: 1px solid var(--pale); padding-top: 6px; }
.bk-act:first-child { border-top: 0; }
.bk-act-head { display: flex; align-items: center; gap: 6px; }
.bk-act-who { padding-left: 0; font-weight: 700; }
.bk-act > .bk-text { border-top: 0; padding-top: 2px; margin-top: 0; }
/* Bookings: QR codes for tracking */
.bk-qrc { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--pale); }
.bk-qrc:first-child { border-top: 0; }
.bk-qrc img { flex: none; border: 1px solid var(--pale); border-radius: 10px; background: #111318; }
.bk-qrc-main { min-width: 0; flex: 1; }
.bk-qrc-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 2px; font-size: 15px; }
.bk-qrc .btn-row { flex-wrap: wrap; }
@media (max-width: 480px) { .bk-qrc img { width: 72px; height: 72px; } }
/* Bookings: whose page this is (viewing as a staff member, or a department manager's views), stuck under the header */
.bk-viewbar { position: sticky; top: var(--bk-top, 0px); z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 12px;
  padding: 10px 14px; background: var(--pale-blue); border: 2px solid var(--blue); border-radius: 14px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.36); }
.bk-viewbar-text { flex: 1 1 260px; min-width: 0; font-size: 15px; }
.bk-viewbar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bk-viewbar select.input { width: auto; min-width: 150px; padding-top: 6px; padding-bottom: 6px; }
@media (max-width: 700px) { .bk-viewbar { border-radius: 0; margin-left: -16px; margin-right: -16px; border-left: 0; border-right: 0; } .bk-viewbar-actions { width: 100%; } .bk-viewbar select.input { flex: 1; } }
/* Bookings: QR names, making codes, and the QR report */
.bk-qr-h { font-size: 16px; margin: 18px 0 6px; }
.bk-qr-names { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.bk-qr-name { display: inline-flex; align-items: center; gap: 2px; padding: 2px 4px 2px 12px; border: 2px solid var(--pale); border-radius: 999px; background: #111318; font-weight: 600; }
.bk-qr-name .btn-sm { padding: 4px 6px; min-height: 0; }
.bk-qr-add { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bk-qr-add .input { flex: 1 1 220px; width: auto; }
.bk-qr-tools { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 8px; }
.bk-qr-tools select.input { width: auto; }
.bk-qr-table-wrap { position: relative; overflow-x: auto; border: 2px solid var(--line); border-radius: 12px; }
.bk-qr-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.bk-qr-table th, .bk-qr-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.bk-qr-table th { background: var(--pale-blue); white-space: nowrap; }
.bk-qr-table th button { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; }
.bk-qr-table .num { text-align: right; white-space: nowrap; }
.bk-qr-table tbody tr:last-child td { border-bottom: 0; }
.bk-qr-act { display: flex; align-items: center; gap: 8px; min-width: 330px; }
.bk-qr-act img { border: 1px solid var(--pale); border-radius: 6px; }
.bk-qr-act .btn-row { flex-wrap: nowrap; margin: 0; }
/* Bookings: the home-screen app's icon and name */
.bk-appicon { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 12px; border-radius: 16px; background: linear-gradient(160deg, #2A2F3A, #0D0F13); min-width: 112px; }
.bk-appicon img { width: 72px; height: 72px; border-radius: 16px; background: #111318; object-fit: cover; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.60); }
.bk-appicon span { color: #fff; font-size: 13px; font-weight: 600; max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
.bk-appset { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.bk-appset-fields { flex: 1 1 280px; min-width: 0; }
/* Bookings: the Today screen */
.bk-today-head { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; justify-content: space-between; margin: 4px 0 14px; }
.bk-today-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-next { border-left: 8px solid var(--c, var(--blue)); margin-bottom: 16px; }
.bk-next-none { border-left-color: var(--pale); }
.bk-next-when { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-2); }
.bk-next-name { font-size: 28px; margin: 8px 0 2px; }
.bk-next-what { margin: 0 0 6px; font-size: 18px; color: var(--ink-2); }
.bk-next-meta { margin: 4px 0; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.bk-next-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin: 14px 0 10px; }
.bk-next-contact .btn { justify-content: center; }
.bk-next-acts { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.bk-today-list { display: flex; flex-direction: column; gap: 8px; }
.bk-today-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border: 2px solid var(--line); border-left: 6px solid var(--c, var(--blue)); border-radius: 12px; background: #111318; cursor: pointer; font: inherit; color: var(--navy); }
.bk-today-row:hover { border-color: var(--pale); }
.bk-today-row.cancelled, .bk-today-row.no_show { opacity: .65; }
.bk-today-time { font-weight: 800; min-width: 72px; }
.bk-today-who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.bk-today-who span { color: var(--muted); font-size: 14px; }
.bk-today-earlier { margin-top: 16px; }
.bk-today-earlier summary { cursor: pointer; font-weight: 700; margin-bottom: 8px; }
.bk-offline { position: sticky; top: var(--bk-top, 0px); z-index: 25; margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #16191F; border: 2px solid var(--yellow); font-weight: 600; }

/* ---------- layout on phones (and the home-screen app) ---------- */
/* iPhone sizes date and time boxes by their own rules and lets them run past the edge: keep them in their box */
input[type="date"].input, input[type="time"].input, input[type="datetime-local"].input { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; text-align: left; }
.input::-webkit-date-and-time-value { text-align: left; margin: 0; }
.input::-webkit-datetime-edit { padding: 0; }
.bk-viewas { display: inline-flex; align-items: center; gap: 8px; }
.bk-bar .bk-viewas select.input { width: auto; min-width: 180px; min-height: 42px; padding-top: 6px; padding-bottom: 6px; }
.bk-cust .main { flex: 1 1 0; }
.bk-cust > :last-child { flex: none; white-space: nowrap; }
.bk-today-quick .btn { white-space: nowrap; }
@media (max-width: 700px) {
  /* pairs that belong together stay side by side: date and time, from and until, starts and ends */
  .row-2.pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  /* the status and "View as" share one line */
  .bk-bar .spacer { display: none; }
  .bk-bar .chip { order: -1; }
  .bk-bar .bk-viewas { flex: 1 1 0; min-width: 0; justify-content: flex-end; }
  .bk-bar .bk-viewas select.input { flex: 1 1 0; min-width: 0; max-width: 220px; }
  .bk-bar .bk-viewas > .hint { display: none; } /* the picker says "Whole business" or the person: enough on a phone */
  .row-2.pair .input { padding-left: 12px; padding-right: 10px; }
  /* an appointment: its details get the width, the buttons go in a row under them */
  .bk-appt { flex-wrap: wrap; }
  .bk-time { min-width: 70px; }
  .bk-who { flex: 1 1 0; }
  .bk-actions { flex: 1 0 100%; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; padding-left: 0; }
  .bk-meta a { white-space: nowrap; }
  .bk-today-quick { flex-wrap: nowrap; width: 100%; }
  /* the owner viewing as someone: the picker gets its own line when two buttons share the bar */
  .bk-viewbar .bk-viewas { display: flex; flex: 1 1 140px; min-width: 0; }
  .bk-viewbar .bk-viewas select.input { flex: 1; min-width: 0; }
  .bk-viewbar-actions:has(> :nth-child(3)) > .bk-viewas { flex: 1 1 100%; }
  .bk-viewbar-actions:has(> :nth-child(3)) > .btn { flex: 1 1 0; }
  /* "Taking bookings" is the normal state: on a phone, don't spend a line on it alone (Paused or Setting up still show) */
  .bk-bar:has(.seg-tabs.has-subnav):not(:has(.bk-viewas)) .chip.green { display: none; }
  .bk-today-quick .btn { padding-left: 12px; padding-right: 12px; }
}
/* the Today card: its lines sit together (the general card spacing pulled them apart) */
.card.bk-next .bk-next-name { margin: 10px 0 2px; }
.card.bk-next .bk-next-what { margin: 0 0 6px; }
.card.bk-next .bk-next-meta { margin: 2px 0; }
.card.bk-next .bk-next-meta + .bk-next-meta { margin-top: 2px; }
.card.bk-next { gap: 0; }
.bk-bar .bk-numline { margin: 0; }
@media (max-width: 700px) { .bk-bar .bk-numline { flex: 1 1 100%; order: -2; } }

/* ---------- iPhone: the "Add to Home Screen" guide (bookings.js a2hsGuide) ---------- */
dialog.a2hs { width: min(460px, 100% - 24px); max-height: calc(100% - 120px); margin: 24px auto auto; padding: 0; border: 0; border-radius: 20px; overflow: visible; background: transparent; }
dialog.a2hs::backdrop { background: rgba(0, 0, 0, 0.60); }
.a2hs-body { background: #111318; border-radius: 20px; padding: 16px 16px 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.60); max-height: calc(100dvh - 130px); overflow: auto; }
.a2hs-head { display: flex; align-items: flex-start; gap: 10px; }
.a2hs-head h2 { flex: 1; margin: 0; font-size: 19px; line-height: 1.25; }
.a2hs-x { background: none; border: 0; font-size: 28px; line-height: 1; padding: 0 4px; cursor: pointer; color: var(--muted, #E4E6EA); }
.a2hs-preview { display: flex; align-items: center; gap: 10px; margin: 12px 0 4px; }
.a2hs-preview img { width: 48px; height: 48px; border-radius: 14px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.54); object-fit: cover; }
.a2hs-preview span { font-size: 13px; font-weight: 600; }
.a2hs-steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.a2hs-step { display: grid; grid-template-columns: 26px 34px minmax(0, 1fr); align-items: start; gap: 8px; font-size: 15px; line-height: 1.38; }
.a2hs-n { width: 26px; height: 26px; border-radius: 50%; background: var(--blue, #0D0F13); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; margin-top: 2px; }
.a2hs-ic { width: 34px; height: 34px; border-radius: 9px; background: #16191F; color: var(--blue, #E4E6EA); display: grid; place-items: center; }
.a2hs-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 8px 12px; border-radius: 12px; background: #16191F; color: #E4E6EA; font-weight: 600; font-size: 15px; }
/* the arrow: just above Safari's own button (outside the page), bouncing toward it */
.a2hs-arrow { position: fixed; color: #FFD23F; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45)); animation: a2hs-bounce 1s ease-in-out infinite; pointer-events: none; }
.a2hs-arrow-bc { bottom: 14px; left: calc(50% - 20px); }
.a2hs-arrow-br { bottom: 14px; right: 22px; }
.a2hs-arrow-tr { top: 10px; right: 18px; transform: rotate(180deg); animation-name: a2hs-bounce-up; }
@keyframes a2hs-bounce { 0%, 100% { translate: 0 0; } 50% { translate: 0 10px; } }
@keyframes a2hs-bounce-up { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .a2hs-arrow { animation: none; } }
dialog.a2hs.a2hs-top { margin-top: 84px; }
.a2hs-x:focus:not(:focus-visible) { outline: none; }
.a2hs-foot { display: flex; align-items: center; gap: 12px; margin-top: 12px; } .a2hs-foot .hint { flex: 1; }

/* ---------- Setup → Schedule: Weekly hours | Month calendar ---------- */
.bk-subtabs { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 14px; border-radius: 12px; background: #16191F; }
.bk-subtabs button { border: 0; background: none; padding: 8px 16px; border-radius: 9px; font: inherit; font-weight: 700; color: var(--navy, #E4E6EA); cursor: pointer; }
.bk-subtabs button[aria-pressed="true"] { background: #111318; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); color: var(--blue, #E4E6EA); }
.bk-mon-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; }
.bk-mon-bar select.input { width: auto; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.bk-mon-bar .btn-sm { min-width: 40px; }
.bk-mon-multi { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-weight: 600; white-space: nowrap; }
.bk-mon-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.bk-mon-wd { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted, #E4E6EA); padding: 2px 0; }
.bk-mon-cell { display: flex; flex-direction: column; align-items: stretch; gap: 3px; min-height: 92px; padding: 6px; border: 1px solid #2A2F3A; border-radius: 10px; background: #111318; text-align: left; font: inherit; cursor: pointer; overflow: hidden; }
.bk-mon-cell:hover { border-color: var(--blue, #3A3F4A); }
.bk-mon-pad { visibility: hidden; cursor: default; }
.bk-mon-cell.is-closed { background: #16191F; }
.bk-mon-cell.is-past { opacity: 0.6; }
.bk-mon-cell.is-today { border: 2px solid var(--blue, #3A3F4A); }
.bk-mon-cell.is-sel { background: #16191F; border-color: var(--blue, #3A3F4A); box-shadow: inset 0 0 0 2px var(--blue, #1B4DB1); }
.bk-mon-n { font-weight: 800; font-size: 15px; }
.bk-mon-h { font-size: 12px; color: var(--muted, #E4E6EA); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-mon-tag { display: inline-block; max-width: 100%; font-size: 11px; font-weight: 700; line-height: 1.3; padding: 1px 6px; border-radius: 6px; background: #16191F; color: #E4E6EA; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-mon-tag.k-off, .bk-mon-key .k-off::before { background: #16191F; color: #E4E6EA; }
.bk-mon-tag.k-open, .bk-mon-key .k-open::before { background: #16191F; color: #E4E6EA; }
.bk-mon-tag.k-appt, .bk-mon-key .k-appt::before { background: #16191F; color: #E4E6EA; }
.bk-mon-key { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 13px; color: var(--muted, #E4E6EA); }
.bk-mon-key span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.bk-mon-act { position: sticky; bottom: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--navy, #0D0F13); color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.60); }
.bk-mon-act span { flex: 1; font-weight: 700; }
.bk-mon-act .btn-ghost { color: #fff; }
.bk-seg { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.bk-seg label { cursor: pointer; }
.bk-seg input { position: absolute; opacity: 0; pointer-events: none; }
.bk-seg span { display: inline-block; padding: 8px 14px; border-radius: 10px; border: 2px solid #2A2F3A; font-weight: 700; }
.bk-seg input:checked + span { border-color: var(--blue, #3A3F4A); background: #16191F; color: var(--blue, #E4E6EA); }
.bk-seg input:focus-visible + span { outline: 3px solid #2A2F3A; outline-offset: 2px; }
@media (max-width: 700px) {
  .bk-mon-grid { gap: 2px; }
  .bk-mon-cell { min-height: 58px; padding: 4px 3px; border-radius: 8px; gap: 2px; }
  .bk-mon-n { font-size: 13px; }
  .bk-mon-h { display: none; }
  .bk-mon-tag { font-size: 0; padding: 0; width: 100%; height: 5px; border-radius: 3px; } /* a colored bar on a phone */
  .bk-mon-multi { margin-left: 0; }
}
/* My Calendar: the notes under the Schedule tabs, and the day/week time grid */
.bk-sched-note { margin: -4px 0 14px; padding: 10px 14px; border-radius: 12px; background: #16191F; color: #E4E6EA; font-size: 14px; line-height: 1.45; }
.bk-cal-title { font-size: 16px; color: var(--navy, #E4E6EA); }
.bk-mon-key .k-biz::before { background: #111318; border: 1px solid #2A2F3A; }
.bk-tg { display: grid; grid-template-columns: 64px repeat(var(--days), minmax(0, 1fr)); border: 1px solid #2A2F3A; border-radius: 12px; overflow: hidden; background: #111318; }
.bk-tg-corner, .bk-tg-head { position: sticky; top: 0; z-index: 2; background: #111318; border-bottom: 1px solid #2A2F3A; padding: 8px 4px; text-align: center; font-size: 13px; color: var(--muted, #E4E6EA); }
.bk-tg-head strong { color: var(--navy, #E4E6EA); font-size: 15px; }
.bk-tg-head.is-today strong { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 50%; background: var(--blue, #0D0F13); color: #fff; }
.bk-tg-hours { position: relative; border-right: 1px solid #2A2F3A; }
.bk-tg-hr { position: absolute; right: 6px; transform: translateY(-50%); font-size: 11px; color: var(--muted, #E4E6EA); white-space: nowrap; }
.bk-tg-hr:first-child { transform: none; }
.bk-tg-col { position: relative; background: #16191F; border-left: 1px solid #2A2F3A; cursor: pointer; }
.bk-tg-col.is-past { opacity: 0.7; }
.bk-tg-line { position: absolute; left: 0; right: 0; border-top: 1px solid rgba(14, 42, 107, 0.07); pointer-events: none; }
.bk-tg-biz { position: absolute; left: 0; right: 0; background: #111318; pointer-events: none; }
.bk-tg-own { position: absolute; left: 0; width: 4px; background: #16191F; pointer-events: none; }
.bk-tg-ev { position: absolute; left: 6px; right: 4px; border-radius: 6px; padding: 2px 6px; font: inherit; font-size: 12px; line-height: 1.3; text-align: left; overflow: hidden; border: 0; }
.bk-tg-ev span { display: block; overflow: hidden; text-overflow: ellipsis; }
.bk-tg-ev.k-off { background: repeating-linear-gradient(135deg, #16191F, #16191F 6px, #16191F 6px, #16191F 12px); color: #E4E6EA; pointer-events: none; }
.bk-tg-ev.k-open { background: #16191F; color: #E4E6EA; border: 1px dashed #2A2F3A; pointer-events: none; }
.bk-tg-ev.k-appt { z-index: 1; background: #16191F; color: #E4E6EA; border-left: 4px solid var(--blue, #3A3F4A); cursor: pointer; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45); }
.bk-tg-ev.k-appt:hover { filter: brightness(0.97); }
@media (max-width: 700px) {
  .bk-tg { grid-template-columns: 44px repeat(var(--days), minmax(0, 1fr)); }
  .bk-tg-head { font-size: 11px; padding: 6px 1px; }
  .bk-tg-head strong { font-size: 13px; }
  .bk-tg-hr { font-size: 10px; right: 3px; }
  .bk-tg-ev { left: 2px; right: 1px; padding: 1px 3px; font-size: 10px; }
}
/* Connect Clio with the firm's own Clio app: the steps, and the redirect address to copy */
.bk-clio-app { border: 2px solid var(--pale); border-radius: 14px; padding: 16px; background: #111318; }
.bk-clio-steps { margin: 0 0 14px; padding-left: 22px; line-height: 1.55; }
.bk-clio-steps li { margin: 6px 0; }
.bk-copy { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.bk-copy code { background: #111318; border: 2px solid var(--pale); border-radius: 10px; padding: 6px 10px; font-size: 14px; word-break: break-all; }
/* a setting that only applies when the one above it is on: greyed out while it's off */
.check.bk-dep { margin-left: 28px; }
.check.bk-dep.is-off { opacity: .45; cursor: not-allowed; }
.check.bk-dep.is-off input { cursor: not-allowed; }
.bk-dep-field { margin: 6px 0 0 28px; }
/* QR codes: the code in a popup (View & share), and the thumbnail that opens it */
.bk-qrv { display: flex; justify-content: center; padding: 8px 0 0; }
.bk-qrv img { width: min(240px, 70vw); height: auto; border: 2px solid var(--pale); border-radius: 14px; padding: 8px; background: #111318; -webkit-touch-callout: default; }
.bk-qrv-actions { justify-content: center; }
.bk-qrc-img { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; flex: none; }
.bk-qrc-img img { display: block; }
/* each day's own "Time off" and "+ Appointment": the Calendar's week list, and Setup → My Calendar's day/week grid */
.bk-day-acts { display: flex; gap: 8px; flex-wrap: wrap; margin: -2px 0 10px; }
.bk-tg-head { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.bk-tg-acts { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.bk-tg-act { font: inherit; font-size: 12px; font-weight: 700; line-height: 1; padding: 6px 8px; border-radius: 8px; border: 1.5px solid #2A2F3A; background: #111318; color: var(--blue, #E4E6EA); cursor: pointer; white-space: nowrap; }
.bk-tg-act.is-add { background: var(--blue, #0D0F13); border-color: var(--blue, #3A3F4A); color: #fff; }
.bk-tg-act:hover { filter: brightness(.95); }
@media (max-width: 700px) {
  .bk-tg-acts { flex-direction: column; gap: 3px; width: 100%; padding: 0 2px; }
  .bk-tg-act { font-size: 10.5px; padding: 5px 2px; border-radius: 6px; }
}
.bk-day-acts { padding: 10px 16px 2px; margin: 0; }
.bk-tg-sm { display: none; }
@media (max-width: 700px) {
  .bk-tg-head > span:first-child { display: flex; flex-direction: column; align-items: center; line-height: 1.15; min-height: 42px; }
  .bk-tg-lg { display: none; }
  .bk-tg-sm { display: inline; font-size: 16px; }
  .bk-tg-act { padding: 5px 0; }
}
/* New demo: Build from here / Manual upload */
.dm-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dm-seg-opt { display: flex; gap: 10px; align-items: flex-start; border: 2px solid #2A2F3A; border-radius: 14px; padding: 12px 14px; cursor: pointer; background: #111318; }
.dm-seg-opt:has(input:checked) { border-color: var(--blue); background: var(--pale-blue); }
.dm-seg-opt input { margin-top: 4px; }
.dm-seg-opt strong { display: block; }
.dm-seg-opt small { display: block; color: var(--muted, #E4E6EA); font-size: 13px; line-height: 1.35; margin-top: 2px; }
@media (max-width: 560px) { .dm-seg { grid-template-columns: minmax(0, 1fr); } }

/* Singulaw (src/brand-theme.js) */
:root {
  --cream: #0A0B0E; --white: #111318; --navy: #F3F4F6; --ink-2: #C4C9D2; --muted: #A1A7B3;
  --line: #1F232B; --pale: #2A2F3A; --pale-blue: #16191F;
  --blue: #E4E6EA; --yellow: #A1A7B3;
  --red: #F2867D; --red-bg: #2A1517; --green: #6EE7B7; --green-bg: #11261C; --amber-bg: #2A2414;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; --font-display: 'Inter Tight', system-ui, sans-serif;
}
body { background: #0A0B0E; color: #F3F4F6; }
input, select, textarea { color-scheme: dark; }
