/* Cores da marca Balato Promos (as mesmas da página de links). */
:root {
  color-scheme: dark;
  --bg: #101114;
  --bg-deep: #0c0d10;
  --surface: #171a1f;
  --surface-2: #1e232a;
  --surface-3: #272d36;
  --border: #2a3039;
  --border-strong: #3a424e;
  --text: #f5f6f8;
  --muted: #a3acb9;
  --faint: #7f8895;
  --accent: #a7d9ff;
  --accent-strong: #c4e6ff;
  --accent-ink: #132332;
  --green: #8fe3b0;
  --green-bg: #15291f;
  --yellow: #ffd98c;
  --yellow-bg: #2d2615;
  --red: #ffa3a3;
  --red-bg: #331b1d;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px #00000080;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --nav-height: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100svh; background: var(--bg); color: var(--text); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl { margin: 0; }
h1 { font-size: 28px; font-weight: 750; line-height: 1.15; letter-spacing: -0.7px; }
h2 { font-size: 18px; font-weight: 700; letter-spacing: -0.3px; }
a { color: var(--accent); }
button, input, select { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

.icon { width: 20px; height: 20px; flex: none; }
.muted { color: var(--muted); }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; }
.note { color: var(--faint); font-size: 13px; }
.empty { color: var(--muted); }
.stack { display: grid; gap: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.noscript { padding: 24px; text-align: center; }

/* Estrutura */
.layout { min-height: 100svh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.topbar { display: none; }
.sidebar { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; gap: 28px; padding: 26px 16px; border-right: 1px solid var(--border); background: var(--bg-deep); }
.main-column { min-width: 0; }
.content { width: 100%; max-width: 920px; padding: 44px 44px 64px; display: grid; gap: 20px; align-content: start; }

/* Faixa de avisos */
.alerts { display: grid; gap: 8px; max-width: 920px; padding: 24px 44px 0; }
.alerts:empty { display: none; }
.alerts:not(:empty) + .content { padding-top: 24px; }
.alert { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface-2); font-size: 14px; }
.alert strong { flex: none; padding: 2px 8px; border-radius: 6px; background: #ffffff14; font-size: 12px; text-transform: uppercase; letter-spacing: 0.4px; }
.alert span { flex: 1; min-width: 0; }
.alert a { flex: none; color: inherit; font-weight: 700; }
.alert.erro { border-color: #6b3438; background: var(--red-bg); }
.alert.erro strong, .alert.erro a { color: var(--red); }
.alert.aviso { border-color: #5c4a20; background: var(--yellow-bg); }
.alert.aviso strong, .alert.aviso a { color: var(--yellow); }
.content.loading { opacity: 0.5; }

.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px; }
.brand strong { display: block; font-size: 16px; line-height: 1.2; }
.brand small { color: var(--muted); font-size: 12px; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--accent); color: var(--accent-ink); }
.brand-mark .icon { width: 23px; height: 23px; }

.nav { display: grid; gap: 4px; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--radius-sm); color: var(--muted); font-weight: 600; text-decoration: none; transition: background 0.15s, color 0.15s; }
.nav-item:hover { background: var(--surface); color: var(--text); }
.nav-item[aria-current="page"] { background: var(--surface-2); color: var(--text); }
.nav-item[aria-current="page"] .icon { color: var(--accent); }

.sidebar-user { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; }
.sidebar-user:hover { background: var(--surface); }
.sidebar-user strong { display: block; font-size: 14px; line-height: 1.3; }
.sidebar-user small { color: var(--muted); font-size: 12px; }

.avatar { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border: 1px solid var(--border-strong); border-radius: 50%; background: var(--surface-3); color: var(--accent); font-size: 13px; font-weight: 700; }

/* Páginas e cartões */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 4px; }
.page-head .eyebrow { margin-bottom: 6px; }
.card { display: grid; gap: 16px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.card.flush { padding: 0; }
.card-title { font-size: 15px; }

/* Botões */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text); font-weight: 650; text-decoration: none; cursor: pointer; transition: background 0.15s, border-color 0.15s, opacity 0.15s; }
.button.primary { background: var(--accent); color: var(--accent-ink); }
.button.primary:hover { background: var(--accent-strong); }
.button.ghost { border-color: var(--border-strong); background: transparent; }
.button.ghost:hover { background: var(--surface-2); }
.button.danger { background: var(--red); color: #2b1113; }
.button.small { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.button.wide { width: 100%; }
.button:disabled { opacity: 0.6; cursor: default; }
.button.busy::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
.danger-text { color: var(--red) !important; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Formulários */
.field { display: grid; gap: 6px; }
.field > span:first-child { color: var(--muted); font-size: 13px; font-weight: 600; }
.field input, .field select { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--bg); font-size: 16px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px #a7d9ff33; }
.hint { color: var(--faint); font-size: 12px; }
.input-with-action { position: relative; display: block; }
.input-with-action input { padding-right: 52px; }
.input-action { position: absolute; top: 50%; right: 6px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; transform: translateY(-50%); }
.input-action:hover { background: var(--surface-2); color: var(--text); }
.check { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.form-error { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--red-bg); color: var(--red); font-size: 14px; }

/* Etiquetas */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--surface-3); color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.tag.green { background: var(--green-bg); color: var(--green); }
.tag.yellow { background: var(--yellow-bg); color: var(--yellow); }
.tag.red { background: var(--red-bg); color: var(--red); }

/* Cartão do robô */
.robot { gap: 22px; }
.robot-head { display: flex; align-items: flex-start; gap: 16px; }
.robot-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.robot h2 { font-size: 30px; letter-spacing: -0.8px; }
.robot .button { justify-self: start; }
.status-dot { position: relative; flex: none; width: 14px; height: 14px; margin-top: 32px; border-radius: 50%; background: var(--yellow); }
.robot.is-running .status-dot { background: var(--green); }
.robot.is-running .status-dot::after { content: ""; position: absolute; inset: -5px; border: 2px solid var(--green); border-radius: 50%; opacity: 0; animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { opacity: 0.8; transform: scale(0.6); } to { opacity: 0; transform: scale(1.4); } }

/* Atividade */
.activity { display: grid; margin: 0; padding: 0; list-style: none; }
.activity li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 11px 0; border-top: 1px solid var(--border); }
.activity li:first-child { padding-top: 0; border-top: 0; }
.activity .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.activity li.level-aviso .dot { background: var(--yellow); }
.activity li.level-erro .dot { background: var(--red); }
.activity p { font-size: 14px; }
.activity time { color: var(--faint); font-size: 12px; white-space: nowrap; }

/* Equipe */
.member-list { margin: 0; padding: 0; list-style: none; }
.member { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-top: 1px solid var(--border); }
.member:first-child { border-top: 0; }
.member.is-disabled > :not(.menu) { opacity: 0.55; }
.member-info { flex: 1; min-width: 0; display: grid; gap: 1px; }
.member-info > .muted { font-size: 13px; }

.menu { position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-list { position: absolute; top: calc(100% + 6px); right: 0; z-index: 10; display: grid; min-width: 240px; padding: 6px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface-2); box-shadow: var(--shadow); }
.menu-list button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 7px; background: transparent; font-size: 14px; text-align: left; cursor: pointer; }
.menu-list button:hover { background: var(--surface-3); }
.menu-list .icon { width: 17px; height: 17px; color: var(--muted); }
.menu-list .danger-text .icon { color: var(--red); }

