/* ═══════════════════════════════════════════════════════════════
   WeCare Hosting — Onboarding System
   Paleta: gradiente coral #D63868 → violeta #8B35C5 (logo WeCare)
   ═══════════════════════════════════════════════════════════════ */

/* ─── Tokens ─── */
:root {
  /* Brand */
  --brand-red:    #D63868;
  --brand-purple: #8B35C5;
  --brand-grad:   linear-gradient(135deg, #D63868 0%, #8B35C5 100%);
  --brand-grad-h: linear-gradient(135deg, #C02F5C 0%, #7A2CB0 100%);

  /* UI surfaces */
  --bg:           #F4F2F8;
  --surface:      #FFFFFF;
  --surface-2:    #F9F7FC;
  --border:       #E8E3F0;
  --border-focus: #A855F7;

  /* Sidebar */
  --sidebar-bg:   #160A2A;
  --sidebar-text: rgba(255,255,255,0.72);

  /* Text */
  --text:         #1A1033;
  --text-2:       #4A3F6B;
  --text-muted:   #8878AA;
  --text3:        #8878AA;

  /* Semantic colors */
  --green:        #22C55E;
  --green-bg:     #F0FDF4;
  --green-text:   #15803D;
  --amber:        #F59E0B;
  --amber-bg:     #FFFBEB;
  --red:          #EF4444;
  --red-bg:       #FEF2F2;
  --sky:          #0EA5E9;
  --sky-bg:       #F0F9FF;
  --purple-bg:    #F3EEFF;
  --purple-text:  #7C3AED;

  /* Legacy compat */
  --rose:         #D63868;
  --lavender:     #8B35C5;
  --sage:         #22C55E;
  --peach:        #F97316;
  --gold:         #F59E0B;
  --lav:          var(--purple-bg);
  --vermelha:     #EF4444;
  --vermelha-bg:  #FEF2F2;
  --card-bg:      #FFFFFF;
  --bg3:          #F9F7FC;
  --font-display: 'Plus Jakarta Sans', sans-serif;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:    0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg:    0 10px 30px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
  --shadow-brand: 0 4px 16px rgba(214,56,104,.30);

  /* Layout */
  --sidebar-w:    240px;
  --radius:       10px;
  --radius-lg:    14px;
  --radius-xl:    20px;

  --font: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; }
body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  height: 100%;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-red); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Layout ─── */
#sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 100;
}
#main {
  margin-left: var(--sidebar-w);
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#content {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
}

/* ─── Sidebar ─── */
.sidebar-logo {
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.logo-mark {
  font-family: var(--font);
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  letter-spacing: -.3px;
}
.logo-mark span {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
  margin-top: 2px;
}

.sidebar-nav { flex: 1; padding: 10px; }
.nav-section {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  padding: 16px 10px 6px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  border-radius: 8px;
  background: none;
  color: var(--sidebar-text);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background .15s, color .15s;
  margin-bottom: 2px;
}
.nav-item:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-item.active {
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 600;
  position: relative;
}
.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 60%;
  background: var(--brand-grad);
  border-radius: 2px;
}
.nav-item i { width: 16px; text-align: center; opacity: .72; }
.nav-item.active i { opacity: 1; }

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.user-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--brand-grad);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.user-name  { font-size: 13px; font-weight: 600; color: #fff; }
.user-role  { font-size: 11px; color: rgba(255,255,255,.38); margin-top: 1px; }

/* ─── Topbar ─── */
#topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  height: 60px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.topbar-title { font-weight: 800; font-size: 17px; color: var(--text); flex: 1; }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.topbar-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: none;
  color: var(--text-2);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s, border-color .15s;
}
.topbar-btn:hover { background: var(--surface-2); border-color: var(--border-focus); }

