:root {
  /* Base visual reutilizável */
  --ink: #2f292c;
  --muted: #766d71;
  --muted-soft: #9a9195;
  --line: #ebe3e6;
  --line-strong: #dfd2d7;
  --paper: #fffefd;
  --canvas: #f8f6f5;
  --surface-soft: #f4f0f1;
  --brand: #b95476;
  --brand-hover: #a64565;
  --brand-dark: #84354f;
  --brand-soft: #f8e8ee;
  --brand-softer: #fcf4f7;
  --success: #47735f;
  --success-soft: #edf5f1;
  --warning: #8a6833;
  --warning-soft: #faf3e7;
  --danger: #a54752;
  --danger-soft: #faecee;
  --radius-small: 10px;
  --radius-medium: 16px;
  --radius-large: 22px;
  --shadow: 0 8px 26px rgba(79, 55, 64, 0.055);
  --shadow-raised: 0 14px 36px rgba(79, 55, 64, 0.075);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--canvas); }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { border: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(185, 84, 118, 0.2);
  outline-offset: 2px;
}
.app-frame { min-height: 100svh; }
.sidebar { display: none; }
.mobile-header { align-items: center; display: flex; justify-content: space-between; padding: 18px 20px 10px; }
.brand { align-items: center; display: flex; gap: 11px; }
.brand-mark {
  align-items: center; background: var(--brand); border-radius: 13px; color: white; display: flex;
  font-size: 17px; font-weight: 750; height: 40px; justify-content: center; letter-spacing: -0.03em; width: 40px;
}
.brand-copy strong, .brand-copy span { display: block; }
.brand-copy strong { font-size: 16px; font-weight: 700; letter-spacing: -0.025em; }
.brand-copy span { color: var(--muted); font-size: 11px; margin-top: 2px; }
.local-pill { background: var(--brand-soft); border: 1px solid #f0d7e0; border-radius: 999px; color: var(--brand-dark); font-size: 10px; font-weight: 750; letter-spacing: 0.05em; padding: 7px 10px; text-transform: uppercase; }
.main-content { margin: 0 auto; max-width: 1180px; padding: 26px 20px 112px; }
.eyebrow { color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; margin: 0 0 10px; text-transform: uppercase; }
.page-title { font-size: clamp(34px, 8vw, 54px); font-weight: 650; letter-spacing: -0.055em; line-height: 1.02; margin: 0; max-width: 760px; }
.page-subtitle { color: var(--muted); font-size: 16px; line-height: 1.55; margin: 18px 0 0; max-width: 600px; }
.status-strip { align-items: flex-start; background: var(--brand-softer); border: 1px solid #efdce3; border-radius: var(--radius-medium); display: flex; gap: 12px; margin-top: 28px; padding: 16px; }
.status-dot { background: var(--brand); border: 4px solid white; border-radius: 50%; box-shadow: 0 0 0 1px #e9c8d4; flex: 0 0 auto; height: 16px; margin-top: 2px; width: 16px; }
.status-strip strong, .status-strip span { display: block; }
.status-strip strong { font-size: 14px; }
.status-strip span { color: #765d66; font-size: 13px; line-height: 1.45; margin-top: 3px; }
.overview-grid { display: grid; gap: 14px; margin-top: 18px; }
.summary-card, .empty-card, .future-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-large); box-shadow: var(--shadow); }
.summary-card { min-height: 145px; padding: 20px; }
.summary-card-top { align-items: center; display: flex; justify-content: space-between; }
.summary-card-label { color: var(--muted); font-size: 13px; font-weight: 650; }
.summary-card-badge { background: var(--brand-soft); border-radius: 999px; color: var(--brand-dark); font-size: 9px; font-weight: 800; letter-spacing: 0.03em; padding: 6px 8px; text-transform: uppercase; }
.summary-number { font-size: 44px; font-weight: 600; letter-spacing: -0.06em; margin-top: 20px; }
.summary-number.summary-word { font-size: 25px; letter-spacing: -0.035em; line-height: 1.1; margin-top: 29px; }
.summary-card-badge.status-ok { background: var(--success-soft); color: var(--success); }
.summary-note { color: var(--muted); font-size: 12px; margin-top: 3px; }
.dashboard-grid { display: grid; gap: 14px; }
.dashboard-action { margin-top: 18px; }
.dashboard-status-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-large); box-shadow: var(--shadow); display: grid; gap: 0; margin-top: 18px; overflow: hidden; }
.dashboard-status-card > div { padding: 20px; }
.dashboard-status-card > div + div { border-top: 1px solid var(--line); }
.dashboard-status-card strong, .dashboard-status-card small, .dashboard-label { display: block; }
.dashboard-label { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.dashboard-status-card strong { font-size: 15px; margin-top: 7px; overflow-wrap: anywhere; }
.dashboard-status-card small { color: var(--muted); font-size: 11px; line-height: 1.45; margin-top: 4px; }
.empty-card { margin-top: 18px; overflow: hidden; padding: 26px 22px; position: relative; }
.empty-card::after { background: var(--brand-soft); border-radius: 50%; content: ""; height: 160px; opacity: 0.72; position: absolute; right: -80px; top: -72px; width: 160px; }
.empty-step { color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.empty-card h2, .future-card h2 { font-size: 25px; font-weight: 650; letter-spacing: -0.035em; margin: 12px 0 8px; }
.empty-card p, .future-card p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0; max-width: 520px; }
.coming-button { background: var(--brand-soft); border: 1px solid #efd7df; border-radius: 13px; color: #9b6678; cursor: not-allowed; font-size: 14px; font-weight: 700; margin-top: 20px; min-height: 48px; padding: 0 18px; }
.future-card { margin-top: 30px; padding: 28px 22px; }
.future-tag { background: var(--brand-soft); border-radius: 999px; color: var(--brand-dark); display: inline-flex; font-size: 11px; font-weight: 800; padding: 7px 10px; text-transform: uppercase; }
.future-list { border-top: 1px solid var(--line); display: grid; gap: 0; margin-top: 24px; }
.future-list div { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 12px; min-height: 54px; }
.future-list span { align-items: center; background: var(--brand-soft); border-radius: 50%; color: var(--brand-dark); display: flex; flex: 0 0 auto; font-size: 12px; font-weight: 750; height: 28px; justify-content: center; width: 28px; }
.future-list strong { font-size: 14px; }
.nav-list { display: grid; gap: 7px; list-style: none; margin: 0; padding: 0; }
.nav-link { align-items: center; border-radius: 13px; color: var(--muted); display: flex; font-size: 14px; font-weight: 600; gap: 11px; min-height: 46px; padding: 0 13px; position: relative; }
.nav-link:hover { background: var(--brand-softer); color: var(--brand-dark); }
.nav-link.active { background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; }
.nav-link.active::before { background: var(--brand); border-radius: 99px; content: ""; height: 22px; left: 0; position: absolute; width: 3px; }
.nav-initial { align-items: center; background: transparent; border: 1px solid currentColor; border-radius: 8px; display: flex; font-size: 8px; font-weight: 800; height: 25px; justify-content: center; letter-spacing: 0.02em; opacity: 0.7; width: 25px; }
.nav-link.active .nav-initial { background: var(--brand); border-color: var(--brand); color: white; opacity: 1; }
.sidebar-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.5; margin-top: auto; padding-top: 16px; }
.bottom-nav { -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); background: rgba(255, 254, 253, 0.92); border-top: 1px solid var(--line); bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); left: 0; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); position: fixed; right: 0; z-index: 20; }
.bottom-link { align-items: center; border-radius: 12px; color: var(--muted); display: flex; flex-direction: column; font-size: 10px; font-weight: 650; gap: 5px; justify-content: center; min-height: 52px; }
.bottom-link .nav-initial { height: 23px; width: 23px; }
.bottom-link.active { color: var(--brand-dark); font-weight: 750; }
.bottom-link.active .nav-initial { background: var(--brand); border-color: var(--brand); color: white; opacity: 1; }

