@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

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

:root {
  --brand: #6C5CE7;
  --brand-dark: #5A4BD1;
  --brand-light: #EEF0FF;
  --brand-glow: rgba(108,92,231,0.18);
  --coral: #E17055;
  --coral-light: #FFF0EC;
  --green: #00B894;
  --green-dark: #00997C;
  --green-light: #E6FAF7;
  --red: #D63031;
  --red-light: #FFEBEB;
  --amber: #FDCB6E;
  --amber-dark: #B8860B;
  --amber-light: #FFFBEE;

  --bg: #F0F2F8;
  --surface: #FFFFFF;
  --surface2: #F7F8FC;
  --border: rgba(0,0,0,0.06);
  --border-md: rgba(0,0,0,0.10);

  --text: #0F0E17;
  --text-2: #525064;
  --text-3: #A8A6C0;

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --s1: 0 1px 4px rgba(0,0,0,0.06);
  --s2: 0 4px 16px rgba(0,0,0,0.08);
  --s3: 0 8px 32px rgba(0,0,0,0.10);
}

html, body {
  min-height: 100%;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ─── LOGIN ─────────────────────────────── */
#login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1a1740 0%, #6C5CE7 60%, #a29bfe 100%);
}

.login-box {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}

.login-heart {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--coral), #fd79a8);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 24px rgba(225,112,85,0.35);
}

.login-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.login-sub {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 2rem;
}

.login-form { display: flex; flex-direction: column; gap: 10px; }

.inp {
  background: var(--surface2);
  border: 1.5px solid var(--border-md);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text);
  width: 100%;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.inp:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
  background: var(--surface);
}
select.inp { cursor: pointer; }

.btn-login {
  background: linear-gradient(135deg, var(--brand), #a29bfe);
  color: white;
  border: none;
  border-radius: var(--r-sm);
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 18px var(--brand-glow);
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: inherit;
}
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 8px 24px var(--brand-glow); }
.btn-login:active { transform: scale(0.98); }
.login-error { font-size: 12px; color: var(--red); min-height: 18px; margin-top: 2px; }

/* ─── APP SHELL ─────────────────────────── */
#app { min-height: 100vh; }

/* ─── TOP HEADER (purple hero) ─────────── */
.app-header {
  background: linear-gradient(160deg, #1a1740 0%, #6C5CE7 100%);
  padding: 0 1.5rem;
  padding-bottom: 1.5rem;
  position: relative;
}

.header-top {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  gap: 12px;
}

.brand-mark {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  color: white;
  flex: 1;
  letter-spacing: -0.3px;
}

.brand-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  margin-top: 1px;
}

.btn-logout {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: background 0.15s;
}
.btn-logout:hover { background: rgba(255,255,255,0.2); }

/* ─── NAV TABS ──────────────────────────── */
.nav-tabs-wrap {
  overflow-x: auto;
  padding-bottom: 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.nav-tabs-wrap::-webkit-scrollbar { display: none; }

.nav-tabs {
  display: flex;
  gap: 4px;
  padding: 0.5rem 0;
}

.tab {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  border-radius: 99px;
  white-space: nowrap;
  user-select: none;
  transition: all 0.15s;
  font-family: inherit;
}
.tab:hover { color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.08); }
.tab.active {
  color: var(--brand);
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

/* ─── PAGES ─────────────────────────────── */
.pages-wrap {
  padding: 1.25rem 1rem 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page { display: none; }
.page.active { display: block; }

/* ─── SUMMARY HERO CARD ─────────────────── */
.hero-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--s3);
  border: 1px solid var(--border);
}

.hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-top: 1.25rem;
}

.hero-cell {
  background: var(--surface2);
  padding: 1rem;
  text-align: center;
}

.hero-cell-lbl {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 5px;
}

.hero-cell-val {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* ─── METRICS GRID ───────────────────────── */
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
  gap: 10px;
  margin-bottom: 1rem;
}

.met {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.125rem;
  box-shadow: var(--s1);
}

.met-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  margin-bottom: 10px;
}

.met-l { font-size: 11px; color: var(--text-3); font-weight: 500; margin-bottom: 4px; }
.met-v { font-size: 20px; font-weight: 700; letter-spacing: -0.5px; }
.met-s { font-size: 11px; color: var(--text-3); margin-top: 3px; }

.c-green { color: var(--green); }
.c-red   { color: var(--red);   }
.c-amber { color: var(--amber-dark); }
.c-brand { color: var(--brand); }
.green { color: var(--green); }
.red   { color: var(--red);   }
.amber { color: var(--amber-dark); }

/* ─── CARD ───────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.375rem;
  margin-bottom: 1rem;
  box-shadow: var(--s1);
}

.card-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
}

/* ─── BUTTON PRIMARY ────────────────────── */
.btn-primary {
  background: var(--brand-light);
  border: 1.5px solid rgba(108,92,231,0.2);
  border-radius: 99px;
  padding: 7px 15px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  color: var(--brand);
  transition: all 0.15s;
  font-family: inherit;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--brand); color: white; border-color: var(--brand); }

