/* Glass Doctor brand (MDG Brand Guidelines)
   Light blue is primary. Navy is an accent only: thin borders, small active
   chips and toggles, focus rings, and shadows. Body and heading text are
   dark neutrals so they clear WCAG AA. */
:root {
  --gd-blue: #06038d;       /* Accent navy - Pantone 2738C */
  --gd-light-blue: #60afe6; /* Primary light blue - Pantone 292C */
  --gd-text: #2c2c2c;       /* Body text */
  --gd-heading: #1f2a37;    /* Headings */
  --gd-red: #e4002b;        /* Supporting Red - Pantone 185C */
  --gd-red-dark: #b80023;
  --gray: #5c5c6b;
  --bg: #f4f7fb;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Gotham", "Gotham A", "Gotham B", "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--gd-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
header {
  background: var(--gd-light-blue);
  padding: 30px 20px 26px;
  text-align: center;
}
.logo-panel {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16); /* lighter tint of the header blue */
  border-radius: 14px;
  padding: 18px 30px;
  box-shadow: 0 3px 10px rgba(6, 3, 141, 0.22);
}
.logo-panel img { display: block; width: min(380px, 76vw); height: auto; }
header .tagline {
  margin-top: 14px;
  color: var(--gd-heading);
  font-weight: 700;
  font-size: 2.1rem;
  letter-spacing: 0.3px;
}
main {
  flex: 1;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 20px 48px;
}
.back {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gd-text);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
}
.back:hover { text-decoration: underline; }

/* cards */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 620px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .cards.three { grid-template-columns: 1fr 1fr 1fr; }
}
.card {
  background: #fff;
  border-radius: 10px;
  border-top: 5px solid var(--gd-light-blue);
  padding: 26px 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  text-align: center;
}
.card .icon { font-size: 2.4rem; margin-bottom: 12px; }
.card-icon {
  width: 72px;
  height: 72px;
  object-fit: contain; /* circular PNGs stay circular — no squashing, no cropping */
  display: block;
  margin: 0 auto 12px;
}
.title-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  vertical-align: -7px;
}
.btn-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: -4px;
  margin-right: 6px;
}
.card h2 { font-size: 1.12rem; font-weight: 900; margin-bottom: 8px; color: var(--gd-heading); }
.card p { font-size: 0.9rem; color: var(--gray); margin-bottom: 20px; flex: 1; }

/* buttons */
.btn {
  display: block;
  background: var(--gd-red);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s;
}
.btn:hover, .btn:active { background: var(--gd-red-dark); }
.btn.disabled { background: #9a9aa5; cursor: not-allowed; }
.btn.submit { width: 100%; margin-top: 10px; font-family: inherit; }

/* panels + forms */
.panel {
  background: #fff;
  border-radius: 10px;
  border-top: 5px solid var(--gd-blue);
  padding: 30px 26px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  max-width: 640px;
  margin: 0 auto;
}
.panel.narrow { max-width: 420px; }
.panel.center { text-align: center; }
.panel-title { font-size: 1.3rem; font-weight: 900; margin-bottom: 6px; }
/* Sales and pitch set their own title color. Do not let this win there. */
body:not(.sales):not(.pitch) .panel-title { color: var(--gd-heading); }
.panel-sub { color: var(--gray); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.5; }
.panel-sub a { color: var(--gd-red); text-decoration: none; }
.form label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
/* Optional add-on. The shared input rule is full width, which turns a
   checkbox into a bar, so this one sits beside its label instead. */
.form label.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
  cursor: pointer;
}
.form label.check input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin: 2px 0 0;
  padding: 0;
  flex: 0 0 auto;
  accent-color: var(--gd-blue);
}
.form input, .form select, .form textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 12px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--gd-text);
  border: 1.5px solid #c9d6e8;
  border-radius: 8px;
  background: #fbfdff;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--gd-light-blue);
  border-color: var(--gd-light-blue);
}
.row { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 540px) { .row { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); } }
.error { color: var(--gd-red); font-weight: 700; font-size: 0.9rem; margin-bottom: 14px; }
.optional { font-weight: 400; color: var(--gray); font-size: 0.78rem; }

