@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Tokens ── */
:root {
    --bg: #0e0f12;
    --surface: #1a1d23;
    --surface-light: #242832;
    --accent: #60a5fa;
    --accent-dim: rgba(96, 165, 250, 0.18);
    --accent-glow: rgba(96, 165, 250, 0.50);
    --text: #f0f0f3;
    --text-dim: #a4adba;
    --border: #2a2e37;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --transition: 0.2s ease;
    --font: 'Inter', sans-serif;
    --nav-h: 56px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 80px 0; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font);
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { box-shadow: 0 6px 20px var(--accent-glow); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--text-dim); background: rgba(255,255,255,0.04); }

/* ── Badge ── */
.badge {
    display: inline-block;
    padding: 3px 10px;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

/* ── Glass Card ── */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

/* ── Visual Panel (placeholder) ── */
.visual-panel {
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ── Spinner ── */
.page-loader { display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.loader-spinner {
    width: 26px; height: 26px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Navigation ── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
nav .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    flex-shrink: 0;
}
.logo span { color: #6c8cff; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-menu a {
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--accent); }

/* Auth */
.auth-container { display: flex; align-items: center; }

.btn-google {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #3c4043;
    border: 1px solid #dadce0;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.btn-google:hover { background: #f8f9fa; box-shadow: 0 2px 8px rgba(0,0,0,0.35); transform: translateY(-1px); }
.google-icon { width: 16px; height: 16px; flex-shrink: 0; }

/* Auth menu + dropdown */
.auth-menu { position: relative; }

.user-profile-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    padding: 4px 12px 4px 8px;
    border-radius: 50px;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
    user-select: none;
}
.user-profile-pill:hover { background: rgba(255,255,255,0.08); border-color: var(--border); }

#user-pic { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); }
#user-name { font-size: 0.82rem; font-weight: 500; color: var(--text); max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill-chevron { color: var(--text-dim); transition: transform var(--transition); flex-shrink: 0; }
.auth-menu.open .pill-chevron { transform: rotate(180deg); }

.auth-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    z-index: 100;
}
.auth-menu.open .auth-dropdown { display: block; }

.auth-dropdown button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.65rem 1rem;
    background: none;
    border: none;
    color: var(--text-dim);
    font-family: var(--font);
    font-size: 0.85rem;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    text-align: left;
}
.auth-dropdown button:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.auth-dropdown .btn-logout-drop { color: #ff6b6b; }
.auth-dropdown .btn-logout-drop:hover { background: rgba(255, 80, 80, 0.1); color: #ff4d4d; }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Footer ── */
footer {
    border-top: 1px solid var(--border);
    padding: 20px 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.footer-links a {
    color: var(--text-dim);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 6px;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-copy { color: var(--text-dim); font-size: 0.8rem; white-space: nowrap; }

/* ── Page content ── */
#page-content { min-height: calc(100vh - var(--nav-h)); padding-top: var(--nav-h); }

/* ── Subpage hero ── */
.subpage-hero {
    padding: 48px 0 32px;
    text-align: center;
}
.subpage-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.75rem; }
.subpage-hero p { color: var(--text-dim); font-size: 1.05rem; }

/* ── Hero (home) ── */
.hero {
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    align-items: center;
    padding: 60px 0;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.05rem; color: var(--text-dim); margin-bottom: 2rem; max-width: 480px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Feature rows (home preview) ── */
.features-preview { padding: 80px 0; }
.features-preview .section-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 2.5rem;
}
.feature-rows { display: flex; flex-direction: column; gap: 2rem; }
.feature-row {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; padding-bottom: 0; }
.feature-row-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: 10px;
}
.feature-row-text h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; }
.feature-row-text p { font-size: 0.9rem; color: var(--text-dim); }

/* ── Detail rows (features page) ── */
.feature-detail { padding: 80px 0; }
.detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 80px;
}
.detail-row:last-child { margin-bottom: 0; }
.detail-row.reverse .detail-text { order: 2; }
.detail-row.reverse .detail-visual { order: 1; }
.detail-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.detail-text p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 1.25rem; }
.detail-text ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.detail-text li { padding-left: 1.25rem; position: relative; color: var(--text-dim); font-size: 0.9rem; }
.detail-text li::before { content: '→'; position: absolute; left: 0; color: var(--accent); }