/* ─── BADGES ─────────────────────────────── */
.bdg {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 99px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.1px;
}
.bdg-g  { background: var(--green-light);  color: var(--green-dark); }
.bdg-a  { background: var(--amber-light);  color: var(--amber-dark); }
.bdg-r  { background: var(--red-light);    color: var(--red); }
.bdg-p  { background: var(--brand-light);  color: var(--brand-dark); }
.bdg-gr { background: var(--surface2);     color: var(--text-2); border: 1px solid var(--border-md); }

/* ─── SECTION SEPARATOR ─────────────────── */
.section-sep {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 18px 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-sep::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ─── SERVICE LIST ───────────────────────── */
.svc-item { border-bottom: 1px solid var(--border); }
.svc-item:last-child { border-bottom: none; }

.svc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 8px;
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: background 0.12s;
}
.svc-row:hover { background: var(--surface2); }

.svc-dot {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.svc-chevron { font-size: 9px; color: var(--text-3); transition: transform 0.2s; flex-shrink: 0; }
.svc-chevron.open { transform: rotate(90deg); color: var(--brand); }
.svc-name { flex: 1; font-weight: 600; font-size: 13px; }
.svc-actions { display: flex; gap: 2px; opacity: 0; transition: opacity 0.15s; }
.svc-row:hover .svc-actions { opacity: 1; }

.svc-expand {
  display: none;
  margin: 0 0 12px 56px;
  background: var(--surface2);
  border-radius: var(--r-sm);
  padding: 1rem;
  border-left: 3px solid var(--brand);
}
.svc-expand.open { display: block; }

.exp-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 12px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.exp-row:last-child { border-bottom: none; }
.exp-row span:last-child { font-weight: 700; color: var(--text); }

/* ─── PROGRESS BAR ───────────────────────── */
.prog-wrap { margin: 8px 0 4px; }
.prog-track { height: 5px; background: var(--border); border-radius: 99px; overflow: hidden; }
.prog-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), #a29bfe); transition: width 0.5s; }
.prog-labels { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-3); margin-top: 4px; }

