/* ============================================================
   ACCRM — Adriano Catino CRM · RE/MAX Québec
   Aesthetic: RE/MAX deep-blue command rail, bright white work
   surface, RE/MAX red for action. The red-white-blue bar is the
   recurring signature device.
   Palette:  Blue #003DA5 · Red #DC1C2E · White #FFFFFF
   Type:     Archivo (display) + Inter (UI/body)
   ============================================================ */

:root {
  /* surfaces */
  --bg: #eaeef6;
  --bg-2: #f3f6fc;
  --panel: #ffffff;
  --panel-2: #f6f8fd;
  --panel-hover: #eef3fb;
  --line: #e1e7f1;
  --line-soft: #eef2f8;

  /* text */
  --text: #16202e;
  --text-dim: #586273;
  --text-faint: #8a96ab;

  /* brand */
  --blue: #003DA5;
  --blue-700: #00308a;
  --blue-900: #00256b;
  --red: #DC1C2E;
  --red-700: #c01425;

  /* primary accent alias (kept = blue so legacy rules stay on-brand) */
  --cyan: #003DA5;
  --cyan-dim: #00308a;
  --cyan-glow: rgba(0, 61, 165, 0.12);

  /* semantic */
  --green: #1f9d57;
  --amber: #d98a00;
  --gold: #c79213;
  --violet: #6d4ad8;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 18px;
  --shadow: 0 8px 26px rgba(18, 38, 74, 0.08);
  --shadow-lg: 0 18px 50px rgba(18, 38, 74, 0.16);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(1100px 520px at 85% -8%, rgba(0, 61, 165, 0.06), transparent 60%),
    radial-gradient(820px 460px at -8% 108%, rgba(220, 28, 46, 0.05), transparent 55%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

::selection { background: rgba(0, 61, 165, 0.16); color: var(--blue-900); }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e6; border-radius: 8px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #aebcd4; }

/* ============================ LAYOUT ============================ */
#app {
  display: grid;
  grid-template-columns: 268px 1fr;
  height: 100vh;
}

.sidebar {
  background: linear-gradient(186deg, #00318b 0%, #002a76 60%, #00235f 100%);
  border-right: 1px solid #00235f;
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  position: relative;
}
/* the RE/MAX red-white-blue signature stripe down the rail edge */
.sidebar::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--red) 0 34%, #ffffff 34% 67%, var(--blue) 67% 100%);
  opacity: .9;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 16px;
}
.brand-logo {
  width: 42px; height: 42px; object-fit: contain;
  border-radius: 11px;
  background: #fff;
  padding: 3px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 19px;
  color: #fff;
}
.brand-dash { color: #ff5666; }
.brand-sub {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9fc0ff;
  margin-top: 6px;
  font-weight: 600;
}

/* the signature red/white/blue bar element, reusable */
.rwb-bar { display: flex; height: 4px; border-radius: 3px; overflow: hidden; }
.rwb-bar i { flex: 1; }
.rwb-bar i:nth-child(1) { background: var(--red); }
.rwb-bar i:nth-child(2) { background: #fff; }
.rwb-bar i:nth-child(3) { background: var(--blue); }

.nav { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; flex: 1; overflow-y: auto; }
.nav::-webkit-scrollbar { width: 0; }
.nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: none;
  background: transparent;
  color: #c4d6f5;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  width: 100%;
  position: relative;
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.nav-btn svg { width: 19px; height: 19px; fill: currentColor; flex-shrink: 0; opacity: .9; }
.nav-btn span { flex: 1; }
.nav-btn:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.nav-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 600;
}
.nav-btn.active::before {
  content: "";
  position: absolute;
  left: -14px; top: 8px; bottom: 8px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--red);
}
.nav-count {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.14);
  color: #dfe9fb;
  padding: 1px 8px;
  border-radius: 20px;
  min-width: 20px;
  text-align: center;
}
.nav-count.alert { background: var(--red); color: #fff; }
.nav-count.has-alert { background: var(--red); color: #fff; }

.sidebar-footer { margin-top: 8px; display: flex; flex-direction: column; gap: 9px; }
.ghost-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #e6eefc;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s var(--ease);
}
.ghost-btn svg { width: 16px; height: 16px; fill: currentColor; }
.ghost-btn:hover { background: rgba(255, 255, 255, 0.12); }
.data-tools { display: flex; gap: 6px; }
.micro-btn {
  flex: 1;
  padding: 7px 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #aec6ee;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s var(--ease);
}
.micro-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.footer-meta { font-size: 10.5px; color: #7e9bce; text-align: center; margin-top: 2px; letter-spacing: .02em; }

/* ============================ MAIN ============================ */
.main { display: flex; flex-direction: column; height: 100vh; overflow: hidden; background: transparent; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}
.topbar-title h1 {
  font-family: "Archivo", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}
.topbar-title p { font-size: 13px; color: var(--text-dim); margin-top: 3px; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }

.search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 13px;
  width: 300px;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.search-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 61, 165, 0.1); }
