/* ═══════════════════════════════════════
   TOKENS & RESET
═══════════════════════════════════════ */
:root {
  --primary: #6C63FF;
  --primary-light: #EEF0FF;
  --primary-dark: #5A52E0;
  --accent: #FF6B9D;
  --success: #22C55E;
  --success-light: #DCFCE7;
  --danger: #F43F5E;
  --danger-light: #FFE4E9;
  --warning: #F59E0B;

  --bg: #F5F6FA;
  --surface: #FFFFFF;
  --surface2: #F0F1F8;
  --border: rgba(108,99,255,.12);

  --text-primary: #1A1A2E;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(108,99,255,.08);
  --shadow-md: 0 8px 24px rgba(108,99,255,.12);
  --shadow-lg: 0 16px 48px rgba(108,99,255,.18);

  --transition: .2s cubic-bezier(.4,0,.2,1);
  --transition-slow: .35s cubic-bezier(.4,0,.2,1);

  --header-h: 130px;
  --fab-bottom: 28px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button { cursor: pointer; border: none; background: none; font-family: inherit; }
input  { font-family: inherit; }
a      { color: inherit; text-decoration: none; }

/* ═══════════════════════════════════════
   SCREENS
═══════════════════════════════════════ */
.screen {
  display: none;
  flex-direction: column;
  min-height: 100dvh;
  position: relative;
}
.screen.active { display: flex; }

/* ═══════════════════════════════════════
   APP HEADER
═══════════════════════════════════════ */
.app-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 52px 20px 16px;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: var(--shadow-md);
}
.header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-icon { font-size: 28px; }
.header-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.header-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,.72);
  margin-top: 2px;
}
.flex-1 { flex: 1; }
.flex-2 { flex: 2; }
.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

/* Back button */
.btn-back {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.18);
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
  transition: background var(--transition);
}
.btn-back:active { background: rgba(255,255,255,.3); }

/* Icon button in header */
.btn-icon-header {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.18);
  border-radius: 14px;
  color: #fff;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.btn-icon-header:active { background: rgba(255,255,255,.3); transform: scale(.93); }
/* Botão de seleção ativo no header */
.btn-icon-header.sel-active {
  background: rgba(255,255,255,.95);
  color: var(--primary);
}

/* Summary pills */
.summary-bar {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.summary-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  background: rgba(255,255,255,.18);
  border-radius: 50px;
  color: #fff;
}
.summary-pill.accent  { background: rgba(255,107,157,.35); }
.summary-pill.success { background: rgba(34,197,94,.3); }

/* ═══════════════════════════════════════
   LISTS SCREEN
═══════════════════════════════════════ */
.lists-container {
  padding: 20px 16px 120px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

/* List card */
.list-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 18px 18px 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
  animation: cardIn .3s ease both;
}
.list-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 4px 0 0 4px;
}
.list-card:active { transform: scale(.98); box-shadow: var(--shadow-md); }

.list-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.list-card-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  flex: 1;
}
.list-card-menu {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.list-card-btn {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: background var(--transition), transform var(--transition);
}
.list-card-btn:active { transform: scale(.88); }
.list-card-btn.edit  { background: var(--primary-light); }
.list-card-btn.del   { background: var(--danger-light); }

.list-card-meta {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.list-meta-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--text-secondary);
  font-weight: 500;
}
.list-meta-chip .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.list-meta-chip.total { color: var(--primary); font-weight: 700; font-size: 14px; }

.list-card-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ═══════════════════════════════════════
   ITEMS SCREEN
═══════════════════════════════════════ */
.items-container {
  padding: 16px 16px 140px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

/* Item card */
.item-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 14px 14px 12px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  animation: cardIn .28s ease both;
}
.item-card.bought {
  opacity: .6;
  background: var(--surface2);
  border-color: transparent;
}
.item-card.bought .item-name { text-decoration: line-through; color: var(--text-muted); }

.item-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Checkbox */
.item-check {
  width: 26px; height: 26px;
  border-radius: 8px;
  border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
  cursor: pointer;
}
.item-check.checked {
  background: var(--success);
  border-color: var(--success);
}
.item-check svg { display: none; }
.item-check.checked svg { display: block; }

.item-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  transition: color var(--transition);
}
.item-card-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.item-btn {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: background var(--transition), transform var(--transition);
}
.item-btn:active { transform: scale(.88); }
.item-btn.edit { background: var(--primary-light); }
.item-btn.del  { background: var(--danger-light); }