/* Componentes que as próximas fases herdarão */
.button { align-items: center; border-radius: 13px; cursor: pointer; display: inline-flex; font-weight: 700; justify-content: center; min-height: 48px; padding: 0 18px; }
.button-primary { background: var(--brand); color: white; }
.button-primary:hover { background: var(--brand-hover); }
.button-secondary { background: var(--paper); border: 1px solid var(--line-strong); color: var(--ink); }
.field { background: var(--paper); border: 1px solid var(--line-strong); border-radius: 13px; color: var(--ink); min-height: 48px; padding: 0 14px; width: 100%; }
.field::placeholder { color: var(--muted-soft); }
.field:focus { border-color: var(--brand); outline: 3px solid rgba(185, 84, 118, 0.12); }
.badge { border-radius: 999px; display: inline-flex; font-size: 11px; font-weight: 750; padding: 6px 10px; }
.badge-active { background: var(--success-soft); color: var(--success); }
.badge-paused { background: var(--warning-soft); color: var(--warning); }
.badge-archived { background: var(--surface-soft); color: var(--muted); }
.home-action { margin-top: 20px; position: relative; z-index: 1; }
.account-footer span, .account-footer strong { display: block; }
.account-footer span { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.account-footer strong { font-size: 12px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-footer button, .mobile-account button { background: transparent; color: var(--brand-dark); cursor: pointer; font-size: 11px; font-weight: 750; margin-top: 7px; min-height: 36px; padding: 0; }
.mobile-account { align-items: flex-end; display: flex; flex-direction: column; min-width: 0; }
.mobile-account span { color: var(--muted); font-size: 9px; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mobile-account button { margin: 0; min-height: 30px; }

.login-page { background: var(--canvas); min-height: 100dvh; }
.login-shell { align-items: center; display: flex; justify-content: center; min-height: 100dvh; padding: max(20px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); width: 100%; }
.login-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); max-width: 430px; padding: 26px 22px 22px; width: 100%; }
.login-brand strong, .login-brand span { display: block; }
.login-brand strong { color: var(--ink); font-size: 17px; letter-spacing: -0.02em; }
.login-brand span { color: var(--muted); font-size: 10px; margin-top: 3px; }
.login-heading { margin-top: 34px; }
.login-heading h1 { font-size: clamp(26px, 8vw, 34px); letter-spacing: -0.045em; line-height: 1.08; margin: 7px 0 9px; }
.login-heading > p:last-child { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 0; }
.login-form { margin-top: 25px; }
.login-form label { display: block; font-size: 11px; font-weight: 750; margin: 15px 0 7px; }
.login-form .field { font-size: 16px; min-height: 50px; width: 100%; }
.login-message { background: var(--danger-soft); border-radius: 10px; color: var(--danger); font-size: 11px; font-weight: 650; line-height: 1.4; margin-top: 14px; }
.login-message:not(:empty) { padding: 10px 12px; }
.login-button { margin-top: 17px; min-height: 50px; width: 100%; }
.login-footnote { color: var(--muted); font-size: 9px; line-height: 1.5; margin: 18px 0 0; text-align: center; }

@media (max-width: 340px) {
  .login-shell { padding-left: 12px; padding-right: 12px; }
  .login-card { border-radius: 20px; padding: 22px 17px 18px; }
  .login-heading { margin-top: 28px; }
}
.dashboard-alerts { display: grid; gap: 8px; margin-top: 14px; }
.dashboard-alerts[hidden] { display: none; }
.dashboard-alerts a { align-items: center; background: var(--warning-soft); border: 1px solid color-mix(in srgb, var(--warning) 18%, transparent); border-radius: 13px; color: var(--ink); display: flex; gap: 11px; min-height: 54px; padding: 10px 13px; text-decoration: none; }
.dashboard-alerts a > span { align-items: center; border: 1px solid currentColor; border-radius: 50%; color: var(--warning); display: flex; flex: 0 0 auto; font-size: 10px; font-weight: 900; height: 24px; justify-content: center; width: 24px; }
.dashboard-alerts strong, .dashboard-alerts small { display: block; }
.dashboard-alerts strong { font-size: 11px; }
.dashboard-alerts small { color: var(--muted); font-size: 9px; margin-top: 2px; }
.page-heading-row { align-items: flex-start; display: flex; flex-direction: column; gap: 22px; }
.new-category-button { width: 100%; }
.category-form-card, .category-panel, .archived-panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-large); box-shadow: var(--shadow); margin-top: 22px;
}
.category-form-card { padding: 22px; scroll-margin-top: 18px; }
.category-form-card[hidden], .toast[hidden] { display: none; }
.form-heading { align-items: flex-start; display: flex; justify-content: space-between; margin-bottom: 22px; }
.form-heading h2 { font-size: 22px; letter-spacing: -0.03em; margin: 3px 0 0; }
.form-kicker { color: var(--brand); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.icon-close { align-items: center; background: var(--surface-soft); border-radius: 50%; color: var(--muted); cursor: pointer; display: flex; font-size: 22px; height: 38px; justify-content: center; line-height: 1; width: 38px; }
.field-label, .priority-fieldset legend { color: var(--ink); display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.priority-fieldset { border: 0; margin: 20px 0 0; padding: 0; }
.priority-fieldset p { color: var(--muted); font-size: 12px; line-height: 1.45; margin: 8px 2px 0; }
.segmented-control { background: var(--surface-soft); border-radius: 13px; display: grid; gap: 4px; grid-template-columns: repeat(3, 1fr); padding: 4px; }
.segmented-control label { cursor: pointer; position: relative; }
.segmented-control input { opacity: 0; position: absolute; }
.segmented-control span { align-items: center; border-radius: 10px; color: var(--muted); display: flex; font-size: 13px; font-weight: 650; justify-content: center; min-height: 42px; }
.segmented-control input:checked + span { background: var(--paper); box-shadow: 0 2px 8px rgba(79, 55, 64, 0.08); color: var(--brand-dark); }
.segmented-control input:focus-visible + span { outline: 3px solid rgba(185, 84, 118, 0.2); }
.form-actions { display: grid; gap: 10px; grid-template-columns: 1fr 1.35fr; margin-top: 22px; }
.form-message { color: var(--danger); font-size: 13px; font-weight: 600; min-height: 18px; padding-top: 10px; }
.category-status-action { background: transparent; color: var(--danger); cursor: pointer; font-size: 13px; font-weight: 700; margin-top: 16px; padding: 8px 0; text-align: left; }
.category-panel { overflow: hidden; }
.section-heading { align-items: center; display: flex; justify-content: space-between; padding: 20px 20px 15px; }
.section-heading h2 { font-size: 17px; letter-spacing: -0.02em; margin: 0; }
.section-heading p { color: var(--muted); font-size: 12px; margin: 4px 0 0; }
.count-badge { align-items: center; background: var(--brand-soft); border-radius: 999px; color: var(--brand-dark); display: flex; font-size: 11px; font-weight: 800; height: 28px; justify-content: center; min-width: 28px; padding: 0 8px; }
.category-list { border-top: 1px solid var(--line); }
.category-row { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 12px; justify-content: space-between; min-height: 76px; padding: 12px 18px; }
.category-row:last-child { border-bottom: 0; }
.category-main { align-items: center; display: flex; gap: 12px; min-width: 0; }
.category-main > div { min-width: 0; }
.category-main strong { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-monogram { align-items: center; background: var(--brand-soft); border-radius: 12px; color: var(--brand-dark); display: flex; flex: 0 0 auto; font-size: 14px; font-weight: 800; height: 42px; justify-content: center; text-transform: uppercase; width: 42px; }
.priority-badge { display: block; font-size: 11px; font-weight: 650; margin-top: 4px; }
.priority-low { color: var(--muted); }
.priority-normal { color: var(--brand-dark); }
.priority-high { color: #a33f61; }
.edit-category-button { background: var(--brand-softer); border-radius: 10px; color: var(--brand-dark); cursor: pointer; flex: 0 0 auto; font-size: 12px; font-weight: 750; min-height: 38px; padding: 0 12px; }
.edit-category-button { min-height: 44px; }
.empty-list, .loading-state, .error-state { color: var(--muted); display: flex; flex-direction: column; font-size: 13px; gap: 5px; line-height: 1.45; padding: 28px 20px; text-align: center; }
.empty-list strong { color: var(--ink); font-size: 14px; }
.empty-list.compact { padding: 20px; }
.error-state { color: var(--danger); }
.archived-panel { overflow: hidden; }
.archived-panel summary { align-items: center; cursor: pointer; display: flex; font-size: 14px; font-weight: 700; justify-content: space-between; list-style: none; min-height: 60px; padding: 0 20px; }
.archived-panel summary::-webkit-details-marker { display: none; }
.archived-list .category-monogram { background: var(--surface-soft); color: var(--muted); }
.toast { background: var(--ink); border-radius: 12px; bottom: calc(82px + env(safe-area-inset-bottom)); color: white; font-size: 13px; font-weight: 650; left: 50%; max-width: calc(100% - 40px); padding: 12px 16px; position: fixed; text-align: center; transform: translateX(-50%); z-index: 40; }
.button:disabled { cursor: wait; opacity: 0.65; }
.section-tabs { background: var(--surface-soft); border: 1px solid var(--line); border-radius: 15px; display: grid; gap: 4px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; padding: 4px; position: sticky; top: 8px; z-index: 12; }
.section-tabs button { background: transparent; border-radius: 11px; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 750; min-height: 44px; padding: 6px 8px; }
.section-tabs button.active { background: var(--paper); box-shadow: 0 3px 12px rgba(79, 55, 64, .08); color: var(--brand-dark); }
.section-toolbar { align-items: stretch; display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.section-toolbar strong, .section-toolbar span { display: block; }
.section-toolbar strong { font-size: 17px; }
.section-toolbar span { color: var(--muted); font-size: 12px; margin-top: 4px; }
.state-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-large); box-shadow: var(--shadow); margin-top: 22px; }
.offer-form-card, .offer-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-large); box-shadow: var(--shadow); margin-top: 22px; }
.offer-form-card { padding: 22px; scroll-margin-top: 18px; }
.offer-form-card[hidden] { display: none; }
.image-picker { align-items: center; background: var(--brand-softer); border: 1px dashed #dfb9c6; border-radius: var(--radius-medium); cursor: pointer; display: flex; justify-content: center; margin-bottom: 20px; min-height: 190px; overflow: hidden; position: relative; }
.image-picker input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.image-picker-placeholder { align-items: center; color: var(--brand-dark); display: flex; flex-direction: column; gap: 5px; padding: 26px; text-align: center; }
.image-picker-placeholder strong { font-size: 15px; }
.image-picker-placeholder small { color: var(--muted); font-size: 11px; }
.image-picker img { height: 240px; object-fit: contain; width: 100%; }
.offer-field-label { margin-top: 18px; }
.optional-label { color: var(--muted); font-size: 10px; font-weight: 600; margin-left: 5px; }
.empty-cta { color: var(--muted); font-style: italic; font-weight: 550 !important; }
.offer-textarea { min-height: 116px; padding-bottom: 12px; padding-top: 12px; resize: vertical; }
.more-options { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 4px; }
.more-options summary { color: var(--brand-dark); cursor: pointer; font-size: 13px; font-weight: 700; padding: 14px 0; }
.more-options-content { padding-bottom: 4px; }
.media-details { background: var(--success-soft); border-radius: 12px; color: var(--success); display: flex; flex-direction: column; font-size: 11px; gap: 3px; line-height: 1.4; margin-top: 16px; padding: 12px 14px; }
.media-details[hidden] { display: none; }
.media-details strong { font-size: 12px; }
.offer-panel { overflow: hidden; }
.offer-list { border-top: 1px solid var(--line); }
.offer-row { align-items: flex-start; border-bottom: 1px solid var(--line); display: grid; gap: 12px; grid-template-columns: 76px minmax(0, 1fr) auto; padding: 16px; }
.offer-row:last-child { border-bottom: 0; }
.offer-thumb { background: var(--surface-soft); border-radius: 13px; display: block; height: 76px; overflow: hidden; width: 76px; }
.offer-thumb img { height: 100%; object-fit: cover; width: 100%; }
.offer-copy { min-width: 0; }
.offer-copy > strong { display: -webkit-box; font-size: 13px; line-height: 1.4; margin-top: 7px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.offer-meta { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; }
.category-chip { background: var(--brand-soft); color: var(--brand-dark); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.offer-status { font-size: 10px; font-weight: 750; }
.status-active { color: var(--success); }
.status-paused { color: var(--warning); }
.status-archived { color: var(--muted); }
.offer-host { color: var(--muted); display: block; font-size: 11px; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.offer-links { display: flex; gap: 12px; margin-top: 8px; }
.offer-links a, .offer-links button { align-items: center; color: var(--brand-dark); display: inline-flex; font-size: 11px; font-weight: 700; min-height: 44px; text-decoration: underline; text-decoration-color: #e3b9c7; text-underline-offset: 2px; }
.offer-links button { background: transparent; cursor: pointer; padding: 0; }
.catalog-tools { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-large); box-shadow: var(--shadow); margin-top: 22px; padding: 18px; }
.search-field > span, .filter-grid label > span { color: var(--muted); display: block; font-size: 11px; font-weight: 700; margin: 0 0 7px 2px; }
.filter-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-top: 12px; }
.filter-grid label:last-child { grid-column: 1 / -1; }
.product-filter { align-items: center; background: var(--brand-soft); border-radius: 12px; color: var(--brand-dark); display: flex; font-size: 12px; font-weight: 650; justify-content: space-between; margin-top: 12px; padding: 10px 12px; }
.product-filter[hidden] { display: none; }
.product-filter button { background: transparent; color: var(--brand-dark); cursor: pointer; font-size: 11px; font-weight: 800; }
.load-more-wrap { border-top: 1px solid var(--line); padding: 16px; text-align: center; }
.load-more-wrap[hidden] { display: none; }
.maintenance-area { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 6px; }
.maintenance-area[hidden] { display: none; }
.maintenance-area summary { color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 700; padding: 10px 0; }
.maintenance-area p { color: var(--muted); font-size: 11px; line-height: 1.45; margin: 2px 0 12px; }
.danger-button { background: var(--danger-soft); border-radius: 11px; color: var(--danger); cursor: pointer; font-size: 12px; font-weight: 750; min-height: 42px; padding: 0 13px; }
.backup-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-large); box-shadow: var(--shadow); margin-top: 22px; overflow: hidden; padding: 22px; }
.backup-heading { align-items: flex-start; display: flex; flex-direction: column; gap: 18px; }
.backup-heading .eyebrow { margin-bottom: 5px; }
.backup-heading h2 { font-size: 22px; letter-spacing: -0.03em; margin: 0; }
.backup-heading p:last-child { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 6px 0 0; }
.backup-heading .button { width: 100%; }
.backup-notice { background: var(--brand-softer); border-radius: 13px; display: flex; flex-direction: column; gap: 3px; margin-top: 18px; padding: 13px 14px; }
.backup-notice strong { color: var(--brand-dark); font-size: 12px; }
.backup-notice span { color: var(--muted); font-size: 11px; line-height: 1.4; }
.backup-message { border-radius: 11px; font-size: 12px; font-weight: 650; line-height: 1.4; margin-top: 14px; min-height: 0; padding: 0; }
.backup-message:not(:empty) { padding: 11px 13px; }
.backup-message.success { background: var(--success-soft); color: var(--success); }
.backup-message.error { background: var(--danger-soft); color: var(--danger); }
.backup-message.working { background: var(--surface-soft); color: var(--muted); }
.backup-list { border-top: 1px solid var(--line); margin-top: 18px; }
.backup-row { border-bottom: 1px solid var(--line); padding: 18px 0; }
.backup-row:last-child { border-bottom: 0; padding-bottom: 0; }
.backup-row-top { align-items: flex-start; display: flex; gap: 12px; justify-content: space-between; }
.backup-row-top strong, .backup-row-top span { display: block; }
.backup-row-top strong { font-size: 14px; }
.backup-row-top div > span { color: var(--muted); font-size: 9px; margin-top: 3px; overflow-wrap: anywhere; }
.backup-valid { border-radius: 999px; flex: 0 0 auto; font-size: 9px; font-weight: 800; padding: 6px 8px; text-transform: uppercase; }
.backup-valid.valid { background: var(--success-soft); color: var(--success); }
.backup-valid.invalid { background: var(--danger-soft); color: var(--danger); }
.backup-summary { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 12px; }
.backup-summary span { color: var(--muted); font-size: 11px; }
.backup-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.backup-actions button { background: var(--brand-softer); border-radius: 10px; color: var(--brand-dark); cursor: pointer; font-size: 11px; font-weight: 750; min-height: 38px; padding: 0 11px; }
.backup-errors { background: var(--danger-soft); border-radius: 10px; color: var(--danger); font-size: 11px; line-height: 1.4; margin-top: 10px; padding: 10px; }
.restore-danger { margin-top: 9px; }
.restore-danger summary { color: var(--muted); cursor: pointer; font-size: 10px; font-weight: 700; padding: 6px 0; }
.restore-danger p { color: var(--muted); font-size: 10px; line-height: 1.45; margin: 2px 0 10px; }
.restore-danger button { background: var(--danger-soft); border-radius: 10px; color: var(--danger); cursor: pointer; font-size: 11px; font-weight: 750; min-height: 38px; padding: 0 11px; }
.schedule-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-large); box-shadow: var(--shadow); margin-top: 22px; overflow: hidden; padding: 22px; }
.schedule-heading h2 { font-size: 22px; letter-spacing: -0.03em; margin: 0; }
.schedule-heading p:last-child { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 6px 0 0; }
.target-row { align-items: center; background: var(--brand-softer); border-radius: 14px; display: flex; gap: 16px; justify-content: space-between; margin-top: 20px; padding: 14px; }
.target-row label strong, .target-row label span { display: block; }
.target-row label strong { font-size: 14px; }
.target-row label span { color: var(--muted); font-size: 11px; margin-top: 3px; }
.quota-input { flex: 0 0 82px; min-height: 44px; padding: 0 9px; text-align: center; width: 82px; }
.schedule-block { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 20px; }
.schedule-block-heading { align-items: flex-start; display: flex; flex-direction: column; gap: 12px; }
.schedule-block-heading h3 { font-size: 16px; margin: 0; }
.schedule-block-heading p { color: var(--muted); font-size: 11px; line-height: 1.45; margin: 4px 0 0; }
.small-action { background: var(--brand-soft); border-radius: 10px; color: var(--brand-dark); cursor: pointer; font-size: 11px; font-weight: 750; min-height: 38px; padding: 0 12px; }
.small-action { min-height: 44px; }
.quota-list { margin-top: 12px; }
.quota-row { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 12px; justify-content: space-between; min-height: 68px; padding: 10px 0; }
.quota-row > div { min-width: 0; }
.quota-row strong, .quota-row span { display: block; }
.quota-row strong { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quota-row span { color: var(--muted); font-size: 10px; margin-top: 4px; }
.schedule-total { align-items: center; border-radius: 11px; display: flex; justify-content: space-between; margin-top: 12px; padding: 10px 12px; }
.schedule-total strong { font-size: 12px; }
.schedule-total span { font-size: 10px; font-weight: 700; }
.schedule-total.ready { background: var(--success-soft); color: var(--success); }
.schedule-total.warning { background: var(--warning-soft); color: var(--warning); }
.repetition-note { color: var(--warning); font-size: 10px; line-height: 1.45; margin-top: 8px; }
.schedule-save { border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; margin-top: 22px; padding-top: 20px; }
.schedule-save .button { width: 100%; }
.schedule-message { border-radius: 10px; font-size: 11px; font-weight: 650; line-height: 1.45; }
.schedule-message:not(:empty) { padding: 10px 12px; }
.schedule-message.success { background: var(--success-soft); color: var(--success); }
.schedule-message.warning { background: var(--warning-soft); color: var(--warning); }
.schedule-message.error { background: var(--danger-soft); color: var(--danger); }
.program-message { border-radius: 12px; font-size: 12px; font-weight: 650; margin-top: 16px; }
.program-message:not(:empty) { padding: 11px 13px; }
.program-message.working { background: var(--surface-soft); color: var(--muted); }
.program-message.error { background: var(--danger-soft); color: var(--danger); }
.program-empty { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-large); box-shadow: var(--shadow); margin-top: 22px; padding: 28px 22px; }
.program-empty h2 { font-size: 22px; letter-spacing: -0.03em; margin: 14px 0 6px; }
.program-empty p { color: var(--muted); font-size: 13px; margin: 0; }
.program-summary { align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-large); box-shadow: var(--shadow); display: flex; justify-content: space-between; margin-top: 22px; padding: 18px; }
.program-summary span, .program-summary strong { display: block; }
.program-summary span { color: var(--muted); font-size: 10px; text-transform: capitalize; }
.program-summary strong { font-size: 19px; margin-top: 3px; }
.program-context { align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 13px; display: flex; flex-direction: column; gap: 10px; margin-top: 10px; padding: 12px 14px; }
.program-context strong { font-size: 10px; }
.program-context p { display: flex; flex-wrap: wrap; gap: 6px; margin: 7px 0 0; }
.program-context p span { background: var(--brand-softer); border-radius: 999px; color: var(--brand-dark); font-size: 9px; font-weight: 750; padding: 5px 8px; }
.program-context > small { color: var(--muted); font-size: 9px; line-height: 1.4; }
.program-date-panel, .program-index-panel, .sync-history-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-large); box-shadow: var(--shadow); margin-top: 18px; padding: 16px; }
.program-date-panel label { color: var(--ink); display: block; font-size: 11px; font-weight: 750; }
.program-date-panel .field { margin-top: 7px; }
.program-date-actions { display: grid; gap: 8px; margin-top: 10px; }
.program-lock { background: var(--surface-soft); border-radius: 11px; color: var(--muted); font-size: 10px; line-height: 1.45; margin-top: 12px; padding: 11px; }
.program-index-panel h3, .sync-history-panel h3 { font-size: 15px; margin: 0 0 10px; }
.program-index-row, .sync-history-row { align-items: center; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; padding: 11px 0; }
.program-index-row:first-child, .sync-history-row:first-child { border-top: 0; }
.program-index-row strong, .program-index-row span, .sync-history-row strong, .sync-history-row span { display: block; }
.program-index-row span, .sync-history-row span { color: var(--muted); font-size: 9px; margin-top: 3px; }
.sync-history-details { background: var(--canvas); border-radius: 10px; flex-basis: 100%; font-size: 9px; line-height: 1.5; padding: 10px; }
.sync-history-details[hidden] { display: none; }
.sync-history-details p { margin: 0 0 7px; }
.sync-history-details ol { margin: 0; padding-left: 18px; }
.program-status { border-radius: 999px; font-size: 10px; font-weight: 800; padding: 7px 10px; text-transform: uppercase; }
.program-status.draft { background: var(--warning-soft); color: var(--warning); }
.program-status.approved { background: var(--success-soft); color: var(--success); }
.program-repetition { background: var(--warning-soft); border-radius: 13px; color: var(--warning); display: flex; flex-direction: column; gap: 3px; margin-top: 12px; padding: 12px 14px; }
.program-repetition strong { font-size: 12px; }
.program-repetition span { font-size: 10px; line-height: 1.4; }
.program-list { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-large); box-shadow: var(--shadow); margin-top: 14px; overflow: hidden; }
.program-item { align-items: start; border-bottom: 1px solid var(--line); display: grid; gap: 10px; grid-template-columns: 28px 72px minmax(0, 1fr); padding: 14px; }
.program-item:last-child { border-bottom: 0; }
.program-position { align-items: center; background: var(--brand-soft); border-radius: 50%; color: var(--brand-dark); display: flex; font-size: 11px; font-weight: 800; height: 28px; justify-content: center; width: 28px; }
.program-image { background: var(--surface-soft); border-radius: 12px; height: 72px; overflow: hidden; position: relative; width: 72px; }
.program-image img { height: 100%; object-fit: cover; width: 100%; }
.program-image span { background: var(--warning); bottom: 4px; color: white; font-size: 7px; font-weight: 800; left: 4px; padding: 3px 5px; position: absolute; text-transform: uppercase; }
.program-copy { min-width: 0; }
.program-copy > strong { display: -webkit-box; font-size: 12px; line-height: 1.4; margin-top: 6px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.program-copy > a { align-items: center; color: var(--brand-dark); display: flex; font-size: 10px; font-weight: 750; margin-top: 2px; min-height: 44px; overflow: hidden; text-decoration: underline; text-overflow: ellipsis; white-space: nowrap; }
.program-copy small { color: var(--muted); display: block; font-size: 8px; margin-top: 4px; }
.replace-program-item { grid-column: 2 / -1; justify-self: end; }
.program-footer { align-items: stretch; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-large); display: flex; flex-direction: column; gap: 14px; margin-top: 14px; padding: 18px; }
.program-footer p { color: var(--muted); font-size: 11px; line-height: 1.45; margin: 0; }
.program-footer-actions { display: grid; gap: 9px; width: 100%; }
.history-list { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-large); box-shadow: var(--shadow); margin-top: 22px; overflow: hidden; }
.history-row { border-bottom: 1px solid var(--line); }
.history-row:last-child { border-bottom: 0; }
.history-summary { align-items: center; background: transparent; cursor: pointer; display: flex; justify-content: space-between; padding: 17px 18px; text-align: left; width: 100%; }
.history-summary div > span, .history-summary div > strong, .history-summary div > small { display: block; }
.history-summary div > span { color: var(--muted); font-size: 10px; text-transform: capitalize; }
.history-summary div > strong { font-size: 15px; margin-top: 3px; }
.history-summary div > small { color: var(--muted); font-size: 9px; margin-top: 3px; }
.history-status { background: var(--success-soft); border-radius: 999px; color: var(--success); font-size: 9px; font-weight: 800; padding: 7px 9px; text-transform: uppercase; }
.history-details { background: var(--canvas); border-top: 1px solid var(--line); padding: 10px; }
.history-details[hidden] { display: none; }
.history-item { align-items: center; background: var(--paper); border-radius: 12px; display: grid; gap: 9px; grid-template-columns: 28px 56px minmax(0, 1fr); margin-bottom: 7px; padding: 9px; }
.history-item:last-child { margin-bottom: 0; }
.history-item img { border-radius: 9px; height: 56px; object-fit: cover; width: 56px; }
.history-item > div { min-width: 0; }
.history-item strong { display: block; font-size: 11px; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-item a { align-items: center; color: var(--brand-dark); display: flex; font-size: 10px; font-weight: 750; min-height: 44px; text-decoration: underline; }
.history-item a { color: var(--brand-dark); display: block; font-size: 9px; font-weight: 750; margin-top: 4px; text-decoration: underline; }
.history-item > small { color: var(--warning); font-size: 8px; font-weight: 800; grid-column: 3; text-transform: uppercase; }
.history-empty { border: 0; box-shadow: none; margin-top: 0; }
.sync-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-large); box-shadow: var(--shadow); margin-top: 22px; overflow: hidden; padding: 20px; }
.sync-heading { align-items: flex-start; display: flex; flex-direction: column; gap: 12px; }
.sync-heading .eyebrow { margin-bottom: 5px; }
.sync-heading h2 { font-size: 20px; letter-spacing: -0.03em; margin: 0; }
.sync-heading p:last-child { color: var(--muted); font-size: 11px; line-height: 1.45; margin: 5px 0 0; }
.sync-empty { background: var(--brand-softer); border-radius: 13px; margin-top: 18px; padding: 14px; }
.sync-empty p { color: var(--muted); font-size: 11px; line-height: 1.5; margin: 0 0 12px; }
.sync-empty .button { width: 100%; }
.sync-overview { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 17px; }
.queue-summary { background: var(--brand-softer); border: 0; border-radius: 14px; padding: 16px; }
.sync-progress-copy span, .sync-progress-copy strong, .sync-progress-copy small { display: block; }
.sync-progress-copy span { color: var(--brand-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.sync-progress-copy strong { font-size: 18px; margin-top: 4px; }
.sync-progress-copy small { color: var(--danger); font-size: 10px; margin-top: 3px; }
.sync-progress-copy .sync-counts { color: var(--muted); }
.image-missing { opacity: 0; }
.offer-thumb:has(.image-missing), .program-image:has(.image-missing), .sync-item:has(.image-missing) { background: var(--surface-soft); }
.test-mode-note { background: var(--brand-softer); border-radius: 11px; display: flex; flex-direction: column; gap: 3px; margin-bottom: 15px; padding: 11px 12px; }
.test-mode-note strong { color: var(--brand-dark); font-size: 11px; }
.test-mode-note span { color: var(--muted); font-size: 9px; line-height: 1.4; }
.transport-scenario { display: block; margin-bottom: 16px; }
.transport-scenario > span { color: var(--ink); display: block; font-size: 11px; font-weight: 750; margin-bottom: 7px; }
.transport-scenario .field { font-size: 12px; min-height: 44px; }
.transport-scenario small { color: var(--muted); display: block; font-size: 9px; line-height: 1.4; margin-top: 6px; }
.sync-progress { background: var(--surface-soft); border-radius: 999px; height: 8px; margin-top: 12px; overflow: hidden; }
.sync-progress span { background: var(--brand); border-radius: inherit; display: block; height: 100%; min-width: 0; }
.sync-actions { display: grid; gap: 9px; margin-top: 15px; }
.sync-items { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 5px; }
.sync-items summary { color: var(--brand-dark); cursor: pointer; font-size: 11px; font-weight: 750; padding: 11px 0; }
.sync-item { align-items: center; border-top: 1px solid var(--line); display: grid; gap: 9px; grid-template-columns: 32px 52px minmax(0, 1fr); padding: 10px 0; }
.sync-position { color: var(--muted); font-size: 10px; font-weight: 800; text-align: center; }
.sync-item img { border-radius: 9px; height: 52px; object-fit: cover; width: 52px; }
.sync-item > div { min-width: 0; }
.sync-item strong, .sync-item span, .sync-item small, .sync-item em { display: block; }
.sync-item strong { font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sync-item span { color: var(--muted); font-size: 9px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sync-item small { color: var(--brand-dark); font-size: 8px; font-weight: 750; margin-top: 4px; text-transform: uppercase; }
.sync-item em { color: var(--danger); font-size: 8px; margin-top: 3px; }
.sync-item .sync-state { align-items: center; border: 1px solid currentColor; border-radius: 999px; display: inline-flex; font-size: 9px; font-weight: 800; gap: 5px; margin-top: 6px; padding: 5px 8px; width: fit-content; }
.sync-state b { font-size: 12px; line-height: 1; }
.state-pending { color: var(--muted); }
.state-processing { color: var(--brand-dark); }
.state-completed { color: var(--success); }
.state-error { color: var(--danger); }
.state-paused { color: var(--warning); }
.sync-events { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 5px; }
.sync-events summary { color: var(--brand-dark); cursor: pointer; font-size: 11px; font-weight: 750; padding: 10px 0; }
.sync-events > div > div { align-items: center; border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding: 9px 0; }
.sync-events strong { font-size: 10px; }
.sync-events span { color: var(--muted); font-size: 8px; }
.test-tools { background: var(--surface-soft); border-radius: 14px; margin-top: 18px; }
.test-tools > summary { color: var(--brand-dark); cursor: pointer; font-size: 12px; font-weight: 800; min-height: 48px; padding: 16px; }
.test-tools-content { border-top: 1px solid var(--line); padding: 16px; }
.test-tools-content > .muted { color: var(--muted); font-size: 11px; line-height: 1.5; margin: 0 0 14px; }
.test-tools-content .sync-overview { background: var(--paper); border: 1px solid var(--line); border-radius: 13px; padding: 14px; }
.destination-empty { background: var(--brand-softer); border-radius: 12px; margin-top: 12px; }
.whatsapp-status { align-items: flex-start; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; margin-top: 16px; padding-top: 16px; }
.whatsapp-status > strong { color: var(--brand-dark); font-size: 10px; line-height: 1.4; }
.whatsapp-qr { background: var(--canvas); border-radius: 14px; margin-top: 14px; padding: 14px; text-align: center; }
.whatsapp-qr p { color: var(--muted); font-size: 10px; line-height: 1.5; margin: 0 auto 12px; max-width: 380px; }
.whatsapp-qr img { background: white; border-radius: 12px; display: block; margin: auto; max-width: 300px; width: 100%; }
.whatsapp-account, .whatsapp-destination { background: var(--surface-soft); border-radius: 12px; margin-top: 12px; padding: 12px; }
.whatsapp-account span, .whatsapp-account strong, .whatsapp-account small, .whatsapp-destination span, .whatsapp-destination strong, .whatsapp-destination small { display: block; }
.whatsapp-account span, .whatsapp-destination span { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.whatsapp-account strong, .whatsapp-destination strong { font-size: 13px; margin-top: 4px; }
.whatsapp-account small, .whatsapp-destination small { color: var(--muted); font-size: 8px; margin-top: 3px; word-break: break-all; }
.whatsapp-groups { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.whatsapp-groups > p { color: var(--muted); font-size: 10px; line-height: 1.45; }
.whatsapp-groups button { background: var(--paper); border: 1px solid var(--line); border-radius: 11px; display: block; margin-top: 8px; padding: 11px; text-align: left; width: 100%; }
.whatsapp-groups strong, .whatsapp-groups span, .whatsapp-groups small { display: block; }
.whatsapp-groups span, .whatsapp-groups small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.technical-details { border-top: 1px solid var(--line); margin-top: 9px; padding-top: 8px; }
.technical-details summary { color: var(--muted); cursor: pointer; font-size: 9px; }
.technical-details code { color: var(--muted); display: block; font-size: 8px; margin-top: 7px; overflow-wrap: anywhere; }
.latest-backup { background: var(--brand-softer); border-radius: 13px; margin-bottom: 12px; padding: 13px 15px; }
.latest-backup span, .latest-backup strong, .latest-backup small { display: block; }
.latest-backup span { color: var(--brand-dark); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.latest-backup strong { font-size: 14px; margin-top: 4px; }
.latest-backup small { color: var(--muted); font-size: 9px; margin-top: 2px; }

@media (min-width: 700px) {
  .overview-grid { grid-template-columns: repeat(2, 1fr); }
  .main-content { padding-left: 34px; padding-right: 34px; }
  .page-heading-row { align-items: flex-end; flex-direction: row; justify-content: space-between; }
  .new-category-button { flex: 0 0 auto; width: auto; }
  .category-form-card { max-width: 620px; }
  .backup-heading { align-items: center; flex-direction: row; justify-content: space-between; }
  .backup-heading .button { flex: 0 0 auto; width: auto; }
  .schedule-block-heading { align-items: center; flex-direction: row; justify-content: space-between; }
  .schedule-save { align-items: center; flex-direction: row; justify-content: space-between; }
  .schedule-save .button { flex: 0 0 auto; width: auto; }
  .program-item { align-items: center; grid-template-columns: 32px 86px minmax(0, 1fr) auto; padding: 16px 18px; }
  .program-image { height: 86px; width: 86px; }
  .replace-program-item { grid-column: auto; justify-self: auto; }
  .program-footer { align-items: center; flex-direction: row; justify-content: space-between; }
  .program-footer-actions { display: flex; flex: 0 0 auto; width: auto; }
  .program-date-actions { display: flex; }
  .sync-heading { align-items: center; flex-direction: row; justify-content: space-between; }
  .sync-actions { display: flex; }
  .sync-empty .button { width: auto; }
  .offer-form-card { max-width: 680px; }
  .offer-row { grid-template-columns: 92px minmax(0, 1fr) auto; padding: 18px 20px; }
  .offer-thumb { height: 92px; width: 92px; }
  .filter-grid { grid-template-columns: repeat(3, 1fr); }
  .filter-grid label:last-child { grid-column: auto; }
  .dashboard-grid { grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); }
  .section-toolbar { align-items: center; flex-direction: row; justify-content: space-between; }
  .section-tabs { max-width: 620px; position: static; }
  .whatsapp-status { align-items: center; flex-direction: row; justify-content: space-between; }
  .program-context { align-items: center; flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1080px) {
  .overview-grid { grid-template-columns: repeat(4, 1fr); }
  .offer-list { display: grid; grid-template-columns: 1fr 1fr; }
  .offer-row { border-bottom: 1px solid var(--line); }
  .offer-row:nth-child(odd) { border-right: 1px solid var(--line); }
}

@media (min-width: 940px) {
  .app-frame { display: grid; grid-template-columns: 250px 1fr; }
  .sidebar { background: rgba(255, 254, 253, 0.88); border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 100svh; padding: 30px 22px 24px; position: sticky; top: 0; }
  .sidebar .nav-list { margin-top: 42px; }
  .mobile-header, .bottom-nav { display: none; }
  .main-content { padding: 64px 64px 80px; }
  .page-title { font-size: 58px; }
  .empty-card { padding: 34px; }
  .toast { bottom: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
