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

:root {
    --dark-950: #070707;
    --dark-900: #101010;
    --dark-850: #141414;
    --dark-800: #1a1a1a;
    --dark-700: #242424;
    --dark-600: #333333;
    --chrome-bg: var(--dark-900);
    --chrome-bg-soft: var(--dark-850);
    --chrome-border: rgba(255, 255, 255, 0.09);
    --chrome-text: #d0d0d0;
    --chrome-muted: #969696;
    --blue-950: var(--dark-950);
    --blue-900: var(--dark-900);
    --blue-850: var(--dark-850);
    --blue-800: var(--dark-800);
    --blue-700: var(--dark-700);
    --blue-600: var(--dark-600);
    --orange-500: #ff6a1a;
    --orange-600: #ea580c;
    --orange-400: #ff8a4c;
    --orange-glow: rgba(255, 106, 26, 0.22);
    --primary: var(--dark-900);
    --accent: var(--orange-500);
    --accent-hover: var(--orange-600);
    --bg: #ffffff;
    --bg-soft: #f7f8fa;
    --canvas-bg: #f7f8fa;
    --surface: #ffffff;
    --surface-2: #eef0f3;
    --white: #fff;
    --text: #171717;
    --text-soft: #4b4b4b;
    --muted: #777777;
    --border: #e6e8ec;
    --border-strong: rgba(255, 106, 26, 0.45);
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --sidebar-w: 260px;
    --topnav-h: 64px;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 8px 24px rgba(7, 7, 7, 0.04);
    --shadow-soft: 0 4px 14px rgba(7, 7, 7, 0.05);
    --sidebar-text: var(--chrome-text);
    --sidebar-muted: var(--chrome-muted);
    --sidebar-border: var(--chrome-border);
}

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--orange-600); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--orange-500); }

/* Flash */
.flash {
    padding: 14px 20px;
    text-align: center;
    font-weight: 600;
    font-size: .92rem;
    border-bottom: 1px solid var(--border);
}
.flash-success { background: #ecfdf5; color: #166534; }
.flash-error { background: #fef2f2; color: #991b1b; }
.flash-warning { background: #fffbeb; color: #92400e; }
.flash-panel {
    margin-bottom: 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    text-align: left;
    padding: 12px 16px;
}
.flash-panel.flash-success { background: #ecfdf5; color: #166534; border-color: #bbf7d0; }
.flash-panel.flash-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.flash-panel.flash-warning {
    background: #fffbeb;
    color: #92400e;
    border-color: #fde68a;
}
.flash-panel.flash-warning a {
    color: var(--orange-600);
    font-weight: 700;
    margin-left: 6px;
}
.flash-inline {
    margin-bottom: 16px;
    border-radius: var(--radius-sm);
    text-align: left;
    padding: 12px 16px;
}

/* Toast feedback */
.app-toast-stack {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 12000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(420px, calc(100vw - 28px));
    pointer-events: none;
}
.app-toast {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: start;
    padding: 14px 14px 16px;
    border-radius: 16px;
    border: 1px solid transparent;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transition: opacity .22s ease, transform .22s ease;
    pointer-events: auto;
}
.app-toast.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.app-toast.is-leaving {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
}
.app-toast-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: .95rem;
    font-weight: 800;
    flex-shrink: 0;
}
.app-toast--success {
    border-color: #bbf7d0;
}
.app-toast--success .app-toast-icon {
    background: #ecfdf5;
    color: #166534;
}
.app-toast--success .app-toast-icon::before { content: '✓'; }
.app-toast--warning {
    border-color: #fde68a;
}
.app-toast--warning .app-toast-icon {
    background: #fffbeb;
    color: #92400e;
}
.app-toast--warning .app-toast-icon::before { content: '!'; }
.app-toast--error {
    border-color: #fecaca;
}
.app-toast--error .app-toast-icon {
    background: #fef2f2;
    color: #991b1b;
}
.app-toast--error .app-toast-icon::before { content: '×'; }
.app-toast-body {
    min-width: 0;
    padding-top: 2px;
}
.app-toast-title {
    display: block;
    font-size: .82rem;
    line-height: 1.2;
    color: #0f172a;
}
.app-toast-message {
    margin: 4px 0 0;
    font-size: .86rem;
    line-height: 1.45;
    color: #475569;
}
.app-toast-close {
    border: none;
    background: transparent;
    color: #94a3b8;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}
.app-toast-close:hover {
    background: #f1f5f9;
    color: #475569;
}
.app-toast-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    transform-origin: left center;
    animation-name: app-toast-progress;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}
.app-toast--success .app-toast-progress { background: #22c55e; }
.app-toast--warning .app-toast-progress { background: #f59e0b; }
.app-toast--error .app-toast-progress { background: #ef4444; }
@keyframes app-toast-progress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

/* Toasts e popups no mobile — ver mobile-modern.css seções 20 e 21 */

/* In-app notification popup */
.app-notification-popup-stack {
    position: fixed;
    top: 76px;
    right: 18px;
    z-index: 11950;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(380px, calc(100vw - 28px));
    pointer-events: none;
}
.app-notification-popup {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: start;
    padding: 14px 14px 16px;
    border: 1px solid #fed7aa;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #fffaf5 100%);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    opacity: 0;
    transform: translateX(16px) scale(0.98);
    transition: opacity .24s ease, transform .24s ease;
    pointer-events: auto;
    cursor: pointer;
}
.app-notification-popup.is-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}
.app-notification-popup.is-leaving {
    opacity: 0;
    transform: translateX(12px) scale(0.98);
}
.app-notification-popup-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #ffedd5;
    color: #c2410c;
    font-size: 1rem;
    flex-shrink: 0;
}
.app-notification-popup-body {
    min-width: 0;
    padding-top: 1px;
}
.app-notification-popup-label {
    display: inline-flex;
    margin-bottom: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fff7ed;
    color: #ea580c;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.app-notification-popup-title {
    display: block;
    font-size: .86rem;
    line-height: 1.3;
    color: #0f172a;
}
.app-notification-popup-message {
    margin: 4px 0 0;
    font-size: .8rem;
    line-height: 1.45;
    color: #64748b;
}
.app-notification-popup-close {
    border: none;
    background: transparent;
    color: #94a3b8;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}
.app-notification-popup-close:hover {
    background: #fff1e6;
    color: #c2410c;
}
.app-notification-popup-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    transform-origin: left center;
    background: #fb923c;
    animation-name: app-toast-progress;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}
.topnav-notifications-action.is-muted {
    opacity: .55;
}
/* Popups de notificação no mobile — ver mobile-modern.css seção 20 */

/* Landing */
.landing-nav {
    background: rgba(7, 7, 7, 0.92);
    backdrop-filter: blur(12px);
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--sidebar-border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.landing-nav .logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -.02em;
}
.landing-nav .logo:hover { text-decoration: none; color: var(--white); }
.landing-nav .logo span { color: var(--orange-500); }
.landing-nav a { color: #cbd5e1; margin-left: 20px; font-weight: 500; }
.landing-nav a.btn {
    background: var(--orange-500);
    color: var(--white);
    padding: 0 22px;
    min-height: 40px;
    border-radius: var(--radius-sm);
}
.landing-nav a.btn:hover {
    background: var(--orange-600);
    text-decoration: none;
    color: var(--white);
}

.hero {
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.18), transparent 30%),
        linear-gradient(135deg, var(--blue-950) 0%, var(--blue-900) 55%, var(--blue-800) 100%);
    color: var(--white);
    text-align: center;
    padding: 96px 20px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 16px; letter-spacing: -.03em; }
.hero h1 span { color: var(--orange-500); }
.hero p { font-size: 1.15rem; color: #cbd5e1; max-width: 620px; margin: 0 auto 32px; }
.hero .btn-hero {
    box-shadow: none;
}
.hero .btn-hero:hover {
    transform: translateY(-1px);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.btn-hero-secondary {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.28);
    color: #fff !important;
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,.14);
    color: #fff !important;
    text-decoration: none;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}
.feature {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.feature h3 { margin-bottom: 10px; color: var(--blue-900); }
.feature p { color: var(--muted); }
.feature-icon { font-size: 2.5rem; margin-bottom: 12px; }

.plans-section {
    background: var(--bg-soft);
    padding: 70px 20px;
    text-align: center;
    border-top: 1px solid var(--border);
}
.plans-section h2 { margin-bottom: 40px; font-size: 2rem; color: var(--blue-900); }
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}
.plan-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.plan-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: 0 16px 34px rgba(249, 115, 22, 0.1);
}
.plan-card h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--blue-900); }
.plan-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--orange-500);
    margin: 16px 0;
}
.plan-card p { color: var(--muted); }
.plan-card ul { list-style: none; text-align: left; margin-top: 16px; }
.plan-card li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-soft);
}

.landing-footer {
    background: var(--blue-900);
    color: var(--sidebar-text);
    text-align: center;
    padding: 32px;
}

/* Login */
.login-page {
    min-height: 100vh;
    background: var(--dark-950);
}
.login-box {
    background: var(--white);
    padding: 42px;
    border-radius: calc(var(--radius) + 4px);
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.login-box h1 {
    text-align: center;
    margin-bottom: 8px;
    color: var(--blue-900);
    font-size: 2rem;
    letter-spacing: -.03em;
}
.login-box h1 span { color: var(--orange-500); }
.login-box .subtitle { text-align: center; color: var(--muted); margin-bottom: 30px; }
.login-footer {
    text-align: center;
    margin-top: 16px;
    font-size: .85rem;
    color: var(--muted);
}
.login-footer a { color: var(--orange-600); font-weight: 600; }

/* Forms */
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: .86rem;
    color: var(--text-soft);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: .95rem;
    background: var(--white);
    color: var(--text);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange-500);
    box-shadow: 0 0 0 3px var(--orange-glow);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.form-inline { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.form-submit { align-self: end; }
.form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

/* Buttons */
.btn,
.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    color: var(--white);
    background: var(--orange-500);
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover,
.btn-hero:hover {
    background: var(--orange-600);
    transform: translateY(-1px);
    text-decoration: none;
    color: var(--white);
}
.btn:focus-visible,
.btn-hero:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--orange-glow);
}

.btn-sm {
    min-height: 32px;
    padding: 0 12px;
    font-size: .8rem;
    gap: 6px;
}
.btn-lg,
.btn-hero {
    min-height: 46px;
    padding: 0 24px;
    font-size: .95rem;
}
.btn-block { width: 100%; }

.btn-primary,
.btn { background: var(--orange-500); color: var(--white); }
.btn-primary:hover,
.btn:hover { background: var(--orange-600); color: var(--white); }

.btn-secondary {
    background: var(--blue-900);
    color: var(--white);
}
.btn-secondary:hover {
    background: var(--blue-800);
    color: var(--white);
}

.btn-success { background: var(--success); color: var(--white); }
.btn-success:hover { background: #16a34a; color: var(--white); }

.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #dc2626; color: var(--white); }

.btn-outline {
    background: var(--white);
    border-color: var(--border);
    color: var(--text-soft);
    box-shadow: none;
}
.btn-outline:hover {
    background: var(--bg-soft);
    border-color: #cbd5e1;
    color: var(--blue-900);
    transform: none;
}

.btn-group,
.form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.form-actions { margin-top: 8px; }
.form-submit {
    display: flex;
    align-items: end;
}
.plan-card .btn { margin-top: 16px; }

/* Icons */
.icon { display: block; flex-shrink: 0; }

/* Panel Layout */
.layout {
    display: flex;
    min-height: 100vh;
    background: var(--canvas-bg);
}

.sidebar {
    width: var(--sidebar-w);
    background: linear-gradient(180deg, var(--dark-900), var(--dark-950));
    color: var(--white);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    border-right: 1px solid var(--chrome-border);
    z-index: 50;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 22px 20px 18px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -.03em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 106, 26, 0.35);
    background: rgba(255, 106, 26, 0.1);
    color: var(--orange-400);
}
.brand-accent { color: var(--orange-500); }

.sidebar-area {
    padding: 18px 20px 8px;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--sidebar-muted);
    font-weight: 600;
}

.sidebar nav { flex: 1; padding: 6px 10px 12px; }

.sidebar nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    margin-bottom: 2px;
    color: var(--sidebar-text);
    font-size: .88rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: none;
    transition: background .15s ease, color .15s ease;
}
.sidebar nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    text-decoration: none;
}
.sidebar nav a.active {
    background: rgba(255, 106, 26, 0.14);
    color: var(--white);
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(255, 106, 26, 0.18);
}
.sidebar nav a.active .nav-icon { color: var(--orange-400); }

.nav-icon {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    color: var(--sidebar-muted);
}
.nav-label { min-width: 0; }

.sidebar-footer {
    padding: 16px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 0 4px;
}
.user-chip-link {
    border-radius: 12px;
    padding: 8px 4px;
    text-decoration: none;
    transition: background .15s ease;
}
.user-chip-link:hover,
.user-chip-link.active {
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--orange-500);
    color: var(--white);
    font-weight: 700;
    font-size: .9rem;
}

.user-info { min-width: 0; }
.user-info strong {
    display: block;
    font-size: .86rem;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-info span {
    display: block;
    font-size: .72rem;
    color: var(--sidebar-muted);
    text-transform: capitalize;
}

.logout-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--sidebar-text) !important;
    font-size: .84rem;
    font-weight: 500;
}
.logout-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white) !important;
    text-decoration: none;
}

.content {
    flex: 1;
    padding: 24px 28px 36px;
    min-width: 0;
    background: var(--canvas-bg);
}

.layout-panel .layout-main {
    margin-left: var(--sidebar-w);
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.layout-panel .content {
    padding-top: calc(var(--topnav-h) + 24px);
}


.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.content h1,
.page-header h1 {
    margin-bottom: 4px;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    color: var(--blue-900);
    letter-spacing: -.03em;
    font-weight: 700;
}

.page-subtitle {
    color: var(--muted);
    font-size: .9rem;
}

/* Cards */
.card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    margin-bottom: 20px;
    overflow: hidden;
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
}
.card-header h2 {
    font-size: .95rem;
    color: var(--blue-900);
    font-weight: 600;
}
.card-meta,
.agenda-card-meta {
    font-size: .78rem;
    color: var(--muted);
    font-weight: 600;
    white-space: nowrap;
}
.card-body { padding: 20px; }

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.stats-grid--dashboard,
.stats-grid--panel {
    margin-bottom: 18px;
}
.card-header--compact {
    align-items: center;
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
}
.card-header--compact .panel-card-subtitle {
    margin: 0;
    flex: 1;
    min-width: 0;
}
.stat-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--surface);
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, border-color .18s ease;
}
.stat-box:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 106, 26, 0.28);
}
.stat-box::before { display: none; }
.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 106, 26, 0.1);
    border: 1px solid rgba(255, 106, 26, 0.18);
    color: var(--orange-500);
    flex-shrink: 0;
}
.stat-content { min-width: 0; }
.stat-value {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--blue-900);
    letter-spacing: -.03em;
    line-height: 1.2;
}
.stat-label {
    font-size: .8rem;
    color: var(--muted);
    margin-top: 2px;
    font-weight: 500;
}

/* Table */
.table { width: 100%; border-collapse: collapse; }
.table th,
.table td {
    padding: 13px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: .9rem;
}
.table th {
    background: var(--bg-soft);
    font-weight: 700;
    color: var(--muted);
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.table td { color: var(--text-soft); }
.table tbody tr { transition: background .12s ease; }
.table tbody tr:hover { background: #fff7ed; }
.table-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-wrap .table { min-width: 640px; }

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 700;
    text-transform: capitalize;
    border: 1px solid transparent;
}
.badge-success { background: #ecfdf5; color: #166534; border-color: #bbf7d0; }
.badge-warning { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.badge-danger { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.badge-secondary { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
.badge-profissional-tipo {
    background: rgba(249, 115, 22, .1);
    color: var(--orange-600, #ea580c);
    border: 1px solid rgba(249, 115, 22, .18);
    font-size: .72rem;
    font-weight: 600;
}

/* Empty */
.empty {
    text-align: center;
    padding: 52px 28px;
    color: var(--muted);
    border: 1px dashed #d8dbe1;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff, #fafbfc);
}
.empty strong { display: block; margin-bottom: 6px; color: var(--text); font-size: .98rem; }
.empty p { margin: 0 0 16px; font-size: .86rem; }
.empty a { color: var(--orange-600); font-weight: 700; }

.card-help {
    color: var(--muted);
    margin-bottom: 16px;
    font-size: .92rem;
}

.text-muted-sm {
    color: var(--muted);
    font-size: .85rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Toolbar */
.toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.toolbar-search {
    display: flex;
    align-items: end;
    gap: 10px;
    flex: 1;
    min-width: 280px;
}
.toolbar-search .form-group {
    flex: 1;
    margin-bottom: 0;
    min-width: 220px;
}
.toolbar-count {
    font-size: .82rem;
    color: var(--muted);
    font-weight: 500;
}

/* Scrollbar */
.sidebar::-webkit-scrollbar,
.content::-webkit-scrollbar { width: 8px; }
.sidebar::-webkit-scrollbar-thumb,
.content::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.25);
    border-radius: 999px;
}

@media (max-width: 768px) {
    .layout-panel .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(280px, 86vw);
        z-index: 60;
        transform: translateX(-105%);
        transition: transform .25s ease;
        box-shadow: none;
    }
    .layout-panel.sidebar-open .sidebar {
        transform: translateX(0);
        box-shadow: 8px 0 32px rgba(7, 7, 7, 0.35);
    }
    .sidebar-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(7, 7, 7, 0.55);
        z-index: 55;
    }
    body.sidebar-scroll-lock {
        overflow: hidden;
    }
    .layout-panel .layout-main {
        margin-left: 0;
        width: 100%;
    }
    .layout-panel .content {
        padding: calc(var(--topnav-h) + 20px) 16px 28px;
    }
    .layout { flex-direction: column; }
    .form-row { grid-template-columns: 1fr; }
    .landing-nav {
        padding: 14px 18px;
        flex-wrap: wrap;
        gap: 10px;
    }
    .landing-nav > div:last-child {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }
    .landing-nav a { margin-left: 0; }
    .hero { padding: 72px 20px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

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

/* Onboarding */
.onboarding-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
    background:
        radial-gradient(circle at top right, rgba(255,106,26,.14), transparent 30%),
        linear-gradient(180deg, var(--dark-950), var(--dark-900));
}
.onboarding-box {
    background: var(--white);
    padding: 42px;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid var(--border);
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    width: 100%;
    max-width: 760px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.onboarding-box h1 {
    text-align: center;
    margin-bottom: 8px;
    color: var(--blue-900);
    font-size: 2rem;
    letter-spacing: -.03em;
}
.onboarding-box h1 span { color: var(--orange-500); }
.onboarding-box .subtitle { text-align: center; color: var(--muted); margin-bottom: 24px; }
.wizard-steps {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 28px;
}
.wizard-step {
    flex: 1;
    text-align: center;
    opacity: .45;
}
.wizard-step.active,
.wizard-step.done { opacity: 1; }
.wizard-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--text-soft);
    font-weight: 700;
    font-size: .85rem;
    margin-bottom: 6px;
}
.wizard-step.active .wizard-step-num {
    background: var(--orange-500);
    color: #fff;
}
.wizard-step.done .wizard-step-num {
    background: var(--blue-900);
    color: #fff;
}
.wizard-step-label {
    display: block;
    font-size: .72rem;
    color: var(--muted);
    font-weight: 600;
}
.step-desc {
    color: var(--text-soft);
    margin-bottom: 18px;
    line-height: 1.5;
}
.wizard-actions {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 24px;
}
.wizard-actions .btn-primary { flex: 1; }
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}
.checkbox-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.checkbox-card:has(input:checked) {
    border-color: var(--orange-500);
    background: rgba(249, 115, 22, 0.06);
}
.checkbox-card input { width: auto; }
.turno-block {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 12px;
}
.schedule-config-card {
    margin-top: 18px;
}
.schedule-config-form {
    display: grid;
    gap: 24px;
}
.schedule-config-section {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fafbfc;
}
.schedule-config-head h3 {
    margin: 0 0 4px;
    font-size: .95rem;
}
.schedule-config-head p {
    margin: 0;
    color: var(--text-muted);
    font-size: .82rem;
}
.schedule-config-duration {
    max-width: 260px;
    margin: 0;
}
.schedule-turnos {
    display: grid;
    gap: 10px;
}
.schedule-config-actions {
    margin: 0;
    padding-top: 4px;
}

/* Catálogo de serviços - painel barbearia */
.service-catalog-hero {
    margin-bottom: 18px;
}
.service-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}
.service-catalog-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: border-color .18s, box-shadow .18s, transform .18s;
}
.service-catalog-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
    transform: translateY(-1px);
}
.service-catalog-card--promo {
    border-color: rgba(249, 115, 22, 0.35);
    background: linear-gradient(180deg, #fffaf5 0%, #fff 42%);
}
.service-catalog-card--inactive {
    opacity: .72;
}
.service-catalog-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
.service-catalog-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #334155;
}
.service-catalog-card--promo .service-catalog-icon {
    background: rgba(249, 115, 22, 0.12);
    color: #c2410c;
}
.service-catalog-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}
.service-promo-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ea580c, #f97316);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.service-catalog-main h3 {
    margin: 0 0 6px;
    font-size: .98rem;
}
.service-catalog-main p {
    margin: 0;
    color: #64748b;
    font-size: .8rem;
    line-height: 1.45;
}
.service-catalog-empty-desc {
    font-style: italic;
}
.service-catalog-pricing {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding-top: 4px;
    border-top: 1px dashed #e8edf3;
}
.service-price-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 8px;
}
.service-price-wrap--stack {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.service-price-current,
.service-price-promo {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
}
.service-price-promo {
    color: #c2410c;
}
.service-price-original {
    color: #94a3b8;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: line-through;
}
.service-price-discount {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 999px;
    background: #ffedd5;
    color: #9a3412;
    font-size: .68rem;
    font-weight: 800;
}
.service-catalog-duration {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-size: .74rem;
    font-weight: 700;
    white-space: nowrap;
}
.service-promo-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #fff7ed;
    color: #9a3412;
    font-size: .72rem;
    font-weight: 600;
}
.service-catalog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}
.service-catalog-actions form {
    margin: 0;
}

