/* ===========================================================
   Planner — app.css  ·  v01.00
   Estilo: Trello / Notion clean · Inter · mobile-first
   =========================================================== */

/* -------- Tokens -------- */
:root {
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #f0f1f4;
  --surface-3: #e9ebef;
  --border: #e2e4e9;
  --border-strong: #d2d6dd;

  --text: #1f2430;
  --text-soft: #5b616e;
  --text-faint: #8a909c;

  --accent: #2f6fed;
  --accent-hover: #235bd0;
  --accent-soft: #e7efff;

  --danger: #e5484d;
  --danger-soft: #fdecec;
  --warning: #d9821a;
  --success: #2f9e5e;

  --pessoal: #7a5af8;
  --trabalho: #2f6fed;

  --shadow-sm: 0 1px 2px rgba(20, 24, 32, .06), 0 1px 3px rgba(20, 24, 32, .05);
  --shadow-md: 0 4px 12px rgba(20, 24, 32, .10);
  --shadow-lg: 0 12px 32px rgba(20, 24, 32, .18);

  --radius: 10px;
  --radius-sm: 7px;
  --radius-lg: 16px;

  --header-h: 56px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16181d;
    --surface: #1f2229;
    --surface-2: #23262e;
    --surface-3: #2b2f39;
    --border: #2e333d;
    --border-strong: #3a404b;

    --text: #e8eaee;
    --text-soft: #aab0bc;
    --text-faint: #767d8a;

    --accent: #5b8cff;
    --accent-hover: #6f9bff;
    --accent-soft: #20304f;

    --danger: #ff6166;
    --danger-soft: #3a2526;
    --warning: #e0a24a;
    --success: #4cc27e;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, .45);
    --shadow-lg: 0 14px 36px rgba(0, 0, 0, .55);
  }
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior-y: none;
}
[hidden] { display: none !important; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }
h1, h2, h3, p { margin: 0; }

/* -------- Botões base -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 9px 15px; font-size: 14px; font-weight: 600;
  background: var(--surface-2); color: var(--text);
  transition: background .12s, border-color .12s, transform .04s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 11px; font-size: 13px; }

.link {
  background: none; border: none; color: var(--accent);
  font-weight: 600; font-size: 14px; padding: 2px; text-decoration: none;
}
.link:hover { text-decoration: underline; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: none; border-radius: 50%;
  background: transparent; color: var(--text-soft);
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }

/* -------- Loading bar -------- */
#loading-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1000;
  background: linear-gradient(90deg, var(--accent), #7a5af8);
  transition: width .25s ease, opacity .3s ease; opacity: 0;
}
#loading-bar.active { opacity: 1; }

/* -------- Boot splash -------- */
.boot {
  position: fixed; inset: 0; z-index: 2000; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: var(--bg);
}
.boot.hide { opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.boot-spinner {
  width: 26px; height: 26px; border-radius: 50%;
  border: 3px solid var(--surface-3); border-top-color: var(--accent);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   AUTENTICAÇÃO
   ========================================================= */
.auth-screen {
  min-height: 100dvh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px;
  padding: 24px calc(20px + env(safe-area-inset-right)) calc(24px + var(--safe-bottom)) calc(20px + env(safe-area-inset-left));
  background:
    radial-gradient(120% 80% at 50% -10%, var(--accent-soft), transparent 60%),
    var(--bg);
}
.auth-card {
  width: 100%; max-width: 380px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 26px 22px;
}
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.auth-brand h1 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.auth-brand p { font-size: 13px; color: var(--text-soft); }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--text-soft); }
.field input {
  width: 100%; padding: 11px 13px; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); background: var(--surface); color: var(--text);
  transition: border-color .12s, box-shadow .12s;
}
.field input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.auth-error { color: var(--danger); font-size: 13px; min-height: 0; margin: -4px 0 0; }
.auth-error:empty { display: none; }
.auth-switch { margin-top: 18px; text-align: center; font-size: 14px; color: var(--text-soft); }
.auth-switch .link { margin-left: 4px; }
.auth-forgot { display: block; margin: 10px auto 0; color: var(--text-faint); font-weight: 500; }
.auth-footer { font-size: 11px; letter-spacing: .04em; color: var(--text-faint); text-align: center; }

/* =========================================================
   SHELL DA APLICAÇÃO
   ========================================================= */
.app { display: flex; flex-direction: column; min-height: 100dvh; }