/* deal of the month banner */
.promo-banner {
  max-width: 640px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--gd-red) 0%, #b80023 100%);
  color: #fff;
  border-radius: 10px;
  padding: 18px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(228, 0, 43, 0.35);
  border-bottom: 4px solid var(--gd-blue);
}
.promo-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.promo-offer {
  display: block;
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.promo-fine {
  display: block;
  margin-top: 8px;
  font-size: 0.75rem;
}

/* customer portal steps */
.steps-title { font-size: 1rem; font-weight: 900; color: var(--gd-heading); margin: 6px 0 10px; }
.steps { margin: 0 0 22px 22px; color: var(--gray); font-size: 0.95rem; }
.steps li { margin-bottom: 10px; line-height: 1.5; }
.steps strong { color: var(--gd-heading); }
.steps-help { margin-top: 18px; font-size: 0.88rem; color: var(--gray); line-height: 1.5; }
.steps-help a { color: var(--gd-red); text-decoration: none; }

/* photo upload field */
.photo-field {
  border: 1.5px dashed #c9d6e8;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  background: #fbfdff;
}
.photo-title { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 10px; }
.photo-btn {
  display: inline-block;
  background: var(--gd-light-blue);
  color: var(--gd-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 8px;
  cursor: pointer;
}
/* Darker light blue, still light enough for dark text at AA. Not a navy fill. */
.photo-btn:hover,
.photo-btn:active {
  background: #58a1d4;
  color: var(--gd-heading);
}
.photo-count { margin-left: 12px; font-size: 0.85rem; color: var(--gray); }
.photo-preview { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.photo-thumb { position: relative; }
.photo-thumb img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 8px;
  border: 1.5px solid #c9d6e8;
  display: block;
}
.photo-x {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: var(--gd-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* employee hub */
.hub-note {
  background: #fff;
  border-left: 5px solid var(--gd-light-blue);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.logout { color: var(--gd-red); font-weight: 700; text-decoration: none; font-size: 0.85rem; white-space: nowrap; }
.group-title { font-size: 1.15rem; font-weight: 900; margin: 26px 0 14px; color: var(--gd-heading); }
.section-blurb { color: var(--gray); font-size: 0.92rem; margin-bottom: 20px; }

/* presentation thumbnail grid */
.tile-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (min-width: 620px) { .tile-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 900px) { .tile-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }
.tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  text-decoration: none;
  color: var(--gd-text);
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.1s, box-shadow 0.1s;
  text-align: center;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 5px 14px rgba(0,0,0,0.16); }
.thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  background: #e8eef7;
  display: block;
}
canvas.thumb { object-fit: contain; background: #fff; border: 1px solid #e2e9f3; }
.icon-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.tile-name {
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 10px;
  text-transform: capitalize;
  line-height: 1.3;
}
.tile-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.empty { color: var(--gray); font-size: 0.95rem; line-height: 1.6; }
.empty code { background: #e8eef7; padding: 2px 6px; border-radius: 4px; font-size: 0.85rem; }

/* lightbox slideshow */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 6, 60, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
}
#lightbox[hidden] { display: none; }
#lb-stage {
  max-width: 92vw;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lb-stage img, #lb-stage video, #lb-stage canvas {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
#lb-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.9rem;
  cursor: pointer;
  padding: 8px 12px;
  z-index: 2;
}
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 14px 16px 20px;
  border-radius: 10px;
  z-index: 2;
}
.lb-arrow:hover { background: rgba(255,255,255,0.25); }
#lb-prev { left: 12px; }
#lb-next { right: 12px; }
#lb-caption {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  padding: 0 20px;
}

/* quoting tool */
.quote-panel { max-width: 520px; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.btn.secondary { background: var(--gd-light-blue); color: var(--gd-heading); }
.btn.secondary:hover, .btn.secondary:active { background: #58a1d4; color: var(--gd-heading); }
.btn.ghost {
  background: none;
  color: var(--gray);
  font-size: 0.85rem;
  margin-top: 12px;
  padding: 8px;
  width: 100%;
}
.btn.ghost:hover { background: #eef2f9; color: var(--gd-heading); }
.quote-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e8eef7;
  transition: opacity 0.15s;
}
.quote-row.off .q-label,
.quote-row.off .q-input { opacity: 0.35; }
.quote-row.off .q-input input { text-decoration: line-through; }
.q-label { flex: 1; font-weight: 700; font-size: 1rem; }
.q-sub { font-weight: 400; color: var(--gray); font-size: 0.85rem; }
.q-input {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}
.q-dollar { color: var(--gray); }
.q-input input {
  width: 110px;
  padding: 10px 12px;
  font-size: 1.05rem;
  font-family: inherit;
  font-weight: 700;
  color: var(--gd-text);
  text-align: right;
  border: 1.5px solid #c9d6e8;
  border-radius: 8px;
  background: #fbfdff;
}
.q-input input:focus { outline: 2px solid var(--gd-light-blue); border-color: var(--gd-light-blue); }
.q-input.computed { font-size: 1.05rem; color: var(--gd-text); padding-right: 12px; }
.quote-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--gd-heading);
  padding: 20px 2px 8px;
}
.quote-total span:last-child { color: var(--gd-red); }

/* price sheet */
.sheet-panel { max-width: 100%; padding: 20px; }
.sheet-search {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--gd-text);
  border: 1.5px solid #c9d6e8;
  border-radius: 8px;
  background: #fbfdff;
  margin-bottom: 14px;
}
.sheet-search:focus { outline: 2px solid var(--gd-light-blue); border-color: var(--gd-light-blue); }
#sheet-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.sheet-tab {
  border: 1.5px solid #c9d6e8;
  background: #fbfdff;
  color: var(--gd-text);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}