/* Catálogo de produtos */
.product-catalog-hero {
    margin-bottom: 18px;
}
.product-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}
.product-catalog-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform .15s ease, box-shadow .15s ease;
}
.product-catalog-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}
.product-catalog-card--inactive {
    opacity: .72;
}
.product-catalog-card--empty-stock {
    border-color: #fecaca;
}
.product-catalog-media {
    position: relative;
    display: flex;
    justify-content: center;
}
.product-catalog-media .product-catalog-image {
    width: 120px !important;
    height: 120px !important;
    border-radius: 18px;
}
.product-catalog-image {
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #eef2f6;
    color: #64748b;
}
.product-catalog-image--photo {
    background: #fff;
    border: 1px solid #e8edf3;
}
.product-catalog-image--photo img,
.product-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-catalog-badges {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}
.product-stock-badge {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fef2f2;
    color: #991b1b;
    font-size: .68rem;
    font-weight: 800;
}
.product-stock-badge--low {
    background: #fffbeb;
    color: #92400e;
}
.product-catalog-main h3 {
    margin: 0;
    font-size: .98rem;
}
.product-catalog-main p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: .78rem;
    line-height: 1.45;
}
.product-catalog-empty-desc {
    font-style: italic;
}
.product-catalog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 4px;
    border-top: 1px dashed #e8edf3;
}
.product-catalog-meta strong {
    color: var(--dark-950);
    font-size: 1rem;
}
.product-catalog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: .74rem;
}
.product-catalog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.product-catalog-actions form {
    margin: 0;
}
.product-form-modal .modal-bloqueio-box {
    width: min(560px, calc(100vw - 28px));
}
.product-photo-field {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    background: #fafbfc;
}
.product-photo-preview {
    width: 96px;
    height: 96px;
    flex: 0 0 96px;
    border-radius: 16px;
    overflow: hidden;
}
.product-photo-preview .product-catalog-image,
.product-photo-preview img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
}
.product-photo-actions {
    display: grid;
    gap: 8px;
    min-width: 0;
}
.product-photo-actions small {
    color: #64748b;
    font-size: .72rem;
    line-height: 1.45;
}
.product-crop-modal {
    z-index: 1100;
}
.product-crop-modal .modal-bloqueio-box {
    width: min(520px, calc(100vw - 24px));
}
.product-crop-help {
    margin: 0 0 12px;
    color: #64748b;
    font-size: .82rem;
}
.product-crop-viewport {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 16px;
    background: #0f172a;
    cursor: grab;
    touch-action: none;
}
.product-crop-viewport:active {
    cursor: grabbing;
}
.product-crop-viewport canvas {
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
}
.product-crop-zoom-label {
    display: block;
    margin: 12px 0 6px;
    font-size: .78rem;
    font-weight: 700;
    color: #475569;
}
#product-crop-zoom {
    width: 100%;
}
.logo-crop-modal {
    z-index: 1100;
}
.logo-crop-modal .modal-bloqueio-box {
    width: min(520px, calc(100vw - 24px));
}
.logo-crop-help {
    margin: 0 0 12px;
    color: #64748b;
    font-size: .82rem;
}
.logo-crop-viewport {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 16px;
    background: #0f172a;
    cursor: grab;
    touch-action: none;
}
.logo-crop-viewport:active {
    cursor: grabbing;
}
.logo-crop-viewport canvas {
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
}
.logo-crop-zoom-label {
    display: block;
    margin: 12px 0 6px;
    font-size: .78rem;
    font-weight: 700;
    color: #475569;
}
#logo-crop-zoom {
    width: 100%;
}
.onboarding-logo-field {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.logo-upload-field {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}
.logo-upload-field--panel {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    height: fit-content;
}
.logo-upload-field--compact {
    margin-top: 4px;
}
.form-group--logo {
    margin-bottom: 0;
}
.logo-upload-preview {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 104px;
    height: 104px;
    overflow: hidden;
    border: 2px dashed #cbd5e1;
    border-radius: 20px;
    background: #f1f5f9;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.logo-upload-field--panel .logo-upload-preview {
    width: 148px;
    height: 148px;
    margin: 0 auto;
}
.logo-upload-preview:hover {
    border-color: var(--orange-500, #f97316);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, .12);
    transform: translateY(-1px);
}
.logo-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.logo-upload-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--orange-500, #f97316);
}
.logo-upload-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    background: rgba(15, 23, 42, .58);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    opacity: 0;
    transition: opacity .15s ease;
}
.logo-upload-preview:hover .logo-upload-overlay,
.logo-upload-preview:focus-within .logo-upload-overlay {
    opacity: 1;
}
.logo-upload-overlay-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
}
.logo-upload-body {
    flex: 1;
    min-width: 0;
}
.logo-upload-field--panel .logo-upload-body {
    width: 100%;
}
.logo-upload-heading strong {
    display: block;
    margin-bottom: 4px;
    color: var(--dark-950, #0f172a);
    font-size: .94rem;
}
.logo-upload-heading p {
    margin: 0 0 14px;
    color: var(--muted, #64748b);
    font-size: .8rem;
    line-height: 1.45;
}
.logo-upload-field--panel .logo-upload-heading p {
    max-width: 280px;
    margin-inline: auto;
}
.logo-upload-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.logo-upload-field--panel .logo-upload-actions {
    justify-content: center;
}
.logo-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.logo-upload-hint {
    display: block;
    margin-top: 10px;
    color: var(--muted, #64748b);
    font-size: .72rem;
    line-height: 1.45;
}
.logo-upload-field--panel .logo-upload-hint {
    max-width: 320px;
    margin-inline: auto;
}
.onboarding-logo-field .logo-preview {
    width: 96px;
    height: 96px;
    margin: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 16px;
    border: 1px dashed var(--border);
    background: #fafbfc;
    color: var(--orange-500);
}
.onboarding-logo-field .logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 640px) {
    .product-catalog-grid {
        grid-template-columns: 1fr;
    }
    .product-photo-field {
        flex-direction: column;
        align-items: stretch;
    }
}

.service-form-modal .modal-bloqueio-box {
    width: min(560px, calc(100vw - 28px));
}
.service-form-section {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    background: #fafbfc;
}
.service-form-section h3 {
    margin: 0;
    font-size: .92rem;
}
.service-form-promo {
    background: #fff;
}
.service-form-promo-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.service-form-promo-head p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: .78rem;
}
.service-promo-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    white-space: nowrap;
    font-size: .78rem;
    font-weight: 700;
}
.service-promo-toggle:has(input:checked) {
    border-color: rgba(249, 115, 22, 0.45);
    background: #fff7ed;
    color: #9a3412;
}
.shop-service-card--promo {
    border-color: rgba(249, 115, 22, 0.28);
    background: linear-gradient(180deg, #fffaf5 0%, #fff 100%);
}
.shop-service-promo-badge {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ffedd5;
    color: #9a3412;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
}
.booking-service-card .service-price-wrap {
    margin-top: 2px;
}
.booking-service-card .service-promo-badge {
    display: inline-flex;
    margin-top: 4px;
    font-size: .62rem;
}
.booking-service-card .service-price-promo {
    font-size: .86rem;
}
.booking-services-summary {
    display: grid;
    gap: 4px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fafbfc;
}
.booking-services-summary strong {
    font-size: .92rem;
}
.booking-services-summary span {
    color: var(--muted);
    font-size: .82rem;
}
@media (max-width: 640px) {
    .service-catalog-grid {
        grid-template-columns: 1fr;
    }
    .service-form-promo-head {
        flex-direction: column;
    }
}

/* Equipe / barbeiros */
.barber-avatar,
.barber-team-avatar,
.booking-barber-avatar,
.agenda-team-avatar,
.shop-team-avatar {
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    flex: 0 0 auto;
    overflow: hidden;
}
.barber-avatar--photo,
.barber-team-avatar.barber-avatar--photo,
.booking-barber-avatar.barber-avatar--photo,
.agenda-team-avatar.barber-avatar--photo,
.shop-team-avatar.barber-avatar--photo {
    background: #e2e8f0;
}
.barber-avatar--photo img,
.barber-team-avatar img,
.booking-barber-avatar img,
.agenda-team-avatar img,
.shop-team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.barber-team-hero,
.barber-owner-card {
    margin-bottom: 18px;
}
.staff-booking-hero {
    margin-bottom: 18px;
}
.staff-booking-form {
    max-width: 920px;
}
.cliente-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 14px;
}
.cliente-team-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.cliente-team-avatar {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
}
.cliente-team-main {
    min-width: 0;
    display: grid;
    gap: 6px;
}
.cliente-team-main h3 {
    margin: 0;
    font-size: .98rem;
    color: var(--dark-950);
}
.cliente-team-meta,
.cliente-team-stats {
    display: grid;
    gap: 4px;
    color: #64748b;
    font-size: .76rem;
}
.cliente-team-meta span,
.cliente-team-stats span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.cliente-team-stats span:last-child {
    color: #94a3b8;
}
.cliente-team-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e8edf3;
}
.cliente-team-actions form {
    margin: 0;
}
@media (max-width: 640px) {
    .cliente-team-grid {
        grid-template-columns: 1fr;
    }
}
.barber-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 14px;
}
.barber-team-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.barber-team-main {
    display: grid;
    gap: 8px;
    min-width: 0;
}
.barber-team-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}
.barber-team-title h3 {
    margin: 0;
    font-size: .98rem;
}
.barber-team-meta {
    display: grid;
    gap: 5px;
    color: #64748b;
    font-size: .76rem;
}
.barber-team-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.barber-team-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e8edf3;
}
.barber-team-actions form {
    margin: 0;
}
.barber-form-modal .modal-bloqueio-box {
    width: min(540px, calc(100vw - 28px));
}
.barber-photo-field {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    background: #fafbfc;
}
.barber-photo-preview {
    width: 88px;
    height: 88px;
    flex: 0 0 88px;
    border-radius: 16px;
    overflow: hidden;
    background: #e2e8f0;
}
.barber-photo-preview img,
.barber-photo-preview .barber-avatar {
    width: 100%;
    height: 100%;
    border-radius: 16px;
}
.barber-avatar--empty {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #64748b;
    background: #eef2f6;
}
.barber-photo-actions {
    display: grid;
    gap: 8px;
    min-width: 0;
}
.barber-photo-actions small {
    color: #64748b;
    font-size: .72rem;
    line-height: 1.45;
}
.barber-crop-modal {
    z-index: 1100;
}
.barber-crop-modal .modal-bloqueio-box {
    width: min(520px, calc(100vw - 24px));
}
.barber-crop-help {
    margin: 0 0 12px;
    color: #64748b;
    font-size: .82rem;
}
.barber-crop-viewport {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 16px;
    background: #0f172a;
    cursor: grab;
    touch-action: none;
}
.barber-crop-viewport:active {
    cursor: grabbing;
}
.barber-crop-viewport canvas {
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
}
.barber-crop-zoom-label {
    display: block;
    margin: 12px 0 6px;
    font-size: .78rem;
    font-weight: 700;
    color: #475569;
}
#barber-crop-zoom {
    width: 100%;
}
.agenda-team-tab .agenda-team-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: .72rem;
}
@media (max-width: 640px) {
    .barber-team-grid {
        grid-template-columns: 1fr;
    }
    .barber-photo-field {
        flex-direction: column;
        align-items: stretch;
    }
}
.checkbox-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
}
.checkbox-inline input { width: auto; }
.turno-horarios { margin-top: 4px; }
.turno-horarios.is-disabled {
    display: none;
}
.form-hint {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: .82rem;
}
.text-muted { color: var(--muted); font-weight: 400; }
.logo-preview {
    margin-bottom: 16px;
    text-align: center;
}
.logo-preview img {
    max-width: 120px;
    max-height: 120px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.onboarding-preview { margin: 20px 0; }
.onboarding-preview .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.onboarding-team-section {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}
.onboarding-team-section h2 {
    margin: 0 0 4px;
    color: var(--dark-950);
    font-size: 1.05rem;
}
.onboarding-team-section .step-desc {
    margin: 0;
    font-size: .84rem;
}
.onboarding-team-second {
    margin-top: 28px;
}
.onboarding-question-number {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 10px;
    background: var(--dark-950);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
}
.wizard-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.wizard-choice {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 82px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.wizard-choice:hover {
    border-color: rgba(255, 106, 26, .45);
}
.wizard-choice:has(input:checked),
.wizard-choice.is-selected {
    border-color: var(--orange-500);
    background: rgba(255, 106, 26, .06);
    box-shadow: 0 0 0 3px rgba(255, 106, 26, .1);
}
.wizard-choice input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.wizard-choice-icon,
.wizard-choice > span:last-child {
    position: relative;
    z-index: 1;
}
.wizard-choice-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 11px;
    background: var(--bg-soft);
    color: var(--orange-500);
}
.wizard-choice > span:last-child {
    display: grid;
    gap: 3px;
}
.wizard-choice strong {
    color: var(--dark-950);
    font-size: .86rem;
}
.wizard-choice small {
    color: var(--muted);
    font-size: .72rem;
}
.wizard-barbeiro-form {
    display: grid;
    gap: 14px;
    margin-top: 16px;
    padding: 18px;
    border: 1px solid rgba(255, 106, 26, .2);
    border-radius: 15px;
    background: #fafbfc;
}
.wizard-barbeiro-form[hidden],
.onboarding-team-warning[hidden] {
    display: none !important;
}
.wizard-barbeiro-form-head {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--orange-500);
}
.wizard-barbeiro-form-head > div {
    display: grid;
}
.wizard-barbeiro-form-head strong {
    color: var(--dark-950);
    font-size: .9rem;
}
.wizard-barbeiro-form-head small {
    color: var(--muted);
    font-size: .74rem;
}
.onboarding-team-warning {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(245, 158, 11, .25);
    border-radius: 12px;
    background: rgba(245, 158, 11, .08);
    color: #8a5700;
    font-size: .8rem;
}
@media (max-width: 620px) {
    .onboarding-box {
        padding: 28px 18px;
    }
    .wizard-choice-grid {
        grid-template-columns: 1fr;
    }
}

/* Agenda grid */
.agenda-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.agenda-legend {
    padding: 14px 16px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}
.agenda-legend-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.agenda-legend-title {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--blue-900);
}
.agenda-legend-meta {
    font-size: .8rem;
    color: var(--muted);
}
.agenda-legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}
.agenda-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-soft);
}
.agenda-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    flex-shrink: 0;
}
.agenda-legend-item--livre .agenda-legend-dot { background: #dcfce7; border: 1px solid #22c55e; }
.agenda-legend-item--pendente .agenda-legend-dot { background: #ffedd5; border: 1px dashed #f97316; }
.agenda-legend-item--agendado .agenda-legend-dot { background: #fef9c3; border: 1px solid #eab308; }
.agenda-legend-item--bloqueado .agenda-legend-dot { background: #fee2e2; border: 1px solid #ef4444; }
.agenda-legend-item--passado .agenda-legend-dot { background: #e5e7eb; border: 1px solid #9ca3af; }

.agenda-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.agenda-day {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.agenda-day:not(.agenda-day--finalizado):hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.agenda-day--hoje {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.agenda-day-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 13px 15px;
    font-weight: 700;
    font-size: .86rem;
}
.agenda-day-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.agenda-day-name {
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: -.01em;
}
.agenda-day-date {
    font-size: .72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
}
.agenda-day-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.agenda-day-badge {
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    background: rgba(255, 255, 255, 0.18);
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.agenda-day-count {
    font-size: .68rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(0, 0, 0, 0.14);
    padding: 4px 9px;
    border-radius: 999px;
}
.agenda-day-block {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    cursor: pointer;
    transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.agenda-day-block:hover {
    border-color: rgba(255, 255, 255, .65);
    background: rgba(255, 255, 255, .26);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    transform: translateY(-1px);
}
.agenda-day-block .icon {
    display: block;
}
.agenda-day-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}
.agenda-turno {
    border-radius: 12px;
    padding: 11px 12px;
    border: 1px solid #e8edf3;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.agenda-turno--manha {
    background: #fff;
    border-color: #e8edf3;
    border-left: 4px solid #f59e0b;
}
.agenda-turno--tarde {
    background: #fff;
    border-color: #e8edf3;
    border-left: 4px solid #64748b;
}
.agenda-turno--noite {
    background: #fff;
    border-color: #e8edf3;
    border-left: 4px solid #3b82f6;
}
.agenda-turno-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e8edf3;
}
.agenda-turno-label {
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--blue-900);
}
.agenda-turno--manha .agenda-turno-label { color: #b45309; }
.agenda-turno--tarde .agenda-turno-label { color: #475569; }
.agenda-turno--noite .agenda-turno-label { color: #1d4ed8; }
.agenda-turno-range {
    font-size: .7rem;
    color: #64748b;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .04);
}
.agenda-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.agenda-slot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    min-height: 32px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .01em;
    border: 1.5px solid transparent;
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease;
}
.agenda-slot-btn {
    cursor: pointer;
    font: inherit;
    line-height: inherit;
}
.agenda-slot-btn.is-active {
    box-shadow: 0 0 0 3px rgba(15, 23, 42, .12);
    transform: translateY(-1px);
}
.agenda-slot-btn:hover:not(.agenda-slot--passado) {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
}
.agenda-slot--livre {
    background: linear-gradient(180deg, #ecfdf5 0%, #dcfce7 100%);
    color: #15803d;
    border-color: #86efac;
}
.agenda-slot--pendente {
    background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
    color: #9a3412;
    border-color: #fdba74;
    border-style: dashed;
}
.agenda-slot--agendado {
    background: linear-gradient(180deg, #fefce8 0%, #fef9c3 100%);
    color: #854d0e;
    border-color: #fde047;
}
.agenda-slot--bloqueado {
    background: linear-gradient(180deg, #fef2f2 0%, #fee2e2 100%);
    color: #991b1b;
    border-color: #fecaca;
    text-decoration: line-through;
    opacity: .94;
}
.agenda-slot--passado {
    background: #eef2f6 !important;
    color: #94a3b8 !important;
    border-color: #dbe3ec !important;
    text-decoration: line-through;
    cursor: not-allowed;
    opacity: .88;
    pointer-events: none;
    box-shadow: none !important;
    transform: none !important;
}
.agenda-day--finalizado {
    border-color: #dbe3ec;
    background: #f8fafc;
    box-shadow: none;
}
.agenda-day--finalizado:hover {
    transform: none;
    box-shadow: none;
}
.agenda-day-badge--finalizado {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}
.agenda-day-finished {
    margin: 0 14px 12px;
    padding: 10px 12px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f1f5f9;
    color: #64748b;
    font-size: .76rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.45;
}
.agenda-day--finalizado .agenda-slot--passado {
    background: #e2e8f0 !important;
}

.agenda-wrap-compact .agenda-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
}
.agenda-wrap-compact .agenda-day-body { padding: 10px; gap: 10px; }
.agenda-wrap-compact .agenda-turno { padding: 8px 8px 8px 10px; }
.agenda-wrap-compact .agenda-slot {
    min-width: 46px;
    font-size: .72rem;
    padding: 4px 7px;
}
.agenda-wrap-single .agenda-day--hoje {
    max-width: 520px;
}
.agenda-grid-single {
    grid-template-columns: 1fr;
}
.agenda-section-desc {
    margin: 0 0 14px;
    font-size: .84rem;
    color: var(--muted);
    font-weight: 500;
}
.agenda-card-meta {
    font-size: .8rem;
    font-weight: 600;
    color: var(--muted);
}
.agenda-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.agenda-blocks {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}
.agenda-blocks .card {
    margin-bottom: 0;
}

.barbearia-brand { margin-bottom: 16px; }
.barbearia-logo {
    max-height: 56px;
    max-width: 160px;
    object-fit: contain;
}

@media (max-width: 640px) {
    .onboarding-box { padding: 28px 20px; }
    .wizard-step-label { display: none; }
    .wizard-actions { flex-direction: column; }
    .agenda-grid { grid-template-columns: 1fr; }
    .agenda-legend-head { flex-direction: column; align-items: flex-start; }
    .bloqueio-tabs { flex-direction: column; }
}

/* Bloqueios */
.bloqueio-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.bloqueio-tab {
    flex: 1;
    min-width: 180px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-soft);
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.bloqueio-tab.active {
    border-color: var(--orange-500);
    background: rgba(249, 115, 22, 0.08);
    color: var(--blue-900);
}
.bloqueio-panel {
    display: none;
    margin-bottom: 20px;
}
.bloqueio-panel.active {
    display: block;
}

.modal-bloqueio {
    position: fixed;
    inset: 0;
    background: rgba(7, 7, 7, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
}
.modal-bloqueio[hidden] {
    display: none !important;
}
.modal-bloqueio.open {
    display: flex;
}
.modal-bloqueio-box {
    background: var(--white);
    width: 100%;
    max-width: 520px;
    border-radius: calc(var(--radius) + 2px);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 24px;
    max-height: 90vh;
    overflow-y: auto;
}
.modal-bloqueio-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.modal-bloqueio-head h2 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--blue-900);
}
.modal-bloqueio-close {
    border: none;
    background: var(--bg-soft);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-soft);
}
.modal-bloqueio-tabs {
    margin-bottom: 16px;
}
.modal-bloqueio .bloqueio-panel {
    margin-bottom: 0;
}

.confirm-modal {
    z-index: 1200;
}
.confirm-modal-box {
    max-width: 420px;
}
.confirm-modal-message {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.5;
}
.confirm-modal-hint {
    margin: 0 0 20px;
    color: var(--text-soft);
    font-size: 0.875rem;
    line-height: 1.45;
}
.confirm-modal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

/* Barra superior fixa — ações rápidas */
.app-topnav {
    position: fixed;
    top: 0;
    left: var(--sidebar-w);
    right: 0;
    height: var(--topnav-h);
    background: rgba(16, 16, 16, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--chrome-border);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 20px;
    z-index: 45;
}

.topnav-menu-toggle {
    display: none;
    margin-right: auto;
}

.app-topnav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.topnav-icon-btn {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    color: var(--sidebar-text);
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

button.topnav-icon-btn {
    cursor: pointer;
    font: inherit;
}

a.topnav-icon-btn:hover,
button.topnav-icon-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.14);
    text-decoration: none;
}

.topnav-agenda.active {
    background: rgba(249, 115, 22, 0.14);
    color: var(--orange-400);
    border-color: rgba(249, 115, 22, 0.35);
}
.topnav-account.active {
    background: rgba(249, 115, 22, 0.14);
    color: var(--orange-400);
    border-color: rgba(249, 115, 22, 0.35);
}

.topnav-notifications--soon {
    opacity: .55;
    cursor: default;
}

.topnav-notifications--soon:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--sidebar-text);
    border-color: rgba(255, 255, 255, 0.08);
}
.topnav-notifications-wrap {
    position: relative;
}
.topnav-notifications-backdrop,
.topnav-notifications-sheet-handle,
.topnav-notifications-close {
    display: none;
}
.topnav-notifications-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 1200;
    width: min(400px, calc(100vw - 24px));
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .16);
}
.topnav-notifications-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid #eef2f6;
    background: #fafbfc;
}
.topnav-notifications-head strong {
    display: block;
    color: var(--blue-900);
    font-size: .92rem;
}
.topnav-notifications-subtitle {
    display: block;
    margin-top: 2px;
    color: #94a3b8;
    font-size: .72rem;
}
.topnav-notifications-browser {
    flex-shrink: 0;
    border: 1px solid rgba(249, 115, 22, .25);
    border-radius: 999px;
    background: #fff7ed;
    color: var(--orange-600);
    font: inherit;
    font-size: .68rem;
    font-weight: 700;
    padding: 6px 10px;
    cursor: pointer;
}
.topnav-notifications-browser:disabled {
    opacity: .55;
    cursor: not-allowed;
}
.topnav-notifications-toolbar {
    display: grid;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #eef2f6;
    background: #fff;
}
.topnav-notifications-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.topnav-notifications-tabs button {
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    font: inherit;
    font-size: .72rem;
    font-weight: 700;
    padding: 5px 10px;
    cursor: pointer;
}
.topnav-notifications-tabs button.is-active {
    border-color: rgba(249, 115, 22, .35);
    background: #fff7ed;
    color: var(--orange-600);
}
.topnav-notifications-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.topnav-notifications-action {
    border: 0;
    background: transparent;
    color: #64748b;
    font: inherit;
    font-size: .68rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}
.topnav-notifications-action:hover {
    color: var(--orange-600);
    text-decoration: underline;
}
.topnav-notifications-action-danger:hover {
    color: #dc2626;
}
.topnav-notifications-mark-all {
    border: 0;
    background: transparent;
    color: var(--orange-600);
    font: inherit;
    font-size: .76rem;
    font-weight: 700;
    cursor: pointer;
}
.topnav-notifications-mark-all:hover {
    text-decoration: underline;
}
.topnav-notifications-list {
    max-height: 420px;
    overflow-y: auto;
}
.topnav-notification-item {
    display: flex;
    align-items: stretch;
    gap: 8px;
    border-bottom: 1px solid #eef2f6;
}
.topnav-notification-item:last-child {
    border-bottom: 0;
}
.topnav-notification-item.is-unread {
    background: #fff7ed;
}
.topnav-notification-main {
    flex: 1;
    min-width: 0;
}
.topnav-notification-link {
    display: grid;
    gap: 4px;
    padding: 14px 8px 14px 16px;
    text-decoration: none;
    transition: background .15s ease;
}
.topnav-notification-link:hover {
    background: #f8fafc;
    text-decoration: none;
}
.topnav-notification-type {
    display: inline-flex;
    width: fit-content;
    padding: 2px 8px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.topnav-notification-item.is-unread .topnav-notification-type {
    background: #ffedd5;
    color: #c2410c;
}
.topnav-notification-link strong {
    color: var(--blue-900);
    font-size: .84rem;
    line-height: 1.35;
}
.topnav-notification-link span {
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.45;
}
.topnav-notification-link small {
    color: #94a3b8;
    font-size: .68rem;
}
.topnav-notification-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding-right: 10px;
}
.topnav-notification-action {
    width: 28px;
    height: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #64748b;
    font-size: .82rem;
    line-height: 1;
    cursor: pointer;
}
.topnav-notification-action:hover {
    border-color: #cbd5e1;
    color: var(--blue-900);
}
.topnav-notification-action-danger:hover {
    border-color: #fecaca;
    color: #dc2626;
    background: #fef2f2;
}
.topnav-notifications-empty {
    margin: 0;
    padding: 24px 16px;
    color: var(--muted);
    font-size: .82rem;
    text-align: center;
}

.topnav-notifications-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--orange-500);
    color: var(--white);
    font-size: .62rem;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

@media (max-width: 768px) {
    .app-topnav {
        left: 0;
        justify-content: space-between;
        padding: 0 12px;
    }

    .topnav-menu-toggle {
        display: inline-grid;
    }
}

