/* Painel de parceiros (autoescolas) · mesmo sistema visual do site www.labomega.com.br */
:root {
    --blue: #0056b3;
    --blue-dark: #003d80;
    --blue-soft: #e6f2ff;
    --lime: #bfff00;
    --lime-dark: #7cb305;
    --tox: #c2410c;
    --ink: #111827;
    --ink-2: #374151;
    --muted: #5b6b82;
    --line: #e2e8f0;
    --bg: #f5f8fc;
    --surface: #ffffff;
    --success: #15803d;
    --success-soft: #dcfce7;
    --warning: #a14a06;
    --warning-soft: #fef3c7;
    --danger: #b91c1c;
    --danger-soft: #fee2e2;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-btn: 0 4px 12px rgba(0, 61, 128, 0.22);
    --font: 'Poppins', 'Poppins Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --nav-w: 248px;
    --ease: cubic-bezier(0.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.55; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blue); }
[hidden] { display: none !important; }

.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; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 8px 14px; border-radius: 8px; background: var(--blue); color: #fff; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.noscript { padding: 24px; text-align: center; }
.icon { width: 18px; height: 18px; flex: none; }
.icon-xs { width: 13px; height: 13px; }
.muted { color: var(--muted); font-size: 0.8125rem; }
.prewrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.tabular { font-variant-numeric: tabular-nums; }
.link-btn { padding: 0; border: 0; background: none; color: var(--blue); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:focus-visible { outline: 3px solid rgba(0, 86, 179, 0.3); outline-offset: 2px; border-radius: 4px; }

.spinner { width: 22px; height: 22px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; flex: none; }
.spinner-sm { width: 15px; height: 15px; border-width: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.boot { min-height: 100vh; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); }
.boot .spinner { color: var(--blue); }

/* ---------- botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 22px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s var(--ease);
}
.btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0, 61, 128, 0.28); }
.btn-lime { background: linear-gradient(135deg, var(--lime), var(--lime-dark)); color: #111827; box-shadow: 0 4px 12px rgba(124, 179, 5, 0.3); font-weight: 700; }
.btn-secondary { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover:not(:disabled) { background: var(--blue-soft); }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover:not(:disabled) { background: var(--blue-soft); }
.btn-danger { background: #fff; color: var(--danger); border-color: #f3b4b4; }
.btn-danger:hover:not(:disabled) { background: var(--danger-soft); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 0.8125rem; }
.btn-lg { min-height: 52px; font-size: 1rem; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); cursor: pointer; }
.icon-btn:hover { background: #eef2f7; color: var(--blue); }
.icon-btn:focus-visible { outline: 3px solid rgba(0, 86, 179, 0.3); outline-offset: 1px; }
.icon-btn-sm { width: 30px; height: 30px; border-radius: 8px; }

/* ---------- campos ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field label, .field-label { font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1.5px solid #d7e0eb;
    border-radius: var(--radius);
    background: #fff;
    font-size: 1rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #8491a3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.field input[readonly] { background: #f5f8fc; color: var(--ink-2); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-hint { font-size: 0.75rem; color: var(--muted); }
.field-error { font-size: 0.8125rem; color: var(--danger); font-weight: 500; }
.field-row { display: flex; justify-content: space-between; gap: 12px; }
.input-group { position: relative; display: flex; }
.input-group input { padding-right: 48px; }
.input-addon { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.input-addon:hover { color: var(--blue); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); }
.check-box { padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fafcff; }
.check-box:has(input:checked) { border-color: #b9d3f2; background: var(--blue-soft); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); font-size: 0.875rem; font-weight: 500; }
.alert .icon { margin-top: 2px; }
.alert-info { background: var(--blue-soft); color: var(--blue-dark); }
.alert-success { background: var(--success-soft); color: #14532d; }
.alert-warning { background: var(--warning-soft); color: #7c2d12; }
.alert-danger { background: var(--danger-soft); color: #7f1d1d; }

/* regras de senha */
.pw-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; padding: 10px 12px; border-radius: var(--radius); background: #f5f8fc; }
.pw-rules li { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--muted); }
.pw-rules li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #cbd5e1; flex: none; }
.pw-rules li.is-met { color: var(--success); font-weight: 500; }
.pw-rules li.is-met::before { border-color: #16a34a; background: #16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat; }

/* ---------- área pública (entrada e cadastro) ---------- */
.public { min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(1200px 500px at 85% -10%, rgba(191, 255, 0, 0.18), transparent 60%), linear-gradient(160deg, #eaf3ff 0%, #f5f8fc 55%); }
.public-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1180px; width: 100%; margin: 0 auto; padding: 20px 20px 0; }
.public-top img { height: 42px; width: auto; }
.public-top a { font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.public-main { flex: 1; display: grid; gap: 32px; align-items: start; max-width: 1180px; width: 100%; margin: 0 auto; padding: 28px 20px 48px; grid-template-columns: minmax(0, 1fr); }
.pitch { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.pitch-kicker { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--blue); font-size: 0.8125rem; font-weight: 600; box-shadow: var(--shadow); }
.pitch h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; }
.pitch h1 em { font-style: normal; color: var(--blue); }
.pitch-lead { font-size: 1.0625rem; color: var(--ink-2); max-width: 560px; }
.pitch-value { display: inline-flex; align-items: baseline; gap: 8px; align-self: flex-start; padding: 12px 18px; border-radius: 16px; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; box-shadow: var(--shadow-btn); }
.pitch-value strong { font-size: 1.75rem; line-height: 1; color: var(--lime); }
.pitch-link { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-weight: 600; text-decoration: none; }
.pitch-link:hover { text-decoration: underline; }
.steps { display: grid; gap: 12px; }
.step { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line); }
.step-num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-weight: 700; }
.step strong { display: block; font-size: 0.9375rem; }
.step span { font-size: 0.875rem; color: var(--muted); }

