/* Platino Workspace — visual contract shared by every screen.
   Legacy rules live in a lower cascade layer and retain layout/interaction only. */
:root {
  color-scheme: light;
  --surface: #FFFFFF;
  --canvas: #F7F8FA;
  --brand: #0735C5;
  --selection: #EDF2FF;
  --ink: #16191F;
  --muted: #667085;
  --muted-on-selection: #596477;
  --muted-on-selection: #596477;
  --line: #E7E9EE;
  --radius: 8px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --platino-ocean: var(--brand);
  --platino-ocean-soft: var(--selection);
  --platino-ocean-dark: var(--ink);
  --platino-silver: var(--ink);
  --platino-gold: var(--ink);
}
html { background: var(--canvas); }
body {
  margin: 0;
  background: var(--canvas) !important;
  color: var(--ink) !important;
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
/* Reset obsolete visual effects without touching visibility, events or dimensions. */
body * {
  background-color: transparent;
  background-image: none;
  border-color: var(--line);
  color: inherit;
  box-shadow: none;
  text-shadow: none;
  -webkit-text-fill-color: currentColor;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  filter: none;
}
body :is(h1,h2,h3,h4,h5,h6) {
  color: var(--ink);
  font-family: inherit;
  font-weight: 600;
  letter-spacing: -.025em;
  text-transform: none;
  background: none;
  background-clip: border-box;
}
body h1, body h2 { font-size: 24px; line-height: 1.3; }
body h3 { font-size: 18px; line-height: 1.4; }
body h4 { font-size: 15px; }
body p, body small { color: var(--muted); }
body button, body input, body textarea, body select { font-family: inherit; }
body button, body a { touch-action: manipulation; }
body button { cursor: pointer; }
body button:disabled { cursor: not-allowed; opacity: .5; }
body :focus-visible { outline: 2px solid var(--brand) !important; outline-offset: 3px; }
body a { color: var(--brand); }
body ::placeholder { color: var(--muted) !important; opacity: 1; }
body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),textarea,select) {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  color: var(--ink) !important;
  min-height: 44px;
  box-shadow: none !important;
  accent-color: var(--brand);
}
body :is(input,textarea,select):focus { border-color: var(--brand) !important; }
body :is(input,textarea,select):disabled, body input[readonly] { background: var(--canvas) !important; color: var(--muted) !important; }
body :is(input[type=checkbox],input[type=radio]) { accent-color: var(--brand); }
body :is(table) { width: 100%; border-collapse: collapse; background: var(--surface); }
body :is(th,td) { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
body th { background: var(--canvas); color: var(--muted); font-size: 12px; font-weight: 600; text-transform: none; }
body tbody tr:hover { background: var(--canvas); }
body :is(pre,code) { color: var(--ink); background: var(--canvas); border-radius: 6px; white-space: pre-wrap; overflow-wrap: anywhere; }

/* Compatibility with utilities in stored and dynamically rendered content. */
body [class*="bg-gradient"], body [class*="bg-[#"],
body [class*="bg-slate-"], body [class*="bg-gray-"], body [class*="bg-white"],
body [class*="bg-blue-9"], body [class*="bg-indigo-9"] { background: var(--surface) !important; }
body [class*="shadow"], body [class*="blur-"] { box-shadow: none !important; filter: none; }
body [class*="backdrop-blur"] { backdrop-filter: none !important; }
body [class*="border-"] { border-color: var(--line); }
body [class*="rounded-2xl"], body [class*="rounded-3xl"], body [class*="rounded-["] { border-radius: var(--radius) !important; }
body [class*="text-white"], body [class*="text-slate-"], body [class*="text-gray-"], body [class*="text-[#"] { color: var(--ink) !important; }
body [class*="text-blue-"], body [class*="text-sky-"], body [class*="text-cyan-"],
body [class*="text-indigo-"], body [class*="text-violet-"], body [class*="text-purple-"] { color: var(--brand) !important; }
body [class*="bg-blue-"], body [class*="bg-sky-"], body [class*="bg-cyan-"],
body [class*="bg-indigo-"], body [class*="bg-violet-"], body [class*="bg-purple-"] { background: var(--selection) !important; }
body [class*="text-slate-4"], body [class*="text-slate-5"], body [class*="text-slate-6"],
body p[class*="text-blue-"], body small[class*="text-blue-"] { color: var(--muted) !important; }
body [class*="uppercase"] { text-transform: none !important; letter-spacing: normal !important; }
body [class*="font-black"], body [class*="font-extrabold"] { font-weight: 600 !important; }
body [class*="text-[10px]"], body [class*="text-[11px]"] { font-size: 12px; }
/* Semantic colors remain local to actual status and feedback. */
body [class*="text-red-"], body [class*="text-rose-"] { color: #B42318 !important; }
body [class*="text-amber-"], body [class*="text-yellow-"] { color: #854A0E !important; }
body [class*="text-green-"], body [class*="text-emerald-"] { color: #176B45 !important; }
body [class*="bg-red-"], body [class*="bg-rose-"] { background: #FEF3F2 !important; }
body [class*="bg-amber-"], body [class*="bg-yellow-"] { background: #FFFAEB !important; }
body [class*="bg-green-"], body [class*="bg-emerald-"] { background: #EFF8F2 !important; }
body :is(button,a,label)[class*="bg-blue-6"], body :is(button,a,label)[class*="bg-sky-5"],
body :is(button,a)[class*="bg-slate-9"], body .metal-button, body .metal-login-button,
body .home-task-form button, body .documents-primary-button, body .documents-generate-button {
  background: var(--brand) !important;
  border: 1px solid var(--brand) !important;
  border-radius: var(--radius) !important;
  color: white !important;
  font-weight: 600;
  text-shadow: none;
  box-shadow: none;
}
body :is(.metal-button,.metal-login-button,.documents-primary-button,.documents-generate-button) *,
body :is(button,a,label)[class*="bg-blue-6"] *, body :is(button,a)[class*="bg-slate-9"] * { color: inherit !important; }
body :is(.metal-button,.metal-login-button):hover { background: #062BA0 !important; }

/* Application shell. Permission/hidden classes keep full ownership of visibility. */
body #app-container, body #content-viewport { background: var(--canvas) !important; }
body #sidebar { background: var(--surface) !important; border-right: 1px solid var(--line) !important; }
body #sidebar > div { background: var(--surface) !important; border-color: var(--line) !important; }
body .platino-system-brand strong { color: var(--ink); font-family: inherit; font-weight: 700; letter-spacing: .08em; }
body .platino-system-mark { filter: none; border-radius: 0; }
body #sidebar .nav-btn { min-height: 44px; border: 1px solid transparent; border-radius: var(--radius); color: var(--muted); font-size: 13px; font-weight: 500; background: transparent; }
body #sidebar .nav-btn i { color: inherit; font-size: 20px; }
body #sidebar .nav-btn:hover { color: var(--ink); background: var(--canvas); transform: none; }
body #sidebar .nav-btn.nav-active { color: var(--brand); background: var(--selection); border-color: transparent; box-shadow: none; }
body #sidebar nav > div { color: var(--muted) !important; font-size: 11px; font-weight: 500; }
body .app-topbar { min-height: 72px; background: var(--surface) !important; border-bottom: 1px solid var(--line) !important; }
body .app-topbar-title { color: var(--ink); font-size: 18px; font-weight: 600; }
body .topbar-search-input { min-height: 40px !important; background: var(--canvas) !important; padding-left: 44px; }
body .topbar-search-frame .ph { left: 16px; color: var(--muted) !important; filter: none; }
body .topbar-search-frame::after, body #content-viewport::before, body #content-viewport::after { content: none; }
body #content-viewport { padding: 28px 32px; }
body #app-container > main { min-width: 0; }
body .content-section > div { max-width: 1440px; width: 100%; margin-inline: auto; }
body .content-section :is(h2,.section-title) { font-size: 24px; font-weight: 600; }
body .content-section > div > div:first-child { border-color: var(--line); }
body #sidebar-backdrop { background: rgb(22 25 31 / 35%) !important; }

/* Shared white surfaces and restrained indicators. */
body :is(.portal-card,.notice-card,.training-card,.dark-panel,.performance-arena,.ranking-board,
.metal-level-card,.timeline-floating-card,.rh-modal-shell,.rh-module-card,.suggestion-shell,
.sales-community-main,.sales-knowledge-strip,.home-bento-card,.documents-central,
.documents-hero,.documents-form-shell,.documents-template-card,.documents-step,
.adm-pdf-panel,.adm-template-picker-panel,.adm-template-option,.editor-modal-shell,
#rh-action-panel,#chat-window) {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  box-shadow: none;
}
body :is(.portal-card,.notice-card,.training-card,.home-bento-card):hover { transform: none; border-color: #CCD3E0; }
body :is(.money-value,.silver-value,.metallic-title,.ranking-sector-title,.employee-name) { color: var(--ink); -webkit-text-fill-color: currentColor; font-family: inherit; text-shadow: none; }
body :is(.icon-pill,.metal-level-icon,.home-kpi-icon,.documents-template-icon,.adm-template-option-icon) { background: var(--selection); color: var(--brand); border: 0; border-radius: 8px; }
body :is(.metal-level-track,.home-progress,.documents-progress-track) { background: var(--line); height: 5px; border-radius: 99px; }
body :is(.metal-level-fill,.home-progress span,.documents-progress-fill) { background: var(--brand); box-shadow: none; }
body :is(.metal-level-gap,.birthday-info,.documents-local-indicator,.documents-summary-item) { background: var(--canvas); color: var(--muted); border-color: var(--line); }
body .ranking-row { background: var(--surface); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 14px 4px; }
body .ranking-row-leader { background: var(--surface); }
body .ranking-position-img { width: 28px; height: 28px; filter: grayscale(1); }
body .ranking-position-fallback { background: var(--canvas); color: var(--muted); }
body .ranking-filter-button { background: var(--surface) !important; color: var(--muted) !important; border-color: var(--line) !important; }
body .ranking-filter-button[aria-pressed=true] { background: var(--selection) !important; color: var(--brand) !important; border-color: var(--brand) !important; }
body .performance-arena { padding: 24px; }
body .ranking-sector-title { text-align: left; font-size: 14px; }
body .performance-arena > .absolute { display: none; }
body .team-card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
body .team-avatar { box-shadow: none; border: 1px solid var(--line); background: var(--canvas); }
body .birthday-ribbon { color: var(--muted); background: var(--canvas); }
body .team-nav-button { color: var(--brand); background: white; border: 1px solid var(--line); }
body .dot { background: var(--line); }
body .dot.active { background: var(--brand); }
body .ranking-sync-indicator > span { background: var(--brand); }
body .metal-level-fill::before, body .metal-level-fill::after,
body .dot::after, body .training-card::before,
body .metal-login-button::before, body .metal-button::before,
body .documents-hero::after { content: none; }
body .documents-local-indicator::before { background: var(--brand); box-shadow: none; animation: none; }
body .metal-level-fill::before, body .metal-level-fill::after,
body .dot::after, body .training-card::before,
body .metal-login-button::before, body .metal-button::before,
body .documents-hero::after { content: none; }
body .documents-local-indicator::before { background: var(--brand); box-shadow: none; animation: none; }

/* Home: greeting, quick links and daily work, with no promotional hero. */
body .home-command-header { min-height: 0; margin-bottom: 24px; padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
body .home-command-copy { max-width: 100%; }
body .home-command-copy h2 { margin: 0 0 8px; font-size: 28px; font-family: inherit; }
body .home-command-copy p { font-size: 14px; font-weight: 400; }
body .home-command-header::before, body .home-command-header::after, body .home-bento-card::after { content: none; }
body .home-bento-card { padding: 24px; }
body .home-card-heading span { color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
body .home-card-heading h3 { font: 600 17px/1.4 Inter, sans-serif; }
body .home-card-heading > strong { background: var(--canvas); color: var(--muted); border: 0; }
body .quick-action-grid button { color: var(--ink); background: var(--surface); border-color: var(--line); border-radius: 8px; }
body .quick-action-grid button:hover { background: var(--selection); border-color: var(--line); }
body .quick-action-grid button > i:first-child { background: var(--selection); color: var(--brand); border: 0; }
body .quick-action-grid span, body .home-task-item span { color: var(--ink); font-weight: 500; }
body .quick-action-grid small { color: var(--muted); font-size: 11px; }
body .home-kpi-card { min-height: 150px; }
body .home-kpi-card > span, body .home-kpi-card small { color: var(--muted); font-size: 12px; text-transform: none; letter-spacing: 0; font-weight: 400; }
body .home-kpi-card strong { color: var(--ink); font: 600 28px/1.4 Inter, sans-serif; }
body .home-task-item { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 12px 0; }
body .home-task-check { color: transparent; border-color: var(--muted); }
body .home-task-item.is-done .home-task-check { color: white; border-color: var(--brand); background: var(--brand); }
body .home-task-delete { color: var(--muted); }
body .home-task-empty { color: var(--muted); border-color: var(--line); }
body .home-next-step button { color: var(--brand); }

/* Departments share the same editorial accordion. */
body .procedure-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body .procedure-toggle { flex: 1; min-width: 0; }
body .procedure-title { display: flex; align-items: center; gap: 12px; }
body .procedure-number { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
body .procedure-edit { padding: 8px 12px; color: var(--brand); font-size: 13px; }
body .accordion-content { color: var(--ink); }
body .accordion-content li { color: var(--ink) !important; line-height: 1.7; }
body .accordion-content li > i { color: var(--muted) !important; }
body #workspace-focus-list { display: flex; flex-direction: column; gap: 0; }
body #workspace-focus-list > div, body #workspace-focus-list > article { border: 0; border-bottom: 1px solid var(--line); border-radius: 0 !important; padding: 16px 0; background: var(--surface) !important; }
body #workspace-focus-list > article { display: grid; grid-template-columns: 140px minmax(160px,1fr) 160px 200px; gap: 16px; align-items: center; }
body #workspace-focus-list > article > .absolute { display: none; }
body #workspace-focus-list > article > :is(h4,p,button) { margin: 0; }
body #workspace-focus-list > article[class*="bg-red-"] { border-left: 2px solid #B42318; padding-left: 12px; }
body .monthly-goal-summary { height: 80px; width: 80px; }
body .monthly-goal-summary > svg { display: none; }
body #monthly-goal-ring { stroke: var(--brand); }
body #monthly-goal-ring:first-child { stroke: var(--line); }
body #profile-avatar-preview { object-fit: cover; }
body #section-rh figure { display: flex; flex-direction: column; align-items: center; }
body #section-rh figure img { max-height: 440px; object-fit: contain; }
body #section-rh figure figcaption { align-self: stretch; }
body #section-rh .portal-card :is(i,p) { color: var(--muted) !important; }
body #section-treinamentos .training-card > a { align-self: flex-start; width: auto; margin-top: 20px; padding: 8px 14px; min-height: 40px; background: var(--selection) !important; color: var(--brand) !important; border: 1px solid var(--line); border-radius: 8px; }
body .training-card :is(h3,p) { color: inherit; }
body .training-card p { color: var(--muted); }
body .suggestion-shell { max-width: 960px; }
body .documents-hero { min-height: 0; padding: 24px; }
body .documents-hero-aside { color: var(--muted); }
body .documents-hero-copy { max-width: none; }
body .documents-pdf-hero-icon { width: 44px; height: 44px; object-fit: contain; }
body .documents-content { background: var(--surface); }
body .documents-template-card { box-shadow: none; }
body .documents-template-card.is-selected, body .documents-category-filter.active { border-color: var(--brand); background: var(--selection); }
body .documents-template-cta { color: var(--brand); }
body .documents-template-icon-image { filter: none; }
body .documents-step-number { color: var(--brand); background: var(--selection); }
body .adm-template-option:hover { background: var(--selection); }
body .adm-template-option-icon { color: var(--brand); }
body [id$="-modal"].fixed { background: rgb(22 25 31 / 38%) !important; }
body :is(.editor-modal-shell,.rh-modal-shell) { box-shadow: 0 16px 48px rgb(22 25 31 / 12%); }
body #chat-window { box-shadow: 0 8px 32px rgb(22 25 31 / 12%); }
body .chat-bubble-user { background: var(--selection) !important; color: var(--ink) !important; }
body .chat-bubble-ai { background: var(--canvas) !important; color: var(--ink) !important; }
body .dev-badge-container { display: none; }

/* Login keeps its existing form, validation and Firebase flow. */
body #login-screen { background: #FFFFFF; color: var(--ink); }
body #login-screen .login-layout { max-width: 440px; }
body #login-screen .login-panel { background: #FFFFFF; border: 0; border-radius: 0; box-shadow: none; }
body #login-screen .login-brand { display: flex; flex-direction: column; align-items: center; margin-bottom: 32px; }
/* Compensate for the original file's white margins without cropping or editing it. */
body #login-screen .login-brand-image { display: block; width: 100%; max-width: 360px; height: auto; margin-block: -20%; object-fit: contain; }
body #login-screen, body #login-screen *, body #login-screen *::before, body #login-screen *::after { animation: none !important; transition: none !important; }
body #login-reset-password { color: var(--brand) !important; }

/* SDR includes portfolio, registration, analysis, acceptance and settings. */
body #section-sdr { --sdr-navy: var(--ink); --sdr-ocean: var(--brand); --sdr-ocean-dark: var(--brand); --sdr-surface: var(--surface); --sdr-canvas: var(--canvas); --sdr-line: var(--line); --sdr-muted: var(--muted); color: var(--ink); }
body #section-sdr :is(h1,h2,h3,h4,button,input,select,textarea) { font-family: inherit; }
body :is(.sdr-topbar,.sdr-panel,.sdr-metric,.sdr-form-card,.sdr-command-hero,.sdr-portfolio-metric,.sdr-detail-main,.sdr-notifications,.sdr-modal-card,.sdr-result-card,.sdr-document-option,.sdr-expandable) { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; box-shadow: none; }
body .sdr-command-hero { min-height: 0; padding: 24px; }
body .sdr-command-hero::after { content: none; }
body .sdr-command-eyebrow { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 500; }
body .sdr-command-hero .sdr-title, body .sdr-command-hero .sdr-title span { color: var(--ink); font-size: 24px; }
body .sdr-command-hero .sdr-subtitle { color: var(--muted); }
body .sdr-command-status { color: var(--muted); background: var(--canvas); border-color: var(--line); }
body .sdr-portfolio-metric { border-top: 1px solid var(--line); }
body .sdr-portfolio-metric > span, body .sdr-portfolio-metric > small { color: var(--muted); }
body .sdr-portfolio-metric > span, body .sdr-portfolio-metric > small, body .sdr-field, body .sdr-help, body .sdr-badge { font-size: 12px; }
body .sdr-portfolio-metric > strong { color: var(--ink); }
body .sdr-portfolio-metric > span i { color: var(--muted); }
body .sdr-portfolio-metric[aria-pressed=true], body .sdr-lead-card[aria-selected=true] { background: var(--selection); border-color: var(--brand); transform: none; }
body .sdr-lead-card[aria-selected=true] p { color: var(--muted-on-selection) !important; }
body .sdr-lead-card[aria-selected=true] p { color: var(--muted-on-selection) !important; }
body .sdr-primary { color: white; background: var(--brand); box-shadow: none; }
body .sdr-secondary, body .sdr-save-button { color: var(--ink); background: var(--surface); border-color: var(--line); }
body .sdr-danger { color: #B42318; background: #FEF3F2; }
body .sdr-success { color: #176B45; background: #EFF8F2; }
body .sdr-badge { background: var(--canvas); color: var(--muted); }
body .sdr-badge.hot, body .sdr-badge.approved { background: #EFF8F2; color: #176B45; }
body .sdr-badge.warm, body .sdr-badge.waiting { background: #FFFAEB; color: #854A0E; }
body .sdr-badge.rejected { background: #FEF3F2; color: #B42318; }
body .sdr-badge.forwarded { background: var(--selection); color: var(--brand); }
body .sdr-view-tab.active, body .sdr-step.active { background: var(--selection); color: var(--brand); border-color: var(--line); box-shadow: inset 0 -2px var(--brand); }
body :is(.sdr-progress-track,.sdr-score-track) { background: var(--line); }
body :is(.sdr-progress-track,.sdr-score-track) span { background: var(--brand); }
body .sdr-modal { background: rgb(22 25 31 / 38%); }
body .sdr-icon-action { border-color: var(--line); background: var(--surface); color: var(--muted); }
body :is(.sdr-avatar,.sdr-document-icon,.sdr-question-number) { color: var(--brand); background: var(--selection); }

/* Auxiliary training pages use the same palette, retaining their lesson content. */
body.platino-training { background: var(--canvas) !important; }
body.platino-training :is(.barra-lateral,.area-logotipo,.presentation-frame,.slide-container,.slide,.glass,.glass-dark,.caixa-destaque,.caixa-venda) { background: var(--surface) !important; color: var(--ink); border-color: var(--line); box-shadow: none; }
body.platino-training .bg-overlay { background: white; opacity: .97; }
body.platino-training :is(.logo-text,.titulo-trilho,.item-etapa,.numero-etapa) { color: var(--muted); }
body.platino-training .item-etapa.ativo { color: var(--brand); background: var(--selection); border-color: var(--line); }
body.platino-training .item-etapa.ativo .numero-etapa { color: var(--brand); background: var(--selection); }
body.platino-training :is(.botao-nav,.nav-button) { background: var(--brand); color: white; border: 1px solid var(--brand); border-radius: 8px; }
body.platino-training .botao-nav:disabled { background: var(--canvas); color: var(--muted); border-color: var(--line); }
body.platino-training .slide-title { color: var(--ink); }
body.platino-training :is(h1,h2) { font-size: clamp(24px, 3vw, 32px); }
body.platino-training .card-metallic { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; }
body.platino-training [style*="color:"] { color: var(--ink) !important; }
body.platino-training [style*="background:"] { background: var(--canvas) !important; }
body.platino-training .btn-nav { background: var(--brand); color: white; border: 1px solid var(--brand); border-radius: 8px; }
body.platino-training .btn-nav i { color: inherit; }
body.platino-training .slide-controls { background: var(--surface); border-top: 1px solid var(--line); }
body .timeline-floating-card { animation: none; }
body :is(.timeline-floating-card,.training-card,.documents-template-card):hover { transform: none; }
body .monthly-goal-progress { height: 6px; overflow: hidden; background: var(--line); border-radius: 6px; }
body #monthly-goal-bar { height: 100%; width: 0; background: var(--brand); transition: width .2s; }
body [role=tooltip] { padding: 8px 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 6px; box-shadow: 0 4px 12px rgb(22 25 31 / 8%); }
body [class*="animate-pulse"] { background: var(--canvas) !important; }
body .topbar-profile { color: var(--muted); border: 1px solid var(--line); background: white; }
body .topbar-profile:hover { background: var(--selection); color: var(--brand); }
body .ranking-row .ph-fire { display: none; }
body .content-section h2 > .ph, body .ph-file-pdf { color: var(--brand) !important; }

@media (max-width: 1024px) {
  body .sdr-command-hero { align-items: flex-start; gap: 16px; flex-wrap: wrap; }
  body .topbar-search-shell { width: min(28rem, calc(100vw - 34rem)); }
  body #workspace-focus-list > article { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  body #content-viewport { padding: 20px 16px; }
  body .app-topbar { min-height: 64px; }
  body .topbar-search-shell { display: none; }
  body .home-command-copy h2 { font-size: 24px; }
  body .home-bento-card, body .performance-arena, body .sdr-command-hero { padding: 16px; }
  body .home-bento-grid { display: flex; flex-direction: column; }
  body .quick-action-grid { grid-template-columns: 1fr; }
  body .content-section :is(h2,.section-title) { font-size: 22px; }
  body .content-section > div > .flex.items-center.justify-between { flex-wrap: wrap; gap: 16px; }
  body :is(input,select,textarea) { font-size: 16px !important; }
  body .procedure-heading { gap: 0; }
  body .procedure-title { gap: 8px; }
  body .procedure-title h3 { font-size: 15px; }
  body .procedure-edit { padding: 8px; }
  body .procedure-toggle { padding: 16px 12px; }
  body .sdr-command-actions { width: 100%; flex-wrap: wrap; }
  body .suggestion-shell { padding: 20px 16px; }
  body #section-ideias > div > .flex { flex-wrap: wrap; }
  body .overflow-x-auto { max-width: 100%; }
  body #workspace-focus-list > article { grid-template-columns: 1fr; gap: 8px; }
  body #workspace-focus-list > article > button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