/* Slot popover */
.agenda-slot-popover {
    position: fixed;
    inset: 0;
    z-index: 1100;
    pointer-events: none;
}
.agenda-slot-popover[hidden] {
    display: none !important;
}
.agenda-slot-popover-box {
    position: fixed;
    width: min(320px, calc(100vw - 32px));
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 2px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    padding: 16px;
    pointer-events: auto;
}
.agenda-slot-popover-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: var(--bg-soft);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-soft);
    font-size: 1.2rem;
    line-height: 1;
}
.slot-popover-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
    padding-right: 28px;
}
.slot-popover-head strong {
    color: var(--blue-900);
    font-size: .92rem;
}
.slot-popover-head span {
    color: var(--muted);
    font-size: .8rem;
}
.slot-popover-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.slot-popover-status--livre { background: #dcfce7; color: #166534; }
.slot-popover-status--pendente { background: #ffedd5; color: #9a3412; }
.slot-popover-status--agendado { background: #fef9c3; color: #854d0e; }
.slot-popover-status--bloqueado { background: #fee2e2; color: #991b1b; }
.slot-popover-details {
    margin: 0 0 14px;
}
.slot-popover-details div {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6px 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}
.slot-popover-details div:last-child { border-bottom: none; }
.slot-popover-details dt {
    font-size: .72rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
}
.slot-popover-details dd {
    margin: 0;
    font-size: .84rem;
    color: var(--text);
}
.slot-popover-text {
    margin: 0 0 12px;
    font-size: .84rem;
    color: var(--text-soft);
    line-height: 1.45;
}
.slot-popover-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.agenda-slot-popover-loading {
    font-size: .85rem;
    color: var(--muted);
    padding: 8px 0;
}

/* Public barbershop page */
.shop-public-page {
    background: #f7f8fa;
    color: #152033;
}
.shop-public-page .flash { position: relative; z-index: 200; }
.shop-public-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}
.shop-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 72px;
    padding: 12px max(20px, calc((100vw - 1120px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(7, 7, 7, .92);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(18px);
}
.shop-nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    color: #fff;
}
.shop-nav-brand:hover { color: #fff; text-decoration: none; }
.shop-nav-brand img,
.shop-nav-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: rgba(249,115,22,.15);
    color: var(--orange-400);
    border: 1px solid rgba(255,255,255,.1);
}
.shop-nav-brand strong {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1rem;
}
.shop-nav-links { display: flex; align-items: center; gap: 22px; }
.shop-nav-links > a:not(.btn) {
    color: #cbd5e1;
    font-size: .86rem;
    font-weight: 600;
}
.shop-nav-links > a:not(.btn):hover { color: #fff; }
.shop-hero {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(120deg, rgba(7,7,7,.99), rgba(16,16,16,.96) 58%, rgba(36,36,36,.94));
    color: #fff;
}
.shop-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
.shop-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}
.shop-hero-glow-one {
    width: 460px;
    height: 460px;
    right: -120px;
    top: -170px;
    background: radial-gradient(circle, rgba(249,115,22,.25), transparent 67%);
}
.shop-hero-glow-two {
    width: 350px;
    height: 350px;
    left: 35%;
    bottom: -220px;
    background: radial-gradient(circle, rgba(37,99,168,.3), transparent 70%);
}
.shop-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    align-items: center;
    gap: 80px;
    padding: 92px 0;
}
.shop-eyebrow,
.shop-section-heading > span {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--orange-400);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.shop-hero-copy h1 {
    max-width: 700px;
    margin-bottom: 22px;
    font-size: clamp(2.7rem, 7vw, 5.2rem);
    line-height: .98;
    letter-spacing: -.06em;
}
.shop-hero-copy > p {
    max-width: 630px;
    margin-bottom: 32px;
    color: #cbd5e1;
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.75;
}
.shop-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.shop-hero-actions .btn,
.shop-info-copy .btn { display: inline-flex; align-items: center; gap: 9px; }
.shop-btn-ghost {
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.06);
}
.shop-btn-ghost:hover {
    color: #fff;
    border-color: rgba(255,255,255,.35);
    background: rgba(255,255,255,.1);
}
.shop-contact-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    margin-top: 28px;
}
.shop-contact-summary a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #94a3b8;
    font-size: .84rem;
}
.shop-contact-summary a:hover { color: #fff; }
.shop-hero-visual { position: relative; min-height: 410px; }
.shop-logo-frame {
    position: absolute;
    inset: 0 0 30px 20px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.035));
    box-shadow: 0 32px 80px rgba(0,0,0,.28);
    transform: rotate(2deg);
}
.shop-logo-frame img,
.shop-logo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 23px;
    object-fit: cover;
    background: #fff;
}
.shop-logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 30px;
    color: var(--blue-900);
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
}
.shop-logo-placeholder .icon { color: var(--orange-500); }
.shop-hero-badge {
    position: absolute;
    left: -10px;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 215px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: rgba(7,7,7,.88);
    box-shadow: 0 18px 45px rgba(0,0,0,.25);
    backdrop-filter: blur(12px);
    color: var(--orange-400);
}
.shop-hero-badge span { display: flex; flex-direction: column; color: #94a3b8; font-size: .7rem; }
.shop-hero-badge strong { color: #fff; font-size: .83rem; }
.shop-section { padding: 96px 0; scroll-margin-top: 72px; }
.shop-section-soft { background: #eef2f6; }
.shop-section-heading {
    max-width: 680px;
    margin-bottom: 42px;
}
.shop-section-heading h2,
.shop-info-copy h2 {
    margin-bottom: 14px;
    color: var(--blue-950);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -.045em;
}
.shop-section-heading p,
.shop-info-copy p {
    color: var(--muted);
    font-size: 1rem;
}
.shop-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.shop-service-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(15,35,64,.045);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.shop-service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(249,115,22,.35);
    box-shadow: 0 16px 40px rgba(15,35,64,.08);
}
.shop-card-icon,
.shop-product-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--orange-600);
    background: #fff7ed;
}
.shop-service-main h3,
.shop-team-card h3 { color: var(--blue-900); font-size: 1rem; }
.shop-service-main p { margin-top: 4px; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.shop-service-meta { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.shop-service-meta strong { color: var(--blue-900); }
.shop-service-meta span { color: var(--muted); font-size: .72rem; }
.shop-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 220px));
    justify-content: center;
    gap: 18px;
}
.shop-team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    border: 1px solid rgba(7,7,7,.08);
    border-radius: 18px;
    background: #fff;
    text-align: center;
    box-shadow: 0 12px 34px rgba(15,35,64,.05);
}
.shop-team-avatar {
    width: 76px;
    height: 76px;
    margin: 0 0 17px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    color: #fff;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 14px 25px rgba(7,7,7,.16);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}
.shop-team-avatar:not(.barber-avatar--photo) {
    background: linear-gradient(145deg, var(--blue-800), var(--blue-950));
}
.shop-team-avatar.barber-avatar--photo {
    background: #e2e8f0;
    box-shadow: 0 14px 25px rgba(7,7,7,.08);
}
.shop-team-card > span { display: block; margin: 4px 0 14px; color: var(--muted); font-size: .78rem; }
.shop-team-card > a { font-size: .78rem; font-weight: 700; }
.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.shop-product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(15, 35, 64, .045);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.shop-product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(249, 115, 22, .28);
    box-shadow: 0 16px 36px rgba(15, 35, 64, .08);
}
.shop-product-thumb {
    height: 148px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
    border-bottom: 1px solid #e8edf3;
}
.shop-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.shop-product-thumb--empty {
    color: #94a3b8;
}
.shop-product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
    padding: 16px;
    min-height: 132px;
}
.shop-product-body h3 {
    margin: 0;
    color: var(--blue-900);
    font-size: .95rem;
    line-height: 1.35;
}
.shop-product-body p {
    margin: 0;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.shop-product-empty-desc {
    font-style: italic;
    opacity: .85;
}
.shop-product-price {
    margin-top: auto;
    padding-top: 10px;
    color: var(--orange-600);
    font-size: 1rem;
    font-weight: 800;
}
.shop-info-section {
    color: #fff;
    background: var(--blue-950);
}
.shop-info-grid { display: grid; grid-template-columns: 1fr minmax(300px, .7fr); gap: 70px; align-items: center; }
.shop-info-copy h2 { color: #fff; }
.shop-info-copy p { max-width: 520px; margin-bottom: 28px; color: #94a3b8; }
.shop-info-card {
    padding: 26px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    background: rgba(255,255,255,.05);
}
.shop-info-card > div {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.shop-info-card > div:first-child { padding-top: 0; }
.shop-info-card > div:last-child { padding-bottom: 0; border-bottom: none; }
.shop-info-card > div > span {
    display: block;
    margin-bottom: 5px;
    color: #94a3b8;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.shop-info-card > div > strong { color: #fff; font-size: .88rem; }
.shop-hours-list { list-style: none; }
.shop-hours-list li { display: flex; justify-content: space-between; gap: 20px; padding: 4px 0; color: #cbd5e1; font-size: .8rem; }
.shop-hours-list strong { color: #fff; }
.shop-footer { padding: 24px 0; color: #737373; background: var(--dark-950); font-size: .76rem; }
.shop-footer .shop-public-container { display: flex; justify-content: space-between; gap: 20px; }
.shop-footer strong { color: var(--orange-400); }
.shop-not-found {
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.shop-not-found-mark {
    width: 76px;
    height: 76px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    color: var(--orange-500);
    background: #fff7ed;
}
.shop-not-found h1 { color: var(--blue-950); }
.shop-not-found p { margin: 8px 0 22px; color: var(--muted); }

/* Public page management */
.dashboard-quick-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin: -8px 0 20px;
}
.dashboard-quick-actions .btn,
.public-page-toolbar .btn,
.public-content-links .btn { display: inline-flex; align-items: center; gap: 8px; }
.public-page-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-soft);
}
.public-page-toolbar > div { min-width: 0; }
.public-page-toolbar-label {
    display: block;
    color: var(--muted);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.public-page-toolbar > div a {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .85rem;
    font-weight: 600;
}

/* Share links — modal de compartilhamento */
.share-links-modal .modal-bloqueio-box {
    width: min(560px, calc(100vw - 32px));
}
.share-links-modal .modal-bloqueio-head h2 {
    margin-top: 2px;
}
.share-links-modal-intro {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.5;
}
.share-links-body {
    display: grid;
    gap: 14px;
}
.share-link-row {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-soft);
}
.share-link-row-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}
.share-link-row-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: var(--orange-500);
    background: rgba(249, 115, 22, .1);
}
.share-link-row-head strong {
    display: block;
    font-size: .95rem;
    margin-bottom: 2px;
}
.share-link-row-head small {
    display: block;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.45;
}
.share-link-row-actions {
    display: grid;
    gap: 10px;
}
.share-link-input {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    font-size: .82rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.share-link-input:focus {
    outline: none;
    border-color: var(--orange-500);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, .12);
}
.share-link-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.share-link-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.share-link-copy.is-copied {
    border-color: #16a34a;
    color: #16a34a;
}
.btn-whatsapp {
    background: #25d366;
    border: 1px solid #20bd5a;
    color: #fff !important;
}
.btn-whatsapp:hover {
    background: #20bd5a;
    border-color: #1da851;
    color: #fff !important;
    text-decoration: none;
}
@media (max-width: 640px) {
    .share-link-buttons .btn {
        flex: 1 1 calc(50% - 4px);
        justify-content: center;
    }
    .share-link-buttons .share-link-open {
        flex-basis: 100%;
    }
}

.public-page-settings {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.public-page-logo-field { min-width: 0; }
.public-page-logo-preview {
    width: 180px;
    height: 180px;
    margin-bottom: 16px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 22px;
    color: var(--orange-500);
    background: var(--bg-soft);
}
.public-page-logo-preview img { width: 100%; height: 100%; object-fit: cover; }
.public-page-slug-preview {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-soft, #fafbfc);
    font-size: .9rem;
    word-break: break-all;
}
.public-page-slug-preview strong {
    color: var(--orange-600, #c2410c);
}
.public-page-logo-field small { display: block; margin-top: 6px; color: var(--muted); font-size: .7rem; }
.public-content-links { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 820px) {
    .shop-nav-links > a:not(.btn) { display: none; }
    .shop-hero { min-height: auto; }
    .shop-hero-content { grid-template-columns: 1fr; gap: 50px; padding: 72px 0; }
    .shop-hero-visual { width: min(440px, 100%); margin: 0 auto; }
    .shop-service-grid { grid-template-columns: 1fr; }
    .shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .shop-info-grid { grid-template-columns: 1fr; gap: 40px; }
    .public-page-settings { grid-template-columns: 1fr; }
    .logo-upload-field--panel {
        max-width: 420px;
        margin-inline: auto;
    }
}
@media (max-width: 560px) {
    .shop-public-container { width: min(100% - 28px, 1120px); }
    .shop-nav { min-height: 64px; padding: 10px 14px; }
    .shop-nav-brand strong { max-width: 150px; }
    .shop-nav-brand img,
    .shop-nav-mark { width: 38px; height: 38px; }
    .shop-hero-copy h1 { font-size: clamp(2.5rem, 15vw, 4rem); }
    .shop-hero-actions { flex-direction: column; align-items: stretch; }
    .shop-hero-actions .btn { justify-content: center; }
    .shop-hero-visual { min-height: 330px; }
    .shop-logo-frame { inset: 0 0 25px 10px; }
    .shop-hero-badge { left: 0; }
    .shop-section { padding: 70px 0; }
    .shop-service-card { grid-template-columns: auto 1fr; }
    .shop-service-meta { grid-column: 2; align-items: flex-start; flex-direction: row; gap: 10px; }
    .shop-product-grid { grid-template-columns: 1fr; }
    .shop-product-thumb { height: 132px; }
    .shop-footer .shop-public-container { flex-direction: column; text-align: center; gap: 6px; }
    .public-page-toolbar { align-items: stretch; flex-direction: column; }
    .public-page-toolbar .btn { justify-content: center; }
}

/* Cliente auth */
.cliente-auth-page {
    min-height: 100vh;
    background: var(--dark-950);
}
.cliente-auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
}
.cliente-auth-showcase {
    position: relative;
    overflow: hidden;
    padding: 48px;
    color: #fff;
    background:
        radial-gradient(circle at top left, rgba(249,115,22,.28), transparent 34%),
        linear-gradient(160deg, var(--dark-950) 0%, var(--dark-900) 55%, var(--dark-800) 100%);
}
.cliente-auth-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .08;
    background-image:
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 42px 42px;
    pointer-events: none;
}
.cliente-auth-showcase-inner {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: auto 0;
}
.cliente-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 36px;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.03em;
}
.cliente-auth-brand > span:not(.brand-mark) { color: var(--orange-500); }
.cliente-auth-brand .brand-mark { color: var(--orange-400); }
.cliente-auth-brand:hover { color: #fff; text-decoration: none; }
.cliente-auth-showcase h1 {
    margin-bottom: 18px;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -.045em;
}
.cliente-auth-showcase p {
    margin-bottom: 28px;
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.7;
}
.cliente-auth-benefits {
    list-style: none;
    display: grid;
    gap: 12px;
}
.cliente-auth-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    background: rgba(255,255,255,.05);
    color: #e2e8f0;
    font-size: .9rem;
}
.cliente-auth-benefits .icon { color: var(--orange-400); }
.cliente-auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    background:
        radial-gradient(circle at top right, rgba(249,115,22,.08), transparent 30%),
        linear-gradient(180deg, #fff, #f8fafc);
}
.cliente-auth-card {
    width: 100%;
    max-width: 440px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15, 35, 64, .08);
}
.cliente-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 22px;
    padding: 5px;
    border-radius: 12px;
    background: var(--bg-soft);
}
.cliente-auth-tabs a {
    text-align: center;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--muted);
    font-weight: 700;
    font-size: .88rem;
}
.cliente-auth-tabs a.active {
    background: #fff;
    color: var(--blue-900);
    box-shadow: var(--shadow-soft);
}
.cliente-auth-tabs a:hover { text-decoration: none; color: var(--blue-900); }
.cliente-auth-context {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff7ed;
    color: #9a3412;
    font-size: .82rem;
}
.cliente-auth-card h2 {
    margin-bottom: 6px;
    color: var(--blue-900);
    font-size: 1.45rem;
    letter-spacing: -.03em;
}
.cliente-auth-subtitle {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: .9rem;
}
.cliente-auth-form .btn { margin-top: 6px; }
.cliente-auth-switch,
.cliente-auth-footer {
    margin-top: 16px;
    text-align: center;
    color: var(--muted);
    font-size: .84rem;
}
.cliente-auth-footer { margin-top: 10px; }

/* Cliente marketplace */
.cliente-market { margin-top: 4px; }
.cliente-market-hero {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 20px;
    margin-bottom: 18px;
    padding: 24px;
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(249,115,22,.18), transparent 40%),
        linear-gradient(135deg, var(--dark-900), var(--dark-800));
    color: #fff;
}
.cliente-market-hero--explore {
    grid-template-columns: 1fr;
    min-height: 210px;
    padding: 34px 36px 100px;
}
.cliente-market-hero--explore:has(.cliente-market-guest-actions) {
    padding-bottom: 158px;
}
.cliente-market-hero--explore p {
    line-height: 1.55;
    margin-bottom: 0;
}
.cliente-market-hero-copy { min-width: 0; }
.cliente-explore-search {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .14);
}
.cliente-explore-search-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.cliente-explore-search-head > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cliente-explore-search-head strong {
    color: var(--blue-900);
    font-size: .96rem;
    letter-spacing: -.01em;
}
.cliente-explore-search-head span {
    color: var(--muted);
    font-size: .76rem;
}
.cliente-explore-search-head > .icon {
    color: var(--orange-500);
}
.cliente-explore-field-label {
    display: block;
    margin: 0 0 6px 2px;
    color: var(--text-soft);
    font-size: .72rem;
    font-weight: 800;
}
.cliente-explore-search-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, .75fr) auto;
    gap: 12px;
    align-items: end;
}
.cliente-explore-field--tipo {
    padding-right: 10px;
}
.cliente-explore-field--tipo select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: none;
    padding: 12px 0;
    background: transparent;
    color: var(--blue-900);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
}
.cliente-shop-type-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: var(--blue-900);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .02em;
}
.onboarding-tipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}
.onboarding-tipo-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.onboarding-tipo-card:hover {
    border-color: rgba(249,115,22,.35);
    background: #fffaf5;
}
.onboarding-tipo-card:has(input:checked) {
    border-color: var(--orange-500);
    background: #fff7ed;
    box-shadow: 0 0 0 3px rgba(249,115,22,.12);
}
.onboarding-tipo-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.onboarding-tipo-card strong {
    color: var(--blue-900);
    font-size: .88rem;
}
.onboarding-tipo-card small {
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.35;
}
.onboarding-titulo-proprietario {
    margin-top: 14px;
}
.cliente-explore-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    background: #f8fafc;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.cliente-explore-field:focus-within {
    border-color: var(--orange-500);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, .10);
}
.cliente-explore-field .icon { color: var(--orange-500); flex-shrink: 0; }
.cliente-explore-field input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: none;
    padding: 12px 0;
    background: transparent;
    color: var(--blue-900);
    font-size: .92rem;
    font-weight: 600;
}
.cliente-explore-field input::placeholder { color: #94a3b8; font-weight: 500; }
.cliente-explore-clear {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 999px;
    background: #e9eef4;
    color: var(--muted);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}
.cliente-explore-clear:hover { background: #ffedd5; color: #9a3412; }
.cliente-explore-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    min-height: 52px;
    padding-inline: 22px;
    border-radius: 12px;
}
.cliente-explore-hint {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.45;
}
.cliente-market-hero-wrap {
    position: relative;
    display: block;
    margin-bottom: 24px;
}
.cliente-market-hero-wrap .cliente-market-hero {
    margin-bottom: 0;
}
.cliente-explore-search-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    width: calc(100% - 48px);
    margin: -72px auto 0;
    position: relative;
    z-index: 5;
}
.cliente-explore-search-sheet {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cliente-explore-search-backdrop,
.cliente-explore-search-mobile-head,
.cliente-type-catalog,
.cliente-type-tabs,
.panel-mobile-actions {
    display: none;
}
@media (min-width: 901px) {
    .layout-cliente .cliente-explore-search-panel .cliente-explore-search {
        background: #fff;
        border: 1px solid var(--border);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: 0 18px 48px rgba(15, 23, 42, .14);
    }
    .layout-cliente .cliente-explore-search-panel .cliente-explore-hint {
        color: var(--muted);
        text-transform: none;
        letter-spacing: 0;
        font-weight: 600;
    }
    .layout-cliente .cliente-explore-search-panel .cliente-explore-field {
        border: 1px solid #dbe2ea;
        background: #f8fafc;
    }
    .layout-cliente .cliente-explore-search-panel .cliente-explore-field:focus-within {
        border-color: var(--orange-500);
        background: #fff;
    }
    .layout-cliente .cliente-explore-search-panel .cliente-explore-field input {
        color: var(--blue-900);
    }
    .layout-cliente .cliente-explore-search-panel .cliente-explore-field input::placeholder {
        color: var(--muted);
    }
    .layout-cliente .cliente-explore-search-panel .cliente-explore-field .icon {
        color: var(--orange-500);
    }
    .layout-cliente .cliente-explore-search-panel .cliente-explore-clear {
        background: #f1f5f9;
        color: var(--muted);
    }
    .layout-cliente .cliente-explore-search-panel .cliente-explore-clear:hover {
        background: #fff7ed;
        color: #9a3412;
    }
    .layout-cliente .cliente-explore-search-panel .cliente-explore-quick-chip {
        border: 1px solid var(--border);
        background: #fff;
        color: var(--blue-900);
    }
    .layout-cliente .cliente-explore-search-panel .cliente-explore-quick-chip:hover {
        border-color: rgba(249,115,22,.35);
        background: #fff7ed;
        color: #9a3412;
    }
    .layout-cliente .cliente-explore-search-panel .cliente-explore-quick-chip--muted {
        background: #f8fafc;
    }
    .layout-cliente .cliente-explore-search-panel .cliente-explore-quick-label {
        color: var(--muted);
    }
}
.cliente-explore-field-wrap {
    position: relative;
    min-width: 0;
}
.cliente-explore-suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 50;
    max-height: 280px;
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .16);
    padding: 6px;
}
.cliente-explore-suggest-empty {
    margin: 0;
    padding: 12px 14px;
    color: var(--muted);
    font-size: .82rem;
}
.cliente-explore-suggest-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    border: 0;
    border-radius: 10px;
    background: transparent;
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
    transition: background .15s ease;
}
.cliente-explore-suggest-item:hover,
.cliente-explore-suggest-item.is-active {
    background: #fff7ed;
}
.cliente-explore-suggest-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.cliente-explore-suggest-main strong {
    color: var(--blue-900);
    font-size: .88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cliente-explore-suggest-main small {
    color: var(--muted);
    font-size: .74rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cliente-explore-suggest-price {
    flex-shrink: 0;
    color: var(--orange-600);
    font-size: .78rem;
    font-weight: 700;
}
.cliente-explore-quick,
.cliente-explore-recent-searches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.cliente-explore-quick-label {
    color: #94a3b8;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    flex-shrink: 0;
}
.cliente-explore-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}
.cliente-explore-quick-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #f8fafc;
    font-size: .76rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}
.cliente-explore-quick-chip:hover {
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.28);
    color: #fff;
    text-decoration: none;
}
.cliente-explore-quick-chip--muted {
    opacity: .92;
}
.cliente-explore-search.is-loading {
    opacity: .72;
    pointer-events: none;
}
.cliente-explore-search.is-loading .cliente-explore-submit span::after {
    content: '...';
}
.cliente-search-hit {
    background: rgba(255, 140, 44, .22);
    color: inherit;
    padding: 0 2px;
    border-radius: 3px;
}
.cliente-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.cliente-active-filters-label {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
}
.cliente-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}
.cliente-filter-chip:hover {
    background: #ffedd5;
    color: #7c2d12;
    text-decoration: none;
}
.cliente-filter-chip span {
    opacity: .7;
    font-size: .95rem;
}
.cliente-filter-clear {
    margin-left: 4px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
}
.cliente-filter-clear:hover { color: var(--orange-600); }
.cliente-recent-section {
    margin-bottom: 22px;
}
.cliente-recent-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.cliente-recent-head h2 {
    margin: 0 0 4px;
    color: var(--blue-900);
    font-size: 1.15rem;
}
.cliente-recent-head p {
    margin: 0;
    color: var(--muted);
    font-size: .84rem;
}
.cliente-recent-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 300px);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}
.cliente-recent-grid .cliente-shop-card {
    scroll-snap-align: start;
}
.cliente-shop-recent-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-size: .68rem;
    font-weight: 700;
}
.cliente-shop-recent-badge .icon { color: #ea580c; }
.cliente-sort-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.cliente-sort-form label {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}
.cliente-sort-form select {
    min-width: 140px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--blue-900);
    font-size: .84rem;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.cliente-sort-form select:focus {
    outline: none;
    border-color: var(--orange-500);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, .10);
}
.cliente-sort-form.is-loading select {
    opacity: .55;
    cursor: wait;
}
.cliente-explore-empty {
    display: grid;
    gap: 16px;
}
.cliente-explore-tips {
    padding: 16px 18px;
    border: 1px dashed var(--border);
    border-radius: 14px;
    background: #fafbfc;
}
.cliente-explore-tips strong {
    display: block;
    margin-bottom: 8px;
    color: var(--blue-900);
}
.cliente-explore-tips ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.55;
}
.cliente-explore-tips .cliente-explore-quick-chips {
    margin-top: 10px;
}
.cliente-explore-tips .cliente-explore-quick-chip {
    border-color: #fed7aa;
    background: #fff7ed;
    color: #9a3412;
}
.cliente-explore-tips .cliente-explore-quick-chip:hover {
    background: #ffedd5;
    color: #7c2d12;
}
.cliente-market-hello {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--orange-400);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.cliente-market-hero h1 {
    margin-bottom: 8px;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    letter-spacing: -.03em;
}
.cliente-market-hero p { color: #cbd5e1; max-width: 460px; }
.cliente-location-form {
    padding: 16px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: rgba(255,255,255,.06);
}
.cliente-location-form label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #e2e8f0;
    font-size: .8rem;
    font-weight: 700;
}
.cliente-location-row { display: flex; gap: 8px; }
.cliente-location-row input {
    flex: 1;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 10px;
    background: rgba(7,7,7,.35);
    color: #fff;
}
.cliente-location-row input::placeholder { color: #94a3b8; }
.cliente-location-form small {
    display: block;
    margin-top: 8px;
    color: #94a3b8;
    font-size: .72rem;
}
.cliente-search-bar {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.cliente-search-input {
    flex: 1;
    min-width: 240px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
}
.cliente-search-input .icon { color: var(--muted); }
.cliente-search-input input {
    width: 100%;
    border: 0;
    outline: none;
    padding: 14px 0;
    background: transparent;
    font-size: .95rem;
}
.cliente-market-meta {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    margin-bottom: 16px;
}
.cliente-market-meta h2 {
    margin-bottom: 2px;
    color: var(--blue-900);
    font-size: 1.2rem;
}
.cliente-market-meta p { color: var(--muted); font-size: .86rem; }
.cliente-location-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-size: .78rem;
    font-weight: 700;
}
.cliente-shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
    align-items: stretch;
}
.cliente-shop-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(15, 35, 64, .07);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cliente-shop-card:hover {
    transform: translateY(-6px);
    border-color: rgba(249,115,22,.35);
    box-shadow: 0 22px 46px rgba(15,35,64,.13);
}
.cliente-shop-cover-link {
    position: relative;
    display: block;
    text-decoration: none;
}
.cliente-shop-cover {
    position: relative;
    height: 164px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-900), var(--dark-700));
}
.cliente-shop-cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,7,7,.04) 0%, rgba(7,7,7,.52) 100%);
    pointer-events: none;
}
.cliente-shop-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}
.cliente-shop-card:hover .cliente-shop-cover img {
    transform: scale(1.04);
}
.cliente-shop-cover-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--orange-400);
    background:
        radial-gradient(circle at 78% 18%, rgba(249, 115, 22, .24), transparent 28%),
        linear-gradient(135deg, #111827, #263548);
}
.cliente-shop-available-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(15, 23, 42, .70);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
}
.cliente-shop-available-badge > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .18);
}
.cliente-shop-logo {
    position: absolute;
    left: 16px;
    bottom: -22px;
    z-index: 2;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15,35,64,.12);
}
.cliente-shop-logo--fallback {
    color: var(--orange-600);
    background: #fff7ed;
}
.cliente-shop-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cliente-shop-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 32px 18px 18px;
}
.cliente-shop-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    flex-shrink: 0;
}
.cliente-shop-head > div:first-child {
    min-width: 0;
    min-height: 3.1em;
}
.cliente-shop-head h3 {
    margin: 0 0 4px;
    font-size: 1.08rem;
    color: var(--blue-900);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cliente-shop-head h3 a { color: inherit; }
.cliente-shop-head h3 a:hover { color: var(--orange-600); text-decoration: none; }
.cliente-shop-address {
    margin: 0;
    min-height: 1.35em;
    color: var(--muted);
    font-size: .76rem;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}
.cliente-shop-address .icon {
    flex: 0 0 auto;
    margin-top: 1px;
    color: var(--orange-500);
}
.cliente-shop-address span {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cliente-shop-address--empty {
    color: #cbd5e1;
    font-style: italic;
}
.cliente-shop-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
    min-width: 92px;
    padding: 7px 9px;
    border-radius: 11px;
    background: #fff7ed;
    color: var(--orange-600);
    font-size: .92rem;
    font-weight: 800;
    white-space: nowrap;
}
.cliente-shop-price small {
    color: var(--muted);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.cliente-shop-desc {
    flex: 1 1 auto;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.5;
    min-height: 3em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cliente-shop-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 34px;
    margin-bottom: 14px;
    flex-shrink: 0;
}
.cliente-shop-stats span,
.cliente-shop-stats a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #edf1f5;
    background: #f8fafc;
    color: var(--text-soft);
    font-size: .72rem;
    font-weight: 600;
    text-decoration: none;
}
.cliente-shop-stats .icon { color: var(--orange-500); }
.cliente-shop-phone:hover {
    background: #fff7ed;
    color: #9a3412;
}
.cliente-shop-actions {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 10px;
    align-items: stretch;
    margin-top: auto;
    flex-shrink: 0;
}
.cliente-shop-cta {
    justify-content: center;
}
.cliente-shop-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    height: 100%;
}
.cliente-shop-details span {
    transition: transform .15s ease;
}
.cliente-shop-details:hover span {
    transform: translateX(3px);
}