.item-card-bottom {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  align-items: center;
  flex-wrap: wrap;
}
.item-detail {
  font-size: 12.5px;
  color: var(--text-secondary);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 500;
}
.item-total-chip {
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

/* ═══════════════════════════════════════
   FAB
═══════════════════════════════════════ */
.fab {
  position: fixed;
  bottom: var(--fab-bottom);
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(108,99,255,.4);
  transition: transform var(--transition), box-shadow var(--transition);
  z-index: 20;
  padding: 0;
}
.fab:active { transform: scale(.92); box-shadow: 0 4px 14px rgba(108,99,255,.4); }
.fab-icon { font-size: 28px; line-height: 1; }
.fab-label { display: none; }

/* FAB secundário (calculadora) — acima do FAB principal */
.fab-secondary {
  bottom: calc(var(--fab-bottom) + 56px + 12px);
  background: var(--surface);
  color: var(--primary);
  box-shadow: 0 4px 18px rgba(108,99,255,.22);
  border: 1.5px solid var(--border);
}

/* ═══════════════════════════════════════
   MODALS / SHEETS
═══════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,.45);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}
.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
.modal-sheet {
  background: var(--surface);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 8px 20px 34px;
  width: 100%;
  max-height: 92dvh;
  overflow-y: auto;
  transform: translateY(110%);
  transition: transform var(--transition-slow);
}
.modal-backdrop.open .modal-sheet { transform: translateY(0); }
.modal-sheet--sm { padding-bottom: 28px; }

.modal-handle {
  width: 40px; height: 4px;
  background: #E5E7EB;
  border-radius: 99px;
  margin: 8px auto 20px;
}
.modal-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-align: center;
}
.modal-desc {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 22px;
  line-height: 1.5;
}
.confirm-icon { text-align: center; font-size: 40px; margin-bottom: 8px; }

/* ═══════════════════════════════════════
   FORM
═══════════════════════════════════════ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: .3px;
}
.form-input {
  height: 52px;
  border: 1.5px solid #E5E7EB;
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,.15);
  background: #fff;
}
.form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 4px;
}
.form-row .form-group { margin-bottom: 10px; }

.item-preview {
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--primary-dark);
  margin-bottom: 18px;
  text-align: center;
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.btn {
  flex: 1;
  height: 52px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(108,99,255,.35);
}
.btn-ghost {
  background: var(--surface2);
  color: var(--text-secondary);
}
.btn-danger {
  background: linear-gradient(135deg, var(--danger), #C0163A);
  color: #fff;
  box-shadow: 0 4px 14px rgba(244,63,94,.3);
}

/* ═══════════════════════════════════════
   CALCULADORA
═══════════════════════════════════════ */
.calc-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,.5);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}
.calc-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
.calc-sheet {
  background: #1C1C2E;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  width: 100%;
  max-height: 96dvh;
  padding: 0 14px 32px;
  transform: translateY(110%);
  transition: transform var(--transition-slow);
  box-shadow: 0 -8px 40px rgba(0,0,0,.4);
}
.calc-backdrop.open .calc-sheet { transform: translateY(0); }

.calc-handle-bar {
  padding: 6px 0 0;
  display: flex;
  justify-content: center;
}
.calc-handle-bar .modal-handle { background: rgba(255,255,255,.15); }

/* Display */
.calc-display {
  padding: 10px 6px 16px;
  text-align: right;
}
.calc-expression {
  font-size: 15px;
  color: rgba(255,255,255,.45);
  min-height: 22px;
  word-break: break-all;
  letter-spacing: .3px;
  margin-bottom: 4px;
}
.calc-result {
  font-size: 52px;
  font-weight: 300;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: font-size .15s ease;
}

/* Grid */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

/* Buttons */
.calc-btn {
  height: 72px;
  border-radius: 18px;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  background: #2A2A42;
  transition: background var(--transition), transform .1s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.calc-btn:active { transform: scale(.93); }

.calc-btn--fn { background: #3A3A5A; font-size: 17px; font-weight: 600; }
.calc-btn--op {
  background: var(--primary);
  font-size: 26px;
  font-weight: 400;
  box-shadow: 0 4px 16px rgba(108,99,255,.35);
}
.calc-btn--op.active-op { background: #fff; color: var(--primary); }

/* Zero spans 2 cols */
.calc-btn--zero { grid-column: span 2; border-radius: 36px; text-align: left; padding-left: 28px; }

.calc-close-btn {
  display: block;
  width: 100%;
  margin-top: 14px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.55);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition);
}
.calc-close-btn:active { background: rgba(255,255,255,.14); }

/* ═══════════════════════════════════════
   EMPTY STATE
═══════════════════════════════════════ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 28px;
  text-align: center;
  flex: 1;
}
.empty-icon { font-size: 56px; margin-bottom: 16px; }
.empty-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.empty-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 260px;
}

/* ═══════════════════════════════════════
   TOAST
═══════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1A1A2E;
  color: #fff;
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  white-space: nowrap;
  max-width: 90vw;
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ═══════════════════════════════════════
   LOADING
═══════════════════════════════════════ */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .4s;
}
.loading-overlay.hidden { opacity: 0; pointer-events: none; }
.loading-spinner {
  width: 44px; height: 44px;
  border: 3px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════
   AUTH SCREENS
═══════════════════════════════════════ */

/* Estilo visual das telas de auth (não interferem na visibilidade) */
#screen-login,
#screen-otp {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 55%, #3D0F8F 100%);
  align-items: center;
  justify-content: center;
  padding: 24px 20px 40px;
  gap: 0;
}
/* display é controlado exclusivamente pelo .screen / .screen.active */