.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 10px;
  height: calc(var(--header-h) + var(--safe-top));
  padding: var(--safe-top) calc(12px + env(safe-area-inset-right)) 0 calc(8px + env(safe-area-inset-left));
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.topbar-left { display: flex; align-items: center; gap: 6px; }
.brand { font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.topbar-right { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.avatar-btn {
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Segmento Área da vida */
.seg {
  display: flex; gap: 2px; padding: 3px; margin: 0 auto;
  background: var(--surface-2); border-radius: 999px;
}
.seg-item {
  border: none; background: transparent; color: var(--text-soft);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  white-space: nowrap; transition: background .12s, color .12s;
}
.seg-item[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

/* Filtros */
.filters {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 10px calc(12px + env(safe-area-inset-right)) 10px calc(12px + env(safe-area-inset-left));
  background: var(--bg);
}
.filters-search { flex: 1 1 100%; }
.filters-search input {
  width: 100%; padding: 9px 12px; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); background: var(--surface); color: var(--text);
}
.filters-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.chip-select {
  appearance: none; -webkit-appearance: none;
  padding: 7px 28px 7px 12px; border: 1px solid var(--border-strong);
  border-radius: 999px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%238a909c'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 9px center;
  color: var(--text); font-size: 13px; font-weight: 500; max-width: 48vw;
}
.chip-select:focus { outline: none; border-color: var(--accent); }
.chip-clear { border: none; background: transparent; color: var(--accent); font-size: 13px; font-weight: 600; }

/* =========================================================
   QUADRO KANBAN
   ========================================================= */
/* Container de telas (uma tela por vez) */
.view { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.view-pad {
  flex: 1; min-height: 0; overflow-y: auto;
  padding: 14px calc(14px + env(safe-area-inset-right)) calc(96px + var(--safe-bottom)) calc(14px + env(safe-area-inset-left));
  -webkit-overflow-scrolling: touch;
}

.board {
  flex: 1; min-height: 0; display: flex; gap: 12px; align-items: flex-start;
  padding: 8px calc(12px + env(safe-area-inset-right)) calc(96px + var(--safe-bottom)) calc(12px + env(safe-area-inset-left));
  overflow-x: auto; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.column {
  flex: 0 0 84vw; max-width: 320px; scroll-snap-align: start;
  display: flex; flex-direction: column; max-height: 100%;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
}
.column-head {
  display: flex; align-items: center; gap: 8px; padding: 11px 12px 8px;
  font-size: 13px; font-weight: 700; color: var(--text-soft); letter-spacing: .01em;
}
.column-head .dot { width: 8px; height: 8px; border-radius: 50%; }
.column-count {
  margin-left: auto; background: var(--surface-3); color: var(--text-soft);
  font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 999px;
}
.column-body {
  flex: 1 1 auto; display: flex; flex-direction: column; gap: 9px; padding: 4px 9px 10px;
  overflow-y: auto; min-height: 40px;
}
.column-body.drop-active { background: var(--accent-soft); border-radius: var(--radius-sm); outline: 2px dashed var(--accent); outline-offset: -4px; }
.column-empty { color: var(--text-faint); font-size: 13px; text-align: center; padding: 14px 6px; }

/* Card */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 11px 12px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 8px; cursor: grab;
  touch-action: pan-y; transition: box-shadow .12s, transform .04s, opacity .12s;
}
.card:hover { box-shadow: var(--shadow-md); }
.card.dragging { opacity: .35; }
.card.overdue { border-left: 3px solid var(--danger); }
.card-drag-clone {
  position: fixed; z-index: 900; pointer-events: none; width: var(--clone-w, 280px);
  box-shadow: var(--shadow-lg); transform: rotate(2deg); cursor: grabbing;
}
.card-area-tag { width: 4px; align-self: stretch; }
.card-title { font-size: 14px; font-weight: 600; line-height: 1.35; word-break: break-word; }
.card-desc { font-size: 13px; color: var(--text-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px;
  background: var(--surface-3); color: var(--text-soft);
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.badge.cli { background: var(--accent-soft); color: var(--accent); }
.badge.prazo { background: var(--surface-3); }
.badge.prazo.atrasado { background: var(--danger-soft); color: var(--danger); }
.badge.prio-alta { background: var(--danger-soft); color: var(--danger); }
.badge.prio-media { background: #fff4e0; color: var(--warning); }
.badge.cat { color: var(--text-soft); }
.card-progress { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-faint); }
.card-progress .bar { flex: 1; height: 4px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.card-progress .bar > i { display: block; height: 100%; background: var(--success); }

/* FAB */
.fab {
  position: fixed; right: calc(18px + env(safe-area-inset-right));
  bottom: calc(74px + var(--safe-bottom)); z-index: 45;
  width: 56px; height: 56px; border-radius: 50%; border: none;
  background: var(--accent); color: #fff; box-shadow: var(--shadow-lg);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .12s, transform .08s;
}
.fab:hover { background: var(--accent-hover); }
.fab:active { transform: scale(.94); }

/* =========================================================
   MODAIS / MENU / TOASTS
   ========================================================= */
.overlay {
  position: fixed; inset: 0; z-index: 100; display: flex;
  background: rgba(15, 18, 26, .45); backdrop-filter: blur(2px);
  animation: fade .14s ease;
}
@keyframes fade { from { opacity: 0; } }
@keyframes slideUp { from { transform: translateY(16px); opacity: .6; } }

.modal {
  margin: auto; width: 100%; max-width: 520px; max-height: 92dvh;
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
  animation: slideUp .16s ease; overflow: hidden;
}
.modal-head {
  display: flex; align-items: center; gap: 10px; padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}
.modal-head h2 { font-size: 16px; font-weight: 700; }
.modal-head .icon-btn { margin-left: auto; }
.modal-body { padding: 16px 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.modal-foot {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px;
  border-top: 1px solid var(--border); background: var(--surface);
}
.modal-foot .spacer { flex: 1; }

.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row > label { font-size: 13px; font-weight: 600; color: var(--text-soft); }
.form-row input[type="text"], .form-row input[type="date"], .form-row textarea, .form-row select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); background: var(--surface); color: var(--text);
}
.form-row textarea { resize: vertical; min-height: 64px; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Checklist / subtarefas dentro do card editor */
.sublist { display: flex; flex-direction: column; gap: 6px; }
.sublist-item { display: flex; align-items: center; gap: 8px; }
.sublist-item input[type="text"] { flex: 1; }
.sublist-item .icon-btn { width: 30px; height: 30px; }
.sublist-add { align-self: flex-start; }
.check { width: 18px; height: 18px; accent-color: var(--accent); flex: 0 0 auto; }

/* Menu lateral / dropdown */
.sheet {
  margin-left: 0; margin-right: auto; width: 86%; max-width: 320px; height: 100dvh;
  background: var(--surface); box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
  animation: slideLeft .18s ease; padding-top: var(--safe-top);
}
@keyframes slideLeft { from { transform: translateX(-100%); } }
.sheet-head { padding: 18px 18px 12px; border-bottom: 1px solid var(--border); }
.sheet-head .who { font-weight: 700; font-size: 15px; }
.sheet-head .mail { font-size: 13px; color: var(--text-soft); word-break: break-all; }
.sheet-nav { display: flex; flex-direction: column; padding: 8px; gap: 2px; }
.sheet-nav button {
  display: flex; align-items: center; gap: 12px; padding: 12px 12px;
  border: none; background: transparent; color: var(--text); font-size: 14px;
  font-weight: 500; border-radius: var(--radius-sm); text-align: left; width: 100%;
}
.sheet-nav button:hover { background: var(--surface-2); }
.sheet-nav button svg { color: var(--text-soft); flex: 0 0 auto; }
.sheet-foot { margin-top: auto; padding: 12px; border-bottom: 0; }
.sheet-version { padding: 8px 18px 18px; font-size: 11px; color: var(--text-faint); letter-spacing: .04em; }

/* Config: listas editáveis */
.reg-list { display: flex; flex-direction: column; gap: 8px; }
.reg-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 11px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface);
}
.reg-item .swatch { width: 14px; height: 14px; border-radius: 4px; flex: 0 0 auto; }
.reg-item .nome { flex: 1; font-weight: 500; }
.reg-item .tag { font-size: 11px; color: var(--text-faint); }
.reg-empty { color: var(--text-faint); font-size: 13px; padding: 8px 2px; }
.color-row { display: flex; gap: 6px; flex-wrap: wrap; }
.color-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; }
.color-dot[aria-pressed="true"] { border-color: var(--text); }

/* Toasts */
#toast-root {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(86px + var(--safe-bottom)); z-index: 1100;
  display: flex; flex-direction: column; gap: 8px; width: max-content; max-width: 92vw;
}
.toast {
  display: flex; align-items: center; gap: 10px; padding: 11px 15px;
  background: #23262e; color: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  font-size: 14px; animation: slideUp .18s ease;
}
.toast.error { background: var(--danger); }
.toast.success { background: var(--success); }

/* Estado vazio do quadro / offline */
.offline-pill {
  position: fixed; left: 50%; transform: translateX(-50%); top: calc(var(--header-h) + var(--safe-top) + 6px);
  z-index: 60; background: var(--warning); color: #fff; font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 999px; box-shadow: var(--shadow-md);
  pointer-events: none;   /* nunca bloqueia toques nos filtros embaixo */
}

/* Telas bem estreitas: evita amontoar a topbar */
@media (max-width: 400px) {
  .brand { display: none; }
}

/* =========================================================
   NAVEGAÇÃO PRINCIPAL (bottom nav)
   ========================================================= */
.bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; justify-content: space-around; align-items: stretch;
  height: calc(58px + var(--safe-bottom)); padding-bottom: var(--safe-bottom);
  background: var(--surface); border-top: 1px solid var(--border);
}
.nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border: none; background: transparent; color: var(--text-faint);
  font-size: 11px; font-weight: 600; padding: 6px 2px;
}
.nav-item span { line-height: 1; }
.nav-item[aria-current="true"] { color: var(--accent); }
.nav-item:active { transform: scale(.95); }

/* =========================================================
   TELAS (Hoje / Tarefas / Eisenhower)
   ========================================================= */
.view-h1 { font-size: 22px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; }
.view-hint { font-size: 13px; color: var(--text-soft); margin-bottom: 14px; }

.hoje-head { margin-bottom: 14px; }
.hoje-title { font-size: 25px; font-weight: 700; letter-spacing: -.02em; }
.hoje-date { font-size: 14px; color: var(--text-soft); }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 6px; text-align: center; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow-sm);
}
.stat-val { font-size: 22px; font-weight: 700; }
.stat-label { font-size: 11px; color: var(--text-soft); font-weight: 600; }

