:root {
  --paper: #f3efe6;
  --paper-2: #eae4d8;
  --ink: #1b1915;
  --muted: #5e584e;
  --line: #d4ccc0;
  --brick: #8d3b2a;
  --brick-dark: #6e2c1f;
  --stamp: #24382f;
  --white: #faf8f4;
  --ok: #24382f;
  --err: #8d3b2a;
  --max: 960px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
a { color: var(--brick); }
a:hover { color: var(--brick-dark); }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.top {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  /* Above Leaflet panes (~200–700) / map controls (~1000); call-assist stays higher */
  position: sticky; top: 0; z-index: 1200;
  overflow: visible;
}
.top-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 64px; flex-wrap: wrap; padding: 8px 0;
}
.brand { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 1px; }
.brand strong {
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 20px; font-weight: 600; letter-spacing: -0.02em;
}
.brand span {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
nav, nav.top-nav { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; align-items: center; }
nav a { text-decoration: none; color: var(--ink); }
nav a.active { box-shadow: inset 0 -1px 0 var(--ink); }
nav .meta { color: var(--muted); font-size: 13px; }
.nav-dd { position: relative; z-index: 1; overflow: visible; }
.nav-dd > summary {
  list-style: none; cursor: pointer; color: var(--ink);
  padding: 2px 0; user-select: none;
}
.nav-dd > summary::-webkit-details-marker { display: none; }
.nav-dd > summary::after { content: " ▾"; font-size: 11px; opacity: .7; }
.nav-dd.active > summary,
.nav-dd[open] > summary { box-shadow: inset 0 -1px 0 var(--ink); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 1300;
  min-width: 180px; padding: 6px; border-radius: 10px;
  background: #fff; border: 1px solid var(--line, #d4ccc0);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
  display: flex; flex-direction: column; gap: 2px;
}
.nav-dd-menu a {
  padding: 8px 10px; border-radius: 8px; box-shadow: none !important;
}
.nav-dd-menu a:hover { background: rgba(0,0,0,.04); }
.nav-dd-menu a.active { background: rgba(0,0,0,.06); font-weight: 600; }
main { padding: 24px 0 48px; position: relative; z-index: 0; overflow: visible; }
nav.top-nav { overflow: visible; position: relative; z-index: 1; }
h1 {
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: clamp(26px, 5vw, 36px);
  margin: 0 0 8px; letter-spacing: -0.02em;
}
.kicker {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brick); margin: 0 0 12px;
}
.muted { color: var(--muted); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 18px;
  margin: 0 0 14px;
}
.flash { padding: 10px 12px; margin: 0 0 14px; border: 1px solid var(--line); font-size: 14px; }
.flash.ok { border-color: var(--stamp); background: #e8efe9; }
.flash.error { border-color: var(--brick); background: #f6ebe8; }
.flash.warn { border-color: #b45309; background: #fff7ed; }
label { display: block; font-size: 13px; color: var(--muted); margin: 0 0 4px; }
input[type=text], input[type=email], input[type=password], input[type=date], textarea, select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font: inherit; margin: 0 0 12px;
}
textarea { min-height: 100px; resize: vertical; }
.btn, button {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--ink); color: var(--white);
  padding: 10px 14px; font: inherit; font-size: 14px; text-decoration: none;
}
.btn:hover, button:hover { background: var(--brick); color: var(--white); }
.btn.secondary, button.secondary {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
}
.btn.secondary:hover, button.secondary:hover { border-color: var(--brick); color: var(--brick); }
.btn.small, button.small { padding: 6px 10px; font-size: 13px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.tabs a {
  text-decoration: none; color: var(--ink); border: 1px solid var(--line);
  padding: 8px 12px; background: var(--paper-2); font-size: 14px;
}
.tabs a.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.lead-row {
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
  padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.lead-row:last-child { border-bottom: 0; }
.lead-row a.name {
  font-weight: 600; text-decoration: none; color: var(--ink);
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
}
.lead-row a.name:hover { color: var(--brick); }
.meta-line { font-size: 13px; color: var(--muted); }
.badge {
  display: inline-block; font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; border: 1px solid var(--line);
  padding: 2px 6px; color: var(--muted);
}
.badge.overdue { border-color: var(--brick); color: var(--brick); }
.badge.today { border-color: var(--stamp); color: var(--stamp); }
.auth-box { max-width: 400px; margin: 48px auto; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.stack > * + * { margin-top: 12px; }
.dl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; font-size: 15px; }
.dl dt { color: var(--muted); }
.section-title {
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 20px; margin: 24px 0 10px;
}
.oauth-stack { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.btn.oauth, a.btn.oauth {
  display: block; text-align: center; text-decoration: none;
  background: var(--white); color: var(--ink); border: 1px solid var(--line);
  padding: 12px 14px; font-size: 15px; font-weight: 600;
}
.btn.oauth:hover, a.btn.oauth:hover { border-color: var(--brick); color: var(--brick); background: var(--paper); }
.btn.oauth.google { border-width: 2px; }
.oauth-hint {
  margin: 0; padding: 10px 12px; border: 1px dashed var(--line);
  font-size: 13px; color: var(--muted); background: var(--paper-2);
}
.password-details { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.password-details summary {
  cursor: pointer; font-size: 14px; color: var(--muted); margin-bottom: 12px;
}
.password-form { margin-top: 8px; }
.small { font-size: 13px; }
code { font-size: 0.92em; }
@media (max-width: 560px) {
  .dl { grid-template-columns: 1fr; }
  .lead-row { grid-template-columns: 1fr; }
}

/* Message templates */
.tpl-list { list-style: none; margin: 0; padding: 0; }
.tpl-list li {
  display: grid; grid-template-columns: 1fr auto; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.tpl-list li:last-child { border-bottom: 0; }
.tpl-preview, .tpl-body {
  white-space: pre-wrap; font-family: inherit; font-size: 14px;
  background: var(--paper); border: 1px solid var(--line);
  padding: 10px 12px; margin: 8px 0 0; overflow-x: auto;
}
.tpl-body { font-size: 15px; min-height: 120px; }
.fill-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px;
}
@media (max-width: 560px) {
  .fill-grid { grid-template-columns: 1fr; }
  .tpl-list li { grid-template-columns: 1fr; }
}
@media print {
  .top, .kicker, .row-actions, form, .flash { display: none !important; }
  .card { border: 0; padding: 0; }
  body { background: #fff; }
  .tpl-body { border: 0; background: #fff; font-size: 16px; }
}

/* Welcome / onboarding */
.howto { margin: 0 0 12px 18px; padding: 0; font-size: 15px; }
.howto li { margin: 0 0 8px; }
.howto-bullets { margin: 0 0 8px 18px; padding: 0; font-size: 14px; color: var(--muted); }
.howto-bullets li { margin: 0 0 6px; }

label.checkbox-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--ink); margin: 4px 0 14px; cursor: pointer;
  line-height: 1.35;
}
label.checkbox-row input[type=checkbox] {
  width: auto; margin: 3px 0 0; flex-shrink: 0;
}

.billing-dl { display:grid; grid-template-columns:140px 1fr; gap:8px 16px; margin:0 0 16px; font-size:15px; }
.billing-dl dt { color:var(--muted); }
.billing-dl dd { margin:0; }
.billing-dl .yes { color:var(--ok); }
.billing-dl .no { color:var(--err); }
.check { display:flex; align-items:flex-start; gap:8px; margin:0 0 12px; color:var(--ink); font-size:14px; }
.check input { width:auto; margin:3px 0 0; }
.row-2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:640px){ .row-2 { grid-template-columns:1fr; } }
input[type=time], input[type=tel] {
  width:100%; padding:10px 12px; border:1px solid var(--line);
  background:var(--paper); color:var(--ink); font:inherit; margin:0 0 12px;
}
.work-actions { display:flex; flex-direction:column; gap:6px; align-items:stretch; min-width:140px; }
.work-actions form { margin:0; }
.inline-resched { display:flex; flex-direction:column; gap:4px; }
.inline-resched input[type=date] { margin:0; font-size:13px; padding:6px 8px; }
.lead-row .name { font-weight:600; font-family:"Iowan Old Style", Palatino, Georgia, serif; }
.checkbox-row { display:flex; gap:8px; align-items:flex-start; margin:0 0 12px; font-size:14px; }
.checkbox-row input { width:auto; margin-top:3px; }
.section-title { font-size:15px; letter-spacing:0.04em; text-transform:uppercase; color:var(--muted); margin:18px 0 10px; }


/* Work actions */
.work-actions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; min-width: 140px; }
.work-actions form { margin: 0; }
.work-actions .inline-resched { display: flex; flex-direction: column; gap: 4px; }
.work-actions input[type=date] { margin: 0; padding: 6px 8px; font-size: 13px; }

/* Virtual SMS test client — iMessage-style */
.phone-frame {
  max-width: 390px; margin: 0 auto 18px;
  background: #111; border-radius: 36px; padding: 12px 10px 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,.22);
}
.phone-notch {
  width: 108px; height: 28px; border-radius: 18px; background: #000;
  margin: 2px auto 8px;
}
.phone-screen {
  background: #fff; border-radius: 28px; height: 560px; min-height: 560px; max-height: 560px;
  display: flex; flex-direction: column; overflow: hidden;
}
.sms-topbar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px 8px; border-bottom: 1px solid #e5e5ea;
  background: rgba(249,249,249,.92); backdrop-filter: blur(8px);
}
.sms-back {
  flex: 0 0 auto; width: 28px; height: 28px; line-height: 26px;
  text-align: center; font-size: 28px; font-weight: 300; color: #007AFF;
  text-decoration: none; border-radius: 8px;
}
.sms-back:hover { background: rgba(0,122,255,.08); }
.sms-contact { flex: 1; text-align: center; min-width: 0; }
.sms-contact-name {
  font-size: 16px; font-weight: 600; color: #000; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sms-contact-num {
  font-size: 12px; color: #8e8e93; margin-top: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sms-topbar-spacer { flex: 0 0 28px; }
.sms-bubbles {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 12px 12px 8px; display: flex; flex-direction: column; gap: 6px; background: #fff;
}
.sms-hint {
  align-self: center; max-width: 90%; margin: 12px 0;
  padding: 10px 14px; border-radius: 14px; background: #f2f2f7;
  color: #636366; font-size: 13px; line-height: 1.4; text-align: center;
}
.sms-bubble {
  max-width: 78%; padding: 8px 12px; border-radius: 18px;
  font-size: 15px; line-height: 1.35; white-space: pre-wrap; word-break: break-word;
}
.sms-bubble.in {
  align-self: flex-end; background: #0A84FF; color: #fff;
  border-bottom-right-radius: 4px;
}
.sms-bubble.out {
  align-self: flex-start; background: #E5E5EA; color: #000;
  border-bottom-left-radius: 4px;
}
.sms-bubble.in .sms-meta { color: rgba(255,255,255,.75); }
.sms-bubble.out .sms-meta { color: #8e8e93; }
.sms-meta { font-size: 11px; margin-top: 4px; }
.sms-compose {
  border-top: 1px solid #e5e5ea; padding: 8px 10px 10px; background: #f9f9f9;
  display: flex; flex-direction: column; gap: 6px;
}
.sms-compose-row {
  display: flex; align-items: center; gap: 8px;
}
.sms-pill {
  flex: 1; margin: 0; min-height: 0; height: 36px;
  border: 1px solid #c7c7cc; border-radius: 20px; background: #fff;
  padding: 8px 14px; font-size: 15px; line-height: 1.2;
  box-shadow: none;
}
.sms-pill:focus { outline: none; border-color: #007AFF; }
.sms-pill:disabled { opacity: .55; }
.sms-send {
  flex: 0 0 auto; width: 32px; height: 32px; margin: 0; padding: 0;
  border: none; border-radius: 50%; background: #007AFF; color: #fff;
  font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.sms-send:hover { background: #0A84FF; }
.sms-send:disabled { opacity: .45; cursor: not-allowed; }
.sms-real-toggle {
  display: flex; align-items: center; gap: 6px; margin: 0;
  font-size: 12px; color: #8e8e93; cursor: pointer; user-select: none;
}
.sms-real-toggle input { width: auto; margin: 0; }


/* Knock heat map */
.heat-metros { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.heat-metro {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line, #d4ccc0);
  text-decoration: none; color: var(--ink); background: #fff; min-width: 110px;
}
.heat-metro span { font-size: 12px; color: var(--muted); }
.heat-metro.active, .heat-metro:hover { border-color: var(--ink); }
.heat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px; margin-bottom: 24px;
}
.heat-cell {
  border-radius: 12px; padding: 10px; border: 1px solid rgba(0,0,0,.06);
  background: color-mix(in srgb, #e85d04 calc(var(--heat) * 100%), #fff7ed);
  display: flex; flex-direction: column; gap: 8px;
}
.heat-zip { text-decoration: none; color: inherit; }
.heat-zip-code { font-size: 18px; font-weight: 700; letter-spacing: .02em; }
.heat-zip-count { font-size: 13px; color: #5c4033; }
.heat-plan { margin: 0; }
.work-zip-filter {
  display: flex; align-items: end; gap: 10px; flex-wrap: wrap;
  margin: 0 0 14px; padding: 10px 12px; border-radius: 10px;
  background: #faf8f4; border: 1px solid var(--line, #d4ccc0);
}
.work-zip-filter label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; margin: 0; }
.work-zip-filter input[type=text] { width: 100px; margin: 0; }


.knock-map-layout {
  display: grid; grid-template-columns: 1fr minmax(260px, 320px);
  gap: 14px; align-items: stretch; margin: 12px 0 28px;
}
@media (max-width: 900px) {
  .knock-map-layout { grid-template-columns: 1fr; }
}
.knock-map {
  height: 560px; border-radius: 14px; border: 1px solid var(--line, #d4ccc0);
  overflow: hidden; background: #e8e4dc;
  /* Contain Leaflet stacking so CRM nav dropdown paints above map panes */
  position: relative;
  z-index: 0;
  isolation: isolate;
}
.knock-map .leaflet-container {
  z-index: 0;
}
.knock-map-side {
  border: 1px solid var(--line, #d4ccc0); border-radius: 14px;
  padding: 12px 14px; background: #fff; max-height: 560px; overflow: auto;
}
.knock-map-side h2 { font-size: 16px; margin: 0 0 6px; }
.knock-closest { margin: 10px 0 0; padding-left: 18px; font-size: 13px; }
.knock-closest li { margin: 0 0 6px; }


/* Call assist — big field overlay (personal vs deal cues) */
body.call-assist-open { overflow: hidden; }
.call-assist-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(28, 18, 12, 0.72);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.call-assist-overlay[hidden] { display: none !important; }
.call-assist-panel {
  width: min(920px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: #fffaf3;
  border-radius: 18px;
  border: 2px solid #5c4033;
  padding: 22px 24px 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.call-assist-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.call-assist-top h2 { margin: 0; font-size: 22px; }
.call-assist-close {
  border: 0; background: transparent; font-size: 32px; line-height: 1;
  cursor: pointer; color: #5c4033; padding: 0 6px;
}
.call-assist-who {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  margin: 10px 0 4px;
  line-height: 1.15;
}
.call-assist-context { font-size: 16px; margin: 0 0 14px; }
.call-assist-phone {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px;
  margin: 0 0 18px; padding: 14px 16px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line, #d4ccc0);
}
.call-assist-phone .label {
  text-transform: uppercase; letter-spacing: .06em; font-size: 12px; color: var(--muted);
}
.call-assist-phone .tel {
  font-size: clamp(26px, 4.5vw, 36px); font-weight: 700; text-decoration: none; color: var(--brick, #b33b1a);
}
.call-assist-phone .unknown { font-size: 28px; font-weight: 600; color: #8a7a6a; }
.call-assist-phone .small { font-size: 13px; }
.call-assist-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
@media (max-width: 720px) {
  .call-assist-grid { grid-template-columns: 1fr; }
}
.call-cue {
  border-radius: 14px; padding: 14px 16px 8px;
  border: 1px solid var(--line, #d4ccc0); background: #fff;
}
.call-cue h3 {
  margin: 0 0 8px; font-size: 15px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.call-cue.personal { border-top: 4px solid #2f6f4e; }
.call-cue.deal { border-top: 4px solid #b33b1a; }
.call-cue ul { margin: 0 0 10px; padding-left: 18px; }
.call-cue li { margin: 0 0 8px; font-size: clamp(16px, 2.4vw, 19px); line-height: 1.35; }
.call-assist-foot { margin: 16px 0 0; font-size: 13px; }


/* Home / Today + Marketing */
.wrap-wide, .home-page.wrap-wide { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.get-started {
  border: 1px solid var(--line); background: #fff; border-radius: 14px;
  padding: 16px 18px; margin: 14px 0 18px;
}
.get-started-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.get-started-top h2 { margin: 0; font-size: 18px; font-family: "Iowan Old Style", Palatino, Georgia, serif; }
.get-started-steps { margin: 12px 0 8px; padding-left: 20px; }
.get-started-steps li { margin: 0 0 8px; }
.home-map-toolbar {
  display: flex; flex-wrap: wrap; align-items: end; gap: 12px 16px;
  margin: 0 0 10px;
}
.home-zip-form { display: flex; align-items: end; gap: 8px; margin: 0; }
.home-zip-form label { margin: 0; }
.home-zip-form input { width: 100px; margin: 0; }
.home-map-layout { margin-top: 8px; }
.edu-section h2 { margin-top: 0; font-size: 20px; }
.edu-pitch {
  margin-top: 14px; padding: 14px 16px; border-radius: 12px;
  background: #faf8f4; border: 1px solid var(--line);
}
.edu-pitch h3 { margin: 0 0 8px; font-size: 16px; }
.edu-footer { margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--line); }
.small { font-size: 13px; }

.home-unmapped .row-actions { margin-top: 10px; }
.home-approx-block { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line, #d4ccc0); }
.home-approx-block h3 { margin: 0 0 4px; font-size: 14px; }
.home-zip-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.home-zip-chip {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 88px; padding: 8px 10px; border-radius: 10px;
  border: 1px solid var(--line, #d4ccc0); background: #faf8f4;
  text-decoration: none; color: var(--ink);
}
.home-zip-chip strong { font-size: 15px; letter-spacing: .02em; }
.home-zip-chip span { font-size: 11px; color: var(--muted); }
.home-zip-chip:hover { border-color: var(--ink); }


/* Marketing door-hanger gallery */
.hanger-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1rem 0 1.5rem;
}
.hanger-card {
  border: 1px solid #e5e0d6;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hanger-card img {
  width: 100%;
  height: auto;
  display: block;
  background: #f7f4ee;
  max-height: 360px;
  object-fit: contain;
}
.hanger-card .hanger-meta {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.hanger-card h3 { margin: 0; font-size: 1rem; }
.hanger-card p { margin: 0; font-size: 0.85rem; color: #666; }
.hanger-customize {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 800px) {
  .hanger-customize { grid-template-columns: 1fr; }
}
.hanger-preview {
  border: 1px solid #e5e0d6;
  border-radius: 12px;
  background: #f7f4ee;
  padding: 1rem;
  text-align: center;
}
.hanger-preview img, .hanger-preview object, .hanger-preview svg {
  max-width: 100%;
  height: auto;
  max-height: 640px;
}


/* Door hanger SERIES gallery (A–D named choices) */
.hanger-series-gallery {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.hanger-series-card .series-letter {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A64B29;
}
.hanger-series-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #1a1f2a;
}


/* Logo A */
.brand {
  flex-direction: row !important;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(180px, 46vw);
}
.brand-sub {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, #5e584e);
  line-height: 1.2;
  max-width: 18ch;
}
.auth-box .brand-logo { height: 48px; }