.auth-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 0 28px;
  animation: fadeUp .5s ease both;
}
.auth-hero--otp { padding-top: 48px; }

.auth-logo-img {
  width: 88px; height: 88px;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.auth-otp-icon { font-size: 64px; line-height: 1; }

.auth-app-name {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
}
.auth-app-name span { color: rgba(255,255,255,.75); }

.auth-tagline {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  text-align: center;
}

/* Card branco */
.auth-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 28px 22px 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 64px rgba(0,0,0,.28);
  animation: fadeUp .5s .12s ease both;
}
.auth-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
  text-align: center;
}
.auth-desc {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.5;
}
.auth-footer {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

/* Botão full width */
.btn-full { width: 100%; margin-top: 4px; }

/* OTP input estilizado */
.otp-input {
  text-align: center;
  font-size: 28px !important;
  font-weight: 700 !important;
  letter-spacing: 10px;
  color: var(--primary) !important;
}

/* Links de texto */
.auth-links {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  gap: 8px;
}
.btn-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: none;
  padding: 6px 2px;
  transition: opacity var(--transition);
}
.btn-link:active { opacity: .6; }

/* Campo de senha com toggle */
.pass-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.pass-wrap .form-input {
  padding-right: 48px;
  width: 100%;
}
.btn-pass-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: color var(--transition);
}
.btn-pass-toggle:hover { color: var(--primary); }


/* ═══════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

/* ═══════════════════════════════════════
   SELEÇÃO EM MASSA
═══════════════════════════════════════ */

/* Barra de ação flutuante */
.sel-action-bar {
  position: fixed;
  bottom: calc(var(--fab-bottom) + 56px + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--text-primary);
  color: #fff;
  border-radius: 50px;
  padding: 6px 6px 6px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 25;
  white-space: nowrap;
  min-width: 260px;
  justify-content: space-between;
}
.sel-action-bar.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.sel-bar-count {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  flex: 1;
  text-align: center;
}
.sel-bar-btn {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  padding: 8px 14px;
  border-radius: 50px;
  background: rgba(255,255,255,.14);
  transition: background var(--transition);
}
.sel-bar-btn:active { background: rgba(255,255,255,.25); }
.sel-bar-del {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  padding: 8px 14px;
  border-radius: 50px;
  background: var(--danger);
  box-shadow: 0 2px 10px rgba(244,63,94,.4);
  transition: background var(--transition), transform var(--transition);
}
.sel-bar-del:active { background: #C0163A; transform: scale(.96); }

/* Cartões em modo seleção */
.list-card .card-sel-check,
.item-card .card-sel-check {
  display: none; /* escondido por padrão */
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
  background: #fff;
}
.is-selecting .list-card .card-sel-check,
.is-selecting .item-card .card-sel-check {
  display: flex;
}
.is-selecting .list-card { cursor: default; }
.is-selecting .item-card { cursor: default; }

/* Cartão selecionado */
.list-card.card-selected,
.item-card.card-selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 2px rgba(108,99,255,.25);
}
.list-card.card-selected .card-sel-check,
.item-card.card-selected .card-sel-check {
  background: var(--primary);
  border-color: var(--primary);
}
.card-sel-check svg { display: none; }
.card-selected .card-sel-check svg { display: block; }

/* ═══════════════════════════════════════
   RESPONSIVE — tablet+
═══════════════════════════════════════ */
@media (min-width: 600px) {
  .lists-container { max-width: 600px; margin: 0 auto; }
  .items-container { max-width: 600px; margin: 0 auto; }
  .calc-sheet { max-width: 420px; margin: 0 auto; }
  .modal-sheet { max-width: 480px; margin: 0 auto; }
  .fab { right: calc(50% - 280px); }
}