/* Números do dia */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { display: grid; gap: 2px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color 0.15s; }
.stat:hover { border-color: var(--border-strong); }
.stat strong { font-size: 26px; font-weight: 750; letter-spacing: -0.6px; line-height: 1.15; }
.stat strong small { color: var(--faint); font-size: 15px; font-weight: 600; }
.stat span { color: var(--muted); font-size: 13px; }
.stat.attention strong { color: var(--yellow); }
.stat.danger strong { color: var(--red); }

.checklist { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 14px; }
.checklist .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--faint); }
.checklist li.ok .icon { color: var(--green); }
.checklist li.warn { color: var(--yellow); }
.checklist li.warn .icon { color: var(--yellow); }
.checklist.compact { gap: 6px; }
.mode-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.mode-head .muted { margin-top: 4px; font-size: 14px; }

/* Abas */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; flex: none; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.tab:hover { border-color: var(--border-strong); color: var(--text); }
.tab[aria-current="true"] { border-color: var(--accent); background: #a7d9ff14; color: var(--text); }
.tab .count { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--surface-3); font-size: 12px; text-align: center; }

/* Ofertas */
.offer-list { display: grid; gap: 12px; }
.offer { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.offer-photo { display: grid; place-items: center; width: 112px; height: 112px; overflow: hidden; border-radius: var(--radius-sm); background: var(--bg); color: var(--faint); }
.offer-photo img { width: 100%; height: 100%; object-fit: cover; }
.offer-photo .icon { width: 28px; height: 28px; }
.offer-body { display: grid; gap: 10px; align-content: start; min-width: 0; }
.offer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--faint); font-size: 12px; }
.offer-meta > span:first-child { color: var(--muted); font-weight: 650; }
.offer-text { display: -webkit-box; overflow: hidden; font-size: 14px; white-space: pre-line; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 6; }
.offer-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.offer-actions .icon { width: 16px; height: 16px; }
.link-chip { display: inline-block; padding: 0 8px; border-radius: 6px; background: #a7d9ff22; color: var(--accent); font-size: 12px; font-weight: 700; }
.empty-state { color: var(--muted); text-align: center; padding: 36px 22px; }
.small { font-size: 13px; }
.notice { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--yellow-bg); color: var(--yellow); font-size: 14px; }