@media (max-width: 900px) {
    .cliente-auth-shell { grid-template-columns: 1fr; }
    .cliente-auth-showcase { min-height: auto; padding: 36px 24px; }
    .cliente-market-hero,
    .cliente-market-hero--explore { grid-template-columns: 1fr; }
    .cliente-market-hero-wrap {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .cliente-explore-search-panel {
        position: sticky;
        top: var(--explore-sticky-top, calc(var(--topnav-h) + env(safe-area-inset-top, 0px)));
        z-index: 30;
        padding-bottom: 4px;
    }
    .cliente-explore-search-panel.is-sticky .cliente-explore-search {
        box-shadow: 0 10px 28px rgba(7, 7, 7, .22);
    }
    .cliente-explore-search-panel.is-sticky .cliente-explore-quick,
    .cliente-explore-search-panel.is-sticky .cliente-explore-recent-searches {
        display: none;
    }
    .cliente-explore-search-grid {
        grid-template-columns: 1fr;
    }
    .cliente-explore-submit { width: 100%; justify-content: center; }
    .cliente-market-meta {
        flex-direction: column;
        align-items: stretch;
    }
    .cliente-sort-form { justify-content: space-between; }
    .cliente-recent-head {
        flex-direction: column;
        align-items: stretch;
    }
    .cliente-recent-head .btn { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
    .cliente-auth-card { padding: 20px; }
    .cliente-location-row { flex-direction: column; }
    .cliente-shop-actions { grid-template-columns: 1fr; }
}

/* Customer app without sidebar */
.layout-cliente .sidebar,
.layout-cliente .sidebar-backdrop { display: none !important; }
.layout-cliente .layout-main { margin-left: 0; width: 100%; }
.layout-cliente .app-topnav { left: 0; height: 68px; padding: 0 max(20px, calc((100vw - 1180px) / 2)); }
.layout-cliente .content {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 92px 24px 40px;
    background: #f7f8fa;
}
.cliente-topnav { justify-content: flex-start; gap: 24px; }
.cliente-topnav-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}
.cliente-topnav-brand:hover { color: #fff; text-decoration: none; }
.cliente-topnav-brand strong { color: var(--orange-500); }
.cliente-topnav-brand .brand-mark { width: 34px; height: 34px; }
.cliente-topnav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}
.cliente-topnav-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 11px;
    border-radius: 9px;
    color: var(--sidebar-text);
    font-size: .8rem;
    font-weight: 600;
}
.cliente-topnav-links a:hover,
.cliente-topnav-links a.active {
    color: #fff;
    background: rgba(255,255,255,.08);
    text-decoration: none;
}
.cliente-topnav-links a.active .icon { color: var(--orange-400); }
.cliente-topnav-user {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--orange-500);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
.cliente-topnav-user:hover,
.cliente-topnav-user.active {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(249, 115, 22, .28);
}
.account-settings-section {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}
.account-settings-section h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: var(--blue-900);
}
.account-settings-layout {
    display: grid;
    grid-template-columns: minmax(200px, 220px) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    width: 100%;
}
.account-settings-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: sticky;
    top: 24px;
}
.account-settings-nav-link {
    display: block;
    padding: 8px 16px;
    margin-left: -16px;
    border-left: 2px solid transparent;
    border-radius: 0 8px 8px 0;
    color: var(--muted, #64748b);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.4;
    transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.account-settings-nav-link:hover {
    color: var(--dark-950, #0f172a);
    border-left-color: var(--border, #e2e8f0);
    text-decoration: none;
}
.account-settings-nav-link.is-active {
    color: var(--dark-950, #0f172a);
    font-weight: 600;
    border-left-color: var(--orange-500, #f97316);
    background: rgba(249, 115, 22, .07);
}
.account-settings-nav-link--danger {
    color: var(--danger, #dc2626);
}
.account-settings-nav-link--danger:hover {
    color: var(--danger, #dc2626);
    border-left-color: rgba(220, 38, 38, .35);
}
.account-settings-nav-link--danger.is-active {
    border-left-color: var(--danger, #dc2626);
    background: rgba(220, 38, 38, .07);
}
.account-settings-main {
    min-width: 0;
}
.account-settings-panel > .card-header {
    align-items: flex-start;
}
.account-settings-panel--danger {
    border-color: rgba(220, 38, 38, .22);
}
.account-settings-panel--danger > .card-header h2 {
    color: var(--danger, #dc2626);
}
.account-settings-note {
    margin: 20px 0;
    padding: 14px 16px;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 12px;
    background: #f8fafc;
    font-size: .84rem;
    line-height: 1.55;
}
.account-settings-note strong {
    display: block;
    margin-bottom: 6px;
    color: var(--dark-950, #0f172a);
}
.account-settings-note p {
    margin: 0;
    color: var(--muted, #64748b);
}
.account-danger-summary {
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fef2f2;
    color: #7f1d1d;
    font-size: .86rem;
    line-height: 1.55;
}
.account-danger-summary p {
    margin: 0 0 10px;
}
.account-danger-summary ul {
    margin: 0 0 12px 18px;
    padding: 0;
}
.account-danger-summary li + li {
    margin-top: 4px;
}
.account-danger-warning {
    margin-bottom: 0 !important;
    font-weight: 600;
}
.account-danger-form .form-actions {
    margin-top: 8px;
}
@media (max-width: 860px) {
    .account-settings-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .account-settings-nav {
        position: static;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0;
        margin: 0;
        padding-bottom: 0;
        border-bottom: 1px solid var(--border, #e5e7eb);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .account-settings-nav-link {
        flex: 0 0 auto;
        margin: 0;
        padding: 12px 14px;
        border-left: none;
        border-bottom: 2px solid transparent;
        border-radius: 0;
        white-space: nowrap;
    }
    .account-settings-nav-link.is-active {
        border-left-color: transparent;
        border-bottom-color: var(--orange-500, #f97316);
        background: transparent;
    }
    .account-settings-nav-link--danger.is-active {
        border-bottom-color: var(--danger, #dc2626);
        background: transparent;
    }
}
.migration-list {
    display: grid;
    gap: 12px;
}
.migration-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
}
.migration-item-main {
    min-width: 0;
}
.migration-item-main strong {
    display: block;
    margin-bottom: 4px;
    color: var(--blue-900);
}
.migration-item-main code {
    display: inline-block;
    margin-bottom: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: .72rem;
}
.migration-item-main p {
    margin: 0;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.45;
}
.migration-output-block + .migration-output-block {
    margin-top: 16px;
}
.migration-output {
    margin: 8px 0 0;
    padding: 14px 16px;
    border-radius: 12px;
    background: #0f172a;
    color: #e2e8f0;
    font-size: .78rem;
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-x: auto;
}
.layout-cliente .app-topnav-actions { margin-left: auto; }
.layout-cliente .page-header { margin-top: 2px; }

/* Compact marketplace cards */
.layout-cliente .cliente-market-hero { padding: 20px; margin-bottom: 14px; }
.layout-cliente .cliente-market-hero-wrap .cliente-market-hero { margin-bottom: 0; }
.layout-cliente .cliente-market-hero--explore {
    padding: 34px 36px 100px;
    margin-bottom: 0;
}
.layout-cliente .cliente-market-hero--explore:has(.cliente-market-guest-actions) {
    padding-bottom: 158px;
}
.layout-cliente .cliente-shop-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}
.layout-cliente .cliente-shop-cover { height: 118px; }
.layout-cliente .cliente-shop-body { padding: 26px 13px 13px; }
.layout-cliente .cliente-shop-head h3 { font-size: .94rem; }
.layout-cliente .cliente-shop-price { font-size: .84rem; }
.layout-cliente .cliente-shop-desc {
    min-height: 3em;
    margin-bottom: 10px;
    font-size: .78rem;
    line-height: 1.45;
}
.layout-cliente .cliente-shop-stats { gap: 6px; margin-bottom: 10px; }
.layout-cliente .cliente-shop-stats span,
.layout-cliente .cliente-shop-stats a { font-size: .68rem; padding: 5px 8px; }
.layout-cliente .cliente-shop-actions .btn { padding: 8px 10px; font-size: .74rem; }

@media (max-width: 768px) {
    .layout-cliente .app-topnav {
        position: fixed;
        min-height: 64px;
        height: 64px;
        flex-wrap: nowrap;
        padding: 0 12px;
    }
    .layout-cliente .content { padding: 82px 14px 28px; }
    .cliente-topnav-brand > span:last-child { display: none; }
    .cliente-topnav-links { overflow-x: auto; scrollbar-width: none; }
    .cliente-topnav-links::-webkit-scrollbar { display: none; }
    .cliente-topnav-links a { white-space: nowrap; padding: 8px; }
    .cliente-topnav-links a span { display: none; }
    .layout-cliente .cliente-market-hero { padding: 17px; }
    .layout-cliente .cliente-explore-search { padding: 14px; }
}
@media (max-width: 520px) {
    .layout-cliente .cliente-shop-grid { grid-template-columns: 1fr; gap: 12px; }
    .layout-cliente .cliente-shop-cover { height: 112px; }
    .layout-cliente .cliente-shop-logo { width: 50px; height: 50px; left: 14px; bottom: -20px; }
    .layout-cliente .cliente-shop-actions { grid-template-columns: 1fr; }
}

/* Agendamento do cliente */
.booking-date-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;padding:12px 14px;border:1px solid #ececec;border-radius:16px;background:#fafafa}.booking-date-bar-main{display:grid;gap:4px;min-width:0}.booking-date-bar-label{color:#171717;font-size:.92rem;font-weight:800}.booking-clear-date{padding:0;border:0;background:transparent;color:#f97316;font:inherit;font-size:.75rem;font-weight:700;cursor:pointer;text-align:left}.booking-clear-date:hover{text-decoration:underline}.booking-calendar-wrap{position:relative;flex:0 0 auto}.booking-calendar-trigger{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e2e2e2;border-radius:14px;background:#fff;color:#222;font:inherit;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}.booking-calendar-trigger:hover,.booking-calendar-trigger.is-open,.booking-calendar-trigger.is-active{border-color:#181818;box-shadow:0 8px 20px rgba(0,0,0,.08)}.booking-calendar-trigger-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#171717;color:#fff}.booking-calendar-trigger strong,.booking-calendar-trigger small{display:block;text-align:left}.booking-calendar-trigger strong{font-size:.82rem}.booking-calendar-trigger small{color:#777;font-size:.68rem}.booking-calendar-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:40;width:min(320px,calc(100vw - 32px));padding:14px;border:1px solid #e8e8e8;border-radius:18px;background:#fff;box-shadow:0 18px 40px rgba(15,15,15,.16)}.booking-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.booking-calendar-head strong{font-size:.9rem}.booking-calendar-nav{display:grid;place-items:center;width:32px;height:32px;border:1px solid #e5e5e5;border-radius:10px;background:#fff;color:#222;font-size:1.1rem;cursor:pointer}.booking-calendar-nav:disabled{opacity:.35;cursor:not-allowed}.booking-calendar-weekdays,.booking-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.booking-calendar-weekdays{margin-bottom:6px}.booking-calendar-weekdays span{display:grid;place-items:center;color:#999;font-size:.68rem;font-weight:800}.booking-cal-day{display:grid;place-items:center;aspect-ratio:1;border:0;border-radius:11px;background:transparent;color:#222;font:inherit;font-size:.8rem;font-weight:700;cursor:pointer}.booking-cal-day:hover:not(:disabled):not(.is-empty){background:#f3f3f3}.booking-cal-day.is-empty{visibility:hidden}.booking-cal-day.is-today{box-shadow:inset 0 0 0 1.5px #cfcfcf}.booking-cal-day.is-selected{background:#181818;color:#fff}.booking-cal-day.is-disabled,.booking-cal-day:disabled{color:#c5c5c5;cursor:not-allowed}.booking-calendar-hint{margin:10px 0 0;color:#888;font-size:.72rem;text-align:center}
@media (max-width:640px){.booking-date-bar{align-items:stretch;flex-direction:column}.booking-calendar-panel{left:0;right:0;width:auto}}
.cliente-booking{display:grid;gap:18px;max-width:1040px;margin:0 auto}.cliente-booking-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border-radius:18px;background:linear-gradient(135deg,#151515,#252525);color:#fff;box-shadow:0 14px 35px rgba(15,15,15,.12)}.cliente-booking-toolbar>div{display:grid;gap:3px}.cliente-booking-toolbar strong{font-size:1.08rem}.cliente-booking-eyebrow{font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#b9b9b9}.booking-step{padding:26px;border:1px solid var(--border,#e7e7e7);border-radius:20px;background:#fff;box-shadow:0 8px 28px rgba(23,23,23,.045)}.booking-step-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:22px}.booking-step-number{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border-radius:10px;background:#171717;color:#fff;font-size:.84rem;font-weight:800}.booking-step-head h2{margin:0 0 4px;font-size:1.08rem}.booking-step-head p{margin:0;color:var(--text-muted,#777);font-size:.88rem}.booking-barbers{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.booking-barber-card,.booking-service-card{position:relative;display:flex;align-items:center;gap:12px;padding:14px;border:1.5px solid #e5e5e5;border-radius:15px;background:#fff;cursor:pointer;transition:border-color .18s,box-shadow .18s,transform .18s}.booking-barber-card:hover,.booking-service-card:hover{border-color:#bdbdbd;transform:translateY(-1px)}.booking-barber-card:has(input:checked),.booking-service-card:has(input:checked){border-color:#181818;box-shadow:0 0 0 3px rgba(24,24,24,.08)}.booking-barber-card input,.booking-service-card input{position:absolute;opacity:0;pointer-events:none}.booking-barber-avatar{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border-radius:14px;background:linear-gradient(135deg,#191919,#4a4a4a);color:#fff;font-size:.82rem;font-weight:800}.booking-barber-card>span:nth-child(3),.booking-service-card>span:first-of-type{display:grid;gap:3px;min-width:0}.booking-barber-card strong,.booking-service-card strong{font-size:.91rem}.booking-barber-card small,.booking-service-card small{color:var(--text-muted,#777);font-size:.77rem}.booking-radio-mark{width:18px;height:18px;margin-left:auto;flex:0 0 18px;border:2px solid #d1d1d1;border-radius:50%;box-shadow:inset 0 0 0 4px #fff}.booking-barber-card:has(input:checked) .booking-radio-mark,.booking-service-card:has(input:checked) .booking-radio-mark{border-color:#181818;background:#181818}.booking-services{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.booking-service-card{min-height:66px}.booking-slots{display:grid;gap:10px}.booking-slots-loading,.booking-slots-empty{display:flex;align-items:center;justify-content:center;gap:9px;min-height:100px;padding:22px;border:1px dashed #d8d8d8;border-radius:14px;color:#777;text-align:center}.booking-slots-loading span{width:17px;height:17px;border:2px solid #ddd;border-top-color:#222;border-radius:50%;animation:booking-spin .7s linear infinite}.booking-slots-empty{flex-direction:column}.booking-slots-empty strong{color:#333}.booking-slots-empty span{font-size:.85rem}@keyframes booking-spin{to{transform:rotate(360deg)}}.booking-day{overflow:hidden;border:1px solid #e8e8e8;border-radius:15px;background:#fafafa}.booking-day-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:15px 17px;border:0;background:transparent;color:#252525;cursor:pointer;text-align:left}.booking-day-toggle>span:first-child{display:flex;align-items:baseline;gap:8px}.booking-day-toggle strong{font-size:.92rem}.booking-day-toggle small{color:#818181}.booking-day-arrow{font-size:1.15rem;transition:transform .2s}.booking-day.active .booking-day-arrow{transform:rotate(180deg)}.booking-day-content{display:none;padding:0 17px 17px}.booking-day.active .booking-day-content{display:grid;gap:15px}.booking-shift h4{margin:0 0 9px;color:#777;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.booking-time-list{display:flex;flex-wrap:wrap;gap:8px}.booking-time-pill{min-width:68px;padding:9px 13px;border:1px solid #dedede;border-radius:999px;background:#fff;color:#333;font:inherit;font-size:.84rem;font-weight:700;cursor:pointer;transition:.16s}.booking-time-pill:hover{border-color:#222;background:#f3f3f3}.booking-time-pill.active{border-color:#181818;background:#181818;color:#fff;box-shadow:0 5px 14px rgba(0,0,0,.16)}.booking-step-final{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:24px}.booking-step-final .form-group{margin:0}.booking-confirm{display:flex;align-items:center;gap:18px}.booking-summary{display:grid;gap:2px;min-width:145px;color:#777;font-size:.8rem}.booking-summary strong{color:#292929;font-size:.9rem}.booking-summary span{font-weight:700;color:#777}
@media (max-width:720px){.cliente-booking-toolbar{align-items:flex-start;padding:17px}.booking-step{padding:20px 16px}.booking-step-final{grid-template-columns:1fr}.booking-confirm{align-items:stretch;flex-direction:column}.booking-confirm .btn{width:100%}.booking-barbers{grid-template-columns:1fr}.booking-services{grid-template-columns:1fr 1fr}.booking-day-content{padding-inline:12px}.booking-time-pill{min-width:62px;padding-inline:10px}}@media (max-width:430px){.booking-services{grid-template-columns:1fr}.cliente-booking-toolbar .btn{padding-inline:10px}.booking-step-head p{font-size:.82rem}}

/* Meus agendamentos - cliente */
.cliente-appointments{display:grid;gap:18px;max-width:1080px;margin:0 auto}.appointments-overview{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:27px 28px;border-radius:20px;background:linear-gradient(135deg,#151515 0%,#292929 100%);color:#fff;box-shadow:0 15px 36px rgba(10,10,10,.13)}.appointments-overview h2{margin:5px 0 6px;font-size:1.35rem;color:#fff}.appointments-overview p{margin:0;color:#bcbcbc;font-size:.88rem}.appointments-eyebrow{font-size:.7rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#aaa}.appointments-overview .btn{flex:0 0 auto;background:#fff;color:#171717;border-color:#fff}.appointments-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.appointment-stat{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border:1px solid #e8e8e8;border-radius:15px;background:#fff}.appointment-stat span{color:#777;font-size:.78rem;font-weight:600}.appointment-stat strong{font-size:1.15rem;color:#202020}.appointments-section{padding:24px;border:1px solid #e8e8e8;border-radius:20px;background:#fff;box-shadow:0 8px 26px rgba(20,20,20,.04)}.appointments-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:19px}.appointments-section-head h2{margin:0 0 4px;font-size:1.08rem}.appointments-section-head p{margin:0;color:#858585;font-size:.82rem}.appointment-list{display:grid;gap:12px}.appointment-card{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:18px;align-items:stretch;padding:16px;border:1px solid #e8e8e8;border-radius:17px;background:#fff;transition:border-color .18s,box-shadow .18s,transform .18s}.appointment-card:hover{border-color:#cfcfcf;box-shadow:0 9px 24px rgba(20,20,20,.06);transform:translateY(-1px)}.appointment-card-next{border-color:#cfcfcf;background:linear-gradient(90deg,#fafafa,#fff)}.appointment-date{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:93px;padding:10px;border-radius:13px;background:#f1f1f1}.appointment-card-next .appointment-date{background:#1c1c1c;color:#fff}.appointment-date span{font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#777}.appointment-card-next .appointment-date span{color:#aaa}.appointment-date strong{font-size:1.55rem;line-height:1.15}.appointment-date small{margin-top:3px;font-size:.77rem;font-weight:700}.appointment-main{display:grid;align-content:center;gap:11px;min-width:0}.appointment-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.appointment-title h3{margin:2px 0;font-size:1rem}.appointment-title p{margin:0;color:#6f6f6f;font-size:.82rem}.appointment-next-label{font-size:.63rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#717171}.appointment-details{display:flex;flex-wrap:wrap;gap:7px 17px;color:#6f6f6f;font-size:.78rem}.appointment-details span{display:flex;align-items:center;gap:5px}.appointment-note{padding:8px 10px;border-left:3px solid #d2d2d2;border-radius:4px;background:#f8f8f8;color:#666;font-size:.78rem}.appointment-side{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:14px;padding-left:8px}.appointment-side>strong{font-size:.9rem}.appointments-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:230px;padding:30px;border:1px dashed #d8d8d8;border-radius:15px;text-align:center}.appointments-empty-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:12px;border-radius:16px;background:#f0f0f0;color:#4d4d4d}.appointments-empty>strong{font-size:.95rem}.appointments-empty p{margin:6px 0 15px;color:#888;font-size:.82rem}.appointment-history-list{display:grid}.appointment-history-item{display:grid;grid-template-columns:64px minmax(0,1fr) auto auto;align-items:center;gap:18px;padding:13px 4px;border-bottom:1px solid #ededed}.appointment-history-item:last-child{border-bottom:0}.appointment-history-date{display:grid;gap:2px}.appointment-history-date strong{font-size:.84rem}.appointment-history-date span,.appointment-history-item>div:nth-child(2) span{color:#888;font-size:.75rem}.appointment-history-item>div:nth-child(2){display:grid;gap:3px}.appointment-history-item>div:nth-child(2)>strong{font-size:.86rem}.appointment-history-price{min-width:75px;text-align:right;font-size:.82rem}
.appointment-side form{width:100%;margin:0}.appointment-side form .btn,.appointment-side>.btn{width:100%;justify-content:center}.appointment-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:4px;margin-top:2px;border-top:1px solid #eef2f6}.appointment-actions .btn{display:inline-flex;align-items:center;gap:6px}.appointment-actions .appointment-deadline{margin-left:auto;color:#94a3b8;font-size:.67rem;text-align:right}.appointment-deadline{max-width:125px;color:#94a3b8;font-size:.67rem;text-align:right}.booking-reschedule-notice{display:grid;gap:3px;padding:14px 17px;border:1px solid #fed7aa;border-radius:14px;background:#fff7ed;color:#9a3412}.booking-reschedule-notice strong{font-size:.84rem}.booking-reschedule-notice span{font-size:.74rem}
@media(max-width:800px){.appointments-stats{grid-template-columns:repeat(2,1fr)}.appointment-card{grid-template-columns:68px minmax(0,1fr)}.appointment-side{grid-column:2;flex-direction:row;align-items:flex-start;justify-content:flex-end;padding:0}.appointment-side form,.appointment-side>.btn{width:auto}.appointment-actions{grid-column:1/-1}.appointment-history-item{grid-template-columns:58px minmax(0,1fr) auto}.appointment-history-price{display:none}}@media(max-width:560px){.appointments-overview{align-items:stretch;flex-direction:column;padding:22px 19px}.appointments-overview .btn{width:100%}.appointments-section{padding:19px 14px}.appointment-stat{padding:13px}.appointment-stat{align-items:flex-start;flex-direction:column-reverse;gap:4px}.appointment-card{grid-template-columns:55px minmax(0,1fr);gap:12px;padding:12px}.appointment-date{min-height:76px;padding:6px}.appointment-date strong{font-size:1.25rem}.appointment-title{align-items:flex-start;flex-direction:column-reverse;gap:5px}.appointment-details{display:grid;gap:6px}.appointment-actions{flex-direction:column;align-items:stretch;padding-top:10px}.appointment-actions .btn{width:100%;justify-content:center}.appointment-actions .appointment-deadline{margin-left:0;text-align:center;max-width:none}.appointment-side{grid-column:2;padding-top:0;border-top:0}.appointment-history-item{gap:10px}.appointment-history-item .badge{justify-self:end}.appointments-section-head p{display:none}}

/* Navegação pública do marketplace */
.cliente-market-guest-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.cliente-topnav-staff{color:#bdbdbd;font-size:.76rem;font-weight:600;white-space:nowrap}.cliente-topnav-staff:hover{color:#fff;text-decoration:none}.layout-cliente .app-topnav-actions>.btn{white-space:nowrap}@media(max-width:640px){.cliente-topnav-staff{display:none}.layout-cliente .app-topnav-actions{gap:6px}.layout-cliente .app-topnav-actions>.btn{padding:7px 10px}.cliente-market-guest-actions .btn{flex:1 1 150px}}@media(max-width:400px){.cliente-topnav-links a:not(.active){display:none}}

/* BarberHub product landing */
body.landing{margin:0;background:#070707;color:#f5f5f5;overflow-x:hidden}.bh-landing{--bh-bg:var(--dark-950);--bh-panel:var(--dark-900);--bh-panel-soft:var(--dark-850);--bh-border:rgba(255,255,255,.09);--bh-muted:#929292;--bh-orange:var(--orange-500);--bh-orange-soft:#ff8a4c;min-height:100vh;background:var(--bh-bg);color:#f6f6f6;font-family:inherit}.bh-landing *{box-sizing:border-box}.bh-landing a{transition:color .2s,background .2s,border-color .2s,transform .2s}.bh-landing .btn-primary{border-color:var(--bh-orange);background:var(--bh-orange);color:#fff;box-shadow:0 9px 28px rgba(255,106,26,.18)}.bh-landing .btn-primary:hover{border-color:#ff7e3a;background:#ff7e3a;transform:translateY(-2px)}.bh-landing .btn-outline{border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.025);color:#f5f5f5}.bh-landing .btn-outline:hover{border-color:rgba(255,255,255,.38);background:rgba(255,255,255,.07);color:#fff;transform:translateY(-2px)}.bh-nav{height:72px;padding:0 max(24px,calc((100vw - 1240px)/2));border-bottom:1px solid var(--bh-border);background:rgba(7,7,7,.78);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.bh-nav .logo,.bh-footer .logo{display:inline-flex;align-items:center;gap:8px;margin:0;color:#fff;font-size:1.2rem;font-weight:800}.bh-nav .logo span:not(.bh-logo-mark),.bh-footer .logo span:not(.bh-logo-mark){color:var(--bh-orange)}.bh-logo-mark{display:grid;place-items:center;width:31px;height:31px;border:1px solid rgba(255,106,26,.35);border-radius:10px;background:rgba(255,106,26,.1);color:var(--bh-orange)}.bh-nav-links{display:flex;align-items:center;gap:30px}.bh-nav-links a,.bh-nav-actions>a:not(.btn){margin:0;color:#a6a6a6;font-size:.78rem;font-weight:600}.bh-nav-links a:hover,.bh-nav-actions>a:not(.btn):hover{color:#fff;text-decoration:none}.bh-nav-actions{display:flex;align-items:center;gap:20px}.bh-nav-actions .btn{min-height:40px;margin:0;padding:0 18px;font-size:.76rem}.bh-hero{position:relative;display:grid;grid-template-columns:minmax(0,.9fr) minmax(520px,1.1fr);align-items:center;gap:70px;min-height:750px;max-width:1320px;margin:auto;padding:105px 40px 90px}.bh-hero:before{content:"";position:absolute;top:0;bottom:0;left:46%;width:1px;background:linear-gradient(transparent,rgba(255,255,255,.08),transparent);pointer-events:none}.bh-orb{position:absolute;border-radius:50%;filter:blur(2px);pointer-events:none}.bh-orb-one{top:80px;left:-170px;width:440px;height:440px;background:radial-gradient(circle,rgba(255,106,26,.12),transparent 68%)}.bh-orb-two{right:-250px;bottom:-130px;width:600px;height:600px;background:radial-gradient(circle,rgba(255,106,26,.08),transparent 68%)}.bh-hero-copy{position:relative;z-index:2}.bh-kicker{display:inline-flex;align-items:center;gap:9px;margin-bottom:24px;padding:7px 11px;border:1px solid rgba(255,106,26,.23);border-radius:999px;background:rgba(255,106,26,.06);color:#d4d4d4;font-size:.69rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.bh-kicker i{width:6px;height:6px;border-radius:50%;background:var(--bh-orange);box-shadow:0 0 0 5px rgba(255,106,26,.12);animation:bh-pulse 2s ease-in-out infinite}.bh-hero h1{max-width:720px;margin:0 0 24px;color:#f8f8f8;font-size:clamp(2.8rem,5vw,5rem);font-weight:760;line-height:1.02;letter-spacing:-.065em}.bh-hero h1 span{color:var(--bh-orange);background:linear-gradient(100deg,var(--bh-orange),#ff9d69);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.bh-hero-copy>p{max-width:590px;margin:0 0 32px;color:#999;font-size:1.03rem;line-height:1.72}.bh-hero-actions{display:flex;flex-wrap:wrap;gap:11px}.bh-hero-actions .btn{display:inline-flex;align-items:center;gap:9px}.bh-hero-proof{display:flex;gap:0;margin-top:45px;padding-top:24px;border-top:1px solid var(--bh-border)}.bh-hero-proof>div{display:grid;gap:3px;padding:0 25px;border-right:1px solid var(--bh-border)}.bh-hero-proof>div:first-child{padding-left:0}.bh-hero-proof>div:last-child{border:0}.bh-hero-proof strong{color:#eee;font-size:.93rem}.bh-hero-proof span{color:#6f6f6f;font-size:.65rem}.bh-product-stage{position:relative;z-index:2;perspective:1200px}.bh-stage-glow{position:absolute;inset:12% 6%;background:rgba(255,106,26,.2);filter:blur(90px);opacity:.42}.bh-app-window{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:#0c0c0c;box-shadow:0 45px 100px rgba(0,0,0,.65),0 0 0 1px rgba(255,255,255,.025);transform:rotateY(-4deg) rotateX(2deg);animation:bh-stage 7s ease-in-out infinite}.bh-window-bar{display:flex;align-items:center;gap:6px;height:38px;padding:0 13px;border-bottom:1px solid var(--bh-border);background:#131313}.bh-window-bar>span{width:7px;height:7px;border-radius:50%;background:#333}.bh-window-bar>span:first-child{background:#f06347}.bh-window-bar>span:nth-child(2){background:#d8a244}.bh-window-bar>span:nth-child(3){background:#50a269}.bh-window-bar small{margin:auto;color:#555;font-size:.58rem}.bh-app-shell{display:grid;grid-template-columns:58px 1fr;min-height:410px}.bh-demo-sidebar{display:flex;flex-direction:column;align-items:center;gap:18px;padding:15px 10px;border-right:1px solid var(--bh-border);background:#0a0a0a}.bh-demo-brand{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:var(--bh-orange);color:#fff;font-size:0}.bh-demo-brand span{display:grid}.bh-demo-sidebar i{display:block;width:27px;height:27px;border-radius:8px;background:linear-gradient(90deg,#242424,#1b1b1b)}.bh-demo-sidebar i.active{position:relative;background:rgba(255,106,26,.15)}.bh-demo-sidebar i.active:before{content:"";position:absolute;left:7px;top:7px;width:13px;height:13px;border:1px solid var(--bh-orange);border-radius:4px}.bh-demo-main{padding:24px}.bh-demo-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.bh-demo-head>div{display:grid;gap:5px}.bh-demo-head small{color:#656565;font-size:.52rem;letter-spacing:.12em}.bh-demo-head strong{font-size:.86rem}.bh-demo-head>span{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--bh-border);border-radius:9px;color:#888}.bh-demo-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.bh-demo-stats>div{display:grid;gap:4px;padding:13px;border:1px solid var(--bh-border);border-radius:11px;background:#121212}.bh-demo-stats small,.bh-demo-stats span{color:#696969;font-size:.5rem}.bh-demo-stats strong{font-size:1.25rem}.bh-demo-content{display:grid;grid-template-columns:1.45fr .75fr;gap:10px;margin-top:10px}.bh-demo-agenda,.bh-demo-chart{padding:14px;border:1px solid var(--bh-border);border-radius:11px;background:#111}.bh-demo-agenda>strong,.bh-demo-chart>strong{display:block;margin-bottom:13px;font-size:.66rem}.bh-demo-agenda>div{display:grid;grid-template-columns:37px 1fr 7px;align-items:center;gap:8px;padding:10px 0;border-top:1px solid rgba(255,255,255,.06)}.bh-demo-agenda time{color:#888;font-size:.52rem}.bh-demo-agenda span{display:grid;gap:2px}.bh-demo-agenda b{font-size:.58rem}.bh-demo-agenda small{color:#666;font-size:.48rem}.bh-demo-agenda i{width:6px;height:6px;border-radius:50%;background:#58b77a}.bh-bars{display:flex;align-items:flex-end;gap:5px;height:130px;padding-top:18px}.bh-bars i{flex:1;border-radius:3px 3px 0 0;background:linear-gradient(#ff8140,#6d3215);animation:bh-bars 4s ease-in-out infinite alternate}.bh-bars i:nth-child(1){height:34%}.bh-bars i:nth-child(2){height:48%}.bh-bars i:nth-child(3){height:40%}.bh-bars i:nth-child(4){height:71%}.bh-bars i:nth-child(5){height:57%}.bh-bars i:nth-child(6){height:88%}.bh-bars i:nth-child(7){height:72%}.bh-floating-card{position:absolute;display:flex;align-items:center;gap:10px;padding:11px 13px;border:1px solid rgba(255,255,255,.13);border-radius:12px;background:rgba(20,20,20,.9);box-shadow:0 18px 40px rgba(0,0,0,.45);backdrop-filter:blur(14px);animation:bh-float 4s ease-in-out infinite}.bh-floating-card>span{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:rgba(255,106,26,.14);color:var(--bh-orange)}.bh-floating-card>div{display:grid;gap:2px}.bh-floating-card strong{font-size:.66rem}.bh-floating-card small{color:#747474;font-size:.53rem}.bh-floating-client{right:-23px;top:65px}.bh-floating-status{left:-34px;bottom:34px;animation-delay:-1.8s}.bh-floating-status>i{width:9px;height:9px;border-radius:50%;background:#50b873;box-shadow:0 0 0 5px rgba(80,184,115,.1)}.bh-trust-strip{display:flex;align-items:center;justify-content:center;gap:38px;min-height:92px;border-top:1px solid var(--bh-border);border-bottom:1px solid var(--bh-border);background:#0a0a0a}.bh-trust-strip>span{color:#555;font-size:.65rem;text-transform:uppercase;letter-spacing:.12em}.bh-trust-strip>div{display:flex;align-items:center;gap:27px}.bh-trust-strip b{color:#888;font-size:.76rem}.bh-trust-strip i{width:3px;height:3px;border-radius:50%;background:var(--bh-orange)}.bh-section{max-width:1200px;margin:0 auto;padding:110px 30px}.bh-section-heading{max-width:720px;margin-bottom:50px}.bh-section-label{display:block;margin-bottom:13px;color:var(--bh-orange);font-size:.66rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.bh-section h2,.bh-final-cta h2{margin:0 0 18px;color:#f4f4f4;font-size:clamp(2rem,3.7vw,3.35rem);line-height:1.1;letter-spacing:-.045em}.bh-section-heading>p,.bh-audience-copy>p{max-width:610px;margin:0;color:var(--bh-muted);font-size:.95rem;line-height:1.72}.bh-about{max-width:1260px}.bh-feature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.bh-feature-card{position:relative;overflow:hidden;min-height:245px;padding:27px;border:1px solid var(--bh-border);border-radius:18px;background:linear-gradient(145deg,#121212,#0d0d0d);transition:transform .25s,border-color .25s,background .25s}.bh-feature-card:hover{transform:translateY(-4px);border-color:rgba(255,106,26,.3);background:linear-gradient(145deg,#161616,#0e0e0e)}.bh-feature-card>small,.bh-feature-large small{display:block;margin:20px 0 9px;color:#626262;font-size:.58rem;font-weight:800;letter-spacing:.12em}.bh-feature-card h3{margin:0 0 10px;color:#eaeaea;font-size:1.15rem}.bh-feature-card p{max-width:470px;margin:0;color:#858585;font-size:.8rem;line-height:1.65}.bh-feature-icon{display:grid;place-items:center;width:41px;height:41px;border:1px solid rgba(255,106,26,.22);border-radius:12px;background:rgba(255,106,26,.08);color:var(--bh-orange)}.bh-feature-large{grid-column:1/-1;display:grid;grid-template-columns:48px 1fr .9fr;align-items:center;gap:20px;min-height:270px}.bh-feature-large small{margin:0 0 8px}.bh-feature-large h3{font-size:1.5rem}.bh-mini-schedule{display:grid;gap:7px;padding:13px;border:1px solid var(--bh-border);border-radius:13px;background:#0a0a0a}.bh-mini-schedule span{display:grid;grid-template-columns:38px 6px 1fr;align-items:center;gap:9px;padding:10px;border-radius:9px;background:#111}.bh-mini-schedule b{font-size:.61rem}.bh-mini-schedule i{width:6px;height:6px;border-radius:50%;background:var(--bh-orange)}.bh-mini-schedule em{color:#7c7c7c;font-size:.59rem;font-style:normal}.bh-audiences{display:grid;grid-template-columns:.72fr 1.28fr;gap:70px;max-width:1260px;border-top:1px solid var(--bh-border)}.bh-audience-copy{position:sticky;top:120px;align-self:start}.bh-audience-grid{display:grid;gap:14px}.bh-audience-card{position:relative;overflow:hidden;padding:35px;border:1px solid var(--bh-border);border-radius:20px;background:#101010}.bh-audience-card:before{content:"";position:absolute;right:-90px;top:-90px;width:230px;height:230px;border-radius:50%;background:radial-gradient(circle,rgba(255,106,26,.1),transparent 70%)}.bh-audience-card>span{position:absolute;right:25px;top:20px;color:#242424;font-size:4rem;font-weight:900;letter-spacing:-.07em}.bh-audience-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:25px;border:1px solid var(--bh-border);border-radius:14px;background:#171717;color:var(--bh-orange)}.bh-audience-card h3{margin:0 0 10px;font-size:1.35rem}.bh-audience-card p{max-width:520px;margin:0 0 19px;color:#888;font-size:.83rem;line-height:1.65}.bh-audience-card ul{display:grid;gap:9px;margin:0 0 24px;padding:0;list-style:none}.bh-audience-card li{display:flex;align-items:center;gap:8px;color:#aaa;font-size:.75rem}.bh-audience-card li:before{content:"";width:5px;height:5px;border-radius:50%;background:var(--bh-orange)}.bh-audience-card>a{display:inline-flex;align-items:center;gap:8px;color:var(--bh-orange);font-size:.75rem;font-weight:800}.bh-audience-card>a:hover{gap:12px;text-decoration:none}.bh-audience-client{background:linear-gradient(135deg,#15100d,#101010)}.bh-process{max-width:none;padding-inline:max(30px,calc((100vw - 1200px)/2));border-top:1px solid var(--bh-border);border-bottom:1px solid var(--bh-border);background:#0a0a0a}.bh-process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0}.bh-process-grid article{position:relative;padding:28px 35px 10px;border-left:1px solid var(--bh-border)}.bh-process-grid article:last-child{border-right:1px solid var(--bh-border)}.bh-process-grid span{display:block;margin-bottom:45px;color:var(--bh-orange);font-size:.67rem;font-weight:800}.bh-process-grid h3{margin:0 0 10px;font-size:1.05rem}.bh-process-grid p{margin:0;color:#777;font-size:.78rem;line-height:1.65}.bh-plans{max-width:1130px}.bh-plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:13px;align-items:stretch}.bh-plan-card{position:relative;display:flex;flex-direction:column;min-height:430px;padding:28px;border:1px solid var(--bh-border);border-radius:19px;background:#101010}.bh-plan-card.featured{border-color:rgba(255,106,26,.5);background:linear-gradient(160deg,rgba(255,106,26,.09),#101010 38%);box-shadow:0 25px 65px rgba(0,0,0,.3)}.bh-plan-highlight{position:absolute;right:18px;top:18px;padding:5px 8px;border-radius:999px;background:rgba(255,106,26,.13);color:var(--bh-orange);font-size:.54rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.bh-plan-head h3{margin:0 0 9px;font-size:1.2rem}.bh-plan-head p{min-height:43px;margin:0;color:#777;font-size:.73rem;line-height:1.55}.bh-plan-price{margin:26px 0;color:#fff;font-size:1.8rem;font-weight:800;letter-spacing:-.04em}.bh-plan-price small{margin-left:5px;color:#666;font-size:.68rem;font-weight:500;letter-spacing:0}.bh-plan-card ul{display:grid;gap:12px;margin:0 0 27px;padding:20px 0 0;border-top:1px solid var(--bh-border);list-style:none}.bh-plan-card li{display:flex;align-items:center;gap:9px;padding:0;border:0;color:#aaa;font-size:.72rem}.bh-plan-card li .icon{color:var(--bh-orange)}.bh-plan-card .btn{margin-top:auto}.bh-final-cta{position:relative;display:flex;align-items:center;justify-content:space-between;gap:50px;max-width:1200px;margin:10px auto 110px;padding:55px;border:1px solid rgba(255,106,26,.23);border-radius:25px;background:radial-gradient(circle at 85% 20%,rgba(255,106,26,.16),transparent 30%),linear-gradient(135deg,#15110e,#101010);overflow:hidden}.bh-final-cta:before{content:"";position:absolute;right:-80px;bottom:-150px;width:350px;height:350px;border:1px solid rgba(255,106,26,.13);border-radius:50%}.bh-final-cta>div{position:relative;z-index:1}.bh-final-cta h2{max-width:680px;font-size:clamp(1.8rem,3vw,2.7rem)}.bh-final-cta p{max-width:670px;margin:0;color:#898989;font-size:.85rem;line-height:1.65}.bh-final-cta>div:last-child{display:flex;flex:0 0 auto;flex-direction:column;gap:9px;min-width:190px}.bh-footer{padding:0 max(28px,calc((100vw - 1200px)/2));border-top:1px solid var(--bh-border);background:#090909;color:#777;text-align:left}.bh-footer-main{display:flex;justify-content:space-between;gap:50px;padding:55px 0}.bh-footer-main>div:first-child>p{max-width:330px;margin:14px 0 0;color:#656565;font-size:.75rem}.bh-footer-links{display:flex;gap:90px}.bh-footer-links>div{display:grid;align-content:start;gap:9px}.bh-footer-links strong{margin-bottom:5px;color:#c3c3c3;font-size:.7rem}.bh-footer-links a{color:#666;font-size:.69rem}.bh-footer-links a:hover,.bh-footer-bottom a:hover{color:var(--bh-orange);text-decoration:none}.bh-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:22px 0;border-top:1px solid var(--bh-border);font-size:.64rem}.bh-footer-bottom a{color:var(--bh-orange);font-weight:800}.bh-footer-bottom strong{color:#a6a6a6}.bh-reveal{opacity:0;transform:translateY(24px);transition:opacity .75s ease var(--reveal-delay,0ms),transform .75s cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0ms)}.bh-reveal.is-visible{opacity:1;transform:none}@keyframes bh-pulse{0%,100%{box-shadow:0 0 0 4px rgba(255,106,26,.1)}50%{box-shadow:0 0 0 8px rgba(255,106,26,.02)}}@keyframes bh-stage{0%,100%{transform:rotateY(-4deg) rotateX(2deg) translateY(0)}50%{transform:rotateY(-2deg) rotateX(1deg) translateY(-7px)}}@keyframes bh-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}@keyframes bh-bars{0%{filter:saturate(.8);opacity:.75}100%{filter:saturate(1.25);opacity:1}}
@media(max-width:1100px){.bh-nav-links{display:none}.bh-hero{grid-template-columns:1fr;min-height:auto;padding-top:100px;text-align:center}.bh-hero:before{display:none}.bh-hero-copy>p{margin-inline:auto}.bh-hero-actions,.bh-hero-proof{justify-content:center}.bh-product-stage{width:min(720px,90%);margin:25px auto 0}.bh-audiences{grid-template-columns:1fr}.bh-audience-copy{position:static;max-width:680px}.bh-final-cta{margin-inline:25px}.bh-nav{padding-inline:24px}}@media(max-width:760px){.bh-nav{height:64px;padding-inline:15px}.bh-nav-actions .bh-nav-explore{display:none}.bh-nav-actions{gap:8px}.bh-nav-actions .btn{padding-inline:12px}.bh-hero{padding:76px 18px 65px;gap:45px}.bh-hero h1{font-size:clamp(2.5rem,13vw,4rem)}.bh-hero-copy>p{font-size:.9rem}.bh-hero-proof{display:grid;grid-template-columns:repeat(3,1fr)}.bh-hero-proof>div{padding:0 8px}.bh-hero-proof span{font-size:.55rem}.bh-product-stage{width:100%}.bh-app-window{transform:none;animation:none}.bh-app-shell{grid-template-columns:42px 1fr;min-height:330px}.bh-demo-sidebar{padding-inline:5px}.bh-demo-main{padding:15px}.bh-demo-content{grid-template-columns:1fr}.bh-demo-chart{display:none}.bh-floating-card{display:none}.bh-trust-strip{align-items:flex-start;flex-direction:column;gap:13px;padding:23px}.bh-trust-strip>div{width:100%;justify-content:space-between;gap:9px}.bh-trust-strip b{font-size:.65rem}.bh-section{padding:78px 18px}.bh-section-heading{margin-bottom:35px}.bh-feature-grid{grid-template-columns:1fr}.bh-feature-large{grid-column:auto;grid-template-columns:1fr}.bh-feature-large>.bh-feature-icon{margin-bottom:5px}.bh-process-grid{grid-template-columns:1fr}.bh-process-grid article,.bh-process-grid article:last-child{padding:25px 10px;border-right:0;border-left:0;border-top:1px solid var(--bh-border)}.bh-process-grid span{margin-bottom:20px}.bh-final-cta{align-items:stretch;flex-direction:column;margin:0 15px 75px;padding:34px 25px}.bh-final-cta>div:last-child{width:100%}.bh-footer-main{flex-direction:column;padding:42px 0}.bh-footer-links{gap:60px}.bh-footer-bottom{align-items:flex-start;flex-direction:column}.bh-audience-card{padding:27px 22px}.bh-audience-card>span{font-size:3rem}.bh-plans-grid{grid-template-columns:1fr}}@media(max-width:430px){.bh-nav .logo{font-size:1rem}.bh-nav .logo .bh-logo-mark{width:29px;height:29px}.bh-nav-actions .btn{min-height:36px;font-size:.68rem}.bh-demo-stats>div{padding:9px}.bh-demo-stats strong{font-size:1rem}.bh-demo-agenda>div{padding:8px 0}.bh-hero-proof strong{font-size:.76rem}.bh-trust-strip>div{flex-wrap:wrap;justify-content:flex-start}.bh-footer-links{width:100%;justify-content:space-between}}@media(prefers-reduced-motion:reduce){.bh-landing *{scroll-behavior:auto!important}.bh-reveal{opacity:1;transform:none;transition:none}.bh-app-window,.bh-floating-card,.bh-kicker i,.bh-bars i{animation:none!important}}

@media(max-width:760px){.bh-nav{flex-wrap:nowrap}}

/* Paleta escura unificada do sistema */
.bh-landing{--bh-bg:var(--dark-950);--bh-panel:var(--dark-900);--bh-panel-soft:var(--dark-850)}
.cliente-booking-toolbar,.appointments-overview{background:linear-gradient(135deg,var(--dark-900),var(--dark-700))}
.booking-step-number,.booking-time-pill.active,.appointment-card-next .appointment-date{background:var(--dark-900)}
.booking-time-pill.active{border-color:var(--dark-900)}


/* ===== Global redesign polish (landing-aligned) ===== */
.page-header {
    border-bottom: 0;
    margin-bottom: 22px;
    padding-bottom: 0;
}
.page-header h1,
.content h1 {
    color: var(--dark-950);
    letter-spacing: -.04em;
}
.card-header {
    background: linear-gradient(180deg, #fff, #fbfbfc);
}
.card-header h2 {
    font-size: 1rem;
    letter-spacing: -.02em;
}
.toolbar {
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}
.form-group input,
.form-group select,
.form-group textarea {
    border-radius: 12px;
    background: #fbfbfc;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: #fff;
}
.btn,
.btn-hero {
    border-radius: 12px;
    min-height: 42px;
}
.btn-secondary {
    background: var(--dark-900);
}
.btn-secondary:hover {
    background: var(--dark-700);
}
.btn-outline:hover {
    border-color: rgba(255, 106, 26, 0.4);
    color: var(--dark-950);
    background: rgba(255, 106, 26, 0.04);
}
.table th {
    background: #f4f5f7;
    color: #6b6b6b;
}
.table tbody tr:hover {
    background: rgba(255, 106, 26, 0.04);
}
.badge {
    letter-spacing: .02em;
}
.topnav-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    color: #d4d4d4;
}
.topnav-icon-btn:hover,
.topnav-agenda.active {
    background: rgba(255, 106, 26, 0.14);
    border-color: rgba(255, 106, 26, 0.28);
    color: #fff;
}
.user-avatar {
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
.logout-link {
    border-radius: 12px;
}
.modal-bloqueio-box,
.modal-bloqueio .modal-bloqueio-box {
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 30px 80px rgba(0,0,0,.28);
}
.agenda-day {
    border-radius: 16px;
}
.agenda-day-title {
    background: linear-gradient(135deg, var(--dark-900), var(--dark-700));
}
.dashboard-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.dashboard-quick-actions .btn {
    border-radius: 12px;
}

/* Staff auth split */
.staff-auth-page {
    min-height: 100vh;
    background: var(--dark-950);
}
.staff-auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
}
.staff-auth-showcase {
    position: relative;
    overflow: hidden;
    padding: 48px;
    color: #fff;
    background:
        radial-gradient(circle at top left, rgba(255,106,26,.28), transparent 34%),
        linear-gradient(160deg, var(--dark-950) 0%, var(--dark-900) 55%, var(--dark-800) 100%);
}
.staff-auth-showcase-inner {
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin: auto 0;
}
.staff-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.03em;
}
.staff-auth-brand:hover { color: #fff; text-decoration: none; }
.staff-auth-brand span { color: var(--orange-500); }
.staff-auth-showcase h1 {
    margin: 0 0 16px;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -.05em;
}
.staff-auth-showcase p {
    margin: 0 0 28px;
    color: #b0b0b0;
    font-size: 1rem;
    line-height: 1.7;
}
.staff-auth-benefits {
    display: grid;
    gap: 12px;
    list-style: none;
}
.staff-auth-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d5d5d5;
    font-size: .88rem;
}
.staff-auth-panel {
    display: grid;
    place-items: center;
    padding: 40px 24px;
    background: #f7f8fa;
}
.staff-auth-card {
    width: min(420px, 100%);
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,.08);
}
.staff-auth-card-register {
    width: min(560px, 100%);
}
.staff-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-bottom: 22px;
    padding: 4px;
    border-radius: 12px;
    background: var(--bg-soft);
}
.staff-auth-tabs a {
    padding: 9px 12px;
    border-radius: 9px;
    color: var(--muted);
    font-size: .8rem;
    font-weight: 700;
    text-align: center;
}
.staff-auth-tabs a:hover {
    color: var(--dark-950);
    text-decoration: none;
}
.staff-auth-tabs a.active {
    background: #fff;
    color: var(--dark-950);
    box-shadow: 0 3px 10px rgba(0,0,0,.07);
}
.staff-auth-card h2 {
    margin: 0 0 8px;
    font-size: 1.35rem;
    letter-spacing: -.03em;
}
.staff-auth-subtitle {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: .88rem;
}
.staff-auth-footer {
    margin-top: 18px;
    text-align: center;
    color: var(--muted);
    font-size: .82rem;
}
.staff-auth-footer a { font-weight: 700; }
@media (max-width: 900px) {
    .staff-auth-shell { grid-template-columns: 1fr; }
    .staff-auth-showcase { min-height: 280px; padding: 32px 24px; }
    .staff-auth-showcase-inner { max-width: none; }
}

/* Cliente / public polish */
.layout-cliente .content {
    background: var(--canvas-bg);
}
.layout-cliente .app-topnav {
    height: var(--topnav-h);
    background: rgba(7,7,7,.92);
}
.layout-cliente .content {
    padding-top: calc(var(--topnav-h) + 28px);
}
.cliente-topnav-brand .brand-mark,
.cliente-topnav-brand .bh-logo-mark {
    width: 34px;
    height: 34px;
}
.cliente-market-hero,
.cliente-booking-toolbar,
.appointments-overview {
    border: 1px solid rgba(255,255,255,.08);
}
.cliente-shop-card,
.booking-step,
.appointments-section,
.appointment-card {
    border-radius: 18px;
}
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 220px;
    padding: 36px 24px;
    border: 1px dashed #d8dbe1;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #fafbfc);
    text-align: center;
}
.empty-state-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 6px;
    border-radius: 16px;
    background: rgba(255,106,26,.1);
    color: var(--orange-500);
}
.empty-state strong { color: var(--text); font-size: .98rem; }
.empty-state p { margin: 0 0 10px; color: var(--muted); font-size: .86rem; max-width: 360px; }

/* Shop public */
.shop-nav {
    background: rgba(7,7,7,.92) !important;
}
.shop-hero {
    background:
        radial-gradient(circle at top right, rgba(255,106,26,.18), transparent 30%),
        linear-gradient(120deg, rgba(7,7,7,.99), rgba(16,16,16,.96) 58%, rgba(36,36,36,.94)) !important;
}
.shop-not-found {
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding: 40px 20px;
    background: var(--canvas-bg);
}
.shop-not-found-mark {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 22px;
    background: rgba(255,106,26,.1);
    color: var(--orange-500);
    border: 1px solid rgba(255,106,26,.2);
}

/* Public page manager */
.public-page-toolbar {
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

/* Landing class cleanup helpers */
.bh-landing .landing-nav,
.bh-nav.landing-nav {
    background: rgba(7,7,7,.78);
}

/* Onboarding brand + agenda polish */
.onboarding-brand{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:8px}.onboarding-brand h1{margin:0;font-size:1.8rem;letter-spacing:-.03em}.onboarding-brand h1 span{color:var(--orange-500)}.onboarding-box .subtitle{text-align:center;color:var(--muted);margin-bottom:28px}.wizard-step.active .wizard-step-num{box-shadow:0 0 0 4px rgba(255,106,26,.12)}.wizard-step.done .wizard-step-num{background:var(--dark-900)}.agenda-day{border-radius:16px;box-shadow:var(--shadow-soft)}.agenda-day--hoje{box-shadow:0 8px 24px rgba(15,23,42,.08)}.agenda-turno{border-radius:12px}.agenda-turno--noite{border-left:4px solid #3b82f6}.agenda-turno-label{color:var(--dark-900)}.agenda-slot-popover,.agenda-slot-popover-box{border-radius:16px}.cliente-topnav-brand span span,.cliente-topnav-brand strong{color:var(--orange-500)}.bh-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:0;z-index:100}.shop-not-found h1{margin:0 0 8px;font-size:1.5rem;letter-spacing:-.03em}.shop-not-found p{margin:0;color:var(--muted)}.layout-panel .sidebar-brand{padding-top:20px}.layout-panel .content .card:last-child{margin-bottom:0}

/* Auth brand mark alignment */
.cliente-auth-brand{display:inline-flex!important;align-items:center;gap:10px}.cliente-auth-brand .brand-mark{width:34px;height:34px}.staff-auth-brand .brand-mark{width:34px;height:34px}.public-page-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;margin-bottom:18px}.public-page-toolbar-label{display:block;margin-bottom:4px;color:var(--muted);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.public-page-settings{display:grid;gap:18px}.public-page-logo-preview{display:grid;place-items:center;width:140px;height:140px;border:1px dashed var(--border);border-radius:18px;background:#fafbfc;color:var(--orange-500);overflow:hidden}.public-page-logo-preview img{width:100%;height:100%;object-fit:cover}

/* Admin barbershop management */
.admin-shops-toolbar .toolbar-search {
    align-items: center;
}
.admin-shops-status-filter {
    flex: 0 0 180px !important;
    min-width: 180px !important;
}
.admin-shops-grid {
    display: grid;
    gap: 16px;
}
.admin-shop-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}
.admin-shop-card-clickable {
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.admin-shop-card-clickable:hover,
.admin-shop-card-clickable:focus-visible {
    border-color: rgba(255, 106, 26, .35);
    box-shadow: 0 14px 34px rgba(17, 17, 17, .1);
    transform: translateY(-2px);
    outline: none;
}
.admin-shop-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #fff, #fbfbfc);
}
.admin-shop-identity {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.admin-shop-logo {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    overflow: hidden;
    border: 1px solid rgba(255, 106, 26, .18);
    border-radius: 15px;
    background: rgba(255, 106, 26, .08);
    color: var(--orange-500);
}
.admin-shop-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.admin-shop-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}
.admin-shop-title-row h2 {
    margin: 0;
    color: var(--dark-950);
    font-size: 1.05rem;
    letter-spacing: -.025em;
}
.admin-shop-identity p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: .78rem;
}
.admin-shop-owner {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}
.admin-shop-owner-avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    background: var(--dark-900);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
}
.admin-shop-owner > div {
    display: grid;
    min-width: 0;
    margin-right: auto;
}
.admin-shop-owner small {
    color: var(--muted);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.admin-shop-owner strong {
    color: var(--text);
    font-size: .84rem;
}
.admin-shop-owner a {
    overflow: hidden;
    color: var(--muted);
    font-size: .73rem;
    text-overflow: ellipsis;
}
.admin-shop-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 20px;
    border-bottom: 1px solid var(--border);
}
.admin-shop-metrics div {
    display: grid;
    gap: 2px;
    padding: 16px 10px;
    text-align: center;
}
.admin-shop-metrics div + div {
    border-left: 1px solid var(--border);
}
.admin-shop-metrics strong {
    color: var(--dark-950);
    font-size: 1.1rem;
}
.admin-shop-metrics span {
    color: var(--muted);
    font-size: .68rem;
}
.admin-shop-info-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 20px;
    padding: 14px 20px;
    color: var(--muted);
    font-size: .73rem;
}
.admin-shop-info-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.admin-shop-info-row strong {
    color: var(--text-soft);
}
.admin-shop-actions {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    background: #fafbfc;
}
.admin-shop-plan-form {
    display: grid;
    grid-template-columns: minmax(160px, 230px) auto;
    align-items: end;
    gap: 8px;
}
.admin-shop-plan-form label {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.admin-shop-plan-form select {
    width: 100%;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: .78rem;
}
.admin-shop-control-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}
.admin-shop-title-row h2 a {
    color: inherit;
    text-decoration: none;
}
.admin-shop-title-row h2 a:hover {
    color: var(--orange-500);
}
.admin-shop-detail-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}
.admin-shop-detail-toolbar > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border, #e5e7eb);
}
.admin-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--border, #e5e7eb);
    color: var(--text-soft, #64748b);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 600;
    transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.admin-tab:hover {
    color: var(--dark-950, #0f172a);
    border-color: var(--dark-900, #0f172a);
}
.admin-tab.is-active {
    background: var(--dark-900, #0f172a);
    color: #fff;
    border-color: transparent;
}
.admin-tab--danger {
    color: var(--danger, #dc2626);
    border-color: rgba(220, 38, 38, .25);
}
.admin-tab--danger:hover {
    color: var(--danger, #dc2626);
    border-color: var(--danger, #dc2626);
}
.admin-tab--danger.is-active {
    background: var(--danger, #dc2626);
    color: #fff;
}
.admin-shop-detail-stack {
    display: grid;
    gap: 18px;
    margin-bottom: 18px;
}
.admin-shop-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .8fr);
    align-items: start;
    gap: 18px;
    margin-bottom: 18px;
}
.admin-shop-detail-main,
.admin-shop-detail-side {
    display: grid;
    gap: 18px;
}
.admin-shop-detail-grid .card {
    margin: 0;
}
.admin-shop-duration-field {
    max-width: 240px;
}
.admin-subscription-summary {
    display: grid;
    gap: 4px;
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid rgba(255, 106, 26, .18);
    border-radius: 14px;
    background: rgba(255, 106, 26, .06);
}
.admin-subscription-summary span,
.admin-shop-detail-controls span {
    color: var(--muted);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.admin-subscription-summary strong {
    color: var(--dark-950);
    font-size: 1.2rem;
}
.admin-subscription-summary small {
    color: var(--text-soft);
}
.admin-subscription-form {
    display: grid;
    gap: 12px;
}
.fatura-acao-modal .modal-bloqueio-box {
    max-width: 440px;
}
.fatura-acao-resumo {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    background: var(--bg-soft);
    border-radius: 12px;
}
.fatura-acao-resumo span {
    display: block;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.fatura-acao-resumo strong {
    display: block;
    color: var(--dark-950);
    font-size: .9rem;
    line-height: 1.3;
}
.fatura-acao-section {
    display: grid;
    gap: 10px;
}
.fatura-acao-section-title {
    margin: 0;
    font-size: .95rem;
    font-weight: 700;
    color: var(--dark-950);
}
.fatura-acao-section-hint {
    margin: -6px 0 0;
    color: var(--text-soft, var(--muted));
    font-size: .8rem;
}
.fatura-acao-divider {
    height: 1px;
    background: var(--border);
    margin: 22px 0;
}
.fatura-acao-section--danger .fatura-acao-section-title {
    color: var(--danger);
}
.admin-owner-detail {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}
.admin-owner-detail > div {
    display: grid;
    min-width: 0;
}
.admin-owner-detail a,
.admin-owner-detail span {
    overflow: hidden;
    color: var(--muted);
    font-size: .75rem;
    text-overflow: ellipsis;
}
.admin-professional-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}
.admin-professional-cell small {
    display: block;
    color: var(--text-muted, #6b7280);
}
.admin-shop-detail-main .table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.admin-shop-detail-main .table-actions .inline-form {
    display: inline;
}
.admin-public-url-preview {
    display: grid;
    gap: 6px 12px;
    margin-bottom: 1.25rem;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fafbfc;
}
.admin-public-url-preview span {
    color: var(--text-muted, #6b7280);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.admin-public-url-preview a {
    word-break: break-all;
    margin-bottom: 8px;
}
.admin-shop-detail-controls > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
@media (min-width: 1050px) {
    .admin-shops-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 720px) {
    .admin-shops-toolbar .toolbar-search,
    .admin-shop-card-head,
    .admin-shop-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .admin-shops-status-filter {
        flex-basis: auto !important;
        width: 100%;
    }
    .admin-shop-card-head > .btn {
        width: 100%;
    }
    .admin-shop-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    .admin-shop-metrics div:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--border);
    }
    .admin-shop-metrics div:nth-child(4) {
        border-top: 1px solid var(--border);
    }
    .admin-shop-plan-form {
        grid-template-columns: 1fr;
    }
    .admin-shop-plan-form label {
        grid-column: auto;
    }
    .admin-shop-control-actions,
    .admin-shop-control-actions form,
    .admin-shop-control-actions .btn {
        width: 100%;
    }
    .admin-shop-detail-toolbar {
        align-items: stretch;
        flex-direction: column;
    }
    .admin-shop-detail-toolbar > div,
    .admin-shop-detail-toolbar .btn {
        width: 100%;
    }
}
@media (max-width: 980px) {
    .admin-shop-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Landing — product-accurate demo and single plan */
.bh-demo-summary {
    display: grid;
    align-content: start;
    gap: 8px;
    min-width: 145px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .025);
}
.bh-demo-summary strong {
    margin-bottom: 2px;
    color: #fff;
    font-size: .68rem;
}
.bh-demo-summary span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #9b9b9b;
    font-size: .54rem;
}
.bh-demo-summary svg {
    color: var(--orange-500);
}
.bh-coming-soon {
    display: flex;
    align-items: center;
    gap: 8px;
}
.bh-coming-soon small {
    padding: 2px 7px;
    border: 1px solid rgba(255, 106, 26, .25);
    border-radius: 999px;
    background: rgba(255, 106, 26, .08);
    color: var(--orange-500);
    font-size: .56rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.bh-plans-grid-single {
    grid-template-columns: minmax(0, 480px) !important;
    justify-content: center;
}
.bh-plan-card-single {
    width: 100%;
}
.bh-plan-offer {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2px 14px;
    margin-bottom: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 106, 26, .22);
    border-radius: 14px;
    background: rgba(255, 106, 26, .08);
}
.bh-plan-offer span {
    color: #c9c9c9;
    font-size: .72rem;
    font-weight: 700;
}
.bh-plan-offer strong {
    grid-row: 1 / 3;
    grid-column: 2;
    color: #fff;
    font-size: 1.5rem;
    letter-spacing: -.04em;
}
.bh-plan-offer small {
    color: var(--orange-500);
    font-size: .64rem;
    font-weight: 800;
    text-transform: uppercase;
}
.bh-plan-card-single .bh-plan-price {
    display: flex;
    align-items: baseline;
    gap: 7px;
}
.bh-plan-card-single .bh-plan-price small {
    font-size: .66rem;
}
.bh-plan-card-single ul {
    margin-bottom: 22px;
}
.bh-plan-note {
    display: block;
    margin-top: 10px;
    color: #777;
    font-size: .64rem;
    text-align: center;
}
.bh-final-cta > div:last-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}
.bh-final-plan-note {
    flex-basis: 100%;
    color: #777;
    font-size: .65rem;
    text-align: right;
}
@media (max-width: 760px) {
    .bh-demo-summary {
        display: none;
    }
    .bh-final-cta > div:last-child,
    .bh-final-plan-note {
        justify-content: stretch;
        text-align: center;
    }
}

/* Billing / Assinatura */
.billing-hero {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 18px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid #dfe5ec;
    border-radius: 20px;
    background:
        radial-gradient(circle at 82% 0%, rgba(255, 106, 26, .13), transparent 34%),
        linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .07);
}
.billing-hero::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -70px;
    width: 180px;
    height: 180px;
    border: 28px solid rgba(255, 106, 26, .05);
    border-radius: 50%;
    pointer-events: none;
}
.billing-hero-main {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}
.billing-hero-icon {
    display: grid;
    flex: 0 0 50px;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: var(--dark-950, #0f172a);
    color: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .18);
}
.billing-hero-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 3px 0 6px;
}
.billing-hero-title h2 {
    margin: 0;
    color: var(--dark-950, #0f172a);
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    letter-spacing: -.035em;
}
.billing-hero-main p {
    max-width: 560px;
    margin: 0;
    color: var(--muted, #6b7280);
    font-size: .88rem;
    line-height: 1.55;
}
.billing-hero-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 13px;
}
.billing-hero-tags span {
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    color: #475569;
    font-size: .73rem;
    font-weight: 700;
}
.billing-hero-charge {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 0 250px;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 18px 20px;
    border: 1px solid rgba(255, 106, 26, .2);
    border-radius: 16px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}
.billing-hero-charge small {
    color: var(--muted, #6b7280);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.billing-hero-charge strong {
    margin: 5px 0 2px;
    color: var(--dark-950, #0f172a);
    font-size: 1.35rem;
    letter-spacing: -.03em;
}
.billing-hero-charge span {
    color: var(--muted, #6b7280);
    font-size: .75rem;
}
.billing-hero--cancelada .billing-hero-charge {
    border-color: #fecaca;
    background: rgba(254, 242, 242, .9);
}
.billing-hero--cancelada .billing-hero-charge strong {
    color: #991b1b;
}
.billing-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
}
.billing-alert-icon {
    display: grid;
    flex: 0 0 34px;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .64);
}
.billing-alert strong {
    display: block;
    margin-bottom: 2px;
    color: inherit;
    font-size: .84rem;
}
.billing-alert p {
    margin: 0;
    color: inherit;
    font-size: .8rem;
    line-height: 1.45;
}
.billing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
}
.billing-status-card,
.billing-payment-card {
    overflow: hidden;
    border-color: #dfe5ec;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .06);
}
.billing-status-card > .card-header,
.billing-payment-card > .card-header {
    min-height: 72px;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
}
.billing-status-card > .card-header h2,
.billing-payment-card > .card-header h2 {
    margin: 2px 0 0;
}
.billing-eyebrow {
    display: block;
    color: var(--orange-600, #ea580c);
    font-size: .69rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.billing-summary,
.billing-invoice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.billing-summary > div {
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #edf0f4;
    border-radius: 12px;
    background: #fbfcfe;
    transition: border-color .18s ease, background .18s ease;
}
.billing-summary > div:hover {
    border-color: #fed7aa;
    background: #fffaf5;
}
.billing-summary small,
.billing-invoice small {
    display: block;
    color: var(--muted, #6b7280);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .2rem;
}
.billing-summary strong,
.billing-invoice strong {
    display: block;
    font-size: .98rem;
    overflow-wrap: anywhere;
}
.billing-preferences {
    border-top: 1px solid var(--border, #e5e7eb);
    background: #fcfcfd;
}
.billing-section-heading {
    margin-bottom: 16px;
}
.billing-section-heading h3 {
    margin: 0 0 4px;
    font-size: 1rem;
}
.billing-section-heading p {
    margin: 0;
    color: var(--muted, #6b7280);
    font-size: .82rem;
}
.billing-next-charge {
    margin: 1rem 0;
    padding: 14px;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 14px;
    background: var(--bg-soft, #fafafa);
}
.billing-prefs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
    gap: 1rem;
    align-items: end;
}
.billing-prefs .form-group,
.billing-prefs .form-actions {
    margin-bottom: 0;
}
.billing-preference-note {
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
    font-size: .78rem;
    line-height: 1.5;
}
.billing-secondary-action {
    margin-top: 10px;
}
.billing-simulate-action {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
}
.billing-payment-card > .card-body {
    min-height: 210px;
}
.billing-up-to-date,
.billing-reactivation {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    background: #f0fdf4;
}
.billing-up-to-date > span,
.billing-reactivation-icon {
    display: grid;
    flex: 0 0 38px;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #dcfce7;
    color: #166534;
}
.billing-up-to-date strong,
.billing-reactivation h3 {
    display: block;
    margin: 0 0 3px;
    color: #166534;
    font-size: .9rem;
}
.billing-up-to-date p,
.billing-reactivation p {
    margin: 0;
    color: #39744c;
    font-size: .78rem;
    line-height: 1.45;
}
.billing-reactivation {
    border-color: #fed7aa;
    background: #fff7ed;
}
.billing-reactivation-icon {
    background: #ffedd5;
    color: #c2410c;
}
.billing-reactivation h3 {
    color: #9a3412;
}
.billing-reactivation p {
    color: #9a5a32;
}
.billing-pix {
    margin-top: 1rem;
    display: grid;
    gap: .75rem;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
}
.billing-pix-qr {
    width: min(220px, 100%);
    border-radius: 12px;
    border: 1px solid var(--border, #e5e7eb);
    background: #fff;
    padding: 8px;
}
.billing-pix-code {
    width: 100%;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .78rem;
    resize: vertical;
}
.billing-stats {
    margin-top: 1.25rem;
}
.billing-stats .stat-box {
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}
.billing-history-card {
    border-color: #dfe5ec;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
}
.billing-card-subtitle {
    margin: 4px 0 0;
    color: var(--muted, #6b7280);
    font-size: .76rem;
}
.billing-history-card .table tbody td:first-child {
    color: var(--dark-950, #0f172a);
    font-weight: 700;
}
.billing-history-card .table tbody tr:last-child td {
    border-bottom: 0;
}
.billing-danger-zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 1.25rem;
    padding: 20px 22px;
    border: 1px solid #fecaca;
    border-radius: var(--radius, 16px);
    background: linear-gradient(135deg, #fff 0%, #fff7f7 100%);
}
.billing-danger-zone h2 {
    margin: 3px 0 5px;
    color: #991b1b;
    font-size: 1.05rem;
}
.billing-danger-zone p {
    max-width: 760px;
    margin: 0;
    color: #7f1d1d;
    font-size: .84rem;
    line-height: 1.55;
}
.billing-danger-zone form {
    flex: 0 0 auto;
}

.subscription-page {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    max-width: none;
}
.subscription-alert-banner {
    margin-bottom: 0;
}
.subscription-grid {
    margin-bottom: 0;
}
.subscription-grid .billing-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
    .subscription-grid .billing-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.subscription-payment-card > .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.subscription-payment-card-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-height: 100%;
}
.subscription-payment-method {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.subscription-payment-icon {
    display: grid;
    flex: 0 0 44px;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    color: #334155;
}
.subscription-payment-method strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
    color: var(--dark-950, #0f172a);
}
.subscription-payment-method p {
    margin: 0;
    color: var(--muted, #6b7280);
    font-size: .84rem;
    line-height: 1.5;
}
.subscription-payment-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 106, 26, .22);
    border-radius: 14px;
    background: linear-gradient(135deg, #fffaf5 0%, #fff 100%);
}
.subscription-payment-cta small {
    display: block;
    color: var(--muted, #6b7280);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.subscription-payment-cta strong {
    display: block;
    margin: 4px 0 2px;
    color: var(--dark-950, #0f172a);
    font-size: 1.2rem;
}
.subscription-payment-cta span {
    color: var(--muted, #6b7280);
    font-size: .78rem;
}
.subscription-payment-cta p {
    margin: 0;
    flex: 1;
    color: var(--muted, #6b7280);
    font-size: .84rem;
    line-height: 1.45;
}
.subscription-payment-cta--trial {
    border-color: #fde68a;
    background: linear-gradient(135deg, #fffbeb 0%, #fff 100%);
}
.subscription-payment-cta--muted {
    border-color: #e2e8f0;
    background: #f8fafc;
}
.subscription-invoices-card > .card-header {
    align-items: flex-start;
}
.subscription-invoices-table th:last-child,
.subscription-invoices-table td:last-child {
    text-align: right;
    white-space: nowrap;
}
.subscription-invoices-table .table-actions {
    justify-content: flex-end;
}
.subscription-status-overdue {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #dc2626;
    font-weight: 600;
    font-size: .84rem;
}
.subscription-status-paid {
    color: #166534;
    font-weight: 600;
    font-size: .84rem;
}
.subscription-invoice-muted {
    color: var(--muted, #9ca3af);
}
.subscription-payment-form-lead {
    margin: 0 0 16px;
    color: var(--muted, #6b7280);
    font-size: .88rem;
}
.subscription-payment-options {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}
.subscription-payment-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 12px;
    cursor: pointer;
}
.subscription-payment-option:has(input:checked) {
    border-color: #171717;
    background: #fafafa;
}
.subscription-payment-option input {
    margin-top: 3px;
}
.subscription-payment-option strong {
    display: block;
    margin-bottom: 2px;
}
.subscription-payment-option small {
    color: var(--muted, #6b7280);
    font-size: .78rem;
    line-height: 1.4;
}
@media (max-width: 900px) {
    .subscription-payment-cta {
        flex-direction: column;
        align-items: stretch;
    }
    .subscription-payment-cta .btn {
        width: 100%;
    }
}
@media (max-width: 640px) {
    .subscription-invoices-table thead {
        display: none;
    }
    .subscription-invoices-table tbody tr {
        display: grid;
        gap: 6px;
        padding: 14px 0;
        border-bottom: 1px solid var(--border, #e5e7eb);
    }
    .subscription-invoices-table tbody tr:last-child {
        border-bottom: none;
    }
    .subscription-invoices-table tbody td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 0;
        border: none;
    }
    .subscription-invoices-table tbody td::before {
        content: attr(data-label);
        color: var(--muted, #6b7280);
        font-size: .72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
    }
    .subscription-invoices-table tbody td.table-actions {
        justify-content: flex-start;
        padding-top: 4px;
    }
    .subscription-invoices-table tbody td.table-actions::before {
        display: none;
    }
}

.staff-auth-note {
    margin: 0 0 1rem;
    color: var(--muted, #6b7280);
    font-size: .82rem;
    line-height: 1.45;
}
.billing-alert-admin {
    border-left: 4px solid #f59e0b;
}
.onboarding-payment-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}
.onboarding-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.onboarding-toolbar-link {
    color: var(--muted, #6b7280);
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
}
.onboarding-toolbar-link:hover {
    color: var(--orange-500);
}
.onboarding-toolbar-exit {
    padding: 7px 11px;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 9px;
}
.onboarding-payment-head h2 {
    margin: 0 0 4px;
}
.onboarding-plan-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
    margin-bottom: 22px;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 16px;
    background: #fafafa;
}
.onboarding-plan-summary > div {
    display: grid;
    gap: 2px;
}
.onboarding-plan-summary small,
.onboarding-plan-summary span {
    color: var(--muted, #6b7280);
}
.onboarding-plan-summary strong {
    font-size: 1.2rem;
}
.onboarding-trial-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 20px;
    color: var(--muted, #6b7280);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.onboarding-trial-divider::before,
.onboarding-trial-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border, #e5e7eb);
}
.onboarding-trial-summary {
    margin-bottom: 12px;
}
.onboarding-trial-note {
    margin: 0 0 16px;
}
.onboarding-payment-box {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 16px;
}
.onboarding-payment-box h3,
.onboarding-payment-box p {
    margin: 0;
}
.mp-card-brick {
    min-height: 420px;
}
.mp-card-brick.is-error {
    min-height: auto;
}
.mp-brick-error {
    margin: 0;
}
.dashboard-billing {
    margin-bottom: 24px;
}
.dashboard-billing-body {
    display: grid;
    gap: 18px;
}
.dashboard-billing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.dashboard-billing-stat {
    padding: 16px;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 14px;
    background: var(--surface-muted, #f8fafc);
}
.dashboard-billing-stat small {
    display: block;
    color: var(--muted);
    margin-bottom: 4px;
}
.dashboard-billing-stat strong {
    display: block;
    font-size: 1.05rem;
}
.dashboard-billing-stat span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: .88rem;
}
.dashboard-billing-history {
    display: grid;
    gap: 12px;
}
.admin-finance-tabs-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.admin-finance-tablist {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.admin-finance-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border, #e5e7eb);
    color: inherit;
    text-decoration: none;
}
.admin-finance-tab.is-active {
    background: var(--dark-900, #0f172a);
    color: #fff;
    border-color: transparent;
}
.admin-finance-search {
    display: flex;
    gap: 8px;
    align-items: center;
}
.admin-finance-search input[type="search"] {
    min-width: 220px;
}
.table-sub {
    display: block;
    margin-top: 4px;
}
.table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.inline-form {
    display: inline;
}
@media (max-width: 900px) {
    .dashboard-billing-grid {
        grid-template-columns: 1fr;
    }
    .admin-finance-search {
        width: 100%;
    }
    .admin-finance-search input[type="search"] {
        flex: 1;
        min-width: 0;
    }
}
@media (max-width: 900px) {
    .billing-hero {
        align-items: stretch;
        flex-direction: column;
    }
    .billing-hero-charge {
        flex-basis: auto;
    }
    .billing-grid,
    .billing-summary,
    .billing-invoice,
    .billing-prefs {
        grid-template-columns: 1fr;
    }
    .billing-danger-zone {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media (max-width: 620px) {
    .billing-hero {
        padding: 20px;
        border-radius: 16px;
    }
    .billing-hero-main {
        flex-direction: column;
    }
    .billing-hero-charge {
        padding: 15px 16px;
    }
    .billing-status-card > .card-header,
    .billing-payment-card > .card-header {
        min-height: auto;
    }
    .billing-payment-card > .card-body {
        min-height: 0;
    }
    .billing-danger-zone,
    .billing-danger-zone form,
    .billing-danger-zone .btn {
        width: 100%;
    }
    .onboarding-plan-summary {
        grid-template-columns: 1fr;
    }
}

/* ===== Panel design system ===== */
.page-header--with-actions {
    align-items: flex-end;
}
.page-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.panel-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--orange-600);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.panel-card > .card-header {
    min-height: 68px;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
}
.panel-card-subtitle {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: .76rem;
    line-height: 1.4;
}
.panel-hero {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid #dfe5ec;
    border-radius: 20px;
    background:
        radial-gradient(circle at 85% 0%, rgba(255, 106, 26, .12), transparent 34%),
        linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}
.panel-hero-main {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}
.panel-hero-icon {
    display: grid;
    flex: 0 0 48px;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--dark-950);
    color: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .16);
}
.panel-hero-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 2px 0 6px;
}
.panel-hero-title h2 {
    margin: 0;
    color: var(--dark-950);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    letter-spacing: -.035em;
}
.panel-hero-main p {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.55;
}
.panel-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.panel-hero-tags span {
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .85);
    color: #475569;
    font-size: .72rem;
    font-weight: 700;
}
.panel-hero-side {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 0 240px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid rgba(255, 106, 26, .2);
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
}
.panel-hero-side small {
    color: var(--muted);
    font-size: .67rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.panel-hero-side strong {
    color: var(--dark-950);
    font-size: 1.28rem;
    letter-spacing: -.03em;
}
.panel-hero-side span {
    color: var(--muted);
    font-size: .74rem;
}
.panel-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
}
.panel-alert-icon {
    display: grid;
    flex: 0 0 34px;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .65);
}
.panel-alert-body {
    min-width: 0;
    flex: 1;
}
.panel-alert-body strong {
    display: block;
    margin-bottom: 2px;
    font-size: .84rem;
}
.panel-alert-body p {
    margin: 0;
    font-size: .8rem;
    line-height: 1.45;
}
.panel-alert-actions {
    margin-top: 8px;
}
.panel-alert-actions a {
    margin-left: 0;
    font-weight: 700;
}
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.filter-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--text-soft);
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.filter-chip:hover {
    border-color: rgba(255, 106, 26, .35);
    color: var(--dark-950);
    text-decoration: none;
    background: rgba(255, 106, 26, .04);
}
.filter-chip.is-active {
    border-color: rgba(255, 106, 26, .45);
    background: rgba(255, 106, 26, .1);
    color: var(--orange-600);
}
.dashboard-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.dashboard-quick-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
    gap: 18px;
    align-items: start;
}
.dashboard-grid > .card,
.dashboard-grid > .panel-card {
    margin-bottom: 0;
}
.stat-box--warning {
    border-color: #fde68a;
    background: linear-gradient(180deg, #fffbeb, #fff);
}
.stat-box--warning .stat-icon {
    background: #fef3c7;
    border-color: #fde68a;
    color: #b45309;
}
.stat-box--danger {
    border-color: #fecaca;
    background: linear-gradient(180deg, #fef2f2, #fff);
}
.stat-box--danger .stat-icon {
    background: #fee2e2;
    border-color: #fecaca;
    color: #b91c1c;
}
.stat-box--success {
    border-color: #bbf7d0;
    background: linear-gradient(180deg, #f0fdf4, #fff);
}
.stat-box--success .stat-icon {
    background: #dcfce7;
    border-color: #bbf7d0;
    color: #166534;
}
.table-actions form {
    display: inline;
}
.admin-dashboard-links {
    display: grid;
    gap: 10px;
}
.admin-dashboard-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 15px;
    border: 1px solid #edf0f4;
    border-radius: 14px;
    background: #fbfcfe;
    color: var(--text);
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.admin-dashboard-link:hover {
    border-color: #fed7aa;
    background: #fffaf5;
    color: var(--dark-950);
    text-decoration: none;
    transform: translateY(-1px);
}
.admin-dashboard-link strong {
    display: block;
    font-size: .9rem;
}
.admin-dashboard-link span {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: .74rem;
}
.admin-dashboard-link .icon {
    color: var(--orange-500);
}
.layout-panel .card {
    border-color: #dfe5ec;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
}
.layout-panel .toolbar {
    border-color: #dfe5ec;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}
.layout-panel .empty {
    border-radius: 16px;
}
.layout-cliente .cliente-market-hero,
.layout-cliente .appointments-overview {
    border-radius: 20px;
    box-shadow: 0 14px 36px rgba(7, 7, 7, .14);
}
.layout-cliente .cliente-shop-card,
.layout-cliente .appointment-card,
.layout-cliente .appointments-section {
    border-color: #dfe5ec;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}
.layout-cliente .cliente-search-bar {
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}
.layout-cliente .appointment-stat {
    border-radius: 14px;
    border: 1px solid #edf0f4;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .04);
}
@media (max-width: 980px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .panel-hero {
        flex-direction: column;
    }
    .panel-hero-side {
        flex-basis: auto;
    }
}
@media (max-width: 640px) {
    .panel-hero {
        padding: 18px;
        border-radius: 16px;
    }
    .panel-hero-main {
        flex-direction: column;
    }
    .page-header-actions,
    .dashboard-quick-actions {
        width: 100%;
    }
    .page-header-actions .btn,
    .dashboard-quick-actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

/* ===== Cliente panel polish ===== */
.cliente-topnav-brand .brand-accent { color: var(--orange-500); }
.layout-cliente {
    --cliente-text: #111827;
    --cliente-text-soft: #475569;
    --cliente-muted: #64748b;
}
.layout-cliente .content {
    color: var(--cliente-text);
}
.layout-cliente .cliente-topnav-links a {
    color: #d1d5db;
}
.layout-cliente .cliente-topnav-links a:hover,
.layout-cliente .cliente-topnav-links a.active {
    color: #fff;
}
.layout-cliente .cliente-market-hero h1,
.layout-cliente .cliente-market-hero h2,
.layout-cliente .cliente-booking-toolbar strong,
.layout-cliente .appointments-overview h2 {
    color: #fff;
}
.layout-cliente .cliente-market-hello {
    color: #ffad7a;
}
.layout-cliente .cliente-market-hero > div > p,
.layout-cliente .appointments-overview > div > p {
    color: #e2e8f0;
}
.layout-cliente .cliente-location-form label {
    color: #f8fafc;
}
.layout-cliente .cliente-location-form small,
.layout-cliente .cliente-booking-address,
.layout-cliente .cliente-booking-eyebrow {
    color: #cbd5e1;
}
.layout-cliente .cliente-location-row input {
    border-color: rgba(255,255,255,.28);
    background: rgba(0,0,0,.38);
    color: #fff;
}
.layout-cliente .cliente-location-row input::placeholder {
    color: #cbd5e1;
    opacity: .9;
}
.layout-cliente .cliente-recent-head h2,
.layout-cliente .cliente-market-meta h2,
.layout-cliente .cliente-shop-head h3,
.layout-cliente .booking-step-head h2,
.layout-cliente .booking-barber-card strong,
.layout-cliente .booking-service-card strong,
.layout-cliente .appointments-section-head h2,
.layout-cliente .appointment-title h3,
.layout-cliente .appointment-history-item strong {
    color: var(--cliente-text);
}
.layout-cliente .cliente-recent-head p,
.layout-cliente .cliente-market-meta p,
.layout-cliente .cliente-shop-desc,
.layout-cliente .cliente-shop-address,
.layout-cliente .cliente-shop-stats span,
.layout-cliente .booking-step-head p,
.layout-cliente .booking-barber-card small,
.layout-cliente .booking-service-card small,
.layout-cliente .appointments-section-head p,
.layout-cliente .appointment-title p,
.layout-cliente .appointment-details,
.layout-cliente .appointment-note,
.layout-cliente .appointment-history-item span {
    color: var(--cliente-text-soft);
}
.layout-cliente .appointment-actions {
    border-top-color: #e8edf3;
}
.layout-cliente .appointment-actions .btn[disabled] {
    opacity: .55;
    cursor: not-allowed;
}
.layout-cliente .cliente-shop-stats .icon,
.layout-cliente .appointment-details .icon {
    color: #c2410c;
}
.layout-cliente .cliente-shop-price,
.layout-cliente .cliente-shop-price small {
    color: #c2410c;
}
.layout-cliente .cliente-shop-price small {
    color: var(--cliente-muted);
}
.layout-cliente .cliente-explore-search-label,
.layout-cliente .cliente-explore-hint {
    color: #cbd5e1;
}
.layout-cliente .cliente-explore-field {
    border-color: rgba(255,255,255,.16);
    background: rgba(0,0,0,.35);
}
.layout-cliente .cliente-explore-field input {
    color: #fff;
}
.layout-cliente .cliente-explore-field input::placeholder {
    color: #cbd5e1;
    opacity: .9;
}
.layout-cliente .cliente-search-input input {
    color: var(--cliente-text);
}
.layout-cliente .cliente-search-input input::placeholder {
    color: var(--cliente-muted);
    opacity: 1;
}
.layout-cliente .booking-date-bar,
.layout-cliente .booking-day {
    color: var(--cliente-text);
}
.layout-cliente .booking-calendar-hint,
.layout-cliente .booking-calendar-trigger small,
.layout-cliente .booking-day-toggle small,
.layout-cliente .booking-summary {
    color: var(--cliente-text-soft);
}
.layout-cliente .booking-time-pill {
    color: #1f2937;
}
.layout-cliente .booking-time-pill.active {
    color: #fff;
}
.layout-cliente .appointments-eyebrow {
    color: #cbd5e1;
}
.layout-cliente .appointment-card-next .appointment-date,
.layout-cliente .appointment-card-next .appointment-date strong,
.layout-cliente .appointment-card-next .appointment-date small {
    color: #fff;
}
.layout-cliente .btn-outline {
    color: #334155;
}
.layout-cliente .btn-outline:hover {
    color: #111827;
}
.layout-cliente .cliente-market-hero .btn-outline,
.layout-cliente .cliente-booking-toolbar .btn-outline {
    border-color: rgba(255,255,255,.32);
    background: rgba(255,255,255,.1);
    color: #fff;
}
.layout-cliente .cliente-market-hero .btn-outline:hover,
.layout-cliente .cliente-booking-toolbar .btn-outline:hover {
    border-color: rgba(255,255,255,.55);
    background: rgba(255,255,255,.18);
    color: #fff;
}
.appointments-overview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.appointments-overview-tags span {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #e5e5e5;
    font-size: .72rem;
    font-weight: 700;
}
.cliente-booking-address {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: #b9b9b9;
    font-size: .76rem;
}
.cliente-booking-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.layout-cliente .cliente-shop-card:hover {
    border-color: rgba(255, 106, 26, .35);
    transform: translateY(-2px);
}
.layout-cliente .booking-step {
    border-color: #dfe5ec;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
}
.layout-cliente .booking-step-head h2 {
    letter-spacing: -.02em;
}
.layout-cliente .appointments-section {
    border: 1px solid #dfe5ec;
    border-radius: 18px;
    background: #fff;
    padding: 20px;
}
.appointment-flow-modal .modal-bloqueio-box {
    width: min(500px, calc(100vw - 28px));
}
.appointment-flow-modal .modal-bloqueio-head {
    align-items: flex-start;
}
.appointment-flow-modal .modal-bloqueio-head h2 {
    margin: 2px 0 0;
    color: #111827;
    font-size: 1.15rem;
}
.appointment-flow-modal .appointments-eyebrow {
    color: #c2410c;
}
.appointment-flow-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding: 13px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f8fafc;
}
.appointment-flow-summary > div {
    display: grid;
    min-width: 0;
}
.appointment-flow-summary strong {
    overflow: hidden;
    color: #111827;
    font-size: .86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.appointment-flow-summary span:not(.appointment-flow-icon) {
    color: #475569;
    font-size: .73rem;
}
.appointment-flow-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
    background: #fff1e8;
    color: #c2410c;
}
.appointment-flow-warning,
.appointment-flow-info {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 4px 0 18px;
    padding: 11px 12px;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    background: #fff7ed;
    color: #9a3412;
    font-size: .76rem;
}
.appointment-flow-warning .icon {
    flex: 0 0 auto;
    margin-top: 2px;
}
.appointment-flow-info {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1e40af;
}
.reschedule-flow-steps {
    display: grid;
    gap: 9px;
    margin-bottom: 15px;
}
.reschedule-flow-steps > div {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}
.reschedule-flow-steps > div > span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: #111827;
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
}
.reschedule-flow-steps p {
    margin: 0;
    color: #475569;
    font-size: .78rem;
}
.reschedule-flow-steps strong {
    color: #111827;
}
.appointment-history-reason {
    display: block;
    margin-top: 2px;
    color: #9a3412;
    font-size: .68rem;
}
@media (max-width: 560px) {
    .cliente-booking-toolbar-actions {
        width: 100%;
    }
    .cliente-booking-toolbar-actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

/* Agendamento convidado — identidade e badge */
.badge-guest {
    background: #eef6ff;
    color: #1a5fb4;
    border: 1px solid #c5dff8;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    vertical-align: middle;
}
.badge-demo {
    background: #f3f0ff;
    color: #5b21b6;
    border: 1px solid #ddd6fe;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    vertical-align: middle;
}
.booking-guest-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f4faf4;
    border: 1px solid #d8ecd8;
    color: #1f4d1f;
    font-size: 0.88rem;
}
.booking-guest-notice strong {
    display: block;
    margin-bottom: 2px;
}
.booking-guest-notice span {
    color: #3d6b3d;
}
.booking-identity-modal .modal-bloqueio-box {
    max-width: 480px;
}
.booking-identity-lead {
    margin: 0 0 16px;
    color: var(--text-muted, #666);
    font-size: 0.9rem;
    line-height: 1.45;
}
.booking-identity-options {
    display: grid;
    gap: 10px;
}
.booking-identity-option {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 14px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.booking-identity-option:hover {
    border-color: #bbb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.booking-identity-option--primary {
    border-color: #171717;
    background: linear-gradient(135deg, #171717, #2a2a2a);
    color: #fff;
}
.booking-identity-option--primary:hover {
    border-color: #000;
    color: #fff;
}
.booking-identity-option strong {
    display: block;
    font-size: 0.95rem;
}
.booking-identity-option small {
    display: block;
    margin-top: 2px;
    font-size: 0.78rem;
    opacity: 0.82;
}
.booking-identity-option-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}
.booking-identity-option--primary .booking-identity-option-icon {
    background: rgba(255, 255, 255, 0.12);
}
.booking-identity-footnote {
    margin: 14px 0 0;
    font-size: 0.78rem;
    color: var(--text-muted, #888);
    text-align: center;
}
.booking-guest-welcome {
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: #f0f7ff;
    border: 1px solid #cfe3ff;
    color: #1a4d8c;
    font-size: 0.88rem;
}
.booking-guest-welcome strong {
    display: block;
    margin-bottom: 2px;
}
.booking-phone-hint {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: #fff8e6;
    border: 1px solid #f0dfa0;
    font-size: 0.82rem;
    color: #7a5a00;
}
.booking-phone-hint a {
    font-weight: 700;
    white-space: nowrap;
}
.booking-notify-opt {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 0.84rem;
    color: var(--text-muted, #666);
    cursor: pointer;
}
.booking-notify-opt input {
    margin-top: 3px;
}
.booking-identity-actions {
    margin-top: 4px;
}
.guest-upsell-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8f4ff, #eef6ff);
    border: 1px solid #ddd0ff;
}
.guest-upsell-copy p {
    margin: 4px 0 0;
    font-size: 0.88rem;
    color: #4a4a6a;
}
.guest-upsell-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
@media (max-width: 640px) {
    .booking-identity-actions {
        flex-direction: column;
    }
    .booking-identity-actions .btn {
        width: 100%;
    }
    .guest-upsell-banner {
        flex-direction: column;
        align-items: stretch;
    }
    .guest-upsell-actions .btn {
        flex: 1;
    }
}

/* Dashboard de agendamentos da barbearia */
.dashboard-appointments {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 18px;
    margin-bottom: 20px;
}
.dashboard-next-appointment,
.dashboard-upcoming-list {
    min-width: 0;
    padding: 20px;
    border: 1px solid #dfe5ec;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
}
.dashboard-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.dashboard-section-heading h2 {
    margin: 0;
    color: var(--dark-950);
    font-size: 1rem;
    letter-spacing: -.02em;
}
.next-appointment-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border: 1px solid rgba(255, 106, 26, .2);
    border-radius: 16px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 106, 26, .1), transparent 32%),
        linear-gradient(135deg, #fffaf5, #fff);
}
.next-appointment-date {
    display: grid;
    place-items: center;
    min-height: 88px;
    padding: 9px;
    border-radius: 14px;
    background: var(--dark-950);
    color: #fff;
}
.next-appointment-date span,
.next-appointment-date small {
    color: #b8b8b8;
    font-size: .65rem;
    font-weight: 700;
}
.next-appointment-date strong {
    font-size: 1.55rem;
    line-height: 1;
}
.next-appointment-main {
    min-width: 0;
}
.next-appointment-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.next-appointment-title span:not(.badge) {
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.next-appointment-title h3 {
    margin: 0;
    color: var(--dark-950);
    font-size: 1.1rem;
}
.next-appointment-details {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    margin-top: 10px;
}
.next-appointment-details span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--muted);
    font-size: .75rem;
}
.next-appointment-details .icon {
    color: var(--orange-500);
}
.next-appointment-value {
    display: grid;
    justify-items: end;
    gap: 2px;
    min-width: 88px;
}
.next-appointment-value small {
    color: var(--muted);
    font-size: .68rem;
}
.next-appointment-value strong {
    color: var(--dark-950);
    font-size: 1rem;
}
.next-appointment-card.is-pending {
    border-color: rgba(245, 158, 11, .35);
    background:
        radial-gradient(circle at 100% 0%, rgba(245, 158, 11, .12), transparent 34%),
        linear-gradient(135deg, #fffbeb, #fff);
}
.next-appointment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.next-appointment-actions form,
.dashboard-pending-actions form {
    margin: 0;
}
.dashboard-pending-block {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #edf0f4;
}
.dashboard-pending-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.dashboard-pending-heading h3 {
    margin: 0;
    color: var(--dark-950);
    font-size: .92rem;
}
.dashboard-pending-chip {
    padding: 5px 9px;
    border: 1px solid #fde68a;
    border-radius: 999px;
    background: #fffbeb;
    color: #92400e;
    font-size: .7rem;
    font-weight: 800;
}
a.dashboard-pending-chip:hover {
    color: #78350f;
    text-decoration: none;
}
.dashboard-pending-items {
    display: grid;
    gap: 8px;
}
.dashboard-pending-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #fde68a;
    border-radius: 12px;
    background: #fffbeb;
}
.dashboard-pending-item time {
    display: grid;
    justify-items: center;
    padding-right: 10px;
    border-right: 1px solid #fde68a;
}
.dashboard-pending-item time strong {
    color: var(--dark-950);
    font-size: .82rem;
}
.dashboard-pending-item time span {
    color: #92400e;
    font-size: .66rem;
}
.dashboard-pending-info {
    min-width: 0;
}
.dashboard-pending-info strong,
.dashboard-pending-info small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dashboard-pending-info strong {
    color: var(--dark-950);
    font-size: .8rem;
}
.dashboard-pending-info small {
    margin-top: 2px;
    color: var(--muted);
    font-size: .68rem;
}
.dashboard-pending-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}
.dashboard-pending-empty {
    padding: 14px 12px;
    border: 1px dashed #e5e7eb;
    border-radius: 12px;
    color: var(--muted);
    text-align: center;
    font-size: .78rem;
}
.barber-filter-card {
    margin-bottom: 20px;
}
.barber-dashboard-appointments .upcoming-appointment-item {
    cursor: default;
}
.barber-dashboard-appointments .upcoming-appointment-item:hover {
    border-color: transparent;
    background: #f8fafc;
}
.upcoming-appointment-items {
    display: grid;
    gap: 7px;
}
.upcoming-appointment-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease;
}
.upcoming-appointment-item:hover {
    border-color: #fed7aa;
    background: #fffaf5;
    color: var(--text);
    text-decoration: none;
}
.upcoming-appointment-item time {
    display: grid;
    justify-items: center;
    padding-right: 10px;
    border-right: 1px solid #edf0f4;
}
.upcoming-appointment-item time strong {
    color: var(--dark-950);
    font-size: .82rem;
}
.upcoming-appointment-item time span {
    color: var(--muted);
    font-size: .66rem;
}
.upcoming-appointment-person {
    min-width: 0;
}
.upcoming-appointment-person strong,
.upcoming-appointment-person small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.upcoming-appointment-person strong {
    color: var(--dark-950);
    font-size: .8rem;
}
.upcoming-appointment-person small {
    margin-top: 2px;
    color: var(--muted);
    font-size: .68rem;
}
.dashboard-appointments-empty {
    padding: 28px 16px;
    border: 1px dashed #d8dbe1;
    border-radius: 14px;
    color: var(--muted);
    text-align: center;
    font-size: .8rem;
}
@media (max-width: 1050px) {
    .dashboard-appointments {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .dashboard-next-appointment,
    .dashboard-upcoming-list {
        padding: 16px;
    }
    .next-appointment-card {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }
    .next-appointment-date {
        min-height: 78px;
    }
    .next-appointment-value {
        grid-column: 2;
        justify-items: start;
    }
    .next-appointment-title {
        flex-direction: column-reverse;
        gap: 6px;
    }
    .upcoming-appointment-item {
        grid-template-columns: 45px minmax(0, 1fr);
    }
    .upcoming-appointment-item .badge {
        grid-column: 2;
        justify-self: start;
    }
    .dashboard-pending-item {
        grid-template-columns: 45px minmax(0, 1fr);
    }
    .dashboard-pending-actions {
        grid-column: 1 / -1;
        justify-content: stretch;
    }
    .dashboard-pending-actions .btn {
        flex: 1;
    }
}

/* Agenda separada por profissional */
.agenda-team {
    display: grid;
    gap: 16px;
}
.agenda-team-toolbar {
    display: flex;
    gap: 9px;
    padding: 5px;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #f8fafc;
    scrollbar-width: thin;
}
.agenda-team-tab {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    min-width: 164px;
    padding: 9px 11px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    color: var(--text-soft);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.agenda-team-tab:hover {
    border-color: #fed7aa;
    background: #fff;
}
.agenda-team-tab.is-active {
    border-color: rgba(255, 106, 26, .32);
    background: #fff;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .07);
}
.agenda-team-avatar:not(.barber-avatar--photo) {
    display: grid;
    flex: 0 0 34px;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #e2e8f0;
    color: #475569;
    font-size: .72rem;
    font-weight: 800;
}
.agenda-team-tab.is-active .agenda-team-avatar:not(.barber-avatar--photo) {
    background: var(--dark-950);
    color: #fff;
}
.agenda-team-tab strong,
.agenda-team-tab small {
    display: block;
}
.agenda-team-tab strong {
    max-width: 112px;
    overflow: hidden;
    color: var(--dark-950);
    font-size: .78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.agenda-team-tab small {
    margin-top: 1px;
    color: var(--muted);
    font-size: .65rem;
}
.agenda-team-panel[hidden] {
    display: none !important;
}
.agenda-team-panel {
    animation: agenda-panel-in .2s ease;
}
.agenda-team-panel .agenda-legend {
    border-radius: 14px;
    background: #fbfcfe;
}
.agenda-team-panel .agenda-grid-single .agenda-day {
    max-width: none;
}
.agenda-team-panel .agenda-wrap-single .agenda-day--hoje {
    max-width: none;
}
.agenda-team-panel .agenda-grid-single {
    grid-template-columns: minmax(0, 1fr);
}
.agenda-team-panel .agenda-slots {
    gap: 8px;
}
.agenda-team-panel .agenda-slot {
    min-width: 58px;
    min-height: 34px;
    padding-inline: 12px;
}
.schedule-hero {
    margin-bottom: 20px;
}
@keyframes agenda-panel-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
    .agenda-team-toolbar {
        margin-inline: -2px;
    }
    .agenda-team-tab {
        min-width: 146px;
    }
    .agenda-team-panel .agenda-slot {
        min-width: 55px;
        min-height: 36px;
    }
}

/* Pagamento seguro (barbearia) */
.payment-page .payment-secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.08);
    color: var(--text-muted, #64748b);
    font-size: 0.875rem;
}
.payment-section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.payment-section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border, #e2e8f0);
    color: inherit;
    text-decoration: none;
    font-size: 0.875rem;
}
.payment-section-link.is-active {
    background: var(--primary, #111827);
    border-color: var(--primary, #111827);
    color: #fff;
}
.payment-standalone {
    max-width: 560px;
}
.payment-wait-box {
    text-align: center;
}
.payment-wait-state {
    padding: 28px 12px;
}
.payment-wait-spinner {
    display: inline-block;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border: 3px solid rgba(0, 0, 0, 0.08);
    border-top-color: var(--primary, #111827);
    border-radius: 50%;
    animation: payment-wait-spin 0.8s linear infinite;
}
.payment-wait-icon {
    display: inline-flex;
    margin-bottom: 12px;
}
.payment-wait-hint {
    margin-top: 8px;
    font-size: 0.875rem;
}
@keyframes payment-wait-spin {
    to { transform: rotate(360deg); }
}

/* Alternância lista / cards (painel barbearia) */
body:not([data-panel-view]) .panel-view--list,
body[data-panel-view="cards"] .panel-view--list {
    display: none !important;
}
body[data-panel-view="lista"] .panel-view--cards {
    display: none !important;
}
.panel-view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 999px;
    background: #fff;
}
.panel-view-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted, #64748b);
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}
.panel-view-toggle-btn.is-active {
    background: var(--dark-900, #111827);
    color: #fff;
}
.card-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.panel-agenda-cards {
    display: grid;
    gap: 14px;
}
.panel-agenda-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    padding: 14px 16px;
    border: 1px solid var(--border, #e8e8e8);
    border-radius: 16px;
    background: #fff;
}
.panel-agenda-card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 8px;
    border-radius: 12px;
    background: #f4f4f5;
    text-align: center;
}
.panel-agenda-card-date strong {
    font-size: 1.35rem;
    line-height: 1;
}
.panel-agenda-card-date span,
.panel-agenda-card-date small {
    color: #71717a;
    font-size: 0.72rem;
}
.panel-agenda-card-main h3 {
    margin: 0 0 6px;
    font-size: 1rem;
}
.panel-agenda-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    color: #64748b;
    font-size: 0.8125rem;
}
.panel-agenda-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.panel-agenda-card-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 110px;
}
.panel-agenda-card-side strong {
    font-size: 1rem;
}
.panel-agenda-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}
.promo-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.promo-catalog-card {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--border, #e8e8e8);
    border-radius: 16px;
    background: #fff;
}
.promo-catalog-card h3 {
    margin: 0;
    font-size: 1rem;
}
.promo-catalog-card p {
    margin: 0;
    color: #64748b;
    font-size: 0.875rem;
}
.promo-catalog-card-actions {
    display: flex;
    gap: 8px;
    padding-top: 4px;
}
@media (max-width: 760px) {
    .panel-agenda-card {
        grid-template-columns: 62px minmax(0, 1fr);
    }
    .panel-agenda-card-side {
        grid-column: 2;
        align-items: flex-start;
    }
    .panel-agenda-card-actions {
        justify-content: flex-start;
    }
}

/* Wiki /wiki */
body.wiki-page {
    background: #f4f4f5;
    color: #18181b;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
.wiki-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}
.wiki-sidebar {
    position: sticky;
    top: 0;
    align-self: start;
    height: 100vh;
    overflow-y: auto;
    padding: 24px 18px;
    background: #fff;
    border-right: 1px solid #e4e4e7;
}
.wiki-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #18181b;
    text-decoration: none;
}
.wiki-brand span {
    color: #d97706;
}
.wiki-sidebar-label {
    margin: 18px 0 10px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #71717a;
}
.wiki-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.wiki-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    color: #52525b;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}
.wiki-nav-link:hover {
    background: #fafafa;
    color: #18181b;
}
.wiki-nav-link.is-active {
    background: #fff7ed;
    color: #c2410c;
}
.wiki-sidebar-foot {
    margin-top: 24px;
    display: grid;
    gap: 8px;
}
.wiki-main {
    padding: 32px 40px 56px;
    max-width: 920px;
}
.wiki-header {
    margin-bottom: 28px;
}
.wiki-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #d97706;
}
.wiki-header h1 {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.15;
}
.wiki-content.prose h2 {
    margin: 2rem 0 0.75rem;
    font-size: 1.25rem;
}
.wiki-content.prose h2:first-child {
    margin-top: 0;
}
.wiki-content.prose p,
.wiki-content.prose li {
    line-height: 1.65;
    color: #3f3f46;
}
.wiki-content.prose ul,
.wiki-content.prose ol {
    padding-left: 1.25rem;
    margin: 0.75rem 0 1rem;
}
.wiki-content.prose code {
    padding: 0.12em 0.4em;
    border-radius: 6px;
    background: #f4f4f5;
    font-size: 0.875em;
}
.wiki-code {
    overflow-x: auto;
    margin: 1rem 0;
    padding: 14px 16px;
    border-radius: 12px;
    background: #18181b;
    color: #e4e4e7;
    font-size: 0.8125rem;
    line-height: 1.55;
}
.wiki-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.25rem;
    font-size: 0.875rem;
}
.wiki-table th,
.wiki-table td {
    padding: 10px 12px;
    border: 1px solid #e4e4e7;
    text-align: left;
    vertical-align: top;
}
.wiki-table th {
    background: #fafafa;
    font-weight: 600;
}
@media (max-width: 900px) {
    .wiki-shell {
        grid-template-columns: 1fr;
    }
    .wiki-sidebar {
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e4e4e7;
    }
    .wiki-main {
        padding: 24px 18px 40px;
    }
}

/* ========================================
   Mobile App-like Experience
   ======================================== */

/* 1. Native touches and interactions */
html {
    -webkit-tap-highlight-color: transparent;
}

body {
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
}

a, button, .btn, .topnav-icon-btn, [role="button"] {
    touch-action: manipulation;
}

.topnav-icon-btn, .filter-chip, .modal-bloqueio-close {
    min-width: 44px;
    min-height: 44px;
}

/* Ripple effect on click */
@media (max-width: 768px) {
    button, a[href], .btn, [role="button"], .filter-chip {
        position: relative;
        overflow: hidden;
    }

    button::before, a[href]::before, .btn::before, [role="button"]::before, .filter-chip::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        pointer-events: none;
    }

    button:active::before, a[href]:active::before, .btn:active::before, [role="button"]:active::before, .filter-chip:active::before {
        animation: ripple 0.3s ease-out;
    }

    @keyframes ripple {
        to {
            width: 300px;
            height: 300px;
            opacity: 0;
        }
    }
}

/* Enhanced focus states */
input:focus, textarea:focus, select:focus {
    outline: 2px solid var(--orange-400);
    outline-offset: 2px;
}

/* Improved button interactions */
button, .btn, [role="button"] {
    transition: all 0.15s ease;
}

button:hover:not(:disabled), .btn:hover:not(:disabled), [role="button"]:hover:not(:disabled) {
    transform: translateY(-1px);
}

button:active:not(:disabled), .btn:active:not(:disabled), [role="button"]:active:not(:disabled) {
    transform: translateY(0);
}

/* 2. Bottom sheet for modals (mobile) — ver mobile-modern.css seção 8 e 21 */
/* 3. Bottom nav — cliente (mobile) */
.cliente-bottomnav {
    display: none;
}

@media (max-width: 768px) {
    :root {
        --bottomnav-h: 70px;
    }

    .layout-cliente .cliente-topnav-links {
        display: none;
    }

    .cliente-bottomnav {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        height: calc(var(--bottomnav-h) + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: linear-gradient(180deg, rgba(16, 16, 16, 0.98) 0%, rgba(10, 10, 10, 0.99) 100%);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
        align-items: flex-start;
    }

    .cliente-bottomnav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 4px;
        padding-top: 8px;
        min-height: var(--bottomnav-h);
        color: rgba(215, 215, 215, 0.7);
        font-size: 0.62rem;
        font-weight: 600;
        text-decoration: none;
        position: relative;
        transition: color 0.2s ease, transform 0.15s ease;
        user-select: none;
    }

    .cliente-bottomnav-item:active {
        transform: scale(0.95);
    }

    .cliente-bottomnav-item:hover {
        color: rgba(215, 215, 215, 0.95);
    }

    .cliente-bottomnav-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        transition: all 0.2s ease;
    }

    .cliente-bottomnav-item.active {
        color: #fff;
    }

    .cliente-bottomnav-item.active .cliente-bottomnav-icon {
        color: var(--orange-400);
        filter: drop-shadow(0 0 4px rgba(255, 140, 44, 0.4));
    }

    .cliente-bottomnav-item.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, transparent, var(--orange-400), transparent);
        border-radius: 0 0 2px 2px;
    }

    .cliente-bottomnav-label {
        display: block;
        letter-spacing: 0.3px;
    }

    .layout-cliente .content {
        padding-bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom, 0px) + 20px);
    }
}

/* 4. Bottom nav — gestão (barbearia/barbeiro, mobile) */
.panel-bottomnav {
    display: none;
}

@media (max-width: 768px) {
    .panel-bottomnav {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        height: calc(70px + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: linear-gradient(180deg, rgba(16, 16, 16, 0.98) 0%, rgba(10, 10, 10, 0.99) 100%);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
        align-items: flex-start;
    }

    .panel-bottomnav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 4px;
        padding-top: 8px;
        min-height: 70px;
        border: none;
        background: transparent;
        color: rgba(215, 215, 215, 0.7);
        font-size: 0.62rem;
        font-weight: 600;
        text-decoration: none;
        position: relative;
        transition: color 0.2s ease, transform 0.15s ease;
        user-select: none;
    }

    .panel-bottomnav-item:active {
        transform: scale(0.95);
    }

    .panel-bottomnav-item:hover {
        color: rgba(215, 215, 215, 0.95);
    }

    .panel-bottomnav-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        transition: all 0.2s ease;
    }

    .panel-bottomnav-item.active {
        color: #fff;
    }

    .panel-bottomnav-item.active .panel-bottomnav-icon {
        color: var(--orange-400);
        filter: drop-shadow(0 0 4px rgba(255, 140, 44, 0.4));
    }

    .panel-bottomnav-item.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, transparent, var(--orange-400), transparent);
        border-radius: 0 0 2px 2px;
    }

    .panel-bottomnav-label {
        display: block;
        letter-spacing: 0.3px;
    }

    .panel-bottomnav-more {
        opacity: 0.8;
    }

    .panel-bottomnav-more:hover {
        opacity: 1;
    }

    .layout-panel--bottomnav .content {
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px) + 20px);
    }
}

/* 5. Safe area inset adjustments (mobile notch/home indicator) */
@media (max-width: 768px) {
    .app-topnav {
        padding-top: env(safe-area-inset-top, 0px);
        height: calc(var(--topnav-h) + env(safe-area-inset-top, 0px));
    }
}

/* 6. Enhanced UI/UX for mobile */
@media (max-width: 768px) {
    /* Better spacing */
    .content {
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 16px;
    }

    .card, .panel-card {
        border-radius: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.05);
        margin-bottom: 16px;
    }

    .card:hover, .panel-card:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
        transition: all 0.2s ease;
    }

    /* Better input styling */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    textarea,
    select {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 12px 16px;
        border-radius: 12px;
        border: 2px solid rgba(0, 0, 0, 0.08);
        transition: all 0.2s ease;
    }

    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="tel"]:focus,
    input[type="password"]:focus,
    textarea:focus,
    select:focus {
        border-color: var(--orange-400);
        box-shadow: 0 0 0 3px rgba(255, 140, 44, 0.1);
    }

    /* Better buttons */
    .btn {
        border-radius: 12px;
        font-size: 16px;
        font-weight: 600;
        padding: 12px 24px;
        letter-spacing: 0.3px;
        transition: all 0.2s ease;
    }

    .btn-primary {
        background: linear-gradient(135deg, var(--orange-400), var(--orange-500));
        box-shadow: 0 4px 12px rgba(255, 140, 44, 0.3);
    }

    .btn-primary:hover:not(:disabled) {
        box-shadow: 0 6px 20px rgba(255, 140, 44, 0.4);
    }

    /* Better flash/alert messages */
    .flash {
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 16px;
        border-left: 4px solid;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .flash-success {
        border-left-color: #10b981;
        background: rgba(16, 185, 129, 0.05);
    }

    .flash-warning {
        border-left-color: #f59e0b;
        background: rgba(245, 158, 11, 0.05);
    }

    .flash-error {
        border-left-color: #ef4444;
        background: rgba(239, 68, 68, 0.05);
    }

    /* Better section dividers */
    .page-header {
        padding: 16px 0 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        margin-bottom: 20px;
    }

    .page-header h1 {
        font-size: 1.75rem;
        font-weight: 700;
        margin: 0 0 4px;
    }

    /* Better empty state */
    .empty-state {
        padding: 48px 24px;
        text-align: center;
    }

    .empty-state-icon {
        font-size: 3rem;
        margin-bottom: 16px;
        opacity: 0.3;
    }

    /* Better stat boxes */
    .stat-box {
        border-radius: 16px;
        padding: 20px;
        background: linear-gradient(135deg, rgba(255, 140, 44, 0.05), rgba(255, 140, 44, 0.02));
        border: 1px solid rgba(255, 140, 44, 0.1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }

    .stat-value {
        font-size: 1.75rem;
        font-weight: 700;
        color: var(--dark-900);
    }

    .stat-label {
        font-size: 0.875rem;
        color: var(--sidebar-muted);
        margin-top: 8px;
    }

    /* Filter chips styling */
    .filter-chip {
        border-radius: 20px;
        padding: 8px 16px;
        border: 2px solid rgba(0, 0, 0, 0.1);
        font-size: 0.875rem;
        font-weight: 600;
        transition: all 0.2s ease;
        background: transparent;
    }

    .filter-chip:hover {
        border-color: var(--orange-400);
        background: rgba(255, 140, 44, 0.05);
    }

    .filter-chip.is-active {
        border-color: var(--orange-400);
        background: var(--orange-400);
        color: #fff;
    }

    /* Better table styling */
    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 16px;
    }

    table th {
        padding: 12px;
        text-align: left;
        font-weight: 600;
        background: rgba(0, 0, 0, 0.02);
        border-bottom: 2px solid rgba(0, 0, 0, 0.08);
    }

    table td {
        padding: 12px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    table tr:hover {
        background: rgba(255, 140, 44, 0.02);
    }

    /* Scrollbar styling */
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    ::-webkit-scrollbar-track {
        background: transparent;
    }

    ::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.3);
    }
}

/* ===== Compact hero (FAQ / Contato) ===== */
.shop-hero--compact {
    min-height: auto;
    padding: 64px 0;
}
.shop-hero-content--compact {
    display: block;
    padding: 0;
    text-align: center;
}
.shop-hero-content--compact .shop-hero-copy {
    margin: 0 auto;
}
.shop-hero-content--compact .shop-hero-copy h1 {
    max-width: none;
}
.shop-hero-content--compact .shop-hero-copy > p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.faq-hero-actions {
    justify-content: center;
    margin-top: 8px;
}

/* ===== Tutorial (FAQ page) ===== */
.tutorial-section { padding: 56px 0; }
.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}
.tutorial-card {
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}
.tutorial-card-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}
.tutorial-card-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 106, 26, 0.1);
    border: 1px solid rgba(255, 106, 26, 0.18);
    color: var(--orange-500);
}
.tutorial-card-head h3 {
    margin-bottom: 4px;
    font-size: 1.15rem;
    color: var(--blue-950);
}
.tutorial-card-head p {
    margin: 0;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.5;
}
.tutorial-steps {
    counter-reset: tutorial-step;
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    flex: 1;
}
.tutorial-steps li {
    counter-increment: tutorial-step;
    position: relative;
    padding: 0 0 20px 40px;
}
.tutorial-steps li:last-child { padding-bottom: 0; }
.tutorial-steps li::before {
    content: counter(tutorial-step);
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--orange-500);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
}
.tutorial-steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 13px;
    top: 26px;
    bottom: 0;
    width: 1px;
    background: var(--border);
}
.tutorial-steps li strong {
    display: block;
    margin-bottom: 4px;
    color: var(--blue-950);
    font-size: .95rem;
}
.tutorial-steps li p {
    margin: 0;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.55;
}
.tutorial-cta { align-self: flex-start; }

@media (max-width: 768px) {
    .tutorial-grid { grid-template-columns: 1fr; }
    .tutorial-card { padding: 22px; }
}

/* ===== FAQ page ===== */
.faq-section { padding: 56px 0; }
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 820px;
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    padding: 4px 22px;
}
.faq-item + .faq-item { margin-top: 0; }
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 32px 18px 0;
    font-weight: 700;
    color: var(--blue-950);
    position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 16px;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--orange-500);
    transition: transform .18s ease;
}
.faq-item[open] summary::after {
    content: '−';
}
.faq-item p {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.65;
}
.faq-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.faq-cta-inner h2 { margin-bottom: 6px; }
.faq-cta-inner p { color: var(--muted); margin: 0; }