.search-wrap svg { width: 17px; height: 17px; fill: var(--text-faint); flex-shrink: 0; }
.search-wrap input {
  border: none; background: transparent; outline: none;
  color: var(--text); font-family: "Inter", sans-serif; font-size: 14px; width: 100%;
}
.search-wrap input::placeholder { color: var(--text-faint); }

.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border: none;
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(220, 28, 46, 0.28);
  transition: transform 0.12s var(--ease), box-shadow 0.16s var(--ease), background 0.16s var(--ease);
}
.primary-btn svg { width: 18px; height: 18px; fill: currentColor; }
.primary-btn:hover { background: var(--red-700); transform: translateY(-1px); box-shadow: 0 7px 20px rgba(220, 28, 46, 0.34); }
.primary-btn:active { transform: translateY(0); }

.quickadd-wrap { position: relative; }
.quickadd-btn { padding: 10px 10px; }
.quickadd-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 50;
  min-width: 184px;
}
.quickadd-menu.open { display: flex; }
.quickadd-menu button {
  text-align: left;
  padding: 9px 12px;
  border: none;
  background: transparent;
  color: var(--text);
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  cursor: pointer;
}
.quickadd-menu button:hover { background: var(--panel-hover); }

.view-area { flex: 1; overflow-y: auto; padding: 26px 28px 60px; }