.auth-card { background: #fff; border-radius: 24px; box-shadow: 0 24px 60px -24px rgba(15, 23, 42, 0.35); border: 1px solid #e3eaf3; overflow: hidden; }
.auth-bar { height: 5px; background: linear-gradient(90deg, var(--blue), var(--lime)); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 16px 16px 0; }
.auth-tab { min-height: 44px; border: 1.5px solid var(--line); border-radius: 14px; background: #f8fafc; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.auth-tab[aria-selected="true"] { border-color: rgba(0, 86, 179, 0.5); background: linear-gradient(135deg, #dbeafe, #ecfdf5); color: var(--blue-dark); }
.auth-tab:focus-visible { outline: 3px solid rgba(0, 86, 179, 0.3); outline-offset: 2px; }
.auth-body { padding: 22px 22px 26px; }
.auth-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.auth-text { font-size: 0.875rem; color: var(--muted); margin-bottom: 4px; }

.stepper { display: flex; gap: 6px; margin-bottom: 18px; }
.stepper span { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.stepper span.is-done { background: var(--blue); }
.stepper span.is-current { background: linear-gradient(90deg, var(--blue), var(--lime)); }
.step-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--blue); }
.company-card { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); background: #f5f8fc; border: 1px solid var(--line); }
.company-card strong { display: block; }
.company-card .muted { display: block; }
.company-card > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.input-status { pointer-events: none; color: var(--success); }
.field-hint.is-loading { display: flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 500; }
.badge-ok { display: inline-flex; align-items: center; gap: 4px; color: var(--success); font-weight: 600; font-size: 0.8125rem; }
.terms-frame { width: 100%; height: 320px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

.logo-picker { display: flex; align-items: center; gap: 14px; }
.logo-preview { flex: none; width: 76px; height: 76px; border-radius: 16px; border: 1.5px dashed #c7d3e3; background: #fff; display: grid; place-items: center; overflow: hidden; color: #94a3b8; }
.logo-preview img { width: 100%; height: 100%; object-fit: contain; }
.logo-preview.has-image { border-style: solid; border-color: var(--line); }
.logo-actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; }

.public-foot { padding: 18px 20px 26px; text-align: center; font-size: 0.75rem; color: var(--muted); }

@media (min-width: 960px) {
    .public-main { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; padding-top: 48px; }
    .pitch { position: sticky; top: 32px; }
}

/* ---------- painel ---------- */
.appbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 64px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}
.appbar-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.appbar-brand .lab-logo { height: 34px; width: auto; flex: none; }
.brand-sep { width: 1px; height: 30px; background: var(--line); flex: none; }
.partner-logo { height: 38px; max-width: 120px; width: auto; object-fit: contain; flex: none; }
.appbar-user { display: flex; align-items: center; gap: 6px; min-width: 0; }
.appbar-name { font-size: 0.875rem; font-weight: 600; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }

.tabs {
    position: fixed;
    z-index: 45;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.06);
}
.tab-link { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border-radius: 12px; color: var(--muted); font-size: 0.6875rem; font-weight: 600; text-decoration: none; }
.tab-link .icon { width: 22px; height: 22px; }
.tab-link[aria-current="page"] { color: var(--blue); background: var(--blue-soft); }
.tab-link:focus-visible { outline: 3px solid rgba(0, 86, 179, 0.3); outline-offset: -2px; }
.tab-badge { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 0.6875rem; line-height: 18px; text-align: center; }

