/* GI-admin accordion sidebar · official Stracka logo tokens */
:root,
[data-theme="light"] {
  --forest: #377B3B;
  --navy: #030059;
  --white: #FFFFFF;
  --tint: #EBF2EB;
  --hover: #F3F7F3;
  --paper: #F6F4EF;
  --card: #ffffff;
  --line: #D3E2D4;
  --ink: #1A241C;
  --ok-bg: #EBF2EB;
  --ok-ink: #377B3B;
  --warn-bg: #F8EDE0;
  --warn-ink: #7A3E12;
  --ex-bg: #F4E8B8;
  --ex-ink: #6B5410;
}

body.has-sidebar {
  --bg: #F6F4EF;
  --bg-elev: #ffffff;
  --bg-card: #ffffff;
  --bg-hover: #F3F7F3;
  --line: #D3E2D4;
  --line-strong: #D3E2D4;
  --text: #030059;
  --muted: #5A6B5E;
  --faint: #8A9688;
  --accent: #377B3B;
  --accent-2: #030059;
  --accent-dim: #EBF2EB;
  display: flex;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}

.sidebar {
  width: 268px;
  flex-shrink: 0;
  background: #FFFFFF;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 30;
}
.sidebar-brand {
  display: block;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
  background: #FFFFFF;
}
.sidebar-logo {
  width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.sidenav {
  flex: 1;
  overflow: auto;
  padding: 0;
  background: #FFFFFF;
}
.gblock {
  border-bottom: 1px solid var(--line);
  background: #FFFFFF;
}
.gblock.open {
  background: var(--tint);
}
.ghead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 750;
  letter-spacing: .01em;
  line-height: 1.25;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.ghead .glabel {
  flex: 1;
  min-width: 0;
}
.ghead .chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
  color: var(--navy);
  transition: transform .16s ease;
}
.ghead.open, .ghead.on { color: var(--forest); }
.ghead.open .chevron, .ghead.on .chevron {
  color: var(--forest);
  transform: rotate(180deg);
}
.gkids { display: none; padding: 0 10px 10px 22px; }
.gblock.open .gkids { display: block; }
.gkids a {
  display: block;
  color: var(--navy);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 6px;
  line-height: 1.3;
}
.gkids a:hover { color: var(--navy); background: var(--hover); }
.gkids a.on { color: var(--forest); background: var(--tint); font-weight: 700; }
.staff a { color: var(--muted); text-decoration: none; font-weight: 600; }
.staff a:hover { color: var(--forest); }
.staff {
  font-size: 10.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 8px 12px 10px;
  font-weight: 600;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.app-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}
.mobile-bar {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 25;
}
.mobile-bar .brand-logo { height: 36px; width: auto; }
.mobile-bar .theme-btn { margin-left: auto; }
body.has-sidebar .foot { padding: 20px 0 28px; }