/* ─── Panels ─── */
.panel { display: none; }
.panel.active { display: block; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, box-shadow .15s, border-color .15s, transform .1s;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { background: var(--surface-2); border-color: var(--border-focus); }
.btn:active { transform: scale(.98); }

.btn-rose, .btn-primary {
  background: var(--brand-grad);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-brand);
}
.btn-rose:hover, .btn-primary:hover {
  background: var(--brand-grad-h);
  border-color: transparent;
  color: #fff;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text-2);
}
.btn-outline:hover { border-color: var(--brand-red); color: var(--brand-red); background: #FDF0F5; }

.btn-sage {
  background: var(--green-bg);
  border-color: #BBF7D0;
  color: var(--green-text);
}
.btn-sage:hover { background: #D1FAE5; }

.btn-danger {
  background: var(--red-bg);
  border-color: #FECACA;
  color: var(--red);
}
.btn-danger:hover { background: #FEE2E2; }

.btn-sm  { padding: 6px 12px; font-size: 12px; gap: 5px; border-radius: 7px; }
.btn-xs  { padding: 4px 9px;  font-size: 11px; gap: 4px; border-radius: 6px; }
.btn-lg  { padding: 11px 22px; font-size: 14px; border-radius: 10px; }

/* ─── Form elements ─── */
.input, .form-input, .form-select, .form-textarea, select.input, textarea.input {
  display: block;
  width: 100%;
  padding: 9px 12px;
  font-family: var(--font);
  font-size: 13.5px;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}
.input:focus, .form-input:focus, .form-select:focus, .form-textarea:focus,
select.input:focus, textarea.input:focus {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(139,53,197,.12);
}
.input[readonly], .form-input[readonly] {
  background: var(--surface-2);
  color: var(--text-muted);
}
textarea.input, .form-textarea { resize: vertical; min-height: 80px; }
select.input, .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238878AA' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
label, .form-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 5px; }
.hint { font-size: 11.5px; color: var(--text-muted); margin-top: 5px; line-height: 1.45; }
.form-group { margin-bottom: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid { display: flex; flex-direction: column; gap: 0; }
.form-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 16px 0 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.form-section-title i { color: var(--brand-red); }
.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}
.checkbox-label input[type=checkbox] { accent-color: var(--brand-purple); width: 15px; height: 15px; }

/* ─── Cards ─── */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 16px;
}
.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.card-title { font-weight: 700; font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.card-body { padding: 16px 18px; }

/* ─── Tags / Badges ─── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.tag-neutral    { background: #F1EEF7; color: var(--text-2); }
.tag-sage       { background: var(--green-bg);  color: var(--green-text); }
.tag-peach      { background: #FFF7ED;           color: #C2410C; }
.tag-gold       { background: var(--amber-bg);  color: #B45309; }
.tag-lav, .tag-lavender { background: var(--purple-bg); color: var(--purple-text); }
.tag-sky        { background: var(--sky-bg);    color: var(--sky); }
.tag-rose, .tag-contrato { background: #FDF0F5; color: var(--brand-red); }
.tag-compras    { background: var(--amber-bg);  color: #B45309; }
.tag-formulario { background: var(--purple-bg); color: var(--purple-text); }
.tag-producao   { background: #FFF7ED;           color: #C2410C; }
.tag-compilamento { background: var(--red-bg);  color: var(--red); }
.tag-anuncio    { background: var(--sky-bg);    color: #0369A1; }
.tag-auditoria  { background: var(--green-bg);  color: var(--green-text); }

/* ─── Kanban ─── */
.kanban-wrap {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  min-height: 300px;
  align-items: flex-start;
}
.kanban-col {
  flex: 0 0 220px;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.kanban-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px 10px;
  border-bottom: 1px solid var(--border);
}
.kanban-col-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.kanban-col-count {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 8px;
  color: var(--text-muted);
}
.kanban-cards { padding: 10px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.kanban-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 12px 13px;
  cursor: pointer;
  transition: box-shadow .15s, transform .12s, border-color .15s;
  position: relative;
}
.kanban-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  border-color: rgba(214,56,104,.28);
}
.kanban-card-name { font-weight: 700; font-size: 13px; color: var(--text); margin-bottom: 6px; line-height: 1.3; }
.kanban-card-meta { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.kanban-card-meta span { font-size: 11.5px; color: var(--text-muted); }
.kanban-card-tags { display: flex; flex-wrap: wrap; gap: 4px; }

.badge-atrasado {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.kanban-card.atrasado { border-color: var(--red); }

/* Accent top border by phase index */
.kanban-col:nth-child(1) .kanban-col-header { border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-top: 3px solid #D63868; }
.kanban-col:nth-child(2) .kanban-col-header { border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-top: 3px solid #F59E0B; }
.kanban-col:nth-child(3) .kanban-col-header { border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-top: 3px solid #8B35C5; }
.kanban-col:nth-child(4) .kanban-col-header { border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-top: 3px solid #F97316; }
.kanban-col:nth-child(5) .kanban-col-header { border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-top: 3px solid #EC4899; }
.kanban-col:nth-child(6) .kanban-col-header { border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-top: 3px solid #0EA5E9; }
.kanban-col:nth-child(7) .kanban-col-header { border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-top: 3px solid #22C55E; }
.kanban-col:nth-child(8) .kanban-col-header { border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-top: 3px solid #22C55E; }

/* ─── Stats grid ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

/* ─── Tables ─── */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
  text-align: left; padding: 9px 10px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
  background: var(--surface-2);
}
.data-table td { padding: 10px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--surface-2); }
.link { color: var(--brand-red); font-weight: 600; cursor: pointer; }
.link:hover { text-decoration: underline; }

/* ─── Modal ─── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(22,10,42,.55);
  backdrop-filter: blur(4px);
  z-index: 500;
  overflow-y: auto;
  padding: 24px 16px;
  align-items: flex-start;
  justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 560px;
  padding: 24px;
  position: relative;
  margin: auto;
}
.modal-lg {
  max-width: 820px;
  padding: 0;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}
.modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.modal-title { font-size: 16px; font-weight: 800; color: var(--text); }
.modal-body { padding: 20px 22px; overflow-y: auto; flex: 1; }
.modal-close {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 13px;
  transition: background .15s, color .15s, border-color .15s;
}
.modal-close:hover { background: var(--red-bg); color: var(--red); border-color: #FECACA; }

/* ─── Tabs ─── */
.tabs-bar {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0 22px;
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: none;
}
.tabs-bar::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 12px 14px;
  border: none;
  background: none;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--brand-red); border-bottom-color: var(--brand-red); }

/* ─── Toast ─── */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  padding: 12px 18px;
  border-radius: 10px;
  background: #1A1033;
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: toast-in .22s ease;
  max-width: 320px;
}
.toast.sage  { background: #15803D; }
.toast.peach { background: #C0392B; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Login ─── */
#login-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #160A2A 0%, #2B1245 50%, #190B38 100%);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#login-overlay.hidden { display: none; }
.login-box {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(20px);
  border-radius: 22px;
  padding: 38px 32px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 24px 64px rgba(0,0,0,.45);
}
.login-logo {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: -.5px;
}
.login-logo span {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.login-sub {
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
  margin-bottom: 28px;
}
.login-box .form-group { margin-bottom: 12px; }
.login-box .form-input {
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.12);
  color: #fff;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
}
.login-box .form-input::placeholder { color: rgba(255,255,255,.32); }
.login-box .form-input:focus {
  border-color: rgba(214,56,104,.65);
  box-shadow: 0 0 0 3px rgba(214,56,104,.15);
}
.login-box .btn-rose {
  width: 100%;
  justify-content: center;
  padding: 12px;
  font-size: 14px;
  margin-top: 4px;
  border-radius: 10px;
}
.login-err {
  color: #F87171;
  font-size: 12.5px;
  text-align: center;
  margin-top: 10px;
  min-height: 18px;
}

/* ─── Alerts ─── */
.alert-success { background: var(--green-bg); border: 1px solid #BBF7D0; border-radius: 8px; padding: 10px 14px; font-size: 13px; color: var(--green-text); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.alert-info    { background: var(--purple-bg); border: 1px solid #DDD6FE; border-radius: 8px; padding: 10px 14px; font-size: 13px; color: var(--purple-text); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.alert-warn    { background: var(--amber-bg);  border: 1px solid #FDE68A; border-radius: 8px; padding: 10px 14px; font-size: 13px; color: #92400E; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }

/* ─── Misc / Utility ─── */
.empty-state { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.empty-state i { display: block; margin: 0 auto 12px; opacity: .3; }
.text-muted { color: var(--text-muted); }
.divider, hr.divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.section-title { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 16px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* ─── Imovel perdido ─── */
.imovel-perdido-row {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 6px;
  font-size: 13px;
}
.imovel-perdido-row .nome { font-weight: 600; flex: 1; }

/* ─── Compras table ─── */
.compras-table { width: 100%; border-collapse: collapse; }
.compras-table th {
  background: var(--surface-2);
  text-align: left; padding: 7px 10px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
  color: var(--text-muted); border-bottom: 2px solid var(--border);
}
.compras-table td { padding: 6px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  :root { --sidebar-w: 0px; }
  #sidebar { transform: translateX(-240px); transition: transform .25s; width: 240px; }
  #sidebar.open { transform: translateX(0); }
  #main { margin-left: 0; }
  #content { padding: 16px; }
  .modal-lg { max-width: 100vw; max-height: 95vh; border-radius: 16px 16px 0 0; }
  .form-row { grid-template-columns: 1fr; }
  .kanban-col { flex: 0 0 200px; }
}