/* Revisar uma por uma */
.review-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-color: #a7d9ff55; background: linear-gradient(135deg, #1b2733, var(--surface)); }
.review-cta .card-title { font-size: 16px; }
.dialog.review { width: min(calc(100% - 24px), 800px); max-height: calc(100svh - 24px); }
.review-form { display: grid; gap: 16px; padding: 22px 24px 24px; }
.review-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.review-head .eyebrow { margin-bottom: 2px; }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.icon-button:hover { background: var(--surface-2); color: var(--text); }
.review-progress { width: 100%; height: 4px; border: 0; border-radius: 999px; background: var(--surface-3); overflow: hidden; appearance: none; }
.review-progress::-webkit-progress-bar { background: var(--surface-3); }
.review-progress::-webkit-progress-value { background: var(--accent); border-radius: 999px; }
.review-progress::-moz-progress-bar { background: var(--accent); }
.review-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: start; }
.review-photo { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); background: var(--bg); color: var(--faint); }
.review-photo img { width: 100%; height: 100%; object-fit: contain; }
.review-photo .icon { width: 36px; height: 36px; }
.review-steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.review-steps .step-title { color: var(--text); font-size: 14px; font-weight: 700; }
.review-steps li > .step-title { display: block; margin-bottom: 8px; }
.review-steps .actions { gap: 8px; }
.review-steps .actions .icon { width: 16px; height: 16px; }
.review-steps textarea { min-height: 150px; }
.review-actions { justify-content: space-between; }
.review-actions [type="submit"] { margin-left: auto; }

