/* Small Sites — dashboard styles. Otuya Web Design palette: navy, green, gold accent, white. */

:root {
    --navy: #0E2240;
    --navy-2: #17345E;
    --navy-3: #22487D;
    --green: #198F52;
    --green-dark: #127341;
    --green-soft: #E5F4EC;
    --gold: #E5A41E;
    --gold-soft: #FDF3DC;
    --ink: #172234;
    --muted: #5A6578;
    --line: #DFE4EC;
    --bg: #F4F6F9;
    --white: #FFFFFF;
    --red: #B42318;
    --red-soft: #FDECEA;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(14, 34, 64, .06), 0 4px 16px rgba(14, 34, 64, .06);
    --font-brand: "Montserrat", system-ui, sans-serif;
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg); }
h1, h2, h3 { font-family: var(--font-brand); color: var(--navy); line-height: 1.2; margin: 0 0 .5rem; }
h1 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--green-dark); text-underline-offset: 2px; }
a:hover { color: var(--green); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--bg); padding: .1em .4em; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.right { text-align: right; }
.eyebrow { font-family: var(--font-brand); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--green-dark); margin-bottom: .35rem; }
.lede { color: var(--muted); margin-bottom: 1.5rem; }
.owd { font-family: var(--font-brand); font-weight: 700; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ── Wordmark ─────────────────────────────── */
.wordmark { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-brand); font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; text-decoration: none; }
.wordmark-mark { width: 30px; height: 30px; flex: none; }

/* ── Buttons ──────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.25rem; border: 1px solid transparent; border-radius: var(--radius-sm); font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--navy-3); color: var(--navy); }
.btn-whatsapp { background: var(--green); color: var(--white); }
.btn-whatsapp:hover { background: var(--green-dark); color: var(--white); }
.btn-block { width: 100%; }
.btn-small { min-height: 36px; padding: .4rem .85rem; font-size: .875rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.inline-form { display: inline; margin: 0; }

/* ── Forms ────────────────────────────────── */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; align-items: start; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; align-content: start; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 600; font-size: .9375rem; color: var(--ink); padding: 0; margin-bottom: .35rem; }
.field > label { margin-bottom: 0; }
input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=password], input[type=search], input[type=number], input[type=date], input[type=time], select {
    width: 100%; min-height: 46px; padding: .6rem .8rem; font: inherit; color: var(--ink);
    background: var(--white); border: 1px solid #C8D0DC; border-radius: var(--radius-sm);
}
input:focus, select:focus { border-color: var(--navy-3); outline: 3px solid rgba(229, 164, 30, .45); outline-offset: 0; }
.has-error input, .has-error select { border-color: var(--red); }
.hint { margin: 0; font-size: .8125rem; color: var(--muted); }
.error { margin: 0; font-size: .8125rem; color: var(--red); font-weight: 600; }
.form-aside { margin: -.4rem 0 0; text-align: right; font-size: .875rem; }
.form-foot { margin: .25rem 0 0; font-size: .875rem; color: var(--muted); text-align: center; }
.form-section { margin: .5rem 0 0; font-size: 1rem; }

.password-wrap { position: relative; }
.password-wrap input { padding-right: 4.5rem; }
.password-toggle { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: .4rem .6rem; font: 600 .8125rem var(--font-body); color: var(--navy-3); cursor: pointer; border-radius: 6px; }

.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--green); flex: none; }