.view-section { margin-bottom: 18px; }
.section-head { display: flex; align-items: center; gap: 8px; margin: 4px 2px 10px; }
.section-head .dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.section-title { font-size: 14px; font-weight: 700; }
.section-count { margin-left: auto; background: var(--surface-3); color: var(--text-soft); font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 999px; }
.card-list { display: flex; flex-direction: column; gap: 9px; }
.card-list .card { cursor: pointer; }
.list-empty { color: var(--text-faint); font-size: 13px; padding: 6px 2px; }

.eisen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eisen-quad {
  background: var(--surface-2); border: 1px solid var(--border); border-top: 3px solid var(--border-strong);
  border-radius: var(--radius); padding: 10px; display: flex; flex-direction: column; gap: 8px; min-height: 130px;
}
.eisen-quad.q-fazer { border-top-color: var(--danger); }
.eisen-quad.q-agendar { border-top-color: var(--accent); }
.eisen-quad.q-delegar { border-top-color: var(--warning); }
.eisen-quad.q-eliminar { border-top-color: var(--text-faint); }
.eisen-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.eisen-titulo { font-size: 13px; font-weight: 700; }
.eisen-sub { font-size: 11px; color: var(--text-faint); }
.eisen-quad .icon-btn { width: 30px; height: 30px; flex: 0 0 auto; }