/* ============================ DASHBOARD ============================ */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: fadeUp 0.5s var(--ease) both;
}
.stat-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--blue);
}
.stat-card.accent::before { background: var(--blue); }
.stat-card.warn::before { background: var(--red); }
.stat-label { font-size: 12px; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-value { font-family: "Archivo", sans-serif; font-size: 33px; font-weight: 800; color: var(--text); margin-top: 7px; line-height: 1; letter-spacing: -0.02em; }
.stat-card.warn .stat-value { color: var(--red); }
.stat-meta { font-size: 12px; color: var(--text-faint); margin-top: 8px; }

.panel-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  animation: fadeUp 0.5s var(--ease) both;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.panel-head h2 { font-family: "Archivo", sans-serif; font-size: 16px; font-weight: 700; color: var(--text); }
.link { background: none; border: none; color: var(--blue); font-family: "Inter", sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; }
.link:hover { text-decoration: underline; }

.mini-list { display: flex; flex-direction: column; gap: 2px; }
.mini-item { display: flex; align-items: center; gap: 11px; padding: 10px 8px; border-radius: 9px; cursor: pointer; transition: background 0.14s var(--ease); }
.mini-item:hover { background: var(--panel-hover); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.dot.red { background: var(--red); }
.dot.amber { background: var(--amber); }
.mini-body { flex: 1; min-width: 0; }
.mini-title { font-size: 14px; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-sub { font-size: 12px; color: var(--text-faint); margin-top: 2px; }
.empty { text-align: center; padding: 30px 10px; color: var(--text-faint); font-size: 14px; }
.empty p { margin: 0; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.5s var(--ease) both; }

/* ============================ TOOLBAR / FILTERS ============================ */
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; align-items: center; }
.filter-pill {
  padding: 7px 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text-dim);
  border-radius: 20px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.14s var(--ease);
  white-space: nowrap;
}
.filter-pill:hover { border-color: var(--blue); color: var(--blue); }
.filter-pill.active { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.smartview-pill.active { background: var(--red); border-color: var(--red); }
.filter-grouplabel { font-size: 12px; color: var(--text-faint); align-self: center; margin-right: 2px; font-weight: 600; }

/* a filter "panel" wrapper for the leads advanced filters */
.filterbar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 16px; box-shadow: var(--shadow);
}
.filterbar .fb-field { display: flex; flex-direction: column; gap: 5px; }
.filterbar label { font-size: 11px; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: .04em; }
.filterbar select, .filterbar input {
  border: 1px solid var(--line); background: var(--bg-2); border-radius: 8px;
  padding: 8px 10px; color: var(--text); font-family: "Inter", sans-serif; font-size: 13px; min-width: 130px;
}
.filterbar select:focus, .filterbar input:focus { outline: none; border-color: var(--blue); }
.fb-reset { color: var(--red); border-color: transparent; background: transparent; cursor: pointer; font-weight: 600; font-size: 13px; padding: 8px 6px; }

/* ============================ LISTS / ITEMS ============================ */
.list { display: flex; flex-direction: column; gap: 9px; }
.item {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 15px;
  box-shadow: var(--shadow);
  transition: border-color 0.14s var(--ease), box-shadow 0.14s var(--ease), transform 0.1s var(--ease);
  animation: fadeUp 0.35s var(--ease) both;
}
.item:hover { border-color: #c8d4ea; box-shadow: 0 10px 26px rgba(18, 38, 74, 0.12); }
.avatar {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "Archivo", sans-serif; font-weight: 700; font-size: 14px; color: #fff;
  background: linear-gradient(135deg, var(--blue), #0052d6);
  letter-spacing: .02em;
}
.contact-check {
  width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line);
  cursor: pointer; flex-shrink: 0; transition: all 0.14s var(--ease); background: var(--panel);
}
.contact-check:hover { border-color: var(--blue); }
.contact-check.on { background: var(--blue); border-color: var(--blue); position: relative; }
.contact-check.on::after { content: "✓"; color: #fff; font-size: 13px; position: absolute; top: -2px; left: 3px; font-weight: 700; }

.item-body { flex: 1; min-width: 0; }
.item-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.item-meta { display: flex; flex-wrap: wrap; gap: 7px 12px; align-items: center; font-size: 12.5px; color: var(--text-dim); }
.item-meta span { display: inline-flex; align-items: center; gap: 4px; }
.item-meta svg { width: 13px; height: 13px; fill: var(--text-faint); }
.item-actions { display: flex; gap: 5px; flex-shrink: 0; }

.icon-btn {
  width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text-dim); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.14s var(--ease);
  text-decoration: none;
}
.icon-btn svg { width: 17px; height: 17px; fill: currentColor; }
.icon-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--panel-hover); }
.icon-btn.addclient:hover { border-color: var(--green); color: var(--green); }
.icon-btn.danger:hover { border-color: var(--red); color: var(--red); background: #fdecee; }

.section-label { font-size: 12px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; margin: 22px 0 11px; display: flex; align-items: center; gap: 8px; }
.section-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* bulk action bar */
.bulk-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: rgba(0, 61, 165, 0.06); border: 1px solid rgba(0, 61, 165, 0.2);
  border-radius: var(--radius); padding: 11px 16px; margin-bottom: 14px;
}
.bulk-count { font-weight: 700; color: var(--blue); font-size: 14px; }
.bulk-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.bulk-bar .micro-btn { border: 1px solid var(--line); background: var(--panel); color: var(--text-dim); flex: none; padding: 8px 12px; }
.bulk-bar .micro-btn:hover { background: var(--panel-hover); color: var(--text); }
.bulk-bar select.micro-btn { color: var(--text); }