/* ─── FLUXO ──────────────────────────────── */
.month-nav {
  background: linear-gradient(135deg, #1a1740 0%, #6C5CE7 100%);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px var(--brand-glow);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-arrow {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  font-size: 18px;
  color: white;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
  user-select: none;
}
.nav-arrow:hover { background: rgba(255,255,255,0.22); }
.nav-arrow:disabled { opacity: 0.25; cursor: default; }

.month-center { text-align: center; }
.month-label { font-size: 20px; font-weight: 800; color: white; letter-spacing: -0.5px; }
.month-sub { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 3px; }

.fc-summary {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 1rem;
}

.fc-box {
  border-radius: var(--r-md);
  padding: 1.125rem;
  text-align: center;
  box-shadow: var(--s1);
}
.fc-box-ent { background: var(--green-light); }
.fc-box-sai { background: var(--red-light); }
.fc-box-sal { background: var(--surface); border: 1px solid var(--border); }

.fc-box-lbl {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.lbl-ent { color: var(--green-dark); }
.lbl-sai { color: var(--red); }
.lbl-sal { color: var(--text-3); }
.fc-box-val { font-size: 18px; font-weight: 700; letter-spacing: -0.5px; }

.saldo-acc-box {
  background: var(--brand-light);
  border: 1.5px solid rgba(108,92,231,0.2);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.saldo-acc-lbl { font-size: 13px; font-weight: 600; color: var(--brand); }
.saldo-acc-val { font-size: 18px; font-weight: 800; letter-spacing: -0.5px; }

.fc-section-lbl {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fc-section-lbl::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.mov-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: background 0.12s;
}
.mov-row:hover { background: var(--surface2); }
.mov-row:last-child { border-bottom: none; }

.mov-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.icon-ent { background: var(--green-light); }
.icon-sai { background: var(--red-light); }

.mov-info { flex: 1; min-width: 0; }
.mov-desc { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mov-meta { font-size: 11px; color: var(--text-3); margin-top: 2px; font-weight: 500; }
.mov-val { font-size: 15px; font-weight: 700; white-space: nowrap; letter-spacing: -0.3px; }
.fc-empty { text-align: center; padding: 3rem; color: var(--text-3); font-size: 13px; }

.fab-row { display: flex; justify-content: flex-end; margin-top: 1.25rem; }
.fab {
  background: linear-gradient(135deg, var(--brand), #a29bfe);
  color: white;
  border: none;
  border-radius: 99px;
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px var(--brand-glow);
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: inherit;
  letter-spacing: 0.2px;
}
.fab:hover { transform: translateY(-2px); box-shadow: 0 10px 28px var(--brand-glow); }
.fab:active { transform: scale(0.97); }

/* ─── CRONOGRAMA ─────────────────────────── */
.task-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: background 0.12s;
}
.task-item:hover { background: var(--surface2); }
.task-item:last-child { border-bottom: none; }

.chk {
  width: 20px; height: 20px;
  border: 2px solid var(--border-md);
  border-radius: 6px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all 0.15s;
}
.chk:hover { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,184,148,0.15); }
.chk.done { background: var(--green); border-color: var(--green); }
.chk.done::after {
  content: '';
  width: 9px; height: 5px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translateY(-1px);
  display: block;
}

.task-body { flex: 1; min-width: 0; }
.task-text { color: var(--text); font-weight: 600; font-size: 13px; }
.task-text.done { text-decoration: line-through; color: var(--text-3); font-weight: 400; }
.task-meta { font-size: 11px; color: var(--text-3); margin-top: 3px; font-weight: 500; }

/* ─── QUICK DELIVER ──────────────────────── */
.quick-deliver {
  font-size: 11px;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--green-light);
  border: 1.5px solid rgba(0,184,148,0.25);
  border-radius: 99px;
  padding: 3px 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.quick-deliver:hover {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

/* ─── CONVIDADOS ─────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.filter-tab {
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border-md);
  background: var(--surface2);
  color: var(--text-2);
  transition: all 0.15s;
  user-select: none;
  font-family: inherit;
}
.filter-tab:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-light); }
.filter-tab.on {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  box-shadow: 0 2px 10px var(--brand-glow);
}

.table-wrap { overflow-x: auto; }

.data-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.data-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 800;
  color: var(--text-3);
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.data-table td { padding: 11px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr { transition: background 0.1s; }
.data-table tbody tr:hover { background: var(--surface2); }

/* ─── APARTAMENTO ────────────────────────── */
.ap-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: background 0.12s;
}
.ap-item:hover { background: var(--surface2); }
.ap-item:last-child { border-bottom: none; }

.ap-dot {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ap-info { flex: 1; min-width: 0; }
.ap-name { font-weight: 600; font-size: 13px; }
.ap-sub { font-size: 11px; color: var(--text-3); margin-top: 2px; font-weight: 500; }

.status-select {
  background: var(--surface2);
  border: 1.5px solid var(--border-md);
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.15s;
}
.status-select:focus { outline: none; border-color: var(--brand); }

/* ─── EDIT / DEL ─────────────────────────── */
.edit-btn {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  cursor: pointer;
  padding: 4px 9px;
  border-radius: 7px;
  transition: background 0.1s;
}
.edit-btn:hover { background: var(--brand-light); }

.del-btn {
  font-size: 15px;
  color: var(--text-3);
  cursor: pointer;
  padding: 4px 7px;
  border-radius: 7px;
  transition: all 0.1s;
  line-height: 1;
}
.del-btn:hover { background: var(--red-light); color: var(--red); }

/* ─── MODAL ──────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,14,23,0.5);
  z-index: 1000;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--surface);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 0.75rem 1.5rem 2rem;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
}

.modal-drag {
  width: 36px; height: 4px;
  background: var(--border-md);
  border-radius: 99px;
  margin: 0 auto 1.25rem;
}

.modal-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-title { font-size: 16px; font-weight: 800; letter-spacing: -0.3px; }

.modal-close {
  background: var(--surface2);
  border: none;
  border-radius: 50%;
  width: 30px; height: 30px;
  font-size: 16px;
  cursor: pointer;
  color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.modal-close:hover { background: var(--red-light); color: var(--red); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.form-row1 { margin-bottom: 12px; }
.form-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-3);
  margin-bottom: 6px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-row {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.btn-save {
  background: linear-gradient(135deg, var(--brand), #a29bfe);
  color: white;
  border: none;
  border-radius: 99px;
  padding: 11px 26px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 16px var(--brand-glow);
  transition: transform 0.1s;
}
.btn-save:hover { transform: translateY(-1px); }
.btn-save:active { transform: scale(0.97); }

.btn-cancel {
  background: var(--surface2);
  border: 1.5px solid var(--border-md);
  border-radius: 99px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-2);
  font-family: inherit;
  transition: background 0.15s;
}
.btn-cancel:hover { background: var(--bg); }

/* ─── SCROLLBAR ──────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-md); border-radius: 99px; }

.loading { text-align: center; padding: 2.5rem; color: var(--text-3); font-size: 13px; font-weight: 500; }

@media (max-width: 600px) {
  .tab { padding: 7px 13px; font-size: 12px; }
  .pages-wrap { padding: 1rem 0.875rem 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .fc-summary { grid-template-columns: 1fr 1fr; }
  .hero-row { grid-template-columns: 1fr 1fr; }
}