/* Domain picker */
.domain-input { display: flex; align-items: stretch; border: 1px solid #C8D0DC; border-radius: var(--radius-sm); background: var(--white); overflow: hidden; }
.domain-input:focus-within { border-color: var(--navy-3); outline: 3px solid rgba(229, 164, 30, .45); }
.has-error .domain-input { border-color: var(--red); }
.domain-input input { border: 0; border-radius: 0; flex: 1 1 auto; min-width: 0; font-weight: 600; text-transform: lowercase; }
.domain-input input:focus { outline: none; }
.domain-dot { display: flex; align-items: center; padding: 0 .1rem; font-weight: 700; color: var(--muted); background: var(--bg); }
.domain-input select { width: auto; flex: 0 0 auto; border: 0; border-left: 1px solid var(--line); border-radius: 0; background-color: var(--bg); font-weight: 600; color: var(--navy); }
.domain-input select:focus { outline: none; }
.domain-status { margin: .1rem 0 0; min-height: 1.3em; font-size: .8125rem; }
.domain-status .ok { color: var(--green-dark); font-weight: 600; }
.domain-status .checking { color: var(--muted); }

/* ── Alerts ───────────────────────────────── */
.alert { padding: .8rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; font-size: .9375rem; border: 1px solid; }
.alert-success { background: var(--green-soft); border-color: #B7E0C8; color: #0E5A33; }
.alert-error { background: var(--red-soft); border-color: #F5C2BC; color: var(--red); }
.alert-info { background: var(--gold-soft); border-color: #F3DDA4; color: #6B4A00; }

/* ── Pills ────────────────────────────────── */
.pill { display: inline-block; padding: .2rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.pill-awaiting_design { background: var(--gold-soft); color: #7A5300; border-color: #F3DDA4; }
.pill-design_ready { background: #E7EEF8; color: var(--navy-3); border-color: #C9D7EC; }
.pill-live { background: var(--green-soft); color: #0E5A33; border-color: #B7E0C8; }
.pill-expired, .pill-suspended { background: var(--red-soft); color: var(--red); border-color: #F5C2BC; }

/* ── Auth layout ──────────────────────────── */
.auth-shell { min-height: 100vh; display: grid; }
@media (min-width: 960px) { .auth-shell { grid-template-columns: minmax(340px, 40%) 1fr; } }
.auth-aside { display: none; background: var(--navy); color: #D5DEEC; padding: 3rem; flex-direction: column; justify-content: space-between; gap: 2rem; }
@media (min-width: 960px) { .auth-aside { display: flex; position: sticky; top: 0; height: 100vh; } }
.auth-brand { color: var(--white); text-decoration: none; }
.auth-brand:hover { color: var(--white); }
.auth-pitch h2 { color: var(--white); font-size: 1.75rem; font-weight: 800; margin-bottom: 1.5rem; }
.pitch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.pitch-list li { position: relative; padding-left: 2rem; }
.pitch-list li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.pitch-list strong { color: var(--white); }
.pitch-list em { font-style: normal; color: var(--gold); font-weight: 600; }
.auth-byline { margin: 0; font-size: .875rem; color: #9FB0CA; }
.auth-main { display: flex; flex-direction: column; align-items: center; padding: 1.5rem 1rem 3rem; }
@media (min-width: 640px) { .auth-main { padding: 3rem 2rem; justify-content: center; } }
.auth-mobile-brand { color: var(--navy); align-self: flex-start; margin: 0 0 1.5rem; }
@media (min-width: 640px) { .auth-mobile-brand { align-self: center; } }
@media (min-width: 960px) { .auth-mobile-brand { display: none; } }
.auth-card { width: 100%; max-width: 560px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; }
@media (min-width: 640px) { .auth-card { padding: 2.25rem; } }
.switch { margin: 1.5rem 0 0; text-align: center; color: var(--muted); font-size: .9375rem; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; font-size: .9375rem; }
.check-mark { flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.checklist .ok .check-mark { background: var(--green-soft); color: var(--green-dark); }
.checklist .fail .check-mark { background: var(--red-soft); color: var(--red); }
.sub { display: block; font-size: .8125rem; color: var(--muted); }

/* ── Client app layout ────────────────────── */
.topbar { background: var(--navy); color: var(--white); }
.topbar-inner { max-width: 960px; margin: 0 auto; padding: .85rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar-brand { color: var(--white); text-decoration: none; }
.topbar-brand:hover { color: var(--white); }
.topbar-nav { display: flex; align-items: center; gap: 1.1rem; font-size: .9375rem; }
.topbar-nav a, .topbar-nav .link-button { color: #C9D5E7; text-decoration: none; }
.topbar-nav a:hover, .topbar-nav .link-button:hover, .topbar-nav a.is-active { color: var(--white); }
.topbar-nav a.is-active { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }

.private-bar { background: var(--gold-soft); color: #6B4A00; border-bottom: 1px solid #F3DDA4; text-align: center; padding: .55rem 1rem; font-size: .875rem; font-weight: 600; }
.private-dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--gold); margin-right: .45rem; vertical-align: middle; }

.page { max-width: 960px; margin: 0 auto; padding: 2rem 1rem 3rem; }
.app-footer { text-align: center; color: var(--muted); font-size: .8125rem; padding: 0 1rem 2rem; }

.hello { margin-bottom: 1.5rem; }
.site-address { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0; }
.site-address-url { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 600; color: var(--navy-3); word-break: break-all; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .card { padding: 1.75rem; } }
.card p:last-child { margin-bottom: 0; }
.card-narrow { max-width: 520px; }
.card-title { margin-bottom: 1.1rem; }
.card-notice { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; border-left: 4px solid var(--gold); }
.card-notice > div { flex: 1 1 320px; }
.card-status { display: flex; gap: 1.25rem; align-items: flex-start; border-left: 4px solid var(--green); }
.status-icon { flex: none; width: 56px; height: 56px; color: var(--navy); }
.status-icon svg { width: 100%; height: 100%; }
.card-help { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; background: var(--navy); color: #D5DEEC; border-color: var(--navy); }
.card-help h2 { color: var(--white); }
.card-help > div { flex: 1 1 280px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.step { display: flex; gap: .9rem; position: relative; padding-bottom: 1.1rem; }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: var(--line); }
.step-done:not(:last-child)::before { background: var(--green); }
.step-marker { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .875rem; background: var(--bg); color: var(--muted); border: 2px solid var(--line); position: relative; }
.step-done .step-marker { background: var(--green); border-color: var(--green); color: var(--white); }
.step-current .step-marker { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.step-title { margin: .2rem 0 .1rem; font-weight: 700; color: var(--navy); }
.step-todo .step-title { color: var(--muted); }
.step-text { margin: 0; font-size: .9rem; color: var(--muted); }

/* ── Admin layout ─────────────────────────── */
.admin-shell { min-height: 100vh; display: grid; }
@media (min-width: 900px) { .admin-shell { grid-template-columns: 240px 1fr; } }
.admin-side { background: var(--navy); color: #C9D5E7; padding: 1rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 900px) { .admin-side { padding: 1.5rem 1.1rem; position: sticky; top: 0; height: 100vh; } }
.admin-brand { color: var(--white); text-decoration: none; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.admin-brand:hover { color: var(--white); }
.admin-tag { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--gold); color: var(--navy); padding: .15rem .45rem; border-radius: 4px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: .25rem; }
@media (min-width: 900px) { .admin-nav { flex-direction: column; margin-top: 1rem; } }
.admin-nav a, .admin-nav-soon { display: block; padding: .55rem .75rem; border-radius: var(--radius-sm); color: #C9D5E7; text-decoration: none; font-size: .9375rem; }
.admin-nav a:hover { background: var(--navy-2); color: var(--white); }
.admin-nav a.is-active { background: var(--navy-3); color: var(--white); font-weight: 600; }
.admin-nav-soon { opacity: .45; cursor: default; }
.admin-side-foot { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .875rem; }
@media (min-width: 900px) { .admin-side-foot { margin-top: auto; flex-direction: column; } }
.admin-side-foot a, .admin-side-foot .link-button { color: #C9D5E7; text-decoration: none; }
.admin-side-foot a:hover, .admin-side-foot .link-button:hover, .admin-side-foot a.is-active { color: var(--white); }
.admin-who { margin: 0; color: var(--white); font-weight: 600; }
.admin-main { padding: 1.5rem 1rem 3rem; min-width: 0; }
@media (min-width: 900px) { .admin-main { padding: 2rem 2.5rem 3rem; } }
.admin-head { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; justify-content: space-between; margin-bottom: 1.25rem; }
.admin-head p { margin: 0; max-width: 60ch; }
.search { display: flex; gap: .5rem; flex: 0 1 380px; }
.search input { min-width: 0; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.chip { display: inline-flex; gap: .4rem; align-items: center; padding: .35rem .8rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .875rem; font-weight: 600; }
.chip span { color: var(--muted); font-weight: 500; }
.chip:hover { border-color: var(--navy-3); color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip.is-active span { color: #C9D5E7; }

.table-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: .8rem 1rem; border-bottom: 1px solid var(--line); background: #FAFBFC; white-space: nowrap; }
.table td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table td code { background: none; padding: 0; color: var(--navy-3); }
.empty { text-align: center; padding: 3rem 1rem; }
.pill-off { background: var(--bg); }
.gold-fill { fill: var(--gold); }

/* ── Settings & updates (0.2.0) ───────────── */
[hidden] { display: none !important; }
input[type=url] { width: 100%; min-height: 46px; padding: .6rem .8rem; font: inherit; color: var(--ink); background: var(--white); border: 1px solid #C8D0DC; border-radius: var(--radius-sm); }
.choice-group { gap: .6rem; }
.choice { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-weight: 400; }
.choice:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.choice input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--green); flex: none; }
.choice strong { display: block; color: var(--navy); }
.choice-detail { display: grid; gap: 1rem; padding: 1rem; border-left: 3px solid var(--green); background: #FAFBFC; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.card-update { border-left: 4px solid var(--gold); }
.card-ok { border-left: 4px solid var(--green); }
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; font-size: .9375rem; }
.history li { display: flex; flex-wrap: wrap; gap: .25rem .75rem; }
.nav-flag { display: inline-block; margin-left: .35rem; font-size: .6875rem; font-weight: 700; background: var(--gold); color: var(--navy); padding: .05rem .4rem; border-radius: 4px; }
.thanks-steps { margin: 0 0 1.25rem; }

/* ── Brief, previews, client admin (0.3.0) ── */
textarea { width: 100%; padding: .6rem .8rem; font: inherit; color: var(--ink); background: var(--white); border: 1px solid #C8D0DC; border-radius: var(--radius-sm); resize: vertical; }
textarea:focus { border-color: var(--navy-3); outline: 3px solid rgba(229, 164, 30, .45); outline-offset: 0; }
textarea[readonly], input[readonly] { background: var(--bg); color: var(--muted); }
.has-error textarea { border-color: var(--red); }
.optional { font-weight: 400; font-size: .8125rem; color: var(--muted); font-family: var(--font-body); }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.upload-form { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin-top: 1rem; }
.upload-form .hint { flex: 1 1 260px; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.file-btn:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.file-btn.is-busy { opacity: .7; pointer-events: none; }

.logo-row { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.logo-row .upload-form { margin-top: 0; flex: 1 1 260px; }
.logo-box { width: 200px; height: 110px; border: 1px dashed #C8D0DC; border-radius: var(--radius-sm); display: grid; place-items: center; padding: .75rem;
    background: repeating-conic-gradient(#F4F6F9 0 25%, #fff 0 50%) 0 0 / 16px 16px; }
.logo-box img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

.photo-grid { list-style: none; margin: 0 0 .5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .75rem; }
.photo-grid li { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-remove { position: absolute; top: .35rem; right: .35rem; margin: 0; }
.photo-remove button { border: 0; border-radius: 6px; padding: .25rem .5rem; font: 600 .75rem var(--font-body); background: rgba(14, 34, 64, .82); color: #fff; cursor: pointer; }
.photo-tag { position: absolute; left: .35rem; bottom: .35rem; padding: .15rem .45rem; border-radius: 6px; font-size: .6875rem; font-weight: 700; background: var(--green); color: #fff; }

.card-action { border-left-color: var(--gold); }
.card-action .btn { margin-top: .25rem; }
.preview-card { padding: 0; overflow: hidden; }
.preview-head { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; justify-content: space-between; padding: 1.25rem 1.25rem 1rem; }
@media (min-width: 640px) { .preview-head { padding: 1.75rem 1.75rem 1rem; } }
.preview-head > div { flex: 1 1 280px; }
.preview-head p { margin: 0; }
.preview-frame { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.preview-frame iframe { display: block; width: 100%; height: 70vh; min-height: 420px; border: 0; background: #fff; }
.golive { padding: 1.25rem; background: var(--navy); color: #D5DEEC; }
@media (min-width: 640px) { .golive { padding: 1.5rem 1.75rem; } }
.golive h3 { font-family: var(--font-brand); color: #fff; margin: 0 0 .35rem; font-size: 1.0625rem; }
.golive p { margin: 0; }
.golive strong { color: #fff; }
.preview-card > .muted { padding: 1rem 1.25rem 1.25rem; margin: 0; }
@media (min-width: 640px) { .preview-card > .muted { padding: 1rem 1.75rem 1.5rem; } }

.crumb { margin: 0 0 .5rem; font-size: .875rem; }
.crumb a { text-decoration: none; }
.head-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.admin-grid { display: grid; gap: 0 1.25rem; }
@media (min-width: 1100px) { .admin-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }
.card-head { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.card-head .card-title { margin: 0; }
.card-title .pill { margin-left: .4rem; vertical-align: middle; font-family: var(--font-body); }
.dl { margin: 0; display: grid; gap: .55rem; }
.dl-row { display: grid; grid-template-columns: 8.5rem 1fr; gap: .75rem; font-size: .9375rem; }
@media (max-width: 520px) { .dl-row { grid-template-columns: 1fr; gap: .1rem; } }
.dl dt { color: var(--muted); font-size: .8125rem; font-weight: 600; padding-top: .1rem; }
.dl dd { margin: 0; overflow-wrap: anywhere; }
.media-grid { list-style: none; margin: 0 0 .5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.media-thumb { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: repeating-conic-gradient(#F4F6F9 0 25%, #fff 0 50%) 0 0 / 14px 14px; border: 1px solid var(--line); }
.media-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.media-meta { display: grid; gap: .15rem; margin-top: .4rem; font-size: .875rem; }
.copyable { cursor: copy; justify-self: start; }
.copyable.is-copied { background: var(--green-soft); color: var(--green-dark); }
.danger-link { color: var(--red); justify-self: start; }
.prompt-box, .code-box { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8125rem; line-height: 1.5; }
.prompt-box { background: #FAFBFC; color: var(--ink); }
.versions-title { margin: 1.5rem 0 .75rem; font-size: 1rem; }
.nowrap { white-space: nowrap; }
.row-link { text-decoration: none; color: var(--navy); }
.row-link:hover { text-decoration: underline; color: var(--navy); }

/* ── Checkout, payments, live site, email (0.4.0) ── */
.bank { margin: 0; display: grid; gap: .6rem; }
.bank > div { display: grid; grid-template-columns: 9rem 1fr; gap: .75rem; align-items: center; }
@media (max-width: 520px) { .bank > div { grid-template-columns: 1fr; gap: .15rem; } }
.bank dt { color: var(--muted); font-size: .8125rem; font-weight: 600; }
.bank dd { margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.big-copy { font-family: var(--font-brand); font-size: 1.25rem; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.card-reference { border-left: 4px solid var(--gold); }
.reference-line { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: .5rem; }
.reference { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; font-size: 1.5rem; letter-spacing: .08em;
    color: var(--navy); background: var(--gold-soft); border: 1px dashed var(--gold); border-radius: var(--radius-sm); padding: .25rem .75rem; }
.small-ref, .pay-ref .reference { font-size: 1rem; padding: .1rem .5rem; }
.pay-list { display: grid; gap: 0; }
.pay-card { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; justify-content: space-between; }
.pay-main { flex: 1 1 340px; min-width: 0; }
.pay-main p { margin: 0 0 .35rem; }
.pay-ref { display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: center; }
.pay-actions { display: grid; gap: .6rem; align-content: start; flex: 0 1 300px; }
.pay-actions .btn-primary { width: 100%; }
details > summary { cursor: pointer; font-weight: 600; font-size: .9375rem; color: var(--navy-3); }
details > summary::-webkit-details-marker { color: var(--muted); }
details[open] > summary { margin-bottom: .75rem; }
.reject textarea { font-size: .875rem; }
.record > summary { list-style: none; display: inline-flex; }
.record > summary::-webkit-details-marker { display: none; }
.record[open] { flex-basis: 100%; }
.live-actions { margin-top: 1.25rem; align-items: flex-start; }
.nav-count { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; margin-left: .35rem; padding: 0 .35rem; border-radius: 999px;
    background: var(--gold); color: var(--navy); font-size: .75rem; font-weight: 800; }

.live-card { border-left: 4px solid var(--green); }
.live-head { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.25rem; }
.live-head h2 { margin-bottom: .2rem; }
.live-head p { margin: 0; }
.live-dot { flex: none; width: 14px; height: 14px; margin-top: .4rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px var(--green-soft); }
.live-link { font-weight: 700; font-size: 1.0625rem; word-break: break-all; }
.live-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 1rem; }
.live-tile { background: var(--bg); border-radius: var(--radius-sm); padding: 1rem; }
.live-tile p { margin: 0; }
.tile-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tile-value { font-family: var(--font-brand); font-size: 1.125rem; font-weight: 700; color: var(--navy); margin: .2rem 0 .35rem !important; }

.mailbox-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.mailbox { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; display: grid; gap: .75rem; }
.mailbox-head { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; }
.mailbox-addr { font-size: 1.0625rem; color: var(--navy); word-break: break-all; }
.form-inline-grid { gap: .75rem; }
.domain-suffix { display: flex; align-items: center; padding: 0 .8rem; background: var(--bg); border-left: 1px solid var(--line); color: var(--navy); font-weight: 600; white-space: nowrap; max-width: 60%; overflow: hidden; text-overflow: ellipsis; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #8F1C13; color: #fff; }
@media (min-width: 521px) { .mail-settings > div { grid-template-columns: 10rem 1fr; } }
.bank dd { min-width: 0; overflow-wrap: anywhere; }
.page { overflow-wrap: anywhere; }

/* ── Editing, pictures, details (0.5.0) ── */
.edit-field { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.edit-field:last-of-type { border-bottom: 0; }
.edit-field.is-changed input, .edit-field.is-changed textarea { border-color: var(--navy-3); background: #F7FAFF; }
.edit-label { display: flex; flex-wrap: wrap; gap: .4rem .6rem; align-items: center; }
.edit-label label { font-weight: 600; font-size: .9375rem; }
.locked-text { margin: 0; padding: .6rem .8rem; background: var(--bg); border-radius: var(--radius-sm); color: var(--muted); }
.sticky-save { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: .6rem; padding: .9rem 0 .25rem; background: linear-gradient(transparent, var(--white) 30%); z-index: 2; }
.pic-fields { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 1rem; }
.pic-field { display: flex; gap: 1rem; align-items: flex-start; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.pic-field:last-child { border-bottom: 0; }
.pic-current { flex: none; width: 112px; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; display: grid; place-items: center; text-align: center;
    background: repeating-conic-gradient(#F4F6F9 0 25%, #fff 0 50%) 0 0 / 14px 14px; border: 1px solid var(--line); }
.pic-current img { width: 100%; height: 100%; object-fit: cover; }
.pic-body { flex: 1; min-width: 0; }
.pic-name { margin: 0 0 .35rem; }
.pick-grid { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: .5rem; }
.pick-grid legend { margin-bottom: .4rem; padding: 0; }
.pick { position: relative; display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; background: var(--bg); }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pick:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.pick:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.library-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.library-grid .media-thumb img { object-fit: cover; }
.library-grid .media-meta .sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-form-top { margin-top: 0; }
.icon-box { width: 96px; height: 96px; border-radius: 22px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--line);
    background: repeating-conic-gradient(#F4F6F9 0 25%, #fff 0 50%) 0 0 / 12px 12px; }
.icon-box img { width: 100%; height: 100%; object-fit: cover; }
.serp { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1rem; margin-bottom: 1.25rem; font-family: Arial, sans-serif; background: #fff; }
.serp p { margin: 0; }
.serp-url { font-size: .8125rem; color: #202124; }
.serp-title { font-size: 1.15rem; color: #1a0dab; margin: .2rem 0 !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp-desc { font-size: .875rem; color: #4d5156; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.topbar-nav { flex-wrap: wrap; gap: .35rem 1rem; }
@media (max-width: 520px) { .topbar-nav { font-size: .875rem; gap: .35rem .85rem; } }
.media-meta .pill { justify-self: start; }

/* ── Tickets and renewals (0.6.0) ── */
.ticket-list { list-style: none; margin: 0; padding: 0; }
.ticket-list li + li { border-top: 1px solid var(--line); }
.ticket-row { display: flex; flex-wrap: wrap; gap: .4rem 1rem; justify-content: space-between; align-items: flex-start; padding: .85rem .25rem; text-decoration: none; color: var(--ink); }
.ticket-row:hover { background: var(--bg); color: var(--ink); }
.ticket-row.is-unread .ticket-subject { font-weight: 700; }
.ticket-subject { flex: 1 1 260px; min-width: 0; }
.ticket-meta { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.ticket-snippet { margin-top: .2rem; }
.ticket-admin-list { padding-top: .5rem; padding-bottom: .5rem; }
.chips-choice { margin: 0; }
.chip-choice { cursor: pointer; }
.chip-choice input { position: absolute; opacity: 0; pointer-events: none; }
.chip-choice span { display: inline-block; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: .9rem; font-weight: 600; }
.chip-choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip-choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.ticket-head { display: flex; flex-wrap: wrap; gap: .75rem 1rem; justify-content: space-between; align-items: flex-start; margin-bottom: 1.25rem; }
.ticket-head h1 { margin-bottom: .25rem; }
.ticket-head p { margin: 0; }
.thread { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .9rem; }
.msg { max-width: 640px; padding: .9rem 1rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.msg-mine { margin-left: auto; background: #F3F8FF; border-color: #CFDCF0; }
.msg-admin:not(.msg-mine) { border-left: 4px solid var(--green); }
.msg-who { margin: 0 0 .35rem; font-size: .875rem; display: flex; flex-wrap: wrap; gap: .25rem .6rem; align-items: baseline; }
.msg-body { overflow-wrap: anywhere; }
.msg-attachment { display: inline-block; margin-top: .6rem; }
.msg-attachment img { max-width: 220px; max-height: 220px; border-radius: 8px; border: 1px solid var(--line); }
.ticket-close { display: block; margin-top: .9rem; }
.help-link { color: #fff; }
.help-link:hover { color: var(--gold); }
.offline-card { border-left: 4px solid var(--red); }
.offline-warning { color: var(--red); }
.private-bar-offline { background: var(--red-soft); color: var(--red); border-bottom-color: #F5C2BC; }
.private-bar-offline a { color: var(--red); font-weight: 700; }
.private-bar-offline .private-dot { background: var(--red); }
.renew-card { border-left-color: var(--gold); }
.renew-list { list-style: none; margin: 0; padding: 0; }
.renew-list > li { display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; align-items: flex-start; padding: .75rem 0; }
.renew-list > li + li { border-top: 1px solid var(--line); }
.renew-list > li > div:first-child { flex: 1 1 320px; min-width: 0; }
.card-danger-zone { border-left: 4px solid var(--red); }
.delete-box { flex: 0 1 360px; }
.delete-box[open] { flex-basis: 100%; }
.delete-box summary { color: var(--red); }

/* ── 0.7.0: shared bits ───────────────────── */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.btn-gold { background: var(--gold); color: var(--navy); font-weight: 700; }
.btn-gold:hover { background: #F1B53A; color: var(--navy); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.plan-chosen { background: var(--green-soft); border-radius: var(--radius-sm); padding: .6rem .85rem; font-size: .9375rem; }
.plan-line { font-family: var(--font-brand); font-weight: 700; color: var(--green-dark); margin: -.25rem 0 .5rem; }
.jump-links { display: flex; flex-wrap: wrap; gap: .25rem .9rem; font-size: .875rem; margin-top: .5rem; }
.code-input { font-size: 1.4rem; letter-spacing: .2em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; max-width: 14rem; }
.code-list { list-style: none; padding: 0; margin: .5rem 0 .75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 9rem)); gap: .35rem; }
.code-list code { font-size: 1rem; display: block; text-align: center; padding: .35rem; background: var(--white); border: 1px solid var(--line); }
.backup-codes { background: var(--gold-soft); border: 1px solid #F3DDA4; border-radius: var(--radius-sm); padding: 1rem; margin-bottom: 1rem; }
.steps-list { padding-left: 1.25rem; margin: .5rem 0 1rem; }
.steps-list li { margin-bottom: .55rem; }
.qr-box { margin: .75rem 0; }
.qr-canvas { width: 200px; height: 200px; image-rendering: pixelated; border: 1px solid var(--line); border-radius: 6px; }
.setup-key { font-size: 1rem; letter-spacing: .05em; }
.choice-cards { display: grid; gap: .75rem; }
@media (min-width: 560px) { .choice-cards { grid-template-columns: 1fr 1fr; } }
.choice-card { display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; }
.choice-card .sub { color: var(--muted); font-size: .875rem; margin-bottom: .5rem; }
.guide { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .65rem .9rem; margin-bottom: .5rem; }
.guide summary { font-weight: 600; cursor: pointer; color: var(--navy); }
.guide[open] summary { margin-bottom: .5rem; }

/* plan picker at checkout */
.plan-pick { display: grid; gap: .75rem; }
@media (min-width: 600px) { .plan-pick { grid-template-columns: 1fr 1fr; } }
.plan-option { display: flex; flex-direction: column; gap: .2rem; padding: 1rem; border: 2px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.plan-option:hover { border-color: var(--navy-3); color: var(--ink); }
.plan-option.is-current { border-color: var(--green); background: var(--green-soft); }
.plan-name { font-family: var(--font-brand); font-weight: 700; color: var(--navy); }
.plan-price { font-family: var(--font-brand); font-weight: 800; font-size: 1.4rem; color: var(--navy); }
.plan-price small { font-size: .8rem; font-weight: 600; color: var(--muted); margin-left: .2rem; }
.plan-feat { font-size: .875rem; color: var(--muted); }
.plan-form select { max-width: 100%; }
.plan-settings { display: grid; gap: 1rem; }
.plan-fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; margin: 0; min-width: 0; }
.plan-fieldset legend { font-family: var(--font-brand); font-weight: 700; color: var(--navy); padding: 0 .35rem; }
@media (min-width: 640px) { .form-row-3 { grid-template-columns: 1fr 1fr 1fr; } }

/* link preview mock (WhatsApp-style) */
.link-preview { display: grid; grid-template-columns: 96px 1fr; gap: 0; max-width: 28rem; background: #E7F6EF; border-radius: 10px; overflow: hidden; margin: .25rem 0 1rem; border: 1px solid #CBE9DA; }
.link-preview-img { background: var(--white); display: flex; align-items: center; justify-content: center; min-height: 96px; }
.link-preview-img img { width: 96px; height: 96px; object-fit: contain; }
.link-preview-text { padding: .6rem .8rem; min-width: 0; }
.lp-title { font-weight: 700; margin: 0 0 .15rem; font-size: .9375rem; overflow-wrap: anywhere; }
.lp-desc { font-size: .8125rem; color: var(--muted); margin: 0 0 .15rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-url { font-size: .75rem; color: var(--muted); margin: 0; }

/* numbers */
.stat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1rem; }
@media (min-width: 900px) { .stat-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 900px) { .stat-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .85rem 1rem; min-width: 0; }
.stats-card .stat { background: var(--bg); border: 0; text-align: center; }
.stat-label { font-size: .8125rem; color: var(--muted); margin: 0; }
.stat-value { font-family: var(--font-brand); font-weight: 800; font-size: clamp(1.15rem, 1rem + 1vw, 1.6rem); color: var(--navy); margin: .1rem 0; overflow-wrap: anywhere; }
.stat-sub { font-size: .8125rem; color: var(--muted); margin: 0; }
.export-links { margin: -.25rem 0 1rem; color: var(--muted); }
.spark { display: flex; align-items: flex-end; gap: 2px; height: 48px; margin: .25rem 0 .75rem; }
.spark-bar { flex: 1; background: var(--green); border-radius: 2px 2px 0 0; min-height: 2px; opacity: .85; }
.spark-h0 { height: 2px; background: var(--line); } .spark-h1 { height: 10%; } .spark-h2 { height: 20%; } .spark-h3 { height: 30%; } .spark-h4 { height: 40%; } .spark-h5 { height: 50%; }
.spark-h6 { height: 60%; } .spark-h7 { height: 70%; } .spark-h8 { height: 80%; } .spark-h9 { height: 90%; } .spark-h10 { height: 100%; }
.grow-grid { display: grid; gap: .75rem; }
@media (min-width: 700px) { .grow-grid { grid-template-columns: repeat(3, 1fr); } }
.grow-tile { display: flex; flex-direction: column; gap: .2rem; padding: 1rem; border-radius: var(--radius-sm); background: var(--bg); text-decoration: none; color: var(--ink); }
.grow-tile strong { font-family: var(--font-brand); color: var(--navy); }
.grow-tile span { font-size: .875rem; color: var(--muted); }
.grow-tile:hover { background: var(--green-soft); color: var(--ink); }

/* messages */
.enquiry-list { list-style: none; padding: 0; margin: 0; }
.enquiry.is-new { border-left: 4px solid var(--green); }
.enquiry-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.enquiry-head .sub { display: block; font-size: .8125rem; color: var(--muted); }
.enquiry-body { margin: .75rem 0; overflow-wrap: anywhere; }
.pay-list { list-style: none; padding: 0; margin: 0; }
.pay-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.pay-list li:last-child { border-bottom: 0; }
.pay-list .sub { display: block; font-size: .8125rem; color: var(--muted); }
.card-quote { border-left: 4px solid var(--gold); }
.quote-price { font-family: var(--font-brand); font-weight: 800; font-size: 1.4rem; color: var(--navy); }

/* share kit */
.share-link { overflow-wrap: anywhere; }
.qr-preview canvas { width: 220px; height: 220px; border: 1px solid var(--line); border-radius: 8px; image-rendering: pixelated; }
.status-preview canvas { width: 180px; height: 320px; border-radius: 12px; box-shadow: var(--shadow); margin: .5rem 0 1rem; }
.chips-choice .chip input { margin: 0 .35rem 0 0; }

/* admin: embeds, files, phone preview */
.embed-list { margin: 0; }
.embed-list > div { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.embed-list dt { font-weight: 600; font-size: .875rem; margin-bottom: .2rem; }
.embed-list dd { margin: 0; overflow-wrap: anywhere; }
.embed-list code { display: block; white-space: pre-wrap; cursor: copy; }
.file-thumb { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 90px; font-family: var(--font-brand); font-weight: 800; color: var(--red); background: var(--red-soft); }
.phone-stage { display: flex; flex-direction: column; align-items: center; padding: 1rem; }
.phone-frame { border: 12px solid #1b2433; border-radius: 36px; overflow: hidden; background: #fff; box-shadow: var(--shadow); max-width: 100%; }
.phone-frame iframe { display: block; border: 0; max-width: 100%; }

/* receipts and print */
.print-body { background: var(--bg); }
.print-tools { display: flex; justify-content: space-between; gap: .5rem; max-width: 46rem; margin: 1rem auto; padding: 0 1rem; }
.receipt { max-width: 46rem; margin: 0 auto 2rem; background: var(--white); padding: 2rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 640px) { .receipt { padding: 2.5rem 3rem; } }
.receipt-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 2px solid var(--navy); padding-bottom: 1rem; margin-bottom: 1.25rem; }
.receipt-seller { font-family: var(--font-brand); font-weight: 800; font-size: 1.15rem; color: var(--navy); margin: 0 0 .2rem; }
.receipt-small { font-size: .8125rem; color: var(--muted); margin: 0; }
.receipt-title { text-align: right; }
.receipt-title h1 { margin: 0; }
.receipt-stamp { display: inline-block; margin: .35rem 0 0; padding: .15rem .7rem; border: 2px solid var(--green); color: var(--green-dark); border-radius: 6px; font-family: var(--font-brand); font-weight: 800; transform: rotate(-4deg); }
.receipt-meta { display: grid; gap: .75rem 1.5rem; margin: 0 0 1.5rem; }
@media (min-width: 560px) { .receipt-meta { grid-template-columns: 1fr 1fr; } }
.receipt-meta dt { font-size: .8125rem; color: var(--muted); }
.receipt-meta dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.receipt-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.receipt-table th, .receipt-table td { padding: .65rem .25rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.receipt-table tfoot th, .receipt-table tfoot td { border-bottom: 0; font-size: 1.05rem; }
.receipt-table .right { text-align: right; }
.receipt-foot { margin-top: 1rem; }
@media print {
    .print-tools { display: none; }
    .print-body { background: #fff; }
    .receipt { box-shadow: none; margin: 0; padding: 0; max-width: none; }
}

/* ── Public pages: landing, terms, privacy ── */
.public-body { background: var(--white); }
.pub-wrap { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .pub-wrap { padding: 0 1.5rem; } }
.pub-head { background: var(--navy); color: var(--white); }
.pub-head-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.pub-brand { color: var(--white); text-decoration: none; }
.pub-brand:hover { color: var(--white); }
.pub-nav { display: flex; align-items: center; gap: 1rem; }
.pub-nav a:not(.btn) { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.pub-nav a:not(.btn):hover { color: var(--white); }
.pub-nav-hide { display: none; }
@media (min-width: 720px) { .pub-nav-hide { display: inline; } }

.hero { background: var(--navy); color: var(--white); padding: 2.5rem 0 3.5rem; overflow: hidden; }
@media (min-width: 900px) { .hero { padding: 4rem 0 5rem; } }
.hero-title { color: var(--white); font-size: clamp(2rem, 1.2rem + 3.6vw, 3.6rem); line-height: 1.08; letter-spacing: -.025em; max-width: 18ch; margin-bottom: 1rem; }
.hero-lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: rgba(255,255,255,.82); max-width: 38rem; margin-bottom: 2rem; }
.address-builder { max-width: 46rem; }
.ab-label { display: block; font-weight: 600; margin-bottom: .45rem; color: rgba(255,255,255,.9); }
.ab-row { display: flex; flex-direction: column; gap: .5rem; }
@media (min-width: 600px) { .ab-row { flex-direction: row; } }
.ab-row input { flex: 1; min-width: 0; min-height: 52px; padding: .75rem 1rem; font-size: 1.05rem; border-radius: var(--radius-sm); border: 2px solid transparent; }
.ab-row input:focus { border-color: var(--gold); outline: none; }
.ab-row .btn { min-height: 52px; white-space: nowrap; }
.ab-address { font-family: var(--font-brand); font-weight: 800; font-size: clamp(1.5rem, .9rem + 3.4vw, 3.1rem); letter-spacing: -.02em; line-height: 1.15; margin: 1.5rem 0 .4rem; overflow-wrap: anywhere; }
.ab-label-part { color: var(--white); box-shadow: inset 0 -.18em 0 var(--gold); }
.ab-ext { color: rgba(255,255,255,.55); }
.ab-status { color: rgba(255,255,255,.75); font-size: .9375rem; min-height: 1.5em; }
.is-free .ab-status { color: #8BE0B0; }
.is-taken .ab-status { color: #FFC2B8; }
.is-taken .ab-label-part { box-shadow: inset 0 -.18em 0 #E0654F; }
.hero-note { color: var(--gold); font-weight: 600; margin-top: 1rem; }

.sec-title { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; max-width: 22ch; margin-bottom: .75rem; }
.sec-lede { color: var(--muted); font-size: 1.05rem; max-width: 40rem; margin-bottom: 2rem; }

.showcase { padding: 3.5rem 0 3rem; background: #EEF2F7; }
.phones { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem 1rem 1.5rem; max-width: 72rem; margin: 0 auto; }
@media (min-width: 900px) { .phones { justify-content: center; overflow: visible; gap: 2.5rem; } .phone:nth-child(2) { transform: translateY(-1.5rem); } }
.phone { flex: none; width: 230px; margin: 0; scroll-snap-align: center; }
.phone-screen { height: 440px; border: 9px solid #111a29; border-radius: 30px; overflow: hidden; background: var(--white); box-shadow: 0 18px 40px rgba(14,34,64,.18); font-family: var(--font-body); }
.phone figcaption { text-align: center; font-size: .875rem; color: var(--muted); margin-top: .75rem; }
.ms-hero { padding: 1.4rem 1rem 1.2rem; }
.ms-h { font-family: var(--font-brand); font-weight: 800; font-size: 1.15rem; line-height: 1.15; margin: 0 0 .35rem; }
.ms-p { font-size: .8rem; line-height: 1.4; margin: 0 0 .8rem; opacity: .85; }
.ms-btn { display: inline-block; font-size: .75rem; font-weight: 700; padding: .45rem .8rem; border-radius: 999px; }
.ms-logo { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; font-family: var(--font-brand); font-weight: 800; margin-bottom: .6rem; }
.phone-food .ms-hero { background: #B5361C; color: #FFF6E9; }
.phone-food .ms-logo { background: #FFF6E9; color: #B5361C; }
.phone-food .ms-btn { background: #F2B134; color: #3B1407; }
.ms-menu { padding: .8rem 1rem; background: #FFF6E9; height: 100%; }
.ms-menu p { display: flex; justify-content: space-between; font-size: .8rem; border-bottom: 1px dashed #E3C9A8; padding: .45rem 0; margin: 0; color: #3B1407; }
.phone-beauty .phone-screen { background: #1C1418; }
.phone-beauty .ms-hero { color: #F7E3E8; text-align: center; padding-top: 2rem; }
.phone-beauty .ms-h { font-size: 1.5rem; letter-spacing: .02em; }
.phone-beauty .ms-btn { background: #E8A0B4; color: #1C1418; }
.ms-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 0 .75rem; }
.ms-gallery span { height: 72px; border-radius: 6px; background: linear-gradient(135deg, #6E3A4C, #C77D93); }
.ms-gallery span:nth-child(2), .ms-gallery span:nth-child(3) { background: linear-gradient(135deg, #3A2730, #8E5468); }
.ms-hours { color: #E8A0B4; font-size: .75rem; text-align: center; margin: .8rem 0 0; }
.phone-auto .ms-hero { background: linear-gradient(160deg, #1F3A5A, #2E5D8A); color: #fff; }
.phone-auto .ms-btn { background: #F5C518; color: #1F2A36; }
.ms-cars { padding: .6rem .8rem; }
.ms-cars p { display: flex; flex-direction: column; background: #F2F5F9; border-radius: 8px; padding: .55rem .7rem; margin: 0 0 .5rem; font-size: .78rem; }
.ms-cars span { color: #2E5D8A; font-weight: 700; }
.ms-map { margin: 0 .8rem; height: 70px; border-radius: 8px; background: repeating-linear-gradient(45deg, #DDE6EF 0 8px, #E8EEF5 8px 16px); color: #4A5B70; font-size: .72rem; display: flex; align-items: flex-end; padding: .4rem .5rem; }

.how { padding: 4rem 0; }
.how-steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0; counter-reset: step; }
.how-steps li { counter-increment: step; position: relative; padding: 0 0 2rem 3.5rem; }
.how-steps li::before { content: counter(step); position: absolute; left: 0; top: -.15rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--font-brand); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.how-steps li::after { content: ""; position: absolute; left: 1.2rem; top: 2.4rem; bottom: .2rem; width: 2px; background: var(--line); }
.how-steps li:last-child::after { display: none; }
.how-steps li:last-child::before { background: var(--green); }
.how-steps h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.how-steps p { color: var(--muted); margin: 0; max-width: 34rem; }
@media (min-width: 900px) {
    .how-steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
    .how-steps li { padding: 3.5rem 0 0; }
    .how-steps li::after { left: 2.4rem; right: -2rem; top: 1.2rem; bottom: auto; width: auto; height: 2px; }
}

.features { padding: 4rem 0; background: var(--navy); color: var(--white); }
.features .sec-title { color: var(--white); }
.features .sec-lede { color: rgba(255,255,255,.75); }
.features-inner { display: grid; gap: 1rem; }
@media (min-width: 960px) { .features-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 3rem; } }
.feature-list { margin: 0; display: grid; gap: 1.4rem 2rem; }
@media (min-width: 640px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-list > div { border-top: 2px solid var(--gold); padding-top: .75rem; }
.feature-list dt { font-family: var(--font-brand); font-weight: 700; font-size: 1.05rem; margin-bottom: .3rem; }
.feature-list dd { margin: 0; color: rgba(255,255,255,.75); }

.pricing { padding: 4rem 0; }
.price-grid { display: grid; gap: 1.25rem; max-width: 52rem; }
@media (min-width: 720px) { .price-grid { grid-template-columns: 1fr 1fr; } }
.price { border: 1px solid var(--line); border-radius: 16px; padding: 1.75rem 1.5rem; display: flex; flex-direction: column; }
.price h3 { font-size: 1.25rem; }
.price-amount { font-family: var(--font-brand); font-weight: 800; font-size: 2.4rem; letter-spacing: -.02em; color: var(--navy); margin: .25rem 0 .5rem; }
.price-amount span { font-size: .95rem; font-weight: 600; color: var(--muted); margin-left: .35rem; letter-spacing: 0; }
.price-blurb { color: var(--muted); }
.price ul { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.price li { padding: .45rem 0 .45rem 1.6rem; position: relative; border-top: 1px solid var(--line); }
.price li::before { content: ""; position: absolute; left: .2rem; top: .95rem; width: .7rem; height: .38rem; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.price-plus { background: var(--navy); border-color: var(--navy); color: var(--white); }
.price-plus h3, .price-plus .price-amount { color: var(--white); }
.price-plus .price-amount span, .price-plus .price-blurb { color: rgba(255,255,255,.7); }
.price-plus li { border-top-color: rgba(255,255,255,.15); }
.price-plus li::before { border-color: var(--gold); }
.price-note { color: var(--muted); margin-top: 1.25rem; max-width: 40rem; }

.faq { padding: 1rem 0 4rem; }
.faq-list { max-width: 48rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-list summary { font-family: var(--font-brand); font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { margin: .75rem 0 0; color: var(--muted); max-width: 40rem; }

.closing { background: var(--green); color: var(--white); padding: 3.5rem 0; }
.closing h2 { color: var(--white); font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; max-width: 22ch; }
.closing p { color: rgba(255,255,255,.88); font-size: 1.05rem; }
.closing-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

.pub-foot { background: #0A1A33; color: rgba(255,255,255,.7); padding: 2rem 0; font-size: .9375rem; }
.pub-foot .wordmark { color: var(--white); }
.pub-foot p { margin: .5rem 0 0; }
.pub-foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem; }
.pub-foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; }
.pub-foot a { color: rgba(255,255,255,.85); }

.legal { max-width: 46rem; padding-top: 2.5rem; padding-bottom: 3rem; }
.legal h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.legal h2 { font-size: 1.15rem; margin-top: 2rem; }
.legal-meta { color: var(--muted); }
.legal li { margin-bottom: .4rem; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

.hero-phone { display: none; }
@media (min-width: 1000px) {
    .hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; align-items: center; }
    .hero-phone { display: block; transform: rotate(3deg); }
}
.hp-screen { border: 10px solid #050d1c; border-radius: 34px; background: var(--white); overflow: hidden; height: 540px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.hp-bar { margin: 0; padding: .7rem .8rem; background: #EEF2F7; color: var(--ink); font-size: .78rem; font-weight: 600; display: flex; align-items: center; gap: .35rem; overflow: hidden; white-space: nowrap; }
.hp-lock { width: 9px; height: 8px; background: var(--green); border-radius: 2px; position: relative; flex: none; margin-top: 3px; }
.hp-lock::before { content: ""; position: absolute; left: 1px; top: -5px; width: 5px; height: 6px; border: 1.5px solid var(--green); border-bottom: 0; border-radius: 4px 4px 0 0; }
.hp-site { padding: 1.4rem 1.1rem; }
.hp-name { font-family: var(--font-brand); font-weight: 800; font-size: 1.5rem; line-height: 1.1; color: var(--navy); margin: 0 0 .9rem; overflow-wrap: anywhere; }
.hp-line { height: 9px; border-radius: 5px; background: #E3E8EF; margin: 0 0 .5rem; }
.hp-short { width: 60%; }
.hp-btn { display: inline-block; margin: .6rem 0 1rem; background: var(--green); color: #fff; font-size: .75rem; font-weight: 700; padding: .5rem .9rem; border-radius: 999px; }
.hp-photo { height: 150px; border-radius: 12px; background: linear-gradient(135deg, var(--gold), #C77B12); margin-bottom: 1rem; }
.hp-url { overflow: hidden; text-overflow: ellipsis; }

/* ── 0.8.0: app shell (client and admin) ─────────────────────────────── */
:root { --bg: #F2F4F8; --side-w: 264px; --top-h: 60px; --radius: 14px; --shadow: 0 1px 2px rgba(14,34,64,.05), 0 8px 24px rgba(14,34,64,.06); }
.icon { flex: none; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.app-top { position: sticky; top: 0; z-index: 40; height: var(--top-h); display: flex; align-items: center; gap: .75rem; padding: 0 1rem; background: var(--navy); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 6px 18px rgba(8,20,40,.18); }
.app-top-brand { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.app-top-brand:hover { color: #fff; }
.app-top-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.menu-btn { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; cursor: pointer; color: #fff; }
.menu-btn:hover { background: rgba(255,255,255,.1); }
.top-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; font-weight: 600; font-size: .875rem; }
.top-chip:hover { background: rgba(255,255,255,.18); color: #fff; }
.top-chip span { display: none; }
@media (min-width: 560px) { .top-chip span { display: inline; } }
.top-icon { position: relative; display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; color: #fff; }
.top-icon:hover { background: rgba(255,255,255,.1); color: #fff; }
.dot { position: absolute; top: 8px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--navy); }

.app-shell { display: block; min-height: calc(100vh - var(--top-h)); }
.app-main { min-width: 0; padding-bottom: 72px; }
.side { position: fixed; z-index: 60; top: 0; bottom: 0; left: 0; width: min(86vw, 300px); background: #fff; overflow-y: auto; transform: translateX(-105%); transition: transform .22s ease; box-shadow: 8px 0 30px rgba(8,20,40,.25); padding: 1rem .75rem 2rem; }
.nav-toggle:checked ~ .app-shell .side { transform: none; }
.nav-scrim { display: none; }
.nav-toggle:checked ~ .app-shell .nav-scrim { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(8,20,40,.45); }
.side-brand { display: flex; align-items: center; gap: .5rem; color: var(--navy); text-decoration: none; padding: .5rem .6rem 1rem; }
.side-site { margin: 0 .25rem 1rem; padding: .9rem 1rem; border-radius: 12px; background: linear-gradient(135deg, #EEF3FB, #F7F9FC); border: 1px solid var(--line); }
.side-site-name { font-family: var(--font-brand); font-weight: 700; color: var(--navy); margin: 0; line-height: 1.25; }
.side-site-url { font-size: .8125rem; color: var(--muted); margin: .15rem 0 .5rem; overflow-wrap: anywhere; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-group { font-size: .75rem; font-weight: 700; color: var(--muted); margin: 1rem .75rem .35rem; }
.side-link { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .6rem .75rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; border: 0; background: none; cursor: pointer; text-align: left; font-family: inherit; }
.side-link .icon { color: var(--muted); }
.side-link:hover { background: var(--bg); color: var(--navy); }
.side-link.is-active { background: #E9EFF9; color: var(--navy); box-shadow: inset 3px 0 0 var(--green); }
.side-link.is-active .icon { color: var(--green); }
.side-link .nav-count { margin-left: auto; }
.side-link .nav-flag { margin-left: auto; }
.side-logout { margin: 0; }
.private-bar { position: sticky; top: var(--top-h); z-index: 30; }

.tabbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); padding: .3rem .25rem calc(.3rem + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(14,34,64,.06); }
.tabbar a, .tabbar label { position: relative; display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .35rem 0; color: var(--muted); text-decoration: none; font-size: .6875rem; font-weight: 600; cursor: pointer; }
.tabbar .is-active { color: var(--green-dark); }
.tabbar .dot { top: 2px; right: calc(50% - 16px); box-shadow: 0 0 0 2px #fff; }

@media (min-width: 960px) {
    .menu-btn, .tabbar, .nav-scrim, .side-brand { display: none !important; }
    .app-top { padding: 0 1.5rem; }
    .app-shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); }
    .side { position: sticky; top: var(--top-h); height: calc(100vh - var(--top-h)); width: auto; transform: none; box-shadow: none; border-right: 1px solid var(--line); z-index: 10; padding-top: 1.25rem; }
    .app-main { padding-bottom: 0; }
}
.page { max-width: 1040px; padding: 1.5rem 1rem 3rem; }
@media (min-width: 640px) { .page { padding: 2rem 1.5rem 3rem; } }
@media (min-width: 960px) { .page { padding: 2.25rem 2.5rem 3rem; } }
.page-admin { max-width: 1200px; }
.card { border-color: #E3E8F0; }
.card-title { font-size: 1.0625rem; }
.hello h1 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.1rem); letter-spacing: -.02em; }

/* ── 0.8.0: dashboard ─────────────────────────────────────────────────── */
.dash-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.dash-greet { color: var(--muted); font-weight: 600; margin: 0 0 .2rem; }
.dash-head h1 { margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); letter-spacing: -.02em; }
.dash-address { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .5rem 0 0; font-weight: 600; color: var(--navy-3); }
.dash-address a.small { font-weight: 600; }
.dash-grid { display: grid; gap: 1.25rem; }
@media (min-width: 1000px) { .dash-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; } }
.dash-grid > .card, .dash-col > .card { margin-bottom: 0; }
.dash-col { display: grid; gap: 1.25rem; }
.site-hero { padding: 0; overflow: hidden; }
.site-hero-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: 1.1rem 1.25rem; }
.site-hero-top h2 { margin: 0; font-size: 1.15rem; display: flex; align-items: center; gap: .55rem; }
.browser { margin: 0 1.25rem 1.25rem; border: 1px solid #DCE3EE; border-radius: 12px; overflow: hidden; background: #fff; }
.browser-bar { display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem; background: #F1F4F9; border-bottom: 1px solid #DCE3EE; font-size: .8125rem; color: var(--muted); }
.browser-dots { display: inline-flex; gap: 5px; }
.browser-dots i { width: 9px; height: 9px; border-radius: 50%; background: #D3DAE5; display: block; }
.browser-url { flex: 1; min-width: 0; background: #fff; border-radius: 6px; padding: .2rem .6rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-view { position: relative; height: 340px; overflow: hidden; }
.browser-view iframe { position: absolute; top: 0; left: 0; width: 200%; height: 200%; border: 0; transform: scale(.5); transform-origin: 0 0; pointer-events: none; }
@media (min-width: 700px) { .browser-view { height: 380px; } .browser-view iframe { width: 250%; height: 250%; transform: scale(.4); } }
.browser-cover { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: .75rem; text-decoration: none; }
.browser-cover span { background: rgba(14,34,64,.85); color: #fff; padding: .4rem .8rem; border-radius: 999px; font-size: .8125rem; font-weight: 600; opacity: 0; transition: opacity .15s; }
.browser-cover:hover span, .browser-cover:focus span { opacity: 1; }
.site-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.site-facts > div { padding: .9rem 1.25rem; border-right: 1px solid var(--line); min-width: 0; }
.site-facts > div:last-child { border-right: 0; }
.site-facts dt { font-size: .75rem; color: var(--muted); font-weight: 600; }
.site-facts dd { margin: .15rem 0 0; font-family: var(--font-brand); font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
@media (max-width: 520px) { .site-facts { grid-template-columns: 1fr; } .site-facts > div { border-right: 0; border-bottom: 1px solid var(--line); } }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.kpi { background: #fff; border: 1px solid #E3E8F0; border-radius: 14px; padding: .9rem 1rem; box-shadow: var(--shadow); min-width: 0; }
.kpi-icon { display: inline-flex; width: 34px; height: 34px; border-radius: 10px; align-items: center; justify-content: center; background: var(--green-soft); color: var(--green-dark); margin-bottom: .5rem; }
.kpi-wa .kpi-icon { background: #E7F7EE; color: #1f9d55; }
.kpi-msg .kpi-icon { background: var(--gold-soft); color: #8A5A00; }
.kpi-value { font-family: var(--font-brand); font-weight: 800; font-size: clamp(1.35rem, 1rem + 1.5vw, 1.9rem); color: var(--navy); margin: 0; line-height: 1.1; }
.kpi-label { font-size: .8125rem; color: var(--muted); margin: .15rem 0 0; }
.kpi-trend { font-size: .75rem; font-weight: 700; margin: .25rem 0 0; color: var(--muted); }
.kpi-trend.up { color: var(--green-dark); }
.chart-card .spark { height: 72px; }
.todo-list { list-style: none; padding: 0; margin: 0; }
.todo-list li { display: flex; align-items: center; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.todo-list li:last-child { border-bottom: 0; }
.todo-check { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #CAD3E0; display: inline-flex; align-items: center; justify-content: center; color: transparent; }
.todo-list .is-done .todo-check { background: var(--green); border-color: var(--green); color: #fff; }
.todo-list .is-done .todo-text { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(90,101,120,.4); }
.todo-text { flex: 1; min-width: 0; }
.todo-text strong { display: block; color: var(--navy); font-size: .9375rem; }
.todo-text span { font-size: .8125rem; color: var(--muted); }
.todo-progress { height: 8px; border-radius: 999px; background: var(--bg); overflow: hidden; margin: .25rem 0 1rem; }
.todo-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), #3DBE7A); border-radius: 999px; }
.w0{width:0}.w1{width:10%}.w2{width:20%}.w3{width:30%}.w4{width:40%}.w5{width:50%}.w6{width:60%}.w7{width:70%}.w8{width:80%}.w9{width:90%}.w10{width:100%}
.mini-list { list-style: none; padding: 0; margin: 0; }
.mini-list li { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.mini-list li:last-child { border-bottom: 0; }
.mini-list a { text-decoration: none; color: var(--ink); display: block; }
.mini-list strong { color: var(--navy); }
.mini-list .sub { display: block; font-size: .8125rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.journey { display: grid; gap: 0; counter-reset: j; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .journey { grid-template-columns: repeat(5, 1fr); } }
.journey li { position: relative; padding: 0 0 1.1rem 2.9rem; }
@media (min-width: 760px) { .journey li { padding: 2.9rem .5rem 0 0; } }
.journey .j-mark { position: absolute; left: 0; top: 0; width: 2.1rem; height: 2.1rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-brand); font-weight: 800; font-size: .875rem; background: var(--bg); color: var(--muted); border: 2px solid #D6DEEA; z-index: 1; }
.journey li::after { content: ""; position: absolute; left: 1rem; top: 2.1rem; bottom: 0; width: 2px; background: #D6DEEA; }
@media (min-width: 760px) { .journey li::after { left: 2.1rem; right: 0; top: 1rem; bottom: auto; width: auto; height: 2px; } }
.journey li:last-child::after { display: none; }
.journey .is-done .j-mark { background: var(--green); border-color: var(--green); color: #fff; }
.journey .is-done::after { background: var(--green); }
.journey .is-current .j-mark { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 0 0 5px rgba(14,34,64,.12); }
.journey .j-title { font-family: var(--font-brand); font-weight: 700; color: var(--navy); margin: 0; font-size: .9375rem; }
.journey .j-text { color: var(--muted); font-size: .8125rem; margin: .2rem 0 0; }
.journey .is-todo .j-title { color: var(--muted); }
.status-hero { display: grid; gap: 1.25rem; align-items: center; background: linear-gradient(135deg, var(--navy), #1B3B6B); color: #fff; border: 0; padding: 1.5rem; }
@media (min-width: 760px) { .status-hero { grid-template-columns: minmax(0, 1fr) auto; padding: 1.75rem 2rem; } }
.status-hero h2 { color: #fff; font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); margin: 0 0 .4rem; }
.status-hero p { color: rgba(255,255,255,.82); margin: 0; max-width: 40rem; }
.status-hero .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.status-hero .btn-secondary:hover { border-color: #fff; color: #fff; }
.status-hero .btn-row { justify-content: flex-start; }
.status-hero.is-warn { background: linear-gradient(135deg, #7A1F14, #A3321F); }
.status-hero.is-wait { background: linear-gradient(135deg, #1B3B6B, #24508A); }

/* ── 0.8.0: forms, plans, domains, admin bits ─────────────────────────── */
.plan-choose { display: grid; gap: .75rem; }
@media (min-width: 640px) { .plan-choose { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.plan-card { position: relative; display: block; border: 2px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; cursor: pointer; background: #fff; }
.plan-card input { position: absolute; top: 1.05rem; right: 1rem; }
.plan-card.is-chosen, .plan-card:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.plan-card-head { display: flex; flex-direction: column; gap: .1rem; margin-bottom: .5rem; padding-right: 1.5rem; }
.plan-card-head strong { font-family: var(--font-brand); color: var(--navy); font-size: 1.05rem; }
.plan-card-price { font-family: var(--font-brand); font-weight: 800; color: var(--navy); font-size: 1.35rem; }
.plan-card-price small { font-size: .8rem; color: var(--muted); font-weight: 600; }
.plan-card-feats { list-style: none; padding: 0; margin: 0; font-size: .875rem; }
.plan-card-feats li { padding: .25rem 0 .25rem 1.3rem; position: relative; }
.plan-card-feats li::before { content: ""; position: absolute; left: .1rem; top: .6rem; width: .6rem; height: .32rem; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.price-lines { margin: 0 0 .75rem; max-width: 28rem; }
.price-lines > div { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px dashed var(--line); }
.price-lines dt { color: var(--muted); }
.price-lines dd { margin: 0; font-weight: 600; }
.price-lines .price-total { border-bottom: 0; }
.price-lines .price-total dt, .price-lines .price-total dd { color: var(--navy); font-family: var(--font-brand); font-weight: 800; font-size: 1.15rem; }
.inline-pair { display: flex; gap: .5rem; align-items: stretch; }
.inline-pair input { flex: 1; min-width: 0; }
.inline-pair select { width: auto; }
.coupon-form { margin-top: .75rem; max-width: 26rem; }
.row-off td { opacity: .55; }
.referral-balance { display: grid; gap: 1rem; align-items: center; }
@media (min-width: 640px) { .referral-balance { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }
.ref-meter { height: 14px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.ref-meter-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--green)); border-radius: 999px; }
.ref-w0{width:0}.ref-w1{width:5%}.ref-w2{width:10%}.ref-w3{width:15%}.ref-w4{width:20%}.ref-w5{width:25%}.ref-w6{width:30%}.ref-w7{width:35%}.ref-w8{width:40%}.ref-w9{width:45%}.ref-w10{width:50%}.ref-w11{width:55%}.ref-w12{width:60%}.ref-w13{width:65%}.ref-w14{width:70%}.ref-w15{width:75%}.ref-w16{width:80%}.ref-w17{width:85%}.ref-w18{width:90%}.ref-w19{width:95%}.ref-w20{width:100%}
.field-editor { display: grid; gap: .75rem; margin-bottom: .75rem; }
.field-row { display: grid; gap: .5rem .75rem; border: 1px solid var(--line); border-radius: 12px; padding: .85rem; margin: 0; min-width: 0; grid-template-columns: 4.2rem minmax(0, 1fr); }
.field-row.is-new { border-style: dashed; background: #FAFBFD; }
.field-row .field { margin: 0; }
.fr-label { grid-column: 2; }
.fr-type, .fr-options, .fr-checks { grid-column: 1 / -1; }
@media (min-width: 760px) { .field-row { grid-template-columns: 4.2rem minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1.6fr); } .fr-type, .fr-options { grid-column: auto; } }
.fr-checks { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.colour-input { width: 4rem; height: 44px; padding: 2px; }
.hours-table { width: 100%; max-width: 30rem; border-collapse: collapse; margin: .25rem 0 1rem; }
.hours-table th, .hours-table td { padding: .35rem .4rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.hours-table input[type=time] { min-height: 38px; padding: .3rem .4rem; }
.card-locked { background: linear-gradient(180deg, #fff, #FBF7EC); }
.form-preview { margin-top: 1rem; padding: 1.25rem; border: 1px dashed var(--line); border-radius: 12px; background: #fff; }
.tab-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.tab-row .chips { margin: 0; }
.booking-when { display: inline-flex; gap: .5rem; align-items: baseline; background: var(--green-soft); color: #0E5A33; padding: .35rem .75rem; border-radius: 999px; font-weight: 700; margin: .5rem 0 0; }
.booking-when.is-cancelled { background: var(--red-soft); color: var(--red); text-decoration: line-through; }
.answers { margin: .75rem 0 0; display: grid; gap: .25rem; }
.answers > div { display: grid; grid-template-columns: minmax(7rem, auto) 1fr; gap: .75rem; font-size: .9375rem; }
.answers dt { color: var(--muted); }
.answers dd { margin: 0; overflow-wrap: anywhere; }
.ns-list { margin: .5rem 0; }
.domain-wait { align-items: flex-start; }
.check-col { width: 2.5rem; }
.bulk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .6rem .75rem; margin-bottom: .75rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; position: sticky; top: calc(var(--top-h) + .5rem); z-index: 20; box-shadow: var(--shadow); }
.bulk-count { font-size: .875rem; color: var(--muted); margin-right: auto; }
.bulk-delete { display: inline-flex; gap: .4rem; align-items: center; }
.bulk-delete input { width: 8.5rem; min-height: 36px; padding: .35rem .6rem; }
.library-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.library-item { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.library-thumb { display: block; aspect-ratio: 4 / 3; background: repeating-conic-gradient(#F3F5F8 0 25%, #fff 0 50%) 0 0 / 16px 16px; }
.library-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.library-thumb .file-thumb { height: 100%; }
.library-meta { padding: .6rem .7rem .75rem; display: grid; gap: .3rem; }
.library-name { margin: 0; font-weight: 600; font-size: .875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.library-meta .sub { margin: 0; font-size: .75rem; color: var(--muted); }
.upload-drop { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.upload-drop .hint { margin: 0; flex: 1; min-width: 14rem; }

/* The client's form, previewed inside the dashboard (same classes as on their website) */
.ss-form { display: grid; gap: 14px; max-width: 560px; }
.ss-form-title { font-weight: 700; font-size: 1.1em; margin: 0; }
.ss-field { display: grid; gap: 6px; margin: 0; }
.ss-label { font-weight: 600; font-size: .95em; }
.ss-label small { font-weight: 400; opacity: .7; }
.ss-input { width: 100%; padding: 11px 12px; font: inherit; border: 1px solid rgba(0,0,0,.25); border-radius: 8px; background: #fff; }
.ss-booking { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.ss-submit { justify-self: start; padding: 12px 24px; font: inherit; font-weight: 600; border: 0; border-radius: 999px; background: #1f9d55; color: #fff; }
.grow-grid-stack { grid-template-columns: 1fr !important; }
.preview-note { padding: 0 1.25rem 1.25rem; margin: 0; }
.btn .icon { width: 18px; height: 18px; }
.dash-address .icon { width: 18px; height: 18px; }

/* ── Landing: sticky header and richer sample sites ────────────────── */
.pub-head { position: sticky; top: 0; z-index: 50; box-shadow: 0 6px 18px rgba(8,20,40,.18); }
.mock { position: relative; font-family: var(--font-body); display: flex; flex-direction: column; }
.mk-nav { display: flex; justify-content: space-between; align-items: center; padding: .7rem .9rem; font-size: .72rem; }
.mk-logo { font-weight: 800; letter-spacing: .02em; }
.mk-burger { width: 16px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
.mk-burger::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid currentColor; }
.mk-hero { position: relative; padding: .4rem .9rem 1.1rem; }
.mk-kicker { font-size: .62rem; letter-spacing: .04em; opacity: .8; margin: .4rem 0 .2rem; }
.mk-h { font-size: 1.25rem; line-height: 1.12; margin: 0 0 .65rem; font-weight: 800; }
.mk-btn { display: inline-block; font-size: .68rem; font-weight: 700; padding: .45rem .8rem; border-radius: 999px; }
.mk-sec { padding: .9rem; flex: 1; }
.mk-h2 { font-weight: 800; font-size: .85rem; margin: 0 0 .4rem; }
.mk-small { font-size: .62rem; opacity: .75; margin: .5rem 0 0; text-align: center; }
/* restaurant: warm, serif headline, a plate of jollof */
.mock-food { background: #FFF7EC; color: #3B1407; }
.mock-food .mk-nav { background: #FFF7EC; }
.mock-food .mk-logo { font-family: Georgia, "Times New Roman", serif; font-size: .85rem; font-style: italic; color: #A12A12; }
.mock-food .mk-hero { background: radial-gradient(120% 90% at 100% 0%, #F2B134 0 22%, transparent 23%), linear-gradient(160deg, #B5361C, #7A1F0E); color: #FFF3E3; border-radius: 0 0 22px 22px; }
.mock-food .mk-h { font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; max-width: 9em; }
.mock-food .mk-btn { background: #F2B134; color: #3B1407; }
.mk-plate { position: absolute; right: -18px; top: -6px; width: 92px; height: 92px; border-radius: 50%; background: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.25); }
.mk-plate i { position: absolute; inset: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 40%, #E86A2B 0 30%, #D2491D 31% 60%, #B9381A 61%); }
.mk-plate b { position: absolute; width: 24px; height: 16px; right: 18px; top: 26px; border-radius: 50% 50% 45% 45%; background: #8E4A1E; }
.mk-plate em { position: absolute; width: 10px; height: 10px; left: 24px; bottom: 24px; border-radius: 50%; background: #3E8E3A; }
.mk-menu p { display: flex; justify-content: space-between; gap: .5rem; font-size: .7rem; padding: .42rem 0; margin: 0; border-bottom: 1px dashed #E7CBA6; }
.mk-menu b { color: #A12A12; }
.mk-stars { font-size: .66rem; color: #E0A11B; margin: .6rem 0 0; }
.mk-stars span { color: #6B3A1F; font-style: italic; }
/* salon: dark, rose accents, portrait and booking slots */
.mock-beauty { background: #17110F; color: #F6E4E6; }
.mock-beauty .mk-logo { letter-spacing: .3em; font-size: .78rem; }
.mock-beauty .mk-hero { text-align: center; }
.mk-portrait { width: 96px; height: 116px; margin: .2rem auto .7rem; border-radius: 48px 48px 14px 14px; background: linear-gradient(180deg, #E8A0B4, #8E4A62); position: relative; overflow: hidden; }
.mk-portrait i { position: absolute; left: 50%; top: 22px; width: 44px; height: 54px; transform: translateX(-50%); border-radius: 50%; background: #6B3A2A; box-shadow: 0 46px 0 18px #3A1F18; }
.mock-beauty .mk-h { font-family: Georgia, serif; font-weight: 400; font-style: italic; font-size: 1.15rem; }
.mock-beauty .mk-btn { background: #E8A0B4; color: #17110F; }
.mk-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mk-gallery span { aspect-ratio: 1; border-radius: 6px; background: linear-gradient(135deg, #8E4A62, #E8A0B4); }
.mk-gallery span:nth-child(2) { background: linear-gradient(135deg, #3A2730, #B87A8E); }
.mk-gallery span:nth-child(3) { background: linear-gradient(135deg, #C77D93, #F3C5D1); }
.mk-slots { display: flex; gap: 4px; margin-top: .7rem; }
.mk-slots span { flex: 1; text-align: center; font-size: .58rem; padding: .35rem 0; border: 1px solid #5A3A44; border-radius: 6px; }
.mk-slots .on { background: #E8A0B4; color: #17110F; border-color: #E8A0B4; font-weight: 700; }
/* car dealer: steel blue, bold, car and map */
.mock-auto { background: #F3F6FA; color: #1F2A36; }
.mock-auto .mk-nav { background: #1F3A5A; color: #fff; }
.mock-auto .mk-hero { background: linear-gradient(170deg, #1F3A5A 0 55%, #2E5D8A); color: #fff; padding-bottom: 1.3rem; }
.mock-auto .mk-btn { background: #F5C518; color: #1F2A36; }
.mk-car { position: relative; height: 54px; margin: .3rem 0 .6rem; }
.mk-car i { position: absolute; left: 6px; right: 6px; bottom: 10px; height: 22px; border-radius: 10px 14px 6px 6px; background: #E8EEF5; }
.mk-car b { position: absolute; left: 40px; right: 46px; bottom: 30px; height: 18px; border-radius: 14px 18px 0 0; background: #C9D6E5; }
.mk-car em, .mk-car::after { content: ""; position: absolute; bottom: 2px; width: 18px; height: 18px; border-radius: 50%; background: #0F1A26; border: 3px solid #8FA3BA; }
.mk-car em { left: 22px; }
.mk-car::after { right: 26px; }
.mk-list p { display: flex; flex-direction: column; background: #fff; border-radius: 10px; padding: .5rem .65rem; margin: 0 0 .45rem; font-size: .7rem; box-shadow: 0 2px 6px rgba(31,42,54,.08); }
.mk-list span { color: #2E5D8A; font-weight: 700; }
.mk-mapbox { position: relative; height: 70px; border-radius: 10px; background: linear-gradient(90deg, transparent 48%, #fff 48% 52%, transparent 52%), linear-gradient(0deg, transparent 40%, #fff 40% 46%, transparent 46%), #D8E4D0; }
.mk-pin { position: absolute; left: 56%; top: 18px; width: 16px; height: 16px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #D23B2A; }
.phone-screen { height: 470px; }
.todo-text { text-decoration: none; color: inherit; } .todo-text:hover strong { color: var(--green-dark); }
.hours-table input[type=time] { width: auto; }
.search .btn { white-space: nowrap; flex: none; }
.mock-food .mk-h { max-width: 7.2em; }
.mk-plate { width: 76px; height: 76px; right: -14px; top: 4px; }
.mk-plate i { inset: 11px; }
.mk-plate b { width: 20px; height: 13px; right: 14px; top: 20px; }
.mk-plate em { left: 19px; bottom: 19px; }
