﻿*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6, p, div, section, article {
    outline: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f5f5f7;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
}

/* в”Ђв”Ђ Full-page background (uploaded image) в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.page-bg {
    position: fixed;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Card with a photo background — image is applied inline; just soften the border */
.card.card-has-bg {
    border-color: rgba(255, 255, 255, 0.45);
}

.card.theme-dark.card-has-bg,
.card.theme-ocean.card-has-bg,
.card.theme-noir.card-has-bg {
    border-color: rgba(255, 255, 255, 0.18);
}

/* Preview wrapper — fixed iPhone viewport with same body padding as the real landing page */
.preview-bg-wrapper {
    width: 390px;
    flex-shrink: 0;
    background: #f5f5f7;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    box-shadow: 0 2px 16px rgba(0,0,0,.10);
}

/* в”Ђв”Ђ Landing Card в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.card {
    width: 100%;
    max-width: 420px;
    background: var(--card-bg, #fff);
    border-radius: 20px;
    border: 1px solid var(--card-border, #e5e5e5);
    box-shadow: 0 4px 24px rgba(0, 0, 0, .07);
    padding: 2.5rem 26px;
    text-align: center;
    margin: auto;
}

/* в”Ђв”Ђ Themes в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.theme-dark {
    --card-bg: #1a1a2e;
    --card-border: #2d2d4e;
    --card-text: #e2e8f0;
    --tagline-color: #94a3b8;
    --btn-bg: #7c3aed;
    --btn-text: #fff;
}

.theme-dark .btn-review {
    background: linear-gradient(135deg, #2d1060 0%, #7c3aed 40%, #a47af7 55%, #7c3aed 75%, #2d1060 100%);
    background-size: 200% 200%;
    animation: btn-shimmer 6s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(124, 58, 237, .45), 0 2px 8px rgba(0,0,0,.3);
    transition: box-shadow .2s, transform .15s, opacity .15s;
}

.theme-dark .btn-review:hover {
    opacity: 1;
    box-shadow: 0 6px 28px rgba(124, 58, 237, .65), 0 4px 12px rgba(0,0,0,.35);
    transform: translateY(-1px);
}

.theme-ocean {
    --card-bg: #0a4072;
    --card-border: #1565c0;
    --card-text: #e3f2fd;
    --tagline-color: #90caf9;
    --btn-bg: #00b4d8;
    --btn-text: #fff;
}

.theme-ocean .btn-review {
    background: linear-gradient(135deg, #004a6e 0%, #00b4d8 40%, #67d9f5 55%, #00b4d8 75%, #004a6e 100%);
    background-size: 200% 200%;
    animation: btn-shimmer 6s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(0, 180, 216, .45), 0 2px 8px rgba(0,0,0,.3);
    transition: box-shadow .2s, transform .15s, opacity .15s;
}

.theme-ocean .btn-review:hover {
    opacity: 1;
    box-shadow: 0 6px 28px rgba(0, 180, 216, .65), 0 4px 12px rgba(0,0,0,.35);
    transform: translateY(-1px);
}

.theme-warm {
    --card-bg: #fffbf5;
    --card-border: #fde8c8;
    --card-text: #7c2d12;
    --tagline-color: #9a3412;
    --btn-bg: #ea580c;
    --btn-text: #fff;
}

.theme-warm .btn-review {
    background: linear-gradient(135deg, #431407 0%, #9a2d0a 40%, #c2410c 55%, #9a2d0a 75%, #431407 100%);
    background-size: 200% 200%;
    animation: btn-shimmer 6s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(154, 45, 10, .45), 0 2px 8px rgba(0,0,0,.25);
    transition: box-shadow .2s, transform .15s, opacity .15s;
}

.theme-warm .btn-review:hover {
    opacity: 1;
    box-shadow: 0 6px 28px rgba(154, 45, 10, .65), 0 4px 12px rgba(0,0,0,.3);
    transform: translateY(-1px);
}

/* в”Ђв”Ђ Premium themes в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

/* Clinic вЂ” clean medical white */
.theme-clinic {
    --card-text:     #0f2a44;
    --tagline-color: #4a6fa5;
}