/* ── Pricing ── */
.pricing-hero {
    text-align: center;
    padding: 48px 0 32px;
}
.pricing-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.75rem; }
.pricing-hero p { color: var(--text-dim); font-size: 1.05rem; max-width: 520px; margin: 0 auto 2.5rem; }

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 420px;
    margin: 0 auto;
    position: relative;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent);
}
.price-badge {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.pricing-card h2 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.25rem 0;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}
.price-period { font-size: 0.9rem; color: var(--text-dim); font-weight: 400; }

.features-list { list-style: none; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0; }
.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-dim);
}
.features-list li:last-child { border-bottom: none; }
.features-list svg { color: var(--accent); flex-shrink: 0; }

.pricing-action-btn {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    background: var(--accent);
    color: #000;
    font-family: var(--font);
    transition: all var(--transition);
    margin-top: 0.25rem;
}
.pricing-action-btn:hover { box-shadow: 0 6px 20px var(--accent-glow); transform: translateY(-1px); }
.pricing-action-btn:disabled { background: var(--surface-light); color: var(--text-dim); cursor: not-allowed; transform: none; box-shadow: none; }
.btn-cancel-sub { background: rgba(255,80,80,0.1); color: #ff6b6b; border: 1px solid rgba(255,80,80,0.2); }
.btn-cancel-sub:hover { background: rgba(255,80,80,0.18); box-shadow: none; transform: none; }

#pricing-status-note { margin-top: 0.75rem; font-size: 0.85rem; color: var(--text-dim); min-height: 1.2em; }

/* ── Contact ── */
.contact-card { padding: 2rem; max-width: 600px; margin: 0 auto; }
.contact-form-inner { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.25rem; }
.contact-form-inner.is-disabled input,
.contact-form-inner.is-disabled textarea,
.contact-form-inner.is-disabled button { opacity: 0.45; pointer-events: none; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition);
    resize: vertical;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
#contact-login-state { color: var(--text-dim); font-size: 0.88rem; }
.contact-sender-note { color: var(--accent); font-size: 0.85rem; }
.contact-form-status { font-size: 0.85rem; color: var(--text-dim); min-height: 1.2em; }
.contact-form-status.is-success { color: var(--accent); }
.contact-form-status.is-error { color: #ff6b6b; }

/* ── Help ── */
.help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem 3rem; }
.help-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.help-item p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.65; }
.help-item a { color: var(--accent); }
.help-item a:hover { text-decoration: underline; }

/* ── About / Content prose ── */
.prose { max-width: 680px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.prose h3 { font-size: 1.1rem; color: var(--accent); margin: 2rem 0 0.6rem; }
.prose p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1rem; }

/* ── Terms / Privacy ── */
.content-card { padding: 2.5rem; max-width: 760px; margin: 0 auto; }
.content-card h2 { margin-bottom: 1.5rem; }
.content-card h3 { margin: 1.75rem 0 0.75rem; color: var(--accent); }
.content-card p { margin-bottom: 1.25rem; color: var(--text-dim); line-height: 1.8; font-size: 0.95rem; }

/* ── Modal ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.25s ease;
}
.modal-content {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 380px;
    width: 90%;
    box-shadow: var(--shadow);
    border: 1px solid var(--glass-border);
    position: relative;
}
.modal-content h2 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.modal-content p { color: var(--text-dim); margin-bottom: 1.75rem; font-size: 0.9rem; }
.modal-glow-btn { margin: 0 auto 0.75rem; }
.btn-cancel { background: none; border: none; color: var(--text-dim); cursor: pointer; font-size: 0.85rem; font-family: var(--font); transition: color var(--transition); }
.btn-cancel:hover { color: var(--text); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Active nav link ── */
.nav-menu a.active { color: var(--accent); }

/* ── Connect page ── */
body.connect-page { min-height: 100vh; overflow: hidden; }
.connect-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }

/* ── Mobile ── */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        padding: 0.5rem 0;
    }
    .nav-menu.open { display: flex; }
    .nav-menu a {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 0;
    }
    .nav-menu .auth-container { padding: 0.75rem 1.5rem; }

    .hero .container { grid-template-columns: 1fr; gap: 2rem; }
    .hero { padding: 40px 0 60px; min-height: auto; }
    .hero-subtitle { max-width: 100%; }

    .detail-row { grid-template-columns: 1fr; gap: 2rem; }
    .detail-row.reverse .detail-text { order: 1; }
    .detail-row.reverse .detail-visual { order: 2; }

    .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; }
    .footer-links { justify-content: center; }

    .auth-dropdown { right: auto; left: 0; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2rem; }
    .subpage-hero h1 { font-size: 1.75rem; }
    .pricing-hero h1 { font-size: 1.75rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    section { padding: 60px 0; }
    .feature-detail { padding: 60px 0; }
    .detail-row { margin-bottom: 60px; }
}