/* ============================ TAGS & CHIPS ============================ */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 7px; font-size: 11.5px; font-weight: 600;
  background: var(--panel-hover); color: var(--text-dim); border: 1px solid var(--line);
}
.tag.green { background: #e7f6ee; color: #157a42; border-color: #bfe6cf; }
.tag.amber { background: #fdf2dc; color: #9a6500; border-color: #f3dca6; }
.tag.red, .tag.overdue { background: #fdecee; color: var(--red-700); border-color: #f6c9cf; }
.tag.cyan, .tag.blue { background: #e6eefb; color: var(--blue); border-color: #c5d8f5; }
.tag.violet { background: #efeafc; color: #5b38c4; border-color: #d9cdf6; }
.tag.gold { background: #fbf3da; color: #97700a; border-color: #f0e0ad; }
.tag.gray { background: #eef1f6; color: #5d6b80; border-color: #dde3ee; }

/* status pill colors (lead pipeline) */
.status-pill { display:inline-flex; align-items:center; gap:5px; padding:3px 11px; border-radius:20px; font-size:11.5px; font-weight:700; }
.status-pill::before { content:""; width:7px; height:7px; border-radius:50%; background: currentColor; opacity:.9; }
.st-new { background:#e6eefb; color:var(--blue); }
.st-contacted { background:#eafaf1; color:#157a42; }
.st-nurturing { background:#fdf2dc; color:#9a6500; }
.st-appt { background:#efeafc; color:#5b38c4; }
.st-signed { background:#e7f6ee; color:#0f7a3d; }
.st-closed { background:#e9f9ef; color:#0c7a39; }
.st-lost { background:#eef1f6; color:#76829a; }

/* category chips */
.cat-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 7px; font-size: 11.5px; font-weight: 600;
  border: 1px solid transparent; white-space: nowrap;
}
.cat-chip.cyan { background: #e6eefb; color: var(--blue); border-color: #c5d8f5; }
.cat-chip.blue { background: #e6eefb; color: var(--blue); border-color: #c5d8f5; }
.cat-chip.amber { background: #fdf2dc; color: #9a6500; border-color: #f0e0ad; }
.cat-chip.violet { background: #efeafc; color: #5b38c4; border-color: #d9cdf6; }
.cat-chip.green { background: #e7f6ee; color: #157a42; border-color: #bfe6cf; }
.cat-chip.gold { background: #fbf3da; color: #97700a; border-color: #f0e0ad; }
.cat-chip.red { background: #fdecee; color: var(--red-700); border-color: #f6c9cf; }
.cat-chip.gray { background: #eef1f6; color: #5d6b80; border-color: #dde3ee; }
.cat-chip.selectable { cursor: pointer; transition: all 0.14s var(--ease); }
.cat-chip.off { background: var(--panel) !important; color: var(--text-faint) !important; border: 1px dashed var(--line) !important; opacity: .75; }
.cat-chip.selectable:hover { opacity: 1; transform: translateY(-1px); }
.cat-dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

.cat-picker { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============================ MODALS ============================ */
.modal, .modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(16, 28, 50, 0.45);
  backdrop-filter: blur(3px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 20px; overflow-y: auto;
  animation: fadeIn 0.18s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal > div, .modal-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 560px;
  animation: modalIn 0.22s var(--ease);
  overflow: hidden;
}
.modal.wide > div, .modal-card.wide { max-width: 760px; }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--line);
  position: relative;
}
.modal-head::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 3px; width: 88px;
  background: linear-gradient(90deg, var(--red) 0 33%, #fff 33% 66%, var(--blue) 66% 100%);
}
.modal-head h2 { font-family: "Archivo", sans-serif; font-size: 19px; font-weight: 800; color: var(--text); }
.modal-close {
  width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text-dim); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.14s var(--ease);
}
.modal-close svg { width: 18px; height: 18px; fill: currentColor; }
.modal-close:hover { border-color: var(--red); color: var(--red); background: #fdecee; }

.modal-body { padding: 22px 24px; max-height: calc(100vh - 200px); overflow-y: auto; }
.modal-footer { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }

.field { margin-bottom: 15px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-dim); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--line); background: var(--bg-2);
  border-radius: 9px; color: var(--text); font-family: "Inter", sans-serif; font-size: 14px;
  transition: border-color 0.14s var(--ease), box-shadow 0.14s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 61, 165, 0.1); background: var(--panel);
}
.field textarea { resize: vertical; min-height: 76px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row .field { margin-bottom: 15px; }

.add-field-btn { background: none; border: none; color: var(--blue); font-family: "Inter", sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; margin-top: 8px; padding: 0; }
.add-field-btn:hover { text-decoration: underline; }
.multi-row { display: flex; gap: 8px; margin-bottom: 8px; }
.multi-row input { flex: 1; }
.multi-del { width: 40px; flex-shrink: 0; border: 1px solid var(--line); background: var(--panel); color: var(--text-faint); border-radius: 9px; cursor: pointer; font-size: 18px; }
.multi-del:hover { color: var(--red); border-color: var(--red); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px; border: 1px solid var(--line); background: var(--panel);
  color: var(--text); border-radius: 10px; font-family: "Inter", sans-serif;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.14s var(--ease);
}
.btn-secondary svg { width: 17px; height: 17px; fill: currentColor; }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); background: var(--panel-hover); }
.empty-cta { margin-top: 4px; }

.quick-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.qa-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1px solid var(--line); background: var(--bg-2);
  color: var(--text); border-radius: 9px; font-family: "Inter", sans-serif;
  font-size: 13px; font-weight: 500; cursor: pointer; text-decoration: none; transition: all 0.14s var(--ease);
}
.qa-btn:hover { border-color: var(--blue); color: var(--blue); }

/* notes */
.notes-section { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.notes-section h3 { font-family: "Archivo", sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.note-add { display: flex; gap: 8px; margin-bottom: 14px; }
.note-add textarea { flex: 1; min-height: 44px; }
.note { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; margin-bottom: 8px; position: relative; }
.note p { font-size: 13.5px; color: var(--text); line-height: 1.5; margin: 0; padding-right: 22px; }
.note-date { font-size: 11px; color: var(--text-faint); margin-top: 6px; }
.note-del { position: absolute; top: 9px; right: 9px; background: none; border: none; color: var(--text-faint); cursor: pointer; font-size: 16px; line-height: 1; }
.note-del:hover { color: var(--red); }

/* ============================ CALENDAR ============================ */
.cal-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
.cal-month { font-family: "Archivo", sans-serif; font-size: 20px; font-weight: 800; color: var(--text); }
.cal-nav { display: flex; gap: 6px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cal-head { background: var(--panel-2); padding: 10px 8px; text-align: center; font-size: 11.5px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: .04em; }
.cal-cell { background: var(--panel); min-height: 104px; padding: 7px 8px; cursor: pointer; transition: background 0.12s var(--ease); position: relative; }
.cal-cell:hover { background: var(--panel-hover); }
.cal-cell.cal-day {}
.cal-cell.today { background: rgba(0, 61, 165, 0.05); }
.cal-cell.today .cal-day { background: var(--red); color: #fff; }
.cal-day { font-size: 12.5px; font-weight: 600; color: var(--text-dim); width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 7px; margin-bottom: 4px; }
.cal-events { display: flex; flex-direction: column; gap: 3px; }
.cal-pill { font-size: 11px; font-weight: 600; padding: 3px 7px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; background: #e6eefb; color: var(--blue); }
.cal-pill.call { background: #e7f6ee; color: #157a42; }
.cal-pill.text { background: #fdf2dc; color: #9a6500; }
.cal-pill.email { background: #efeafc; color: #5b38c4; }
.cal-pill.meeting { background: #fdecee; color: var(--red-700); }
.cal-pill.done { opacity: 0.5; text-decoration: line-through; }
.cal-more { font-size: 10.5px; color: var(--text-faint); font-weight: 600; padding-left: 4px; }

/* ============================ AUTOMATIONS / ACTIVITY ============================ */
.automation { display: flex; align-items: center; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 10px; box-shadow: var(--shadow); }
.automation .item-body { flex: 1; }
.activity-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--bg-2); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; border: 1px solid var(--line); }

/* ============================ SETTINGS / TOGGLES ============================ */
.settings-section { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.settings-section h3 { font-family: "Archivo", sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line-soft); gap: 14px; }
.toggle-row:last-child { border-bottom: none; }
.tr-label { font-size: 14px; font-weight: 500; color: var(--text); }
.tr-sub { font-size: 12px; color: var(--text-faint); margin-top: 2px; }
.toggle { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-track { position: absolute; inset: 0; background: #cdd6e6; border-radius: 24px; cursor: pointer; transition: background 0.18s var(--ease); }
.toggle-track::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform 0.18s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,0.25); }
.toggle input:checked + .toggle-track { background: var(--blue); }
.toggle input:checked + .toggle-track::before { transform: translateX(18px); }

.catman-row { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.catman-row .cat-chip { width: 38px; justify-content: center; }
.cat-name { flex: 1; padding: 8px 11px; border: 1px solid var(--line); background: var(--bg-2); border-radius: 8px; color: var(--text); font-family: "Inter", sans-serif; font-size: 13px; }
.cat-color { padding: 8px; border: 1px solid var(--line); background: var(--bg-2); border-radius: 8px; color: var(--text); font-family: "Inter", sans-serif; font-size: 13px; }

/* ============================ CONTACT BOOK ============================ */
.book-group { margin-bottom: 26px; }
.book-group-head { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.book-group-letter, .book-group-label { font-family: "Archivo", sans-serif; font-size: 16px; font-weight: 800; color: var(--blue); }
.book-group-count { font-size: 12px; color: var(--text-faint); background: var(--panel-hover); padding: 2px 9px; border-radius: 20px; font-weight: 600; }
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 12px; }
.book-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); transition: border-color 0.14s var(--ease), box-shadow 0.14s var(--ease); }
.book-card:hover { border-color: #c8d4ea; box-shadow: 0 10px 26px rgba(18,38,74,0.12); }
.book-card-name { font-size: 15px; font-weight: 700; color: var(--text); }
.book-card-sub { font-size: 12.5px; color: var(--text-faint); margin-top: 3px; }
.book-card-body { margin: 12px 0; }
.book-card-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.book-card-actions { display: flex; gap: 8px; margin-top: 12px; }
.book-card-actions a, .book-card-actions button {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text);
  border-radius: 9px; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; transition: all 0.14s var(--ease);
}
.book-card-actions a:hover, .book-card-actions button:hover { border-color: var(--blue); color: var(--blue); }

/* ============================ CLIENTS / ROI ============================ */
.roi-bar { display: flex; flex-wrap: wrap; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 18px; box-shadow: var(--shadow); }
.roi-stat { display: flex; flex-direction: column; }
.roi-label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); font-weight: 600; }
.roi-value { font-family: "Archivo", sans-serif; font-size: 24px; font-weight: 800; color: var(--text); margin-top: 4px; }
.roi-sub { font-size: 11.5px; color: var(--text-faint); }
.roi-per { font-size: 13px; color: var(--text-faint); font-weight: 500; }
.client-rev { font-family: "Archivo", sans-serif; font-weight: 800; color: var(--green); }
.client-mrr { color: var(--green); font-weight: 700; }
.client-onetime { color: var(--gold); font-weight: 700; }
.client-arr { color: var(--text-faint); }
.client-norev { color: var(--text-faint); font-style: italic; }
.preview-count { font-size: 12px; color: var(--text-faint); margin-top: 6px; }

/* generic tables */
.table, .map-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .map-table th { text-align: left; padding: 9px 11px; color: var(--text-dim); font-weight: 700; border-bottom: 1px solid var(--line); font-size: 11.5px; text-transform: uppercase; letter-spacing: .03em; }
.table td, .map-table td { padding: 10px 11px; border-bottom: 1px solid var(--line-soft); color: var(--text); }

/* ============================ AI VIEW ("Ask Claude") ============================ */
.ai-wrap { display: flex; flex-direction: column; height: 100%; max-width: 860px; margin: 0 auto; }
.ai-messages { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; padding: 6px 4px 18px; }
.ai-msg { display: flex; gap: 12px; max-width: 84%; animation: fadeUp 0.3s var(--ease) both; }
.ai-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.ai-avatar { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 15px; color: #fff; background: linear-gradient(135deg, var(--blue), #0052d6); overflow: hidden; }
.ai-avatar.bot { background: #fff; padding: 3px; }
.ai-avatar img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ai-msg.user .ai-avatar { background: var(--red); }
.ai-bubble { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; font-size: 14px; line-height: 1.6; color: var(--text); box-shadow: var(--shadow); }
.ai-msg.user .ai-bubble { background: var(--blue); color: #fff; border-color: var(--blue); }
.ai-bubble strong { font-weight: 700; }
.ai-bubble code { background: var(--bg-2); padding: 1px 6px; border-radius: 5px; font-size: 13px; }
.ai-suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.ai-chip { padding: 9px 15px; border: 1px solid var(--line); background: var(--panel); color: var(--text-dim); border-radius: 20px; font-size: 13px; cursor: pointer; transition: all 0.14s var(--ease); }
.ai-chip:hover { border-color: var(--blue); color: var(--blue); }
.ai-input-bar { display: flex; gap: 10px; align-items: flex-end; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow); }
.ai-input-bar textarea { flex: 1; border: none; background: transparent; outline: none; resize: none; color: var(--text); font-family: "Inter", sans-serif; font-size: 14px; max-height: 160px; line-height: 1.5; }
.ai-send { width: 40px; height: 40px; border-radius: 10px; border: none; background: var(--red); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .14s var(--ease); }
.ai-send svg { width: 19px; height: 19px; fill: #fff; }
.ai-send:hover { background: var(--red-700); }
.ai-model { font-size: 12px; color: var(--text-faint); }
.ai-chip.ai-model { cursor: default; }

/* ============================ FLOATING COPILOT ============================ */
#bot-root { position: fixed; bottom: 24px; right: 24px; z-index: 300; }
#bot-fab {
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: #fff; box-shadow: 0 8px 26px rgba(0, 61, 165, 0.32);
  display: flex; align-items: center; justify-content: center; position: relative; transition: transform 0.16s var(--ease);
  padding: 6px;
}
#bot-fab img { width: 100%; height: 100%; object-fit: contain; }
#bot-fab:hover { transform: scale(1.06); }
.bot-fab-pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }

#bot-panel {
  position: absolute; bottom: 76px; right: 0; width: 392px; max-width: calc(100vw - 36px);
  height: 580px; max-height: calc(100vh - 120px);
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); display: none; flex-direction: column; overflow: hidden;
}
#bot-panel.open { display: flex; animation: modalIn 0.22s var(--ease); }
.bot-header { background: linear-gradient(120deg, #00318b, #0052d6); padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.bot-header-brand { display: flex; align-items: center; gap: 11px; flex: 1; }
.bot-avatar { width: 38px; height: 38px; border-radius: 10px; background: #fff; padding: 4px; display: flex; align-items: center; justify-content: center; }
.bot-avatar img { width: 100%; height: 100%; object-fit: contain; }
.bot-title { font-family: "Archivo", sans-serif; font-weight: 800; color: #fff; font-size: 15px; letter-spacing: .02em; }
.bot-status { font-size: 11.5px; color: #bcd4ff; margin-top: 2px; }
.bot-close { width: 30px; height: 30px; border-radius: 8px; border: none; background: rgba(255,255,255,0.16); color: #fff; cursor: pointer; font-size: 17px; }
.bot-close:hover { background: rgba(255,255,255,0.28); }
.bot-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 13px; }
.bot-msg { display: flex; gap: 9px; max-width: 90%; animation: fadeUp 0.25s var(--ease) both; }
.bot-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.bot-bubble { padding: 10px 13px; border-radius: 13px; font-size: 13.5px; line-height: 1.55; background: var(--bg-2); color: var(--text); border: 1px solid var(--line); }
.bot-msg.user .bot-bubble { background: var(--blue); color: #fff; border-color: var(--blue); }
.bot-bubble code { background: rgba(0,0,0,0.06); padding: 1px 5px; border-radius: 4px; font-size: 12.5px; }
.bot-msg.user .bot-bubble code { background: rgba(255,255,255,0.2); }
.bot-action { margin-top: 7px; }
.bot-action button { font-size: 12px; padding: 5px 11px; border: 1px solid var(--line); background: var(--panel); color: var(--blue); border-radius: 7px; cursor: pointer; font-weight: 600; }
.bot-action button:hover { background: var(--panel-hover); }
.bot-input-bar { border-top: 1px solid var(--line); padding: 11px 12px; display: flex; gap: 8px; align-items: flex-end; }
.bot-input-bar textarea { flex: 1; border: 1px solid var(--line); background: var(--bg-2); border-radius: 10px; padding: 9px 11px; resize: none; outline: none; color: var(--text); font-family: "Inter", sans-serif; font-size: 13.5px; max-height: 120px; line-height: 1.45; }
.bot-input-bar textarea:focus { border-color: var(--blue); }
.bot-send { width: 38px; height: 38px; border-radius: 10px; border: none; background: var(--red); color: #fff; cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.bot-send svg { width: 17px; height: 17px; fill: #fff; }
.bot-send:hover { background: var(--red-700); }
.bot-attach { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text-dim); cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.bot-attach svg { width: 18px; height: 18px; fill: currentColor; }
.bot-attach:hover { border-color: var(--blue); color: var(--blue); }
.bot-files, .ai-files { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 8px; }
.bot-file { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 7px; padding: 4px 9px; font-size: 12px; color: var(--text-dim); }
.bot-file button { background: none; border: none; color: var(--text-faint); cursor: pointer; font-size: 14px; line-height: 1; }
.bot-file button:hover { color: var(--red); }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-faint); animation: typing 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

/* dropzone (import) */
.dropzone { border: 2px dashed var(--line); border-radius: var(--radius); padding: 34px; text-align: center; color: var(--text-faint); cursor: pointer; transition: all 0.16s var(--ease); background: var(--bg-2); }
.dropzone:hover, .dropzone.drag { border-color: var(--blue); background: rgba(0,61,165,0.04); color: var(--blue); }

/* ============================ AUTH / CONFIG SCREEN ============================ */
#auth-root { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; background:
  radial-gradient(900px 480px at 80% -10%, rgba(0,61,165,0.1), transparent 60%),
  radial-gradient(700px 420px at 0% 110%, rgba(220,28,46,0.08), transparent 55%), var(--bg); overflow-y: auto; }
.auth-wrap { width: 100%; display: flex; align-items: center; justify-content: center; }
.auth-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 38px 36px; max-width: 460px; width: 100%; text-align: center; }
.auth-logo { width: 66px; height: 66px; object-fit: contain; margin: 0 auto 8px; display: block; }
.auth-brand { font-family: "Archivo", sans-serif; font-weight: 800; letter-spacing: 0.1em; font-size: 22px; color: var(--text); }
.auth-brand span { color: var(--red); }
.auth-sub { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-top: 4px; font-weight: 600; }
.auth-card h2 { font-family: "Archivo", sans-serif; font-size: 20px; font-weight: 800; margin: 18px 0 8px; color: var(--text); }
.auth-note { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; }
.auth-note code { background: var(--bg-2); padding: 2px 7px; border-radius: 5px; font-size: 12.5px; color: var(--blue); }
.auth-card .field { text-align: left; margin-top: 14px; }
.auth-submit { width: 100%; justify-content: center; margin-top: 8px; }
.auth-switch { font-size: 13px; color: var(--text-faint); margin-top: 16px; }
.auth-switch button { background: none; border: none; color: var(--blue); cursor: pointer; font-weight: 600; }

/* ============================ TOAST ============================ */
#toast-root { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 400; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { background: #16202e; color: #fff; padding: 12px 20px; border-radius: 11px; font-size: 13.5px; font-weight: 500; box-shadow: var(--shadow-lg); animation: toastIn 0.26s var(--ease); display: flex; align-items: center; gap: 9px; border-left: 4px solid var(--blue); }
.toast.success { border-left-color: var(--green); }
.toast.error { border-left-color: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* misc */
.hidden { display: none !important; }
.drag { cursor: grabbing; }
.checkbox { cursor: pointer; }
.checked {}
.user-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--sidebar-line, rgba(255,255,255,0.12)); }
.user-email { font-size: 11.5px; color: rgba(255,255,255,0.65); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.micro-btn.signout { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.18); flex-shrink: 0; }
.micro-btn.signout:hover { background: var(--red); border-color: var(--red); color: #fff; }


/* listing avatar + misc accent helpers */
.avatar.gold { background: linear-gradient(135deg, var(--gold), #e0a800); }
.roi-value.cyan { color: var(--blue); }
.roi-value.gold { color: var(--gold); }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1024px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .panel-row { grid-template-columns: 1fr; }
  .search-wrap { width: 220px; }
}
@media (max-width: 760px) {
  #app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 248px; z-index: 250; transform: translateX(-100%); transition: transform 0.24s var(--ease); }
  .sidebar.open { transform: translateX(0); }
  .topbar { padding: 14px 16px; }
  .topbar-title h1 { font-size: 18px; }
  .topbar-title p { display: none; }
  .search-wrap { display: none; }
  .view-area { padding: 18px 14px 60px; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .field-row { grid-template-columns: 1fr; }
  .filterbar { flex-direction: column; align-items: stretch; }
  .filterbar select, .filterbar input { min-width: 0; width: 100%; }
  #bot-panel { width: calc(100vw - 24px); height: calc(100vh - 110px); }
  .mobile-menu-btn { display: flex !important; }
}
.mobile-menu-btn { display: none; width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); color: var(--text); cursor: pointer; align-items: center; justify-content: center; margin-right: 4px; }
.mobile-menu-btn svg { width: 20px; height: 20px; fill: currentColor; }
