/* IFUSA marketplace look: 602 palette, Inter, near-black chrome.
   Accents only on area-code numbers and tiles. */
:root {
  --ifusa-red: #C0392B;
  --ifusa-red-h: #A93226;
  --ifusa-d1: #1A1A1A;
  --ifusa-d2: #111111;
  --ifusa-card: #222222;
  --ifusa-line: #2A2A2A;
  --ifusa-mid: #888888;
  --ifusa-light: #F5F5F5;
  --ifusa-flag-blue: #002868;
  --ifusa-480: #E0A070;
  --ifusa-480-deep: #B87333;
  --ifusa-480-shadow: #C4B44A;
}

body.ifusa-dark {
  background: var(--ifusa-d2);
  color: var(--ifusa-light);
}
body.ifusa-dark.ifusa-602 { background: #0d0d0d; }

.brand-lockup {
  height: 44px;
  width: auto;
  max-width: 220px;
  border-radius: 0;
}
@media (max-width: 1280px) {
  .brand-lockup { height: 40px; }
}

.ifusa-flagstripe {
  height: 9px;
  background: linear-gradient(180deg, #C0392B 0%, #C0392B 33.34%, #F5F5F5 33.34%, #F5F5F5 66.66%, #002868 66.66%, #002868 100%);
  flex-shrink: 0;
}

.ifusa-codepill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ifusa-d2);
  border: 1px solid var(--ifusa-line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ifusa-light);
  margin-left: auto;
}
.ifusa-codepill[hidden] { display: none !important; }
.ifusa-codepill b {
  font-style: italic;
  font-weight: 900;
  font-size: 19px;
  font-family: Inter, var(--font);
  background: linear-gradient(180deg, var(--a1, #E0533F), var(--a2, #C0392B) 55%, var(--a3, #A93226));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 2px;
}
.ifusa-codepill-lbl { color: var(--ifusa-light); font-weight: 600; }
@media (max-width: 1280px) {
  .ifusa-codepill-lbl { display: none; }
  .ifusa-codepill { padding: 5px 10px; }
}

.ifusa-desk-links {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ifusa-mid);
}
.ifusa-desk-links a { color: var(--ifusa-mid); }
.ifusa-desk-links a:hover,
.ifusa-desk-links a:first-child { color: var(--ifusa-light); }
@media (min-width: 1281px) {
  .ifusa-desk-links { display: flex; margin-left: 8px; }
}

/* Area-code frame */
.ifusa-star { width: 11px; height: 11px; fill: var(--ifusa-red); display: inline-block; vertical-align: -1px; }
.ifusa-hc {
  --a1: #F5F5F5; --a2: #F5F5F5; --a3: #CCCCCC; --sh: transparent;
  position: relative;
  background: var(--ifusa-card);
  border: 1px solid var(--ifusa-line);
  border-radius: 18px;
  padding: 22px 22px 18px;
  text-align: center;
  overflow: hidden;
  color: var(--ifusa-light);
}
.ifusa-hc-bar {
  position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, var(--a2), var(--a3));
}
.ifusa-hc.is-nchrome .ifusa-hc-bar { background: var(--sh, var(--ifusa-line)); }
.ifusa-hc.is-soon .ifusa-hc-bar { background: var(--ifusa-line); }
.ifusa-hc-top {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ifusa-mid); margin: 8px 0 4px;
}
.ifusa-hc-num {
  font-family: Inter, var(--font);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(72px, 12vw, 128px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--a1), var(--a2) 55%, var(--a3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(3px 4px 0 var(--sh));
}
.ifusa-hc.is-soon .ifusa-hc-num {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: transparent;
  -webkit-text-stroke: 2px #5A5A5A;
  filter: none;
  text-shadow: none;
}
.ifusa-hc-rule { height: 1px; background: var(--ifusa-line); margin: 10px 18px 12px; }
.ifusa-hc-city {
  font-size: 15px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ifusa-light);
}
.ifusa-hc-status {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; padding: 5px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.ifusa-hc-status.is-live { background: #1A1A1A; color: #fff; border: 1px solid var(--ifusa-line); }
.ifusa-hc-status.is-live i {
  width: 6px; height: 6px; border-radius: 50%; background: #3DDC84; display: inline-block;
}
.ifusa-hc-status.is-soon {
  color: var(--ifusa-mid);
  border: 1px dashed #555;
  background: transparent;
}
.ifusa-hc.is-sm .ifusa-hc-num { font-size: 56px; }
.ifusa-hc.is-sm { padding: 16px 12px 14px; border-radius: 14px; }
.ifusa-hc.is-sm .ifusa-hc-city { font-size: 12px; }
.ifusa-hc.is-sm .ifusa-hc-status { margin-top: 8px; font-size: 9px; padding: 4px 8px; }
.ifusa-hc.is-sm .ifusa-hc-top { font-size: 9px; }

/* Network */
.ifusa-net { padding: 72px 0 20px; }
.ifusa-net-head, .ifusa-shead {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 22px;
}
.ifusa-kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ifusa-mid); margin: 0 0 8px;
}
.ifusa-net h2, .ifusa-section h2 {
  font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; color: #fff; margin: 0;
}
.ifusa-net-more {
  font-size: 14px; font-weight: 600; color: var(--ifusa-light); white-space: nowrap;
}
.ifusa-net-more:hover { color: #fff; }
.ifusa-net-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.ifusa-net-cell { display: flex; flex-direction: column; gap: 12px; }
.ifusa-net-act { font-size: 14px; font-weight: 600; color: var(--ifusa-light); text-align: center; }
.ifusa-net-act.is-soon { color: var(--ifusa-mid); }
@media (max-width: 900px) {
  .ifusa-net-grid { grid-template-columns: repeat(2, 1fr); }
  .ifusa-net-cell:nth-child(5) { display: none; }
  .ifusa-net-head { flex-direction: column; align-items: flex-start; }
}

/* National flag landing */
.ifusa-usa-hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
  color: #fff;
}
.ifusa-usa-hero .ifusa-usa-bg {
  position: absolute; inset: 0;
  background: #0a0a12 center/cover no-repeat;
  filter: brightness(0.55);
}
.ifusa-usa-hero .ifusa-usa-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(17,17,17,0.82) 0%, rgba(17,17,17,0.55) 45%, rgba(17,17,17,0.35) 100%);
}
.ifusa-usa-hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.ifusa-usa-hero .ifusa-kicker { color: #ddd; }
.ifusa-usa-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 16px;
}
.ifusa-usa-hero .lede { color: #E8E8E8; font-size: 18px; max-width: 38em; margin: 0 0 22px; }
.ifusa-search {
  display: flex; align-items: center; gap: 10px;
  background: rgba(17,17,17,0.72);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 6px 6px 6px 16px;
  max-width: 560px;
}
.ifusa-search input {
  flex: 1; background: transparent; border: 0; color: #fff; padding: 10px 0; font-size: 16px;
  box-shadow: none;
}
.ifusa-search input:focus { outline: none; box-shadow: none; border: 0; }
.ifusa-search input::placeholder { color: #9a9a9a; }
.ifusa-note { font-size: 13px; color: #c8c8c8; margin: 12px 0 0; max-width: 40em; }
.ifusa-stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  min-height: 340px;
  background: #111;
}
.ifusa-stage img, .ifusa-stage .ifusa-flag {
  width: 100%; height: 100%; object-fit: cover; display: block; min-height: 340px;
}
.ifusa-stage .ifusa-cap {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(17,17,17,0.78);
  color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 6px;
}
.ifusa-credit, .ifusa-credit a { color: #9a9a9a; font-size: 12px; }
.ifusa-credit { margin: 14px 0 0; }
.ifusa-credit a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 900px) {
  .ifusa-usa-hero .container { grid-template-columns: 1fr; }
  .ifusa-usa-hero { padding: 28px 0 24px; }
  .ifusa-stage, .ifusa-stage img, .ifusa-stage .ifusa-flag { min-height: 240px; }
  .ifusa-usa-hero .container > .ifusa-stage { order: -1; }
}

/* Area page hero */
.area-page.ifusa-area { color: var(--ifusa-light); }
.ifusa-area-hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
  color: #fff;
}
.ifusa-area-hero .ifusa-area-bg {
  position: absolute; inset: 0;
  background: #111 center/cover no-repeat;
}
.ifusa-area-hero .ifusa-area-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(17,17,17,0.88) 0%, rgba(17,17,17,0.7) 50%, rgba(17,17,17,0.45) 100%);
}
body.ifusa-602 .ifusa-area-hero .ifusa-area-shade {
  background: linear-gradient(90deg, rgba(13,13,13,0.88) 0%, rgba(13,13,13,0.7) 50%, rgba(13,13,13,0.45) 100%);
}
.ifusa-area-hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.ifusa-area-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  color: #fff;
  margin: 0 0 14px;
}
.ifusa-area-hero .lede { color: #E8E8E8; margin: 0 0 20px; }
.ifusa-area-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.ifusa-op-line {
  display: flex; align-items: center; gap: 10px;
  margin-top: 18px; color: #ddd; font-size: 14px;
}
.l602 { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.l602i {
  width: 28px; height: 28px; border-radius: 6px;
  background: #C0392B; display: grid; place-items: center;
}
.l602t { color: #fff; letter-spacing: 0.02em; }
.l602t b { color: #C0392B; font-style: italic; font-weight: 900; margin-left: 2px; }
.ifusa-stage-area { position: relative; min-height: 420px; }
.ifusa-stage-area .ifusa-car {
  position: absolute; left: 0; right: 0; top: 0; height: 58%;
  object-fit: cover; object-position: 50% 50%;
  border-radius: 16px 16px 0 0;
  width: 100%;
}
.ifusa-stage-area .ifusa-hc {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(340px, 100%);
  z-index: 2;
}
@media (max-width: 900px) {
  .ifusa-area-hero .container { grid-template-columns: 1fr; }
  .ifusa-stage-area { min-height: 460px; order: -1; }
  .ifusa-stage-area .ifusa-car { height: 270px; }
  .ifusa-stage-area .ifusa-hc { width: 300px; }
}

/* Coming soon */
.ifusa-soon-hero { padding: 64px 0 28px; }
.ifusa-soon-hero .container {
  display: grid; grid-template-columns: 440px 1fr; gap: 56px; align-items: center;
}
.ifusa-soon-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 60px); margin: 0 0 14px; }
.ifusa-soon-hero .lede { color: #D0D0D0; }
.ifusa-soon-form { margin-top: 22px; display: grid; gap: 12px; max-width: 520px; }
.ifusa-soon-form input, .ifusa-soon-form select {
  background: var(--ifusa-d1); border: 1px solid var(--ifusa-line);
  border-radius: 10px; padding: 15px 18px; color: var(--ifusa-light); font-size: 15px;
}
body.ifusa-dark .ifusa-soon-form label { color: var(--ifusa-mid); text-transform: none; letter-spacing: 0; font-size: 13px; }
@media (max-width: 900px) {
  .ifusa-soon-hero { padding: 24px 0 10px; }
  .ifusa-soon-hero .container { grid-template-columns: 1fr; gap: 26px; }
}

body.ifusa-dark .area-section h2 { color: #fff; }
body.ifusa-dark .area-tagline, body.ifusa-dark .area-operator, body.ifusa-dark .area-cities { color: #C8C8C8; }
body.ifusa-dark .area-coming-card, body.ifusa-dark .area-soon-card {
  background: var(--ifusa-card); border: 1px solid var(--ifusa-line); color: var(--ifusa-light);
}
body.ifusa-dark .text-link { color: #F0C4A0; }
body.ifusa-dark.ifusa-602 .text-link { color: #E8A8A2; }
body.ifusa-dark .area-btn-primary, body.ifusa-dark .btn-primary {
  background: var(--ifusa-red); color: #fff; border: 0; border-radius: 8px;
}
body.ifusa-602 .area-btn-primary, body.ifusa-602 .btn-primary { border-radius: 6px; }
body.ifusa-dark .area-btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.25); color: #fff; background: transparent; border-radius: 8px;
}

/* Keep /480 copper badge tokens as-is; area chips on browse get accents only when live */
.market-area-chip.is-live[data-area="602"] { --chip-accent: #C0392B; }
.market-area-chip.is-live[data-area="480"] { --chip-accent: #E0A070; }
.market-area-chip.is-live {
  border-color: color-mix(in srgb, var(--chip-accent, #C0392B) 55%, #2A2A2A);
}
.market-area-chip.is-live strong {
  color: var(--chip-accent, #C0392B);
  font-style: italic;
  font-weight: 900;
}

body.ifusa-dark .area-picker {
  background: rgba(17,17,17,0.72);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
}
body.ifusa-dark .area-picker label, body.ifusa-dark .area-picker-note { color: #ddd; }
body.ifusa-dark .area-picker-row input,
body.ifusa-dark .area-picker-row select {
  background: var(--ifusa-d1); color: #fff; border-color: var(--ifusa-line);
}

.ifusa-soon-hero.has-photo { position: relative; overflow: hidden; color: #fff; }
.ifusa-soon-hero.has-photo .ifusa-area-bg {
  position: absolute; inset: 0;
  background: #111 center/cover no-repeat;
  filter: brightness(0.45);
}
.ifusa-soon-hero.has-photo .ifusa-area-shade[hidden] { display: block !important; }
.ifusa-soon-hero.has-photo .ifusa-area-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(17,17,17,0.88) 0%, rgba(17,17,17,0.7) 55%, rgba(17,17,17,0.4) 100%);
}
.ifusa-soon-hero.has-photo .container { position: relative; }

/* Neutralize leftover area.css navy once the IFUSA dark shell is on. */
body.ifusa-dark .area-page,
body.ifusa-dark .area-section,
body.ifusa-dark .area-section p,
body.ifusa-dark .area-section li,
body.ifusa-dark .area-soon,
body.ifusa-dark .area-soon p,
body.ifusa-dark .area-soon label,
body.ifusa-dark .area-soon h1,
body.ifusa-dark .area-soon h2 {
  color: var(--ifusa-light);
}
body.ifusa-dark .area-page { background: transparent; }
body.ifusa-dark .area-section a,
body.ifusa-dark .area-soon a { color: #F0C4A0; }
body.ifusa-602 .area-section a,
body.ifusa-602 .area-soon a { color: #E8A8A2; }
body.ifusa-dark .area-btn-primary { color: #fff !important; }


/* Desktop chrome matches the approved lockup nav. The full marketplace
   groups stay in the mobile drawer and the footer. */
@media (min-width: 1281px) {
  .ifusa-desk-links { display: flex; margin-left: 24px; flex: 1; gap: 28px; }
  .nav > .nav-links { display: none !important; }
  .nav .btn-sell { margin-left: 16px; }
  .ifusa-codepill { margin-left: auto; }
}

/* Area.css leftover navy fill and 6px accent bar do not belong on IFUSA heroes. */
body.ifusa-dark .area-page {
  background: var(--ifusa-d2);
  color: var(--ifusa-light);
}
body.ifusa-dark.ifusa-602 .area-page { background: #0d0d0d; }
body.ifusa-dark .ifusa-area-hero,
body.ifusa-dark .ifusa-soon-hero {
  background-color: #111111;
  background-image: none;
  border-bottom: 0;
  min-height: 0;
}
body.ifusa-dark .area-page[data-area="480"] .ifusa-area-hero,
body.ifusa-dark .area-page[data-area="602"] .ifusa-area-hero {
  border-bottom: 0;
}

/* Frame overlaps the car, as in the approved mockups. */
.ifusa-stage-area { min-height: 520px; }
.ifusa-stage-area .ifusa-car {
  left: 10%;
  right: 0;
  height: 68%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
}
.ifusa-stage-area .ifusa-hc {
  left: 0;
  transform: none;
  width: min(360px, 92%);
  bottom: 8px;
}
@media (max-width: 900px) {
  .ifusa-stage-area { min-height: 500px; }
  .ifusa-stage-area .ifusa-car { left: 0; height: 280px; }
  .ifusa-stage-area .ifusa-hc { left: 50%; transform: translateX(-50%); width: 300px; }
}

/* Phone: size the flag box to the image. Desktop keeps a tall cover crop. */
@media (max-width: 900px) {
  .ifusa-usa-hero .ifusa-stage { min-height: 0; height: auto; }
  .ifusa-usa-hero .ifusa-stage img,
  .ifusa-usa-hero .ifusa-stage .ifusa-flag {
    min-height: 0;
    height: auto;
    width: 100%;
    object-fit: contain;
    display: block;
  }
}
@media (min-width: 901px) {
  .ifusa-usa-hero .ifusa-stage { min-height: 420px; }
  .ifusa-usa-hero .ifusa-stage img,
  .ifusa-usa-hero .ifusa-stage .ifusa-flag { min-height: 420px; height: 100%; object-fit: cover; }
}

/* Marketplace hub on the IFUSA dark shell: no navy text on near-black. */
body.ifusa-dark .market-home,
body.ifusa-dark .market-home-hero h1,
body.ifusa-dark .market-feed-title,
body.ifusa-dark .market-feed-head h1,
body.ifusa-dark .market-anymake,
body.ifusa-dark .market-home .market-note,
body.ifusa-dark .lanes-block,
body.ifusa-dark .lanes-block h2,
body.ifusa-dark .lanes-block p,
body.ifusa-dark .lanes-block a,
body.ifusa-dark .home-trust,
body.ifusa-dark .story-local-biz,
body.ifusa-dark .home-local-biz,
body.ifusa-dark .home-local-biz a {
  color: var(--ifusa-light);
}
body.ifusa-dark .market-home-hero-sub,
body.ifusa-dark .market-kicker,
body.ifusa-dark .market-anymake,
body.ifusa-dark .gear-disclosure,
body.ifusa-dark .market-home .field-help,
body.ifusa-dark .market-home .market-note,
body.ifusa-dark .area-picker-note,
body.ifusa-dark .area-picker label,
body.ifusa-dark .market-seller-pitch,
body.ifusa-dark .market-pickup,
body.ifusa-dark .market-pickup-after,
body.ifusa-dark .market-shop,
body.ifusa-dark .market-fine,
body.ifusa-dark .market-fine p,
body.ifusa-dark .market-disclaimer {
  color: #C8C8C8;
}
body.ifusa-dark .market-seller-pitch a,
body.ifusa-dark .market-shop a,
body.ifusa-dark .market-local-biz {
  color: #F0C4A0;
}
body.ifusa-dark label .opt { color: #9a9a9a; }
body.ifusa-dark .market-home-hero-browse {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
body.ifusa-dark .market-area-chip.is-soon {
  background: var(--ifusa-card);
  color: var(--ifusa-light);
  border-color: var(--ifusa-line);
}
body.ifusa-dark .market-chip,
body.ifusa-dark .market-chip.market-gear,
body.ifusa-dark .market-chip-soon {
  color: #fff;
}
body.ifusa-dark .market-home .gear-disclosure { color: #9a9a9a; }

/* Area pages: "More from…" links and empty state contrast */
body.ifusa-dark .area-page .area-empty a,
body.ifusa-dark .area-page .area-links a,
body.ifusa-dark .area-page .area-empty .text-link,
body.ifusa-dark .area-page .area-links .text-link,
body.ifusa-dark .area-page .area-links li,
body.ifusa-dark .area-page .area-section.area-links,
body.ifusa-dark .area-page .area-section.area-links h2 {
  color: #F0C4A0 !important;
}
body.ifusa-dark.ifusa-602 .area-page .area-empty a,
body.ifusa-dark.ifusa-602 .area-page .area-links a,
body.ifusa-dark.ifusa-602 .area-page .area-empty .text-link,
body.ifusa-dark.ifusa-602 .area-page .area-links .text-link {
  color: #E8A8A2 !important;
}
body.ifusa-dark .area-page .area-section.area-links h2 { color: #fff !important; }
body.ifusa-dark .area-empty {
  background: var(--ifusa-card);
  border-color: var(--ifusa-line);
  color: var(--ifusa-light);
}
body.ifusa-dark .area-empty p,
body.ifusa-dark .area-empty strong {
  color: var(--ifusa-light);
}

/* Home: no white band on quick tiles; tighten How it works */
body.ifusa-dark .quick-tiles {
  background: transparent;
  border-bottom: 0;
  padding: 12px 0 0;
}
body.ifusa-dark .quick-tile {
  background: var(--ifusa-card);
  border: 1px solid var(--ifusa-line);
  color: #fff;
}
body.ifusa-dark .quick-tile-sub { color: #a0a0a0; }
body.ifusa-dark .quick-tile:hover { border-color: rgba(255,255,255,0.28); }
body.ifusa-dark .home-steps.section { padding: 36px 0 56px; }


/* "In this area" lane tiles: dark IFUSA cards on the dark area page. */
body.ifusa-dark .lanes-block .lane-tile {
  background: var(--ifusa-card);
  border-color: var(--ifusa-line);
  color: var(--ifusa-light);
  box-shadow: none;
}
body.ifusa-dark .lanes-block .lane-tile.is-soon {
  background: #161616;
  border-color: #2A2A2A;
}
body.ifusa-dark .lanes-block .lane-tile.is-live { border-color: #555; }
body.ifusa-dark .lanes-block .lane-tile.is-live:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  border-color: #777;
}
body.ifusa-dark .lanes-block .lane-tile .lane-name,
body.ifusa-dark .lanes-block .lane-tile .lane-link,
body.ifusa-dark .lanes-block .lane-tile a { color: var(--ifusa-light); }
body.ifusa-dark .lanes-block .lane-tile .lane-blurb { color: #C8C8C8; }
body.ifusa-dark .lanes-block .lane-tile .lane-status { color: #B8B8B8; }
body.ifusa-dark .lanes-block .lane-tile.is-live .lane-status { color: #6FD39A; }
body.ifusa-dark .lanes-block .lane-icon {
  background: #2A2A2A;
  color: var(--ifusa-light);
}
body.ifusa-dark .lanes-block .lane-tile.is-soon .lane-icon {
  background: #242424;
  color: #C8C8C8;
}

/* Phone + Post FAB: leave a gutter on the hero lede and marketplace chips
   without shrinking the whole text column (that caused ~16px side-scroll). */
@media (max-width: 1024px) {
  body.has-fab .ifusa-usa-hero .lede,
  body.has-fab .ifusa-usa-hero h1 {
    max-width: calc(100% - 110px);
  }
  body.has-fab .market-chips.market-cats:not(.market-later-chips) {
    padding-right: 120px;
    box-sizing: border-box;
  }
}

/* Rentals coming-soon tile: keep the full label readable on a 390px screen. */
body.ifusa-dark .market-later .market-cat-soon,
body.ifusa-dark .market-later .market-chip-soon {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  max-width: none;
  line-height: 1.25;
  text-align: center;
}
@media (max-width: 480px) {
  body.ifusa-dark .market-later .market-cat-soon {
    width: 100%;
    min-height: 96px;
  }
  body.ifusa-dark .market-later .market-chip-soon {
    font-size: 13px;
    padding: 6px 10px;
  }
}

/* Delivery waitlist keeps a light copper page; chrome still uses the IFUSA header.
   On a 375px phone, logo + "Post your item" + hamburger must stay on-screen. */
.brand-lockup { flex: 0 0 auto; }
.nav-toggle { flex-shrink: 0; }
.site-header, .nav { overflow: hidden; }
/* The closed header clips the lockup on a 375px phone; the open drawer is
   position:absolute below the bar and must not be clipped. */
body.nav-open .site-header,
body.nav-open .nav {
  overflow: visible;
}
@media (max-width: 480px) {
  .nav { gap: 8px; min-width: 0; }
  .nav-toggle { margin-left: 0; }
  .brand-lockup { height: 36px; max-width: 136px; }
  .btn-sell { padding: 0 10px; font-size: 13px; min-width: 0; }
}

/* /marketplace/post on the IFUSA dark shell: readable contrast, no navy. */
body.ifusa-dark .market-sheet,
body.ifusa-dark .market-sheet .market-hero h1,
body.ifusa-dark .market-sheet .post-step-title,
body.ifusa-dark .market-sheet .post-subhead,
body.ifusa-dark .market-sheet .form-card,
body.ifusa-dark .market-sheet .form-card h2,
body.ifusa-dark .market-sheet label,
body.ifusa-dark .market-sheet legend,
body.ifusa-dark .market-sheet .check,
body.ifusa-dark .market-sheet .listing-review-title,
body.ifusa-dark .market-sheet .listing-review-price,
body.ifusa-dark .market-sheet .listing-review-body,
body.ifusa-dark .market-sheet .listing-review-location,
body.ifusa-dark .market-sheet .listing-review-contact {
  color: #F5F5F5;
}
body.ifusa-dark .market-sheet a.market-back { color: #C8C8C8; }
body.ifusa-dark .market-sheet a.market-back:hover,
body.ifusa-dark .market-sheet a { color: #F0C4A0; }
body.ifusa-dark .market-sheet a.market-back:hover { color: #fff; }
body.ifusa-dark .market-sheet .form-card,
body.ifusa-dark .market-sheet .listing-review {
  background: #222;
  border: 1px solid #333;
  color: #F5F5F5;
  max-width: 100%;
  box-sizing: border-box;
}
body.ifusa-dark .market-sheet .field-help,
body.ifusa-dark .market-sheet .market-note,
body.ifusa-dark .market-sheet .post-rules .market-note,
body.ifusa-dark .market-sheet #post-review-note,
body.ifusa-dark .market-sheet .opt,
body.ifusa-dark .market-sheet .post-intro,
body.ifusa-dark .market-sheet .post-progress {
  color: #888;
}
body.ifusa-dark .market-sheet input,
body.ifusa-dark .market-sheet select,
body.ifusa-dark .market-sheet textarea {
  background: #111;
  color: #F5F5F5;
  border-color: #444;
  max-width: 100%;
  box-sizing: border-box;
}
body.ifusa-dark .market-sheet .post-tile {
  background: #222;
  color: #F5F5F5;
  border-color: #444;
}
body.ifusa-dark .market-sheet .post-tile:has(input:checked) {
  background: #C0392B;
  border-color: #C0392B;
  color: #fff;
}
body.ifusa-dark .market-sheet .post-drop {
  border-color: #888;
  background: #1a1a1a;
  color: #F5F5F5;
}
body.ifusa-dark .market-sheet .post-drop:hover { background: #242424; }
body.ifusa-dark .market-sheet .post-drop-icon path { fill: #F5F5F5; }
body.ifusa-dark .market-sheet .post-progress-dots li { background: #333; }
body.ifusa-dark .market-sheet .post-progress-dots li.is-current,
body.ifusa-dark .market-sheet .post-progress-dots li.is-done { background: #C0392B; }
body.ifusa-dark .market-sheet .btn-outline {
  color: #F5F5F5;
  border-color: #666;
  background: transparent;
}
body.ifusa-dark .market-sheet .market-badge {
  color: #F5F5F5;
  border-color: #444;
  background: #1a1a1a;
}
body.ifusa-dark .market-sheet,
body.ifusa-dark .market-sheet .market-wrap,
body.ifusa-dark .market-sheet .row-2,
body.ifusa-dark .market-sheet .post-tiles {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
body.ifusa-dark .post-area-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}
body.ifusa-dark .post-area-pick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1.5px solid #444;
  border-radius: 10px;
  background: #222;
  color: #F5F5F5;
  font-weight: 600;
  box-sizing: border-box;
}
body.ifusa-dark .post-area-pick input { margin: 0; accent-color: #C0392B; }
body.ifusa-dark .post-area-pick:has(input:checked) {
  border-color: #C0392B;
  background: #2a1a18;
}
body.ifusa-dark .market-sheet .post-drop-hint,
body.ifusa-dark .market-sheet .field-help,
body.ifusa-dark .market-sheet .market-note,
body.ifusa-dark .market-sheet .post-rules .market-note,
body.ifusa-dark .market-sheet #post-review-note,
body.ifusa-dark .market-sheet .opt,
body.ifusa-dark .market-sheet .post-intro,
body.ifusa-dark .market-sheet .post-progress {
  color: #C8C8C8;
}
body.ifusa-dark .market-sheet fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
  min-width: 0;
  max-width: 100%;
}
body.ifusa-dark .market-sheet fieldset[hidden],
body.ifusa-dark .market-sheet [hidden] {
  display: none !important;
}
body.ifusa-dark .market-sheet fieldset legend:not(.visually-hidden) {
  position: static;
  float: none;
  width: 100%;
  padding: 0;
  margin: 0 0 8px;
  color: #F5F5F5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
body.ifusa-dark .market-sheet input[type="radio"],
body.ifusa-dark .market-sheet input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  flex: 0 0 20px;
  border: 2px solid #E8E8E8;
  background: #111;
  vertical-align: middle;
  box-sizing: border-box;
  accent-color: #C0392B;
}
body.ifusa-dark .market-sheet input[type="radio"] { border-radius: 50%; }
body.ifusa-dark .market-sheet input[type="checkbox"] { border-radius: 4px; }
body.ifusa-dark .market-sheet input[type="radio"]:checked {
  border-color: #F5F5F5;
  background: #C0392B;
  box-shadow: inset 0 0 0 4px #C0392B, inset 0 0 0 7px #fff;
}
body.ifusa-dark .market-sheet input[type="checkbox"]:checked {
  border-color: #F5F5F5;
  background-color: #C0392B;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5 6.5 12 13 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  box-shadow: none;
}
body.ifusa-dark .market-sheet .check,
body.ifusa-dark .market-sheet label.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #F5F5F5;
}

/* Listing detail on the IFUSA dark shell. */
body.ifusa-dark .market-sheet .market-crumbs,
body.ifusa-dark .market-sheet .market-back,
body.ifusa-dark .market-sheet h1,
body.ifusa-dark .market-sheet .market-photo-price,
body.ifusa-dark .market-sheet .market-photo-meta,
body.ifusa-dark .market-sheet .market-listed-by,
body.ifusa-dark .market-sheet .listing-dl,
body.ifusa-dark .market-sheet .listing-dl dt,
body.ifusa-dark .market-sheet .listing-dl dd,
body.ifusa-dark .market-sheet .market-description,
body.ifusa-dark .market-sheet .market-disclaimer,
body.ifusa-dark .market-sheet .market-contact-note,
body.ifusa-dark .market-sheet .market-sold-banner,
body.ifusa-dark .market-sheet .market-empty,
body.ifusa-dark .market-sheet #listing-business,
body.ifusa-dark .market-sheet .market-pickup,
body.ifusa-dark .market-sheet .market-human,
body.ifusa-dark .market-sheet .market-fine,
body.ifusa-dark .market-sheet .market-fine-h,
body.ifusa-dark .market-sheet .market-fine-note {
  color: #F5F5F5;
}
body.ifusa-dark .market-sheet .market-photo-meta,
body.ifusa-dark .market-sheet .market-listed-by,
body.ifusa-dark .market-sheet .listing-dl dt,
body.ifusa-dark .market-sheet .market-pickup,
body.ifusa-dark .market-sheet .market-human,
body.ifusa-dark .market-sheet .market-fine,
body.ifusa-dark .market-sheet .market-fine-note,
body.ifusa-dark .market-sheet .market-disclaimer,
body.ifusa-dark .market-sheet .market-empty {
  color: #C8C8C8;
}
body.ifusa-dark .market-sheet .market-buy,
body.ifusa-dark .market-sheet .market-fine,
body.ifusa-dark .market-sheet .market-report-form,
body.ifusa-dark .market-sheet .market-contact-note {
  background: #222;
  border-color: #333;
  color: #F5F5F5;
}
body.ifusa-dark .market-sheet .market-contact,
body.ifusa-dark .market-sheet .market-clear {
  background: #222;
  border: 1px solid #555;
  color: #F5F5F5;
}
body.ifusa-dark .market-sheet a {
  color: #F5F5F5;
}

/* Featured businesses band + transportation section (Designer decisions 38-44).
   iFleet 480 is typographic only: white Inter "iFleet" + copper italic "480". */
.ifusa-l480 { display: inline-flex; align-items: baseline; line-height: 1; white-space: nowrap; font-family: Inter, var(--font); }
.ifusa-l480 .w { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; color: #fff; }
.ifusa-l480 .n { font-size: 30px; font-style: italic; font-weight: 900; letter-spacing: -0.03em; color: var(--ifusa-480); margin-left: 3px; }
.ifusa-featband {
  background: var(--ifusa-d1);
  border-top: 1px solid var(--ifusa-line);
  border-bottom: 1px solid var(--ifusa-line);
  margin-top: 56px;
  padding: 32px 0;
}
.ifusa-feat-label {
  margin: 0 0 16px;
  font-size: 13px; line-height: normal; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ifusa-light);
}
.ifusa-feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ifusa-fcard {
  background: var(--ifusa-card);
  border: 1px solid var(--ifusa-line);
  border-radius: 14px;
  padding: 18px 20px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center;
  min-width: 0;
}
.ifusa-fcard.is-480 { box-shadow: inset 3px 0 0 var(--ifusa-480); }
.ifusa-fcard.is-602 { box-shadow: inset 3px 0 0 var(--ifusa-red); }
.ifusa-fmark { grid-column: 1; grid-row: 1; display: flex; align-items: center; line-height: 1; }
.ifusa-floc { grid-column: 1; grid-row: 2; margin: 0; font-size: 13px; line-height: normal; font-weight: 600; color: var(--ifusa-mid); }
.ifusa-fblurb { grid-column: 1; grid-row: 3; margin: 2px 0 0; max-width: 460px; font-size: 13.5px; line-height: 1.5; color: rgba(245, 245, 245, 0.8); }
.ifusa-fgo {
  grid-column: 2; grid-row: 1; align-self: center;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 14px; line-height: normal; font-weight: 700; color: var(--ifusa-light);
}
.ifusa-fgo:hover { color: #fff; }
.ifusa-fgo .ifusa-fa { color: var(--ifusa-red); flex: 0 0 auto; }
.ifusa-fcard.is-480 .ifusa-fgo .ifusa-fa { color: var(--ifusa-480); }
/* the existing ifleet602.com logo (red tile, zap, iFleet + red 602), at the mockup size */
.ifusa-fcard .l602 { gap: 8px; }
.ifusa-fcard .l602i { width: 32px; height: 32px; border-radius: 6px; }
.ifusa-fcard .l602t { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
.ifusa-fcard .l602t b { font-style: normal; font-weight: 800; margin-left: 0; }

.ifusa-trans { padding: 56px 0 64px; }
.ifusa-trans-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.ifusa-trans h2 { margin: 0; max-width: 520px; font-size: 28px; line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.ifusa-trans-body { margin: 12px 0 0; max-width: 540px; font-size: 16px; line-height: 1.65; color: rgba(245, 245, 245, 0.8); }
.ifusa-trans-close { margin: 14px 0 0; max-width: 540px; font-size: 16px; font-weight: 600; color: var(--ifusa-light); }
.ifusa-twork { margin-top: 14px; display: flex; align-items: center; gap: 14px; }
.ifusa-tph { width: 120px; height: 80px; flex: 0 0 120px; object-fit: cover; object-position: center 45%; border-radius: 10px; border: 1px solid var(--ifusa-line); }
.ifusa-tcap { margin: 0; font-size: 12px; line-height: 1.4; color: var(--ifusa-mid); }
.ifusa-titems { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ifusa-titem {
  background: var(--ifusa-card); border: 1px solid var(--ifusa-line); border-radius: 12px;
  padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; min-width: 0;
}
.ifusa-tic {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px;
  background: var(--ifusa-d1); border: 1px solid var(--ifusa-line);
  display: flex; align-items: center; justify-content: center; color: var(--ifusa-light);
}
.ifusa-titem b { display: block; margin-bottom: 2px; line-height: normal; font-size: 14px; font-weight: 700; color: #fff; }
.ifusa-titem span:not(.ifusa-tic) { display: block; font-size: 13px; line-height: 1.4; color: var(--ifusa-mid); }
@media (max-width: 900px) {
  .ifusa-trans-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 640px) {
  .ifusa-featband { margin-top: 36px; padding: 24px 0; }
  .ifusa-feat-grid { grid-template-columns: 1fr; gap: 10px; }
  .ifusa-fcard { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 16px 16px 14px; }
  .ifusa-fgo { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; }
  .ifusa-l480 .w { font-size: 22px; }
  .ifusa-l480 .n { font-size: 26px; }
  .ifusa-trans { padding: 40px 0 48px; }
  .ifusa-trans h2 { font-size: 24px; }
  .ifusa-titems { gap: 8px; }
  .ifusa-tph { width: 100px; height: 68px; flex-basis: 100px; }
}

/* Phone/tablet + Post pill: leave clearance under the featured rail and the
   transportation caption so the fixed pill never covers card text or credits. */
@media (max-width: 1024px) {
  body.has-fab .ifusa-featband {
    padding-bottom: calc(24px + 52px + 20px + max(env(safe-area-inset-bottom, 0px), var(--safe-bottom, 0px)));
  }
  body.has-fab .ifusa-trans {
    padding-bottom: calc(48px + 52px + 20px + max(env(safe-area-inset-bottom, 0px), var(--safe-bottom, 0px)));
  }
  body.has-bottombar.has-fab .ifusa-featband {
    padding-bottom: calc(24px + 52px + 84px + max(env(safe-area-inset-bottom, 0px), var(--safe-bottom, 0px)));
  }
  body.has-bottombar.has-fab .ifusa-trans {
    padding-bottom: calc(48px + 52px + 84px + max(env(safe-area-inset-bottom, 0px), var(--safe-bottom, 0px)));
  }
  .post-fab.is-over-rail { visibility: hidden; pointer-events: none; }
}

/* ---------------------------------------------------------------------------
   IFUSA shell for browse, account, sign-in, My listings, business profile,
   admin review, 404, trust, legal and info pages. Same near-black chrome
   as the other IFUSA pages. Scoped to .ifusa-shell so home/area/post/listing
   stay as-is unless a later rule says otherwise.
   ------------------------------------------------------------------------- */
body.ifusa-shell {
  --text: #F5F5F5;
  --ink: #F5F5F5;
  --white: #F5F5F5;
  --bg: #111111;
  --surface: #1A1A1A;
  --card: #222222;
  --border: #333333;
  --mid: #B8B8B8;
  --muted: #C8C8C8;
  --navy-soft: #2A2A2A;
  --sample-ink: #C8C8C8;
  --sample-line: #3A3A3A;
  background: var(--ifusa-d2);
  color: var(--ifusa-light);
}
body.ifusa-shell h1, body.ifusa-shell h2, body.ifusa-shell h3, body.ifusa-shell h4,
body.ifusa-shell strong, body.ifusa-shell dt { color: #F5F5F5; }
body.ifusa-shell .page-hero,
body.ifusa-shell .page-hero-compact {
  background: linear-gradient(180deg, #1A1A1A 0%, var(--ifusa-d2) 100%);
  border-bottom: 1px solid var(--ifusa-line);
}
body.ifusa-shell .eyebrow { color: #F0C4A0; }
body.ifusa-shell .lede, body.ifusa-shell .text-mid, body.ifusa-shell p,
body.ifusa-shell li, body.ifusa-shell dd, body.ifusa-shell td { color: #C8C8C8; }
body.ifusa-shell a:not([class]) { color: #F0C4A0; text-decoration: underline; text-underline-offset: 2px; }
body.ifusa-shell a:not([class]):hover { color: #fff; }
body.ifusa-shell .card, body.ifusa-shell .tile, body.ifusa-shell .form-card,
body.ifusa-shell .result, body.ifusa-shell .split-pill, body.ifusa-shell .pick,
body.ifusa-shell .ifusa-panel {
  background: var(--ifusa-card);
  border: 1px solid var(--ifusa-line);
  color: #F5F5F5;
  box-shadow: none;
  max-width: 100%;
}
body.ifusa-shell label { color: #DADADA; }
body.ifusa-shell label .opt, body.ifusa-shell .opt { color: #A8A8A8; }
body.ifusa-shell input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.ifusa-shell select,
body.ifusa-shell textarea {
  background: #111;
  color: #F5F5F5;
  border: 1.5px solid #444;
  max-width: 100%;
}
body.ifusa-shell input::placeholder, body.ifusa-shell textarea::placeholder { color: #8C8C8C; }
body.ifusa-shell input:focus, body.ifusa-shell select:focus, body.ifusa-shell textarea:focus {
  border-color: var(--ifusa-red);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.25);
}
body.ifusa-shell input[type="checkbox"], body.ifusa-shell input[type="radio"] { accent-color: var(--ifusa-red); }
body.ifusa-shell .btn-primary { background: var(--ifusa-red); color: #fff; border-color: var(--ifusa-red); }
body.ifusa-shell .btn-primary:hover { background: var(--ifusa-red-h); }
body.ifusa-shell .btn-outline, body.ifusa-shell .btn-ghost {
  color: #F5F5F5;
  border-color: #666;
  background: transparent;
}
body.ifusa-shell .btn-outline:hover { background: rgba(255, 255, 255, 0.06); border-color: #fff; }
body.ifusa-shell .text-link { color: #F0C4A0; }
body.ifusa-shell [hidden] { display: none !important; }
body.ifusa-shell .acct-list li > a, body.ifusa-shell .acct-list li > button {
  background: var(--ifusa-card);
  color: #F5F5F5;
  border-color: var(--ifusa-line);
}
body.ifusa-shell .mine-card, body.ifusa-shell .mine-row {
  background: var(--ifusa-card);
  border-color: var(--ifusa-line);
  color: #F5F5F5;
}
body.ifusa-shell .mine-card-title, body.ifusa-shell .mine-card-meta { color: #F5F5F5; }
body.ifusa-shell .mine-card-meta { color: #C8C8C8; }
body.ifusa-shell .market-filter-note, body.ifusa-shell .market-result-count { color: #9CC8F0; }

/* Browse: dark filter bar, fields and chips (chips already get ifusa-dark color). */
body.ifusa-dark .market-browse .market-searchbar,
body.ifusa-dark .market-browse .market-filters,
body.ifusa-dark .market-browse .market-more {
  background: var(--ifusa-d1);
  color: var(--ifusa-light);
  border-color: var(--ifusa-line);
}
body.ifusa-dark .market-browse .market-hero h1,
body.ifusa-dark .market-browse .market-hero-copy,
body.ifusa-dark .market-browse .market-hero-copy p,
body.ifusa-dark .market-browse .field label,
body.ifusa-dark .market-browse .market-more summary {
  color: var(--ifusa-light);
}
body.ifusa-dark .market-browse .market-field input,
body.ifusa-dark .market-browse .market-field input[type="search"],
body.ifusa-dark .market-browse input,
body.ifusa-dark .market-browse select {
  background: #111;
  color: #F5F5F5;
  border-color: #444;
}
body.ifusa-dark .market-browse .market-chip,
body.ifusa-dark .market-browse .market-chip.market-gear {
  background: var(--ifusa-card);
  color: #fff;
  border-color: var(--ifusa-line);
}
body.ifusa-dark .market-browse .market-chip.is-active {
  background: var(--ifusa-red, #C0392B);
  border-color: var(--ifusa-red, #C0392B);
  color: #fff;
}

/* Edit / Delete contrast on the IFUSA dark listing page and My listings.
   body.ifusa-dark .market-sheet a sets a light link color that made the white
   Edit button white-on-white; inherited sheet color did the same to Delete
   on phone. Fixed dark ink on white, 4.5:1+. */
body.ifusa-dark a.market-edit, body.ifusa-dark a.market-edit:visited,
body.ifusa-dark a.mine-edit, body.ifusa-dark a.mine-edit:visited,
body.ifusa-dark .market-sheet a.market-edit, body.ifusa-dark .market-sheet a.market-edit:visited,
body.ifusa-dark .market-owner-delete a.market-edit,
body.ifusa-shell a.mine-edit, body.ifusa-shell a.mine-edit:visited {
  color: #1A1A1A;
  background: #fff;
  border-color: #1A1A1A;
}
body.ifusa-dark a.market-edit:hover, body.ifusa-dark a.market-edit:focus-visible,
body.ifusa-dark a.mine-edit:hover, body.ifusa-dark .market-sheet a.market-edit:hover,
body.ifusa-shell a.mine-edit:hover {
  color: #1A1A1A;
  background: #EEF2F8;
}
body.ifusa-dark .market-delete, body.ifusa-dark .mine-delete,
body.ifusa-shell .mine-delete, body.ifusa-shell .market-delete {
  color: #9E2F24;
  background: #fff;
  border-color: #9E2F24;
}
body.ifusa-dark .market-delete-yes, body.ifusa-dark .mine-delete-yes,
body.ifusa-shell .market-delete-yes, body.ifusa-shell .mine-delete-yes {
  color: #fff;
  background: #9E2F24;
  border-color: #9E2F24;
}
body.ifusa-dark .market-delete-cancel, body.ifusa-dark .mine-delete-cancel,
body.ifusa-shell .market-delete-cancel, body.ifusa-shell .mine-delete-cancel {
  color: #F5F5F5;
  background: transparent;
}

/* Phone + Post pill: pad browse, listing, account and the home quick tiles
   (EV Gear sits under the featured/transportation block, ~2400px down).
   The pill also hides via .is-over-content when it would cover Listed by,
   listing/account actions, browse copy, or a quick tile. */
@media (max-width: 1024px) {
  body.has-fab .market-browse .market-wrap,
  body.has-fab .market-home.market-sheet .market-wrap {
    padding-bottom: calc(48px + 76px + max(env(safe-area-inset-bottom, 0px), var(--safe-bottom, 0px)));
  }
  body.has-bottombar.has-fab .market-browse .market-wrap,
  body.has-bottombar.has-fab .market-home.market-sheet .market-wrap {
    padding-bottom: calc(48px + 76px + var(--mbar-h, 76px) + max(env(safe-area-inset-bottom, 0px), var(--safe-bottom, 0px)));
  }
  body.has-fab .quick-tiles {
    padding-bottom: calc(28px + 76px + max(env(safe-area-inset-bottom, 0px), var(--safe-bottom, 0px)));
  }
  body.has-bottombar.has-fab .quick-tiles {
    padding-bottom: calc(28px + 76px + var(--mbar-h, 76px) + max(env(safe-area-inset-bottom, 0px), var(--safe-bottom, 0px)));
  }
  body.has-fab .section-tight,
  body.has-fab #account {
    padding-bottom: calc(28px + 76px + max(env(safe-area-inset-bottom, 0px), var(--safe-bottom, 0px)));
  }
  body.has-bottombar.has-fab .section-tight,
  body.has-bottombar.has-fab #account {
    padding-bottom: calc(28px + 76px + var(--mbar-h, 76px) + max(env(safe-area-inset-bottom, 0px), var(--safe-bottom, 0px)));
  }
  /* Signed-in My listings: never let the pill sit on Delete. */
  body:has(.mine-card-actions) .post-fab,
  body:has(.mine-row) .post-fab {
    visibility: hidden;
    pointer-events: none;
  }
}

.post-fab.is-over-rail,
.post-fab.is-over-content { visibility: hidden; pointer-events: none; }

/* Browse listing cards: dark IFUSA footers, light title / Listed by / price.
   The light marketplace theme forced a white card; ifusa-shell --text/--muted
   and unclassed-link copper then made the footer type nearly invisible. */
body.ifusa-dark .market-browse .market-photo a,
body.ifusa-dark .market-browse .market-photo a:not([class]),
body.ifusa-shell .market-browse .market-photo a,
body.ifusa-shell .market-browse .market-photo a:not([class]) {
  background: var(--ifusa-card);
  border-color: var(--ifusa-line);
  color: var(--ifusa-light);
  text-decoration: none;
}
body.ifusa-dark .market-browse .market-photo a:hover,
body.ifusa-shell .market-browse .market-photo a:hover {
  border-color: #555;
  text-decoration: none;
}
body.ifusa-dark .market-browse .market-photo-title,
body.ifusa-dark .market-browse .market-photo-price,
body.ifusa-shell .market-browse .market-photo-title,
body.ifusa-shell .market-browse .market-photo-price {
  color: #F5F5F5;
}
body.ifusa-dark .market-browse .market-photo-meta,
body.ifusa-dark .market-browse .market-photo-listed-by,
body.ifusa-shell .market-browse .market-photo-meta,
body.ifusa-shell .market-browse .market-photo-listed-by {
  color: #C8C8C8;
}

/* Search / location field shells were left white (#FFFFFF) by the later
   marketplace theme, so dark inputs showed white end caps. */
body.ifusa-dark .market-browse .market-field,
body.ifusa-shell .market-browse .market-field {
  background: #111;
  border-color: #444;
  color: #C8C8C8;
}
body.ifusa-dark .market-browse .market-field input,
body.ifusa-shell .market-browse .market-field input {
  background: transparent;
  color: #F5F5F5;
}

/* Header nav must match other IFUSA pages: mid grey, no underline.
   body.ifusa-shell a:not([class]) is more specific than .ifusa-desk-links a
   and had turned browse/account nav copper and underlined. */
body.ifusa-shell .ifusa-desk-links a,
body.ifusa-shell .ifusa-desk-links a:not([class]),
body.ifusa-shell .site-header .nav-links a,
body.ifusa-shell .site-header .nav-links a:not([class]) {
  color: var(--ifusa-mid);
  text-decoration: none;
}
body.ifusa-shell .ifusa-desk-links a:hover,
body.ifusa-shell .ifusa-desk-links a:first-child,
body.ifusa-shell .site-header .nav-links a:hover {
  color: var(--ifusa-light);
  text-decoration: none;
}


/* Footer links on ifusa-shell pages must match other IFUSA pages: inherit the
   muted footer color, no copper, no underline until hover. */
body.ifusa-shell .site-footer a,
body.ifusa-shell .site-footer a:not([class]),
body.ifusa-shell .foot-grid a,
body.ifusa-shell .foot-grid a:not([class]),
body.ifusa-shell .foot-legal a,
body.ifusa-shell .foot-legal a:not([class]),
body.ifusa-shell .foot-legal-nav a,
body.ifusa-shell .foot-legal-nav a:not([class]) {
  color: inherit;
  text-decoration: none;
}
body.ifusa-shell .site-footer a:hover,
body.ifusa-shell .site-footer a:not([class]):hover,
body.ifusa-shell .foot-grid a:hover,
body.ifusa-shell .foot-legal a:hover,
body.ifusa-shell .foot-legal-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Cheap IFUSA shell swap for public content pages: same dark header and
   surfaces as browse/account, without redesigning the page body. */
body.ifusa-shell .page-hero,
body.ifusa-shell .page-hero-compact {
  background: transparent;
  color: #F5F5F5;
}
body.ifusa-shell .eyebrow { color: #C8C8C8; }
body.ifusa-shell .card,
body.ifusa-shell .tile,
body.ifusa-shell .pick,
body.ifusa-shell .result,
body.ifusa-shell .split-pill {
  background: var(--ifusa-card);
  border-color: var(--ifusa-line);
  color: #F5F5F5;
  box-shadow: none;
}
body.ifusa-shell .prose p,
body.ifusa-shell .prose li { color: #C8C8C8; }
body.ifusa-shell .area-picker {
  background: var(--ifusa-card);
  color: #F5F5F5;
  border-color: var(--ifusa-line);
}
body.ifusa-shell .area-picker label,
body.ifusa-shell .area-picker-note,
body.ifusa-shell .area-picker-status { color: #C8C8C8; }
body.ifusa-shell .area-picker-row input,
body.ifusa-shell .area-picker-row select {
  background: #111;
  color: #F5F5F5;
  border-color: #444;
}
body.ifusa-shell .table-wrap { background: var(--ifusa-card); border-color: var(--ifusa-line); }
body.ifusa-shell th, body.ifusa-shell td { border-color: var(--ifusa-line); color: #C8C8C8; }
body.ifusa-shell .faq, body.ifusa-shell .faq-item { border-color: var(--ifusa-line); }
body.ifusa-shell .faq-item button { color: #F5F5F5; }
body.ifusa-shell .faq-item button:hover { color: #fff; }
body.ifusa-shell .faq-item .a { color: #C8C8C8; }
body.ifusa-shell .pick-icon {
  background: #1A1A1A;
  border-color: var(--ifusa-line);
  color: #F5F5F5;
}

/* Hide the + Post pill on listing pages and leave bottom clearance so the
   last lines are not cramped against the marketplace tab bar. */
body:has(#listing-heading) .post-fab,
body:has(.market-home.market-sheet) .post-fab {
  display: none !important;
}
@media (max-width: 1024px) {
  body:has(#listing-heading) .market-home.market-sheet .market-wrap,
  body:has(#listing-human) #listing-human {
    padding-bottom: calc(28px + max(env(safe-area-inset-bottom, 0px), var(--safe-bottom, 0px)));
  }
  body.has-bottombar:has(#listing-heading) .market-home.market-sheet .market-wrap,
  body.has-bottombar:has(#listing-human) #listing-human {
    padding-bottom: calc(28px + var(--mbar-h, 76px) + max(env(safe-area-inset-bottom, 0px), var(--safe-bottom, 0px)));
  }
}

/* Browse search/location: kill the faint vertical divider / UA end cap on
   the right edge of the field (WebKit search decorations and a leftover
   inner bevel after the dark field fill). */
body.ifusa-dark .market-browse .market-field,
body.ifusa-shell .market-browse .market-field {
  overflow: hidden;
  background-clip: padding-box;
  box-shadow: none;
}
body.ifusa-dark .market-browse .market-field input,
body.ifusa-shell .market-browse .market-field input,
body.ifusa-dark .market-browse .market-field input[type="search"],
body.ifusa-shell .market-browse .market-field input[type="search"],
body.ifusa-shell .market-browse .market-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
  -webkit-appearance: none;
  appearance: none;
  background: #111;
  background-image: none;
  border: 0;
  border-right: 0;
  border-radius: 0;
  box-shadow: none;
  outline: none;
}
body.ifusa-dark .market-browse .market-field input[type="search"]::-webkit-search-decoration,
body.ifusa-dark .market-browse .market-field input[type="search"]::-webkit-search-cancel-button,
body.ifusa-dark .market-browse .market-field input[type="search"]::-webkit-search-results-button,
body.ifusa-dark .market-browse .market-field input[type="search"]::-webkit-search-results-decoration,
body.ifusa-shell .market-browse .market-field input[type="search"]::-webkit-search-decoration,
body.ifusa-shell .market-browse .market-field input[type="search"]::-webkit-search-cancel-button {
  display: none;
  -webkit-appearance: none;
  appearance: none;
}

body.ifusa-shell .lifecycle li,
body.ifusa-shell .lifecycle li.is-soon,
body.ifusa-shell .lifecycle li.is-live {
  background: var(--ifusa-card);
  border-color: var(--ifusa-line);
  color: #F5F5F5;
}
body.ifusa-shell .lifecycle .stage-n,
body.ifusa-shell .lifecycle .stage-status,
body.ifusa-shell .lifecycle p { color: #C8C8C8; }
body.ifusa-shell .lifecycle strong { color: #F5F5F5; }
body.ifusa-shell .lifecycle li.is-live .stage-status { color: #3DDC84; }
body.ifusa-shell .outside-resource {
  background: var(--ifusa-card);
  border-color: var(--ifusa-line);
  color: #C8C8C8;
}
body.ifusa-shell .lane-tile.is-soon,
body.ifusa-shell .lane-tile { background: var(--ifusa-card); border-color: var(--ifusa-line); color: #F5F5F5; }
body.ifusa-shell .lane-icon { background: #1A1A1A; color: #F5F5F5; }

/* Seller-journey shell: status, tables, account lists, My listings filters,
   public business pages, 404, admin, maker attribution, business switcher. */
body.ifusa-shell .status.ok { color: #6FD39A; }
body.ifusa-shell .status.err, body.ifusa-shell .field-error { color: #FF8A7A; }
body.ifusa-shell .field-help, body.ifusa-shell .hint { color: #B8B8B8; }
body.ifusa-shell .linklike { color: #F0C4A0; }
body.ifusa-shell .mkt-steps span { background: #333; }
body.ifusa-shell .mkt-steps span.on { background: var(--ifusa-red); }
body.ifusa-shell .table-wrap { background: #1A1A1A; border-color: var(--ifusa-line); }
body.ifusa-shell th { color: #B8B8B8; }
body.ifusa-shell th, body.ifusa-shell td { border-color: var(--ifusa-line); }
body.ifusa-shell .pill { background: #2A2A2A; color: #F5F5F5; }
body.ifusa-shell .pill.ok { background: #16321F; color: #7FDCA4; }
body.ifusa-shell .pill.warn { background: #3A2E10; color: #F2C66B; }
body.ifusa-shell .pill.bad { background: #3A1814; color: #FF9A8C; }
body.ifusa-shell .acct-list li > a, body.ifusa-shell .acct-list li > button {
  background: var(--ifusa-card);
  color: #F5F5F5;
  border: 1px solid var(--ifusa-line);
  box-shadow: none;
}
body.ifusa-shell .acct-list li > a:hover, body.ifusa-shell .acct-list li > button:hover { border-color: #555; }
body.ifusa-shell details, body.ifusa-shell summary { color: #F5F5F5; }
body.ifusa-shell code, body.ifusa-shell pre { background: #1A1A1A; color: #F5F5F5; }
body.ifusa-shell hr { border-color: var(--ifusa-line); }
body.ifusa-shell .container { max-width: 100%; }
body.ifusa-shell main, body.ifusa-shell section { min-width: 0; }

body.ifusa-shell .mine-card-photo.is-placeholder { background: #1A1A1A; color: #A8A8A8; border-color: var(--ifusa-line); }
body.ifusa-shell .mine-empty p { color: #C8C8C8; }
body.ifusa-shell .mine-sold, body.ifusa-shell .mine-filter {
  background: transparent;
  color: #F5F5F5;
  border: 1px solid #555;
}
body.ifusa-shell .mine-filter[aria-pressed="true"], body.ifusa-shell .mine-filter.is-on {
  background: var(--ifusa-red);
  border-color: var(--ifusa-red);
  color: #fff;
}
body.ifusa-shell .mine-delete-ask { color: #F5F5F5; }

/* Business profile editor + public business page. */
.ifusa-biz-head { display: flex; align-items: center; gap: 16px; min-width: 0; }
.ifusa-biz-logo {
  width: 72px; height: 72px; flex: 0 0 72px; border-radius: 14px; overflow: hidden;
  background: var(--ifusa-d1); border: 1px solid var(--ifusa-line);
  display: flex; align-items: center; justify-content: center;
  font: 900 italic 28px/1 Inter, system-ui, sans-serif; color: #F5F5F5;
}
.ifusa-biz-logo img { width: 100%; height: 100%; object-fit: cover; }
.ifusa-biz-logo.is-mark { width: auto; min-width: 72px; padding: 0 14px; flex: 0 0 auto; }
.ifusa-biz-name { margin: 0; font-size: clamp(28px, 4vw, 40px); line-height: 1.05; color: #fff; overflow-wrap: anywhere; }
.ifusa-biz-sub { margin: 6px 0 0; color: #C8C8C8; font-size: 15px; }
.ifusa-biz-cat {
  display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px;
  border: 1px solid #555; color: #F5F5F5; font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.ifusa-biz-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; margin-top: 28px; }
.ifusa-biz-facts { display: grid; gap: 12px; margin: 0; }
.ifusa-biz-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #A8A8A8; }
.ifusa-biz-facts dd { margin: 2px 0 0; color: #F5F5F5; overflow-wrap: anywhere; white-space: pre-line; }
.ifusa-biz-facts dd a { color: #F0C4A0; }
.ifusa-biz-bio { color: #DADADA; font-size: 16px; line-height: 1.65; margin: 0 0 8px; white-space: pre-line; }
.ifusa-biz-listings { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 12px; }
.ifusa-biz-card {
  display: flex; flex-direction: column; background: var(--ifusa-card); border: 1px solid var(--ifusa-line);
  border-radius: 12px; overflow: hidden; color: #F5F5F5; text-decoration: none; min-width: 0;
}
.ifusa-biz-card:hover { border-color: #555; }
.ifusa-biz-card-ph { aspect-ratio: 4 / 3; background: #1A1A1A; display: flex; align-items: center; justify-content: center; color: #8C8C8C; font-size: 13px; }
.ifusa-biz-card-ph img { width: 100%; height: 100%; object-fit: cover; }
.ifusa-biz-card-body { padding: 12px 14px 14px; display: grid; gap: 4px; }
.ifusa-biz-card-price { font-weight: 800; color: #fff; }
.ifusa-biz-card-title { font-weight: 600; color: #F5F5F5; overflow-wrap: anywhere; }
.ifusa-biz-card-meta { font-size: 13px; color: #B8B8B8; }
.ifusa-biz-empty { padding: 20px; border: 1px dashed #444; border-radius: 12px; color: #C8C8C8; }
.ifusa-logo-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ifusa-logo-row input[type="file"] { color: #C8C8C8; max-width: 100%; }
@media (max-width: 760px) {
  .ifusa-biz-grid { grid-template-columns: minmax(0, 1fr); }
  .ifusa-biz-logo { width: 56px; height: 56px; flex-basis: 56px; font-size: 22px; }
}

.ifusa-404 { padding: 72px 0 96px; }
.ifusa-404 .ifusa-404-code {
  font: 900 italic clamp(96px, 18vw, 180px)/0.9 Inter, system-ui, sans-serif;
  background: linear-gradient(180deg, #E0533F, #C0392B 55%, #A93226);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 0 0 12px;
}
.ifusa-404-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

body.ifusa-shell label .req, body.ifusa-shell .req { color: #FF8A7A; }
body.ifusa-shell .adm-who { color: #C8C8C8; }
body.ifusa-shell .adm-signout, body.ifusa-shell .adm-link { color: #FF8A7A; }
body.ifusa-shell .adm-signout:hover, body.ifusa-shell .adm-link:hover { color: #fff; }
body.ifusa-shell .adm-tab { color: #C8C8C8; border-color: #444; }
body.ifusa-shell .adm-tab[aria-selected="true"] { color: #fff; }
body.ifusa-shell .adm-market, body.ifusa-shell .adm-pane { overflow-x: auto; max-width: 100%; }
body.ifusa-shell .adm-market table, body.ifusa-shell .adm-pane table { min-width: 640px; }
body.ifusa-shell .adm-promote { color: #F5F5F5; border-color: #555; }
body.ifusa-shell .adm-err { color: #FF8A7A; }

.market-photo-maker, .ifusa-biz-card-maker {
  display: block; font-size: 12.5px; font-weight: 600; color: #F0C4A0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
}
.market-maker-note { margin: 4px 0 0; font-size: 13px; color: #B8B8B8; }
body:not(.ifusa-dark) .market-photo-maker { color: #8A4B1F; }
body:not(.ifusa-dark) .market-maker-note { color: #555; }
.post-maker legend { font-weight: 700; }
#area-hold-note { color: #F2C66B; }

.ifusa-bizswitch { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.ifusa-bizswitch button {
  background: transparent; color: #F5F5F5; border: 1px solid #555; border-radius: 999px;
  padding: 6px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ifusa-bizswitch button[aria-pressed="true"] { background: var(--ifusa-red); border-color: var(--ifusa-red); color: #fff; }
.ifusa-bizswitch button .code { opacity: .8; margin-left: 6px; font-weight: 500; }

body.ifusa-shell .market-sample-label { background: rgba(17, 17, 17, 0.9); color: #F5F5F5; }
body.ifusa-shell .market-make-chip-fits { background: #111; color: #F5F5F5; border-color: #777; }
body.ifusa-shell input[type="file"] { background: #111; color: #C8C8C8; border: 1.5px dashed #444; border-radius: 8px; padding: 10px; width: 100%; }
body.ifusa-shell input[type="file"]::file-selector-button { background: #2A2A2A; color: #F5F5F5; border: 1px solid #555; border-radius: 6px; padding: 6px 12px; margin-right: 10px; font: inherit; cursor: pointer; }
.ifusa-biz-card-maker, .market-photo-maker { white-space: normal; overflow-wrap: anywhere; }
body.ifusa-shell .ifusa-area-other { margin-top: 10px; }
body.ifusa-shell .ifusa-area-other label { display: block; font-size: 13px; margin-bottom: 4px; }
body.ifusa-shell .ifusa-area-other input { max-width: 140px; }

/* Buyer contact: Contact seller / Request a quote form, Save, seller inbox, saved listings, new-listing alerts. */
body.ifusa-dark .bc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
body.ifusa-dark .bc-actions .market-contact { margin-top: 0; }
body.ifusa-dark .market-sheet .market-contact.bc-primary { background: #C0392B; border-color: #C0392B; color: #fff; }
body.ifusa-dark .market-sheet .market-contact.bc-primary:hover { background: #E0533F; border-color: #E0533F; }
body.ifusa-dark .market-sheet .market-contact.bc-secondary[aria-pressed="true"] { border-color: #F0C4A0; color: #F0C4A0; }
body.ifusa-dark .market-sheet .market-contact[disabled] { opacity: .6; }
body.ifusa-dark .bc-form, body.ifusa-dark .bc-alert {
  position: relative; background: #222; border: 1px solid #333; border-radius: 14px; padding: 18px; color: #F5F5F5; margin-top: 14px; max-width: 560px;
}
body.ifusa-dark .bc-form[hidden] { display: none; }
body.ifusa-dark .bc-form-h { margin: 0 0 6px; font-size: 20px; color: #fff; }
body.ifusa-dark .bc-help { color: #C8C8C8; font-size: 14px; line-height: 1.5; margin: 0 0 12px; }
body.ifusa-dark .bc-field { display: grid; gap: 5px; margin-bottom: 12px; }
body.ifusa-dark .bc-field label { font-size: 14px; font-weight: 600; color: #F5F5F5; }
body.ifusa-dark .bc-opt { color: #B8B8B8; font-weight: 400; }
body.ifusa-dark .bc-form input, body.ifusa-dark .bc-form textarea, body.ifusa-dark .bc-alert input[type="email"] {
  width: 100%; box-sizing: border-box; background: #111; color: #F5F5F5; border: 1.5px solid #444; border-radius: 8px; padding: 11px 12px; font: inherit; font-size: 16px; max-width: 100%;
}
body.ifusa-dark .bc-form textarea { resize: vertical; min-height: 110px; }
body.ifusa-dark .bc-form input:focus, body.ifusa-dark .bc-form textarea:focus, body.ifusa-dark .bc-alert input:focus { outline: 2px solid #F0C4A0; outline-offset: 1px; border-color: #F0C4A0; }
body.ifusa-dark .bc-form input::placeholder, body.ifusa-dark .bc-form textarea::placeholder, body.ifusa-dark .bc-alert input::placeholder { color: #8C8C8C; }
.bc-form-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.bc-status { margin: 10px 0 0; font-size: 14px; color: #C8C8C8; min-height: 1.2em; }
.bc-status.is-error { color: #FF8A7A; }
.bc-status.is-ok { color: #8FE3A8; }
.bc-status.is-warn { color: #F0C4A0; }
body.ifusa-dark .bc-done { background: #16261C; border: 1px solid #2F5A3D; color: #D9F5E1; border-radius: 12px; padding: 14px 16px; max-width: 560px; }
body.ifusa-dark .market-sheet .market-listed-by .bc-biz-link, body.ifusa-dark .bc-biz-link { color: #F0C4A0; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* Notify me (area pages) */
body.ifusa-dark .bc-alert { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 28px; align-items: center; margin-top: 0; }
body.ifusa-dark .bc-alert h2 { margin: 0 0 6px; font-size: 22px; color: #fff; }
body.ifusa-dark .bc-alert .bc-help { margin: 0; }
.bc-alert-form { display: flex; gap: 10px; flex-wrap: wrap; }
.bc-alert-form input[type="email"] { flex: 1 1 200px; min-width: 0; }
.bc-alert .bc-status { grid-column: 1 / -1; margin: 0; }
.bc-alert .bc-status:empty { display: none; }
@media (max-width: 760px) { body.ifusa-dark .bc-alert { grid-template-columns: minmax(0, 1fr); padding: 16px; } .bc-alert-form .area-btn { width: 100%; } }

/* Seller inbox + saved (account page) */
body.ifusa-shell .bc-inbox-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
body.ifusa-shell .bc-inbox-head h3 { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
body.ifusa-shell .bc-inbox-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body.ifusa-shell .bc-count { font-size: 12px; font-weight: 700; background: #C0392B; color: #fff; border-radius: 999px; padding: 3px 10px; }
body.ifusa-shell .bc-count[hidden] { display: none; }
body.ifusa-shell .bc-seg { display: inline-flex; border: 1px solid #555; border-radius: 999px; overflow: hidden; }
body.ifusa-shell .bc-seg button { background: transparent; color: #F5F5F5; border: 0; padding: 7px 14px; font: inherit; font-size: 14px; cursor: pointer; }
body.ifusa-shell .bc-seg button[aria-pressed="true"] { background: #F5F5F5; color: #111; font-weight: 700; }
body.ifusa-shell .bc-small { padding: 7px 14px; font-size: 14px; min-height: 0; border-radius: 999px; width: auto; }
body.ifusa-shell .bc-msg { background: #222; border: 1px solid #333; border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; min-width: 0; }
body.ifusa-shell .bc-msg.is-unread { border-color: #8A4A40; background: #261D1B; }
body.ifusa-shell .bc-msg-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body.ifusa-shell .bc-msg-from { color: #fff; overflow-wrap: anywhere; }
body.ifusa-shell .bc-dot { width: 10px; height: 10px; border-radius: 50%; background: #FF6B57; flex: 0 0 10px; }
body.ifusa-shell .bc-kind { font-size: 12px; font-weight: 700; border: 1px solid #555; color: #DADADA; border-radius: 999px; padding: 2px 9px; }
body.ifusa-shell .bc-kind.is-quote { border-color: #F0C4A0; color: #F0C4A0; }
body.ifusa-shell .bc-when { margin-left: auto; font-size: 13px; color: #B8B8B8; }
body.ifusa-shell .bc-msg-about { margin: 6px 0 0; font-size: 14px; color: #C8C8C8; overflow-wrap: anywhere; }
body.ifusa-shell .bc-msg-about a, body.ifusa-shell .bc-msg-meta a { color: #F0C4A0; }
body.ifusa-shell .bc-msg-body { margin: 10px 0 0; color: #F5F5F5; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
body.ifusa-shell .bc-msg-meta { margin: 8px 0 0; font-size: 14px; color: #C8C8C8; overflow-wrap: anywhere; }
body.ifusa-shell .bc-note { margin: 8px 0 0; font-size: 13px; color: #F0C4A0; }
body.ifusa-shell .bc-msg-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
body.ifusa-shell .bc-empty { padding: 18px; border: 1px dashed #444; border-radius: 12px; color: #C8C8C8; margin: 0; }
body.ifusa-shell .bc-saved-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
body.ifusa-shell .bc-saved-item { display: grid; gap: 8px; align-content: start; min-width: 0; }
body.ifusa-shell .bc-saved-item .ifusa-biz-card { height: 100%; }
body.ifusa-shell .ifusa-biz-card.is-gone { opacity: .65; }
body.ifusa-shell .bc-alerts-card .bc-alerts-back { margin: 18px 0 0; font-size: 14px; color: #B8B8B8; }
body.ifusa-shell .bc-alerts-card a { color: #F0C4A0; }
body.ifusa-shell .bc-help { color: #C8C8C8; font-size: 14px; }
/* Edit listing is a white button: the dark-theme sheet link color (near-white) made it white on white. */
body.ifusa-dark .market-sheet a.market-edit, body.ifusa-dark .market-sheet a.market-edit:visited,
body.ifusa-dark .market-sheet a.mine-edit, body.ifusa-dark .market-sheet a.mine-edit:visited,
body.ifusa-dark .market-sheet .market-owner-delete a.market-edit { color: #1A1A1A; background: #fff; border-color: #1A1A1A; }
body.ifusa-dark .market-sheet a.market-edit:hover, body.ifusa-dark .market-sheet a.market-edit:focus-visible,
body.ifusa-dark .market-sheet a.mine-edit:hover { color: #1A1A1A; background: #EEF2F8; }

/* Post / edit sheet: dark-blue summary, category and empty-photo copy on
   the dark preview card were unreadable (#13264F / #45516B on #222). */
body.ifusa-dark .market-sheet .post-rules summary,
body.ifusa-dark .market-sheet .listing-review-category,
body.ifusa-dark .market-sheet .listing-review-title,
body.ifusa-dark .market-sheet .listing-review-body {
  color: #F5F5F5;
}
body.ifusa-dark .market-sheet .listing-review-empty-photos,
body.ifusa-dark .market-sheet .listing-review-price,
body.ifusa-dark .market-sheet .listing-review-location,
body.ifusa-dark .market-sheet .listing-review-contact,
body.ifusa-dark .market-sheet .listing-review-maker {
  color: #C8C8C8;
}
body.ifusa-dark .market-sheet .post-rules summary { color: #F0C4A0; }

/* Unstyled and title links on the dark shell: never default blue (#00e) or
   visited purple. */
body.ifusa-shell a.mine-card-title,
body.ifusa-shell .mine-card-title { color: #F5F5F5; text-decoration: none; }
body.ifusa-shell a.mine-card-title:hover { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
body.ifusa-shell .mine-empty a:not([class]),
body.ifusa-shell [data-signed-in] a:not([class]),
body.ifusa-dark .market-sheet a:not([class]),
body.ifusa-dark .market-sheet a:not([class]):visited,
body.ifusa-shell a:not([class]):visited { color: #F0C4A0; }

/* Owner actions: one shared size and shape. Edit and Mark as sold are the
   same white chip; Delete keeps a red accent on that same base. */
body.ifusa-dark .market-sheet .market-edit,
body.ifusa-dark .market-sheet a.market-edit,
body.ifusa-dark .market-sheet a.market-edit:visited,
body.ifusa-dark .market-sheet .market-owner-delete a.market-edit,
body.ifusa-dark .market-sheet #listing-mark-sold,
body.ifusa-shell .mine-edit,
body.ifusa-shell .mine-sold,
body.ifusa-shell a.mine-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  box-sizing: border-box;
  background: #fff;
  color: #1A1A1A;
  border: 1px solid #1A1A1A;
  text-decoration: none;
}
body.ifusa-dark .market-sheet .market-edit:hover,
body.ifusa-dark .market-sheet a.market-edit:hover,
body.ifusa-dark .market-sheet a.market-edit:focus-visible,
body.ifusa-dark .market-sheet #listing-mark-sold:hover,
body.ifusa-shell .mine-edit:hover,
body.ifusa-shell .mine-sold:hover,
body.ifusa-shell a.mine-edit:hover {
  color: #1A1A1A;
  background: #EEF2F8;
}
body.ifusa-dark .market-sheet .market-delete,
body.ifusa-dark .market-sheet .market-delete-yes,
body.ifusa-shell .mine-delete,
body.ifusa-shell .mine-delete-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  box-sizing: border-box;
  background: #fff;
  color: #9E2F24;
  border: 1px solid #9E2F24;
}
body.ifusa-dark .market-sheet .market-delete-yes,
body.ifusa-shell .mine-delete-yes {
  background: #9E2F24;
  color: #fff;
}

/* Preview-only QA confirm control on a pending listing (shown only when the
   API includes qa_confirm_url). */
.market-qa-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 8px 0 12px;
  padding: 0 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  background: #fff;
  color: #1A1A1A;
  border: 1px solid #1A1A1A;
  text-decoration: none;
}
body.ifusa-dark .market-qa-confirm,
body.ifusa-dark .market-qa-confirm:visited,
body.ifusa-dark .market-sheet a.market-qa-confirm,
body.ifusa-dark .market-sheet a.market-qa-confirm:visited {
  color: #1A1A1A;
  background: #fff;
}

/* Also hide on account and the business profile (pill covered coming-soon
   copy and the first listing's Delete). */
body:has(#account) .post-fab,
body:has(#biz-form) .post-fab {
  display: none !important;
}

/* #listing-missing a.market-clear is more specific (ID) than the sheet
   .market-clear rule and kept the light-theme --blue on dark. */
body.ifusa-dark .market-sheet #listing-missing a.market-clear,
body.ifusa-dark .market-sheet #listing-missing a.market-clear:visited {
  color: #F0C4A0;
  background: transparent;
  border: 0;
}
body.ifusa-dark .market-sheet #listing-missing a.market-clear:hover {
  color: #fff;
}

/* mine-empty titles use strong { color: #13264F } which beat the shell
   paragraph color. */
body.ifusa-shell .mine-empty .text-mid strong,
body.ifusa-shell .mine-empty strong {
  color: #F5F5F5;
}

/* ---- CoS QA round 3 (seller journey stacked on listing-guest-fix) ---- */

/* Browse cards: no underline on the wrapping link (including :visited),
   and "Listed by" matches the location meta size. */
body.ifusa-dark .market-browse .market-photo a,
body.ifusa-dark .market-browse .market-photo a:not([class]),
body.ifusa-dark .market-browse .market-photo a:link,
body.ifusa-dark .market-browse .market-photo a:visited,
body.ifusa-shell .market-browse .market-photo a,
body.ifusa-shell .market-browse .market-photo a:not([class]),
body.ifusa-shell .market-browse .market-photo a:link,
body.ifusa-shell .market-browse .market-photo a:visited {
  text-decoration: none;
  color: var(--ifusa-light);
}
body.ifusa-dark .market-browse .market-photo-title,
body.ifusa-dark .market-browse .market-photo-meta,
body.ifusa-dark .market-browse .market-photo-listed-by,
body.ifusa-dark .market-browse .market-photo-price,
body.ifusa-shell .market-browse .market-photo-title,
body.ifusa-shell .market-browse .market-photo-meta,
body.ifusa-shell .market-browse .market-photo-listed-by,
body.ifusa-shell .market-browse .market-photo-price {
  text-decoration: none;
}
body.ifusa-dark .market-browse .market-photo-listed-by,
body.ifusa-shell .market-browse .market-photo-listed-by {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  color: #C8C8C8;
}

/* /account: hide the white chip-row scrollbar on the dark page, wrap chips
   so title + Sold pill are not clipped at 390/375. */
body.ifusa-shell .mine-toolbar {
  flex-wrap: wrap;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body.ifusa-shell .mine-toolbar::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
body.ifusa-shell .mine-card,
body.ifusa-shell .mine-row {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body.ifusa-shell .mine-card-body { min-width: 0; overflow: hidden; }
body.ifusa-shell .mine-card-title {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
body.ifusa-shell .mine-card .pill {
  max-width: 100%;
}

/* Footer links (Territories included): beat the later unclassed :visited
   copper/underline rule so phone /marketplace/profile matches other pages. */
body.ifusa-shell .site-footer a,
body.ifusa-shell .site-footer a:link,
body.ifusa-shell .site-footer a:visited,
body.ifusa-shell .site-footer a:not([class]),
body.ifusa-shell .site-footer a:not([class]):link,
body.ifusa-shell .site-footer a:not([class]):visited,
body.ifusa-dark .site-footer a,
body.ifusa-dark .site-footer a:not([class]),
body.ifusa-dark .site-footer a:not([class]):visited,
body.ifusa-shell .foot-grid a,
body.ifusa-shell .foot-grid a:link,
body.ifusa-shell .foot-grid a:visited,
body.ifusa-shell .foot-grid a:not([class]),
body.ifusa-shell .foot-grid a:not([class]):visited,
body.ifusa-shell .foot-legal a,
body.ifusa-shell .foot-legal a:visited,
body.ifusa-shell .foot-legal a:not([class]),
body.ifusa-shell .foot-legal-nav a,
body.ifusa-shell .foot-legal-nav a:visited,
body.ifusa-shell .foot-legal-nav a:not([class]) {
  color: inherit;
  text-decoration: none;
}
body.ifusa-shell .site-footer a:hover,
body.ifusa-shell .site-footer a:not([class]):hover,
body.ifusa-dark .site-footer a:hover,
body.ifusa-shell .foot-grid a:hover,
body.ifusa-shell .foot-legal a:hover,
body.ifusa-shell .foot-legal-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Open phone header menu: light type on the dark drawer, no copper underline,
   no dark-on-dark nav-story. */
@media (max-width: 900px) {
  body.ifusa-shell .nav-story,
  body.ifusa-dark .nav-story {
    color: #C8C8C8;
  }
  body.ifusa-shell .site-header .nav-links a,
  body.ifusa-shell .site-header .nav-links a:link,
  body.ifusa-shell .site-header .nav-links a:visited,
  body.ifusa-shell .site-header .nav-links a:not([class]),
  body.ifusa-shell .site-header .nav-links a:not([class]):visited,
  body.ifusa-dark .site-header .nav-links a,
  body.ifusa-dark .site-header .nav-links a:not([class]) {
    color: #E8E8E8;
    text-decoration: none;
    background: transparent;
  }
  body.ifusa-shell .site-header .nav-links a:hover,
  body.ifusa-dark .site-header .nav-links a:hover {
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
  }
  body.ifusa-shell .site-header .nav-links a.active,
  body.ifusa-shell .site-header .nav-links a[aria-current="page"],
  body.ifusa-dark .site-header .nav-links a.active,
  body.ifusa-dark .site-header .nav-links a[aria-current="page"] {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
    font-weight: 600;
  }
  body.ifusa-shell .site-header .nav-links a.active .nav-icon,
  body.ifusa-dark .site-header .nav-links a.active .nav-icon,
  body.ifusa-shell .site-header .nav-links a[aria-current="page"] .nav-icon,
  body.ifusa-dark .site-header .nav-links a[aria-current="page"] .nav-icon {
    color: #fff !important;
  }
  body.ifusa-shell .site-header .nav-links a.active::before,
  body.ifusa-dark .site-header .nav-links a.active::before,
  body.ifusa-shell .site-header .nav-links a[aria-current="page"]::before,
  body.ifusa-dark .site-header .nav-links a[aria-current="page"]::before {
    background: rgba(255, 255, 255, 0.35);
  }
}


/* ---- CoS QA round 4 ---- */

/* Browse Search must stay a red button. A later marketplace.css rule
   (.market-search .market-apply { background: transparent; color: var(--navy) })
   made it a blank dark gap on the IFUSA shell (navy is #1A1A1A). */
body.ifusa-dark .market-browse .market-search .market-apply,
body.ifusa-dark .market-browse .market-apply,
body.ifusa-shell .market-browse .market-search .market-apply,
body.ifusa-shell .market-browse .market-apply {
  background: var(--ifusa-red, #C0392B);
  color: #fff;
  border: 0;
  border-color: var(--ifusa-red, #C0392B);
}
body.ifusa-dark .market-browse .market-search .market-apply:hover,
body.ifusa-dark .market-browse .market-apply:hover,
body.ifusa-shell .market-browse .market-search .market-apply:hover,
body.ifusa-shell .market-browse .market-apply:hover {
  background: var(--ifusa-red-h, #A93226);
  color: #fff;
}

/* 480/602 live area chips: do not use var(--navy) (#1A1A1A) as the fill,
   which vanished into the search bar. Inactive category chips keep a
   card fill; the All (active) chip is red, not a white outline. */
body.ifusa-dark .market-browse .market-area-chip.is-live,
body.ifusa-shell .market-browse .market-area-chip.is-live {
  background: var(--ifusa-card, #222222);
  color: #fff;
  border: 1px solid color-mix(in srgb, var(--chip-accent, #C0392B) 55%, #2A2A2A);
}
body.ifusa-dark .market-browse a.market-chip,
body.ifusa-dark .market-browse .market-chip,
body.ifusa-shell .market-browse a.market-chip {
  background: var(--ifusa-card, #222222);
  color: #fff;
  border-color: var(--ifusa-line, #2A2A2A);
}
body.ifusa-dark .market-browse a.market-chip.is-active,
body.ifusa-dark .market-browse .market-chip.is-active,
body.ifusa-shell .market-browse a.market-chip.is-active,
body.ifusa-shell .market-browse .market-chip.is-active {
  background: var(--ifusa-red, #C0392B);
  border-color: var(--ifusa-red, #C0392B);
  color: #fff;
}

/* Listing detail: reserve space so QA confirm / owner tools do not jump
   the layout into the bottom tab bar while the session check runs. */
#listing-loading {
  min-height: 280px;
}
#listing-owner-slot.is-reserving {
  min-height: 148px;
}
#listing-owner-slot.is-reserving #listing-qa-slot {
  min-height: 56px;
}

/* Marked-sold: Edit, Marked sold, and Delete stay one row, same height. */
body.ifusa-dark .market-sheet .market-owner-actions,
body.ifusa-shell .market-owner-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}
body.ifusa-dark .market-sheet .market-owner-actions > .market-edit,
body.ifusa-dark .market-sheet .market-owner-actions > #listing-mark-sold,
body.ifusa-dark .market-sheet .market-owner-actions > .market-delete,
body.ifusa-shell .market-owner-actions > .market-edit,
body.ifusa-shell .market-owner-actions > #listing-mark-sold,
body.ifusa-shell .market-owner-actions > .market-delete {
  flex: 1 1 0;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 8px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 13px;
  vertical-align: middle;
}
body.ifusa-dark .market-sheet #listing-mark-sold:disabled,
body.ifusa-dark .market-sheet #listing-mark-sold[disabled] {
  background: #3A3A3A;
  color: #F5F5F5;
  border-color: #555;
  opacity: 1;
}

/* CoS QA #215: field errors, tab-bar clearance, /928 dark waitlist,
   Notify me on browse, business skeleton, no top spacer above the header. */
body.ifusa-dark { padding-top: 0; }
body.ifusa-dark > #site-header,
body.ifusa-dark > .site-header { margin-top: 0; }
#site-header:empty { height: 0; margin: 0; padding: 0; }

body.has-bottombar .bc-form {
  padding-bottom: calc(var(--mbar-h, 76px) + 48px + max(env(safe-area-inset-bottom, 0px), var(--safe-bottom, 0px)));
}
body.has-bottombar .bc-form-row,
body.has-bottombar #cf-send,
body.has-bottombar #cf-cancel {
  scroll-margin-bottom: calc(var(--mbar-h, 76px) + 24px + max(env(safe-area-inset-bottom, 0px), var(--safe-bottom, 0px)));
}

/* Notify me: browse and listing do not load area.css, so the button must
   carry its own height. Keep a 44px tap target on phone and desktop. */
body.ifusa-dark .area-btn,
body.ifusa-shell .area-btn,
body.ifusa-dark .bc-alert-form .area-btn,
body.ifusa-shell .bc-alert-form .area-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  align-self: center;
  min-height: 44px;
  height: auto;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

body.ifusa-dark .bc-field-error,
body.ifusa-shell .bc-field-error {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #FF8A80;
}
body.ifusa-dark .bc-status.is-error,
body.ifusa-shell .bc-status.is-error { color: #FF8A80; font-size: 15px; }
body.ifusa-dark .bc-status.is-progress,
body.ifusa-shell .bc-status.is-progress { color: #F0C4A0; font-size: 15px; }
.bc-qa-confirm { margin: 8px 0 0; }
.bc-qa-confirm a { color: #F0C4A0; font-weight: 700; text-decoration: underline; }

.bc-alert-compact {
  margin: 12px 0 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--ifusa-card, #222);
  border: 1px solid var(--ifusa-line, #2A2A2A);
  max-width: 640px;
}
body.ifusa-dark .bc-alert-compact .bc-help { color: #C8C8C8; margin: 0 0 10px; }
body.ifusa-dark .bc-alert-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* /928 waitlist and "Live now" tiles: beat area.css white cards and !important navy text. */
body.ifusa-dark .area-soon-card,
body.ifusa-shell .area-soon-card,
body.ifusa-dark form.area-soon-card,
body.ifusa-dark aside.area-soon-card {
  background: var(--ifusa-card, #222222) !important;
  border: 1px solid var(--ifusa-line, #2A2A2A) !important;
  color: #F5F5F5 !important;
  box-shadow: none;
}
body.ifusa-dark .area-soon-card h2,
body.ifusa-dark .area-soon-card h3,
body.ifusa-dark .area-soon-lead,
body.ifusa-dark .area-soon label,
body.ifusa-dark .area-soon-card label,
body.ifusa-dark .area-soon-card p,
body.ifusa-dark .area-soon-card .area-status {
  color: #F5F5F5 !important;
}
body.ifusa-dark .area-soon-lead,
body.ifusa-dark .area-soon-card .lede,
body.ifusa-dark .area-soon-card .text-mid { color: #C8C8C8 !important; }
body.ifusa-dark .area-soon input[type="email"],
body.ifusa-dark .area-soon input[type="text"],
body.ifusa-dark .area-soon-card input[type="email"],
body.ifusa-dark .area-soon-card input[type="text"] {
  background: #111 !important;
  color: #F5F5F5 !important;
  border: 1.5px solid #444 !important;
}
body.ifusa-dark .area-live-list a,
body.ifusa-shell .area-live-list a {
  background: #1A1A1A !important;
  border: 1px solid var(--ifusa-line, #2A2A2A) !important;
  color: #F5F5F5 !important;
  text-decoration: none !important;
}
body.ifusa-dark .area-live-list a:hover { border-color: var(--ifusa-red, #C0392B) !important; }
body.ifusa-dark .area-live-list strong { color: #F5F5F5 !important; }
body.ifusa-dark .area-live-meta { color: #C8C8C8 !important; }

/* Business page skeleton while listings load. */
.ifusa-biz-skel { margin: 16px 0 32px; }
.ifusa-biz-skel .ifusa-skel-head,
.ifusa-biz-skel .ifusa-skel-line,
.ifusa-biz-skel .ifusa-skel-grid > div {
  background: linear-gradient(90deg, #222 0%, #2A2A2A 50%, #222 100%);
  background-size: 200% 100%;
  animation: ifusa-skel 1.2s ease-in-out infinite;
  border-radius: 8px;
}
.ifusa-biz-skel .ifusa-skel-head { height: 72px; max-width: 420px; margin-bottom: 16px; }
.ifusa-biz-skel .ifusa-skel-line { height: 14px; max-width: 560px; margin-bottom: 10px; }
.ifusa-biz-skel .ifusa-skel-line.is-short { max-width: 280px; }
.ifusa-biz-skel .ifusa-skel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.ifusa-biz-skel .ifusa-skel-grid > div { height: 140px; }
@keyframes ifusa-skel { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (max-width: 700px) {
  .ifusa-biz-skel .ifusa-skel-grid { grid-template-columns: 1fr; }
}

/* Phone tap targets on area pages (375px and 414px). Destinations are unchanged.
   Standalone links get a 44px hit area; layout can grow, hrefs do not change. */
@media (max-width: 760px) {
  .area-page .area-empty .text-link,
  .area-page .area-links .text-link,
  .area-page .lanes-more .text-link,
  .area-page .area-operator a,
  .ifusa-net-act,
  .ifusa-net-more,
  .ifusa-fgo,
  .ifusa-credit a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    box-sizing: border-box;
  }
  .ifusa-net-act, .ifusa-net-more, .ifusa-fgo { align-self: start; }
  .ifusa-credit a { padding: 0 4px; }
}