.sheet-tab.active { background: var(--gd-blue); color: #fff; border-color: var(--gd-blue); }
.sheet-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.sheet { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
table.sheet th {
  background: var(--gd-light-blue);
  color: var(--gd-heading);
  text-align: left;
  padding: 10px 12px;
  position: sticky;
  top: 0;
  white-space: nowrap;
}
table.sheet td { padding: 9px 12px; border-bottom: 1px solid #e8eef7; }
table.sheet tbody tr:nth-child(even) { background: #f4f8fd; }
table.sheet tbody tr:hover { background: #e7f1fb; }

/* tint calculator */
.tint-panel { max-width: 100%; margin-bottom: 20px; }
.tint-row { margin-bottom: 20px; }
.tint-label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 8px; }
.tint-row select {
  display: block; width: 100%; margin-top: 5px; padding: 12px;
  font-size: 1rem; font-family: inherit; color: var(--gd-text);
  border: 1.5px solid #c9d6e8; border-radius: 8px; background: #fbfdff;
}
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.chip {
  border: 1.5px solid #c9d6e8; background: #fbfdff; color: var(--gd-text);
  font-family: inherit; font-weight: 700; font-size: 0.82rem;
  padding: 9px 14px; border-radius: 20px; cursor: pointer;
}
.chip:hover { border-color: var(--gd-light-blue); }
.chip.active { background: var(--gd-blue); color: #fff; border-color: var(--gd-blue); }
.tint-input-wrap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tint-input-wrap input {
  width: 130px; padding: 12px; font-size: 1.15rem; font-family: inherit; font-weight: 700;
  color: var(--gd-text); text-align: right;
  border: 1.5px solid #c9d6e8; border-radius: 8px; background: #fbfdff;
}
.tint-input-wrap input:focus { outline: 2px solid var(--gd-light-blue); border-color: var(--gd-light-blue); }
.tint-pct { font-weight: 700; color: var(--gray); font-size: 1.05rem; }
.tint-hint { font-size: 0.78rem; color: var(--gray); flex: 1; min-width: 180px; }
.tint-note { font-size: 0.86rem; color: var(--gray); line-height: 1.55; margin-top: 10px; }
.tint-note a { color: var(--gd-red); }
.tint-note-inline { font-size: 0.82rem; color: var(--gray); font-weight: 400; }

.tint-best { border-top: 5px solid var(--gd-light-blue); }
.tint-alert { border-top: 5px solid var(--gd-red); }
.tint-eyebrow {
  display: block; font-size: 0.7rem; font-weight: 900; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gd-heading); margin-bottom: 6px;
}
.tint-headline { font-size: 1.55rem; font-weight: 900; color: var(--gd-heading); margin-bottom: 4px; }
.tint-big { font-size: 1.1rem; color: var(--gd-text); }
.tint-big strong { font-size: 1.4rem; color: var(--gd-red); }
.tint-delta { font-size: 0.9rem; color: var(--gray); font-weight: 400; }
.tint-legal-line { margin-top: 12px; font-weight: 700; font-size: 0.95rem; }
.tint-warn {
  margin-top: 12px; padding: 12px 14px; border-radius: 8px;
  background: #fff2f4; border-left: 4px solid var(--gd-red);
  color: var(--gd-text); font-size: 0.9rem; line-height: 1.5;
}
.tint-meter { border-top: 1px solid #e8eef7; padding-top: 12px; }
.tint-strip-note {
  background: #eef4fc; border-left: 4px solid var(--gd-light-blue);
  border-radius: 8px; padding: 14px 16px; margin-bottom: 20px;
  font-size: 0.88rem; line-height: 1.55; color: var(--gd-text);
}
.tint-strip-note[hidden] { display: none; }
.legal-ok { color: #0a7d34; font-weight: 700; font-size: 0.82rem; }
.legal-no { color: var(--gd-red); font-weight: 700; font-size: 0.82rem; }
.tint-tag {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  background: var(--gd-light-blue); color: var(--gd-heading); padding: 2px 6px; border-radius: 4px;
}
table.sheet tr.row-best { background: #e7f1fb !important; }
table.sheet tr.row-best td { font-weight: 700; }
.law-table td { vertical-align: top; line-height: 1.5; }
.law-table td:first-child { white-space: nowrap; font-weight: 700; }

/* toggle switch */
.switch { position: relative; display: inline-block; width: 52px; height: 30px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  inset: 0;
  background: #c3cddd;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.15s;
}
.slider:before {
  content: "";
  position: absolute;
  height: 24px;
  width: 24px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.switch input:checked + .slider { background: var(--gd-blue); }
.switch input:checked + .slider:before { transform: translateX(22px); }

footer {
  background: #2c2c2c;
  color: #fff;
  text-align: center;
  padding: 16px;
  font-size: 0.8rem;
}

/* ---- partner co-branding (shown only on a partner subdomain) ---- */
.partner-logo {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.partner-logo .partner-x {
  color: var(--gd-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
}
/* Full opacity on the light-blue header so this label clears AA.
   The pitch page keeps the 0.72 above; its own color rule is unchanged. */
body:not(.pitch) .partner-logo .partner-x { opacity: 1; }
.partner-logo img {
  display: block;
  width: min(240px, 56vw);
  height: auto;
  background: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  box-shadow: 0 2px 8px rgba(6, 3, 141, 0.16);
}

/* ---- 3+ chips: replacement recommendation ---- */
.chip-advice {
  margin: -4px 0 14px;
  padding: 12px 14px;
  border-left: 3px solid var(--gd-blue);
  background: rgba(6, 3, 141, 0.06);
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.chip-advice strong { display: block; margin-bottom: 4px; }

/* ---- sales pitches (/sales) ----
   Offer cards only. These rules are the sales grid. They do not use the
   primary navy: type is charcoal, the page is neutral gray, and the reversed
   logo sits on brand red because that logo is white.

   body.pitch is the onsite preview under a logo. It does not change the
   light-blue header background. It only replaces navy text, borders, shadows,
   and the footer on that preview. Zions never has this class. */
body.sales {
  background: #f3f3f3;
  color: #2c2c2c;
}
body.sales header {
  background: #fff;
}
body.sales .logo-panel {
  background: #e4002b;
  box-shadow: none;
  padding: 14px 22px;
}
body.sales header .tagline {
  color: #2c2c2c;
  font-size: 1.7rem;
}
body.sales main { max-width: 960px; }
body.sales footer {
  background: #fff;
  color: #3a3a3a;
  border-top: 1px solid #e4e4e4;
}
body.sales .back { color: #2c2c2c; }
body.sales .panel { border-top-color: #e4002b; }
body.sales .panel-title,
body.sales .panel-sub { color: #2c2c2c; }
body.sales .panel-sub { color: #5a5a5a; }

.sales-lead {
  text-align: center;
  color: #5a5a5a;
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto 28px;
}
.sales-note {
  text-align: center;
  color: #5a5a5a;
  font-size: 0.85rem;
  line-height: 1.45;
  margin-top: 22px;
}
.logo-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 680px) {
  .logo-grid { grid-template-columns: 1fr 1fr; }
}
.logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  background: #fff;
  color: #2c2c2c;
  border: none;
  border-radius: 4px;
  padding: 28px 22px 22px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  min-height: 280px;
}
.logo-card:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); }
.logo-card:focus-visible {
  outline: 3px solid #e4002b;
  outline-offset: 3px;
}
.logo-card img,
.logo-missing {
  width: min(280px, 86%);
  height: 108px;
  object-fit: contain;
  background: #fff;
}
.logo-missing {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed #d0d0d0;
  border-radius: 8px;
  color: #2c2c2c;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px;
}
.logo-card-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.logo-card h2 {
  margin-top: 14px;
  font-size: 1.28rem;
  font-weight: 900;
  color: #2c2c2c;
}
.logo-card p {
  margin-top: 8px;
  color: #5a5a5a;
  font-size: 0.88rem;
  line-height: 1.4;
}
.placeholder-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ececec;
  color: #2c2c2c;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.logo-card-cta {
  display: block;
  width: 100%;
  margin-top: 16px;
  background: #e4002b;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: 6px;
}
.logo-card:hover .logo-card-cta { background: #b80023; }

.pitch-banner {
  max-width: 640px;
  margin: 0 auto 16px;
  background: #fff;
  border-top: 4px solid #e4002b;
  border-radius: 4px;
  padding: 14px 18px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  color: #3a3a3a;
  font-size: 0.95rem;
  line-height: 1.5;
}
.pitch-banner strong {
  display: block;
  margin-bottom: 2px;
  color: #2c2c2c;
}

/* Pitch preview only. Header background stays the light blue from `header`. */
body.pitch main {
  --gd-blue: #2c2c2c;
  color: #2c2c2c;
}
body.pitch .chip-advice { background: rgba(0, 0, 0, 0.04); }
body.pitch .partner-logo .partner-x,
body.pitch header .tagline { color: #2c2c2c; }
body.pitch .logo-panel { box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15); }
body.pitch .partner-logo img { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); }

/* Office roster. The retry action uses the light-blue primary; navy is the focus ring. */
body.roster main { max-width: 1100px; }
body.roster .panel { max-width: 1100px; }
.roster-wrap { overflow-x: auto; }
.roster-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.roster-table th, .roster-table td { text-align: left; vertical-align: top; padding: 6px 8px 6px 0; }
.st-fail { color: var(--gd-red); font-weight: 700; }
.st-retry-banner {
  background: #fff;
  border: 2px solid var(--gd-red);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 0 0 16px;
}
.st-retry-banner .st-fail { display: block; margin: 6px 0 0; }
.st-retry-form { margin: 8px 0 0; }
.st-row-status { margin-top: 8px; }
.btn.secondary.retry {
  display: inline-block;
  width: auto;
  margin-top: 0;
  padding: 10px 16px;
  font-size: 1rem;
  background: var(--gd-light-blue);
  color: var(--gd-heading);
}
.btn.secondary.retry:focus-visible {
  outline: 2px solid var(--gd-blue);
  outline-offset: 2px;
}

body.pitch footer {
  background: #fff;
  color: #3a3a3a;
  border-top: 1px solid #e4e4e4;
}

/* Drip admin. Light blue is the primary action; navy is the accent only. */
body.drips-admin main { max-width: 1100px; }
body.drips-admin .panel { max-width: 1100px; }
body.drips-admin .btn {
  display: inline-block;
  width: auto;
  background: var(--gd-light-blue);
  color: var(--gd-heading);
  border: 2px solid var(--gd-blue);
}
body.drips-admin .btn:hover,
body.drips-admin .btn:active { background: #8cc4ee; }
