:root {
  color-scheme: dark;
  --bg: #080b12;
  --surface: #101520;
  --surface-2: #151b28;
  --surface-3: #1a2231;
  --ink: #f8fafc;
  --muted: #9aa6b8;
  --soft: #6f7c90;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.15);
  --gold: #e3b85d;
  --gold-soft: rgba(227,184,93,.14);
  --teal: #49c7b6;
  --blue: #6aa8ff;
  --danger: #ff7f88;
  --success: #65d18b;
  --warning: #ffc96b;
  --sidebar-expanded: 278px;
  --sidebar-collapsed: 86px;
  --shadow: 0 24px 70px rgba(0,0,0,.32);
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 88% -10%, rgba(227,184,93,.10), transparent 28rem),
    radial-gradient(circle at 30% 0%, rgba(73,199,182,.07), transparent 30rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
[hidden] { display: none !important; }

.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: var(--sidebar-expanded);
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
  background: rgba(10,13,20,.96);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transition: width .22s ease, transform .22s ease;
}
.app-shell.sidebar-collapsed .sidebar { width: var(--sidebar-collapsed); }
.sidebar-top { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 4px; }
.brand-lockup, .profile-chip { display: flex; align-items: center; gap: 11px; min-width: 0; overflow: hidden; }
.brand-mark {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #17120a;
  background: linear-gradient(145deg, #f2d791, var(--gold));
  box-shadow: inset 0 1px rgba(255,255,255,.45), 0 10px 25px rgba(227,184,93,.16);
  font-weight: 950;
  letter-spacing: -.05em;
}
.brand-copy, .profile-copy { min-width: 150px; white-space: nowrap; }
.brand-copy strong, .profile-copy strong { display: block; font-size: 14px; }
.brand-copy span, .profile-copy span { display: block; margin-top: 3px; color: var(--soft); font-size: 11px; }
.icon-button, .mini-icon {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
  border-radius: 13px;
  cursor: pointer;
}
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; }
.icon-button:hover, .mini-icon:hover { background: rgba(255,255,255,.085); border-color: var(--line-strong); }
.hamburger, .mobile-menu { gap: 4px; padding: 11px; }
.hamburger span, .mobile-menu span { display: block; width: 18px; height: 2px; border-radius: 10px; background: currentColor; }
.primary-nav { display: grid; gap: 6px; margin-top: 28px; }
.nav-item, .folder-nav-item {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 10px 11px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background .15s ease, border .15s ease, color .15s ease;
}
.nav-item:hover, .folder-nav-item:hover { background: rgba(255,255,255,.045); color: var(--ink); }
.nav-item.active, .folder-nav-item.active {
  color: var(--ink);
  background: linear-gradient(90deg, rgba(227,184,93,.17), rgba(227,184,93,.06));
  border-color: rgba(227,184,93,.24);
}
.nav-icon { flex: 0 0 22px; width: 22px; text-align: center; font-size: 18px; }
.nav-label { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-count {
  margin-left: auto;
  min-width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  padding: 0 6px;
  background: rgba(255,255,255,.08);
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
}
.sidebar-section { min-height: 0; margin-top: 24px; display: flex; flex: 1; flex-direction: column; }
.sidebar-section-title { display: flex; align-items: center; justify-content: space-between; padding: 0 10px 9px; color: var(--soft); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.mini-icon { width: 26px; height: 26px; }
.folder-nav { min-height: 0; overflow-y: auto; display: grid; align-content: start; gap: 4px; padding-right: 3px; }
.folder-symbol { position: relative; flex: 0 0 23px; width: 23px; height: 17px; border: 1px solid rgba(227,184,93,.55); border-radius: 4px; background: rgba(227,184,93,.09); }
.folder-symbol::before { content: ""; position: absolute; left: 2px; top: -5px; width: 10px; height: 5px; border: 1px solid rgba(227,184,93,.55); border-bottom: 0; border-radius: 3px 3px 0 0; background: #111722; }
.folder-nav-item .new-dot { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(227,184,93,.1); }
.sidebar-bottom { display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.profile-chip { padding: 8px 5px; }
.avatar { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-3); color: var(--gold); font-weight: 900; }
.app-shell.sidebar-collapsed .brand-lockup, .app-shell.sidebar-collapsed .brand-copy, .app-shell.sidebar-collapsed .nav-label, .app-shell.sidebar-collapsed .nav-count, .app-shell.sidebar-collapsed .sidebar-section-title, .app-shell.sidebar-collapsed .profile-copy, .app-shell.sidebar-collapsed .new-dot { display: none; }
.app-shell.sidebar-collapsed .sidebar-top { justify-content: center; }
.app-shell.sidebar-collapsed .nav-item, .app-shell.sidebar-collapsed .folder-nav-item { justify-content: center; padding-inline: 8px; }
.app-shell.sidebar-collapsed .profile-chip { justify-content: center; }
.app-shell.sidebar-collapsed .sidebar-section { margin-top: 16px; }

.main-content { min-height: 100vh; margin-left: var(--sidebar-expanded); transition: margin-left .22s ease; }
.app-shell.sidebar-collapsed .main-content { margin-left: var(--sidebar-collapsed); }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(260px, 620px) auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 28px;
  background: rgba(8,11,18,.83);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.mobile-brand { display: none; }
.search-box { height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.04); color: var(--soft); }
.search-box:focus-within { border-color: rgba(227,184,93,.48); box-shadow: 0 0 0 3px rgba(227,184,93,.08); }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-box input::placeholder { color: var(--soft); }
kbd { border: 1px solid var(--line); border-bottom-color: var(--line-strong); border-radius: 7px; padding: 2px 7px; color: var(--soft); background: rgba(255,255,255,.04); font-size: 11px; }
.top-actions { display: flex; align-items: center; gap: 9px; }
.button {
  min-height: 42px;
  border-radius: 13px;
  border: 1px solid var(--line);
  padding: 10px 15px;
  background: rgba(255,255,255,.045);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}
.button:hover { transform: translateY(-1px); border-color: var(--line-strong); }
.button.primary { border-color: transparent; background: linear-gradient(145deg, #f0d48a, var(--gold)); color: #17120a; }
.button.secondary { color: var(--muted); }
.button.ghost { background: transparent; }
.button.danger { color: #ffd4d7; border-color: rgba(255,127,136,.28); background: rgba(255,127,136,.08); }
.button.small { min-height: 34px; padding: 7px 11px; font-size: 12px; }
.options-button { font-weight: 900; letter-spacing: 2px; }
.menu-wrap { position: relative; }
.options-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 40;
  width: min(310px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  background: #121824;
  box-shadow: var(--shadow);
}
.options-menu button { width: 100%; border: 0; border-radius: 12px; padding: 11px 12px; background: transparent; text-align: left; cursor: pointer; }
.options-menu button:hover { background: rgba(255,255,255,.06); }
.options-menu span, .options-menu small { display: block; }
.options-menu span { color: var(--ink); font-weight: 780; }
.options-menu small { margin-top: 3px; color: var(--soft); line-height: 1.35; }
.status-banner { margin: 16px 28px 0; padding: 12px 14px; border: 1px solid rgba(73,199,182,.22); border-radius: 14px; color: #c8fff6; background: rgba(73,199,182,.08); }
.view-container { max-width: 1680px; margin: 0 auto; padding: 28px; }

.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-heading h1 { margin: 6px 0 7px; font-size: clamp(30px, 4vw, 50px); line-height: .98; letter-spacing: -.055em; }
.page-heading p { max-width: 740px; margin: 0; color: var(--muted); line-height: 1.55; }
.eyebrow { color: var(--gold); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.heading-actions { display: flex; gap: 9px; flex-wrap: wrap; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.metric-card, .panel, .business-folder, .lead-card, .note-card, .event-card, .calendar-shell {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  box-shadow: 0 18px 48px rgba(0,0,0,.16);
}
.metric-card { min-height: 128px; border-radius: var(--radius-lg); padding: 18px; }
.metric-label { color: var(--soft); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.metric-value { display: block; margin-top: 9px; font-size: 34px; line-height: 1; letter-spacing: -.05em; }
.metric-detail { display: block; margin-top: 10px; color: var(--muted); font-size: 12px; }
.metric-detail.urgent { color: var(--warning); }

.section-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 26px 0 14px; }
.section-head h2 { margin: 0; font-size: 21px; letter-spacing: -.035em; }
.section-head p { margin: 4px 0 0; color: var(--soft); font-size: 12px; }
.folder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.business-folder {
  position: relative;
  min-height: 230px;
  border-radius: var(--radius-xl);
  padding: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, border .18s ease, background .18s ease;
}
.business-folder::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--gold), transparent 75%); opacity: .75; }
.business-folder:hover { transform: translateY(-3px); border-color: rgba(227,184,93,.28); background: linear-gradient(180deg, rgba(227,184,93,.07), rgba(255,255,255,.026)); }
.folder-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.folder-icon-large { position: relative; width: 50px; height: 38px; border: 1px solid rgba(227,184,93,.5); border-radius: 10px; background: var(--gold-soft); }
.folder-icon-large::before { content: ""; position: absolute; left: 5px; top: -8px; width: 23px; height: 8px; border: 1px solid rgba(227,184,93,.5); border-bottom: 0; border-radius: 6px 6px 0 0; background: #121824; }
.folder-card-menu { width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.folder-card-menu:hover { background: rgba(255,255,255,.06); color: var(--ink); }
.business-folder h3 { margin: 20px 0 5px; font-size: 21px; letter-spacing: -.035em; }
.business-folder p { min-height: 38px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.folder-card-footer { display: flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--soft); font-size: 12px; }
.folder-card-footer span { display: inline-flex; align-items: center; gap: 5px; }
.folder-card-footer .new-badge { margin-left: auto; }
.new-badge, .status-badge, .tag {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255,255,255,.045);
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.new-badge { border-color: rgba(227,184,93,.32); color: #f8dda0; background: rgba(227,184,93,.10); }
.status-badge.due { border-color: rgba(255,201,107,.35); color: #ffdc9e; background: rgba(255,201,107,.08); }
.status-badge.done { border-color: rgba(101,209,139,.34); color: #bff6d0; background: rgba(101,209,139,.08); }
.status-badge.test { border-color: rgba(106,168,255,.35); color: #c8ddff; background: rgba(106,168,255,.08); }
.app-shell.compact-folders .business-folder { min-height: 178px; padding: 17px; }
.app-shell.compact-folders .business-folder p { display: none; }
.app-shell.compact-folders .business-folder h3 { margin-top: 13px; }

.folder-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .65fr); gap: 18px; align-items: start; }
.panel { border-radius: var(--radius-xl); padding: 20px; }
.panel + .panel { margin-top: 16px; }
.folder-title-row { display: flex; align-items: center; gap: 14px; }
.folder-title-row h1 { margin: 0; }
.business-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.quick-note { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 14px; }
.input, textarea.input, select.input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 11px 12px;
  background: #0d121c;
  color: var(--ink);
}
textarea.input { min-height: 104px; resize: vertical; }
.input::placeholder { color: #647185; }
.lead-list, .note-list, .event-list { display: grid; gap: 10px; }
.lead-card { border-radius: 17px; padding: 15px; }
.lead-card.is-new { border-color: rgba(227,184,93,.30); background: linear-gradient(180deg, rgba(227,184,93,.075), rgba(255,255,255,.025)); }
.lead-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lead-card h3 { margin: 0; font-size: 16px; }
.lead-card p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.lead-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 12px; }
.note-card { border-radius: 15px; padding: 13px; }
.note-card p { margin: 0; color: var(--muted); white-space: pre-wrap; line-height: 1.5; }
.note-card small { display: block; margin-top: 8px; color: var(--soft); }
.events-panel { position: sticky; top: 96px; }
.event-card { display: grid; grid-template-columns: 48px 1fr; gap: 11px; border-radius: 16px; padding: 12px; }
.event-date { width: 48px; height: 48px; display: grid; place-items: center; align-content: center; border-radius: 13px; background: rgba(227,184,93,.08); border: 1px solid rgba(227,184,93,.18); }
.event-date strong, .event-date span { display: block; text-align: center; }
.event-date strong { font-size: 16px; }
.event-date span { color: var(--gold); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.event-card h4 { margin: 1px 0 4px; font-size: 13px; }
.event-card p { margin: 0; color: var(--soft); font-size: 11px; line-height: 1.4; }
.panel-footer { display: flex; justify-content: flex-end; margin-top: 14px; }

.new-lead-groups { display: grid; gap: 18px; }
.lead-group { border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 18px; background: rgba(255,255,255,.025); }
.lead-group-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.lead-group-header h2 { margin: 0; font-size: 18px; }

.calendar-shell { border-radius: var(--radius-xl); padding: 18px; overflow: hidden; }
.calendar-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.calendar-toolbar h2 { margin: 0; font-size: 22px; }
.calendar-controls { display: flex; gap: 7px; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(120px, 1fr)); gap: 7px; min-width: 850px; }
.calendar-scroll { overflow-x: auto; padding-bottom: 3px; }
.calendar-weekdays div { padding: 7px; color: var(--soft); font-size: 10px; font-weight: 900; text-align: center; text-transform: uppercase; letter-spacing: .09em; }
.calendar-day { min-height: 130px; padding: 9px; border: 1px solid var(--line); border-radius: 14px; background: #0d121c; }
.calendar-day.outside { opacity: .38; }
.calendar-day.today { border-color: rgba(227,184,93,.42); }
.calendar-day-number { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; font-weight: 850; }
.calendar-event { width: 100%; margin-top: 7px; border: 1px solid rgba(73,199,182,.22); border-radius: 9px; padding: 6px 7px; background: rgba(73,199,182,.07); color: #d7fff8; font-size: 10px; text-align: left; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-event.followup { border-color: rgba(227,184,93,.26); background: rgba(227,184,93,.08); color: #ffe7b5; }
.calendar-agenda { display: grid; gap: 10px; margin-top: 18px; }

.empty-state { min-height: 260px; display: grid; place-items: center; align-content: center; padding: 32px; border: 1px dashed var(--line-strong); border-radius: var(--radius-xl); text-align: center; }
.empty-icon { color: var(--gold); font-size: 38px; }
.empty-state h3 { margin: 12px 0 6px; }
.empty-state p { max-width: 420px; margin: 0; color: var(--muted); }

.modal-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,.68); backdrop-filter: blur(8px); }
.modal { width: min(620px, 100%); max-height: calc(100vh - 36px); overflow: auto; border: 1px solid var(--line-strong); border-radius: 25px; background: #111722; box-shadow: var(--shadow); }
.modal-header { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 18px 20px; border-bottom: 1px solid var(--line); background: rgba(17,23,34,.96); backdrop-filter: blur(12px); }
.modal-header h2 { margin: 5px 0 0; font-size: 23px; letter-spacing: -.04em; }
.modal-body { padding: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-grid .full { grid-column: 1 / -1; }
.form-field { display: grid; gap: 6px; }
.form-field label { color: var(--muted); font-size: 12px; font-weight: 750; }
.form-help { color: var(--soft); font-size: 11px; line-height: 1.4; }
.form-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 18px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.025); }
.checkbox-row input { margin-top: 3px; }
.checkbox-row strong, .checkbox-row span { display: block; }
.checkbox-row span { margin-top: 3px; color: var(--soft); font-size: 11px; line-height: 1.4; }
.toast-stack { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: grid; gap: 9px; }
.toast { width: min(360px, calc(100vw - 40px)); border: 1px solid var(--line-strong); border-radius: 14px; padding: 12px 14px; background: #171e2b; box-shadow: var(--shadow); color: var(--ink); animation: toast-in .18s ease; }
.toast small { display: block; margin-top: 3px; color: var(--muted); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.sidebar-scrim { display: none; }

@media (max-width: 1180px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .folder-layout { grid-template-columns: 1fr; }
  .events-panel { position: static; }
}
@media (max-width: 860px) {
  .sidebar { width: min(310px, 88vw); transform: translateX(-102%); box-shadow: var(--shadow); }
  .app-shell.mobile-nav-open .sidebar { transform: translateX(0); }
  .app-shell.sidebar-collapsed .sidebar { width: min(310px, 88vw); }
  .app-shell.sidebar-collapsed .brand-lockup, .app-shell.sidebar-collapsed .brand-copy, .app-shell.sidebar-collapsed .nav-label, .app-shell.sidebar-collapsed .nav-count, .app-shell.sidebar-collapsed .sidebar-section-title, .app-shell.sidebar-collapsed .profile-copy, .app-shell.sidebar-collapsed .new-dot { display: initial; }
  .app-shell.sidebar-collapsed .brand-lockup, .app-shell.sidebar-collapsed .profile-chip { display: flex; }
  .app-shell.sidebar-collapsed .nav-item, .app-shell.sidebar-collapsed .folder-nav-item { justify-content: flex-start; padding-inline: 11px; }
  .app-shell.sidebar-collapsed .sidebar-top { justify-content: flex-start; }
  .main-content, .app-shell.sidebar-collapsed .main-content { margin-left: 0; }
  .sidebar-scrim { position: fixed; inset: 0; z-index: 25; border: 0; background: rgba(0,0,0,.55); }
  .app-shell.mobile-nav-open .sidebar-scrim { display: block; }
  .topbar { grid-template-columns: auto 1fr auto; padding: 12px 16px; }
  .mobile-brand { display: flex; align-items: center; gap: 8px; }
  .mobile-brand .brand-mark { display: none; }
  .top-actions .secondary { display: none; }
  .top-actions .primary { font-size: 0; width: 42px; padding: 0; }
  .top-actions .primary::after { content: "+"; font-size: 22px; }
  .view-container { padding: 22px 16px; }
  .status-banner { margin-inline: 16px; }
}
@media (max-width: 620px) {
  .topbar { grid-template-columns: auto 1fr auto; gap: 8px; }
  .search-box kbd { display: none; }
  .search-box { min-width: 0; }
  .metric-grid { grid-template-columns: 1fr; }
  .folder-grid { grid-template-columns: 1fr; }
  .page-heading { display: grid; }
  .page-heading h1 { font-size: 34px; }
  .quick-note { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .lead-row, .calendar-toolbar { display: grid; }
  .calendar-controls { flex-wrap: wrap; }
  .mobile-brand .brand-mark { display: grid; width: 36px; height: 36px; flex-basis: 36px; border-radius: 11px; font-size: 12px; }
  .mobile-menu { display: none; }
}