/* ===== Contato page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
    gap: 28px;
    align-items: start;
}
.contact-form-card .card-body,
.contact-info-card .card-body { padding: 30px; }
.contact-info-card h2 {
    margin: 6px 0 10px;
    font-size: 1.4rem;
    color: var(--blue-950);
}
.contact-info-link { margin-top: 10px; }
.contact-info-divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}
.contato-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ===== Admin: mensagens de contato ===== */
.message-detail { margin-bottom: 18px; }
.message-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 12px;
    font-size: .84rem;
    color: var(--text-soft);
}
.message-detail-meta span { display: inline-flex; align-items: center; gap: 6px; }
.message-detail-assunto { margin-bottom: 12px; }
.message-detail-body {
    margin: 0;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    color: var(--text);
    line-height: 1.6;
    white-space: pre-line;
}
.message-status-form {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.message-status-form .form-group { flex: 1; min-width: 160px; margin-bottom: 0; }
.message-delete-form {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    text-align: right;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .faq-cta-inner { text-align: center; justify-content: center; }
    .faq-item summary { padding-right: 28px; }
}

/* ===== Documentos legais ===== */
.legal-page-main {
    padding: 32px 20px 64px;
}
.legal-page-wrap {
    max-width: 820px;
    margin: 0 auto;
}
.legal-doc-header h1 {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.legal-doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: var(--muted, #6b7280);
    font-size: 0.925rem;
    margin-bottom: 28px;
}
.legal-doc-section {
    margin-bottom: 28px;
}
.legal-doc-section h2 {
    font-size: 1.15rem;
    margin: 0 0 10px;
}
.legal-doc-section p,
.legal-doc-section li {
    color: var(--text, #1f2937);
    line-height: 1.65;
}
.legal-doc-section ul {
    margin: 0 0 12px;
    padding-left: 1.25rem;
}
.legal-page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border, #e5e7eb);
}
.legal-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0;
    font-size: 0.925rem;
    line-height: 1.5;
    color: var(--muted, #6b7280);
}
.legal-consent input {
    margin-top: 3px;
    flex-shrink: 0;
}
.legal-consent a {
    color: inherit;
    text-decoration: underline;
}
.booking-legal-consent {
    margin-top: 8px;
}
.legal-accept-page .legal-page-main {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.legal-accept-box {
    width: min(100%, 560px);
    padding: 28px;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}
.legal-accept-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 1.1rem;
}
.legal-accept-brand span:last-child span {
    color: var(--primary, #2563eb);
}
.legal-accept-lead {
    color: var(--muted, #6b7280);
    line-height: 1.6;
}
.legal-accept-summary {
    display: grid;
    gap: 16px;
    margin: 22px 0;
    padding: 18px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--border, #e5e7eb);
}
.legal-accept-summary h2 {
    margin: 0 0 8px;
    font-size: 1rem;
}
.legal-accept-summary ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted, #6b7280);
    font-size: 0.925rem;
}
.legal-accept-links {
    display: grid;
    gap: 10px;
}
.legal-accept-footer {
    margin-top: 18px;
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted, #6b7280);
    line-height: 1.6;
}
.staff-auth-card .legal-consent,
.cliente-auth-form .legal-consent {
    margin-bottom: 18px;
}