/* Piloto automático */
.autopilot.is-on { border-color: #8fe3b066; }
.divider { padding-top: 18px; border-top: 1px solid var(--border); }
.tag.hot { background: #3a2216; color: #ffb37a; }
.tag.accent { background: #a7d9ff1f; color: var(--accent); }
.robot-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }

/* IA */
.step-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.step-head > span { color: var(--muted); font-size: 13px; font-weight: 600; }
.step-head > .step-title { color: var(--text); font-size: 14px; font-weight: 700; }
.ai-button { border-color: #a7d9ff66; color: var(--accent); }
.ai-button .icon { width: 16px; height: 16px; }
.ai-note { padding: 8px 12px; border-radius: var(--radius-sm); background: #a7d9ff14; color: var(--accent); font-size: 13px; }
.ai-note[data-tone="erro"] { background: var(--red-bg); color: var(--red); }
.text-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.usage-bar { width: 100%; height: 8px; border: 0; border-radius: 999px; background: var(--surface-3); overflow: hidden; appearance: none; }
.usage-bar::-webkit-progress-bar { background: var(--surface-3); }
.usage-bar::-webkit-progress-value { background: var(--accent); border-radius: 999px; }
.usage-bar::-moz-progress-bar { background: var(--accent); }
.field select { color-scheme: dark; }

/* Origens */
.source-list { margin: 0; padding: 0; list-style: none; }
.source { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; border-top: 1px solid var(--border); }
.source:first-child { border-top: 0; }
.source.is-paused .source-info { opacity: 0.6; }
.source-info { flex: 1; min-width: 0; display: grid; gap: 2px; }
.source-info > .muted { font-size: 13px; overflow-wrap: anywhere; }
.source-info .form-error { margin-top: 8px; }
.source-actions { display: flex; flex: none; gap: 6px; }
.source-actions .icon { width: 16px; height: 16px; }

/* Ajustes */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.input-suffix { position: relative; display: block; }
.input-suffix input { padding-right: 64px; }
.input-suffix > span { position: absolute; top: 50%; right: 14px; color: var(--faint); font-size: 14px; transform: translateY(-50%); pointer-events: none; }
.field textarea { width: 100%; min-height: 160px; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--bg); font: 15px/1.5 var(--font); color: inherit; resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px #a7d9ff33; }
.field input[type="time"] { color-scheme: dark; }

/* Conta */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { margin: 2px 0 0; font-weight: 650; }

/* Entrada */
.auth { min-height: 100svh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(circle at 50% -10%, #1c2c3b 0%, var(--bg) 60%); }
.auth-card { width: min(100%, 410px); display: grid; gap: 18px; padding: 30px 26px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.auth-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.auth-brand .brand-mark { width: 50px; height: 50px; border-radius: 15px; }
.auth-brand .brand-mark .icon { width: 27px; height: 27px; }
.auth-brand h1 { font-size: 23px; letter-spacing: -0.5px; }
.auth-brand p { color: var(--muted); font-size: 14px; }
.auth-card .note { text-align: center; }

.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.partner { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s; }
.partner:hover { border-color: var(--border-strong); color: var(--text); }
.partner[aria-pressed="true"] { border-color: var(--accent); background: #a7d9ff14; color: var(--text); }

/* Janelas */
.dialog { width: min(calc(100% - 32px), 460px); padding: 0; border: 1px solid var(--border-strong); border-radius: 18px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.dialog::backdrop { background: #050608b3; }
.dialog form { display: grid; gap: 16px; padding: 24px; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.secret { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px dashed var(--accent); border-radius: var(--radius-sm); background: var(--bg); }
.secret code { flex: 1; color: var(--accent); font: 650 21px/1.3 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 1px; word-break: break-all; }

/* Aviso rápido */
.toast { position: fixed; bottom: 28px; left: 50%; z-index: 50; max-width: calc(100% - 32px); padding: 12px 18px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface-3); box-shadow: var(--shadow); font-size: 14px; opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: opacity 0.15s, transform 0.15s; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.toast[data-tone="erro"] { border-color: #6b3438; background: var(--red-bg); color: var(--red); }

/* Celular */
@media (max-width: 860px) {
  .layout { display: block; padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom)); }
  .topbar { position: sticky; top: 0; z-index: 20; display: flex; padding: 12px 16px; border-bottom: 1px solid var(--border); background: #101114f0; }
  .topbar .brand { padding: 0; }
  .topbar .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .topbar .brand-mark .icon { width: 20px; height: 20px; }
  .sidebar { position: fixed; top: auto; right: 0; bottom: 0; left: 0; z-index: 20; height: auto; flex-direction: row; padding: 0 0 env(safe-area-inset-bottom); border-top: 1px solid var(--border); border-right: 0; background: #0c0d10f5; }
  .sidebar > .brand, .sidebar-user { display: none; }
  .nav { flex: 1; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 0; }
  .nav-item { flex-direction: column; justify-content: center; gap: 3px; height: var(--nav-height); padding: 6px; border-radius: 0; font-size: 11px; }
  .nav-item:hover, .nav-item[aria-current="page"] { background: transparent; }
  .nav-item[aria-current="page"] { color: var(--accent); }
  .content { padding: 22px 16px 32px; gap: 16px; }
  .alerts { padding: 16px 16px 0; }
  .alerts:not(:empty) + .content { padding-top: 16px; }
  .alert { align-items: flex-start; flex-wrap: wrap; }
  h1 { font-size: 25px; }
  .card { padding: 18px; }
  .member { padding: 14px 16px; }
  .robot .button { justify-self: stretch; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 14px 16px; }
  .offer { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .offer-photo { width: 76px; height: 76px; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .review-cta { flex-direction: column; align-items: stretch; }
  .review-form { padding: 16px; }
  .review-body { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .review-photo { max-height: 200px; aspect-ratio: auto; height: 200px; }
  .review-actions [type="submit"] { width: 100%; order: -1; }
  .source { flex-direction: column; padding: 14px 16px; }
  .page-head .button { padding: 10px 14px; }
  .nav-item { font-size: 10px; padding: 6px 2px; }
  .toast { bottom: calc(var(--nav-height) + 16px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