body:has(.card.theme-clinic) {
    background: linear-gradient(135deg, #d5e8f5 0%, #a8c8e0 100%);
}

.card.theme-clinic {
    background: linear-gradient(135deg, #eef4fb 0%, #c8ddef 100%);
    border: 1px solid rgba(200, 225, 245, 0.6);
    box-shadow: 0 8px 40px rgba(15,42,68,.2), 0 2px 12px rgba(15,42,68,.1);
}

.theme-clinic .btn-review {
    background: #0f2a44;
    box-shadow: 0 4px 20px rgba(15,42,68,.4);
    transition: box-shadow .2s, transform .15s, opacity .15s;
}

.theme-clinic .btn-review:hover {
    opacity: 1;
    box-shadow: 0 6px 28px rgba(15,42,68,.6);
    transform: translateY(-1px);
}


/* LumiГЁre вЂ” luxury beauty / salon */
.theme-lumiere {
    --card-text:     #2d1810;
    --tagline-color: #7a5a4a;
}

body:has(.card.theme-lumiere) {
    background: linear-gradient(135deg, #f0e0c0 0%, #c9956a 100%);
}

.card.theme-lumiere {
    border: 2px solid transparent;
    background:
        linear-gradient(135deg, #faf0e0 0%, #e8c9a0 60%, #c9956a 100%) padding-box,
        linear-gradient(135deg, #c9956a, #e8c9a0, #d4a574, #c9956a) border-box;
    box-shadow: 0 8px 40px rgba(180,120,60,.25), 0 2px 8px rgba(180,120,60,.12);
    overflow: hidden;
}

.card.theme-lumiere::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 70px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C200,100 400,0 600,50 C800,100 1000,10 1200,40 L1200,120 L0,120 Z' fill='%23c9956a'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: 100% 100%;
    opacity: .12;
    pointer-events: none;
}

.theme-lumiere .business-name { text-shadow: 0 2px 20px rgba(180,120,60,.2); }

.theme-lumiere .btn-review {
    background: linear-gradient(135deg, #1a0d07 0%, #4a2210 40%, #8b4523 55%, #4a2210 75%, #1a0d07 100%);
    background-size: 200% 200%;
    animation: btn-shimmer 6s ease-in-out infinite;
    box-shadow: 0 4px 24px rgba(180,120,60,.5), 0 2px 8px rgba(45,24,16,.3);
    transition: box-shadow .2s, transform .15s, opacity .15s;
}

.theme-lumiere .btn-review:hover {
    opacity: 1;
    box-shadow: 0 6px 32px rgba(180,120,60,.7), 0 4px 12px rgba(45,24,16,.4);
    transform: translateY(-1px);
}


/* Noir вЂ” dark luxury hotel lobby */
.theme-noir {
    --card-text:     #f0e8d8;
    --tagline-color: #b0a07a;
}

body:has(.card.theme-noir) {
    background: linear-gradient(135deg, #0d0c0a 0%, #3a2a08 100%);
}

.card.theme-noir {
    border: 1.5px solid transparent;
    background:
        linear-gradient(135deg, #0d0c0a 0%, #6b5420 50%, #0d0c0a 100%) padding-box,
        linear-gradient(135deg, #6b5420, #c9a84c, #f0d885, #c9a84c, #6b5420) border-box;
    box-shadow: 0 8px 48px rgba(0,0,0,.55), 0 0 80px rgba(180,140,60,.08);
    overflow: hidden;
}

.card.theme-noir::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,.7), transparent);
    pointer-events: none;
}

.theme-noir .business-name { text-shadow: 0 0 40px rgba(201,168,76,.35); }

.theme-noir .btn-review {
    background: linear-gradient(135deg, #c9a84c 0%, #f0d885 50%, #c9a84c 100%);
    color: #0e0e10;
    box-shadow: 0 4px 24px rgba(201,168,76,.45), 0 0 40px rgba(201,168,76,.18);
    transition: box-shadow .2s, transform .15s, opacity .15s;
}

.theme-noir .btn-review:hover {
    opacity: 1;
    box-shadow: 0 6px 32px rgba(201,168,76,.65), 0 0 60px rgba(201,168,76,.3);
    transform: translateY(-1px);
}


/* Sage вЂ” spa / wellness */
.theme-sage {
    --card-text:     #1a3a1a;
    --tagline-color: #3a6a3a;
}

body:has(.card.theme-sage) {
    background: linear-gradient(135deg, #d0e8d0 0%, #2d5a2d 100%);
}

.card.theme-sage {
    background: linear-gradient(135deg, #f0f5ef 0%, #b8d4b8 60%, #2d5a2d 100%);
    border: 1px solid rgba(160, 210, 160, 0.5);
    box-shadow: 0 8px 40px rgba(45,90,45,.18);
    overflow: hidden;
}

.card.theme-sage::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,50 C150,10 350,90 600,50 C850,10 1050,90 1200,50 L1200,120 L0,120 Z' fill='%232d5a2d'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: 100% 100%;
    opacity: .1;
    pointer-events: none;
}

.theme-sage .btn-review {
    background: #2d5a2d;
    box-shadow: 0 4px 20px rgba(45,90,45,.4);
    transition: box-shadow .2s, transform .15s, opacity .15s;
}

.theme-sage .btn-review:hover {
    opacity: 1;
    box-shadow: 0 6px 28px rgba(45,90,45,.6);
    transform: translateY(-1px);
}

.card-emoji {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.business-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.business-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--card-text, #1d1d1f);
    letter-spacing: -0.01em;
    margin-bottom: 0.4rem;
}

.business-name:focus { outline: none; }

.tagline {
    font-size: 1rem;
    color: var(--tagline-color, #6e6e73);
    margin-bottom: 1rem;
}

.btn-review {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #1e0f06 0%, #5c2e18 40%, #9b5c30 55%, #5c2e18 75%, #1e0f06 100%);
    background-size: 200% 200%;
    animation: btn-shimmer 6s ease-in-out infinite;
    color: #fff;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 20px rgba(80, 30, 5, .4), 0 2px 8px rgba(0,0,0,.2);
    transition: box-shadow .2s, transform .15s, opacity .15s;
}

@keyframes btn-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}

.btn-review:hover  { opacity: 1; box-shadow: 0 6px 28px rgba(80, 30, 5, .58), 0 4px 12px rgba(0,0,0,.28); transform: translateY(-1px); }
.btn-review:active { transform: scale(.98); }

.g-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    background: #fff;
    border-radius: 50%;
}

.g-icon svg {
    width: 20px;
    height: 20px;
}

/* в”Ђв”Ђ Login в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.card-login {
    max-width: 360px;
}

.login-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.25rem;
}

.card-login .tagline {
    margin-bottom: 1.5rem;
}

.card-login .btn-create {
    margin-top: 0.75rem;
}

.btn-google-signin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: #fff;
    color: #3c4043;
    border: 1px solid #dadce0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
    box-shadow: 0 1px 3px rgba(60,64,67,.12);
}

.btn-google-signin:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 6px rgba(60,64,67,.2);
}

.google-logo {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
    color: #aaa;
    font-size: 0.82rem;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e5e5;
}

.admin-login-details {
    width: 100%;
}

.admin-login-summary {
    font-size: 0.82rem;
    color: #aaa;
    cursor: pointer;
    user-select: none;
    text-align: center;
    list-style: none;
}

.admin-login-summary::-webkit-details-marker { display: none; }

.admin-login-summary:hover {
    color: #666;
}

/* в”Ђв”Ђ Admin Card в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.card-admin {
    max-width: 680px;
    text-align: left;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.admin-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0;
}

.btn-logout {
    padding: 0.4rem 0.9rem;
    background: transparent;
    border: 1px solid #d1d1d6;
    border-radius: 8px;
    font-size: 0.82rem;
    color: #6e6e73;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .15s, color .15s;
}

.btn-logout:hover { border-color: #8e8e93; color: #3a3a3c; }

.section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #8e8e93;
    margin-bottom: 1rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 0.9rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #3a3a3c;
    margin-bottom: 0.3rem;
}

.hint {
    font-weight: 400;
    color: #8e8e93;
}

.form-input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid #d1d1d6;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #1d1d1f;
    background: #fff;
    outline: none;
    transition: border-color .15s;
    font-family: inherit;
}

.form-input:focus { border-color: #1a73e8; }

.slug-preview {
    display: flex;
    align-items: center;
    border: 1px solid #d1d1d6;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .15s;
}

.slug-preview:focus-within { border-color: #1a73e8; }

.slug-base {
    padding: 0.65rem 0.75rem;
    background: #f5f5f7;
    color: #8e8e93;
    font-size: 0.9rem;
    white-space: nowrap;
    border-right: 1px solid #d1d1d6;
    flex-shrink: 0;
}

.slug-preview .form-input {
    border: none;
    border-radius: 0;
    padding-left: 0.6rem;
    flex: 1;
}

.slug-preview .form-input:focus { border-color: transparent; }

.btn-create {
    width: 100%;
    padding: 0.85rem;
    background: #1d1d1f;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.25rem;
    font-family: inherit;
    transition: opacity .15s;
}

.btn-create:hover { opacity: 0.8; }

.alert-success {
    padding: 0.7rem 1rem;
    background: #d1fae5;
    color: #065f46;
    border-radius: 10px;
    font-size: 0.88rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.alert-error {
    padding: 0.7rem 1rem;
    background: #fee2e2;
    color: #991b1b;
    border-radius: 10px;
    font-size: 0.88rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* ── Toast notifications (fixed overlay) ───────────────────── */

.toast-wrap {
    position: fixed;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

.toast-wrap .alert-success,
.toast-wrap .alert-error {
    pointer-events: auto;
    margin-bottom: 0;
    white-space: nowrap;
    box-shadow: 0 4px 24px rgba(0,0,0,.18);
    animation: toast-in .22s ease;
}

@keyframes toast-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.list-section {
    border-top: 1px solid #f0f0f0;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.empty-state {
    color: #8e8e93;
    font-size: 0.9rem;
}

/* в”Ђв”Ђ Business List (Admin) в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.business-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.business-item {
    padding: 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    background: #fafafa;
}

.business-item-main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.business-item-main strong {
    font-size: 0.95rem;
    color: #1d1d1f;
}

.slug-tag {
    font-size: 0.75rem;
    color: #1a73e8;
    background: #e8f0fe;
    padding: 0.1rem 0.45rem;
    border-radius: 6px;
    font-family: ui-monospace, "SFMono-Regular", monospace;
}

.scan-badge {
    font-size: 0.75rem;
    color: #6e6e73;
    background: #f0f0f0;
    padding: 0.1rem 0.5rem;
    border-radius: 6px;
    margin-left: auto;
}

.business-item-urls {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.url-row {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 0.5rem;
    background: #f5f5f7;
    border-radius: 8px;
    padding: 0.35rem 0.6rem;
}

.url-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #8e8e93;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.url-value {
    font-size: 0.75rem;
    color: #3a3a3c;
    font-family: ui-monospace, "SFMono-Regular", monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-copy {
    padding: 0.2rem 0.6rem;
    background: #1d1d1f;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s;
    white-space: nowrap;
}

.btn-copy.copied { background: #059669; }

.business-item-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.item-date {
    font-size: 0.78rem;
    color: #8e8e93;
    margin-right: auto;
}

.link-small {
    color: #1a73e8;
    text-decoration: none;
    font-size: 0.8rem;
}

.link-small:hover { text-decoration: underline; }

/* в”Ђв”Ђ Stats в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.card-stats { max-width: 680px; }

.stats-nav {
    margin-bottom: 1rem;
}

.link-back {
    font-size: 0.85rem;
    color: #8e8e93;
    text-decoration: none;
}

.link-back:hover { color: #1d1d1f; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
    background: #f5f5f7;
    border-radius: 14px;
    padding: 1rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stat-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.15rem;
}

.stat-icon {
    font-size: 1.1rem;
    opacity: 0.6;
    line-height: 1;
}

.stat-empty {
    color: #aeaeb2;
}

.stat-card-highlight {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border: 1px solid #a5d6a7;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1d1d1f;
    line-height: 1;
    margin-bottom: 0.1rem;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8e8e93;
}

.stat-delta {
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.1rem;
}

.stat-delta-up    { color: #30d158; }
.stat-delta-down  { color: #ff3b30; }
.stat-delta-neutral { color: #8e8e93; }

/* ── Dashboard stats tab ──────────────────────────────────── */
.card-stats-bg { background: #f2f2f4; }

/* ── Sidebar layout ───────────────────────────────────────── */
.dash-layout {
    display: flex;
    min-height: 560px;
    margin: -1.2rem;
    border-radius: 14px;
    overflow: hidden;
}

.dash-sidebar {
    width: 190px;
    flex-shrink: 0;
    background: #fff;
    border-right: 1px solid #e5e5ea;
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.dash-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.2rem 1rem 0.9rem;
    border-bottom: 1px solid #f2f2f4;
    margin-bottom: 0.4rem;
}

.sidebar-biz-avatar {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: linear-gradient(135deg, #1a73e8, #34a853);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    flex-shrink: 0;
}

.sidebar-biz-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    padding: 0 0.45rem;
}

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.83rem;
    font-weight: 500;
    color: #636366;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    border-radius: 8px;
    transition: color 0.13s, background 0.13s;
    text-decoration: none;
    line-height: 1;
}

.dash-nav-item:hover { background: #f5f5f7; color: #1d1d1f; }

.dash-nav-item.active {
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 600;
}

.dash-nav-item svg { flex-shrink: 0; opacity: 0.75; }
.dash-nav-item.active svg { opacity: 1; }

.dash-sidebar-bottom {
    margin-top: auto;
    padding: 0.6rem 0.45rem 0;
    border-top: 1px solid #f2f2f4;
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.dash-main-area {
    flex: 1;
    min-width: 0;
    padding: 1.2rem;
    overflow-y: auto;
}

.dash-main-area > .dash-board { margin: -0.5rem 0; }
.dash-main-area > .settings-layout { margin-top: 0; }

@media (max-width: 640px) {
    .dash-layout {
        flex-direction: column;
        margin: -1rem;
        border-radius: 0;
    }
    .dash-sidebar {
        width: 100%;
        flex-direction: row;
        align-items: stretch;
        padding: 0;
        border-right: none;
        border-bottom: 1px solid #e5e5ea;
        overflow-x: auto;
        min-height: 0;
    }
    .dash-sidebar-brand { display: none; }
    .dash-sidebar-nav {
        flex-direction: row;
        flex: 1;
        padding: 0;
        gap: 0;
    }
    .dash-nav-item {
        border-radius: 0;
        padding: 0.75rem 0.9rem;
        white-space: nowrap;
        border-bottom: 2px solid transparent;
        justify-content: center;
        flex-direction: column;
        gap: 0.2rem;
        font-size: 0.72rem;
    }
    .dash-nav-item.active {
        background: transparent;
        border-bottom-color: #1a73e8;
        color: #1a73e8;
    }
    .dash-sidebar-bottom {
        margin-top: 0;
        margin-left: auto;
        padding: 0;
        border-top: none;
        border-left: 1px solid #e5e5ea;
        flex-direction: row;
        align-items: stretch;
    }
    .dash-main-area { padding: 0.9rem; }
}

/* Reviews full-width list */
.review-list-full { gap: 1.1rem; }
.reviews-connect-prompt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.5rem 0;
}
.reviews-connect-prompt p { color: #636366; font-size: 0.88rem; margin: 0; }

/* ── KPI stars ────────────────────────────────────────────── */
.kpi-stars {
    font-size: 0.88rem;
    color: #fbbc04;
    letter-spacing: 0.04em;
    margin-bottom: 0.15rem;
    line-height: 1;
}

.dash-board {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: -0.5rem 0;
}

.kpi-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
@media (min-width: 560px) {
    .kpi-row { grid-template-columns: repeat(4, 1fr); }
}

.kpi-card {
    background: #fff;
    border: 1px solid #e5e5ea;
    border-radius: 14px;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
}
.kpi-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
}
.kpi-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8e8e93;
}
.kpi-icon { font-size: 1rem; opacity: 0.45; line-height: 1; }
.kpi-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1d1d1f;
    line-height: 1;
    margin-bottom: 0.3rem;
}
.kpi-empty { color: #aeaeb2; }
.kpi-sub { font-size: 0.73rem; font-weight: 500; }
.kpi-sub-up    { color: #30d158; }
.kpi-sub-down  { color: #ff3b30; }
.kpi-sub-muted { color: #8e8e93; }
.kpi-activity-rows { display: flex; flex-direction: column; gap: 0.3rem; margin-top: 0.35rem; }
.kpi-activity-row  { display: flex; justify-content: space-between; align-items: baseline; gap: 0.4rem; }
.kpi-activity-num  { font-size: 1.15rem; font-weight: 700; color: #1a1a2e; }
.kpi-activity-label{ font-size: 0.7rem; color: #8e8e93; }

/* ── popup overlay + sheet (global, works on all screen sizes) ── */
.mob-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 200;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.mob-popup-sheet {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 22px 22px 0 0;
    padding: 1rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    animation: slideUp .22s ease;
    max-height: 90vh;
    overflow-y: auto;
}
@media (min-width: 641px) {
    .mob-popup-overlay { align-items: center; }
    .mob-popup-sheet {
        border-radius: 16px;
        max-height: 80vh;
        padding: 1.5rem;
    }
    .mob-popup-handle { display: none; }
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.mob-popup-handle {
    width: 38px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 10px;
    align-self: center;
    margin-bottom: 0.2rem;
}
.mob-popup-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
}
.mob-popup-body {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

/* range selector */
.range-selector {
    display: flex;
    gap: 0.4rem;
    justify-content: flex-end;
    margin-bottom: 0.1rem;
}
.range-btn {
    background: none;
    border: 1px solid #d1d1d6;
    border-radius: 20px;
    padding: 0.2rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: #636366;
    cursor: pointer;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.range-btn:hover  { background: #f5f5f7; border-color: #aeaeb2; }
.range-btn.active { background: #1a73e8; border-color: #1a73e8; color: #fff; }

.dash-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
@media (min-width: 560px) {
    .dash-row          { grid-template-columns: 2fr 1fr; }
    .dash-row-halves   { grid-template-columns: 1fr 1fr; }
    .dash-row-thirds   { grid-template-columns: 1fr 1fr 1fr; }
}

.dash-tile {
    background: #fff;
    border: 1px solid #e5e5ea;
    border-radius: 14px;
    padding: 1.1rem 1.2rem;
}
.tile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}
.tile-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1d1d1f;
}
.tile-badge {
    font-size: 0.72rem;
    font-weight: 600;
    background: #f5f5f7;
    color: #636366;
    padding: 0.18rem 0.6rem;
    border-radius: 20px;
}
.tile-empty {
    color: #aeaeb2;
    font-size: 0.85rem;
    text-align: center;
    padding: 1.5rem 0;
    margin: 0;
}

/* line chart SVG */
.line-chart-svg {
    width: 100%;
    height: 110px;
    display: block;
    overflow: hidden;
}
.line-chart-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 0.35rem;
}
.line-chart-axis span {
    font-size: 0.64rem;
    color: #aeaeb2;
}

/* donut chart */
.donut-wrap {
    display: flex;
    justify-content: center;
    padding: 0.4rem 0 0.6rem;
}
.donut {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    -webkit-mask: radial-gradient(transparent 38%, black 38%);
    mask: radial-gradient(transparent 38%, black 38%);
}
.donut-legend {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.donut-legend-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
}
.donut-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}
.donut-legend-name  { flex: 1; color: #3a3a3c; text-transform: capitalize; }
.donut-legend-pct   { font-weight: 600; color: #1d1d1f; }
.donut-legend-count { color: #8e8e93; font-size: 0.75rem; min-width: 26px; text-align: right; }

/* coloured source dot in scan list */
.source-dot             { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.source-dot-qr          { background: #4285f4; }
.source-dot-nfc         { background: #c79a5a; }
.source-dot-direct      { background: #aeaeb2; }

/* reviews tile */
.review-list { display: flex; flex-direction: column; gap: 0.9rem; }
.review-row  { display: flex; gap: 0.7rem; align-items: flex-start; }
.review-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1a73e8;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-transform: uppercase;
}
.review-body  { flex: 1; min-width: 0; }
.review-meta  { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.2rem; }
.review-name  { font-size: 0.82rem; font-weight: 600; color: #1d1d1f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.review-date  { font-size: 0.72rem; color: #aeaeb2; white-space: nowrap; }
.review-stars { font-size: 0.8rem; color: #fbbc04; letter-spacing: 0.03em; margin-bottom: 0.2rem; }
.review-text  {
    font-size: 0.78rem;
    color: #3a3a3c;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.source-bars {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.source-row {
    display: grid;
    grid-template-columns: 56px 1fr 80px;
    align-items: center;
    gap: 0.75rem;
}

.source-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #3a3a3c;
    text-transform: capitalize;
}

.source-bar-track {
    height: 8px;
    background: #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

.source-bar-fill {
    height: 100%;
    background: #1a73e8;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.source-count {
    font-size: 0.82rem;
    color: #3a3a3c;
    font-weight: 600;
    text-align: right;
}

.source-count .pct {
    font-weight: 400;
    color: #8e8e93;
}

.daily-chart {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.daily-row {
    display: grid;
    grid-template-columns: 52px 1fr 24px;
    align-items: center;
    gap: 0.5rem;
}

.daily-date {
    font-size: 0.72rem;
    color: #8e8e93;
    white-space: nowrap;
}

.daily-bar-track {
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
}

.daily-bar-fill {
    height: 100%;
    background: #e5e5e5;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.daily-bar-fill.has-data { background: #1a73e8; }

.daily-count {
    font-size: 0.72rem;
    color: #6e6e73;
    text-align: right;
}

.stats-meta {}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f5f5f7;
    font-size: 0.85rem;
}

.meta-label {
    color: #8e8e93;
}

.scan-list {
    display: flex;
    flex-direction: column;
}

.scan-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #f5f5f7;
}

.scan-time {
    font-size: 0.8rem;
    color: #6e6e73;
    font-family: ui-monospace, "SFMono-Regular", monospace;
}

/* в”Ђв”Ђ Print Page в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.print-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 1rem;
    margin: auto;
}

.print-card {
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
}

.print-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8e8e93;
    margin-bottom: 0.75rem;
}

.print-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.print-qr {
    width: 220px;
    height: 220px;
    display: block;
    margin: 0 auto 1.25rem;
    image-rendering: pixelated;
}

.print-url {
    font-size: 0.72rem;
    color: #8e8e93;
    font-family: ui-monospace, "SFMono-Regular", monospace;
    word-break: break-all;
}

.print-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.print-actions .btn-create {
    max-width: 240px;
}

/* в”Ђв”Ђ Blazor error UI в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fee2e2;
    color: #991b1b;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    text-align: center;
    z-index: 1000;
}

#blazor-error-ui a {
    color: #991b1b;
    margin-left: 0.5rem;
}

/* в”Ђв”Ђ Settings layout with live preview в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.card-wide {
    max-width: 1100px;
}

.settings-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 640px) {
    .settings-layout { grid-template-columns: 1fr; }
    .card-wide { max-width: 680px; }
}

.preview-pane {
    position: sticky;
    top: 1.5rem;
}

.preview-card {
    max-width: 100%;
    margin: 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .1);
}

.preview-btn {
    cursor: default;
    user-select: none;
}

/* в”Ђв”Ђ Admin badges в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.badge-active {
    font-size: 0.7rem;
    font-weight: 600;
    background: #d1fae5;
    color: #065f46;
    padding: 0.1rem 0.45rem;
    border-radius: 6px;
}

.badge-unclaimed {
    font-size: 0.7rem;
    font-weight: 600;
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.1rem 0.45rem;
    border-radius: 6px;
}

.btn-reset {
    padding: 0.2rem 0.6rem;
    background: transparent;
    border: 1px solid #d1d1d6;
    border-radius: 6px;
    font-size: 0.72rem;
    color: #6e6e73;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .15s, color .15s;
}

.btn-reset:hover { border-color: #ef4444; color: #dc2626; }

.badge-disabled {
    font-size: 0.7rem;
    font-weight: 600;
    background: #fef3c7;
    color: #92400e;
    padding: 0.1rem 0.45rem;
    border-radius: 6px;
}

.business-item--disabled { opacity: 0.55; }

.btn-disable, .btn-enable, .btn-delete {
    padding: 0.2rem 0.6rem;
    background: transparent;
    border: 1px solid #d1d1d6;
    border-radius: 6px;
    font-size: 0.72rem;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .15s, color .15s;
}

.btn-disable { color: #6e6e73; }
.btn-disable:hover { border-color: #f59e0b; color: #b45309; }

.btn-enable { color: #065f46; }
.btn-enable:hover { border-color: #10b981; color: #065f46; }

.btn-delete { color: #6e6e73; }
.btn-delete:hover { border-color: #ef4444; color: #dc2626; }

/* в”Ђв”Ђ Dashboard tabs в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e5e5e5;
}

.tab {
    padding: 0.55rem 1.1rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6e6e73;
    cursor: pointer;
    font-family: inherit;
    margin-bottom: -1px;
    transition: color .15s;
}

.tab.active {
    color: #1a73e8;
    border-bottom-color: #1a73e8;
}

.tab:hover:not(.active) { color: #3a3a3c; }

/* в”Ђв”Ђ Theme picker в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.theme-picker {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
}

@media (max-width: 480px) {
    .theme-picker { grid-template-columns: repeat(2, 1fr); }
}

.theme-option {
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 0.6rem 0.4rem;
    cursor: pointer;
    text-align: center;
    background: none;
    font-family: inherit;
    transition: border-color .15s;
}

.theme-option.selected { border-color: #1a73e8; }
.theme-option:hover:not(.selected) { border-color: #b0b0b0; }

.theme-swatch {
    width: 100%;
    height: 48px;
    border-radius: 8px;
    margin-bottom: 0.35rem;
    border: 1px solid rgba(0,0,0,.06);
}

.theme-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #3a3a3c;
}

/* в”Ђв”Ђ Dashboard form extras в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.form-textarea {
    resize: vertical;
    min-height: 3rem;
}

.form-file-input {
    display: block;
    font-size: 0.88rem;
    color: #3a3a3c;
}

.btn-remove-asset {
    margin-top: 0.35rem;
    padding: 0.2rem 0.6rem;
    background: transparent;
    border: 1px solid #d1d1d6;
    border-radius: 6px;
    font-size: 0.78rem;
    color: #6e6e73;
    cursor: pointer;
    font-family: inherit;
    display: block;
    transition: border-color .15s, color .15s;
}

.btn-remove-asset:hover { border-color: #ef4444; color: #dc2626; }

.logo-preview {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    display: block;
}

/* в”Ђв”Ђ Login/Register hint в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.login-register-hint {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #8e8e93;
    text-align: center;
}

.link-account-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #555;
    background: #f5f5f7;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1.25rem;
}

.link-divider-section {
    width: 100%;
}

.link-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1c1c1e;
    margin-bottom: 0.3rem;
}

.link-section-hint {
    font-size: 0.82rem;
    color: #8e8e93;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.btn-create-outline {
    background: transparent;
    color: #1c1c1e;
    border: 1.5px solid #d1d1d6;
}

.btn-create-outline:hover {
    background: #f5f5f7;
    opacity: 1;
}

.google-connect-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #f0f4ff;
    border: 1px solid #c7d7ff;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.google-connect-banner-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.85rem;
}

.google-connect-banner-text strong {
    color: #1c1c1e;
    font-size: 0.88rem;
}

.google-connect-banner-text span {
    color: #636366;
}

.btn-google-connect {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    padding: 0.45rem 0.85rem;
    background: #fff;
    color: #3c4043;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(60,64,67,.1);
    transition: box-shadow 0.15s;
    flex-shrink: 0;
}

.btn-google-connect:hover {
    box-shadow: 0 2px 6px rgba(60,64,67,.18);
}

/* в”Ђв”Ђ Logo wrap (gradient border) в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.logo-wrap {
    display: inline-block;
    border-radius: 15px;
    margin-bottom: 0.75rem;
    line-height: 0;
}

.logo-wrap-circle {
    border-radius: 50%;
}

.logo-border-none   { padding: 0; }
.logo-border-purple  { padding: 3px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.logo-border-sunset  { padding: 3px; background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.logo-border-gold    { padding: 3px; background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); }
.logo-border-emerald { padding: 3px; background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.logo-border-brown   { padding: 3px; background: linear-gradient(135deg, #6b3a2a 0%, #c9843a 100%); }
.logo-border-bronze  { padding: 3px; background: linear-gradient(135deg, #b5651d 0%, #daa520 100%); }
.logo-border-mocha   { padding: 3px; background: linear-gradient(135deg, #4a2c2a 0%, #9e7060 100%); }

.logo-wrap .business-logo {
    margin-bottom: 0;
    border-radius: 12px;
    display: block;
}

.logo-wrap-circle .circle-photo {
    border: none;
    display: block;
}

/* в”Ђв”Ђ Logo style option buttons в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.option-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.option-btn {
    padding: 0.32rem 0.7rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    background: none;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    color: #3a3a3c;
    cursor: pointer;
    transition: border-color .15s, color .15s;
}

.option-btn.selected        { border-color: #1a73e8; color: #1a73e8; }
.option-btn:hover:not(.selected) { border-color: #b0b0b0; }

/* в”Ђв”Ђ Gradient border picker в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.gradient-picker {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.gradient-option {
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 0.5rem 0.3rem;
    cursor: pointer;
    text-align: center;
    background: none;
    font-family: inherit;
    transition: border-color .15s;
    width: 76px;
}

.gradient-option .theme-label {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gradient-option.selected        { border-color: #1a73e8; }
.gradient-option:hover:not(.selected) { border-color: #b0b0b0; }

.gradient-swatch {
    width: 100%;
    height: 28px;
    border-radius: 7px;
    margin-bottom: 0.3rem;
    border: 1px solid rgba(0,0,0,.06);
}

/* Logo symbol swatch — used in the preset logo picker */
.preset-logo-swatch {
    width: 100%;
    height: 44px;
    border-radius: 7px;
    border: 1px solid rgba(0,0,0,.06);
    background: #f5f5f7;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8e8e93;
}
.preset-logo-swatch svg { width: 26px; height: 26px; }

/* Preset logo rendered on the card (outline symbol, no uploaded logo) */
.card-preset-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--card-text, #1c1c1e);
    opacity: 0.38;
}
.card-preset-logo svg { width: 100%; height: 100%; }

/* Circle layout variant */
.circle-photo.circle-preset-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--card-text, #1c1c1e);
    opacity: 0.38;
}
.circle-photo.circle-preset-logo svg { width: 50%; height: 50%; }

/* Hero layout variant — overlaid on the photo area */
.hero-preset-logo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.55);
    z-index: 1;
}
.hero-preset-logo svg { width: 56px; height: 56px; }

/* в”Ђв”Ђ Logo preset picker в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.logo-preset-option {
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 0.5rem 0.35rem;
    cursor: pointer;
    text-align: center;
    background: none;
    font-family: inherit;
    transition: border-color .15s;
    width: 60px;
}

.logo-preset-option.selected        { border-color: #1a73e8; }
.logo-preset-option:hover:not(.selected) { border-color: #b0b0b0; }

.logo-preset-thumb {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    margin: 0 auto 0.3rem;
}

/* в”Ђв”Ђ Preset/rotate row в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.preset-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.preset-row .rotate-btn {
    padding: 0.32rem 0.65rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    background: none;
    font-family: inherit;
    font-size: 0.82rem;
    cursor: pointer;
    transition: border-color .15s;
    align-self: flex-start;
    margin-top: 2px;
}

.preset-row .rotate-btn:hover { border-color: #1a73e8; color: #1a73e8; }

/* в”Ђв”Ђ Layout: Hero в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.card-hero {
    padding: 0;
    overflow: hidden;
    text-align: center;
}

.hero-photo {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-emoji {
    font-size: 3rem;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to bottom, transparent, var(--card-bg, #fff));
    pointer-events: none;
}

.hero-content {
    padding: 1.25rem 2rem 2.5rem;
}

.hero-content .business-name { margin-top: 0.25rem; }
.hero-content .tagline       { margin-bottom: 1.75rem; }

/* в”Ђв”Ђ Layout: Circle в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.card-circle {
    text-align: center;
}

.circle-photo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.circle-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--card-border, #e5e5e5);
}

.circle-emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f7;
    font-size: 2.5rem;
}

/* в”Ђв”Ђ Layout picker в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.layout-picker {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.layout-option {
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 0.6rem 0.4rem;
    cursor: pointer;
    text-align: center;
    background: none;
    font-family: inherit;
    transition: border-color .15s;
    width: 80px;
}

.layout-option.selected { border-color: #1a73e8; }
.layout-option:hover:not(.selected) { border-color: #b0b0b0; }

.layout-thumb {
    width: 100%;
    height: 52px;
    border-radius: 8px;
    background: #f5f5f7;
    margin-bottom: 0.35rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.06);
}

/* Classic thumb: small square + text lines */
.layout-thumb-classic::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #d1d5db;
    border-radius: 5px;
}
.layout-thumb-classic::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 6px;
    background: #1a73e8;
    border-radius: 3px;
}

/* Hero thumb: color band top + text below */
.layout-thumb-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(to bottom, #93c5fd, #f5f5f7);
}
.layout-thumb-hero::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 6px;
    background: #1a73e8;
    border-radius: 3px;
}

/* Circle thumb: circle + button */
.layout-thumb-circle::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: #d1d5db;
    border-radius: 50%;
}
.layout-thumb-circle::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 6px;
    background: #1a73e8;
    border-radius: 3px;
}

/* в”Ђв”Ђ Layout: Poster в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.card-poster {
    text-align: center;
}

/* Logo icon displayed flat (no circle wrapper) */
.poster-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.poster-name {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

/* Welcome text with decorative side rules */
.poster-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.74rem;
    color: var(--tagline-color, #8e8e93);
    margin-bottom: 0;
}
.poster-tagline::before,
.poster-tagline::after {
    content: '';
    flex: 1;
    max-width: 36px;
    height: 1px;
    background: currentColor;
    opacity: 0.45;
}

/* Large circle showing the background photo */
.poster-circle-photo {
    width: 144px;
    height: 144px;
    border-radius: 50%;
    background-color: var(--card-border, #e8e8ed);
    border: 2px solid var(--card-border, #e8e8ed);
    margin: 1rem auto 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 28px rgba(0,0,0,.1);
    overflow: hidden;
}

/* Gradient border variants — outer is the gradient, inner photo shows through */
.poster-circle-photo.logo-border-none    { border: 2px solid var(--card-border, #e8e8ed); padding: 0; }
.poster-circle-photo.logo-border-purple  { border: none; padding: 2px; background: linear-gradient(135deg,#667eea,#764ba2); }
.poster-circle-photo.logo-border-sunset  { border: none; padding: 2px; background: linear-gradient(135deg,#f093fb,#f5576c); }
.poster-circle-photo.logo-border-gold    { border: none; padding: 2px; background: linear-gradient(135deg,#f6d365,#fda085); }
.poster-circle-photo.logo-border-emerald { border: none; padding: 2px; background: linear-gradient(135deg,#11998e,#38ef7d); }
.poster-circle-photo.logo-border-brown   { border: none; padding: 2px; background: linear-gradient(135deg,#6b3a2a,#c9843a); }
.poster-circle-photo.logo-border-bronze  { border: none; padding: 2px; background: linear-gradient(135deg,#b5651d,#daa520); }
.poster-circle-photo.logo-border-mocha   { border: none; padding: 2px; background: linear-gradient(135deg,#4a2c2a,#9e7060); }

/* Inner photo circle */
.poster-circle-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: var(--card-border, #e8e8ed);
}

.poster-circle-empty {
    font-size: 2.5rem;
    opacity: 0.3;
}

/* Poster thumb: icon top, circle middle, button bottom */
.layout-thumb-poster {
    background: #f5f5f7;
}
.layout-thumb-poster::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 26px;
    background: #d1d5db;
    border-radius: 50%;
    border: 2px solid #c5c5c8;
    z-index: 1;
}
.layout-thumb-poster::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 5px;
    background: #1a73e8;
    border-radius: 3px;
    z-index: 1;
}

/* в”Ђв”Ђ Language toggle в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.card { position: relative; }

.lang-toggle {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    gap: 2px;
    background: rgba(0,0,0,.08);
    border-radius: 20px;
    padding: 3px;
    z-index: 10;
}

.lang-btn {
    padding: 0.2rem 0.55rem;
    border: none;
    border-radius: 16px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: transparent;
    color: var(--card-text, #1d1d1f);
    opacity: 0.55;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, opacity .15s;
}

.lang-btn.active {
    background: #fff;
    opacity: 1;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

/* dark-card themes: invert the toggle pill */
.theme-dark .lang-toggle,
.theme-noir .lang-toggle {
    background: rgba(255,255,255,.12);
}

.theme-dark .lang-btn.active,
.theme-noir .lang-btn.active {
    background: rgba(255,255,255,.2);
    color: #fff;
}

/* Hero layout: toggle sits over the photo */
.card-hero .lang-toggle { top: 0.6rem; right: 0.6rem; }

/* в”Ђв”Ђ Card content text в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.card-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--card-text, #1d1d1f);
    margin-bottom: 0.6rem;
    line-height: 1.25;
}

.card-description {
    font-size: 0.7rem;
    color: var(--tagline-color, #6e6e73);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* в”Ђв”Ђ Info tiles в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.info-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-bottom: 1rem;
    background: var(--tile-bg, rgba(0,0,0,.04));
    border-radius: 14px;
    padding: 6px;
}

.info-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    padding: 0.2rem 0.3rem;
    font-size: 0.72rem;
    line-height: 1.3;
    color: var(--card-text, #1d1d1f);
}

.info-tile + .info-tile {
    border-left: 1px solid var(--tile-border-color, rgba(0,0,0,.07));
}

.info-tile svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    opacity: 0.6;
}

.theme-dark .info-tiles,
.theme-noir .info-tiles { background: rgba(255,255,255,.07); }

.theme-dark .info-tile + .info-tile,
.theme-noir .info-tile + .info-tile { border-left-color: rgba(255,255,255,.12); }

.theme-ocean .info-tiles { background: rgba(255,255,255,.08); }

.theme-clinic .info-tiles  { background: rgba(15,42,68,.06); }
.theme-lumiere .info-tiles { background: rgba(180,120,60,.08); }
.theme-sage .info-tiles    { background: rgba(45,90,45,.07); }

/* в”Ђв”Ђ Card footer text в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.card-footer-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    font-size: 0.65rem;
    color: var(--footer-text-color, var(--tagline-color, #8e8e93));
    line-height: 1.4;
}

.card-footer-text svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.6;
}

/* в”Ђв”Ђ Bilingual form grid в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.bilingual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
}

.bilingual-header {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-around;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #8e8e93;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0.25rem;
}
.bilingual-col-active { color: #007aff; }
.bilingual-active { border-color: rgba(0,122,255,0.45) !important; background: rgba(0,122,255,0.03); }

.bilingual-label {
    grid-column: 1 / -1;
    font-size: 0.82rem;
    font-weight: 500;
    color: #3a3a3c;
    margin-bottom: 0.1rem;
    margin-top: 0.4rem;
    display: block;
}

.bilingual-row {
    display: contents;
}

@media (max-width: 480px) {
    .bilingual-grid { grid-template-columns: 1fr; }
}

/* в”Ђв”Ђ Print media в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

/* ── Tile icon picker (settings) ───────────────────────────── */

.tile-icon-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 0.5rem;
    grid-column: 1 / -1;
}

.tile-icon-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    background: none;
    cursor: pointer;
    padding: 0;
    color: #8e8e93;
    transition: border-color .15s, background .15s, color .15s;
}

.tile-icon-btn svg {
    width: 16px;
    height: 16px;
}

.tile-icon-btn.selected {
    border-color: #1a73e8;
    background: #e8f0fe;
    color: #1a73e8;
}

.tile-icon-btn:hover:not(.selected) {
    border-color: #b0b0b0;
    color: #3a3a3c;
}

/* ── Logo symbol color picker ──────────────────────────────── */

.logo-color-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0.25rem;
}

.logo-color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    outline: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    transition: transform 0.12s, outline-color 0.12s;
    flex-shrink: 0;
}

.logo-color-swatch:hover {
    transform: scale(1.18);
}

.logo-color-swatch.selected {
    outline-color: #007aff;
    transform: scale(1.18);
}

.logo-color-auto {
    background: conic-gradient(
        #ff6b6b 0deg 60deg,
        #ffd60a 60deg 120deg,
        #30d158 120deg 180deg,
        #0a84ff 180deg 240deg,
        #bf5af2 240deg 300deg,
        #ff375f 300deg 360deg
    );
    border-color: #e0e0e0;
}

@media print {
    .no-print { display: none !important; }

    body {
        background: white;
        padding: 0;
        display: block;
    }

    .print-page {
        padding: 0;
    }

    .print-card {
        border: none;
        box-shadow: none;
        border-radius: 0;
        max-width: 100%;
    }
}

/* ── GBP Setup page ───────────────────────────────────────── */

.gbp-locations-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gbp-location-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1.5px solid #e5e5ea;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.gbp-location-item:hover { background: #f9f9fb; }

.gbp-location-item.selected {
    border-color: #0a84ff;
    background: #f0f6ff;
}

.gbp-location-item input[type="radio"] { flex-shrink: 0; }

.gbp-location-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.gbp-location-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: #1c1c1e;
}

.gbp-location-id {
    font-size: 0.75rem;
    color: #8e8e93;
    word-break: break-all;
}

.gbp-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.gbp-rating {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ── Help FAB button ───────────────────────────────────────── */

.help-fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #636366;
    border: 1.5px solid #d1d1d6;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    z-index: 999;
    transition: box-shadow .15s, color .15s;
    line-height: 1;
}

.help-fab:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
    color: #1c1c1e;
}

/* ── Help / Docs page ──────────────────────────────────────── */

.help-page {
    max-width: 780px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.help-header {
    margin-bottom: 2rem;
}

.help-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.help-back {
    display: inline-block;
    font-size: 0.85rem;
    color: #636366;
    text-decoration: none;
}

.help-lang-switcher {
    display: flex;
    gap: 0.25rem;
}

.help-lang-switcher button {
    background: none;
    border: 1px solid #d1d1d6;
    border-radius: 6px;
    padding: 0.2rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #636366;
    cursor: pointer;
    line-height: 1.4;
    transition: all .15s;
}

.help-lang-switcher button.active {
    background: #1c1c1e;
    border-color: #1c1c1e;
    color: #fff;
}

.help-lang-switcher button:hover:not(.active) {
    border-color: #636366;
    color: #1c1c1e;
}

.help-back:hover { color: #1c1c1e; }

.help-header h1 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #1c1c1e;
    margin-bottom: 0.35rem;
}

.help-subtitle {
    color: #636366;
    font-size: 1rem;
}

/* TOC */
.help-toc {
    background: #f5f5f7;
    border-radius: 14px;
    padding: 1.1rem 1.4rem;
    margin-bottom: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
    align-items: center;
}

.help-toc-title {
    width: 100%;
    font-size: 0.78rem;
    font-weight: 600;
    color: #8e8e93;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 0.2rem;
}

.help-toc a {
    font-size: 0.88rem;
    color: #0a84ff;
    text-decoration: none;
    white-space: nowrap;
}

.help-toc a:hover { text-decoration: underline; }

/* Sections */
.help-section {
    margin-bottom: 3rem;
    scroll-margin-top: 1.5rem;
}

.help-page :focus { outline: none; }

.help-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1c1c1e;
    border-bottom: 2px solid #e5e5ea;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.help-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1c1c1e;
    margin: 1.25rem 0 0.5rem;
}

.help-section p {
    font-size: 0.93rem;
    color: #3c3c43;
    line-height: 1.6;
    margin-bottom: 0.6rem;
}

/* Flow diagram */
.help-flow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.help-flow-step {
    background: #fff;
    border: 1px solid #e5e5ea;
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
    font-size: 0.85rem;
    color: #1c1c1e;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
}

.help-flow-icon { font-size: 1.2rem; }

.help-flow-arrow {
    color: #8e8e93;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Lists */
.help-list {
    padding-left: 1.4rem;
    font-size: 0.9rem;
    color: #3c3c43;
    line-height: 1.7;
}

.help-list li { margin-bottom: 0.25rem; }

/* Code snippets */
.help-code {
    background: #f5f5f7;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin: 0.5rem 0 1rem;
}

.help-code-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.87rem;
    padding: 0.2rem 0;
}

.help-code-row code {
    font-family: "SF Mono", "Fira Code", monospace;
    font-size: 0.83rem;
    color: #bf5af2;
    min-width: 220px;
}

.help-code-row span { color: #636366; }

/* Note box */
.help-note {
    background: #f0f4ff;
    border: 1px solid #c7d7ff;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin: 1rem 0;
    font-size: 0.88rem;
}

/* Code pre block */
.help-pre {
    background: #1c1c1e;
    color: #f2f2f7;
    border-radius: 10px;
    padding: 1rem 1.1rem;
    font-family: "SF Mono", "Fira Code", monospace;
    font-size: 0.8rem;
    line-height: 1.6;
    overflow-x: auto;
    margin: 0.75rem 0;
    white-space: pre;
}

.help-pre code { color: inherit; font-size: inherit; }

/* inline code */
.help-section code {
    font-family: "SF Mono", "Fira Code", monospace;
    font-size: 0.82rem;
    background: #f0f0f5;
    color: #bf5af2;
    padding: 0.1em 0.35em;
    border-radius: 4px;
}

/* Settings list */
.help-settings-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e5e5ea;
    border-radius: 12px;
    overflow: hidden;
    margin: 0.75rem 0;
}

.help-setting-row {
    display: flex;
    gap: 1rem;
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
    border-bottom: 1px solid #f0f0f5;
}

.help-setting-row:last-child { border-bottom: none; }
.help-setting-row:nth-child(even) { background: #fafafa; }

.help-setting-name {
    font-weight: 600;
    color: #1c1c1e;
    min-width: 160px;
    flex-shrink: 0;
}

.help-setting-desc {
    color: #636366;
    line-height: 1.5;
}

/* Stats grid */
.help-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 0.75rem 0;
}

.help-stat {
    background: #f5f5f7;
    border-radius: 12px;
    padding: 0.85rem 1rem;
}

.help-stat-green { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); border: 1px solid #a5d6a7; }

.help-stat-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1c1c1e;
    margin-bottom: 0.3rem;
}

.help-stat-desc {
    font-size: 0.82rem;
    color: #636366;
    line-height: 1.4;
}

/* Themes grid */
.help-themes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin: 0.75rem 0;
}

@media (min-width: 500px) {
    .help-themes-grid { grid-template-columns: repeat(4, 1fr); }
}

.help-theme-card {
    border-radius: 12px;
    padding: 0.75rem;
    font-size: 0.82rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.help-theme-card strong { font-size: 0.88rem; }
.help-theme-card span { opacity: 0.7; font-size: 0.78rem; }

.help-theme-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-bottom: 0.2rem;
}

/* Layouts grid */
.help-layouts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 0.75rem 0;
}

@media (min-width: 560px) {
    .help-layouts-grid { grid-template-columns: repeat(4, 1fr); }
}

.help-layout-card {
    border: 1px solid #e5e5ea;
    border-radius: 12px;
    padding: 0.75rem;
    font-size: 0.82rem;
}

.help-layout-card strong { display: block; margin: 0.5rem 0 0.25rem; font-size: 0.88rem; }
.help-layout-card p { color: #636366; font-size: 0.8rem; line-height: 1.4; margin: 0; }

.help-layout-preview {
    background: #f5f5f7;
    border-radius: 8px;
    height: 90px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    overflow: hidden;
}

/* Layout preview shapes */
.hlp-logo  { width: 28px; height: 28px; border-radius: 6px; background: #d1d1d6; }
.hlp-name  { width: 60%; height: 7px; border-radius: 4px; background: #c7c7cc; }
.hlp-desc  { width: 80%; height: 5px; border-radius: 3px; background: #d1d1d6; }
.hlp-btn   { width: 70%; height: 12px; border-radius: 6px; background: #4285F4; margin-top: auto; }

.help-layout-hero .hlp-hero-img {
    width: 100%;
    height: 42px;
    border-radius: 6px;
    background: linear-gradient(135deg, #d1d1d6, #b0b0b8);
}

.help-layout-circle .hlp-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #d1d1d6;
    border: 2px solid #b0b0b8;
}

.help-layout-poster .hlp-poster-top {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d1d1d6, #a0a0a8);
    border: 3px solid #f5f5f7;
}

/* Gradient swatches */
.help-gradients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.help-gradient-swatch {
    border-radius: 8px;
    padding: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    color: #1c1c1e;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon grid */
.help-icons-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin: 0.75rem 0;
}

@media (max-width: 560px) {
    .help-icons-grid { grid-template-columns: repeat(4, 1fr); }
}

.help-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    background: #f5f5f7;
    border: 1px solid #e5e5ea;
    border-radius: 10px;
    padding: 0.7rem 0.4rem;
}

.help-icon-item svg {
    width: 24px;
    height: 24px;
    color: #1c1c1e;
    flex-shrink: 0;
}

.help-icon-item span {
    font-size: 0.7rem;
    color: #636366;
    text-align: center;
    line-height: 1.2;
}

/* Preset tags */
.help-presets-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.5rem 0 1rem;
}

.help-preset-tag {
    background: #f5f5f7;
    border: 1px solid #e5e5ea;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.82rem;
    color: #3c3c43;
}

/* FAQ */
.help-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.help-faq-item {
    border: 1px solid #e5e5ea;
    border-radius: 12px;
    overflow: hidden;
}

.help-faq-item summary {
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1c1c1e;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.help-faq-item summary::-webkit-details-marker { display: none; }

.help-faq-item summary::after {
    content: "+";
    font-size: 1.1rem;
    color: #8e8e93;
    transition: transform .2s;
}

.help-faq-item[open] summary::after {
    transform: rotate(45deg);
}

.help-faq-item[open] summary {
    border-bottom: 1px solid #f0f0f5;
    background: #fafafa;
}

.help-faq-body {
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    color: #3c3c43;
    line-height: 1.6;
}

.help-faq-body p { margin-bottom: 0.5rem; }
.help-faq-body p:last-child { margin-bottom: 0; }

/* Footer */
.help-footer {
    text-align: center;
    font-size: 0.82rem;
    color: #8e8e93;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5ea;
}

/* Symbol style preview */
.help-symbol-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0.75rem 0 0;
}

.help-symbol-preview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.help-symbol-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f5f5f7;
    border: 1px solid #e5e5ea;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.help-symbol-circle svg {
    width: 28px;
    height: 28px;
}

.help-symbol-preview-item span {
    font-size: 0.7rem;
    color: #636366;
    text-align: center;
    line-height: 1.2;
}

/* Background card demos */
.help-bg-demos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0.75rem 0;
}

.help-bg-demo {
    flex: 1 1 140px;
    border-radius: 16px;
    padding: 1.1rem 1rem 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.help-bg-demo-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    margin-bottom: 0.15rem;
}

.help-bg-demo-name {
    width: 55%;
    height: 7px;
    border-radius: 4px;
    background: rgba(0,0,0,0.18);
}

.help-bg-demo-name.light { background: rgba(255,255,255,0.4); }

.help-bg-demo-btn {
    width: 65%;
    height: 12px;
    border-radius: 6px;
    background: #4285F4;
    margin-top: 0.1rem;
}

.help-bg-demo-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #1c1c1e;
    margin-top: 0.4rem;
}

.help-bg-demo-label.light { color: rgba(255,255,255,0.85); }

/* ── Help page — mobile ──────────────────────────────────────── */
@media (max-width: 600px) {
    .help-page {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .help-header h1 { font-size: 1.5rem; }

    .help-setting-row {
        flex-direction: column;
        gap: 0.2rem;
    }

    .help-setting-name { min-width: unset; }

    .help-code-row {
        flex-direction: column;
        gap: 0.15rem;
        align-items: flex-start;
    }

    .help-code-row code { min-width: unset; }

    .help-gradients-grid { grid-template-columns: repeat(2, 1fr); }

}

@media (max-width: 768px) {
    .help-flow-step { flex: 1 1 calc(50% - 0.5rem); min-width: 0; overflow-wrap: break-word; }
    .help-flow-arrow { display: none; }
}


/* ── Global lang FAB ─────────────────────────────────────────── */
.lang-fab {
    position: fixed;
    bottom: 1.5rem;
    right: 5.2rem;
    z-index: 100;
    display: flex;
    gap: 2px;
    background: rgba(0,0,0,.08);
    border-radius: 20px;
    padding: 3px;
    box-shadow: 0 1px 6px rgba(0,0,0,.10);
}

.lang-toggle-inline {
    display: flex;
    gap: 2px;
    background: rgba(0,0,0,.08);
    border-radius: 20px;
    padding: 3px;
}

/* ── Mobile dashboard ───────────────────────────────────────────────────── */

/* On desktop: hide mobile layout; on mobile: hide desktop layout */
.mobile-dash   { display: none; }
.mob-bottom-nav{ display: none; }

@media (max-width: 640px) {
    /* reset page chrome */
    body { padding: 0 !important; }
    .card.card-admin { width: 100% !important; max-width: 100% !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; }
    .help-fab, .lang-fab { display: none !important; }

    /* hide desktop dash, show mobile */
    .dash-layout  { display: none; }
    .mobile-dash  { display: flex; flex-direction: column; min-height: 100dvh; background: #f4f5f8; }
    .mob-bottom-nav { display: flex; }

    /* settings tab on mobile: flip visibility */
    .card-settings-active .dash-layout  { display: flex !important; }
    .card-settings-active .mobile-dash  { display: none !important; }
    .card-settings-active .dash-sidebar { display: none; }
    .card-settings-active .dash-main-area { width: 100%; min-height: 100dvh; padding-bottom: 5rem; }
    .card-settings-active .settings-layout { flex-direction: column; gap: 1rem; }
    .card-settings-active .preview-pane { display: none; }

    /* admin view responsive stacking */
    .dash-board { padding: 0.75rem; }

    /* settings page padding on mobile */
    .settings-layout { padding: 1rem; }
    .range-selector { margin-bottom: 0.75rem; }
    .kpi-row { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
    .dash-row, .dash-row-thirds { grid-template-columns: 1fr; gap: 0.6rem; }
    .kpi-card { padding: 0.8rem; }
    .kpi-value { font-size: 1.6rem; }
    .admin-header { padding: 0.75rem 0 0.5rem; }
    .admin-title { font-size: 1.05rem; }

    /* ── header ── */
    .mob-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.65rem 1rem;
        background: #fff;
        border-bottom: 1px solid #eee;
        position: sticky;
        top: 0;
        z-index: 20;
    }
    .mob-logo {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        font-weight: 700;
        font-size: 1.05rem;
        color: #1a1a2e;
        letter-spacing: -.02em;
    }
    .mob-header-right { display: flex; align-items: center; gap: 0.5rem; }
    .mob-period-btn {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        font-size: 0.78rem;
        font-weight: 600;
        color: #444;
        background: #f1f2f6;
        border: none;
        border-radius: 20px;
        padding: 0.35rem 0.7rem;
        cursor: pointer;
    }
    .mob-avatar-btn {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: linear-gradient(135deg, #6c47ff 0%, #b388ff 100%);
        color: #fff;
        font-size: 0.72rem;
        font-weight: 700;
        border: none;
        cursor: pointer;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    /* ── scrollable content ── */
    .mob-content {
        flex: 1;
        padding: 0.85rem 0.75rem;
        padding-bottom: calc(70px + env(safe-area-inset-bottom) + 0.5rem);
        overflow-y: auto;
    }
    .mob-daterange {
        font-size: 0.76rem;
        color: #888;
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
        gap: 0.35rem;
    }

    /* ── KPI tile grid: 2-col, first & last tiles span both cols ── */
    .mob-kpi-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }
    .mob-tile {
        background: #fff;
        border-radius: 16px;
        padding: 0.9rem 1rem;
        box-shadow: 0 1px 4px rgba(0,0,0,.06);
    }
    .mob-tile-full  { grid-column: 1 / -1; }
    .mob-tile-half  { grid-column: span 1; }
    .mob-tile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0.45rem;
    }
    .mob-tile-label {
        font-size: 0.7rem;
        font-weight: 600;
        color: #888;
        text-transform: uppercase;
        letter-spacing: .05em;
    }
    .mob-info-btn {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #f0f0f0;
        border: none;
        font-size: 0.65rem;
        font-weight: 700;
        color: #888;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mob-tile-value {
        font-size: 1.8rem;
        font-weight: 800;
        color: #1a1a2e;
        line-height: 1.1;
        letter-spacing: -.02em;
    }
    .mob-tile-half .mob-tile-value { font-size: 1.5rem; }
    .mob-star-accent { color: #fbbc04; }
    .mob-stars {
        font-size: 0.9rem;
        color: #fbbc04;
        letter-spacing: 1px;
        margin-top: 0.2rem;
    }
    .mob-tile-sub {
        font-size: 0.72rem;
        color: #888;
        margin-top: 0.25rem;
    }
    .mob-tile-up   { color: #16a34a; }
    .mob-tile-down { color: #dc2626; }
    .mob-goal-denom { font-size: 1rem; font-weight: 500; color: #aaa; }
    .mob-progress-track {
        height: 7px;
        background: #f0f0f0;
        border-radius: 10px;
        margin: 0.5rem 0 0.35rem;
        overflow: hidden;
    }
    .mob-progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #6c47ff, #b388ff);
        border-radius: 10px;
        transition: width 0.5s ease;
    }
    .mob-goal-set-btn {
        margin-top: 0.4rem;
        font-size: 0.72rem;
        color: #6c47ff;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        text-decoration: underline;
    }
    .kpi-empty { color: #ccc; }

    /* ── settings form on mobile ── */
    .mob-settings-form { display: flex; flex-direction: column; gap: 0.75rem; }

    /* ── bottom nav ── */
    .mob-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 30;
        background: #fff;
        border-top: 1px solid #eee;
        padding-bottom: env(safe-area-inset-bottom);
        justify-content: space-around;
        align-items: center;
        height: 62px;
    }
    .mob-nav-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        background: none;
        border: none;
        cursor: pointer;
        color: #aaa;
        font-size: 0.62rem;
        font-weight: 600;
        padding: 0.3rem 1.2rem;
        text-transform: uppercase;
        letter-spacing: .05em;
        transition: color .15s;
    }
    .mob-nav-btn.active { color: #6c47ff; }
    .mob-nav-btn svg { transition: stroke .15s; }
    .mob-nav-btn.active svg { stroke: #6c47ff; }

    /* ── period picker ── (mobile-only styles that were here moved below) */

    /* ── period picker ── */
    .mob-period-option {
        display: flex;
        align-items: center;
        gap: 0.7rem;
        width: 100%;
        background: none;
        border: none;
        padding: 0.65rem 0;
        border-bottom: 1px solid #f0f0f0;
        font-size: 0.9rem;
        color: #333;
        cursor: pointer;
    }
    .mob-period-option:last-child { border-bottom: none; }
    .mob-period-option.selected { color: #6c47ff; font-weight: 600; }
    .mob-period-dot {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        border: 2px solid #ccc;
        flex-shrink: 0;
    }
    .mob-period-dot.selected { border-color: #6c47ff; background: #6c47ff; }

    /* ── profile sheet ── */
    .mob-profile-header {
        display: flex;
        align-items: center;
        gap: 0.85rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid #f0f0f0;
    }
    .mob-profile-avatar-lg {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: linear-gradient(135deg, #6c47ff 0%, #b388ff 100%);
        color: #fff;
        font-size: 1rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        text-transform: uppercase;
    }
    .mob-profile-name  { font-weight: 700; font-size: 0.95rem; color: #1a1a2e; }
    .mob-profile-email { font-size: 0.75rem; color: #888; margin-top: 2px; }
    .mob-lang-row {
        display: flex;
        gap: 0.5rem;
    }
    .mob-lang-btn {
        flex: 1;
        padding: 0.5rem;
        border-radius: 10px;
        border: 1.5px solid #e0e0e0;
        background: #fff;
        font-size: 0.82rem;
        font-weight: 700;
        color: #555;
        cursor: pointer;
    }
    .mob-lang-btn.active {
        border-color: #6c47ff;
        background: #f0edff;
        color: #6c47ff;
    }
    .mob-profile-item {
        display: flex;
        align-items: center;
        gap: 0.7rem;
        padding: 0.65rem 0;
        border-bottom: 1px solid #f5f5f5;
        font-size: 0.88rem;
        color: #333;
        text-decoration: none;
        background: none;
        border-left: none;
        border-right: none;
        border-top: none;
        cursor: pointer;
        text-align: left;
    }
    .mob-profile-item-danger { color: #dc2626; }
    .mob-profile-item svg { flex-shrink: 0; }

    /* ── client activity tile ── */
    .mob-activity-cols {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0.25rem;
        margin-top: 0.3rem;
    }
    .mob-activity-col  { text-align: center; }
    .mob-activity-num  { font-size: 1.45rem; font-weight: 800; color: #1a1a2e; letter-spacing: -.02em; }
    .mob-activity-desc { font-size: 0.62rem; color: #888; margin-top: 0.1rem; line-height: 1.3; }

    /* ── progress bar with % ── */
    .mob-progress-wrap {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin: 0.45rem 0 0.3rem;
    }
    .mob-progress-wrap .mob-progress-track {
        flex: 1;
        height: 12px;
        margin: 0;
    }
    .mob-progress-pct {
        font-size: 0.78rem;
        font-weight: 700;
        color: #6c47ff;
        min-width: 2.2rem;
        text-align: right;
    }

    /* ── last review block ── */
    .mob-last-review-block {
        margin: 0.75rem 0 0.25rem;
    }
    .mob-last-review-label {
        font-size: 0.65rem;
        font-weight: 700;
        color: #aaa;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        margin-bottom: 0.4rem;
    }
    .mob-last-review-card {
        background: #fff;
        border-radius: 14px;
        padding: 0.85rem 1rem;
        box-shadow: 0 1px 4px rgba(0,0,0,.06);
    }
    .mob-last-review-stars {
        color: #fbbc04;
        font-size: 1rem;
        letter-spacing: 0.04em;
        margin-bottom: 0.3rem;
    }
    .mob-last-review-text {
        font-size: 0.82rem;
        color: #3a3a3a;
        line-height: 1.5;
        margin: 0 0 0.35rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .mob-last-review-meta {
        font-size: 0.68rem;
        color: #aaa;
    }

    /* ── settings popup fields ── */
    .mob-settings-fields { display: flex; flex-direction: column; margin-top: 0.75rem; }
    .mob-field-label { font-size: 0.72rem; font-weight: 600; color: #555; display: block; margin-bottom: 0.3rem; }

    /* ── back button in design settings ── */
    .mob-settings-back {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        background: none;
        border: none;
        font-size: 0.88rem;
        font-weight: 600;
        color: #6c47ff;
        cursor: pointer;
        padding: 0.5rem 0 1rem;
    }
}
/* hidden on desktop */
.mob-settings-back { display: none; }