.snapshot-banner {
  background: var(--warn-bg);
  color: var(--warn-ink);
  border: 1px solid #e8c9a8;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  margin: 16px 0 12px;
}
.snapshot-banner.compact {
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  margin: 6px 0 10px;
  display: inline-block;
}
.gcard .kpis,
.gcard .stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
}
.gcard .stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 5px 0;
  border-top: 1px solid var(--line);
}
.gcard .stats .stat:first-child,
.gcard .kpis .stat:first-child { border-top: 0; padding-top: 0; }
.gcard .stat .lab {
  color: var(--muted);
  font-weight: 500;
  min-width: 0;
}
.gcard .stat .num,
.gcard .cnt b {
  color: var(--navy);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.staff-home { padding-top: 18px; }
.staff-home .page-h {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}
.staff-home h1 {
  font-weight: 700;
  font-size: 26px;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 0 0 3px;
  color: var(--navy);
}
.staff-home .purpose { margin: 0; color: var(--muted); font-size: 13px; max-width: 820px; }
.home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
  align-items: stretch;
}
.gcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px 14px;
  min-height: 0;
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.gcard:hover { border-color: var(--forest); color: inherit; }
.gcard .idx {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--forest);
  text-transform: uppercase;
}
.gcard h3 { margin: 4px 0 10px; font-size: 16px; color: var(--navy); }
.gcard p { margin: 0; color: var(--muted); font-size: 12.5px; }
.gcard .cnt { font-size: 13px; font-weight: 400; color: var(--ink); }
.gcard .hint {
  font-size: 11px;
  font-weight: 500;
  color: var(--faint);
  display: block;
  margin-top: 10px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gcard .quiet { font-weight: 500; color: var(--faint); font-size: 11px; }
.gcard table.kpi-grid {
  width: 100%;
  border-collapse: separate;
  border-spacing: 8px 6px;
  margin: -4px -8px 0;
  font-size: 13px;
  font-weight: 400;
}
.gcard table.kpi-grid th {
  color: var(--faint);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-align: right;
}
.gcard table.kpi-grid th:first-child,
.gcard table.kpi-grid td:first-child {
  text-align: left;
  color: var(--muted);
  font-weight: 500;
}
.gcard table.kpi-grid td.num {
  text-align: right;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.gcard ol.mini, .gcard ul.mini {
  list-style: none;
  margin: 0;
  padding: 0;
}
.gcard ol.mini li, .gcard ul.mini li {
  padding: 6px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 400;
}
.gcard ol.mini li:first-child, .gcard ul.mini li:first-child { border-top: 0; padding-top: 0; }
.gcard ol.mini li.win {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}
.gcard ol.mini li.win .who {
  color: var(--ink);
  font-weight: 400;
  white-space: normal;
  overflow-wrap: anywhere;
}
.gcard ol.mini li.win .meta {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
  text-align: left;
  white-space: normal;
}
.gcard ol.mini li.sale {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.gcard ol.mini li.sale .who {
  color: var(--ink);
  font-weight: 400;
  min-width: 0;
}
.gcard ol.mini li.sale .meta {
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.orders-split { display: flex; flex-direction: column; gap: 16px; margin-top: 12px; }
.dash { color: var(--faint); }

@media (max-width: 900px) {
  body.has-sidebar { display: block; }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    transform: translateX(-100%);
    transition: transform .18s ease;
    box-shadow: none;
  }
  body.nav-open .sidebar {
    transform: translateX(0);
    box-shadow: 8px 0 24px rgba(0,0,0,.12);
  }
  .mobile-bar { display: flex; }
  .nav-toggle { display: block; margin-left: 0; }
  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(26,36,28,.28);
    z-index: 20;
  }
}

@media (max-width: 640px) {
  .home-grid { grid-template-columns: 1fr; }
}

.badge.ok { background: var(--ok-bg); color: var(--ok-ink); }
.badge.warn { background: var(--warn-bg); color: var(--warn-ink); }
.api-amt { display: inline-block; }
.api-amt .under { margin-top: 1px; }

.order-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin: 14px 0 4px;
}
.order-tabs a {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  color: var(--navy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  text-transform: none;
}
.order-tabs a:hover { background: var(--hover); color: var(--navy); }
.order-tabs a.on {
  color: var(--forest);
  border-bottom-color: var(--forest);
  background: var(--tint);
  font-weight: 750;
}


/* Taylor / Admin facility scores — three separate chips. Hidden when empty. */
.score-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  align-items: center;
}
td .score-chips { margin-top: 4px; }
.score-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.4;
  background: var(--tint);
  color: var(--navy);
  border: 1px solid var(--line);
}
.score-chip.quality {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.score-chip.quality .q-icon {
  display: inline-block;
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border-radius: 50%;
}
.score-chip.quality.q-A { background: #F3EEF8; color: #3D2463; }
.score-chip.quality.q-A .q-icon {
  border-radius: 2px;
  transform: rotate(45deg);
  width: 9px;
  height: 9px;
  background: #5B3A9E;
  box-shadow: inset 0 0 0 1px #3D2463;
}
.score-chip.quality.q-B { background: #FFF6D8; color: #7A5A00; }
.score-chip.quality.q-B .q-icon { background: #D4AF37; }
.score-chip.quality.q-C { background: #F0F0F2; color: #4A4A52; }
.score-chip.quality.q-C .q-icon { background: #C0C0C0; }
.score-chip.quality.q-D { background: #F8EDE0; color: #7A3E12; }
.score-chip.quality.q-D .q-icon { background: #CD7F32; }
.score-chip.quality.q-E { background: #E8F3E9; color: #2F6B33; }
.score-chip.quality.q-E .q-icon { background: #377B3B; }
.score-chip.warmth.w-5 { background: #E8F3E9; color: #2F6B33; }
.score-chip.warmth.w-4 { background: #E8EEF8; color: #030059; }
.score-chip.warmth.w-3 { background: #F3F7F3; color: #3A4A3C; }
.score-chip.warmth.w-2 { background: #F8EDE0; color: #7A3E12; }
.score-chip.warmth.w-1 { background: #F4E8B8; color: #6B5410; }
.score-chip.staff { background: #fff; }
.score-chip.calendar {
  background: #EEF3F8;
  color: #1A3A52;
  font-weight: 600;
  margin-left: 6px;
  vertical-align: middle;
}
details.fill-cal { display: inline-block; margin-left: 6px; vertical-align: middle; }
details.fill-cal > summary.score-chip.calendar {
  cursor: pointer;
  list-style: none;
  margin-left: 0;
}
details.fill-cal > summary::-webkit-details-marker { display: none; }
.fill-cal-form {
  margin: 8px 0 0;
  padding: 8px;
  border: 1px solid var(--line, #c5d0c5);
  background: #fff;
  display: grid;
  gap: 6px;
  min-width: 220px;
}
.fill-cal-form label { display: flex; flex-direction: column; font-size: 12px; gap: 2px; }
.fill-cal-form .sub { margin: 0; font-size: 11px; }
tr.event-class-row td {
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 11px;
  background: var(--tint, #F3F7F3);
  color: var(--navy, #030059);
}

body.rep-desk table.data th,
body.rep-desk table.data td {
  text-align: left;
}
body.rep-desk table.data th.num,
body.rep-desk table.data td.num,
body.rep-desk table.data th.money,
body.rep-desk table.data td.money {
  text-align: left;
}
img.prod-tag {
  height: 18px;
  width: auto;
  vertical-align: middle;
  margin-right: 4px;
}

.inherited-from {
  color: #5a4632;
  font-weight: 600;
}

.taylor-marks { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; }
.taylor-marks .mark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #3A4A3C;
}
.taylor-marks .mark.crown { background: #FFF6D8; color: #7A5A00; }
.taylor-marks .mark.rescue { background: #E8EEF8; color: #030059; }
.taylor-marks .mark.xsell { background: #E8F3E9; color: #2F6B33; }


/* Taylor who-to-call: club name on its own line. Warmth stays a chip. */
td.club-cell {
  white-space: normal;
  min-width: 220px;
  vertical-align: top;
}
td.club-cell .club-name {
  display: block;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
}
td.club-cell .club-name a { font-weight: 700; }
td.club-cell .score-chips {
  display: flex;
  flex-wrap: wrap;
  margin-top: 6px;
  width: 100%;
}
td.club-cell .call-opener {
  display: block;
  margin-top: 6px;
  font-weight: 400;
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.4;
  white-space: normal;
}
td.club-cell .followup-why {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #7A3E12;
  letter-spacing: .01em;
}
td.club-cell a.linkedin {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
}
tr.section-row td {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--tint);
  padding-top: 10px;
  padding-bottom: 8px;
}
tr.missed-row td { background: #FBF6EE; }

.welcome-copy {
  padding: 18px 20px 22px;
  max-width: 42rem;
  text-align: left;
}
.welcome-copy h2 {
  margin: 22px 0 8px;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  text-align: left;
}
.welcome-copy p,
.welcome-copy li {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.5;
  text-align: left;
  color: var(--ink);
}
.welcome-copy ul { margin: 0 0 12px; padding-left: 1.2em; }

/* Taylor contact-now row actions + prefer email/text. Left-align. */
table.contact-now td.row-actions,
table.contact-now td.prefer-cell {
  text-align: left;
  vertical-align: top;
  white-space: normal;
}
.row-action-form,
.prefer-form,
.prefer-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 0;
}
.prefer-choices {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4px;
}
.btn.small.row-action {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  line-height: 1.25;
  white-space: nowrap;
  text-align: left;
}
.prefer-q {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
}
.prefer-choice {
  font-size: 11px;
  color: var(--muted);
  text-align: left;
}
.btn.small.row-action.on {
  background: var(--tint);
  border-color: var(--forest);
}

/* Taylor sample-book draft: three PNG pages + PDF. SAMPLE · NOT A LIVE ORDER. */
.sample-banner {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8a1f12;
  background: #fde8e4;
  border: 1px solid #e8b4aa;
  padding: 4px 10px;
  margin: 0 0 10px;
  text-align: left;
}
.sample-pack {
  margin: 0 0 14px;
  text-align: left;
}
.sample-pack-pages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 12px 0;
}
.sample-pack-page {
  margin: 0;
  text-align: left;
}
.sample-pack-page img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line, #d5d0c8);
  background: #fff;
}
.sample-pack-page figcaption {
  font-size: 11px;
  font-weight: 700;
  margin-top: 4px;
  color: var(--muted);
  text-align: left;
}
.sample-pack-pdf {
  margin: 0 0 12px;
  text-align: left;
}

table.contact-now.slim td.last-contact,
table.contact-now.slim td.lead-in {
  white-space: normal;
  vertical-align: top;
  font-size: 13px;
  line-height: 1.35;
  max-width: 280px;
}
table.contact-now.slim td.last-contact {
  font-weight: 700;
  white-space: nowrap;
}
ul.recycle-names {
  list-style: none;
  margin: 0;
  padding: 8px 16px 16px;
}
ul.recycle-names li {
  padding: 4px 0;
  font-weight: 700;
}

/* Needs invoicing: keep “no QB Num” casing (htmlutil.badge lowercases). */
span.ni-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--warn-bg, #F8EDE0);
  color: var(--warn-ink, #7A3E12);
  border: 1px solid #E8D3BE;
  white-space: nowrap;
  text-transform: none;
}


/* Account memo under quality/warmth/staff chips. Left-aligned. */
.account-memo {
  margin: 12px 0 0;
  text-align: left;
  max-width: 42rem;
}
.account-memo .card-h h2 { text-align: left; }
.account-memo-lines {
  list-style: none;
  margin: 0;
  padding: 10px 16px 14px;
  text-align: left;
}
.account-memo-lines li {
  text-align: left;
  margin: 0 0 6px;
  line-height: 1.4;
}
.account-memo-lines li:last-child { margin-bottom: 0; }


/* New Leads + Orders in Process: left-aligned slim tables. */
.taylor-new-leads,
.orders-in-process {
  text-align: left;
}
.taylor-new-leads table.data,
.orders-in-process table.data {
  text-align: left;
}
.taylor-new-leads th,
.taylor-new-leads td,
.orders-in-process th,
.orders-in-process td {
  text-align: left;
}


/* Taylor Plan My Day / Reorders kind chips. Cream chrome. Never Recycle. */
.kind-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.kind-chip.new-seat { background: #E8EEF8; color: #030059; }
.kind-chip.silent { background: #F3F7F3; color: #3A4A3C; }
.kind-chip.lapsed { background: #F8EDE0; color: #7A3E12; }
.taylor-queue,
.taylor-queue table.data,
.taylor-queue th,
.taylor-queue td {
  text-align: left;
}
.taylor-queue td.row-actions {
  text-align: left;
  vertical-align: top;
  white-space: normal;
}


/* Closed Deals leading cover/HoLo thumbs. Cream chrome. ~40px. */
table.data.sales-deals th.deal-thumb-cell,
table.data.sales-deals td.deal-thumb-cell {
  width: 48px;
  min-width: 48px;
  padding: 6px 8px;
  background: var(--paper, #F6F4EF);
  vertical-align: middle;
}
.deal-thumbs {
  display: flex;
  align-items: center;
  gap: 4px;
}
img.deal-thumb {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  background: #F6F4EF;
}



/* Logged-in identity under logo (Chase 2026-09-10) — not a nav item */
.sidebar-who {
  display: block;
  margin: 4px 12px 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--tint, #eef6ef);
  border: 1px solid rgba(55, 123, 59, 0.22);
  color: var(--navy, #030059);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: none;
}
.sidebar-who .sidebar-who-label {
  display: block;
  margin: 0 0 2px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #6b7280);
}
.sidebar-who .sidebar-who-name {
  display: block;
  color: var(--forest, #377B3B);
  font-size: 14.5px;
  font-weight: 750;
  line-height: 1.2;
}
.rep-desk .sidebar-who,
.has-sidebar .sidebar-who {
  background: var(--tint, #eef6ef);
  color: var(--navy, #030059);
}

/* Flat sidenav (Support-style) — sales desks + ops role hosts. Not Admin accordion. */
.sidenav.flat a {
  display: block;
  color: var(--navy);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  line-height: 1.3;
}
.sidenav.flat a:hover { background: var(--hover); color: var(--navy); }
.sidenav.flat a.on { color: var(--forest); background: var(--tint); }
.sidenav.flat a .tiny, .muted { color: var(--muted); font-weight: 500; }


/* Chase lock 2026-09-06: Who to Call 4-col + facility Call/Email */
table.wtc-four tr.wtc-click { cursor: pointer; }
table.wtc-four tr.wtc-click:hover td { background: var(--tint, #f3f7f4); }
table.wtc-four td.suggested-action {
  max-width: 28rem;
  white-space: normal;
  font-size: 12.5px;
  line-height: 1.35;
}
table.wtc-four td.primary-contact { white-space: nowrap; }
.call-now-card .call-script { margin: 8px 0 0; padding-left: 1.2em; }
.call-now-card .call-script li { margin: 0 0 6px; }
.call-now-card[data-voice="dark"] .btn.pending,
.email-now-card[data-send="oauth-pending"] .btn.pending {
  opacity: 0.72;
  cursor: not-allowed;
}
.email-now-form textarea { min-height: 140px; }
form.inline-primary { display: inline; margin: 0; }


/* Desk warm-cache — full-screen preload (Taylor v1). Logo green = site --green-logo #3b7336 */
#desk-warm-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 31, 58, 0.92);
  transition: opacity .3s ease;
}
#desk-warm-overlay.desk-warm-hidden {
  opacity: 0;
  pointer-events: none;
}
.desk-warm-card {
  width: min(420px, 92vw);
  text-align: center;
  color: #fff;
  padding: 28px 24px 22px;
}
.desk-warm-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.desk-warm-logo {
  display: block;
  margin: 0;
  height: 52px;
  width: auto;
  max-width: min(280px, 72vw);
  object-fit: contain;
  /* Keep full Admin & Staff lockup (green + navy) — no invert bleach */
  filter: none;
}
.desk-warm-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}
.desk-warm-blurb {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  opacity: .75;
  text-transform: none;
  letter-spacing: 0;
}
.desk-warm-track {
  height: 10px;
  background: rgba(255,255,255,.18);
  border-radius: 999px;
  overflow: hidden;
  margin: 0 0 10px;
}
.desk-warm-fill {
  height: 100%;
  background: #3b7336;
  border-radius: 999px;
  transition: width .25s ease;
}
.desk-warm-pct {
  margin: 0 0 14px;
  font-size: 13px;
  opacity: .85;
}
.desk-warm-skip {
  background: transparent;
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  cursor: pointer;
}
.desk-warm-skip:hover { background: rgba(255,255,255,.1); }

/* Desk footer chrome: Resync + Log out — clearer buttons, stacked spacing (Chase 2026-09-10)
   Also cover Admin accordion (.has-sidebar without .rep-desk). */
.rep-desk .sidebar .staff,
.has-sidebar .sidebar .staff {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  padding: 12px 12px 14px;
}
.rep-desk .sidebar .staff .theme-btn,
.rep-desk .sidebar .staff a[href="/logout"],
.has-sidebar .sidebar .staff .theme-btn,
.has-sidebar .sidebar .staff a[href="/logout"] {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid var(--line, #d5ddd8);
  background: #fff;
  color: var(--navy, #1a2e22);
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  line-height: 1.3;
}
.rep-desk .sidebar .staff .theme-btn:hover,
.rep-desk .sidebar .staff a[href="/logout"]:hover,
.has-sidebar .sidebar .staff .theme-btn:hover,
.has-sidebar .sidebar .staff a[href="/logout"]:hover {
  color: var(--forest, #377B3B);
  background: var(--hover, #f0f3f1);
  border-color: var(--forest, #377B3B);
}
.desk-warm-resync {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 9px 12px;
  background: var(--tint, #e8f2e9);
  border: 1px solid var(--forest, #377B3B);
  border-radius: 8px;
  color: var(--forest, #377B3B);
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  line-height: 1.3;
}
.desk-warm-resync:hover {
  color: #fff;
  background: var(--forest, #377B3B);
}
.mobile-bar .desk-warm-resync {
  width: auto;
  margin: 0 8px 0 0;
  padding: 6px 10px;
  font-size: 11px;
  max-width: 10rem;
}

/* IndexedDB-first list hydrate */
.warm-list-note {
  margin: 8px 12px 12px;
  opacity: 0.75;
}
.warm-list-card[data-warm-state="cached"] .warm-list-note,
.warm-list-card[data-warm-state="cached-stale"] .warm-list-note {
  display: block;
}
.warm-list-card[data-warm-state="live"] .warm-list-note {
  display: none;
}


/* Today call list — stacked relationship + readable columns (Chase 2026-09-10) */
table.today-list {
  min-width: 920px;
  table-layout: fixed;
}
table.today-list th,
table.today-list td {
  padding: 11px 12px;
  vertical-align: top;
}
table.today-list th:nth-child(1),
table.today-list td.club-cell { width: 22%; }
table.today-list th:nth-child(2),
table.today-list td.primary-contact { width: 16%; white-space: nowrap; }
table.today-list th:nth-child(3),
table.today-list td.call-now-cell { width: 120px; white-space: nowrap; }
table.today-list th:nth-child(4),
table.today-list td.relationship-memo { width: 24%; }
table.today-list th:nth-child(5),
table.today-list td.suggested-action { width: 26%; }
table.today-list td.club-cell .club-name {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
}
table.today-list td.club-cell .club-name a { color: var(--accent-2, #030059); }
table.today-list td.relationship-memo {
  white-space: normal;
  line-height: 1.35;
}
table.today-list .rel-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
table.today-list .rel-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
table.today-list .rel-invoice,
table.today-list .rel-age,
table.today-list .rel-never {
  font-size: 12px;
  line-height: 1.3;
  color: var(--muted);
}
table.today-list .prod-tag-chip.lead {
  background: #6B7280;
}
table.today-list td.suggested-action {
  white-space: normal;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--text);
}
table.today-list td.call-now-cell .btn,
table.today-list td.call-now-cell a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 108px;
  height: 34px;
  padding: 0 12px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}
table.today-list td.call-now-cell .call-now-btn {
  background: var(--accent, #377B3B);
  color: #fff;
  border: 0;
}
table.today-list td.call-now-cell .open-facility-btn {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong, #c9c4b8);
}
.today-card-h {
  justify-content: flex-end;
}
.today-card-h h2 { display: none; }