/* ── Seva Send account page ── */
.account-card { max-width: 560px; margin: 0 auto; }
.account-section-title { font-size: 1.05rem; margin: 0 0 .35rem; color: var(--text); }
.account-help { color: var(--text-dim); font-size: .9rem; margin: 0 0 1rem; line-height: 1.5; }
.account-help strong { color: var(--text); }

.account-form .form-group { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .35rem; }
.account-form label { font-size: .82rem; color: var(--text-dim); }
.account-form input {
    width: 100%;
    padding: .7rem .85rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: .95rem;
}
.account-form input:focus { outline: none; border-color: var(--accent); }

.account-subdomain-row { display: flex; align-items: stretch; }
.account-subdomain-row input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.account-subdomain-suffix {
    display: flex; align-items: center;
    padding: 0 .75rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-left: none;
    border-radius: 0 10px 10px 0;
    color: var(--text-dim);
    font-size: .88rem;
    white-space: nowrap;
}

.account-form-status { font-size: .85rem; min-height: 1.2em; margin: .25rem 0 .75rem; color: var(--text-dim); }
.account-form-status.is-success { color: #34c759; }
.account-form-status.is-error { color: #ff6b6b; }

.account-divider { border: none; border-top: 1px solid var(--border); margin: 1.75rem 0; }

.account-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.account-switch { position: relative; display: inline-block; width: 50px; height: 28px; flex-shrink: 0; }
.account-switch input { opacity: 0; width: 0; height: 0; }
.account-slider {
    position: absolute; inset: 0; cursor: pointer;
    background: var(--border); border-radius: 28px; transition: background .2s;
}
.account-slider::before {
    content: ""; position: absolute; height: 22px; width: 22px; left: 3px; top: 3px;
    background: #fff; border-radius: 50%; transition: transform .2s;
}
.account-switch input:checked + .account-slider { background: var(--accent); }
.account-switch input:checked + .account-slider::before { transform: translateX(22px); }
.account-switch input:disabled + .account-slider { opacity: .6; cursor: wait; }

.account-live-link { margin-top: 1rem; font-size: .9rem; color: var(--text-dim); display: flex; gap: .5rem; flex-wrap: wrap; }
.account-live-link a { color: var(--accent); text-decoration: none; word-break: break-all; }
.account-live-link a:hover { text-decoration: underline; }

.account-desktop-note { margin-top: 1.75rem; }


/* ── Account shell: sidebar + panels (v2) ── */
.account-shell { padding: 2rem 1rem 4rem; }
.account-login-state { text-align: center; padding: 3rem 1rem; }
.account-layout {
    max-width: 900px; margin: 0 auto;
    display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem;
    align-items: start;
}
.account-sidebar { display: flex; flex-direction: column; gap: .25rem; position: sticky; top: 90px; }
.account-nav-item {
    display: flex; align-items: center; gap: .6rem;
    padding: .7rem .9rem; border-radius: 10px;
    background: transparent; border: 1px solid transparent;
    color: var(--text-dim); font-size: .95rem; text-align: left; cursor: pointer; width: 100%;
}
.account-nav-item:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.account-nav-item.is-active { background: var(--accent-dim); color: var(--text); border-color: var(--border); }
.account-nav-signout { margin-top: 1rem; color: #ff7b7b; }
.acc-nav-ico { font-size: 1.05rem; }

.account-panel-wrap { background: var(--surface, #15171c); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; }
.account-panel { display: none; }
.account-panel.is-active { display: block; }
.account-h2 { font-size: 1.3rem; margin: 0 0 1.25rem; }
.account-h3 { font-size: 1rem; margin: 1.5rem 0 .75rem; color: var(--text); }

.account-info-grid { display: flex; flex-direction: column; gap: .1rem; }
.account-info-row { display: flex; justify-content: space-between; padding: .8rem 0; border-bottom: 1px solid var(--border); }
.account-info-row span { color: var(--text-dim); }

.account-subblock { padding: .5rem 0; }

.account-panel .form-group { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .35rem; }
.account-panel .form-group label { font-size: .82rem; color: var(--text-dim); }
.account-panel input[type=text],
.account-panel input[type=tel],
.account-panel input[type=email],
.account-panel input[type=number] {
    width: 100%; padding: .7rem .85rem;
    background: rgba(255,255,255,0.03); border: 1px solid var(--border);
    border-radius: 10px; color: var(--text); font-size: .95rem;
}
.account-panel input:focus { outline: none; border-color: var(--accent); }

.account-actions { display: flex; gap: .75rem; margin-top: 1rem; }
.btn-text { background: none; border: none; color: var(--accent); cursor: pointer; font-size: .9rem; padding: .4rem 0; }

.template-picker { display: flex; gap: .75rem; flex-wrap: wrap; }
.template-card {
    flex: 1; min-width: 110px; background: rgba(255,255,255,0.02);
    border: 2px solid var(--border); border-radius: 12px; padding: .6rem; cursor: pointer;
    display: flex; flex-direction: column; gap: .5rem; align-items: center;
}
.template-card.is-selected { border-color: var(--accent); }
.tpl-thumb { width: 100%; height: 66px; border-radius: 8px; background: #1b1e25; position: relative; overflow: hidden; }
.tpl-classic { border: 1px dashed var(--border); }
.tpl-modern { background: linear-gradient(135deg, #1d2740, #14361f); }
.tpl-bold { background: #2a1630; }
.tpl-label { font-size: .85rem; color: var(--text-dim); }
.template-card.is-selected .tpl-label { color: var(--text); }

.services-table, .tiers-table { width: 100%; border-collapse: collapse; }
.services-table th { text-align: left; font-size: .76rem; text-transform: uppercase; color: var(--text-dim); padding-bottom: .4rem; }
.services-table td, .tiers-table td { padding: .25rem .3rem .25rem 0; }
.services-table input, .tiers-table input { width: 100%; padding: .5rem .6rem; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 8px; color: var(--text); }
.svc-remove, .tier-remove { background: none; border: none; color: var(--text-dim); cursor: pointer; font-size: 1rem; padding: 0 .3rem; }
.tier-at { color: var(--text-dim); white-space: nowrap; font-size: .85rem; padding: 0 .4rem; }
.tiers-table .tier-max, .tiers-table .tier-price { width: 90px; }

.receive-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: .5rem 0; }
.price-block { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; margin: 1rem 0; }

.receive-qr-section {
    margin: 1.25rem 0;
    display: grid;
    gap: .9rem;
    justify-items: start;
}
.receive-qr-print {
    width: min(100%, 320px);
    padding: 1rem;
    background: #fff;
    color: #111;
    border-radius: 12px;
    text-align: center;
}
.receive-qr-print h3 {
    margin: 0 0 .75rem;
    font-size: 1.25rem;
    color: #111;
    overflow-wrap: anywhere;
}
.receive-qr-code {
    display: flex;
    justify-content: center;
    margin: .25rem 0 .75rem;
}
.receive-qr-code svg {
    width: 220px;
    height: 220px;
    display: block;
}
.receive-qr-message {
    margin: 0;
    font-weight: 700;
    line-height: 1.35;
}
.receive-qr-url {
    display: block;
    margin-top: .45rem;
    color: #333;
    font-size: .72rem;
    word-break: break-all;
}

.logo-uploader { display: flex; align-items: center; gap: .75rem; }
.logo-preview { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; border: 1px solid var(--border); }

.preview-bar { display: flex; gap: .75rem; margin-bottom: 1rem; }
.preview-frame { width: 100%; height: 70vh; border: 1px solid var(--border); border-radius: 12px; background: #fff; }

@media (max-width: 720px) {
    .account-layout { grid-template-columns: 1fr; }
    .account-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
    .account-nav-signout { margin-top: 0; }
}

@media print {
    body.print-receive-qr {
        background: #fff;
        color: #111;
    }
    body.print-receive-qr * {
        visibility: hidden !important;
    }
    body.print-receive-qr #receive-qr-print,
    body.print-receive-qr #receive-qr-print * {
        visibility: visible !important;
    }
    body.print-receive-qr #receive-qr-print {
        position: fixed;
        inset: 0;
        width: 100%;
        min-height: 100%;
        padding: 20mm;
        border: none;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: none;
    }
    body.print-receive-qr #receive-qr-print h3 {
        font-size: 28pt;
        margin-bottom: 12mm;
    }
    body.print-receive-qr #receive-qr-print .receive-qr-code svg {
        width: 90mm;
        height: 90mm;
    }
    body.print-receive-qr #receive-qr-print .receive-qr-message {
        margin-top: 8mm;
        font-size: 18pt;
    }
    body.print-receive-qr #receive-qr-print .receive-qr-url {
        display: none;
    }
}