.check-row { display: flex; gap: 18px; align-items: center; padding: 2px 0; flex-wrap: wrap; }
.check-inline { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; cursor: pointer; }

/* =========================================================
   DESKTOP
   ========================================================= */
@media (min-width: 760px) {
  .bottomnav { justify-content: center; gap: 6px; }
  .nav-item { flex: 0 0 auto; min-width: 104px; flex-direction: row; gap: 8px; font-size: 13px; border-radius: var(--radius); }
  .nav-item[aria-current="true"] { background: var(--accent-soft); }
  .stat-grid { max-width: 640px; }
  .eisen-grid { max-width: 900px; }
  .view-pad { max-width: 1000px; margin: 0 auto; width: 100%; }
  body { font-size: 15px; }
  .seg { margin: 0 0 0 8px; }
  .filters { padding-top: 12px; }
  .filters-search { flex: 0 0 auto; min-width: 260px; }
  .board {
    overflow-x: auto; gap: 16px; padding-left: 20px; padding-right: 20px;
  }
  .column { flex: 1 1 0; min-width: 260px; max-width: none; }
  .modal { animation: fade .14s ease; }
  .sheet { width: 320px; }
}

@media (min-width: 1100px) {
  .board { max-width: 1280px; margin: 0 auto; width: 100%; }
}

/* Acessibilidade: respeitar redução de movimento */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