.content { padding: 20px 16px calc(96px + env(safe-area-inset-bottom)); outline: none; }
.view { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.view-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.view-header h1 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.01em; outline: none; }
.view-header p { color: var(--muted); font-size: 0.9375rem; margin-top: 2px; }
.view-actions { display: flex; gap: 8px; flex-wrap: wrap; }

@media (min-width: 900px) {
    .shell { display: grid; grid-template-columns: var(--nav-w) minmax(0, 1fr); grid-template-rows: 64px 1fr; min-height: 100vh; }
    .appbar { grid-column: 1 / -1; padding: 0 24px; }
    .tabs { position: sticky; top: 64px; align-self: start; height: calc(100vh - 64px); display: flex; flex-direction: column; gap: 4px; padding: 20px 14px; border-top: 0; border-right: 1px solid var(--line); box-shadow: none; background: #fff; }
    .tab-link { flex-direction: row; gap: 12px; padding: 11px 14px; font-size: 0.9375rem; font-weight: 500; }
    .tab-link .icon { width: 20px; height: 20px; }
    .tab-link[aria-current="page"] { font-weight: 600; }
    .tab-badge { position: static; margin-left: auto; }
    .content { padding: 28px 32px 48px; }
}

/* ---------- cartões ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.card-accent::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--blue), var(--lime)); }
.card-body { padding: 20px; }
.card-accent .card-body { padding-top: 24px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 0; }
.card-head h2 { font-size: 1.0625rem; display: flex; align-items: center; gap: 8px; }
.card-head h2 .icon { color: var(--blue); }

.hello { display: grid; gap: 16px; padding: 22px; border-radius: 24px; color: #fff; background: radial-gradient(600px 220px at 100% 0%, rgba(191, 255, 0, 0.22), transparent 60%), linear-gradient(135deg, var(--blue), var(--blue-dark)); box-shadow: var(--shadow-btn); }
.hello h1 { font-size: 1.5rem; line-height: 1.25; outline: none; }
.hello p { color: #d6e6fa; }
.hello .btn-lime { justify-self: start; }
@media (min-width: 720px) { .hello { grid-template-columns: 1fr auto; align-items: center; padding: 26px 28px; } }

.kpis { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kpi { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.kpi-label { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
.kpi-label .icon { width: 16px; height: 16px; }
.kpi-value { font-size: 1.5rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.kpi-hint { font-size: 0.75rem; color: var(--muted); }
.kpi-available { background: linear-gradient(160deg, #f4fbe6, #fff 60%); border-color: #d9efa8; }
.kpi-available .kpi-value { color: #3f6212; }
.kpi-pending .kpi-value { color: var(--blue); }

/* listas */
.list { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); text-align: left; width: 100%; background: transparent; border-left: 0; border-right: 0; border-bottom: 0; cursor: default; }
.row:first-child { border-top: 0; }
button.row { cursor: pointer; }
button.row:hover { background: #f8fbff; }
button.row:focus-visible { outline: 3px solid rgba(0, 86, 179, 0.25); outline-offset: -3px; }
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.row-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-sub { font-size: 0.8125rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.row-amount { font-weight: 700; font-variant-numeric: tabular-nums; }
.avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 0.875rem; }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; background: #eef2f6; color: var(--ink-2); }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-pending { background: var(--blue-soft); color: var(--blue); }
.pill-valid, .pill-paid { background: var(--success-soft); color: var(--success); }
.pill-requested { background: var(--warning-soft); color: var(--warning); }
.pill-expired, .pill-cancelled { background: #eef2f6; color: #64748b; }
.pill-rejected { background: var(--danger-soft); color: var(--danger); }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip-count { font-size: 0.6875rem; opacity: 0.8; }
.search { position: relative; flex: 1; min-width: 180px; max-width: 340px; }
.search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 16px; height: 16px; }
.search input { width: 100%; min-height: 40px; padding: 8px 12px 8px 36px; border: 1.5px solid var(--line); border-radius: 999px; background: #f8fafc; font-size: 0.875rem; }
.search input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px var(--blue-soft); }

/* notícias */
.news { display: flex; flex-direction: column; }
.news-item { padding: 16px 20px; border-top: 1px solid var(--line); }
.news-item:first-child { border-top: 0; }
.news-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 4px; }
.news-item h3 { font-size: 1rem; }
.news-cat { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; background: var(--blue-soft); color: var(--blue); }
.news-cat-comissao { background: #ecfccb; color: #3f6212; }
.news-cat-importante { background: var(--danger-soft); color: var(--danger); }
.news-cat-novidade { background: #ede9fe; color: #5b21b6; }
.news-new { padding: 2px 8px; border-radius: 999px; background: var(--lime); color: #1a2e05; font-size: 0.6875rem; font-weight: 700; }
.news-pin { color: var(--blue); display: inline-flex; }
.news-date { font-size: 0.75rem; color: var(--muted); margin-left: auto; }
.news-body { color: var(--ink-2); font-size: 0.9375rem; white-space: pre-wrap; overflow-wrap: anywhere; }

/* linha do tempo do exame */
.timeline { display: flex; flex-direction: column; }
.tl-step { position: relative; display: flex; gap: 12px; padding-bottom: 14px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-dot { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cbd5e1; background: #fff; display: grid; place-items: center; }
.tl-step:not(:last-child) .tl-dot::after { content: ''; position: absolute; top: 22px; left: 8px; width: 2px; height: calc(100% + 14px - 22px); background: #e2e8f0; }
.tl-step.is-done .tl-dot { border-color: #16a34a; background: #16a34a; color: #fff; }
.tl-step.is-done .tl-dot .icon { width: 12px; height: 12px; }
.tl-step.is-done:not(:last-child) .tl-dot::after { background: #86efac; }
.tl-text strong { display: block; font-size: 0.875rem; }
.tl-text span { font-size: 0.75rem; color: var(--muted); }

.empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 40px 20px; text-align: center; }
.empty-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 4px; }
.empty-icon .icon { width: 24px; height: 24px; }
.empty-title { font-weight: 600; }
.empty-text { max-width: 420px; font-size: 0.875rem; color: var(--muted); }
.empty .btn { margin-top: 10px; }
.empty-error .empty-icon { background: var(--danger-soft); color: var(--danger); }
.skeleton-list { padding: 8px 20px; }
.skeleton-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.skeleton-row:last-child { border-bottom: 0; }
.skeleton-row span { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #eef2f7 25%, #f6f8fb 50%, #eef2f7 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.summary { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; font-size: 0.875rem; }
.summary dt { color: var(--muted); }
.summary dd { font-weight: 500; overflow-wrap: anywhere; }

.how { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .how { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.split-2 { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1040px) { .split-2 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }

.stack { display: flex; flex-direction: column; gap: 10px; }
.grow { flex: 1; }
.mt-12 { margin-top: 12px; }
.auth-card-solo { grid-column: 1 / -1; width: 100%; max-width: 480px; margin: 0 auto; }
.brand-link { display: inline-flex; }
.row-link { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.row-link:hover .row-title { color: var(--blue); }
@media (max-width: 600px) {
    .row-payout { flex-wrap: wrap; row-gap: 8px; }
    .row-payout .row-end { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; padding-left: 52px; }
}
.row-link:focus-visible { outline: 3px solid rgba(0, 86, 179, 0.25); outline-offset: 3px; border-radius: 6px; }

/* faixa "já pode sacar" no Início */
.cta-strip { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: linear-gradient(135deg, #f4fbe6, #ecfccb); border: 1px solid #d9efa8; color: #365314; text-decoration: none; font-size: 0.9375rem; }
.cta-strip .icon { color: #4d7c0f; }
.cta-strip:hover { box-shadow: var(--shadow); }
.cta-strip:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.cta-go { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-weight: 700; white-space: nowrap; }

button.cta-strip { width: 100%; border: 1px solid #d9efa8; font: inherit; text-align: left; cursor: pointer; }
.cta-warn { background: linear-gradient(135deg, #fff7e6, #fef3c7); border-color: #f6d58a; color: #7c2d12; }
.cta-warn .icon { color: var(--warning); }
button.cta-strip.cta-warn { border-color: #f6d58a; }

/* venda própria: escolha da modalidade */
.mode-options { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.mode-options legend { margin-bottom: 8px; padding: 0; }
.mode-option { position: relative; display: block; cursor: pointer; }
.mode-option input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.mode-body { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s; }
.mode-body > .icon { margin-top: 2px; color: var(--muted); }
.mode-body strong { display: block; font-size: 0.9375rem; }
.mode-body span span { display: block; font-size: 0.8125rem; color: var(--muted); line-height: 1.45; }
.mode-option input:checked + .mode-body { border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1); }
.mode-option input:checked + .mode-body > .icon { color: var(--blue); }
.mode-option input:focus-visible + .mode-body { outline: 3px solid rgba(0, 86, 179, 0.35); outline-offset: 2px; }

/* pagamento por PIX */
.pay-step { display: flex; flex-direction: column; gap: 14px; }
.pay-summary { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.pay-summary strong { font-size: 1rem; }
.pay-value { margin-top: 4px; font-size: 1.875rem; font-weight: 700; line-height: 1.1; color: var(--blue-dark); }
.pay-qr-wrap { align-self: center; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.pay-qr { display: block; width: 216px; height: 216px; image-rendering: pixelated; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; min-width: 0; font-size: 0.8125rem; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; }
.pay-status { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-dark); font-size: 0.875rem; font-weight: 600; }
.pay-status .spinner { color: var(--blue); }
.pay-done { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 4px 4px; text-align: center; }
.pay-done h3 { font-size: 1.25rem; }
.pay-done p { color: var(--ink-2); max-width: 36ch; }
.pay-done-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--lime), var(--lime-dark)); color: #1a2e05; box-shadow: 0 10px 24px rgba(124, 179, 5, 0.35); animation: pay-pop 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.pay-done-icon .icon { width: 32px; height: 32px; stroke-width: 3; }
@keyframes pay-pop { from { transform: scale(0.6); opacity: 0; } }

/* exame pago e não usado: devolução ou crédito */
.settle { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid #f6d58a; border-radius: 16px; background: #fffbeb; }
.settle-title { display: flex; align-items: center; gap: 8px; color: #7c2d12; }
.settle-title .icon { color: var(--warning); }
.settle-options { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 4px; }
.settle-option { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
.settle-option:hover { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.settle-option:focus-visible { outline: 3px solid rgba(0, 86, 179, 0.35); outline-offset: 2px; }
.settle-option > .icon { margin-top: 2px; color: var(--blue); }
.settle-option strong { display: block; font-size: 0.875rem; }
.settle-option span span { display: block; font-size: 0.75rem; color: var(--muted); }
@media (max-width: 480px) { .settle-options { grid-template-columns: minmax(0, 1fr); } }

.pill-prepaid { background: #ecfccb; color: #3f6212; }
.avatar-pay { background: #ecfccb; color: #3f6212; }
.row-attention { background: #fffbeb; }

/* situação do saque (Comissões) */
.payout-state { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.payout-state > div { flex: 1; min-width: 220px; }
.payout-state strong { display: block; font-size: 1.0625rem; }
.payout-state p { color: var(--muted); font-size: 0.875rem; margin-top: 2px; }
.payout-state p strong { display: inline; font-size: inherit; color: var(--ink); }
.payout-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.payout-icon .icon { width: 24px; height: 24px; }
.payout-state.is-ready .payout-icon { background: #ecfccb; color: #4d7c0f; }
.payout-state.is-open .payout-icon { background: var(--warning-soft); color: var(--warning); }

.mini-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); max-height: 220px; overflow-y: auto; }
.mini-list div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-top: 1px solid var(--line); font-size: 0.875rem; }
.mini-list div:first-child { border-top: 0; }

/* andamento do exame do aluno */
.exam-box { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 16px; background: #f8fbff; border: 1px solid var(--line); }
.exam-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* escolha do tipo de chave PIX */
.segmented { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 4px; border: 0; border-radius: 14px; background: #eef2f7; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; }
.segmented span { display: grid; place-items: center; min-height: 40px; padding: 4px 6px; border-radius: 10px; font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); text-align: center; cursor: pointer; }
.segmented input:checked + span { background: #fff; color: var(--blue); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12); }
.segmented input:focus-visible + span { outline: 3px solid rgba(0, 86, 179, 0.3); }
@media (max-width: 480px) { .segmented { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* appbar estreita: com a logo da autoescola, o nome some no celular */
@media (max-width: 600px) {
    .appbar-name.has-logo { display: none; }
    .appbar-brand .lab-logo { height: 28px; }
    .partner-logo { height: 32px; max-width: 96px; }
    .appbar-name { max-width: 40vw; }
}

/* botão do chat acima da barra de abas no celular/tablet */
@media (max-width: 899px) {
    .chat-launcher { bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* chat ocupando a seção Mensagens (modo expandido) */
.view-chat { max-width: 980px; height: calc(100vh - 64px - 40px - 96px); min-height: 420px; }
.view-chat .chat { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
@media (min-width: 900px) { .view-chat { height: calc(100vh - 64px - 76px); } }

/* ---------- diálogos e avisos (componentes do ui.js) ---------- */
.dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 22px; box-shadow: 0 30px 70px -20px rgba(15, 23, 42, 0.45); color: var(--ink); background: #fff; }
.dialog[open] { display: flex; flex-direction: column; }
.dialog::backdrop { background: rgba(15, 23, 42, 0.5); backdrop-filter: blur(2px); }
.dialog-sm { width: min(440px, calc(100vw - 24px)); }
.dialog-lg { width: min(760px, calc(100vw - 24px)); }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 22px 0; }
.dialog-title { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.dialog-description { margin-top: 2px; font-size: 0.8125rem; color: var(--muted); }
.dialog-body { display: flex; flex-direction: column; gap: 16px; padding: 18px 22px; overflow-y: auto; }
.dialog-footer { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding: 14px 22px 20px; border-top: 1px solid var(--line); }
.dialog-message { color: var(--ink-2); }
.footer-start { margin-right: auto; }
.dialog.is-busy { cursor: progress; }
@media (max-width: 600px) {
    .dialog { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
    .field-grid { grid-template-columns: minmax(0, 1fr); }
}

.toasts { position: fixed; z-index: 200; left: 50%; bottom: calc(142px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; width: min(420px, calc(100vw - 24px)); pointer-events: none; top: auto; right: auto; height: auto; margin: 0; padding: 0; border: 0; background: transparent; color: inherit; overflow: visible; }
/* acima do botão do chat, que fica no canto inferior direito */
@media (min-width: 900px) { .toasts { left: auto; right: 24px; bottom: 88px; transform: none; } }
.toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #0f172a; color: #e2e8f0; font-size: 0.875rem; box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35); animation: toast-in 0.2s var(--ease); }
.toast.is-leaving { opacity: 0; transform: translateY(6px); transition: opacity 0.18s, transform 0.18s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.toast-icon { margin-top: 1px; }
.toast-success .toast-icon { color: #a3e635; }
.toast-error .toast-icon { color: #f87171; }
.toast-warning .toast-icon { color: #fbbf24; }
.toast-info .toast-icon { color: #93c5fd; }
.toast-text { flex: 1; line-height: 1.45; }
.toast-action { flex: none; padding: 2px 6px; border: 0; background: transparent; color: #bfff00; font-weight: 600; cursor: pointer; }
.toast-close { flex: none; display: inline-flex; padding: 2px; border: 0; border-radius: 6px; background: transparent; color: #94a3b8; cursor: pointer; }
.toast-close .icon { width: 16px; height: 16px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- quem está usando o painel ---------- */
.appbar-who { display: flex; flex-direction: column; align-items: flex-end; min-width: 0; line-height: 1.2; }
.appbar-role { font-size: 0.75rem; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.pill-info { background: var(--blue-soft); color: var(--blue); }
.pill-info::before { display: none; }
.small-text { font-size: 0.8125rem; }
.center { text-align: center; }

/* ---------- sininho ---------- */
.bell { position: relative; }
.bell .icon { width: 22px; height: 22px; }
.bell.has-pending { color: var(--ink-2); }
.bell[aria-expanded="true"] { background: var(--blue-soft); color: var(--blue); }
.bell-badge { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 0.6875rem; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.notif-panel { position: absolute; top: calc(100% + 6px); right: 12px; z-index: 60; display: flex; flex-direction: column; width: min(420px, calc(100vw - 24px)); max-height: min(72vh, 620px); border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.28), 0 2px 6px rgba(15, 23, 42, 0.06); overflow: hidden; }
.notif-panel[hidden] { display: none; }
.notif-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 12px 10px 18px; border-bottom: 1px solid var(--line); }
.notif-head h2 { font-size: 1rem; }
.notif-body { overflow-y: auto; overscroll-behavior: contain; padding: 4px 0 10px; }
.notif-body section + section { border-top: 1px solid var(--line); margin-top: 4px; }
.notif-body h3 { display: flex; align-items: center; gap: 8px; padding: 12px 18px 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.notif-count { min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--warning-soft); color: var(--warning); font-size: 0.6875rem; text-align: center; }
.notif-list { list-style: none; margin: 0; padding: 0 8px; }
.notif-item { position: relative; display: flex; gap: 12px; width: 100%; padding: 10px 28px 10px 10px; border: 0; border-radius: 12px; background: transparent; font: inherit; text-align: left; color: inherit; cursor: pointer; }
.notif-item:hover { background: #f4f7fb; }
.notif-item:focus-visible { outline: 3px solid rgba(0, 86, 179, 0.3); outline-offset: -2px; }
.notif-icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }
.notif-icon .icon { width: 18px; height: 18px; }
.notif-warning .notif-icon { background: var(--warning-soft); color: var(--warning); }
.notif-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.notif-text strong { font-size: 0.875rem; line-height: 1.35; }
.notif-text span { font-size: 0.8125rem; line-height: 1.4; color: var(--muted); }
.notif-text time { font-size: 0.75rem; color: #94a3b8; }
.notif-dot { position: absolute; top: 16px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.notif-item.is-unread { background: #f7fbff; }
.notif-empty { display: flex; align-items: center; gap: 8px; padding: 6px 18px 10px; font-size: 0.875rem; color: var(--muted); }
.notif-empty .icon { width: 18px; height: 18px; color: var(--success); }
@media (max-width: 600px) {
    .notif-panel { position: fixed; top: 64px; right: 8px; left: 8px; width: auto; max-height: calc(100dvh - 64px - 96px - env(safe-area-inset-bottom)); }
    .appbar-role { max-width: 34vw; }
}
@media (prefers-reduced-motion: no-preference) {
    .notif-panel:not([hidden]) { animation: notif-in 0.18s ease-out; }
    @keyframes notif-in { from { opacity: 0; transform: translateY(-6px); } }
}

/* ---------- equipe ---------- */
.profile-options { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; border: 0; }
.profile-options legend, .perm-list legend, .scope-options legend { margin-bottom: 8px; padding: 0; }
.perm-list, .scope-options { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.perm-list .check small { display: block; margin-top: 2px; font-size: 0.75rem; color: var(--muted); }
.perm-list .check span { display: block; }
.team-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.perm-summary { list-style: none; margin: 6px 0 4px; padding: 0; display: grid; gap: 4px; font-size: 0.875rem; color: var(--ink-2); }
.perm-summary li { display: flex; align-items: center; gap: 8px; }
.perm-summary .icon { color: var(--success); }
.pay-status-warn { background: var(--warning-soft); color: var(--warning); }
@media (max-width: 600px) { .profile-options { grid-template-columns: minmax(0, 1fr); } }

/* ---------- termo atualizado ---------- */
.cta-danger { background: var(--danger-soft); border-color: #f3b4b4; color: #7f1d1d; }
.cta-danger .icon { color: var(--danger); }
.notif-danger .notif-icon { background: var(--danger-soft); color: var(--danger); }
.terms-changes { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fafcff; }
.terms-changes ul { list-style: disc; margin: 6px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 0.875rem; color: var(--ink-2); }

/* ---------- ajuda ---------- */
.help-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.help-card { display: flex; flex-direction: column; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); font: inherit; text-align: left; color: inherit; cursor: pointer; overflow: hidden; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.help-card:hover { transform: translateY(-2px); border-color: #b9d3f2; box-shadow: 0 14px 30px -14px rgba(0, 61, 128, 0.35); }
.help-card:focus-visible { outline: 3px solid rgba(0, 86, 179, 0.35); outline-offset: 2px; }
.help-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #0b1a33, #10284d); color: #fff; }
.help-thumb img { width: 100%; height: 100%; object-fit: cover; }
.help-thumb.is-soon { background: linear-gradient(135deg, var(--blue-soft), #f3f8ff); color: var(--blue); }
.help-thumb-icon .icon { width: 40px; height: 40px; }
.help-play { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lime); color: #0b1a33; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5); }
.help-play .icon { width: 22px; height: 22px; margin-left: 3px; fill: currentColor; }
.help-time, .help-soon { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(11, 26, 51, 0.8); color: #fff; font-size: 0.75rem; font-weight: 600; }
.help-soon { background: rgba(0, 86, 179, 0.12); color: var(--blue); }
.help-text { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.help-text strong { font-size: 0.9375rem; line-height: 1.35; }
.help-text span { font-size: 0.8125rem; line-height: 1.45; color: var(--muted); }
.help-contact .card-body { display: flex; gap: 14px; align-items: flex-start; }
.help-contact-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
.help-video { margin: -4px 0 14px; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.help-video video { display: block; width: 100%; height: 100%; }
.help-steps ol { list-style: decimal; margin: 6px 0 0; padding-left: 22px; display: grid; gap: 8px; color: var(--ink-2); font-size: 0.9375rem; }
@media (max-width: 899px) { .tab-link { font-size: 0.625rem; } }

