/* LamazonLoads — site styles */

/* Fonts, served from assets/fonts (no wait on Google's servers before text shows) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 800 900; font-display: swap; src: url(fonts/montserrat-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 800 900; font-display: swap; src: url(fonts/montserrat-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600 900; font-display: swap; src: url(fonts/montserrat-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600 900; font-display: swap; src: url(fonts/montserrat-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #0A2463;
  --navy-2: #0F2F7A;
  --ink: #0B1733;
  --blue: #1E63E9;
  --blue-2: #3B7BFF;
  --blue-50: #EEF4FF;
  --sky: #8EC2FF;
  --sky-2: #5AA2FF;
  --bg: #F5F7FB;
  --card: #FFFFFF;
  --text: #24304A;
  --muted: #5E6B85;
  --line: #E1E7F0;
  --green: #12A150;
  --red: #D93636;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(10, 36, 99, .06), 0 8px 24px rgba(10, 36, 99, .08);
  --shadow-lg: 0 20px 50px rgba(10, 36, 99, .18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Montserrat", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:root { color-scheme: only light; } /* LamazonLoads is blue on white: browsers keep it that way, logo included */
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
/* Text: headings break into even lines, body text fills the full width (app.js keeps the last two words
   together so one word never sits alone), and bold words inside sentences are semi-bold so they don't shout */
h1, h2, h3, h4, .eyebrow { text-wrap: balance; }
l-nw { white-space: nowrap; } /* the last two words of a sentence, added by app.js (a custom tag, so no other style touches it) */
:is(p, li, small, label, .hint, .muted) :is(b, strong) { font-weight: 600; }
:is(.section-head, .empty, .center, .faq-empty, .cfm-box, .dv-card) :is(p, small) { text-wrap: balance; }
.section-head p { max-width: 62ch; margin-inline: auto; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
.ic { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Logo ---------- */
.logo { display: block; height: 68px; width: auto; }
.logo-footer { height: 96px; }
.logo-badge { display: inline-block; align-self: flex-start; background: #fff; border-radius: 16px; padding: 8px 14px; box-shadow: var(--shadow); }
.logo-badge .logo { height: 72px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.2 var(--font); cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; text-decoration: none !important; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .55em 1.05em; font-size: .9rem; }
.btn-lg { padding: 1em 1.8em; font-size: 1.05rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(30, 99, 233, .3); }
.btn-primary:hover { background: #1554d1; }
.btn-accent { background: linear-gradient(135deg, #2F7BFF, #1550D0); color: #fff; box-shadow: 0 6px 18px rgba(30, 99, 233, .35); }
.hero .btn-accent, .section-dark .btn-accent, .cta-band .btn-accent { background: #fff; color: var(--blue); box-shadow: 0 8px 22px rgba(0, 0, 0, .2); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-danger { background: #fff; color: var(--red); border-color: #F3C4C4; }
.btn-block { width: 100%; }
/* A form on its way: spinner + "Sending…" (set by app.js) */
.btn.is-busy { pointer-events: none; cursor: progress; opacity: .92; transform: none !important; }
.btn-spin { display: inline-block; vertical-align: -.15em; width: 1.05em; height: 1.05em; flex: none; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: btn-spin .7s linear infinite; }
.link-btn .btn-spin { margin-right: 6px; }
/* and a thin bar sliding across the top of the page until the next page shows */
html.is-sending::before { content: ""; position: fixed; z-index: 2000; top: 0; left: 0; width: 40%; height: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, var(--sky), var(--blue)); box-shadow: 0 0 10px rgba(30, 99, 233, .5); animation: send-bar 1.1s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes send-bar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn-spin { animation-duration: 1.6s; } html.is-sending::before { animation-duration: 2.4s; } }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; cursor: pointer; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); } /* solid white, like the logo's own background */
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand:hover { text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; white-space: nowrap; padding: 8px 12px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { background: var(--blue-50); color: var(--blue); text-decoration: none; }
.nav-links a.active { color: var(--blue); background: var(--blue-50); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; color: var(--navy); cursor: pointer; }
.nav-toggle .ic { width: 24px; height: 24px; }
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 84px; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); gap: 12px; }
  .site-nav.open { display: flex; }
  .nav-links { flex-direction: column; }
  .nav-actions { flex-direction: column; align-items: stretch; }
}

/* ---------- Alerts ---------- */
.flashes { margin-top: 20px; display: grid; gap: 10px; }
.alert { padding: 12px 16px; border-radius: 12px; border: 1px solid; font-weight: 500; }
.alert-success { background: #ECFBF2; border-color: #B6EBCB; color: #0B6B35; }
.alert-error { background: #FFF1F1; border-color: #F6C9C9; color: #9E1F1F; }
.alert-info { background: var(--blue-50); border-color: #C9DAFF; color: #183F94; }
.errors { margin: 0 0 16px; padding: 12px 16px 12px 34px; background: #FFF1F1; border: 1px solid #F6C9C9; color: #9E1F1F; border-radius: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 85% -10%, #2E6BF0 0%, transparent 55%), radial-gradient(800px 500px at -10% 110%, #123A9C 0%, transparent 60%), linear-gradient(160deg, #0A2463 0%, #071A4A 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 88px 0 120px; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.4rem); font-style: italic; letter-spacing: -.03em; }
.hero h1 .accent { color: var(--sky); display: block; }
.hero .lead { font-size: 1.2rem; color: #C9D6F5; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: .85rem; font-weight: 600; color: #E3EBFF; margin-bottom: 22px; }
.pill .dot { width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; }
.pill .dot .ic { width: 14px; height: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #B8C8EE; font-size: .92rem; font-weight: 500; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .ic { color: var(--sky); }
.dispatch-card { background: #fff; color: var(--text); border-radius: 22px; padding: 26px; box-shadow: 14px 14px 0 0 rgba(142, 194, 255, .55), var(--shadow-lg); position: relative; }
.dc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dc-head h2, .dc-head h3 { margin: 0; font-size: 1.05rem; font-weight: 700; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--green); background: #E8F8EF; padding: 4px 10px; border-radius: 999px; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.dc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dc-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #FAFBFE; }
.dc-steps .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.dc-steps b { display: block; color: var(--ink); font-size: .95rem; }
.dc-steps small { color: var(--muted); font-size: .82rem; }
.dc-foot { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .85rem; color: var(--muted); }
.road { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: #061538; border-top: 3px solid #12307A; overflow: hidden; }
.road::before { content: ""; position: absolute; left: 0; top: 50%; width: 200%; height: 4px; margin-top: -2px; background: repeating-linear-gradient(90deg, #fff 0 48px, transparent 48px 96px); animation: drive 2.4s linear infinite; }
@keyframes drive { to { transform: translateX(-96px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; padding: 56px 0 100px; gap: 40px; } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-white { background: #fff; }
.section-dark { background: linear-gradient(160deg, #0A2463, #071A4A); color: #C9D6F5; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow { display: inline-block; font-family: var(--display); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.section-dark .eyebrow, .page-hero .eyebrow { color: var(--sky); }
.lead { font-size: 1.15rem; color: var(--muted); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 64px 0; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card.pad { padding: 28px; }
.feature { padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #C9DAFF; }
.feature .ico, .ico-lg { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; margin-bottom: 18px; box-shadow: 0 8px 18px rgba(30, 99, 233, .25); }
.feature .ico .ic, .ico-lg .ic { width: 26px; height: 26px; }
.feature p { color: var(--muted); margin: 0; }
.feature ul { margin: 12px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.feature li { display: flex; gap: 8px; margin-top: 6px; }
.feature li .ic { color: var(--green); margin-top: 3px; width: 1em; height: 1em; }

/* Equipment strip */
.equip-strip { background: #fff; border-bottom: 1px solid var(--line); }
.equip-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 36px; padding: 26px 0; }
.equip-row .label { font-family: var(--display); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.equip { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); }
.equip .ic { width: 30px; height: 30px; color: var(--blue); }

/* Driver story */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pain-list { display: grid; gap: 14px; }
.pain { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 18px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.pain .ico-sm { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(142, 194, 255, .15); color: var(--sky); }
.pain b { color: #fff; display: block; }
.pain span { font-size: .93rem; }
.quote { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; font-style: italic; color: #fff; line-height: 1.3; border-left: 5px solid var(--sky-2); padding-left: 22px; margin: 24px 0; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; gap: 36px; } }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding: 28px 24px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--display); font-weight: 900; font-size: 2.6rem; font-style: italic; color: transparent; -webkit-text-stroke: 2px var(--blue); display: block; line-height: 1; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .tick { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #E8F8EF; color: var(--green); }
.checklist .tick .ic { width: 15px; height: 15px; }
.checklist .tick.todo { background: var(--blue-50); color: var(--blue); }

/* Jobs */
.job-card { display: flex; flex-direction: column; padding: 26px; gap: 12px; transition: transform .2s, box-shadow .2s; }
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.job-card h3 { margin: 0; }
.job-card h3 a { color: var(--ink); }
.job-card p { color: var(--muted); margin: 0; font-size: .95rem; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--blue-50); color: #1D4BB0; }
.tag .ic { width: 13px; height: 13px; }
.tag-solid { background: var(--blue); color: #fff; }
.job-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 20px 0; }
.job-meta div { background: #FAFBFE; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.job-meta small { display: block; color: var(--muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.job-meta b { color: var(--ink); font-size: .95rem; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters a { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: .9rem; }
.filters a.on, .filters a:hover { background: var(--navy); border-color: var(--navy); color: #fff; text-decoration: none; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 1.2em; }
.empty { text-align: center; padding: 48px 24px; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 56px; background: linear-gradient(120deg, var(--blue) 0%, var(--navy) 100%); color: #DCE6FF; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; box-shadow: var(--shadow-lg); }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .12); }
.cta-band h2 { color: #fff; font-style: italic; margin-bottom: .3em; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .btns { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; padding: 36px 26px; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(160deg, #0A2463, #0B2A75); color: #C9D6F5; padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(90deg, #fff 0 40px, transparent 40px 70px); opacity: .5; }
.page-hero h1 { color: #fff; font-style: italic; }
.page-hero .lead { color: #C9D6F5; max-width: 680px; margin: 0; }

/* Forms */
.form-card { padding: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 24px; } }
label { display: block; font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: 6px; }
label .opt { color: var(--muted); font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], input[type=search], input[type=url], input[type=file], select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 99, 233, .15); }
.hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { margin-top: 5px; }
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 84px); }
.auth-side { background: linear-gradient(160deg, #0A2463, #071A4A); color: #C9D6F5; padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-side h2 { color: #fff; font-style: italic; }
.auth-side .road { height: 40px; }
/* Sign-up is a long form: the panel's text stays in view while the form scrolls */
.auth-side-long { justify-content: flex-start; overflow: clip; }
.auth-side-in { position: sticky; top: 140px; padding-bottom: 40px; }
/* the moving picture behind it (auth_media()): trucks on a highway from above, the road on the right, under a blue shade */
.auth-media { position: absolute; inset: 0; z-index: 0; background: #071A4A url("video/trucks-highway.webp") 16% center / cover no-repeat; }
.auth-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 16% center; opacity: 0; transform: scale(1.04); transition: opacity 1.2s ease, transform 8s ease-out; }
.auth-video.is-on { opacity: 1; transform: none; }
.auth-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 20, 60, .86) 0%, rgba(8, 30, 84, .6) 55%, rgba(10, 36, 99, .28) 100%),
  linear-gradient(180deg, rgba(6, 20, 60, .45) 0%, transparent 30%, transparent 70%, rgba(6, 20, 60, .55) 100%); }
/* sign-up's panel is as long as its form: the picture stays one screen tall and in view while the form scrolls */
.auth-side-long .auth-media { position: sticky; top: 84px; flex: none; height: calc(100vh - 84px); margin: -64px -56px calc(148px - 100vh); }
.auth-side > :not(.auth-media):not(.auth-side-in):not(.road) { position: relative; z-index: 1; }
.auth-side .road, .auth-side-in { z-index: 1; }
.auth-side p { color: #DCE5FA; }
.auth-points { list-style: none; display: grid; gap: 12px; margin: 22px 0 4px; padding: 0; color: #fff; font-weight: 600; }
.auth-points li { display: flex; align-items: center; gap: 12px; }
.auth-points .ic { flex: none; width: 34px; height: 34px; padding: 8px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; background: rgba(255, 255, 255, .08); color: #8EC1FF;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 20px; }
.auth-box { width: min(480px, 100%); }
.auth-box h1 { font-size: 2rem; }
.auth-box .sub { color: var(--muted); margin-bottom: 24px; }
.auth-box .sub.sub-tight { margin-bottom: 0; }
.auth-for { margin-bottom: 22px; }
.auth-for .ss-chip { margin-top: 12px; }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* Dashboard */
.dash { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding: 36px 0 72px; align-items: start; }
.dash-nav { position: sticky; top: 104px; padding: 14px; }
.dash-nav .who { padding: 10px 12px 16px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.dash-nav .who b { display: block; color: var(--ink); }
.dash-nav .who small { color: var(--muted); }
.dash-nav a, .dash-nav button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: .95rem; width: 100%; text-align: left; }
.dash-nav a:hover, .dash-nav button:hover { background: var(--blue-50); color: var(--blue); text-decoration: none; }
.dash-nav a.active { background: var(--navy); color: #fff; }
.dash-nav form { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--line); }
.dash-main h1 { font-size: 1.9rem; }
.dash-main > .card + .card, .dash-main > .card + .grid, .dash-main > .grid + .card { margin-top: 24px; }
@media (max-width: 860px) { .dash { grid-template-columns: 1fr; } .dash-nav { position: static; } }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat { padding: 20px; }
.stat small { color: var(--muted); font-weight: 600; }
.stat b { display: block; font-family: var(--display); font-size: 2rem; color: var(--ink); }
.progress { height: 10px; background: var(--blue-50); border-radius: 999px; overflow: hidden; margin: 10px 0 20px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--blue-2)); border-radius: 999px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #FAFBFE; }
tr:last-child td { border-bottom: 0; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.badge-new { background: var(--blue-50); color: #1D4BB0; }
.badge-reviewing { background: #FFF4DD; color: #9A5B00; }
.badge-approved, .badge-open { background: #E8F8EF; color: #0B6B35; }
.badge-not_selected, .badge-closed { background: #F1F3F7; color: #5E6B85; }
.badge-draft { background: #F3EEFF; color: #5B34C2; }
.inline-form { display: inline; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt { margin-top: 24px; }
.center { text-align: center; }

/* Footer */
.site-footer { background: #fff; color: var(--muted); padding: 56px 0 0; border-top: 4px solid var(--blue); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { margin-top: 16px; max-width: 340px; font-size: .95rem; }
.site-footer h3 { color: var(--navy); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--blue); }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .ic { color: var(--blue); }
.footer-bottom-wrap { background: var(--navy); color: #C9D6F5; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 18px 0; font-size: .88rem; }
.motto { font-family: var(--display); font-style: italic; font-weight: 800; color: #fff; }
.motto b { color: var(--sky); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { transform: none; } }

/* =========================================================
   Animations
   ========================================================= */

/* Header tightens once you scroll */
.site-header { transition: box-shadow .25s, background .25s; }
.site-header .logo { transition: height .25s; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(10, 36, 99, .08); }
.site-header.scrolled .logo { height: 56px; }

/* Hero entrance: copy rises in, the motto "drives" in, the card slides from the right */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes speed-in {
  0% { opacity: 0; transform: translateX(-90px) skewX(-18deg); filter: blur(6px); }
  60% { opacity: 1; transform: translateX(10px) skewX(6deg); filter: blur(0); }
  80% { transform: translateX(-3px) skewX(-2deg); }
  100% { transform: none; }
}
@keyframes card-in { from { opacity: 0; transform: translateX(60px) rotate(2deg); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise .55s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero-copy > :nth-child(3) { animation-delay: .3s; }
.hero-copy > :nth-child(4) { animation-delay: .4s; }
.hero-copy > :nth-child(5) { animation-delay: .5s; }
.hero h1 .accent { animation: speed-in .7s .2s cubic-bezier(.2, .7, .2, 1) both; transform-origin: left bottom; }
.dispatch-card { animation: card-in .7s .25s cubic-bezier(.2, .7, .2, 1) both; }

/* Truck driving along the hero road */
.road { height: 72px; }
.hero-grid { padding-bottom: 140px; }
.truck-svg { display: block; width: 140px; height: 60px; overflow: visible; }
.road-truck { position: absolute; left: 0; bottom: 8px; animation: drive-across 11s linear infinite; }
@keyframes drive-across { from { transform: translateX(-170px); } to { transform: translateX(calc(100vw + 20px)); } }
.truck-svg .wheel { transform-box: fill-box; transform-origin: center; animation: wheel-spin .5s linear infinite; }
@keyframes wheel-spin { to { transform: rotate(360deg); } }
.truck-svg .bounce { animation: truck-bounce .35s ease-in-out infinite alternate; }
@keyframes truck-bounce { to { transform: translateY(-1px); } }
.truck-svg .speed path { stroke-dasharray: 14 30; animation: speed-lines .6s linear infinite; }
.truck-svg .speed path:nth-child(2) { animation-delay: -.2s; }
.truck-svg .speed path:nth-child(3) { animation-delay: -.4s; }
@keyframes speed-lines { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 44; } }

/* Live dispatch desk: steps tick off one by one */
.dc-bar { height: 4px; background: var(--blue-50); border-radius: 999px; overflow: hidden; margin: -6px 0 16px; }
.dc-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--sky-2)); border-radius: 999px; transition: width .6s ease; }
.dc-steps li { transition: border-color .35s, background .35s, box-shadow .35s, transform .35s; }
.dc-steps li.is-active { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(30, 99, 233, .12); transform: translateX(6px); }
.dc-steps li.is-active .ico { animation: ico-pulse 1s ease-in-out infinite; }
@keyframes ico-pulse { 50% { transform: scale(1.12); background: var(--blue); color: #fff; } }
.dc-steps .ico { transition: background .3s, color .3s; }
.dc-steps .ic-done { display: none; }
.dc-steps li.is-done .ico { background: #E8F8EF; color: var(--green); }
.dc-steps li.is-done .ic-main { display: none; }
.dc-steps li.is-done .ic-done { display: block; animation: pop .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(0); } }
.live { transition: color .3s, background .3s; }
.live.working { color: var(--blue); background: var(--blue-50); }
.live.booked { animation: pop .35s cubic-bezier(.3, 1.6, .5, 1); }

/* Scrolling equipment strip */
.equip-row { flex-wrap: nowrap; justify-content: flex-start; gap: 28px; }
.equip-row .label { flex: none; }
.marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 44px; padding-right: 44px; }
.marquee-group .equip { white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .equip-row .label { display: none; } }

/* "How it works": a road draws across the steps and a truck drives along it */
.route-track { position: relative; height: 72px; margin: 0 12.5% 6px; }
.route-line { position: absolute; left: 0; right: 0; top: 58px; height: 0; border-top: 4px dashed #B9CCF2; transform: scaleX(0); transform-origin: left; transition: transform 3.2s linear; }
.route-truck { position: absolute; left: 0; bottom: 4px; transform: translateX(-50%); transition: left 3.2s linear; }
.route-truck .truck-svg { width: 124px; height: 53px; }
.route-truck .truck-svg .wheel, .route-truck .truck-svg .bounce, .route-truck .truck-svg .speed path { animation-play-state: paused; }
.route-wrap.go .route-line { transform: scaleX(1); }
.route-wrap.go .route-truck { left: 100%; }
.route-wrap.go .route-truck .truck-svg * { animation-play-state: running; }
.route-wrap.parked .route-truck .truck-svg * { animation-play-state: paused; }
.route-truck .truck-svg rect[fill="#fff"], .route-truck .truck-svg path[fill="#fff"] { fill: #fff; stroke: #C9D6F5; stroke-width: 1.5; }
.step { transition: border-color .4s, box-shadow .4s, transform .4s; }
.step::before { transition: color .4s; }
.route-wrap.go .step { animation: step-lit .5s ease forwards; }
.route-wrap.go .step:nth-child(1) { animation-delay: 0s; }
.route-wrap.go .step:nth-child(2) { animation-delay: 1.05s; }
.route-wrap.go .step:nth-child(3) { animation-delay: 2.1s; }
.route-wrap.go .step:nth-child(4) { animation-delay: 3.1s; }
@keyframes step-lit { to { border-color: var(--blue); box-shadow: 0 14px 30px rgba(30, 99, 233, .16); transform: translateY(-4px); } }
.route-wrap.go .step:nth-child(1)::before { color: var(--blue); transition-delay: 0s; }
.route-wrap.go .step:nth-child(2)::before { color: var(--blue); transition-delay: 1.05s; }
.route-wrap.go .step:nth-child(3)::before { color: var(--blue); transition-delay: 2.1s; }
.route-wrap.go .step:nth-child(4)::before { color: var(--blue); transition-delay: 3.1s; }
@media (max-width: 960px) { .route-track { display: none; } }

/* Buttons: arrows nudge forward, main buttons get a shine */
.btn .ic { transition: transform .2s; }
.btn:hover .ic:last-child { transform: translateX(4px); }
.btn-accent, .btn-primary { position: relative; overflow: hidden; }
.btn-accent::after, .btn-primary::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); pointer-events: none; }
.btn-accent:hover::after, .btn-primary:hover::after { left: 130%; transition: left .7s ease; }
.hero .btn-accent::after { background: linear-gradient(100deg, transparent, rgba(30, 99, 233, .22), transparent); animation: shine 5s 2s ease-in-out infinite; }
@keyframes shine { 0% { left: -75%; } 18%, 100% { left: 130%; } }

/* Cards: icons tilt on hover; inner page road stripe keeps moving */
.feature .ico { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.feature:hover .ico { transform: rotate(-8deg) scale(1.1); }
.page-hero::after { animation: stripe 1.6s linear infinite; }
@keyframes stripe { to { background-position: 70px 0; } }
.auth-side .road::before { animation-duration: 3s; }

/* Computers with animations turned down (e.g. Windows "Animation effects" off): keep the site
   alive but calmer: things fade instead of sliding or zooming, and the truck drives slower. */
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero h1 .accent, .dispatch-card { animation-name: fade-in; }
  .dc-steps li.is-active { transform: none; }
  .route-wrap.go .step { animation-name: step-lit-calm; }
  .road-truck { animation-duration: 18s; }
  .marquee-track { animation-duration: 48s; }
  .btn:hover, .feature:hover, .job-card:hover { transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes step-lit-calm { to { border-color: var(--blue); box-shadow: 0 14px 30px rgba(30, 99, 233, .16); } }

/* Phone number in the header */
.nav-phone { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; margin-right: 4px; border-radius: 10px; font-weight: 700; font-size: .95rem; color: var(--navy); white-space: nowrap; }
.nav-phone .ic { width: 18px; height: 18px; color: var(--blue); }
.site-header .container { width: min(1320px, 100% - 32px); } /* 7 menu links + phone + buttons need a little more room than the page */
.brand { flex: none; }
@media (max-width: 1440px) and (min-width: 1181px) { .nav-actions.signed-in .nav-phone-num { display: none; } .nav-actions.signed-in .nav-phone { padding: 8px; margin-right: 0; } }
@media (max-width: 1240px) and (min-width: 1181px) { .nav-phone-num { display: none; } .nav-phone { padding: 8px; margin-right: 0; } }
.nav-phone:hover { background: var(--blue-50); color: var(--blue); text-decoration: none; }
@media (max-width: 1300px) and (min-width: 1181px) { .nav-links a { padding: 8px 9px; } .site-nav { gap: 14px; } }
@media (max-width: 1180px) { .nav-phone { justify-content: center; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px; margin: 0; } }

/* =========================================================
   Live chat: the Chat button (assets/chat.js) and Admin -> Support chats
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.chat { --c-bg: #fff; --c-2: #F3F6FC; --c-line: #E1E7F0; --c-text: var(--text); --c-mute: var(--muted); --c-me: var(--blue); }
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 22px 0 18px; border: 0; border-radius: 999px;
  background: linear-gradient(135deg, #2F7BFF, #1550D0); color: #fff; font: 700 15px var(--font); cursor: pointer; box-shadow: 0 10px 28px rgba(21, 80, 208, .4); transition: transform .15s, box-shadow .15s; }
.chat-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(21, 80, 208, .45); }
.chat-fab:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(30, 99, 233, .35); }
.chat-fab .ic { width: 22px; height: 22px; }
.chat-dot { position: absolute; top: -5px; right: -5px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #E5383B; color: #fff; font: 800 12px/22px var(--font); text-align: center; box-shadow: 0 0 0 2px #fff; }
.chat-dot[hidden] { display: none; }
.chat-panel { position: fixed; right: 20px; bottom: 84px; z-index: 71; width: 380px; max-width: calc(100vw - 32px); height: 540px; max-height: calc(100vh - 108px);
  display: flex; flex-direction: column; background: var(--c-bg); color: var(--c-text); border: 1px solid var(--c-line); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(10, 36, 99, .28); }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: linear-gradient(135deg, var(--navy), #123A9C); color: #fff; }
.chat-title { display: grid; gap: 2px; min-width: 0; }
.chat-title b { font-family: var(--display); font-size: 16px; }
.chat-status { font-size: 12.5px; color: #C9D6F5; display: inline-flex; align-items: center; gap: 6px; }
.chat-status.on { color: #8CF0B8; }
.chat-status.on::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .25); }
.chat-acts { display: flex; align-items: center; gap: 6px; }
.chat-x, .chat-end { height: 32px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; font: 600 12.5px var(--font); }
.chat-x { width: 32px; flex: none; font-size: 14px; }
.chat-end { padding: 0 10px; }
.chat-x:hover, .chat-end:hover { background: rgba(255, 255, 255, .18); }
.chat-end[hidden] { display: none; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 14px 14px 6px; display: flex; flex-direction: column; gap: 10px; background: #FAFBFE; }
.cm { max-width: 85%; display: grid; gap: 3px; }
.cm p { margin: 0; padding: 9px 13px; border-radius: 16px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.cm small { font-size: 11px; color: var(--muted); padding: 0 4px; font-variant-numeric: tabular-nums; }
.cm-them { align-self: flex-start; }
.cm-them p { background: #fff; color: var(--text); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.cm-me { align-self: flex-end; text-align: right; }
.cm-me p { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; text-align: left; }
.cm-hi .chat-help { font-size: 12.5px; color: var(--blue); padding: 0 4px; text-decoration: underline; }
.cm-receipt { display: block; font-size: 11px; color: var(--muted); }
.cm-receipt.seen { color: var(--blue); font-weight: 600; }
.chat-form { display: grid; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--c-line); background: #fff; }
.chat-form[hidden] { display: none; }
.chat-who { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chat-form input, .chat-form textarea, .chat-rate textarea { width: 100%; padding: 9px 11px; border-radius: 10px; border: 1.5px solid var(--c-line); background: #fff; color: var(--text); font: 14px var(--font); resize: none; }
.chat-form input:focus, .chat-form textarea:focus, .chat-rate textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 99, 233, .15); }
.chat-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.chat-send { height: 44px; padding: 0 18px; }
.chat-err { margin: 0; font-size: 13px; color: var(--red); }
.chat-err[hidden] { display: none; }
.chat .hp { position: absolute; left: -9999px; }
.chat-typing, .cs-typing { margin: 0; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.chat-typing { padding: 4px 16px 8px; background: #FAFBFE; }
.cs-typing { padding: 0 18px 8px; }
.chat-typing[hidden], .cs-typing[hidden] { display: none; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .35; animation: chat-dot 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
@keyframes chat-dot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-rate { display: grid; gap: 10px; padding: 16px; border-top: 1px solid var(--c-line); text-align: center; justify-items: center; background: #fff; }
.chat-rate b { font-size: 15px; color: var(--ink); }
.chat-rate-note { margin: 0; font-size: 12.5px; color: var(--muted); }
.chat-stars { display: flex; gap: 4px; }
.chat-stars button { width: 40px; height: 40px; border: 0; background: none; font-size: 30px; line-height: 1; color: #D5DDEA; cursor: pointer; transition: transform .1s; }
.chat-stars button.on { color: #F5B301; }
.chat-stars button:hover { transform: scale(1.12); }
.chat-stars button:focus-visible { outline: 2px solid var(--blue); border-radius: 8px; }
.chat-rate-row { display: flex; gap: 8px; justify-content: center; }
.chat-rate .btn { height: 42px; padding: 0 18px; font-size: .95rem; }
.chat-rate .btn:disabled { opacity: .45; cursor: default; transform: none; }
.chat-hint { position: fixed; right: 20px; bottom: 84px; z-index: 69; display: flex; align-items: flex-start; gap: 4px; max-width: 260px; padding: 4px; border-radius: 14px;
  background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(10, 36, 99, .2); animation: chat-hint-in .35s ease-out both; }
.chat-hint::after { content: ""; position: absolute; right: 30px; bottom: -7px; width: 12px; height: 12px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.chat-hint-body { display: grid; gap: 2px; padding: 8px 4px 8px 10px; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font-family: var(--font); }
.chat-hint-body b { font-size: 14px; color: var(--ink); }
.chat-hint-body span { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.chat-hint-body:hover b { color: var(--blue); }
.chat-hint-x { flex: none; width: 26px; height: 26px; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; font-size: 12px; }
.chat-hint-x:hover { background: var(--blue-50); color: var(--ink); }
@keyframes chat-hint-in { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .chat-fab span { display: none; }
  .chat-fab { padding: 0; width: 54px; justify-content: center; right: 14px; bottom: 14px; }
  .chat-panel { right: 8px; left: 8px; bottom: 78px; width: auto; max-width: none; height: min(560px, calc(100vh - 96px)); }
  .chat-hint { right: 14px; bottom: 78px; }
  .chat-hint::after { right: 22px; }
  .chat-who { grid-template-columns: 1fr; }
  /* Short sign-in pages: the button sits at the end of the page instead of over the form */
  body.page-auth .chat { display: flex; justify-content: center; padding: 8px 16px 28px; background: #fff; }
  body.page-auth .chat-fab { position: static; width: auto; padding: 0 20px 0 16px; height: 46px; box-shadow: none; }
  body.page-auth .chat-fab span { display: inline; }
  body:not(.page-auth):has(.chat-fab) .site-footer { padding-bottom: 72px; }
}

/* Support chats (admin) */
.nav-count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: #E5383B; color: #fff; font-size: .75rem; font-weight: 800; line-height: 22px; text-align: center; }
.dash-nav a.active .nav-count { box-shadow: 0 0 0 2px #fff; }
.stat-sub { display: block; font-size: .8rem; color: var(--muted); }
.cs-tabs a span { opacity: .7; font-variant-numeric: tabular-nums; }
.cs-wrap { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 18px; align-items: start; }
.cs-list { overflow: hidden; }
.cs-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) 72px; gap: 12px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); color: var(--text); text-decoration: none !important; }
.cs-row:first-child { border-top: 0; }
.cs-row:nth-child(even) { background: #FAFBFE; }
.cs-row:hover { background: var(--blue-50); }
.cs-row.cur { background: var(--blue-50); box-shadow: inset 3px 0 0 var(--blue); }
.cs-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; font-weight: 700; font-size: .8rem; }
.cs-main { min-width: 0; display: grid; gap: 2px; }
.cs-main b { font-size: .92rem; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-main span { font-size: .8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-row.unread .cs-main b { font-weight: 800; }
.cs-row.unread .cs-main span { color: var(--text); }
.cs-when { display: grid; gap: 4px; justify-items: start; font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; padding-left: 10px; border-left: 1px solid var(--line); }
.cs-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #E5383B; color: #fff; font-size: .72rem; line-height: 20px; text-align: center; }
.cs-stars { color: #F5B301; letter-spacing: 1px; font-size: .78rem; }
.cs-empty { margin: 0; padding: 22px 18px; color: var(--muted); font-size: .92rem; }
.cs-conv { overflow: hidden; display: flex; flex-direction: column; min-height: 440px; }
.cs-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.cs-back { display: none; font-size: .88rem; flex-basis: 100%; }
.cs-who { display: grid; gap: 4px; min-width: 0; }
.cs-who b { font-size: 1.05rem; color: var(--ink); }
.cs-who > span { font-size: .82rem; color: var(--muted); overflow-wrap: anywhere; }
.cs-here i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 5px; vertical-align: 0; }
.cs-here[hidden] { display: none; }
.cs-acts { display: flex; gap: 6px; }
.cs-acts form { margin: 0; }
.cs-ended { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 18px; background: #FFF9E8; border-bottom: 1px solid #F4E4B0; font-size: .85rem; color: var(--text); }
.cs-msgs { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; max-height: 520px; overflow-y: auto; background: #FAFBFE; }
.cs-msgs .cm { max-width: 75%; }
.cs-reply { display: grid; gap: 8px; padding: 12px 18px 16px; border-top: 1px solid var(--line); }
.cs-reply textarea { min-height: 84px; resize: vertical; }
.cs-send { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cs-note { font-size: .82rem; }
@media (max-width: 1100px) {
  .cs-wrap { grid-template-columns: 1fr; }
  .cs-wrap.has-thread .cs-list { display: none; }
  .cs-wrap:not(.has-thread) .cs-conv { display: none; }
  .cs-back { display: block; }
  .cs-msgs .cm { max-width: 88%; }
}
.footer-bottom a { color: #C9D6F5; }
.footer-bottom a:hover { color: #fff; }

/* Job posts: form sections, chips, settings, automations; job page labels */
.jp-form { display: grid; gap: 20px; margin-top: 20px; }
.jp-h { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; margin-bottom: 18px; }
.jp-h span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: .9rem; }
.jp-auto .jp-h { margin-bottom: 4px; }
.req { color: var(--red); }
.jp-field { border: 0; padding: 0; margin: 0; }
.jp-field legend { font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { margin: 0; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; color: var(--text); transition: background .15s, border-color .15s, color .15s; }
.chip span::before { content: "+"; font-weight: 800; color: var(--blue); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:checked + span::before { content: "✓"; color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(30, 99, 233, .2); }
.jp-settings { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.jp-set { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #FAFBFE; display: grid; gap: 8px; align-content: start; }
.jp-set h3 { font-size: 1rem; margin: 0 0 2px; }
.jp-set .check { font-weight: 500; margin: 0; }
.jp-set .hint { margin: 0; }
@media (max-width: 760px) { .jp-settings { grid-template-columns: 1fr; } }
.auto-list { display: grid; gap: 12px; margin-top: 16px; }
.auto { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; margin: 0; font-weight: 500; }
.auto:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.auto > input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.auto b { display: block; color: var(--ink); }
.auto small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.auto select { width: auto; display: inline-block; padding: 3px 8px; border-radius: 8px; font-size: .85rem; }
.auto-extra { margin: -4px 0 4px 32px; }
.tag-urgent { background: #FFE9E9; color: #B42318; }
.tag-fair { background: #E8F8EF; color: #0B6B35; }
.back-link { color: #9DB4E8; }
.hero-tags { margin: 16px 0 10px; }
.job-layout { align-items: start; grid-template-columns: 1.4fr 1fr; }
.job-badges { margin-bottom: 4px; }
.job-contact { display: flex; gap: 8px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--blue-50); }
.apply-box { position: sticky; top: 104px; }
.apply-box .btn-block + .btn-block { margin-top: 10px; }
.resume-box { border: 1.5px dashed #C9DAFF; border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; display: grid; gap: 8px; }
.resume-box legend { font-weight: 600; color: var(--ink); font-size: .92rem; padding: 0 4px; }
.resume-box .check { margin: 0; font-weight: 500; }
.resume-box .hint { margin: 0; }
@media (max-width: 900px) { .job-layout { grid-template-columns: 1fr; } .apply-box { position: static; } }
/* Dashboards: wide tables scroll inside their card instead of stretching the page on phones */
.dash-main { min-width: 0; }
@media (max-width: 860px) { .dash { grid-template-columns: minmax(0, 1fr); } }

/* Job boxes (Careers, home page, saved jobs): title, company – location, Apply Now + heart */
.jc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.jc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .jc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .jc-grid, .jc-grid-2 { grid-template-columns: minmax(0, 1fr); } }
.jc { display: flex; flex-direction: column; padding: 18px 20px; border-radius: 12px; box-shadow: 0 1px 2px rgba(10, 36, 99, .05); transition: border-color .2s, box-shadow .2s; }
.jc:hover { border-color: #C9DAFF; box-shadow: 0 8px 22px rgba(10, 36, 99, .1); }
.jc-title { margin: 0; font-family: var(--font); font-size: 1.12rem; font-weight: 700; line-height: 1.35; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.35em * 2); }
.jc-title a { color: inherit; }
.jc-title a:hover { color: var(--blue); text-decoration: none; }
.jc-where { margin: 4px 0 16px; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.jc-actions { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.jc-apply { padding: 10px 20px; border-radius: 10px; background: var(--blue); color: #fff; font-size: .95rem; box-shadow: none; }
.jc-apply:hover { background: #1554d1; transform: none; }
.jc-apply.is-applied { background: #E8F8EF; color: #0B6B35; }
.jc-apply.is-applied .ic { width: 16px; height: 16px; }
.jc-save-form { margin: 0; }
.jc-save { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--muted); transition: color .15s, border-color .15s, background .15s; }
.jc-save svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.jc-save:hover { color: #E5383B; border-color: #F3C4C4; }
.jc-save.on { color: #E5383B; border-color: #F3C4C4; background: #FFF1F1; }
.jc-save.on svg { fill: currentColor; }
.jc-save:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(30, 99, 233, .2); }
@keyframes heart-pop { 50% { transform: scale(1.25); } }
.jc-save.pop svg { animation: heart-pop .3s ease; }
@media (max-width: 640px) { .jc-title { min-height: 0; } .jc-where { margin-bottom: 14px; } }
/* Short description in job boxes: 3 lines, cut neatly so every box keeps the same height */
.jc-where { margin-bottom: 10px; }
.jc-desc { margin: 0 0 16px; font-size: .92rem; line-height: 1.55; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.55em * 3); }
@media (max-width: 640px) { .jc-desc { min-height: 0; } }
.jc-apply .ic { width: 16px; height: 16px; }
.net-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.net-row > div:first-child { flex: 1; min-width: 240px; }
.net-row b { color: var(--ink); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Two-column sections whose sides start and end on the same line */
.story.level { align-items: stretch; }
.level-col { display: flex; flex-direction: column; }
.level-card { display: flex; flex-direction: column; }
.level-card .checklist { flex: 1; align-content: space-evenly; }
.level-bottom { margin-top: 20px; }
/* "Who we work with": compact boxes, icon beside the text */
.who-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: auto; padding-top: 22px; }
.who-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; }
.who-ico { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; }
.who-ico .ic { width: 21px; height: 21px; }
.who-card h3 { font-size: 1rem; margin: 2px 0 4px; }
.who-card p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 560px), (min-width: 901px) and (max-width: 1180px) { .who-grid { grid-template-columns: minmax(0, 1fr); } }
/* About: motto card fills the height next to the story */
.motto-card { background: linear-gradient(160deg, #0A2463, #071A4A); color: #C9D6F5; border: 0; display: flex; flex-direction: column; justify-content: center; }
.motto-card .logo-badge { margin-bottom: 20px; }
.motto-card .quote { margin-top: 0; }
.motto-card b { color: #fff; }
/* Contact: details card as tall as the form */
.contact-layout { grid-template-columns: 1fr 1.3fr; }
.contact-card { flex: 1; display: flex; margin-top: 8px; }
.contact-card .checklist { align-content: space-evenly; width: 100%; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* Email confirmation page */
.verify-section { padding: 56px 0 80px; }
.steps-bar { list-style: none; margin: 0 auto 22px; padding: 0; display: flex; justify-content: center; align-items: center; gap: 10px; max-width: 560px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.steps-bar li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.steps-bar li + li::before { content: ""; width: 28px; height: 2px; background: var(--line); margin-right: 2px; }
.steps-bar span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font-size: .8rem; }
.steps-bar span .ic { width: 14px; height: 14px; }
.steps-bar .done { color: var(--green); }
.steps-bar .done span { background: var(--green); border-color: var(--green); color: #fff; }
.steps-bar .current { color: var(--blue); }
.steps-bar .current span { background: var(--blue); border-color: var(--blue); color: #fff; }
.verify-card { max-width: 560px; margin: 0 auto; padding: 36px 36px 28px; text-align: center; }
.verify-ico { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; box-shadow: 0 10px 22px rgba(30, 99, 233, .25); }
.verify-ico .ic { width: 28px; height: 28px; }
.verify-card h1 { font-size: 1.85rem; margin: 0 0 14px; }
.verify-card .errors { text-align: left; }
.verify-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.verify-actions.single { grid-template-columns: 1fr; }
.verify-actions.single form { order: -1; }
.verify-actions form { margin: 0; }
.verify-change-form { text-align: left; margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #FAFBFE; }
.verify-change-form[hidden] { display: none; }
.verify-change-form label { margin-bottom: 6px; }
.verify-change-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.verify-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 20px 0 0; font-size: .88rem; color: var(--muted); }
.verify-note .ic { width: 16px; height: 16px; }
.verify-help { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.verify-help p { margin: 0; }
.verify-help-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.help-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 600; font-size: .86rem; text-decoration: none !important; transition: border-color .15s, color .15s; }
.help-pill:hover { border-color: var(--blue); color: var(--blue); }
.help-pill .ic { width: 15px; height: 15px; color: var(--blue); }
@media (max-width: 560px) {
  .verify-card { padding: 28px 20px 22px; }
  .verify-actions, .verify-change-row { grid-template-columns: 1fr; }
  .steps-bar { font-size: .78rem; gap: 6px; }
  .steps-bar li + li::before { width: 10px; }
  .steps-bar li:not(.current) { font-size: 0; gap: 0; } /* only the current step keeps its label on phones */
  .steps-bar li:not(.current) span { font-size: .8rem; }
}
table.kv th { width: 230px; text-transform: none; letter-spacing: 0; font-size: .9rem; color: var(--ink); background: #FAFBFE; }
table.kv code { font-size: .82rem; overflow-wrap: anywhere; }

/* =========================================================
   Partner with us
   ========================================================= */
/* Hero route map: couriers driving between our hub and the places we deliver to */
.pmap-card { position: relative; border-radius: 26px; padding: 10px; background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 30px 60px rgba(0, 0, 0, .28); animation: card-in .6s .1s cubic-bezier(.2, .7, .2, 1) both; }
.pmap-card::before { content: ""; position: absolute; inset: 10px; border-radius: 18px; background: radial-gradient(circle at 50% 48%, rgba(59, 123, 255, .28), transparent 60%), radial-gradient(rgba(142, 194, 255, .22) 1.2px, transparent 1.4px) 0 0 / 22px 22px; pointer-events: none; }
.pmap { position: relative; display: block; width: 100%; height: auto; overflow: visible; }
.pm-routes path { fill: none; stroke: rgba(142, 194, 255, .22); stroke-width: 7; stroke-linecap: round; }
.pm-flow path { fill: none; stroke: #8EC2FF; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 10; animation: pm-flow 1.4s linear infinite; }
@keyframes pm-flow { to { stroke-dashoffset: -24; } }
.pm-stop { animation: pm-pop .5s cubic-bezier(.3, 1.5, .5, 1) both; transform-box: fill-box; transform-origin: center; }
@keyframes pm-pop { from { opacity: 0; transform: scale(.4); } }
.pm-stop text, .pm-hub-label { font: 700 13px var(--font); fill: #E3EBFF; paint-order: stroke; stroke: #0A2463; stroke-width: 4px; stroke-linejoin: round; }
.pm-hub-label { font: italic 900 15px var(--display); fill: #fff; }
.pm-ring { fill: none; stroke: #8EC2FF; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pm-ring 4.2s ease-out infinite; }
@keyframes pm-ring { 0% { transform: scale(1); opacity: .8; } 40%, 100% { transform: scale(1.7); opacity: 0; } }
.pm-pulse { fill: rgba(59, 123, 255, .35); transform-box: fill-box; transform-origin: center; animation: pm-pulse 2.6s ease-out infinite; }
.pm-pulse.two { animation-delay: 1.3s; }
@keyframes pm-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
.pm-van rect { filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .35)); }
.pchip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 14px; background: #fff; color: var(--text); box-shadow: 0 14px 30px rgba(3, 14, 45, .35); font-size: .8rem; line-height: 1.25; white-space: nowrap; animation: chip-in .6s cubic-bezier(.3, 1.4, .5, 1) both, chip-float 6s ease-in-out infinite; }
.pchip b { display: block; color: var(--ink); font-size: .85rem; }
.pchip small { color: var(--muted); }
.pchip-ico { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.pchip-ico .ic { width: 17px; height: 17px; }
.pchip-ico.ok { background: #E8F8EF; color: var(--green); }
.pchip-1 { top: -16px; right: -22px; animation-delay: .5s, 1.1s; }
.pchip-2 { bottom: -16px; left: -22px; animation-delay: .7s, 1.3s; }
.pchip-3 { bottom: -16px; right: -22px; animation-delay: .9s, 1.5s; }
@keyframes chip-in { from { opacity: 0; transform: translateY(14px) scale(.85); } }
@keyframes chip-float { 50% { transform: translateY(-7px); } }
@media (max-width: 1260px) { .pchip-1, .pchip-3 { right: -8px; } .pchip-2 { left: -8px; } }
@media (max-width: 560px) { .pmap-card { margin-top: 18px; } .pm-stop text { font-size: 17px; } .pm-hub-label { font-size: 18px; } .pchip-3 { display: none; } .pchip { font-size: .72rem; padding: 7px 10px 7px 7px; } .pchip b { font-size: .78rem; } .pchip-ico { width: 26px; height: 26px; } .pchip-1 { right: -4px; } .pchip-2 { left: -4px; } }

/* Strip under the hero */
.partner-strip { background: #fff; border-bottom: 1px solid var(--line); }
.partner-strip-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 26px 0; }
.ps-item { display: flex; align-items: center; gap: 12px; }
.ps-ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.ps-ico .ic { width: 22px; height: 22px; }
.ps-item b { display: block; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: .95rem; }
.ps-item small { color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) { .partner-strip-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .partner-strip-row { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* The three solutions */
.sol-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.sol-card { display: flex; flex-direction: column; overflow: hidden; transition: transform .25s, box-shadow .25s; scroll-margin-top: 110px; }
.sol-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.sol-top { position: relative; overflow: hidden; padding: 28px 28px 24px; min-height: 172px; background: radial-gradient(300px 160px at 100% 0%, rgba(142, 194, 255, .35), transparent 70%), linear-gradient(140deg, #0A2463, #1E63E9); color: #fff; }
.sol-card:nth-child(2) .sol-top { background: radial-gradient(300px 160px at 100% 0%, rgba(142, 194, 255, .35), transparent 70%), linear-gradient(140deg, #0B2A75, #2F7BFF); }
.sol-card:nth-child(3) .sol-top { background: radial-gradient(300px 160px at 100% 0%, rgba(142, 194, 255, .35), transparent 70%), linear-gradient(140deg, #071A4A, #1550D0); }
.sol-num { position: absolute; right: 18px; top: 6px; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 4.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .28); }
.sol-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: 0 10px 22px rgba(0, 0, 0, .2); margin-bottom: 18px; transition: transform .3s; }
.sol-ico .ic { width: 28px; height: 28px; }
.sol-card:hover .sol-ico { transform: rotate(-6deg) scale(1.06); }
.sol-top h3 { color: #fff; font-size: 1.3rem; margin: 0; max-width: 85%; }
.sol-line { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; overflow: hidden; }
.sol-line::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: -46px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.7) 0 26px, transparent 26px 46px); animation: sol-road-x 1.6s linear infinite; will-change: transform; }
@keyframes sol-road-x { to { transform: translateX(-46px); } }
@keyframes sol-road { to { background-position: -46px 0; } }
.sol-body { flex: 1; display: flex; flex-direction: column; padding: 24px 28px 28px; }
.sol-body > p { color: var(--muted); margin: 0 0 16px; }
.sol-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 9px; font-size: .95rem; }
.sol-list li { display: flex; gap: 10px; align-items: flex-start; }
.sol-list .ic { width: 18px; height: 18px; margin-top: 2px; padding: 3px; border-radius: 50%; background: #E8F8EF; color: var(--green); box-sizing: content-box; }
.sol-for { margin: auto 0 20px; padding-top: 16px; border-top: 1px dashed var(--line); }
.sol-for small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
@media (max-width: 1000px) { .sol-grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; } .sol-top { min-height: 0; } }

/* "Developers behind the scenes": a sample delivery update */
.code-card { margin-top: auto; border-radius: 16px; background: #061235; border: 1px solid rgba(142, 194, 255, .2); box-shadow: 0 20px 40px rgba(0, 0, 0, .3); overflow: hidden; }
.code-head { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255, 255, 255, .05); border-bottom: 1px solid rgba(142, 194, 255, .14); }
.code-head span { width: 10px; height: 10px; border-radius: 50%; background: #F26B6B; }
.code-head span:nth-child(2) { background: #F5C451; }
.code-head span:nth-child(3) { background: #3DD07A; }
.code-head small { margin-left: 8px; color: #8EA3D1; font-size: .78rem; }
.code-card pre { margin: 0; padding: 16px 18px; overflow-x: auto; font: 500 .88rem/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #C9D6F5; }
.code-card .k { color: #8EC2FF; }
.code-card .s { color: #7CE3A6; }
.code-card .n { color: #F5C451; }
.code-card .cursor { display: inline-block; width: 8px; height: 1.05em; margin-left: 3px; vertical-align: text-bottom; background: #8EC2FF; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Industries */
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ind { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); color: var(--ink); transition: border-color .2s, transform .2s; }
.ind:hover { border-color: #C9DAFF; transform: translateY(-3px); }
.ind-ico { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; }
.ind-ico .ic { width: 21px; height: 21px; }
.ind b { font-size: .95rem; line-height: 1.3; }
@media (max-width: 960px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .ind-grid { grid-template-columns: minmax(0, 1fr); } }

/* Request a call */
.rc-section { scroll-margin-top: 90px; background: linear-gradient(180deg, #fff 0%, var(--blue-50) 100%); }
.rc-layout { grid-template-columns: 1fr 1.25fr; }
.rc-steps { list-style: none; margin: 8px 0 22px; padding: 0; display: grid; gap: 14px; counter-reset: rc; }
.rc-steps li { display: flex; gap: 14px; align-items: center; }
.rc-steps li > span { position: relative; width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--blue); box-shadow: var(--shadow); }
.rc-steps li + li > span::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 14px; background: repeating-linear-gradient(180deg, #B9CCF2 0 4px, transparent 4px 7px); }
.rc-steps b { display: block; color: var(--ink); }
.rc-steps small { color: var(--muted); }
.rc-promise { list-style: none; margin: 0 0 22px; padding: 18px 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; border-radius: 16px; background: linear-gradient(140deg, #0A2463, #1E63E9); color: #fff; font-weight: 600; font-size: .9rem; line-height: 1.35; }
.rc-promise li { display: flex; gap: 10px; align-items: flex-start; }
.rc-promise .ic { width: 18px; height: 18px; color: var(--sky); margin-top: 1px; }
@media (max-width: 480px) { .rc-promise { grid-template-columns: minmax(0, 1fr); } }
.rc-faq-title { font-size: 1rem; margin: 0 0 10px; }
.rc-faq { gap: 8px; margin-bottom: 22px; }
.rc-faq details { padding: 0 18px; }
.rc-faq summary { padding: 12px 0; font-size: .95rem; }
.rc-faq details p { font-size: .92rem; margin-top: 0; }
.rc-direct { margin-top: auto; display: grid; gap: 8px; padding: 22px 24px; }
.rc-direct b { color: var(--ink); font-family: var(--display); }
.rc-direct a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
.rc-direct a .ic { color: var(--blue); }
.rc-card { position: relative; border-top: 5px solid var(--blue); }
.rc-title { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; margin-bottom: 18px; }
.rc-title .ic { width: 26px; height: 26px; color: var(--blue); }
.rc-done { padding: 30px 0; }
span.label { display: block; font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: 8px; }
.svc-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.svc-opt { margin: 0; cursor: pointer; }
.svc-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.svc-opt span { display: flex; align-items: center; gap: 10px; height: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-weight: 600; font-size: .9rem; line-height: 1.3; color: var(--text); transition: border-color .15s, background .15s, box-shadow .15s; }
.svc-opt span .ic { width: 22px; height: 22px; color: var(--blue); }
.svc-opt:hover span { border-color: #9DB9F5; }
.svc-opt input:focus-visible + span { box-shadow: 0 0 0 4px rgba(30, 99, 233, .2); }
.svc-opt input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--navy); box-shadow: inset 0 0 0 1px var(--blue); }
@media (max-width: 900px) { .rc-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .svc-pick { grid-template-columns: minmax(0, 1fr); } }

/* Home page: "For businesses" teaser */
.biz-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 44px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.biz-band h2 { margin-bottom: .35em; }
.biz-list { display: grid; gap: 12px; }
.biz-item { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); font-weight: 700; transition: border-color .2s, transform .2s; }
.biz-item:hover { border-color: var(--blue); transform: translateX(4px); text-decoration: none; }
.biz-item .who-ico { width: 40px; height: 40px; }
.biz-item .ic-go { margin-left: auto; color: var(--blue); }
@media (max-width: 860px) { .biz-band { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; gap: 24px; } }

/* Admin: partner requests */
.pr-list { display: grid; gap: 12px; }
.pr-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 20px; color: var(--text); }
.pr-row:hover { border-color: #C9DAFF; text-decoration: none; }
.pr-row.is-new { border-left: 4px solid var(--blue); }
.pr-row b { color: var(--ink); }
.pr-row small { display: block; color: var(--muted); }
.badge-contacted { background: #FFF4DD; color: #9A5B00; }
.badge-talks { background: #F3EEFF; color: #5B34C2; }
.badge-partner { background: #E8F8EF; color: #0B6B35; }
.badge-not_fit { background: #F1F3F7; color: #5E6B85; }
.pr-detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 1000px) { .pr-detail { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .pmap-card { animation-name: fade-in; }
  .pm-flow path { animation-duration: 3s; }
  .pchip { animation: fade-in .6s both; }
  .pchip-1 { animation-delay: .5s; } .pchip-2 { animation-delay: .7s; } .pchip-3 { animation-delay: .9s; }
  .sol-card:hover, .ind:hover, .biz-item:hover { transform: none; }
}

/* Solution cards: whole header opens the "Learn more" page */
a.sol-top { display: block; color: #fff; text-decoration: none; }
a.sol-top:hover { text-decoration: none; }
a.sol-top:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

/* Solution pages (Learn more) */
.crumbs { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 26px; font-size: .88rem; color: #9FB4E6; }
.crumbs a { color: #C9D6F5; }
.crumbs b { color: #fff; font-weight: 600; }
.sol-hero .hero-grid { padding-top: 40px; }
.sol-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
.tracker-card { position: relative; background: #fff; color: var(--text); border-radius: 22px; padding: 26px; box-shadow: 14px 14px 0 0 rgba(142, 194, 255, .55), var(--shadow-lg); animation: card-in .6s .1s cubic-bezier(.2, .7, .2, 1) both; }
.tracker { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tracker li { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; padding: 10px 0; animation: tr-step .6s ease both; }
.tracker li + li::before { content: ""; position: absolute; left: 20px; top: -12px; height: 24px; width: 2px; background: linear-gradient(var(--blue), var(--sky)); transform-origin: top; animation: tr-line .5s ease both; animation-delay: inherit; }
.tr-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); position: relative; z-index: 1; }
.tracker li:last-child .tr-ico { background: #E8F8EF; color: var(--green); }
.tr-ico .ic { width: 21px; height: 21px; }
.tracker b { display: block; color: var(--ink); font-size: .97rem; }
.tracker small { color: var(--muted); font-size: .84rem; }
@keyframes tr-step { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes tr-line { from { transform: scaleY(0); } }
.sol-included h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 18px; }
.sol-included h3 .ic { color: var(--blue); width: 24px; height: 24px; }
.steps-dark .step { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); }
.steps-dark .step::before { -webkit-text-stroke-color: var(--sky); }
.steps-dark .step p { color: #C9D6F5; }
.ind-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .ind-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .ind-grid-3 { grid-template-columns: minmax(0, 1fr); } }
.more-sol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.more-sol-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; align-items: start; padding: 26px; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.more-sol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #C9DAFF; text-decoration: none; }
.more-sol-card .sol-ico { margin: 0; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; }
.more-sol-card b { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--ink); margin-bottom: 4px; }
.more-sol-card small { color: var(--muted); font-size: .95rem; }
.more-link { grid-column: 2; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); }
@media (max-width: 760px) { .more-sol { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .more-sol-card { padding: 20px 18px; gap: 8px 14px; } .more-sol-card .sol-ico { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) {
  .tracker-card { animation-name: fade-in; }
  .tracker li { animation-name: fade-in; }
  .more-sol-card:hover { transform: none; }
}
.tracker-card .live { white-space: nowrap; flex: none; }
.tracker-card .dc-head { gap: 12px; }

/* =========================================================
   Meet the fleet (showroom) and site photos
   ========================================================= */
.vehicle-svg { display: block; width: 100%; height: auto; overflow: visible; }
.vehicle-svg .v-wheel { transform-box: fill-box; transform-origin: center; }
.vehicle-svg .v-light { animation: v-light 2.6s ease-in-out infinite; }
@keyframes v-light { 50% { fill: #FFE48A; } }
.fleet { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.fleet-stage { position: relative; min-height: 400px; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg);
  background: radial-gradient(520px 260px at 50% -6%, rgba(90, 162, 255, .55), transparent 70%), linear-gradient(180deg, #0A2463 0%, #123A9C 64%, #0B1F55 64.3%, #071640 100%); }
.fleet-stage::before { content: ""; position: absolute; inset: 0 0 36% 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; }
.fleet-lights { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(160px 90px at 22% 0, rgba(255,255,255,.22), transparent 70%), radial-gradient(160px 90px at 78% 0, rgba(255,255,255,.22), transparent 70%), radial-gradient(60% 18% at 50% 80%, rgba(142, 194, 255, .35), transparent 70%); }
.fleet-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 36%; pointer-events: none; }
.fleet-floor::before { content: ""; position: absolute; left: -96px; right: 0; bottom: 22%; height: 4px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.75) 0 48px, transparent 48px 96px); }
.fleet-stage:has(.fleet-car.moving) .fleet-floor::before, .fleet-stage:has(.fleet-car.leave) .fleet-floor::before { animation: drive .5s linear infinite; }
.fleet-car { position: absolute; left: 5%; right: 5%; bottom: 9%; z-index: 1; opacity: 0; visibility: hidden; transform: translateX(-115%); }
.fleet-car.is-on { opacity: 1; visibility: visible; transform: none; transition: transform 1.2s cubic-bezier(.25, .8, .3, 1); }
.fleet-car.leave { opacity: 1; visibility: visible; transform: translateX(115%); transition: transform .7s cubic-bezier(.6, 0, .9, .5); }
.fleet-car.is-on.moving { transition-delay: .45s; }
.fleet-car.is-on:not(.moving) .v-body { animation: v-idle 1.6s ease-in-out infinite alternate; }
@keyframes v-idle { to { transform: translateY(-1.5px); } }
.fleet-car.moving .v-wheel, .fleet-car.leave .v-wheel { animation: wheel-spin .45s linear infinite; }
.fleet-car.is-on:not(.moving) .v-wheel { animation: wheel-spin 6s linear infinite; }
.fleet-speed { position: absolute; left: -2%; top: 30%; width: 14%; display: grid; gap: 14px; opacity: 0; transition: opacity .3s; }
.fleet-speed i { display: block; height: 4px; border-radius: 4px; background: linear-gradient(90deg, transparent, #8EC2FF); }
.fleet-speed i:nth-child(2) { margin-left: 30%; }
.fleet-car.moving .fleet-speed { opacity: 1; }
.fleet-car.has-photo { inset: 0; }
.fleet-car.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.fleet-side { display: flex; flex-direction: column; }
.fleet-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 6px; border-radius: 16px; background: var(--blue-50); margin-bottom: 22px; }
.fleet-tab { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border: 0; border-radius: 12px; background: transparent; color: var(--navy); font: 700 .88rem/1.2 var(--font); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.fleet-tab .ic { width: 22px; height: 22px; }
.fleet-tab:hover { background: rgba(255,255,255,.7); }
.fleet-tab.on { background: #fff; color: var(--blue); box-shadow: 0 4px 14px rgba(10, 36, 99, .12); }
.fleet-tab:focus-visible { outline: 3px solid rgba(30, 99, 233, .4); outline-offset: 2px; }
.fleet-info { animation: fade-in .45s ease both; }
.fleet-info h3 { font-size: 1.6rem; font-style: italic; margin-bottom: 6px; }
.fleet-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.fleet-specs div { padding: 12px; border-radius: 14px; background: #FAFBFE; border: 1px solid var(--line); }
.fleet-specs small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fleet-specs b { display: block; margin-top: 4px; color: var(--ink); font-family: var(--display); font-size: .98rem; line-height: 1.25; }
.fleet-note { margin: 16px 0 0; font-size: .8rem; color: var(--muted); }
.fleet-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 18px; }
@media (max-width: 960px) { .fleet { grid-template-columns: minmax(0, 1fr); } .fleet-stage { min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 520px) { .fleet-stage { aspect-ratio: 4 / 3; } .fleet-car:not(.has-photo) { bottom: 14%; } .fleet-specs { grid-template-columns: minmax(0, 1fr); } .fleet-specs div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; } .fleet-specs b { margin: 0; text-align: right; } }

/* On the road gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery-item { position: relative; margin: 0; overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 3; background: var(--blue-50); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; color: #fff; font-weight: 600; font-size: .9rem; background: linear-gradient(transparent, rgba(5, 16, 46, .85)); }

/* Admin: site photos */
.ph-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 12px; }
.ph-slot { display: grid; gap: 10px; align-content: start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #FAFBFE; }
.ph-preview { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; display: grid; place-items: center; padding: 8px; background: linear-gradient(180deg, #0A2463, #123A9C); }
.ph-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.ph-form { display: grid; gap: 8px; }
.ph-form input[type=file] { padding: 8px; font-size: .85rem; }
.ph-form-row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: center; margin: 12px 0 18px; }
.ph-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.ph-gallery figure { margin: 0; display: grid; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #FAFBFE; }
.ph-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.ph-gallery figcaption { font-size: .85rem; color: var(--muted); overflow-wrap: anywhere; }
.dash-main > .card.pad + .card.pad { margin-top: 24px; }
@media (max-width: 1100px) { .ph-slots { grid-template-columns: minmax(0, 1fr); } .ph-form-row { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .fleet-car, .fleet-car.leave { transform: none; }
  .fleet-car.is-on { transition: opacity .6s; }
  .fleet-car.leave { opacity: 0; transition: opacity .5s; }
  .fleet-car.is-on:not(.moving) .v-body { animation: none; }
  .gallery-item:hover img { transform: none; }
}

/* =========================================================
   Stock photos (assets/photos): hero backgrounds with the brand's navy overlay, photo bands
   ========================================================= */
.bg-photo { position: absolute; inset: 0; overflow: hidden; background: #0A2463; }
.bg-photo img { width: 100%; height: 100%; object-fit: cover; animation: ken-burns 22s ease-out both; }
@keyframes ken-burns { from { transform: scale(1.1); } to { transform: scale(1); } }
.bg-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 26, 74, .97) 0%, rgba(10, 36, 99, .9) 36%, rgba(10, 36, 99, .62) 64%, rgba(30, 99, 233, .38) 100%), linear-gradient(0deg, rgba(7, 26, 74, .75) 0%, transparent 40%); }
.hero.has-photo .hero-grid, .page-hero.has-photo .container, .sol-hero .crumbs { position: relative; z-index: 1; }
.partner-hero .bg-photo::after, .sol-hero .bg-photo::after { background: linear-gradient(90deg, rgba(7, 26, 74, .97) 0%, rgba(10, 36, 99, .9) 45%, rgba(10, 36, 99, .78) 100%); }
.page-hero.has-photo { padding: 104px 0 92px; }
.page-hero.has-photo h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
@media (max-width: 900px) { .bg-photo::after { background: linear-gradient(180deg, rgba(10, 36, 99, .82) 0%, rgba(7, 26, 74, .94) 100%); } .page-hero.has-photo { padding: 72px 0 64px; } }

/* Solution cards: photo behind the blue header */
.sol-top { isolation: isolate; min-height: 200px; }
.sol-top-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.sol-top::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(10, 36, 99, .94) 10%, rgba(30, 99, 233, .72) 100%); }
.sol-card:hover .sol-top-photo { transform: scale(1.07); }
.sol-num, .sol-line { z-index: 1; }

/* Photo bands and the home mosaic */
.photo-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pb-item { position: relative; margin: 0; overflow: hidden; border-radius: 20px; aspect-ratio: 4 / 3; background: var(--navy); box-shadow: var(--shadow); }
.pb-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.pb-item:hover img { transform: scale(1.06); }
.pb-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 20px 18px; color: #DCE6FF; background: linear-gradient(180deg, transparent, rgba(7, 26, 74, .92)); }
.pb-item figcaption b { display: block; color: #fff; font-family: var(--display); font-size: 1.1rem; }
.pb-item figcaption span { font-size: .9rem; }
.pb-item::before { content: ""; position: absolute; left: 20px; top: 18px; z-index: 1; width: 34px; height: 4px; border-radius: 4px; background: var(--sky); }
.photo-band.mosaic { grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: 250px 250px; }
.photo-band.mosaic .pb-item { aspect-ratio: auto; }
.photo-band.mosaic .pb-item:first-child { grid-row: span 2; }
.photo-band.mosaic .pb-item:first-child figcaption b { font-size: 1.45rem; }
@media (max-width: 900px) {
  .photo-band { grid-template-columns: minmax(0, 1fr); }
  .photo-band.mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .photo-band.mosaic .pb-item { aspect-ratio: 4 / 3; }
  .photo-band.mosaic .pb-item:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) { .photo-band.mosaic { grid-template-columns: minmax(0, 1fr); } .pb-item figcaption span { font-size: .85rem; } }

/* Partners: developer photo with the sample delivery update on top */
.dev-visual { position: relative; margin-top: auto; padding: 0 0 96px; }
.dev-photo { display: block; width: 86%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); }
.dev-visual .code-card { position: absolute; right: 0; bottom: 0; width: 72%; margin: 0; }
@media (max-width: 560px) { .dev-visual { padding: 0; } .dev-photo { width: 100%; } .dev-visual .code-card { position: relative; width: 100%; margin-top: -40px; } }

/* Solution overview photo */
.sol-photo { margin: 6px 0 22px; }
.sol-photo img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; box-shadow: 12px 12px 0 0 rgba(142, 194, 255, .45), var(--shadow); }

@media (prefers-reduced-motion: reduce) {
  .bg-photo img { animation: fade-in 1s both; }
  .pb-item:hover img, .sol-card:hover .sol-top-photo { transform: none; }
}
.hero.has-photo:not(.partner-hero):not(.sol-hero) .bg-photo::after { background: linear-gradient(90deg, rgba(7, 26, 74, .96) 0%, rgba(10, 36, 99, .86) 38%, rgba(10, 36, 99, .45) 66%, rgba(30, 99, 233, .22) 100%), linear-gradient(0deg, rgba(7, 26, 74, .7) 0%, transparent 35%); }
@media (max-width: 900px) { .hero.has-photo:not(.partner-hero):not(.sol-hero) .bg-photo::after { background: linear-gradient(180deg, rgba(10, 36, 99, .78) 0%, rgba(7, 26, 74, .92) 100%); } }
.sol-photo { margin: 0; min-height: 320px; }
.sol-photo img { height: 100%; aspect-ratio: auto; }
.sol-included { margin-top: 40px; }
.sol-included .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
@media (max-width: 900px) { .sol-photo img { aspect-ratio: 16 / 10; height: auto; } }
@media (max-width: 640px) { .sol-included .checklist { grid-template-columns: minmax(0, 1fr); } }
/* Admin → Site photos: groups of photo spots */
.ph-group { padding: 0; margin-bottom: 16px; }
.ph-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; cursor: pointer; list-style: none; }
.ph-group > summary::-webkit-details-marker { display: none; }
.ph-group > summary b { color: var(--ink); font-size: 1.05rem; margin-right: 6px; }
.ph-chev { color: var(--blue); transform: rotate(90deg); transition: transform .2s; }
.ph-group[open] .ph-chev { transform: rotate(-90deg); }
.ph-group .ph-slots { padding: 0 22px 22px; margin: 0; }
.ph-photo { padding: 0; background: #E9EEF8; }
.ph-photo img { border-radius: 0; }
.ph-hl { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 99, 233, .18); }
.dash-main > .ph-group + .card.pad { margin-top: 0; }

/* Smooth loading: blurred preview under every photo, photos never hidden while scrolling,
   and a soft cross-fade between pages (Chrome, Edge, Safari) */
img.ph { background-repeat: no-repeat; }
.pb-item.reveal, .sol-photo.reveal { opacity: 1; transform: translateY(10px); }
.pb-item.reveal.in, .sol-photo.reveal.in { transform: none; }
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }
.ph-meta { display: grid; gap: 4px; font-size: .8rem; color: var(--muted); }
.ph-meta > span { display: block; padding-left: 20px; text-indent: -20px; }
.ph-meta .ic { width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; color: var(--blue); }

/* =========================================================
   Driver application form (job page)
   ========================================================= */
.apply-form { display: grid; gap: 4px; }
.apply-form > label, .apply-form .af-reveal label { margin-top: 10px; }
.apply-form [hidden] { display: none !important; }
.af-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.af-row label { margin-top: 0; }
.af-set { border: 0; padding: 0; margin: 14px 0 0; min-width: 0; }
.af-set legend { padding: 0; margin-bottom: 8px; font-weight: 600; color: var(--ink); font-size: .92rem; }
.af-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.af-chip { margin: 0; cursor: pointer; font-weight: 600; }
.af-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.af-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: .88rem; color: var(--text); transition: border-color .15s, background .15s, color .15s; }
.af-chip input[type=checkbox] + span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #9DB0D6; flex: none; }
.af-chip input[type=radio] + span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #9DB0D6; flex: none; }
.af-chip input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--navy); }
.af-chip input:checked + span::before { border-color: var(--blue); background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.af-chip input[type=radio]:checked + span::before { background: var(--blue); box-shadow: inset 0 0 0 3px #fff; }
.af-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(30, 99, 233, .18); }
.af-reveal { margin-top: 8px; }
.af-note { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #FFF4DD; color: #7A4A00; font-size: .86rem; line-height: 1.45; }
.af-note .ic { width: 16px; height: 16px; margin-top: 2px; flex: none; }
.af-walmart { margin-top: 16px; padding: 14px; border-radius: 14px; border: 1.5px solid #C9DAFF; background: linear-gradient(180deg, var(--blue-50), #fff); }
.af-fedex { margin-top: 16px; padding: 14px; border-radius: 14px; border: 1.5px solid #DCCDF2; background: linear-gradient(180deg, #F7F2FD, #fff); }
.af-fedex label { color: #4D148C; font-weight: 800; }
.af-fedex .hint { margin: 8px 0 0; }
.af-van { margin: 16px 0 4px; } /* "I have a Cargo Van" (FedEx job post, Walmart daily route) */
.af-walmart-toggle { display: flex; gap: 10px; align-items: flex-start; margin: 0; cursor: pointer; }
.af-walmart-toggle input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.af-walmart-toggle b { display: block; color: var(--navy); }
.af-walmart-toggle small { display: block; color: var(--blue); font-weight: 700; font-size: .84rem; }
.apply-form .req { color: var(--red); }

/* Drive with us: open opportunities box */
.opp-card .eyebrow { margin-bottom: 6px; }
.opp-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 6px 0 16px; }
.opp-stats div { padding: 14px; border-radius: 14px; background: var(--blue-50); }
.opp-stats b { display: block; font-family: var(--display); font-size: 1.8rem; line-height: 1.1; color: var(--navy); }
.opp-stats small { color: var(--muted); font-weight: 600; }
.opp-walmart p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 10px; font-size: .92rem; }
.opp-walmart p .ic { color: var(--blue); }
.opp-walmart .tags { gap: 6px; }

/* Admin: Walmart routes */
.wm-settings { grid-template-columns: 1fr 1fr; }
.wm-preview { padding: 10px 14px; border-radius: 12px; background: var(--blue-50); color: var(--navy); }
.wm-add { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin: 12px 0 18px; }
.wm-list { display: grid; gap: 8px; }
.wm-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.wm-row.off { background: #F7F8FB; }
.wm-row.off .wm-name input { color: var(--muted); }
.wm-name { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.wm-name input { padding: 8px 10px; }
.wm-apps { font-size: .85rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 760px) { .wm-settings, .wm-add { grid-template-columns: minmax(0, 1fr); } .wm-row { grid-template-columns: minmax(0, 1fr) auto auto; } .wm-name { grid-column: 1 / -1; } }

/* Admin: applications */
.app-filters { display: grid; grid-template-columns: 2fr repeat(4, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
@media (max-width: 1100px) { .app-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .app-filters .af-q { grid-column: 1 / -1; } }
.app-card { padding: 20px 22px; margin-bottom: 14px; }
.app-card.is-new { border-left: 4px solid var(--blue); }
.app-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; margin-bottom: 14px; }
.app-head h3 { margin: 0 0 2px; font-size: 1.15rem; }
.app-head h3 a { color: var(--ink); }
.app-badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mail-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.mail-badge .ic { width: 14px; height: 14px; }
.mail-badge.dispatch { background: var(--blue-50); color: #1D4BB0; }
.mail-badge.walmart { background: #E8F8EF; color: #0B6B35; }
.mail-badge.fedex { background: #F2ECFA; color: #4D148C; }
.mail-badge.none { background: #F1F3F7; color: #5E6B85; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 0; }
.app-grid div { padding: 10px 12px; border-radius: 12px; background: #FAFBFE; border: 1px solid var(--line); min-width: 0; }
.app-grid dt { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.app-grid dd { margin: 2px 0 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.app-msg { margin: 12px 0 0; padding: 10px 14px; border-left: 4px solid var(--sky); background: var(--blue-50); border-radius: 8px; color: var(--text); white-space: pre-wrap; }
.app-status { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
@media (max-width: 640px) { .app-status { grid-template-columns: minmax(0, 1fr); } }
.opp-wm-sub { flex-basis: 100%; padding-left: 24px; color: var(--blue); font-weight: 700; font-size: .86rem; }

/* =========================================================
   Job page: details first, "Apply now" at the bottom, form in a pop-up
   ========================================================= */
.job-wrap { max-width: 880px; display: grid; gap: 24px; }
.job-card { padding: 32px 36px; }
.job-meta div { display: flex; align-items: center; gap: 12px; }
.jm-ico { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.jm-ico .ic { width: 19px; height: 19px; }
.job-h { font-size: 1.3rem; margin: 30px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.job-meta + .job-h { border-top: 0; padding-top: 0; margin-top: 10px; }
.job-sub { font-size: 1.02rem; color: var(--navy); margin: 22px 0 10px; display: flex; align-items: center; gap: 10px; }
.job-sub::before { content: ""; width: 4px; height: 18px; border-radius: 4px; background: var(--blue); }
.job-desc p { color: var(--text); }
.job-list { margin: 0 0 6px; gap: 9px; }
.job-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 34px; border: 0; color: #C9D6F5; overflow: hidden; position: relative;
  background: radial-gradient(400px 200px at 100% 0%, rgba(142, 194, 255, .35), transparent 70%), linear-gradient(120deg, var(--blue) 0%, var(--navy) 100%); box-shadow: var(--shadow-lg); }
.job-cta h2 { color: #fff; font-style: italic; margin: 2px 0 6px; font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.job-cta .eyebrow { color: var(--sky); margin-bottom: 4px; }
.job-cta .muted { color: #C9D6F5; }
.job-cta .btn { flex: none; }
.job-cta .btn-accent, .job-cta .btn-primary { background: #fff; color: var(--blue); box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.job-cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
@media (max-width: 700px) { .job-card { padding: 24px 20px; } .job-cta { flex-direction: column; align-items: stretch; padding: 26px 22px; } .job-cta .btn { width: 100%; } }

/* Pop-up */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 24px 16px; }
/* :target opens a pop-up from a link like #apply when JavaScript isn't running. With it, only .is-open counts:
   browsers don't update :target when a script removes the #hash, so the pop-up would come back after closing. */
.modal.is-open, html:not(.js) .modal:target { display: flex; }
html.modal-lock { overflow: hidden; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(7, 26, 74, .42); -webkit-backdrop-filter: blur(7px) saturate(1.2); backdrop-filter: blur(7px) saturate(1.2); animation: fade-in .28s ease both; }
.modal-panel { position: relative; width: min(640px, 100%); max-height: min(92vh, 940px); display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 24px;
  box-shadow: 0 40px 90px rgba(3, 14, 45, .4); animation: modal-in .38s cubic-bezier(.2, .85, .25, 1) both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(26px) scale(.96); } }
@keyframes modal-out { to { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes fade-out { to { opacity: 0; } }
.modal.is-closing .modal-panel { animation: modal-out .22s ease both; }
.modal.is-closing .modal-backdrop { animation: fade-out .22s ease both; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 26px 18px; color: #C9D6F5;
  background: radial-gradient(300px 140px at 100% 0%, rgba(142, 194, 255, .35), transparent 70%), linear-gradient(120deg, var(--blue), var(--navy)); }
.modal-head .eyebrow { color: var(--sky); margin-bottom: 4px; }
.modal-head h2 { margin: 0; color: #fff; font-size: 1.3rem; line-height: 1.25; }
.modal-x { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; transition: background .2s, transform .2s; }
.modal-x:hover { background: rgba(255, 255, 255, .26); transform: rotate(90deg); text-decoration: none; }
.modal-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.modal-body { padding: 22px 26px 26px; overflow-y: auto; overscroll-behavior: contain; }
.modal-body .errors { margin-top: 0; }
@media (max-width: 640px) {
  .modal { align-items: flex-end; padding: 0; }
  .modal-panel { width: 100%; max-height: 94vh; border-radius: 22px 22px 0 0; animation-name: sheet-in; }
  .modal.is-closing .modal-panel { animation-name: sheet-out; }
  .modal-head, .modal-body { padding-left: 18px; padding-right: 18px; }
}
@keyframes sheet-in { from { transform: translateY(100%); } }
/* Status screens ("Application sent", "Check your email", "This link has expired"…): one clear headline,
   one short line, the key detail as a chip, then numbered steps. No long centered sentences. */
.ss { display: grid; justify-items: center; text-align: center; }
.ss-ico { position: relative; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 20px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue);
  animation: ss-pop .55s .08s cubic-bezier(.34, 1.56, .64, 1) backwards; }
.ss-ico > .ic { width: 30px; height: 30px; }
.ss-ico.is-warn { background: #FFF4E0; color: #B86E00; }
.ss-badge { position: absolute; right: -7px; bottom: -7px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(18, 161, 80, .3); animation: ss-pop .5s .38s cubic-bezier(.34, 1.56, .64, 1) backwards; }
.ss-badge .ic { width: 13px; height: 13px; stroke-width: 3.2; }
.ss .ss-title { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.65rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.ss .ss-title:focus { outline: none; }
.ss .ss-lead { margin: 8px 0 0; max-width: 46ch; color: var(--muted); font-size: 1rem; line-height: 1.5; text-wrap: balance; }
.ss-chip { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; margin-top: 16px; padding: 7px 14px 7px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(10, 36, 99, .05); color: var(--ink); font-size: .92rem; font-weight: 600; line-height: 1.3; }
.ss-chip-ico { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.ss-chip-ico .ic { width: 14px; height: 14px; }
.ss-chip > span:last-child { min-width: 0; overflow-wrap: anywhere; text-align: left; }
.ss-steps { list-style: none; width: 100%; margin: 20px 0 0; padding: 6px; display: grid; text-align: left; border: 1px solid var(--line); border-radius: 16px; background: #FAFBFE; counter-reset: ss; }
.ss-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px; counter-increment: ss; }
.ss-steps li + li { border-top: 1px dashed var(--line); }
.ss-steps li::before { content: counter(ss); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid #D6E2FA; color: var(--blue); font-size: .8rem; font-weight: 700; }
.ss-steps b { display: block; padding-top: 4px; font-size: .93rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.ss-steps small { display: block; margin-top: 2px; font-size: .84rem; color: var(--muted); line-height: 1.45; }
.ss-tags { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ss-tags li { padding: 5px 12px; border-radius: 999px; background: var(--blue-50); color: var(--navy); font-size: .84rem; font-weight: 600; }
.ss .ss-hint { margin: 14px 0 0; max-width: 44ch; font-size: .85rem; color: var(--muted); line-height: 1.45; text-wrap: balance; }
.ss-hint .ic { display: inline-block; width: 15px; height: 15px; margin-right: 6px; vertical-align: -3px; }
.ss .ss-note { display: inline-flex; align-items: center; gap: 6px; margin: 14px 0 0; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.ss-note .ic { width: 15px; height: 15px; }
.ss-note.is-success { background: #E7F7EE; color: #0B6B35; }
.ss-note.is-error { background: #FDECEC; color: #9E1F1F; }
.ss-acts { width: 100%; display: grid; gap: 12px; margin-top: 22px; }
.ss-acts form { margin: 0; }
.ss-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 22px; font-size: .9rem; line-height: 1.4; }
.ss-links a, .ss-links .link-btn { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; font-weight: 600; line-height: 1.4; color: var(--blue); text-decoration: none; }
.ss-links a:hover, .ss-links .link-btn:hover { text-decoration: underline; }
.ss-links .ic { width: 16px; height: 16px; }
@keyframes ss-pop { from { opacity: 0; transform: scale(.5); } }
@media (prefers-reduced-motion: reduce) { .ss-ico, .ss-badge { animation-name: fade-in; } }

.ss-card { padding: 44px 24px 34px; }
@media (max-width: 640px) { .ss-card { padding: 34px 16px 28px; } }
.ss-card .ss-steps, .ss-card .ss-acts { max-width: 440px; }
.ss-acts-inline { width: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.modal-ss { padding: 6px 2px 2px; }
.verify-ss { margin-bottom: 22px; }
.reset-done .ss-acts { margin-top: 20px; }

/* "Application sent" (the apply pop-up after sending) */
.sent-panel { width: min(460px, 100%); }
.sent-body { padding: 36px 30px 26px; }
.sent-x { position: absolute; top: 14px; right: 14px; z-index: 1; width: 36px; height: 36px; background: var(--bg); color: var(--muted); }
.sent-x:hover { background: var(--line); color: var(--ink); }
@media (max-width: 640px) { .sent-body { padding: 30px 18px 22px; } }

@keyframes sheet-out { to { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) {
  .modal-panel { animation-name: fade-in; }
  .modal.is-closing .modal-panel { animation-name: fade-out; }
}
.job-card .job-desc p { margin: 0 0 14px; line-height: 1.7; }
.job-card .job-desc .job-sub { margin: 26px 0 12px; }
.job-card .job-desc > :first-child { margin-top: 0; }
.job-card .job-desc .job-list { margin: 0 0 18px; }
.job-title-row { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.job-card .job-title { margin: 0 0 4px; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.2; color: var(--ink); }
.job-where { margin: 0; color: var(--muted); font-weight: 600; }

/* Job page: "All jobs" button that stays in view while reading */
.job-back { position: sticky; top: 96px; z-index: 5; justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin-bottom: -6px; padding: 8px 18px 8px 8px;
  border-radius: 999px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(10, 36, 99, .12); color: var(--navy); font-weight: 700; font-size: .92rem; transition: transform .2s, box-shadow .2s, color .2s; }
.job-back:hover { text-decoration: none; color: var(--blue); transform: translateX(-3px); box-shadow: 0 10px 26px rgba(10, 36, 99, .18); }
.job-back-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; }
.job-back-ico .ic, .job-back-bottom .ic { transform: rotate(180deg); }
.job-back-ico .ic { width: 16px; height: 16px; }
.job-back-bottom { justify-self: center; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); padding: 6px 10px; border-radius: 10px; transition: transform .2s, background .2s; }
.job-back-bottom:hover { text-decoration: none; background: var(--blue-50); transform: translateX(-3px); }
.job-back-bottom .ic { width: 18px; height: 18px; }
@media (max-width: 1180px) { .job-back { top: 92px; } }
@media (prefers-reduced-motion: reduce) { .job-back:hover, .job-back-bottom:hover { transform: none; } }
.job-back { align-self: start; }
@media (min-width: 1200px) { .job-back { margin: 0 0 -70px -150px; } }

/* Job page: short blue band, details box overlaps it (the title lives in the box) */
.job-band { position: relative; overflow: hidden; color: #C9D6F5; padding: 30px 0 100px;
  background: radial-gradient(600px 260px at 85% -20%, rgba(59, 123, 255, .55), transparent 70%), linear-gradient(160deg, #0A2463, #0B2A75); }
.job-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 90%); }
.job-band-row { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; max-width: 880px; }
.job-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; }
.job-crumbs a { color: #fff; }
.job-crumbs span[aria-hidden] { color: #6F86C0; }
.job-band .tags .tag { background: rgba(255, 255, 255, .12); color: #fff; }
.job-band .tags .tag-urgent { background: #FFB020; color: #3D2600; }
.job-section { padding-top: 0; }
.job-wrap { position: relative; margin-top: -72px; }
.job-card .job-title { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-style: normal; }
@media (max-width: 1199px) { .job-back { background: #fff; } }

/* Forgot / reset password */
.forgot-link { text-align: right; margin-top: 8px; }
.forgot-link a { font-weight: 600; }
.reset-done { text-align: center; }

/* Posted date on job boxes and the job page */
.jc-where { margin-bottom: 4px; }
.jc-posted { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; font-size: .8rem; font-weight: 600; color: #12804A; }
.jc-posted .ic { width: 14px; height: 14px; }
.job-posted { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: .88rem; font-weight: 600; color: #12804A; }
.job-posted .ic { width: 16px; height: 16px; }

/* Admin → Applications: compact list, details in a pop-up */
.app-count { margin: 4px 0 12px; }
.app-list { padding: 6px; overflow: hidden; }
.app-row { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.4fr) minmax(0, 1fr) 56px minmax(150px, 1.4fr) 104px 18px; gap: 14px; align-items: center;
  padding: 12px 14px; border-radius: 12px; color: var(--text); font-size: .9rem; transition: background .15s; }
a.app-row:hover { background: var(--blue-50); text-decoration: none; }
a.app-row + a.app-row { border-top: 1px solid var(--line); }
a.app-row:hover + a.app-row { border-top-color: transparent; }
/* Tick boxes to delete several applications at once */
.app-item { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; border-radius: 12px; transition: background .15s; }
.app-item + .app-item { border-top: 1px solid var(--line); }
.app-list.no-bulk .app-item { grid-template-columns: minmax(0, 1fr); } /* moderators: no tick boxes (only admins delete) */
.app-item:hover, .app-item.is-picked { background: var(--blue-50); }
.app-item:hover + .app-item, .app-item.is-picked + .app-item.is-picked { border-top-color: transparent; }
.app-item a.app-row:hover { background: none; }
.app-item-head:hover { background: none; }
.ar-check { display: grid; place-items: center; align-self: stretch; padding-left: 8px; cursor: pointer; }
.ar-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.bulk-bar { position: sticky; bottom: 16px; z-index: 20; display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; margin: 14px auto 0; padding: 10px 12px 10px 18px;
  border-radius: 999px; background: var(--navy); color: #fff; box-shadow: 0 14px 34px rgba(10, 36, 99, .3); animation: chat-hint-in .25s ease-out both; }
.bulk-bar[hidden] { display: none; }
.bulk-bar .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.bulk-bar > span { white-space: nowrap; }
.ar-all { display: none; }
@media (max-width: 1100px) {
  .app-item-head { grid-template-columns: minmax(0, 1fr); }
  .app-item-head .ar-check { display: flex; justify-content: flex-start; gap: 10px; padding: 8px 0 8px 8px; font-size: .85rem; font-weight: 700; color: var(--muted); }
  .ar-all { display: inline; }
}
@media (max-width: 420px) { .bulk-bar { gap: 8px; padding-left: 14px; } }
.app-del { margin-left: auto; }
.app-del .link-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 600; }
.app-row-head { padding-top: 8px; padding-bottom: 8px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.app-row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-name b { display: block; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.ar-name small { display: block; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.app-row.is-new .ar-name b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--blue); vertical-align: 1px; }
.ar-go { color: var(--blue); opacity: .5; transition: opacity .15s, transform .15s; }
a.app-row:hover .ar-go { opacity: 1; transform: translateX(3px); }
.ar-go .ic { width: 18px; height: 18px; }
.mail-dot { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; }
.mail-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.mail-dot.dispatch { color: #1D4BB0; } .mail-dot.dispatch::before { background: var(--blue); }
.mail-dot.walmart { color: #0B6B35; } .mail-dot.walmart::before { background: var(--green); }
.mail-dot.fedex { color: #4D148C; } .mail-dot.fedex::before { background: #FF6600; } /* FedEx purple and orange */
.prog-dot { display: flex; margin: 0 0 5px; font-size: .78rem; } /* Dispatch / Walmart above the onboarding badge */
.nt-type .prog-dot { margin: 3px 0 0; }
.mail-dot.none { color: var(--muted); } .mail-dot.none::before { background: #B8C1D3; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
.app-modal .modal-panel { width: min(720px, 100%); }
.modal-sub { margin: 4px 0 0; font-size: .86rem; color: #C9D6F5; }
.app-modal .mb { margin-bottom: 14px; }
.app-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: .9rem; font-weight: 600; }
.app-links a { display: inline-flex; align-items: center; gap: 6px; }
.app-links .ic { width: 16px; height: 16px; }
@media (max-width: 1100px) {
  .app-row-head { display: none; }
  .app-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name status" "job job" "meta mail"; gap: 4px 12px; }
  .ar-name { grid-area: name; } .ar-status { grid-area: status; } .ar-job { grid-area: job; color: var(--muted); font-size: .85rem; }
  .ar-veh { display: none; } .ar-date { grid-area: meta; font-size: .82rem; color: var(--muted); } .ar-mail { grid-area: mail; text-align: right; } .ar-go { display: none; }
}

/* Smoothness: quicker hero entrance on Partners, looping animations pause off screen, photo zoom on its own layer */
.partner-hero .pm-stop { animation-duration: .4s; }
.anim-paused, .anim-paused *, .anim-paused *::before, .anim-paused *::after, .anim-paused::before, .anim-paused::after { animation-play-state: paused !important; }
.bg-photo img { will-change: transform; }

/* Phones: the hero shows at once. The headline only glides up (no fade from invisible) and the photo
   doesn't zoom, so the first screen paints sooner and stays steady. */
@keyframes rise-in-place { from { transform: translateY(14px); } to { transform: none; } }
@media (max-width: 900px) {
  .hero-copy > *, .hero h1 .accent { animation-name: rise-in-place; animation-duration: .45s; }
  .bg-photo img { animation: none; will-change: auto; }
}

/* =========================================================
   FAQ page
   ========================================================= */
.faq-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 36px; align-items: start; }
.faq-side { position: sticky; top: 104px; display: grid; gap: 14px; }
.faq-search { position: relative; }
.faq-search .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.faq-search input { padding-left: 42px; border-radius: 999px; background: #fff; }
.faq-nav { display: grid; gap: 2px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.faq-nav a { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: .9rem; transition: background .15s, color .15s; }
.faq-nav a .ic { width: 18px; height: 18px; color: var(--blue); }
.faq-nav a small { font-size: .72rem; font-weight: 700; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 1px 8px; }
.faq-nav a:hover { background: var(--blue-50); text-decoration: none; }
.faq-nav a.on { background: var(--navy); color: #fff; }
.faq-nav a.on .ic, .faq-nav a.on small { color: #fff; } .faq-nav a.on small { background: rgba(255,255,255,.15); }
.faq-help { display: grid; gap: 8px; padding: 18px 20px; font-size: .9rem; }
.faq-help b { color: var(--ink); font-family: var(--display); }
.faq-help a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; overflow-wrap: anywhere; }
.faq-group { scroll-margin-top: 100px; margin-bottom: 38px; }
.faq-group[hidden] { display: none; }
.faq-group h2 { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; margin-bottom: 14px; }
.faq-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; }
.faq-ico .ic { width: 20px; height: 20px; }
.faq-page .faq { gap: 10px; }
.faq-page .faq details { scroll-margin-top: 110px; transition: border-color .2s, box-shadow .2s; }
.faq-page .faq details[hidden] { display: none; }
.faq-page .faq details[open] { border-color: #C9DAFF; box-shadow: 0 8px 22px rgba(10, 36, 99, .08); }
.faq-q { display: flex; gap: 12px; align-items: baseline; }
.faq-n { flex: none; min-width: 24px; font-size: .78rem; font-weight: 800; color: var(--blue); }
.faq-a { padding: 0 0 16px 36px; color: var(--text); animation: faq-open .25s ease; }
.faq-a p { margin: 0 0 10px; color: var(--text); line-height: 1.65; }
.faq-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.faq-list li { position: relative; padding-left: 22px; }
.faq-list li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-4px); } }
.faq-empty { text-align: center; }
.quick-card { border-radius: 22px; padding: 28px; color: #C9D6F5; background: radial-gradient(400px 200px at 100% 0%, rgba(142, 194, 255, .3), transparent 70%), linear-gradient(140deg, var(--navy), #123A9C); box-shadow: var(--shadow-lg); scroll-margin-top: 100px; }
.quick-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.quick-head h2 { color: #fff; font-style: italic; margin: 0 0 6px; }
.quick-head .eyebrow { color: var(--sky); margin-bottom: 4px; }
.quick-head p { margin: 0; max-width: 460px; }
.quick-card .btn-accent { background: #fff; color: var(--blue); }
.quick-card .btn.copied { background: #E8F8EF; color: #0B6B35; }
.quick-card pre { margin: 18px 0 10px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px dashed rgba(142, 194, 255, .45); color: #fff; font: 600 .95rem/1.9 var(--font); white-space: pre-wrap; }
.quick-foot { margin: 0; font-size: .88rem; } .quick-foot b { color: #fff; font-style: italic; }
.faq-more { margin-top: 18px; text-align: center; }
@media (max-width: 960px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .faq-side { position: static; }
  .faq-nav { display: flex; overflow-x: auto; gap: 6px; padding: 6px; scrollbar-width: none; }
  .faq-nav::-webkit-scrollbar { display: none; }
  .faq-nav a { flex: none; grid-template-columns: 18px auto; }
  .faq-nav a small { display: none; }
  .faq-help { display: none; }
  .faq-a { padding-left: 0; }
}
.faq .faq-a p, .faq .faq-a li { color: var(--text); }

/* Messages: drop-down notices at the top instead of a strip that pushes the page */
/* Messages ("Saved", "Application sent", errors): a white card that slides in, counts down and tidies itself away */
.toasts { position: fixed; top: 100px; right: 24px; z-index: 900; width: min(392px, calc(100% - 32px)); display: grid; gap: 10px; pointer-events: none; }
.toast { --tc: var(--green); --tb: #E7F7EE; position: relative; overflow: hidden; pointer-events: auto; display: grid; grid-template-columns: 34px minmax(0, 1fr) 26px; gap: 12px; align-items: start;
  padding: 14px 12px 15px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--text); font-size: .875rem; line-height: 1.45; touch-action: pan-y;
  box-shadow: 0 1px 2px rgba(10, 36, 99, .05), 0 14px 34px -10px rgba(10, 36, 99, .28); animation: toast-in .55s cubic-bezier(.16, 1, .3, 1) backwards; transition: transform .25s ease, opacity .25s ease; }
.toast-error { --tc: var(--red); --tb: #FDECEC; }
.toast-info { --tc: var(--blue); --tb: var(--blue-50); }
.toast-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--tb); color: var(--tc); animation: toast-pop .5s .12s cubic-bezier(.34, 1.56, .64, 1) backwards; }
.toast-ico .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.toast-body { display: grid; gap: 3px; min-width: 0; padding-top: 7px; }
.toast-title { font-size: .9rem; font-weight: 650; color: var(--ink); line-height: 1.35; overflow-wrap: anywhere; }
.toast-msg { color: var(--muted); overflow-wrap: anywhere; }
.toast.is-solo { align-items: center; }
.toast.is-solo .toast-body { padding-top: 0; }
.toast.is-solo .toast-msg { color: var(--text); }
.toast-x { width: 26px; height: 26px; margin-top: 4px; border: 0; border-radius: 8px; background: transparent; color: #8C98AE; cursor: pointer; display: grid; place-items: center; transition: background .15s, color .15s; }
.toast.is-solo .toast-x { margin-top: 0; }
.toast-x:hover { background: var(--bg); color: var(--ink); }
.toast-x svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.toast-bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--tc); opacity: .5; transform-origin: left; animation: toast-time 6s linear forwards; }
.toast.is-paused .toast-bar { animation-play-state: paused; }
.toast.is-leaving { animation: toast-out .32s cubic-bezier(.4, 0, 1, 1) forwards; pointer-events: none; }
.toast.is-swiped { opacity: 0; }
@keyframes toast-in { from { opacity: 0; transform: translateX(28px) scale(.97); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(28px) scale(.97); } }
@keyframes toast-pop { from { opacity: 0; transform: scale(.4); } }
@keyframes toast-time { to { transform: scaleX(0); } }
@media (max-width: 1180px) { .toasts { top: 96px; } }
@media (max-width: 640px) {
  .toasts { top: 80px; right: 16px; }
  .toast { padding: 12px 10px 13px 12px; gap: 10px; grid-template-columns: 32px minmax(0, 1fr) 26px; }
  .toast-ico { width: 32px; height: 32px; }
  .toast-body { padding-top: 6px; }
  @keyframes toast-in { from { opacity: 0; transform: translateY(-16px) scale(.97); } }
  @keyframes toast-out { to { opacity: 0; transform: translateY(-12px) scale(.97); } }
}
@media (prefers-reduced-motion: reduce) { .toast, .toast-ico { animation-name: fade-in; } .toast.is-leaving { animation-name: fade-out; } }

/* "Are you sure?" pop-up */
.cfm { width: min(420px, calc(100% - 32px)); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--text); box-shadow: 0 30px 70px -12px rgba(10, 36, 99, .35); overflow: visible; }
.cfm[open] { animation: cfm-in .32s cubic-bezier(.16, 1, .3, 1); }
.cfm::backdrop { background: rgba(8, 20, 50, .45); backdrop-filter: blur(3px); animation: fade-in .25s ease; }
.cfm.is-closing { animation: cfm-out .18s ease forwards; }
.cfm.is-closing::backdrop { animation: fade-out .18s ease forwards; }
.cfm-box { padding: 26px 26px 22px; text-align: center; }
.cfm-ico { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; display: none; place-items: center; background: var(--blue-50); color: var(--blue); }
.cfm-ico .ic { width: 24px; height: 24px; }
.cfm-ico-delete, .cfm-ico-warn { background: #FDECEC; color: var(--red); }
.cfm[data-kind="delete"] .cfm-ico-delete, .cfm[data-kind="warn"] .cfm-ico-warn, .cfm[data-kind="info"] .cfm-ico-info { display: grid; }
.cfm h2 { font-family: var(--font); font-size: 1.08rem; font-weight: 700; letter-spacing: 0; line-height: 1.35; margin: 0 0 6px; color: var(--ink); }
.cfm p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.cfm p:empty { display: none; }
.cfm-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.cfm-acts .btn { padding: .72em 1em; font-size: .92rem; }
.cfm .btn-confirm-danger { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(217, 54, 54, .28); }
.cfm .btn-confirm-danger:hover { background: #C22C2C; }
@keyframes cfm-in { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@keyframes cfm-out { to { opacity: 0; transform: translateY(6px) scale(.98); } }
@media (max-width: 480px) { .cfm-acts { grid-template-columns: 1fr; } .cfm-acts [data-cfm-yes] { order: -1; } }
@media (prefers-reduced-motion: reduce) { .cfm[open], .cfm.is-closing { animation-name: fade-in; } .cfm.is-closing { animation-name: fade-out; } }

/* Privacy policy */
.legal-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 36px; align-items: start; }
.legal-side { position: sticky; top: 104px; display: grid; gap: 12px; }
.legal-side .faq-nav a { grid-template-columns: 20px minmax(0, 1fr); }
.legal-updated { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0 6px; font-size: .85rem; color: var(--muted); }
.legal-updated .ic { width: 16px; height: 16px; }
.glance { margin-bottom: 24px; }
.glance h2 { font-size: 1.3rem; }
.glance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 6px 0 16px; }
.glance-grid > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 14px; border-radius: 14px; background: var(--blue-50); }
.glance-ico { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; }
.glance-ico .ic { width: 20px; height: 20px; }
.glance-grid b { color: var(--ink); line-height: 1.3; }
.glance-grid small { color: var(--muted); }
.legal-body section { scroll-margin-top: 100px; padding: 6px 0 22px; }
.legal-body section + section { border-top: 1px solid var(--line); padding-top: 26px; }
.legal-body h2 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; }
.legal-body h2 span { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: .9rem; font-style: normal; }
.legal-body h3 { font-size: 1rem; margin-top: 18px; color: var(--navy); }
.legal-body ul { padding-left: 1.2em; }
.legal-body li { margin-bottom: 6px; }
.legal-table { margin: 8px 0 4px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.legal-table td:first-child { font-weight: 600; color: var(--ink); width: 34%; }
.legal-contact { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.legal-contact li { display: flex; align-items: center; gap: 10px; }
.legal-contact .ic { color: var(--blue); }
@media (max-width: 960px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .legal-side { position: static; }
  .legal-side .faq-nav { display: flex; overflow-x: auto; scrollbar-width: none; }
  .legal-side .faq-nav a { flex: none; grid-template-columns: 18px auto; }
}
@media (max-width: 560px) { .glance-grid { grid-template-columns: minmax(0, 1fr); } .legal-table td:first-child { width: auto; } }

/* =========================================================
   Admin: add a member, edit their information, add documents they emailed in
   ========================================================= */
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.admin-head h1 { margin: 0; }
.badge-staff { background: var(--blue-50); color: var(--blue); }
.modal-wide { width: min(780px, 100%); }
.modal-body h3 { font-size: 1rem; }
.doc-add { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 12px 14px; align-items: end; padding: 14px; margin-bottom: 16px; border: 1px dashed #BFD3F8; border-radius: 14px; background: #F7FAFF; }
.doc-add label { font-size: .85rem; }
.doc-add input[type=file] { padding: 8px; font-size: .85rem; }
@media (max-width: 760px) { .doc-add { grid-template-columns: minmax(0, 1fr); } .doc-add .btn { width: 100%; } }
.doc-staff { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; padding: 2px 9px 2px 7px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-size: .74rem; font-weight: 700; white-space: nowrap; }
.doc-staff svg { width: 13px; height: 13px; }
.onb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.onb-list li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #F3F5FA; color: var(--muted); font-size: .84rem; font-weight: 600; }
.onb-list li svg { width: 15px; height: 15px; }
.onb-list li.ok { background: #E8F7EE; color: #17804A; }
.app-del-row { margin-top: 8px; }
.app-del-row .link-btn { display: inline-flex; align-items: center; gap: 5px; color: var(--red); font-size: .85rem; font-weight: 600; }
.app-del-row .ic { width: 15px; height: 15px; }

/* Deleting accounts: the member's own "Delete my account", and the email choice next to Delete member */
/* City picker: search the US city list and pick one (app.js) */
.city-pick { position: relative; }
.city-field { position: relative; }
.city-field input { padding-left: 42px; padding-right: 42px; }
.city-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: grid; color: var(--muted); pointer-events: none; }
.city-ico .ic { width: 18px; height: 18px; }
.city-ok { position: absolute; right: 12px; top: 50%; transform: translateY(-50%) scale(.6); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; opacity: 0; transition: opacity .2s, transform .25s cubic-bezier(.34, 1.56, .64, 1); pointer-events: none; }
.city-ok .ic { width: 12px; height: 12px; stroke-width: 3; }
.city-pick.is-valid .city-ok { opacity: 1; transform: translateY(-50%) scale(1); }
.city-pick.is-valid .city-ico { color: var(--blue); }
.city-list { position: absolute; z-index: 30; left: 0; right: 0; margin: 6px 0 0; padding: 6px; list-style: none; max-height: 280px; overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(10, 36, 99, .28); }
.city-opt { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; cursor: pointer; }
.city-opt b { font-weight: 600; color: var(--ink); }
.city-opt small { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.city-opt.on, .city-opt:hover { background: var(--blue-50); }
.city-opt.on b { color: var(--blue); }
.city-none { padding: 12px; color: var(--muted); font-size: .9rem; }
.city-pick.has-error input { border-color: var(--red); box-shadow: 0 0 0 3px rgba(217, 54, 54, .12); }
.city-pick.has-error [data-city-hint] { color: var(--red); font-weight: 600; }

/* Sign-up: numbered sections (details, work, password), then the agreement and the button */
.su-form { display: grid; gap: 26px; }
.su-sec { display: grid; gap: 16px; min-width: 0; }
.su-sec + .su-sec { padding-top: 24px; border-top: 1px solid var(--line); }
.su-head { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--font); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.su-num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-size: .76rem; letter-spacing: 0; }
.su-end { display: grid; gap: 18px; padding-top: 4px; }
.su-end .check { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--text); }
.pw-field { position: relative; }
.pw-field input { padding-right: 52px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; }
.pw-eye:hover { color: var(--ink); background: var(--blue-50); }
.pw-eye[aria-pressed="true"] { color: var(--blue); }
.pw-eye[aria-pressed="true"]::after { content: ""; position: absolute; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transform: rotate(-45deg); box-shadow: 0 0 0 1.5px #fff; }
.pw-eye .ic { width: 20px; height: 20px; }

/* Vehicle types: cards in a grid, tick all that apply; "Other" opens a box to type the vehicle */
.veh-pick { border: 0; padding: 0; margin: 0; min-width: 0; }
.veh-pick.af-set { margin-top: 16px; }
.veh-pick[hidden] { display: none; }
.veh-pick legend { padding: 0; margin-bottom: 8px; font-weight: 600; color: var(--ink); font-size: .92rem; }
.veh-pick legend .opt { margin-left: 4px; font-weight: 400; font-size: .84rem; color: var(--muted); }
.veh-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.veh-opt { position: relative; margin: 0; cursor: pointer; font-weight: 600; }
.veh-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.veh-card { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 10px 12px 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); font-size: .9rem; line-height: 1.25; transition: border-color .15s, background .15s, color .15s, box-shadow .15s; }
.veh-ic { width: 22px; height: 22px; color: #8A97B2; transition: color .15s; }
.veh-name { flex: 1; min-width: 0; }
.veh-tick { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #B4C2DD; background: #fff; transition: background .15s, border-color .15s; }
.veh-tick .ic { width: 12px; height: 12px; stroke-width: 3.5; color: #fff; opacity: 0; transform: scale(.5); transition: opacity .15s, transform .2s cubic-bezier(.34, 1.56, .64, 1); }
.veh-opt:hover .veh-card { border-color: #B9C8E8; }
.veh-opt input:checked + .veh-card { border-color: var(--blue); background: var(--blue-50); color: var(--navy); }
.veh-opt input:checked + .veh-card .veh-ic { color: var(--blue); }
.veh-opt input:checked + .veh-card .veh-tick { background: var(--blue); border-color: var(--blue); }
.veh-opt input:checked + .veh-card .veh-tick .ic { opacity: 1; transform: none; }
.veh-opt input:focus-visible + .veh-card { box-shadow: 0 0 0 4px rgba(30, 99, 233, .18); }
.veh-other { margin-top: 12px; animation: veh-in .22s ease; }
.veh-other[hidden] { display: none; }
@keyframes veh-in { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .veh-other { animation: none; } }
@media (max-width: 440px) { .veh-card { gap: 8px; padding: 10px 10px 10px 12px; font-size: .86rem; } .veh-ic { width: 20px; height: 20px; } }
@media (max-width: 370px) { .veh-ic { display: none; } }

/* Account settings: one card per section, title on the left, fields on the right */
.set-panel { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); gap: 20px 40px; padding: 26px 28px; margin-top: 16px; }
.set-panel:first-of-type { margin-top: 22px; }
.set-intro h2, .set-intro .set-h { display: block; margin: 2px 0 4px; font-family: var(--display); font-size: 1.05rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.set-intro p, .set-intro .set-p { display: block; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.set-body { min-width: 0; }
.set-body .errors { margin-top: 0; }
.set-foot { display: flex; justify-content: flex-end; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.set-email { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.set-email .ss-chip { margin-top: 0; }
.set-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; font-size: .82rem; font-weight: 600; text-decoration: none !important; }
.set-badge .ic { width: 14px; height: 14px; }
.set-badge.is-ok { background: #E7F7EE; color: #0B6B35; }
.set-badge.is-warn { background: #FFF4E0; color: #8A5300; }
.set-note { margin: 14px 0 0; color: var(--muted); font-size: .9rem; }
.set-danger { display: block; padding: 0; }
.set-danger summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 22px 28px; cursor: pointer; list-style: none; border-radius: inherit; }
.set-danger summary::-webkit-details-marker { display: none; }
.set-danger summary:hover { background: #FFF8F8; }
.set-danger .set-h { color: var(--red); }
.set-chev { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--muted); transition: transform .2s; }
.set-chev .ic { width: 16px; height: 16px; }
.set-danger[open] .set-chev { transform: rotate(90deg); }
.set-danger[open] summary { border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }
.set-danger .set-body { padding: 4px 28px 24px; }
.set-danger .set-note { margin: 16px 0 16px; }
@media (max-width: 1100px) { .set-panel { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
@media (max-width: 760px) {
  .set-panel { padding: 22px 18px; }
  .set-danger { padding: 0; }
  .set-danger summary { padding: 18px; }
  .set-danger .set-body { padding: 4px 18px 20px; }
  .set-foot .btn { width: 100%; }
}

/* Documents: one row per document type, View on the right */
.doc-list { margin-top: 22px; padding: 6px 0; }
.doc-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 22px; }
.doc-row + .doc-row { border-top: 1px solid var(--line); }
.doc-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.doc-ico .ic { width: 20px; height: 20px; }
.doc-info { min-width: 0; display: grid; gap: 2px; }
.doc-info b { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-weight: 600; color: var(--ink); }
.doc-info small { color: var(--muted); font-size: .85rem; }
.doc-count { padding: 2px 8px; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: .75rem; font-weight: 600; }
.doc-row .btn { white-space: nowrap; }
.doc-help { display: flex; align-items: flex-start; gap: 8px; margin: 14px 4px 0; color: var(--muted); font-size: .88rem; }
.doc-help .ic { width: 16px; height: 16px; margin-top: 2px; flex: none; }
@media (max-width: 560px) {
  .doc-row { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; padding: 14px 16px; }
  .doc-ico { width: 40px; height: 40px; }
  .doc-view { width: 40px; height: 40px; padding: 0; } /* just the eye on phones */
  .doc-extra { display: none; } /* size and program name: shown on bigger screens */
  .doc-view span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.danger-zone { border-color: #F3C4C4; }
.danger-zone h3 { display: flex; align-items: center; gap: 8px; color: var(--red); }
.danger-zone h3 .ic { width: 20px; height: 20px; }
.del-member { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.staff-access { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.staff-access label { margin: 0; font-size: .86rem; }
.staff-access select { width: auto; padding: 7px 12px; font-size: .86rem; }
.check-inline { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: .86rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.check-inline input { width: 16px; height: 16px; margin: 0; accent-color: var(--blue); }

/* =========================================================
   Document viewer pop-up (Documents, admin member page, resumes): PDFs and photos open right on the page
   ========================================================= */
.doc-modal .modal-panel { width: min(1000px, 100%); height: min(92vh, 1100px); max-height: none; }
.dv-head { align-items: center; padding: 16px 18px 14px 24px; }
.dv-title { min-width: 0; }
.dv-title h2 { font-size: 1.1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dv-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.dv-count { font-size: .82rem; font-weight: 700; color: #C9D6F5; margin-right: 2px; white-space: nowrap; }
.dv-btn { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; transition: background .2s, transform .2s; }
.dv-btn:hover { background: rgba(255, 255, 255, .26); text-decoration: none; }
.dv-btn[hidden] { display: none; }
.dv-btn:disabled { opacity: .35; cursor: default; }
.dv-btn .ic { width: 19px; height: 19px; }
.dv-body { position: relative; flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; background: #E9EDF5; }
.dv-frame { display: block; width: 100%; height: 100%; border: 0; background: #E9EDF5; }
.dv-image { display: grid; place-items: center; padding: 16px; }
.dv-img { display: block; max-width: 100%; max-height: calc(min(92vh, 1100px) - 110px); object-fit: contain; border-radius: 10px; background: #fff; box-shadow: 0 10px 30px rgba(10, 36, 99, .18); cursor: zoom-in; animation: fade-in .3s ease both; }
.dv-body.is-zoom { display: block; }
.dv-body.is-zoom .dv-img { max-width: none; max-height: none; cursor: zoom-out; }
.dv-pages { display: grid; justify-items: center; gap: 14px; padding: 14px 12px 20px; }
.dv-page { display: block; max-width: 100%; height: auto; background: #fff; border-radius: 6px; box-shadow: 0 8px 24px rgba(10, 36, 99, .16); animation: fade-in .3s ease both; }
.dv-spin { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--muted); font-weight: 600; font-size: .92rem; pointer-events: none; }
.dv-spin span { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #C9D6F5; border-top-color: var(--blue); animation: dv-spin .8s linear infinite; }
@keyframes dv-spin { to { transform: rotate(360deg); } }
.dv-body:not(.is-loading) .dv-spin { display: none; }
.dv-card { display: grid; justify-items: center; gap: 10px; max-width: 380px; margin: 0 auto; padding: 48px 24px; text-align: center; }
.dv-card .verify-ico { margin-bottom: 4px; }
.dv-card p { margin: 0 0 8px; color: var(--muted); }
@media (max-width: 640px) {
  .doc-modal .modal-panel { height: 94vh; }
  .dv-head { padding: 14px 12px 12px 16px; gap: 10px; }
  .dv-tools { gap: 6px; }
  .dv-btn, .doc-modal .modal-x { width: 36px; height: 36px; }
  .dv-count { display: none; }
  .dv-img { max-height: calc(94vh - 100px); }
}

/* =========================================================
   ADMIN: one organized layout for every staff page
   Menu in labeled groups · page header (group, title, one-line explanation, main buttons) · even spacing
   ========================================================= */
.admin-page { background: #F4F6FA; }
/* The frame: navy menu on the left (full height), a slim top bar, then the page */
.ad-shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; background: linear-gradient(90deg, #0B1D52 0 252px, transparent 252px); }
.ad-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; overflow: hidden; background: linear-gradient(180deg, #0A2463 0%, #0B1D52 100%); color: #C9D6F5; z-index: 60; }
.ad-brand { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; }
.ad-logo { display: block; flex: none; background: #fff; border-radius: 12px; padding: 5px 9px; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.ad-logo .logo { display: block; height: 38px; width: auto; }
.ad-tag { font-family: var(--display); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.ad-close { display: none; margin-left: auto; width: 36px; height: 36px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; place-items: center; }
.ad-close .ic { width: 18px; height: 18px; }
.an-links { flex: 1; overflow-y: auto; padding: 4px 12px 12px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.an-label { margin: 18px 10px 6px; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #7F93C7; }
.an-links .an-label:first-child { margin-top: 6px; }
.admin-nav a { position: relative; display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 10px; color: #D5DEF4; font-weight: 600; font-size: .9rem; line-height: 1.3; transition: background .15s, color .15s; }
.admin-nav a > span:first-of-type { flex: 1; min-width: 0; }
.admin-nav a .ic { width: 18px; height: 18px; color: #8EA3D6; transition: color .15s; }
.admin-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; text-decoration: none; }
.admin-nav a:hover .ic { color: #fff; }
.admin-nav a.active { background: rgba(142, 194, 255, .16); color: #fff; box-shadow: none; }
.admin-nav a.active::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--sky); }
.admin-nav a.active .ic { color: var(--sky); }
.admin-nav .nav-count { box-shadow: none; }
.an-foot { padding: 10px 12px 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.an-user { display: flex; align-items: center; gap: 11px; padding: 10px 8px 2px; }
.an-user > span:nth-child(2) { min-width: 0; flex: 1; }
.an-avatar { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; font-family: var(--display); font-weight: 800; font-size: .8rem; letter-spacing: .02em; }
.an-user b { display: block; color: #fff; font-size: .9rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-user small { display: block; color: #8EA3D6; font-size: .76rem; }
.ad-scrim { display: none; }
.ad-body { min-width: 0; display: flex; flex-direction: column; }
.ad-top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 32px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid #E3E8F1; }
.ad-menu { display: none; flex: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); cursor: pointer; place-items: center; }
.ad-menu .ic { width: 20px; height: 20px; }
.ad-crumbs { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: .88rem; color: var(--muted); white-space: nowrap; overflow: hidden; }
.ad-crumbs a { color: var(--muted); font-weight: 600; }
.ad-crumbs a:hover { color: var(--blue); text-decoration: none; }
.ad-crumbs > * + *::before { content: "/"; margin-right: 8px; color: #B6C2D9; font-weight: 400; }
.ad-crumbs b { color: var(--ink); font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.ad-top-acts { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.ad-top-acts form { margin: 0; }
.ad-top-link { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 0; border-radius: 10px; background: none; color: var(--text); font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ad-top-link.is-on { color: var(--blue); }
.ad-top-link .ic { width: 17px; height: 17px; color: var(--muted); }
.ad-top-link:hover { background: #EEF2F8; color: var(--navy); text-decoration: none; }
.admin-main { flex: 1; width: 100%; max-width: 1680px; margin-inline: auto; padding: 28px 32px 48px; } /* fills wide screens, centred on very wide ones */
.admin-main h1:focus { outline: none; }

/* Admin pages open without reloading (app.js): a thin bar at the top while the next page loads, the current one dims
   slightly if it takes a moment, and the new one fades in */
.ad-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 2000; height: 3px; pointer-events: none; opacity: 0; }
.ad-progress::before { content: ""; display: block; height: 100%; background: linear-gradient(90deg, var(--sky), var(--blue)); box-shadow: 0 0 10px rgba(30, 99, 233, .5); border-radius: 0 3px 3px 0; transform: scaleX(0); transform-origin: left; }
.ad-progress.is-on { opacity: 1; }
.ad-progress.is-on::before { animation: ad-load 9s cubic-bezier(.08, .8, .2, 1) forwards; }
.ad-progress.is-done { opacity: 0; transition: opacity .3s .15s; }
.ad-progress.is-done::before { animation: none; transform: scaleX(1); }
@keyframes ad-load { 0% { transform: scaleX(0); } 8% { transform: scaleX(.3); } 100% { transform: scaleX(.94); } }
.admin-main { transition: opacity .18s ease; }
.ad-shell.is-swapping .admin-main { opacity: .5; pointer-events: none; }
.admin-main.is-entering { animation: ad-enter .26s ease both; }
@keyframes ad-enter { from { opacity: .3; } to { opacity: 1; } } /* no movement: pop-ups inside the page must stay fixed to the screen */
@media (prefers-reduced-motion: reduce) { .admin-main.is-entering { animation: none; } .ad-progress.is-on::before { animation-duration: 20s; } }
.ad-foot { display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; padding: 16px 32px; border-top: 1px solid #E3E8F1; font-size: .82rem; color: var(--muted); }
.ad-foot a { color: var(--muted); }
.ad-foot a:hover { color: var(--blue); }
.admin-page .toasts { top: 72px; }
.admin-page .live-bar { top: 72px; }
.admin-page :is(.os-compose, .wm-program, .ct-side) { top: 80px; }
.admin-page #ib-preview { scroll-margin-top: 76px; }

.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin: 0 0 22px; }
.admin-head .ah-text { min-width: 0; flex: 1 1 380px; }
.admin-head .eyebrow { margin-bottom: 6px; }
.admin-head h1 { margin: 0; font-size: clamp(1.55rem, 2.3vw, 1.95rem); letter-spacing: -.02em; line-height: 1.15; }
.admin-head p { margin: 6px 0 0; color: var(--muted); max-width: 70ch; font-size: .96rem; line-height: 1.55; }
.ah-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-main > * + :where(:not(.modal)) { margin-top: 20px; } /* pop-ups cover the whole screen, never pushed down */
.admin-main > .admin-head + * { margin-top: 0; }
.admin-main > .card + .card, .admin-main > .card + .grid, .admin-main > .grid + .card, .admin-main > .card.pad + .card.pad { margin-top: 20px; }
.admin-main .card.pad { padding: 22px 24px; }
.admin-main .card.pad > h2:first-child, .admin-main .card.pad > h3:first-child, .panel-title { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 1.05rem; letter-spacing: -.005em; }
.admin-main .card.pad > h3:first-child .muted { font-weight: 600; font-size: .9rem; }
.admin-main table th { font-size: .7rem; letter-spacing: .08em; }
.admin-main table td { vertical-align: middle; }

/* A section card with a title bar: <section class="card panel"><header class="panel-head">…</header><div class="panel-body">…</div></section> */
.panel { padding: 0; overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.panel-head h2 .ic { width: 19px; height: 19px; color: var(--blue); }
.panel-head small, .panel-head .ph-sub { color: var(--muted); font-size: .86rem; font-weight: 600; }
.panel-head a { font-weight: 700; font-size: .9rem; }
.panel-body { padding: 20px 22px; }
.panel-body.flush { padding: 6px; }

.admin-foot { border-top: 1px solid var(--line); background: #fff; }
.admin-foot .container { width: min(1320px, 100% - 32px); display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; padding: 16px 0; font-size: .85rem; color: var(--muted); }
.admin-foot a { color: var(--muted); }
.admin-foot a:hover { color: var(--blue); }

@media (max-width: 1024px) {
  .ad-shell { grid-template-columns: minmax(0, 1fr); background: none; }
  .ad-side { position: fixed; left: 0; top: 0; bottom: 0; width: min(290px, 86vw); height: auto; transform: translateX(-102%); transition: transform .25s ease; box-shadow: 0 20px 60px rgba(7, 26, 74, .35); }
  .ad-shell.is-open .ad-side { transform: none; }
  .ad-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(7, 26, 74, .45); opacity: 0; pointer-events: none; transition: opacity .25s; display: block; }
  .ad-shell.is-open .ad-scrim { opacity: 1; pointer-events: auto; }
  .ad-close, .ad-menu { display: grid; }
  .ad-top { padding: 0 16px; }
  .admin-main { padding: 22px 20px 40px; }
  .ad-foot { padding: 14px 20px; }
}
@media (max-width: 640px) {
  .ad-top-link span { display: none; }
  .ad-top-link { padding: 9px; }
  .admin-main { padding: 18px 14px 32px; }
  .admin-head { margin-bottom: 16px; }
  .admin-main .card.pad { padding: 18px; }
  .panel-head { padding: 14px 16px; }
  .panel-body { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .ad-side, .ad-scrim { transition: none; } }

/* Admin overview */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label ico" "num ico" "sub sub"; align-items: start; align-content: start; gap: 2px 12px; padding: 18px 20px; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.kpi:hover { text-decoration: none; transform: translateY(-2px); border-color: #C9D6F5; box-shadow: 0 16px 34px rgba(10, 36, 99, .1); }
.kpi-ico { grid-area: ico; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.kpi-ico .ic { width: 21px; height: 21px; }
.kpi-label { grid-area: label; font-size: .84rem; font-weight: 700; color: var(--muted); }
.kpi-num { grid-area: num; font-family: var(--display); font-size: 2.1rem; line-height: 1.1; color: var(--ink); }
.kpi-sub { grid-area: sub; margin-top: 6px; font-size: .8rem; line-height: 1.4; color: var(--muted); }
.kpis .kpi:first-child .kpi-ico { background: var(--navy); color: #fff; }
.ov-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.ov-side { display: grid; gap: 20px; }
.ov-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 104px; align-items: center; gap: 12px; padding: 11px 16px; border-radius: 12px; color: var(--text); }
.ov-row + .ov-row { border-top: 1px solid var(--line); }
.ov-row:hover { background: var(--blue-50); text-decoration: none; }
.ov-row:hover + .ov-row { border-top-color: transparent; }
.ov-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #E8EEFC; color: var(--navy); font-weight: 800; font-family: var(--display); }
.ov-who { min-width: 0; }
.ov-who b, .ov-who small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-who b { color: var(--ink); font-size: .95rem; }
.ov-who small { color: var(--muted); font-size: .84rem; }
.ov-date { color: var(--muted); font-size: .84rem; white-space: nowrap; }
.ov-status { text-align: right; }
.todo { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-radius: 12px; color: var(--text); font-weight: 600; font-size: .92rem; }
.todo + .todo { border-top: 1px solid var(--line); }
.todo:hover { background: var(--blue-50); text-decoration: none; }
.todo-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #FFF1F1; color: #D93636; }
.todo-ico .ic { width: 17px; height: 17px; }
.todo-label { flex: 1; min-width: 0; line-height: 1.35; }
.todo-n { min-width: 28px; height: 26px; padding: 0 9px; border-radius: 999px; background: #E5383B; color: #fff; font-size: .8rem; line-height: 26px; text-align: center; }
.ov-clear { display: flex; align-items: center; gap: 10px; margin: 0; color: #17804A; font-weight: 600; }
.ov-clear .ic { width: 20px; height: 20px; }
.ov-quiet { color: var(--muted); }
/* Overview → Today: sign-ups and finished onboarding, newest first */
.today-row .todo-label b { display: block; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.today-row .todo-label small { display: block; color: var(--muted); font-weight: 500; font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.todo-ico.is-new { background: var(--blue-50); color: var(--blue); }
.todo-ico.is-done { background: #E8F7EE; color: #17804A; }
.todo-ico.is-lead { background: #FFF1E4; color: #D9620F; }
.badge-pop { background: #FFF1E4; color: #B24C08; }
/* Admin → Hiring pop-up */
.pm-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.pm-leads { position: sticky; top: 80px; }
.pm-pic { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.pm-deco { margin: -12px 0 26px; }
.pm-pic img { flex: none; width: 120px; height: auto; border-radius: 10px; border: 1px solid var(--line); }
.pm-pic > div { flex: 1; min-width: 0; display: grid; gap: 8px; }
.pm-nopic { flex: none; width: 120px; height: 160px; display: grid; place-items: center; align-content: center; gap: 6px; border: 1.5px dashed var(--line); border-radius: 10px; color: var(--muted); font-size: .8rem; }
.pm-nopic .ic { width: 20px; height: 20px; }
@media (max-width: 1100px) { .pm-layout { grid-template-columns: minmax(0, 1fr); } .pm-leads { position: static; } }
.today-time { flex: none; color: var(--muted); font-size: .8rem; font-weight: 600; }
.today-more { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-top: 1px solid var(--line); font-weight: 700; font-size: .86rem; }
.today-more .ic { width: 16px; height: 16px; }
/* "N drivers finished onboarding since you last looked" (Admin → Onboarding) */
.news-box { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid #BFE5CC; border-radius: 14px; background: #F1FBF4; }
.news-box > div { flex: 1; min-width: 0; display: grid; gap: 3px; }
.news-box b { color: #11663A; }
.news-box span { color: var(--text); font-size: .9rem; line-height: 1.5; }
.news-box small { color: var(--muted); }
.news-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #DDF3E5; color: #17804A; }
.news-ico .ic { width: 18px; height: 18px; }
.badge-new { vertical-align: 1px; }
@media (max-width: 640px) { .news-box { flex-wrap: wrap; } }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr) 2rem; align-items: center; gap: 12px; font-size: .88rem; }
.bar-label { color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar { height: 10px; border-radius: 999px; background: #EDF1F8; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--sky)); }
.bars b { text-align: right; color: var(--ink); }
@media (max-width: 1180px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ov-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .kpis { gap: 10px; }
  .kpi { padding: 14px; grid-template-areas: "label label" "num ico" "sub sub"; }
  .kpi-ico { width: 34px; height: 34px; } .kpi-num { font-size: 1.7rem; }
  .kpi-sub { white-space: normal; }
  .ov-row { grid-template-columns: 34px minmax(0, 1fr) auto; padding: 10px 12px; }
  .ov-av { width: 34px; height: 34px; } .ov-date { display: none; }
}
@media (max-width: 560px) {
  .ah-actions { width: 100%; }
  .ah-actions > .btn, .ah-actions > form { flex: 1 1 auto; }
  .ah-actions .btn { padding-left: 12px; padding-right: 12px; font-size: .92rem; justify-content: center; }
}

/* Admin: Walmart routes */
.wm-layout { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 20px; align-items: start; }
.wm-program { position: sticky; top: 100px; }
.wm-layout .wm-settings { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.wm-layout .wm-settings label:not(.check) { margin-bottom: 6px; }
.wm-layout .wm-preview { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--blue-50); color: var(--navy); }
.wm-layout .wm-preview small { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.wm-layout .wm-add { margin: 0 0 16px; }
.wm-layout .wm-list { gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.wm-layout .wm-row { grid-template-columns: minmax(0, 1fr) 84px 116px 150px; gap: 14px; padding: 8px 12px; border: 0; border-radius: 0; }
.wm-layout .wm-row + .wm-row { border-top: 1px solid var(--line); }
.wm-layout .wm-head { padding: 9px 12px; background: #F7F9FD; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wm-layout .wm-name { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.wm-layout .wm-name input { border-color: transparent; background: transparent; font-weight: 600; color: var(--ink); padding: 8px 10px; }
.wm-layout .wm-name input:hover { border-color: var(--line); background: #fff; }
.wm-layout .wm-name input:focus { border-color: var(--blue); background: #fff; }
.wm-layout .wm-apps { font-weight: 700; color: var(--blue); }
.wm-layout .wm-apps span { font-weight: 600; color: var(--muted); }
.wm-actions { display: flex; gap: 6px; justify-content: flex-end; }
.btn-icon { width: 34px; padding-left: 0; padding-right: 0; justify-content: center; }
@media (max-width: 1100px) { .wm-layout { grid-template-columns: minmax(0, 1fr); } .wm-program { position: static; } }
@media (max-width: 640px) {
  .wm-layout .wm-head { display: none; }
  .wm-layout .wm-row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "name name name" "status apps actions"; gap: 6px 10px; padding: 10px 12px; }
  .wm-layout .wm-row > :nth-child(1) { grid-area: name; } .wm-layout .wm-row > :nth-child(2) { grid-area: status; }
  .wm-layout .wm-row > :nth-child(3) { grid-area: apps; } .wm-layout .wm-row > :nth-child(4) { grid-area: actions; }
  .wm-layout .wm-name input { padding-left: 0; }
}

/* Admin: small shared pieces */
.info-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.info-strip > div { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: .86rem; line-height: 1.5; color: var(--muted); }
.info-strip .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--blue); }
.info-strip b { color: var(--ink); }
@media (max-width: 1180px) { .info-strip { grid-template-columns: minmax(0, 1fr); } }
.admin-main .back-link { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 10px; color: var(--blue); font-weight: 700; font-size: .9rem; }
.admin-main .back-link .ic { width: 16px; height: 16px; }
.admin-main .back-link + .admin-head { margin-top: 0; }

/* Admin: contact messages */
.msg-list { display: grid; gap: 14px; }
.msg { padding: 18px 20px; border-left: 4px solid transparent; }
.msg.is-new { border-left-color: var(--blue); }
.msg.is-done { background: #FBFCFE; }
.msg.is-done .msg-body { color: var(--muted); }
.msg-head { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.msg-who { min-width: 0; }
.msg-who b { display: block; color: var(--ink); }
.msg-who small { display: block; font-size: .85rem; color: var(--muted); overflow-wrap: anywhere; }
.msg-meta { display: grid; justify-items: end; gap: 4px; }
.msg-meta time { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.msg-body { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #F5F7FB; line-height: 1.6; }
.msg-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.msg-del { margin-left: auto; }
@media (max-width: 600px) { .msg { padding: 16px; } .msg-head { grid-template-columns: 34px minmax(0, 1fr); } .msg-meta { grid-column: 1 / -1; justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; gap: 10px; } }

/* Admin: job posts */
.net-card { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 20px; background: linear-gradient(135deg, #FFFFFF, #F4F8FF); }
.net-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.net-ico .ic { width: 22px; height: 22px; }
.net-text b { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--ink); }
.net-text p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.net-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.jl-row { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.2fr) minmax(0, 1.1fr) 76px 100px 268px; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; }
.jl-row + .jl-row { border-top: 1px solid var(--line); }
.jl-row:not(.jl-head):hover { background: #F7FAFF; }
.jl-head { padding-top: 10px; padding-bottom: 10px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.jl-head span:last-child { text-align: right; }
.jl-job { min-width: 0; }
.jl-job a b { color: var(--ink); }
.jl-job a:hover b { color: var(--blue); }
.jl-job small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.45; margin-top: 2px; }
.jl-job .jl-auto { display: flex; align-items: center; gap: 5px; color: #6B4FD0; font-weight: 600; font-size: .78rem; }
.jl-auto .ic { width: 13px; height: 13px; }
.jl-type, .jl-hire { font-size: .88rem; color: var(--text); line-height: 1.45; }
.jl-hire small { display: block; color: #0B6B35; font-weight: 600; font-size: .8rem; }
.jl-k { display: none; }
.jl-apps { font-size: .86rem; color: var(--muted); white-space: nowrap; }
.jl-apps b { color: var(--blue); font-size: 1rem; }
.jl-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: nowrap; }
@media (max-width: 1240px) {
  .jl-head { display: none; }
  .jl-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "job status" "type hire" "apps actions"; gap: 8px 16px; padding: 16px; }
  .jl-job { grid-area: job; } .jl-status { grid-area: status; justify-self: end; } .jl-type { grid-area: type; } .jl-hire { grid-area: hire; }
  .jl-apps { grid-area: apps; } .jl-actions { grid-area: actions; }
  .jl-k { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
}
@media (max-width: 1180px) {
  .net-card { grid-template-columns: 44px minmax(0, 1fr); }
  .net-actions { grid-column: 2 / -1; justify-content: flex-start; }
}
@media (max-width: 640px) {
  .net-card { grid-template-columns: 40px minmax(0, 1fr); }
  .net-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .jl-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "job job" "status apps" "type hire" "actions actions"; }
  .jl-status { justify-self: start; } .jl-apps { justify-self: end; } .jl-actions { justify-content: flex-start; }
}

/* Admin: members list. "New today": today's sign-ups (New York time) + sign-ups per day for 14 days */
.nt-panel { display: grid; grid-template-columns: minmax(0, 1fr) 288px; gap: 20px 28px; padding: 20px 22px; margin-top: 16px; }
.nt-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.1rem; }
.nt-count { display: inline-grid; place-items: center; min-width: 28px; height: 26px; padding: 0 9px; border-radius: 999px; background: var(--blue); color: #fff; font-family: var(--font); font-size: .86rem; font-weight: 800; }
.nt-count.is-zero { background: #E9EEF6; color: var(--muted); }
.nt-head p { margin: 4px 0 12px; color: var(--muted); font-size: .86rem; }
.nt-empty { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: .9rem; }
.nt-empty .ic { width: 18px; height: 18px; }
.nt-list { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.nt-row { display: grid; grid-template-columns: 74px minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 14px; color: var(--text); font-size: .88rem; }
.nt-row + .nt-row { border-top: 1px solid var(--line); }
a.nt-row:hover { background: var(--blue-50); text-decoration: none; }
.nt-time { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nt-who { min-width: 0; }
.nt-who b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; color: var(--ink); }
.nt-who small, .nt-type small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: .8rem; }
.nt-who small.nt-contact { white-space: normal; line-height: 1.4; }
.nt-contact > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-type { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-veh > span { white-space: nowrap; }
.nt-chart { margin: 0; padding-left: 24px; border-left: 1px solid var(--line); }
.nt-chart figcaption b { display: block; color: var(--ink); font-size: .92rem; }
.nt-chart figcaption small { display: block; margin-top: 2px; color: var(--muted); font-size: .8rem; }
.nt-chart figcaption small.nt-filt { margin-top: 0; color: var(--blue); font-weight: 600; }
.nt-plot { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px; align-items: end; height: 112px; margin-top: 14px; padding-top: 18px; border-bottom: 1px solid #C5D0E0; }
.nt-day { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.nt-bar { display: block; width: 100%; max-width: 14px; border-radius: 4px 4px 0 0; background: #B9CCF4; }
.nt-day.is-today .nt-bar { background: var(--blue); }
.nt-day:hover .nt-bar { filter: brightness(.92); }
.nt-val { margin-bottom: 3px; color: var(--muted); font-size: .72rem; font-weight: 700; line-height: 1; }
.nt-day.is-today .nt-val { color: var(--ink); }
.nt-axis { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px; margin-top: 5px; }
.nt-axis span { text-align: center; color: var(--muted); font-size: .68rem; font-variant-numeric: tabular-nums; }
.nt-axis span.is-today { color: var(--blue); font-weight: 800; }
.nt-range { display: flex; justify-content: space-between; margin-top: 4px; color: var(--muted); font-size: .72rem; }
@media (max-width: 1280px) {
  .nt-panel { grid-template-columns: minmax(0, 1fr); }
  .nt-chart { padding-left: 0; padding-top: 16px; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .nt-panel { padding: 16px; }
  .nt-row { grid-template-columns: 62px minmax(0, 1fr); gap: 2px 10px; }
  .nt-type, .nt-veh { grid-column: 2; font-size: .82rem; color: var(--muted); }
  .nt-type { white-space: normal; }
  .nt-type > span { white-space: nowrap; }
  .nt-type small { display: inline; white-space: normal; }
  .nt-type small::before { content: " · "; }
}

/* Admin live updates: counts that change by themselves, the sound switch, alerts with View, and the "N new · Show" bar */
.nav-count.is-bump { animation: live-bump .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes live-bump { 40% { transform: scale(1.25); } }
.an-sound { display: flex; align-items: center; gap: 11px; width: 100%; padding: 8px 10px; border: 0; border-radius: 10px; background: none; color: #A9B8DE; font: inherit; font-size: .85rem; font-weight: 600; text-align: left; cursor: pointer; }
.an-sound:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.an-sound .ic { width: 18px; height: 18px; }
.an-sound b { color: var(--sky); }
.an-out { margin: 0 0 0 auto; flex: none; }
.an-signout { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; background: rgba(255, 255, 255, .05); color: #C9D6F5; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.an-signout .ic { width: 18px; height: 18px; }
.an-signout:hover, .an-signout:focus-visible { background: rgba(239, 68, 68, .18); border-color: rgba(252, 165, 165, .45); color: #FCA5A5; }
.an-sound[aria-pressed="false"] b { color: #7F93C7; }
.live-alert .toast-bar { animation-duration: 12s; }
.live-view { justify-self: start; margin-top: 4px; font-weight: 700; color: var(--blue); }
.live-bar { position: fixed; top: 96px; left: 0; right: 0; width: max-content; margin-inline: auto; z-index: 880; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 8px 8px 8px 16px;
  border-radius: 999px; background: var(--navy); color: #fff; font-size: .9rem; font-weight: 600; box-shadow: 0 12px 30px -8px rgba(10, 36, 99, .45);
  transform: translateY(-14px); opacity: 0; transition: transform .35s cubic-bezier(.16, 1, .3, 1), opacity .25s ease; }
.live-bar.is-in { transform: none; opacity: 1; }
.live-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #5CE0A0; box-shadow: 0 0 0 0 rgba(92, 224, 160, .6); animation: live-pulse 1.8s infinite; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 8px rgba(92, 224, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(92, 224, 160, 0); } }
.live-show { flex: none; padding: 6px 14px; border: 0; border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.live-show:hover { background: var(--blue-50); }
.live-bar.is-out { background: #9A3412; }
.live-bar.is-out .live-dot { background: #FDBA74; animation: none; }
.live-bar.is-out .live-show { color: #9A3412; }
@media (max-width: 900px) { /* phones: alerts drop in at the top, so the bar sits at the bottom */
  .live-bar { top: auto; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateY(14px); }
  .live-bar.is-in { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .live-bar, .nav-count.is-bump, .live-dot { transition: none; animation: none; } }

/* Admin: send onboarding email (form, preview of the real email, recently sent) */
.os-layout { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 20px; align-items: start; }
.os-compose { position: sticky; top: 100px; }
.os-form { display: grid; gap: 14px; }
.os-form label:not(.veh-opt) { margin-bottom: 6px; }
.os-form .errors { margin: 0; }
.os-type-grid { grid-template-columns: minmax(0, 1fr); }
.os-types .veh-name small { display: block; margin-top: 1px; font-weight: 400; font-size: .8rem; color: var(--muted); }
.os-form .hint { margin-bottom: 0; }
.os-acts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.os-side { display: grid; gap: 20px; min-width: 0; }
.os-preview .panel-head { gap: 12px; }
.os-meta { display: grid; gap: 6px; margin: 0 0 12px; font-size: .9rem; }
.os-meta div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; }
.os-meta dt { color: var(--muted); font-weight: 600; }
.os-meta dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.os-who { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--blue-50); color: var(--navy); font-size: .88rem; line-height: 1.5; }
.os-who .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--blue); }
.os-who.is-warn { background: #FFF6E5; color: #7A4B00; }
.os-who.is-warn .ic { color: #B86E00; }
.os-tabs { display: inline-flex; gap: 4px; margin: 0 0 18px; padding: 4px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 100%; overflow-x: auto; }
.os-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; font-weight: 700; font-size: .92rem; color: var(--text); white-space: nowrap; transition: background .2s, color .2s; }
.os-tabs a .ic { width: 17px; height: 17px; }
.os-tabs a:hover { background: var(--blue-50); color: var(--blue); }
.os-tabs a.on { background: var(--blue); color: #fff; }
.os-tab-n { padding: 2px 8px; border-radius: 99px; background: #FFF4DD; color: #9A5B00; font-size: .74rem; font-weight: 800; }
.os-tabs a.on .os-tab-n { background: rgba(255, 255, 255, .2); color: #fff; }
.os-acts-one { grid-template-columns: minmax(0, 1fr); }
.os-form textarea { min-height: 220px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86rem; line-height: 1.6; }
.os-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.os-stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.os-stats > div { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: #F7F9FC; border: 1px solid var(--line); }
.os-stats b { font-family: var(--display); font-size: 1.35rem; line-height: 1.1; color: var(--ink); }
.os-stats span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.os-stats .is-ok { background: #EAF7EF; border-color: #CBEBD8; } .os-stats .is-ok b { color: #0D6B37; }
.os-stats .is-warn { background: #FFF6E5; border-color: #F6DFB1; } .os-stats .is-warn b { color: #9A5B00; }
.os-reasons { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; font-size: .88rem; }
.os-reasons li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
.os-reasons b { color: var(--ink); }
.os-plan { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--blue-50); color: var(--navy); font-size: .88rem; line-height: 1.5; }
.os-plan .ic { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--blue); }
.os-skipped { margin-top: 14px; font-size: .88rem; }
.os-skipped summary { cursor: pointer; font-weight: 700; color: var(--blue); }
.os-skipped ul { list-style: none; margin: 10px 0 0; padding: 0; max-height: 260px; overflow: auto; display: grid; gap: 6px; }
.os-skipped li { display: flex; justify-content: space-between; gap: 12px; }
.os-skipped li span { min-width: 0; overflow-wrap: anywhere; color: var(--ink); }
.os-skipped li small { flex: none; color: var(--muted); }
.os-qacts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 12px; }
.os-perday { display: flex; align-items: center; gap: 8px; margin: 0; }
.os-perday label { margin: 0; font-weight: 600; font-size: .88rem; }
.os-perday input { width: 92px; padding: 6px 10px; border-radius: 9px; }
.os-clear { color: var(--red); font-weight: 600; font-size: .88rem; }
.os-qlist { border-top: 1px solid var(--line); }
.os-qlist li.is-next { background: #FBFCFF; }
.q-sent { color: #0D6B37; font-weight: 700; } .q-skipped, .q-removed { color: var(--muted); font-weight: 700; } .q-failed { color: var(--red); font-weight: 700; }
@media (max-width: 640px) { .os-stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.os-again { margin: 0; padding: 10px 12px; border-radius: 10px; background: #FFF6E5; color: #7A4B00; font-weight: 600; }
.os-meter { display: grid; gap: 8px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.os-meter p { margin: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; }
.os-meter b { color: var(--ink); }
.os-meter-bar { display: block; height: 6px; border-radius: 99px; background: #EEF1F6; overflow: hidden; }
.os-meter-bar span { display: block; height: 100%; border-radius: inherit; background: var(--blue); transition: width .4s ease; }
.os-meter.is-high .os-meter-bar span { background: #E08A00; }
.os-meter .hint { font-size: .78rem; }
.os-mail { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.os-mail > table { width: 100%; }
.os-list { list-style: none; margin: 0; padding: 0; }
.os-list li { display: grid; grid-template-columns: 70px minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: center; padding: 11px 20px; font-size: .88rem; }
.os-list li + li { border-top: 1px solid var(--line); }
.os-list small { display: block; color: var(--muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.os-when { font-weight: 700; color: var(--navy); white-space: nowrap; }
.os-to { min-width: 0; }
.os-to b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
@media (max-width: 1100px) { .os-layout { grid-template-columns: minmax(0, 1fr); } .os-compose { position: static; } }
@media (max-width: 640px) {
  .os-list li { grid-template-columns: 58px minmax(0, 1fr); gap: 2px 10px; padding: 11px 16px; }
  .os-kind, .os-state { grid-column: 2; }
  .os-kind small, .os-state small { display: inline; margin-left: 6px; }
}

/* Admin: automatic follow-ups (status, one card per reminder, previews, log); the pause switch on a member's page */
.fu-status { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 20px; align-items: center; padding: 20px 22px; margin-bottom: 20px; }
.fu-state { display: flex; gap: 14px; align-items: center; min-width: 0; }
.fu-state-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #EEF1F6; color: var(--muted); }
.fu-state-ico .ic { width: 22px; height: 22px; }
.fu-status.is-on .fu-state-ico { background: var(--blue-50); color: var(--blue); }
.fu-state b { display: block; font-family: var(--display); font-size: 1.1rem; color: var(--ink); }
.fu-state small, .fu-cron small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.fu-state-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.fu-cron { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #FFF6E5; color: #7A4B00; }
.fu-cron > .ic { flex: none; width: 18px; height: 18px; margin-top: 3px; color: #B86E00; }
.fu-cron > div > b { display: block; color: inherit; font-size: .92rem; }
.fu-howto b { color: var(--ink); }
.fu-cron small { color: inherit; opacity: .9; }
.fu-cron.is-ok { background: #EAF7EF; color: #0D6B37; }
.fu-cron.is-ok > .ic { color: var(--green); }
.fu-howto { margin-top: 8px; font-size: .88rem; }
.fu-howto summary { cursor: pointer; font-weight: 700; color: var(--blue); }
.fu-howto ol { margin: 10px 0 8px; padding-left: 20px; display: grid; gap: 6px; color: var(--text); }
.fu-code { display: block; margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: .8rem; color: var(--ink); overflow-wrap: anywhere; user-select: all; }
.fu-form { display: grid; gap: 20px; margin-bottom: 20px; }
.fu-form .errors { margin: 0; }
.fu-list { display: grid; gap: 12px; }
.fu-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; padding: 16px; border: 1.5px solid var(--blue); border-radius: 14px; background: #FBFCFF; }
.fu-item.is-off { border-color: var(--line); background: #fff; }
.fu-item.is-off .fu-when, .fu-item.is-off .fu-stats { opacity: .6; }
.fu-top { display: flex; gap: 12px; align-items: flex-start; margin: 0; cursor: pointer; font-weight: 500; }
.fu-top input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.fu-top b { display: block; color: var(--ink); }
.fu-top small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.fu-stats { margin: 0; display: grid; justify-items: end; align-content: start; gap: 2px; font-size: .8rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.fu-stats span:first-child { color: var(--navy); }
.fu-when { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; padding-left: 30px; font-size: .9rem; color: var(--text); }
.fu-when label { margin: 0; font-weight: 600; }
.fu-when input { width: 96px; padding: 6px 10px; border-radius: 9px; }
.fu-opt .fu-when { padding-left: 0; }
.fu-opt .fu-when input { width: 64px; }
.fu-prev { grid-column: 1 / -1; padding-left: 30px; }
.fu-prev summary { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; font-size: .86rem; font-weight: 600; color: var(--blue); }
.fu-prev summary .ic { width: 16px; height: 16px; flex: none; }
.fu-prev[open] summary { margin-bottom: 10px; }
.fu-prev .os-mail { max-width: 560px; }
.fu-opt { display: grid; gap: 14px; align-content: start; }
.fu-opt .check { margin: 0; }
.fu-opt .hint { margin-bottom: 0; }
.fu-opt label[for] { margin-bottom: 6px; }
.fu-opt .fu-when label[for] { margin-bottom: 0; }
.fu-opt .fu-prev { padding-left: 0; }
.fu-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.fu-form > .row-actions { margin: 0; }
.fu-log li { grid-template-columns: 70px minmax(0, 1.6fr) minmax(0, 1.2fr); }
.fu-fail { color: var(--red); font-weight: 600; }
.fu-log .os-kind b { display: block; color: var(--ink); font-weight: 600; }
.fu-member { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: var(--blue-50); color: var(--navy); }
.fu-member > .ic { flex: none; width: 18px; height: 18px; color: var(--blue); align-self: flex-start; margin-top: 3px; }
.fu-member > div { flex: 1 1 260px; min-width: 0; }
.fu-member b { display: block; font-size: .92rem; }
.fu-member small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.fu-member.is-off { background: #F3F5F9; }
.fu-member.is-off > .ic { color: var(--muted); }
.auto-on { cursor: default; border-color: var(--blue); background: var(--blue-50); }
.auto-tick { flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin: 4px 3px 0 4px; border-radius: 4px; background: var(--blue); color: #fff; }
.auto-tick .ic { width: 13px; height: 13px; }
.auto-off { cursor: default; }
.auto-off .auto-tick { background: #C5CDDB; }
@media (max-width: 1100px) { .fu-pair { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .fu-status { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .fu-state-acts { justify-content: flex-start; }
  .fu-item { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .fu-stats { justify-items: start; grid-auto-flow: column; justify-content: start; gap: 12px; padding-left: 30px; }
  .fu-log li { grid-template-columns: 58px minmax(0, 1fr); }
  .fu-prev { padding-left: 0; }
  .os-mail td { padding-left: 14px !important; padding-right: 14px !important; } /* the email's own side padding (inline), so the preview isn't squeezed */
}

/* Admin: records (drivers your team knows who have no account yet) */
.badge-noacct { background: #EEF1F6; color: #4A5878; }
.ov-av.is-rec { background: #fff; border: 1.5px dashed #B9C3D6; color: var(--muted); }
.ml-row.is-record .ml-n { opacity: .5; }
.ml-eq small.ins-gone { color: var(--red); font-weight: 700; }
.ml-eq small.ins-soon { color: #9A5B00; font-weight: 700; }
.ml-date small { display: block; margin-top: 1px; font-size: .74rem; color: #8A96AD; }
.rec-how { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 20px; padding: 14px 18px; border-radius: 14px; background: var(--blue-50); color: var(--navy); }
.rec-how > .ic { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--blue); }
.rec-how p { margin: 0; font-size: .92rem; line-height: 1.55; max-width: 80ch; }
.rec-dup { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #FFF6E5; color: #7A4B00; font-size: .9rem; line-height: 1.5; }
.rec-dup > .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #B86E00; }
.rec-dup a { font-weight: 700; }
.rec-notes { white-space: normal; line-height: 1.6; }
.rec-mails { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rec-mails li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: .9rem; color: var(--text); }
.rec-from h3 { display: flex; gap: 8px; align-items: center; }
.rec-from h3 .ic { width: 18px; height: 18px; color: var(--blue); }
.rec-facts { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.rec-facts li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; font-size: .9rem; }
.rec-facts span { color: var(--muted); }
.rec-facts b { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.rec-notes-box { padding: 12px 14px; border-radius: 12px; background: #F7F9FC; border: 1px solid var(--line); font-size: .92rem; line-height: 1.6; }
.rec-notes-box b { display: block; margin-bottom: 4px; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 640px) { .rec-facts li { grid-template-columns: minmax(0, 1fr); gap: 0; } .rec-how { padding: 12px 14px; } }

/* Admin: members list */
.mem-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 16px; align-items: end; }
.mem-filters .mf-q { grid-column: span 2; }
.mf-qrow { display: flex; gap: 10px; }
.mf-qrow input { flex: 1; min-width: 0; }
.mf-qrow .btn { flex: none; }
.mem-filters label { margin-bottom: 6px; }
/* Spreadsheet-style table: a line between every row and column, header on a tinted band, and columns with a
   minimum width so nothing runs into the next column. When the list is narrower than the table, rows become cards. */
.panel-body.ml { container-type: inline-size; padding: 0; }
.ml-row { display: grid; grid-template-columns: minmax(156px, 2.1fr) minmax(132px, 1.1fr) minmax(96px, 1fr) minmax(172px, 1.1fr) 56px 68px 112px 32px; align-items: stretch; color: var(--text); font-size: .9rem; }
.ml-row > * { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0; padding: 12px; }
.ml-row > * + * { border-left: 1px solid var(--line); }
.ml-row > * > * { max-width: 100%; } /* long text wraps inside its cell */
.ml-row + .ml-row { border-top: 1px solid var(--line); }
a.ml-row:nth-of-type(even) { background: #FAFBFE; }
a.ml-row { transition: background .12s; }
a.ml-row:hover { background: var(--blue-50); text-decoration: none; }
a.ml-row:hover .ar-go { opacity: 1; transform: translateX(3px); }
.ml-head { background: #F3F6FB; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.ml-head > * { padding-top: 11px; padding-bottom: 11px; }
.ml-head + .ml-row { border-top-color: #D8E0EC; }
.ml-row > .ml-c, .ml-row > .ml-n, .ml-row > .ar-go { align-items: center; text-align: center; }
.ml-row > .ml-n, .ml-row > .ar-go { flex-direction: row; }
/* The date and the arrow share the last cell: the date centered, the arrow at the right edge */
.ml-row { position: relative; }
.ml-row > .ml-date, .ml-row > .ml-end { grid-column: span 2; align-items: center; text-align: center; }
.ml-row > .ar-go { position: absolute; top: 0; bottom: 0; right: 8px; padding: 0; border-left: 0; }
.ml-row > .ar-go .ic { width: 16px; height: 16px; }
.ml-row > .ml-who { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; }
.ml-who > span:last-child { min-width: 0; }
.ml-who b { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; color: var(--ink); }
.ml-who small { display: block; color: var(--muted); font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Email and phone on their own lines, so neither gets cut */
.ml-who small.ml-contact { white-space: normal; line-height: 1.4; }
.ml-contact > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ml-type { color: var(--text); }
.nowrap { white-space: nowrap; } /* keeps a short phrase together; lines break between phrases */
.ml-t.nw { white-space: nowrap; } /* "Owner-operator" doesn't break at its hyphen */
@container (max-width: 900px) { .ml-row .ov-av { display: none; } } /* room for the name and email on smaller screens */
.ml-type small { display: flex; align-items: center; gap: 4px; margin-top: 2px; color: var(--muted); font-size: .8rem; }
.ml-type small .ic { width: 13px; height: 13px; flex: none; }
.ml-row > .ml-onb { gap: 3px; }
.ml-onb small { color: var(--muted); font-size: .76rem; }
.badge-onb-yes { display: inline-flex; align-items: center; gap: 4px; background: #E8F7EE; color: #17804A; }
.badge-onb-yes .ic { width: 12px; height: 12px; stroke-width: 3; }
.badge-onb-none { background: #F1F3F7; color: #7A869E; }
.onb-tally { display: inline-flex; align-items: center; gap: 4px; }
.onb-tally .ic { width: 14px; height: 14px; color: var(--green); }
.ml-eq small { display: block; color: var(--muted); font-size: .8rem; }
.ml-n { display: inline-flex; align-items: center; gap: 5px; color: #A3AEC3; font-weight: 700; }
.ml-n .ic { width: 15px; height: 15px; }
.ml-n.has { color: var(--blue); }
.ml-date { color: var(--muted); font-size: .84rem; white-space: nowrap; }
@container (max-width: 823px) {
  .ml-head { display: none; }
  .ml-row { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "who who who" "onb onb onb" "type docs apps" "eq eq date"; gap: 6px 14px; padding: 14px 16px; align-items: center; }
  .ml-row > * { padding: 0; }
  .ml-row > * + * { border-left: 0; }
  .ml-who { grid-area: who; } .ml-type { grid-area: type; color: var(--muted); font-size: .85rem; } .ml-eq { grid-area: eq; font-size: .85rem; }
  .ml-row > .ml-onb { grid-area: onb; flex-direction: row; align-items: center; gap: 8px; }
  .ml-docs { grid-area: docs; } .ml-apps { grid-area: apps; }
  .ml-row > .ml-date { grid-area: date; align-items: flex-end; text-align: right; } .ml-row .ar-go { display: none; }
}
@media (max-width: 1100px) { .mem-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mem-filters .mf-q { grid-column: 1 / -1; } }
@media (max-width: 640px) { .mem-filters { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .mf-qrow { flex-wrap: wrap; } .mf-qrow input, .mf-qrow .btn { flex: 1 1 100%; } } /* the whole search hint fits on a phone */

.btn[hidden] { display: none !important; }
@media (max-width: 1240px) { .jl-actions { flex-wrap: wrap; } }
.kpis-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
div.kpi:hover { transform: none; box-shadow: var(--shadow); border-color: var(--line); }
.kpis .kpi:first-child .kpi-ico { background: var(--navy); color: #fff; }
.kpis-3 .kpi:first-child .kpi-ico { background: var(--blue-50); color: var(--blue); }
.admin-main .job-meta { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0; }
.admin-main .job-meta div { display: grid; gap: 4px; align-content: start; }
@media (max-width: 760px) { .kpis-3 { grid-template-columns: minmax(0, 1fr); } }
.admin-main tbody th { font-size: .88rem; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 700; }

/* =========================================================
   Driver onboarding: steps, checklist, payment details, agreement signing, Telegram
   ========================================================= */
.onb-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.onb-count { padding: 6px 14px; border-radius: 999px; background: var(--blue-50); color: var(--navy); font-size: .9rem; }
.onb-steps { list-style: none; margin: 0 0 22px; padding: 14px 16px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); counter-reset: none; }
.onb-steps li { position: relative; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; color: var(--muted); min-width: 0; }
.onb-steps li + li::before { content: ""; position: absolute; left: -8px; right: calc(100% + 0px); top: 50%; }
.onb-dot { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #EEF1F7; color: var(--muted); font-size: .85rem; font-weight: 800; }
.onb-dot .ic { width: 16px; height: 16px; }
.onb-steps li.is-done { color: #17804A; }
.onb-steps li.is-done .onb-dot { background: #E8F7EE; color: #17804A; }
.onb-steps li.is-now { color: var(--navy); }
.onb-steps li.is-now .onb-dot { background: var(--blue); color: #fff; box-shadow: 0 0 0 4px rgba(30, 99, 233, .18); }
.onb-lead { margin: 0 0 14px; }
.onb-note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; margin-bottom: 18px; border-radius: 16px; background: #FFF7E6; border: 1px solid #F6D58E; color: #6B4A00; }
.onb-note .ic { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.onb-note p { margin: 4px 0 0; }
.onb-note-ok { background: #E8F7EE; border-color: #A8E0BF; color: #0B6B35; }
.onb-list { display: grid; gap: 14px; }
.onb-item { padding: 18px 20px; scroll-margin-top: 110px; }
.onb-item.is-done { border-color: #BFE8CF; }
.onb-item-head { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.onb-item-head h3 { margin: 0; font-size: 1.02rem; }
.onb-item-head p { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
.onb-tick { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.onb-tick .ic { width: 20px; height: 20px; }
.onb-item.is-done .onb-tick { background: #E8F7EE; color: #17804A; }
.onb-item > .errors { margin: 12px 0 0; }
/* Request changes: the items our team asked them to fix */
.onb-item.is-fix { border-color: #F6D58E; }
.onb-item.is-fix .onb-tick { background: #FFF0CC; color: #8A5A00; }
.badge-fix { background: #FFF0CC; color: #8A5A00; white-space: nowrap; }
.onb-fix { list-style: none; display: grid; gap: 6px; margin: 14px 0 0; padding: 12px 14px; border: 1px solid #F6D58E; border-radius: 12px; background: #FFF7E6; color: #6B4A00; font-size: .92rem; animation: rc-pop .25s ease; }
.onb-fix li { display: flex; gap: 8px; align-items: flex-start; padding: 0; border-radius: 0; background: none; color: inherit; font-size: inherit; font-weight: 500; text-wrap: pretty; } /* not the .onb-list pills */
.onb-fix .ic { flex: none; width: 16px; height: 16px; margin-top: 3px; }
.onb-files { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.onb-files li { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 12px; border-radius: 10px; background: #F5F7FB; font-size: .9rem; }
.onb-files li > .ic { width: 16px; height: 16px; color: var(--blue); }
.onb-files li > a { font-weight: 600; overflow-wrap: anywhere; }
.onb-files .doc-staff { margin-top: 0; }
.onb-files form { margin-left: auto; }
.onb-remove { color: var(--red); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; }
.onb-remove:hover { background: #FFECEC; }
.onb-remove .ic { width: 16px; height: 16px; }
.onb-upload { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 14px; }
.onb-upload.is-uploading .onb-drop { border-style: solid; border-color: var(--blue); background: linear-gradient(90deg, #DCE8FF var(--up, 0%), #F7FAFF var(--up, 0%)); } /* fills up while the file uploads */
.onb-drop { position: relative; display: block; margin: 0; padding: 12px 14px; border: 1.5px dashed #BFD3F8; border-radius: 12px; background: #F7FAFF; cursor: pointer; transition: border-color .15s, background .15s; }
.onb-drop:hover, .onb-drop:focus-within { border-color: var(--blue); background: var(--blue-50); }
.onb-drop.has-file { border-style: solid; border-color: var(--blue); }
.onb-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.onb-drop span { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; color: var(--navy); font-size: .92rem; }
.onb-drop .ic { width: 18px; height: 18px; color: var(--blue); }
.onb-drop small { color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }
.payout-form { margin-top: 14px; }
.pay-methods { border: 0; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pay-opt { position: relative; margin: 0; }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt span { display: grid; gap: 2px; height: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.pay-opt b { color: var(--ink); font-size: .92rem; }
.pay-opt small { color: var(--muted); font-size: .74rem; font-weight: 600; }
.pay-opt .pay-pref { color: #17804A; font-weight: 800; }
.pay-opt input:checked + span { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(30, 99, 233, .12); }
.pay-opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Onboarding → W-9 filled out on the website (includes/w9-form.php, assets/w9.js) */
.w9-start { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--blue-50); }
.w9-start .hint { margin: 0; flex: 1; min-width: 200px; }
.w9-form { display: grid; gap: 22px; margin-top: 14px; padding: 20px; border: 1px solid #D7E2F5; border-radius: 14px; background: #FBFCFF; }
.w9-form[hidden] { display: none; }
.w9-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.w9-step legend { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 0; color: var(--ink); font-weight: 800; font-size: 1rem; }
.w9-step legend span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: .8rem; }
.w9-classes { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin-bottom: 12px; }
.w9-classes .w9-class:first-child { grid-column: span 2; }
.w9-stzip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px; }
.w9-tin-type { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.w9-more summary { cursor: pointer; margin: 2px 0 10px; color: var(--blue); font-weight: 700; font-size: .9rem; }
.w9-safe { display: flex; gap: 7px; align-items: flex-start; margin: 10px 0 0; }
.w9-safe .ic { flex: none; width: 16px; height: 16px; margin-top: 2px; color: #17804A; }
.w9-cert { max-height: 190px; overflow: auto; margin-bottom: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); font-size: .84rem; line-height: 1.5; }
.w9-cert p { margin: 0 0 6px; font-weight: 700; }
.w9-cert ol { display: grid; gap: 4px; margin: 0; padding-left: 20px; }
.onb-list .w9-form li { display: list-item; padding: 0; border-radius: 0; background: none; color: inherit; font-size: inherit; font-weight: inherit; } /* not the checklist's little pills */
.onb-list .w9-form .errors { display: block; }
.onb-list .w9-form .errors li { margin-left: 18px; }
.w9-backup { margin-bottom: 14px; font-size: .88rem; }
.w9-form .sig-pad { margin-bottom: 6px; }
.w9-status { margin: 0; color: var(--blue); font-weight: 700; }
.w9-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.w9-or { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .88rem; }
@media (max-width: 560px) {
  .w9-form { padding: 14px; }
  .w9-tin-type, .w9-classes { grid-template-columns: 1fr; }
  .w9-classes .w9-class:first-child { grid-column: auto; }
}
.pay-opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.onb-submit { display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; margin-top: 18px; padding: 18px 20px; }
.onb-submit.is-ready { border-color: #A8C4F6; background: linear-gradient(135deg, #FFFFFF, #EEF4FF); }
.onb-submit button[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.onb-summary { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.onb-summary li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.onb-summary .ic { width: 18px; height: 18px; color: #17804A; }
.onb-summary .muted { margin-left: auto; font-size: .88rem; }
.contract-card { padding: 0; overflow: hidden; }
.contract-head { padding: 18px 22px; border-bottom: 1px solid var(--line); background: #F7F9FD; }
.contract-head h2 { margin: 2px 0 0; font-size: 1.25rem; }
.contract-body { padding: 4px 22px 20px; max-height: 460px; overflow-y: auto; line-height: 1.65; color: var(--text); }
.contract-body h3 { margin: 20px 0 6px; font-size: 1rem; color: var(--ink); }
.contract-body p { margin: 12px 0 0; }
.contract-body ul { margin: 6px 0 0; padding-left: 22px; }
.contract-body li + li { margin-top: 2px; }
.sign-form { margin-top: 18px; }
.sign-sub { margin: 20px 0 10px; font-size: .95rem; color: var(--ink); }
.sig-pad { position: relative; height: 170px; border: 1.5px dashed #9DB4E8; border-radius: 14px; background: #fff; }
.sig-pad canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: crosshair; border-radius: inherit; }
.sig-pad::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 38px; border-bottom: 1px solid #D5DEEE; pointer-events: none; }
.sig-hint { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: .82rem; color: var(--muted); pointer-events: none; }
.sig-clear { position: absolute; top: 8px; right: 12px; font-size: .85rem; font-weight: 700; }
.sign-agree { margin-top: 12px; line-height: 1.5; }
.tg-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px; background: linear-gradient(135deg, #FFFFFF 0%, #EEF4FF 100%); }
.tg-text h2 { margin: 4px 0 8px; font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.tg-text p { color: var(--muted); }
.tg-text .row-actions { margin: 16px 0 12px; }
.tg-qr { margin: 0; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.tg-qr img { display: block; width: 200px; height: 200px; image-rendering: pixelated; }
.tg-qr figcaption { margin-top: 8px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.onb-banner { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-bottom: 20px; padding: 16px 18px; color: var(--text); border-color: #BFD3F8; background: linear-gradient(135deg, #FFFFFF, #EEF4FF); transition: transform .2s, box-shadow .2s; }
.onb-banner:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(10, 36, 99, .12); }
.onb-banner-step { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 800; }
.onb-banner-text small { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.onb-banner-text b { display: block; color: var(--ink); font-size: 1.05rem; }
.onb-banner-text span { display: block; color: var(--muted); font-size: .88rem; }
.onb-banner.is-changes .onb-banner-step { background: #E8A100; }
.onb-banner.is-done .onb-banner-step { background: #17804A; }
@media (max-width: 760px) {
  .onb-steps { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pay-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tg-card { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .tg-qr { justify-self: center; }
  .onb-banner { grid-template-columns: 46px minmax(0, 1fr); }
  .onb-banner-step { width: 46px; height: 46px; }
  .onb-banner .btn { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 480px) { .onb-upload { grid-template-columns: minmax(0, 1fr); } .onb-item { padding: 16px; } .onb-item-head { grid-template-columns: 36px minmax(0, 1fr); } .onb-item-head .badge { grid-column: 2; justify-self: start; } }

/* Signed agreement (print-friendly) */
.contract-wrap { max-width: 860px; }
.contract-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.contract-tools .back-link { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-weight: 700; }
.contract-tools .back-link .ic { width: 16px; height: 16px; }
.contract-doc { padding: 34px 40px; }
.contract-doc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.contract-doc-head .logo { height: 56px; }
.contract-doc h1 { font-size: 1.6rem; font-style: normal; }
.contract-doc .contract-body { max-height: none; overflow: visible; padding: 0; }
.contract-doc h3 { margin-top: 22px; }
.sig-block { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.sig-block-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8px; border-top: 0; padding-top: 0; }
.sig-block small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.sig-block img { display: block; max-width: 100%; height: 80px; object-fit: contain; object-position: left center; border-bottom: 1.5px solid var(--ink); }
.contract-meta { margin-top: 26px; font-size: .8rem; color: var(--muted); }
@media (max-width: 640px) { .contract-doc { padding: 22px 18px; } .sig-block, .sig-block-3 { grid-template-columns: minmax(0, 1fr); } }
@media print {
  .site-header, .site-footer, .admin-foot, .no-print, .chat, .toasts { display: none !important; }
  body, .page-contract { background: #fff; }
  .contract-page { padding: 0; }
  .contract-doc { box-shadow: none; border: 0; padding: 0; }
}

/* Admin: onboarding list, review panel, settings, contracts */
.onb-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px 16px; }
.onb-flow > div { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--text); font-weight: 600; }
.onb-flow span { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.onb-flow .ic { width: 17px; height: 17px; }
.onb-flow b { color: var(--blue); }
.ml-row.onl-row { grid-template-columns: minmax(180px, 2.2fr) minmax(178px, 1.1fr) minmax(110px, 1fr) minmax(176px, 1.1fr) 76px 36px; }
.ml-row > .onl-prog { flex-direction: row; align-items: center; gap: 8px; }
.onl-prog .bar { flex: 1; height: 8px; }
.onl-prog small { color: var(--muted); font-weight: 700; font-size: .8rem; }
.badge-track-dispatch { background: var(--blue-50); color: var(--blue); }
.badge-track-walmart { background: #E8F8EF; color: #0B6B35; }
.badge-track-fedex { background: #F2ECFA; color: #4D148C; }
.badge-stage-documents { background: #F1F3F7; color: #5E6B85; }
.badge-stage-review { background: #FFF1D6; color: #8A5A00; }
.badge-stage-changes { background: #FFECEC; color: #B42318; }
.badge-stage-contract { background: #F3EEFF; color: #5B34C2; }
.badge-stage-done { background: #E8F7EE; color: #17804A; }
@media (max-width: 1100px) { .onb-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 823px) {
  .ml-row .badge { white-space: normal; }
  .ml-row.onl-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who who" "track stage" "prog date"; }
  .onl-row > :nth-child(1) { grid-area: who; } .onl-row > :nth-child(2) { grid-area: track; } .onl-row > :nth-child(3) { grid-area: prog; }
  .onl-row > :nth-child(4) { grid-area: stage; align-items: flex-end; } .onl-row > :nth-child(5) { grid-area: date; align-items: flex-end; text-align: right; }
}
.onb-settings { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: start; }
.onb-settings > .errors { grid-column: 1 / -1; margin: 0; }
.onb-set-form label:not(.check) { margin-bottom: 6px; }
.onb-qr-box { display: grid; justify-items: center; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #F7F9FD; text-align: center; }
.onb-qr-label { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.onb-qr-box img { width: 140px; height: 140px; border-radius: 10px; background: #fff; }
.onb-qr-up { display: grid; gap: 8px; width: 100%; }
.onb-qr-up input[type=file] { font-size: .8rem; padding: 6px; }
@media (max-width: 760px) { .onb-settings { grid-template-columns: minmax(0, 1fr); } }
.onb-steps-sm { padding: 10px 12px; margin-bottom: 16px; box-shadow: none; background: #F7F9FD; }
.onb-steps-sm .onb-dot { width: 26px; height: 26px; font-size: .78rem; }
.onb-steps-sm { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.onb-steps-sm li > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.onb-check { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.onb-ck { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; min-width: 0; }
.onb-ck > div { min-width: 0; }
.onb-ck b { display: block; color: var(--ink); font-size: .9rem; }
.onb-ck small { display: block; color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }
.onb-ck-ico { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #FFF1D6; color: #8A5A00; }
.onb-ck-ico .ic { width: 15px; height: 15px; }
.onb-ck.ok { border-color: #BFE8CF; }
.onb-ck.ok .onb-ck-ico { background: #E8F7EE; color: #17804A; }
.onb-ck small.onb-ck-files { display: grid; gap: 2px; }
.onb-ck-files a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.onb-ck-files .ic { width: 14px; height: 14px; flex: none; }
.onb-signed { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #F3EEFF; color: #3D2493; }
.onb-signed > .ic { width: 22px; height: 22px; }
.onb-signed > div { flex: 1; min-width: 200px; }
.onb-signed small { display: block; color: #5B4A99; }
.onb-signed.onb-marked { background: #E8F7EE; color: #17804A; }
.onb-signed.onb-marked small { color: #3C7A57; }
.onb-mark form select { margin-bottom: 2px; }
.onb-mark .check-inline { display: flex; margin-top: 14px; color: var(--text); }
.onb-mark form .btn { display: flex; width: fit-content; margin-top: 14px; }
.onb-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.onb-wait { flex-basis: 100%; display: flex; align-items: flex-start; gap: 9px; margin: 0; padding: 10px 14px; border: 1px solid #F1D9A6; border-radius: 10px; background: #FFF8EA; color: #7A4B00; font-size: .9rem; line-height: 1.45; }
.onb-wait .ic { flex: none; width: 17px; height: 17px; margin-top: 2px; }
.onb-wait b { color: #6B3F00; }
/* Request changes: tick the reasons, item by item (admin/driver.php) */
.rc-lead { color: var(--muted); margin: 0 0 16px; }
.rc-grid { display: grid; gap: 12px; }
.rc-item { min-width: 0; padding: 12px 14px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s ease, background-color .2s ease; }
.rc-item.has { border-color: #F6D58E; background: #FFFCF4; }
.rc-item h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 .95rem/1.3 var(--font); color: var(--ink); letter-spacing: 0; }
.rc-n { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: #FFF0CC; color: #8A5A00; font-size: .74rem; font-weight: 700; white-space: nowrap; animation: rc-pop .2s ease; }
@keyframes rc-pop { from { transform: scale(.85); opacity: 0; } }
.rc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rc-chip { position: relative; margin: 0; cursor: pointer; }
.rc-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rc-chip span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid #D5DEEC; border-radius: 999px; background: #fff; font-size: .86rem; font-weight: 600; color: var(--text); white-space: nowrap; transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.rc-chip i { flex: none; width: 16px; height: 16px; display: grid; place-items: center; border: 1.5px solid #B9C6DC; border-radius: 50%; transition: background-color .15s ease, border-color .15s ease; }
.rc-chip:hover span { border-color: #B9C8E8; }
.rc-chip input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--navy); }
.rc-chip input:checked + span i { border-color: var(--blue); background: var(--blue); }
.rc-chip input:checked + span i::after { content: ""; width: 7px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.rc-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(30, 99, 233, .18); }
.rc-other label { margin-bottom: 6px; }
.rc-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 16px; }
.rc-foot .muted { font-size: .9rem; }
/* what you asked for, on each item of the member page */
.onb-ck.is-fix { border-color: #F6D58E; background: #FFFCF4; }
.onb-ck small.onb-ck-fix { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; color: #8A5A00; overflow-wrap: normal; }
.onb-ck small.onb-ck-fix.is-ok { color: #17804A; }
.onb-ck-fix .ic { flex: none; width: 14px; height: 14px; margin-top: 3px; }
.onb-ck-fix b { display: inline; color: inherit; font-size: inherit; }
.onb-note p.onb-note-extra { margin-top: 8px; }
.onb-track { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.onb-track select { padding: 7px 10px; font-size: .86rem; width: auto; }
.onb-restart { color: var(--muted); font-size: .85rem; align-self: center; }
.ct-status { display: flex; gap: 14px; align-items: center; padding: 16px 18px; }
.ct-status.is-live { border-color: #BFE8CF; background: #F4FCF7; }
.ct-status b { display: block; color: var(--ink); }
.ct-status small { color: var(--muted); }
.ct-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #FFF1D6; color: #8A5A00; }
.ct-status.is-live .ct-ico { background: #E8F7EE; color: #17804A; }
.ct-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.ct-form label:not(.check) { margin-bottom: 6px; }
.ct-body { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86rem; line-height: 1.55; min-height: 420px; }
.ct-side { position: sticky; top: 100px; }
.ct-help p { margin: 0 0 6px; font-size: .86rem; }
.ct-help code { padding: 1px 6px; border-radius: 6px; background: var(--blue-50); color: var(--navy); font-size: .82rem; }
.ct-preview { max-height: 560px; padding: 6px 24px 24px; }
@media (max-width: 1100px) { .ct-layout { grid-template-columns: minmax(0, 1fr); } .ct-side { position: static; } }

/* Member dashboard menu on phones: a row of tabs (like Admin), so the page content starts right away */
@media (max-width: 860px) {
  .dash:not(.admin-dash) { gap: 14px; padding-top: 14px; }
  .dash:not(.admin-dash) .dash-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 6px; border-radius: 16px; }
  .dash:not(.admin-dash) .dash-nav::-webkit-scrollbar { display: none; }
  .dash:not(.admin-dash) .dash-nav .who { display: none; }
  .dash:not(.admin-dash) .dash-nav a, .dash:not(.admin-dash) .dash-nav button { flex: none; width: auto; padding: 8px 12px; font-size: .86rem; white-space: nowrap; }
  .dash:not(.admin-dash) .dash-nav a .ic, .dash:not(.admin-dash) .dash-nav button .ic { width: 16px; height: 16px; }
  .dash:not(.admin-dash) .dash-nav form { margin: 0; padding: 0; border: 0; flex: none; }
}

/* Meet the fleet with real photos: photos cross-fade with a slow zoom (the slide-across is for the drawings),
   with a soft navy shade at the bottom so any photo sits in the blue LamazonLoads theme */
.fleet-car.has-photo { transform: scale(1.06); transition: opacity .7s ease, transform 1.6s cubic-bezier(.2, .7, .2, 1), visibility 0s .7s; }
.fleet-car.has-photo.is-on { z-index: 2; opacity: 1; visibility: visible; transform: scale(1); transition: opacity .7s ease, transform 6s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
.fleet-car.has-photo.is-on.moving { transition-delay: 0s; }
.fleet-car.has-photo.leave { z-index: 1; opacity: 0; visibility: visible; transform: scale(1.02); transition: opacity .7s ease, transform .7s ease; }
.fleet-car.has-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 36, 99, 0) 55%, rgba(7, 26, 74, .55) 100%), linear-gradient(90deg, rgba(10, 36, 99, .18), rgba(10, 36, 99, 0) 40%); }
.fleet-stage:has(.fleet-car.has-photo.is-on) .fleet-floor, .fleet-stage:has(.fleet-car.has-photo.is-on) .fleet-lights { opacity: 0; transition: opacity .4s; }
@media (prefers-reduced-motion: reduce) { .fleet-car.has-photo, .fleet-car.has-photo.is-on, .fleet-car.has-photo.leave { transform: none; } }
.onb-linkstate { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #FFF7E6; color: #6B4A00; font-size: .88rem; font-weight: 600; }
.onb-linkstate .ic { width: 17px; height: 17px; }
.onb-linkstate.is-open { background: #E8F7EE; color: #0B6B35; }
.onb-linkstate .link-btn { font-weight: 700; }
.onb-linkstate form { margin-left: auto; }

/* Inbox: messages from the team on the member dashboard (inbox.php, the Inbox panel on account.php) */
.head-count { margin-left: 6px; min-width: 20px; height: 20px; padding: 0 6px; line-height: 20px; font-size: .72rem; box-shadow: 0 0 0 2px #fff; }
.ib-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.ib-top h1 { margin-bottom: 4px; }
.ib-top p { margin: 0; }
.ib-top form { margin: 6px 0 0; }
.ib-list { padding: 0; overflow: hidden; }
.ib-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); color: var(--text); text-decoration: none !important; }
.ib-row:first-child { border-top: 0; }
.ib-row:hover { background: var(--blue-50); }
.ib-row.is-new { background: #F7FAFF; }
.ib-row.is-new:hover { background: var(--blue-50); }
.ib-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .02em; }
.ib-main { min-width: 0; display: grid; gap: 2px; }
.ib-main b { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ib-main span { font-size: .86rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ib-row.is-new .ib-main b { font-weight: 800; }
.ib-row.is-new .ib-main span { color: var(--text); }
.ib-when { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: .78rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ib-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.ib-empty { display: grid; justify-items: center; gap: 6px; }
.ib-empty b { color: var(--ink); font-size: 1.05rem; }
.ib-empty-ic { width: 34px; height: 34px; color: var(--blue); margin-bottom: 4px; }
.ib-foot { margin: 12px 4px 0; }
.ib-panel .panel-head h2 .nav-count { margin-left: 4px; }
.dash-main > .back-link { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-weight: 700; font-size: .9rem; }
.dash-main > .back-link .ic { width: 16px; height: 16px; }
.ib-conv { padding: 0; overflow: hidden; margin-top: 10px; }
.ib-conv-head { padding: 22px 24px 16px; border-bottom: 1px solid var(--line); }
.ib-conv-head h1 { font-size: 1.5rem; margin: 0 0 4px; overflow-wrap: anywhere; }
.ib-conv-head p { margin: 0; font-size: .88rem; }
.ib-msgs { display: flex; flex-direction: column; gap: 14px; padding: 20px 24px; background: #FAFBFE; }
.ib-msgs .cm { max-width: 82%; }
.ib-msgs .cm p, .ib-admin-msgs .cm p { font-size: 15px; }
.ib-from { font-weight: 700; color: var(--navy) !important; }
.cm p a { color: var(--blue); text-decoration: underline; overflow-wrap: anywhere; }
.cm-me p a { color: #fff; }
.ib-reply { display: grid; gap: 8px; padding: 16px 24px 20px; border-top: 1px solid var(--line); }
.ib-reply label { margin: 0; }
.ib-reply textarea { min-height: 110px; resize: vertical; }
.ib-send { display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.ib-send .hint { margin: 0; }
@media (max-width: 640px) {
  .ib-row { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; padding: 12px 14px; }
  .ib-av { width: 34px; height: 34px; font-size: .7rem; }
  .ib-conv-head { padding: 18px 16px 14px; }
  .ib-msgs { padding: 16px; }
  .ib-msgs .cm { max-width: 92%; }
  .ib-reply { padding: 14px 16px 18px; }
  .ib-send .btn { width: 100%; justify-content: center; }
}

/* Admin → Member messages (admin/inbox.php): conversations reuse the Support chats layout (.cs-*) */
.ib-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 16px; margin-bottom: 16px; }
.ib-bar .filters { margin-bottom: 0; }
.ib-search { display: flex; gap: 8px; margin: 0; }
.ib-search input { width: 260px; max-width: 100%; padding: 8px 12px; }
.cs-main .ib-subj { color: var(--navy); font-weight: 700; }
.ib-group-tag { display: inline-block; padding: 1px 7px; border-radius: 99px; background: #F3EEFF; color: #5B34C2; font-size: .68rem; font-weight: 800; }
.ib-admin-msgs { max-height: 560px; }
.ib-admin-msgs .cm-me .ib-from { text-align: right; }
.ib-mail.is-sent { color: #0D6B37; font-weight: 600; }
.ib-mail.is-failed { color: var(--red); font-weight: 600; }
.ib-mail.is-waiting, .ib-mail.is-sending { color: #9A5B00; font-weight: 600; }
.ib-read { color: var(--blue); font-weight: 700; }
.ib-sent-list li { grid-template-columns: 70px minmax(0, 1fr); }
.ib-compose textarea { font-family: inherit; font-size: .95rem; line-height: 1.55; min-height: 200px; }
.ib-label { display: block; font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: 6px; }
.ib-compose .os-who { margin: 0; }
.ib-change { margin-left: 4px; font-weight: 700; }
.ib-how { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: .9rem; line-height: 1.5; }
.ib-how li { display: flex; gap: 10px; align-items: flex-start; }
.ib-how .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--blue); }
.ib-how + .hint { margin-top: 14px; }
.ib-auds { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; min-width: 0; }
.ib-auds legend { padding: 0; margin-bottom: 8px; font-weight: 600; color: var(--ink); font-size: .92rem; }
.os-form label.ib-aud { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 500; transition: border-color .2s, background .2s; }
.ib-aud:hover { border-color: #B9CCF5; }
.ib-aud:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.ib-aud input { margin-top: 3px; accent-color: var(--blue); }
.ib-aud b { display: block; color: var(--ink); font-size: .92rem; }
.ib-aud small { display: block; color: var(--muted); font-size: .8rem; }
.os-stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ib-send-note { margin: 8px 0 16px; text-align: center; }
#ib-preview { scroll-margin-top: 96px; } /* below the sticky site header */
.ib-meta { margin-top: 2px; }
.ib-sent { display: grid; gap: 16px; }
.ib-bc { padding: 18px 20px; }
.ib-bc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.ib-bc-head > div { min-width: 0; }
.ib-bc-head b { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--ink); overflow-wrap: anywhere; }
.ib-bc-head small { display: block; margin-top: 2px; color: var(--muted); font-size: .84rem; }
.ib-bc-stats { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.ib-bc-body { font-size: .9rem; }
.ib-bc-body summary { cursor: pointer; font-weight: 700; color: var(--blue); }
.ib-bc-body p { margin: 10px 0 0; padding: 12px 14px; border-radius: 12px; background: #F7F9FC; border: 1px solid var(--line); white-space: pre-wrap; overflow-wrap: anywhere; }
.ib-bc-why { margin: 10px 0 0; }
.ib-bc-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.ib-bc-acts form { margin: 0; }
@media (max-width: 640px) {
  .ib-search, .ib-search input { width: 100%; }
  .os-stats-3 { grid-template-columns: minmax(0, 1fr); }
  .ib-bc { padding: 16px; }
  .ib-bc-acts { justify-content: stretch; }
}

/* ---------- Admin forms: the organized look (section title with a rule, uppercase labels, underline fields, red notes) ---------- */
/* Only in the admin (.admin-page): the public website and member pages keep their boxed fields. */
.admin-page .admin-main label:not(.check):not(.check-inline):not(.chip):not(.veh-opt):not(.auto):not(.rc-chip):not(.fu-top):not(.ib-aud):not(.cmp-prog):not(.ib-city):not(.ib-stage-opt):not(.sr-only),
.admin-page .admin-main .ib-label, .admin-page .admin-main fieldset > legend, .admin-page .admin-main .jp-field legend, .admin-page .admin-main .veh-pick > legend {
  font-family: var(--display); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 4px;
}
.admin-page .admin-main :is(label, legend) .opt { text-transform: none; letter-spacing: 0; font-family: var(--font); font-weight: 500; font-size: .78rem; color: var(--muted); }
.admin-page .admin-main label .req { margin-left: 1px; }
.admin-page .admin-main :is(input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], input[type=search], input[type=url], input[type=number], select, textarea):not(.city-field input):not(.os-perday input) {
  border: 0; border-bottom: 1.5px solid #CBD5E6; border-radius: 0; padding: 9px 2px 10px; background: transparent; font-size: .96rem; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.admin-page .admin-main :is(input, select, textarea):not([type=checkbox]):not([type=radio]):not([type=file]):focus { box-shadow: inset 0 -1.5px 0 var(--blue); border-color: var(--blue); outline: none; }
.admin-page .admin-main :is(input, textarea)::placeholder { color: #8A96AD; }
.admin-page .admin-main select { padding-right: 28px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E6B85' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 4px center; background-size: 16px; appearance: none; -webkit-appearance: none; }
.admin-page .admin-main select:disabled { color: var(--muted); background-image: none; border-bottom-style: dashed; }
.admin-page .admin-main textarea:not(.x) { min-height: 110px; border: 1.5px solid #CBD5E6; border-radius: 12px; padding: 12px 14px; background: #fff; }
.admin-page .admin-main textarea:not(.x):focus { box-shadow: 0 0 0 4px rgba(30, 99, 233, .12); border-color: var(--blue); }
.admin-page .admin-main input[type=file] { border: 1.5px dashed #CBD5E6; border-radius: 12px; padding: 10px 12px; background: #FAFBFE; font-size: .88rem; }
.admin-page .admin-main .city-field input { border: 0; border-bottom: 1.5px solid #CBD5E6; border-radius: 0; background: transparent; padding-left: 30px; padding-right: 32px; }
.admin-page .admin-main .city-ico { left: 2px; }
.admin-page .admin-main .city-ok { right: 4px; }
.admin-page .admin-main .form-grid { gap: 22px 32px; }
.admin-page .admin-main .form-grid > div { min-width: 0; }
.admin-page .admin-main .hint { margin-top: 6px; font-size: .8rem; }
/* The red note under a field that's wrong, and the field's line turns red */
.field-err { margin: 6px 0 0; font-size: .78rem; font-weight: 600; color: var(--red); line-height: 1.4; }
.admin-page .admin-main :is(input, select, textarea)[aria-invalid="true"], .admin-page .admin-main .is-invalid :is(input, select, textarea) { border-color: var(--red) !important; }
.admin-page .admin-main .is-invalid label { color: var(--red); }
.errors-sum { padding-left: 16px; }
/* Section title with a rule under it (the "BILLING DETAILS" line): <h2 class="fs-title">Member details</h2> */
.fs-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: .92rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.fs-title small { font-family: var(--font); font-weight: 500; font-size: .8rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.fs-title .ic { width: 17px; height: 17px; color: var(--blue); margin-right: 2px; }
.form-grid + .fs-title, .fs-title.mt { margin-top: 30px; }
.admin-page .admin-main .modal-body h3, .admin-page .admin-main .jp-h { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: .92rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.admin-page .admin-main .modal-body h3.mt, .admin-page .admin-main .modal-body .form-grid + h3 { margin-top: 30px; }
.admin-page .admin-main .jp-h span { width: 24px; height: 24px; font-size: .74rem; font-weight: 800; }
.admin-page .admin-main .jp-auto .jp-h { margin-bottom: 12px; }
.admin-page .admin-main .form-card { padding: 28px 32px 30px; }
.admin-page .admin-main .jp-set { background: #fff; padding: 18px; border-radius: 14px; }
.admin-page .admin-main .jp-set h3 { font-family: var(--display); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin: 0 0 6px; }
.admin-page .admin-main .jp-set .check { font-size: .92rem; }
.admin-page .admin-main .check, .admin-page .admin-main .check-inline { font-size: .94rem; }
.admin-page .admin-main .check input, .admin-page .admin-main .check-inline input { accent-color: var(--blue); width: 17px; height: 17px; margin-top: 3px; }
/* Save row: a rule, then the buttons on the right */
.form-foot { display: flex; justify-content: flex-end; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.form-foot .hint { margin: 0 auto 0 0; }
.admin-page .admin-main .modal-body { padding: 24px 28px 28px; }
.admin-page .admin-main .modal-body > .muted:first-child { margin: 0 0 18px; font-size: .9rem; }
.admin-page .admin-main .modal-body .form-grid .btn-block, .admin-page .admin-main .modal-body form > .btn-block { margin-top: 6px; }
/* Filters (Drivers & members): same underline fields, tighter */
.admin-page .admin-main .mem-filters { gap: 16px 24px; padding: 22px 26px 24px; }
.admin-page .admin-main .mem-filters .mf-qrow { gap: 12px; align-items: flex-end; }
.admin-page .admin-main .mem-filters .btn { border-radius: 12px; }
/* Small one-line forms (add a city, upload a photo) keep boxed fields so the button lines up */
.admin-page .admin-main :is(.wm-add, .ph-form, .doc-add, .os-perday) :is(input[type=text], input[type=file], input[type=number], select) { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; }
.admin-page .admin-main .wm-name input[type=text] { border-bottom-color: transparent; padding: 6px 8px; border-radius: 8px; }
.admin-page .admin-main .wm-name input[type=text]:hover, .admin-page .admin-main .wm-name input[type=text]:focus { border-bottom-color: var(--blue); }
.admin-page .admin-main :is(.cs-reply, .ib-reply, .inline-form) textarea { border-radius: 12px; }
@media (max-width: 640px) {
  .admin-page .admin-main .form-grid { gap: 18px; }
  .admin-page .admin-main .form-card { padding: 20px 18px 22px; }
  .admin-page .admin-main .modal-body { padding: 18px 18px 22px; }
  .form-foot { flex-direction: column-reverse; align-items: stretch; }
  .form-foot .btn { width: 100%; }
  .form-foot .hint { margin: 0; text-align: center; }
}
.admin-page .admin-main fieldset.is-invalid > legend { color: var(--red); }

/* ---------- Admin: modern, quieter components (cards, buttons, page header, tabs, steps, tables) ---------- */
.admin-main .card { border-color: #E3E8F1; border-radius: 14px; box-shadow: 0 1px 2px rgba(10, 36, 99, .04), 0 4px 14px rgba(10, 36, 99, .04); }
.admin-main .panel-head { padding: 14px 20px; background: #FCFDFF; }
.admin-main .panel-head h2 { font-size: 1rem; }
/* Buttons: a size that fits a work screen, no glow */
.admin-page .admin-main .btn { padding: .6em 1.05em; font-size: .9rem; border-radius: 10px; border-width: 1.5px; }
.admin-page .admin-main .btn-sm { padding: .45em .85em; font-size: .84rem; border-radius: 9px; }
.admin-page .admin-main .btn-lg { padding: .75em 1.4em; font-size: .95rem; }
.admin-page .admin-main :is(.btn-primary, .btn-accent) { background: var(--blue); box-shadow: 0 1px 2px rgba(10, 36, 99, .12), 0 4px 10px rgba(30, 99, 233, .18); }
.admin-page .admin-main :is(.btn-primary, .btn-accent):hover { background: #1554d1; }
.admin-page .admin-main :is(.btn-primary, .btn-accent)::after { display: none; }
.admin-page .admin-main .btn-ghost { background: #fff; border-color: #D9E1EE; color: var(--navy); }
.admin-page .admin-main .btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: #fff; }
.admin-page .admin-main .btn:hover { transform: none; }
.admin-page .admin-main .btn .ic { width: 17px; height: 17px; }
.admin-page .admin-main .btn:hover .ic:last-child { transform: none; }
/* Page header: title and one line on the left, its buttons on the right, top-aligned */
.admin-page .admin-head { align-items: flex-start; margin-bottom: 24px; gap: 14px 24px; }
.admin-page .admin-head .ah-text { flex: 1 1 420px; }
.admin-page .admin-head h1 { font-size: clamp(1.45rem, 2vw, 1.75rem); letter-spacing: -.015em; }
.admin-page .admin-head p { font-size: .93rem; margin-top: 6px; max-width: 64ch; }
.admin-page .admin-head .eyebrow { font-size: .7rem; margin-bottom: 4px; }
.admin-page .ah-actions { gap: 8px; padding-top: 2px; }
/* Filters as tabs: one line, an underline under the one you're on, counts in a small chip */
.admin-main .filters { display: flex; flex-wrap: nowrap; gap: 2px; margin: 0 0 18px; padding: 0 2px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid #E3E8F1; }
.admin-main .filters::-webkit-scrollbar { display: none; }
.admin-main .filters a { flex: none; display: inline-flex; align-items: center; gap: 7px; margin-bottom: -1px; padding: 10px 10px 11px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: var(--muted); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.admin-main .filters a:hover { background: none; color: var(--ink); border-color: #C9D3E4; text-decoration: none; }
.admin-main .filters a.on { background: none; color: var(--navy); border-color: var(--blue); }
.admin-main .filters a > span, .admin-main .filters .fc { min-width: 22px; padding: 1px 7px; border-radius: 99px; background: #EDF1F7; color: var(--muted); font-size: .74rem; font-weight: 700; text-align: center; opacity: 1; }
.admin-main .filters a.on > span, .admin-main .filters a.on .fc { background: var(--blue); color: #fff; }
.admin-main .ib-bar .filters, .admin-main .filters.cs-tabs { margin-bottom: 0; }
/* Onboarding steps: four even steps joined by a line */
.admin-main .onb-flow { position: relative; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 18px 12px; }
.admin-main .onb-flow > div { position: relative; flex-direction: column; justify-content: flex-start; gap: 8px; padding: 0 10px; text-align: center; font-size: .84rem; line-height: 1.35; }
.admin-main .onb-flow > div::after { content: ""; position: absolute; top: 17px; left: calc(50% + 26px); right: calc(-50% + 26px); height: 2px; background: repeating-linear-gradient(90deg, #C9D6F2 0 6px, transparent 6px 11px); }
.admin-main .onb-flow > div:last-child::after { display: none; }
.admin-main .onb-flow span { width: 36px; height: 36px; border-radius: 50%; background: var(--blue-50); border: 1.5px solid #CFDCF7; }
.admin-main .onb-flow b { display: block; font-family: var(--display); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
@media (max-width: 760px) {
  .admin-main .onb-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; }
  .admin-main .onb-flow > div:nth-child(2)::after { display: none; }
}
/* Tables and lists */
.admin-main table th { background: #F8FAFD; color: #6A7896; }
.admin-main table tbody tr:hover td { background: #FAFCFF; }
/* Overview tiles */
.admin-main .kpi { padding: 18px 20px 16px; }
.admin-main .kpi:hover { transform: none; border-color: #C9D6F5; box-shadow: 0 6px 18px rgba(10, 36, 99, .08); }
.admin-main .kpi-ico { width: 38px; height: 38px; border-radius: 10px; }
.admin-main .kpi-label { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-main .kpi-num { font-size: 1.9rem; margin-top: 4px; }
.admin-main .kpis .kpi:first-child .kpi-ico { background: var(--blue-50); color: var(--blue); }
@media (max-width: 1100px) { .admin-main .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .admin-main .kpis { grid-template-columns: minmax(0, 1fr); } }

/* ===== The hiring pop-up (includes/promo.php): the campaign picture with the cities on the left; the hook, three numbers
   and a short form on the right. Phones: the picture becomes a strip at the top. The "Now hiring" button stays in the corner. */
.promo-modal .promo-panel { width: min(900px, 100%); max-height: min(94vh, 980px); overflow-y: auto; border-radius: 22px; }
.promo-x { position: absolute; top: 12px; right: 12px; z-index: 3; background: rgba(10, 36, 99, .08); color: var(--ink); }
.promo-x:hover { background: rgba(10, 36, 99, .14); }
.promo { display: grid; grid-template-columns: 390px minmax(0, 1fr); min-height: 560px; }
.promo-art { position: relative; overflow: hidden; background: linear-gradient(160deg, #0F2F7A, #0A2463 60%, #061642); }
.promo-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.promo-bg { object-fit: cover; filter: blur(22px) brightness(.55) saturate(1.2); transform: scale(1.15); }
.promo-fg { object-fit: contain; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .45)); }
.promo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 16, 46, 0) 70%, rgba(6, 16, 46, .55) 100%); }
.promo-art[data-noimg] .promo-shade { background: radial-gradient(circle at 30% 20%, rgba(90, 162, 255, .35), transparent 60%); }
.promo-art-t { position: absolute; left: 20px; right: 20px; bottom: 20px; display: grid; gap: 12px; color: #fff; }
.promo-live { display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px;
  background: rgba(6, 16, 46, .7); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #FFB15C; }
.promo-live i { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: #4ADE80; }
.promo-live i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #4ADE80; opacity: 0; animation: promo-pulse 1.8s ease-out infinite; }
@keyframes promo-pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.promo-cities { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; margin: 0; padding: 0; font-size: .78rem; }
.promo-cities li { display: flex; align-items: center; gap: 5px; min-width: 0; color: #E6ECFA; }
.promo-cities li .ic { flex: none; width: 12px; height: 12px; color: #FFB15C; }
.promo-cities li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.promo-cities li b { margin-left: auto; color: #fff; font-variant-numeric: tabular-nums; }
.promo-main { display: flex; flex-direction: column; justify-content: center; padding: 40px 38px 26px; }
.promo-kicker { margin: 0 0 8px; color: var(--blue); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.promo-h { margin: 0 0 10px; font-size: 1.75rem; line-height: 1.14; letter-spacing: -.015em; }
.promo-h em { font-style: normal; background: linear-gradient(90deg, #FF8A1F, #E5501B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promo-sub { margin: 0 0 18px; color: var(--text); font-size: .93rem; line-height: 1.55; }
.promo-facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 20px; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.promo-facts li { display: grid; gap: 1px; min-width: 0; padding: 10px 14px; }
.promo-facts li + li { border-left: 1px solid var(--line); }
.promo-facts b { font-family: var(--display); font-size: 1.15rem; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.promo-facts span { color: var(--muted); font-size: .76rem; font-weight: 600; }
.promo-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.promo-grid .promo-full { grid-column: 1 / -1; }
.promo-grid [hidden] { display: none; }
.promo-field { display: grid; gap: 2px; margin: 0; }
.promo-field > span { color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .02em; }
.promo-field input, .promo-field select { width: 100%; min-height: 42px; padding: 7px 0 8px; border: 0; border-bottom: 1.5px solid #D5DEEE; border-radius: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 16px; outline: none; box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.promo-field select { padding-right: 18px; cursor: pointer; }
.promo-field input:focus, .promo-field select:focus { border-color: var(--blue); box-shadow: 0 1.5px 0 0 var(--blue); }
.promo-field input.is-bad, .promo-field select.is-bad { border-color: #D93636; box-shadow: 0 1.5px 0 0 #D93636; }
.promo-err { margin: 10px 0 0; color: #C42B2B; font-size: .84rem; font-weight: 600; }
.promo-btn { margin-top: 18px; gap: 8px; }
.promo-btn .ic { width: 18px; height: 18px; }
.promo-form.is-busy .promo-btn { opacity: .75; cursor: progress; }
.promo-fine { margin: 12px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.promo-fine a { color: var(--text); text-decoration: underline; }
.promo-skip { display: block; margin: 10px auto 0; padding: 4px 8px; border: 0; background: none; color: var(--muted); font: inherit; font-size: .84rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.promo-skip:hover { color: var(--ink); }
.promo-done { text-align: center; }
.promo-done[hidden], [data-promo-step="form"][hidden] { display: none; }
.promo-check { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: #E8F7EE; color: #17804A; }
.promo-check .ic { width: 28px; height: 28px; }
.promo-done .btn { margin-top: 4px; }
.promo-mailed { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 12px 14px; border: 1px solid #CFE0FF; border-radius: 12px; background: var(--blue-50); color: var(--text); font-size: .88rem; line-height: 1.5; text-align: left; }
.promo-mailed[hidden] { display: none; }
/* one vehicle (FedEx: cargo vans): they confirm they have one */
.promo-veh-one { display: flex; align-items: center; gap: 12px; margin: 4px 0 0; padding: 12px 14px; border: 1.5px solid #D5DEEE; border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.promo-veh-one input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--blue); }
.promo-veh-one:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.promo-veh-one input.is-bad { outline: 2px solid #D93636; outline-offset: 2px; }
.promo-veh-ic { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--blue-50); color: var(--blue); }
.promo-veh-ic .ic { width: 20px; height: 20px; }
.promo-veh-one b { display: block; color: var(--ink); font-size: .95rem; }
.promo-veh-one small { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }
.promo-mailed .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--blue); }
.promo-mailed b { color: var(--ink); }
@media (max-width: 760px) {
  .promo-modal { align-items: flex-end; padding: 0; }
  .promo-modal .promo-panel { max-height: 94vh; border-radius: 20px 20px 0 0; }
  .promo { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .promo-art { height: 170px; }
  .promo-fg { object-fit: cover; object-position: center 18%; filter: none; }
  .promo-shade { background: linear-gradient(90deg, rgba(6, 16, 46, .95) 0%, rgba(6, 16, 46, .6) 55%, rgba(6, 16, 46, .1) 100%); }
  .promo-art-t { left: 16px; right: 40%; bottom: 14px; }
  .promo-cities { display: none; }
  .promo-main { padding: 20px 18px 18px; }
  .promo-h { font-size: 1.4rem; }
  .promo-sub { margin-bottom: 14px; font-size: .88rem; }
  .promo-facts { margin-bottom: 14px; }
  .promo-facts li { padding: 8px 10px; }
  .promo-x { background: rgba(255, 255, 255, .85); }
}
@media (max-width: 380px) { .promo-grid { grid-template-columns: minmax(0, 1fr); } }
/* the city and vehicle pickers: a clean button, then an organized list (cities grouped by state, openings on the right) */
.promo-form { position: relative; z-index: 3; } /* an open list stays above the lines under the form */
.cp { position: relative; }
.cp-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 42px; padding: 7px 0 8px; border: 0; border-bottom: 1.5px solid #D5DEEE;
  background: none; color: var(--ink); font: inherit; font-size: 16px; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.cp-btn:focus-visible, .cp.is-open .cp-btn { outline: none; border-color: var(--blue); box-shadow: 0 1.5px 0 0 var(--blue); }
.cp-btn.is-bad { border-color: #D93636; box-shadow: 0 1.5px 0 0 #D93636; }
.cp-val { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-val.is-empty { color: #8A96AE; }
.cp-chev { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.cp.is-open .cp-chev { transform: rotate(180deg); stroke: var(--blue); }
.cp-list { position: absolute; left: 0; top: calc(100% + 6px); z-index: 5; width: max(100%, 290px); max-height: 300px; overflow-y: auto; overscroll-behavior: contain; padding: 6px;
  border: 1px solid #DCE4F2; border-radius: 14px; background: #fff; box-shadow: 0 22px 48px -12px rgba(10, 36, 99, .32); animation: cp-in .18s cubic-bezier(.2, .85, .25, 1); }
.cp-list[hidden] { display: none; }
.cp:not([data-promo-city]) .cp-list { left: auto; right: 0; } /* the vehicle list opens toward the left */
@keyframes cp-in { from { opacity: 0; transform: translateY(-6px); } }
.cp-list.is-up { top: auto; bottom: calc(100% + 6px); } /* not enough room below: it opens upward */
.cp-group + .cp-group { margin-top: 4px; padding-top: 4px; border-top: 1px solid #EEF2F8; }
.cp-state { margin: 0; padding: 7px 10px 4px; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.cp-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 9px; color: var(--ink); font-size: .92rem; font-weight: 600; cursor: pointer; }
.cp-opt span { display: flex; align-items: center; gap: 9px; min-width: 0; }
.cp-opt .ic { flex: none; width: 17px; height: 17px; color: var(--blue); }
.cp-opt b { flex: none; padding: 2px 8px; border-radius: 999px; background: #FFF1E4; color: #B24C08; font-size: .72rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.cp-opt.is-active { background: var(--blue-50); }
.cp-opt[aria-selected=true] { color: var(--blue); }
.cp-opt[aria-selected=true]::after { content: ""; flex: none; width: 7px; height: 12px; margin: 0 4px 3px 0; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cp-opt[aria-selected=true] b { margin-left: auto; }
.cp-other { margin-top: 4px; border-top: 1px solid #EEF2F8; border-radius: 0 0 9px 9px; color: var(--text); }
/* opening smoothly: the panel rises and sharpens, the picture slides in, then the lines appear one after another */
.promo-modal .promo-panel { animation: promo-rise .6s cubic-bezier(.16, 1, .3, 1) both; }
.promo-modal .modal-backdrop { animation: fade-in .45s ease both; }
@keyframes promo-rise { from { opacity: 0; transform: translateY(34px) scale(.94); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.promo-modal.is-open .promo-art { animation: promo-slide .7s .08s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes promo-slide { from { opacity: 0; transform: translateX(-18px); } }
.promo-modal.is-open [data-promo-step=form] > * { animation: promo-up .5s cubic-bezier(.16, 1, .3, 1) both; }
.promo-modal.is-open [data-promo-step=form] > :nth-child(1) { animation-delay: .12s; }
.promo-modal.is-open [data-promo-step=form] > :nth-child(2) { animation-delay: .17s; }
.promo-modal.is-open [data-promo-step=form] > :nth-child(3) { animation-delay: .22s; }
.promo-modal.is-open [data-promo-step=form] > :nth-child(4) { animation-delay: .27s; }
.promo-modal.is-open [data-promo-step=form] > :nth-child(n+5) { animation-delay: .32s; }
@keyframes promo-up { from { opacity: 0; transform: translateY(10px); } }
.promo-modal.is-closing .promo-panel { animation: modal-out .26s ease both; }
.promo-done:not([hidden]) { animation: promo-up .45s cubic-bezier(.16, 1, .3, 1) both; }
@media (max-width: 760px) {
  .promo-modal .promo-panel { animation: promo-sheet .55s cubic-bezier(.16, 1, .3, 1) both; }
  .promo-modal.is-closing .promo-panel { animation: promo-sheet-out .28s ease both; }
  .promo-modal.is-open .promo-art { animation: none; }
  .cp-list { width: 100%; max-height: 46vh; }
}
@keyframes promo-sheet { from { transform: translateY(100%); } to { transform: none; } }
@keyframes promo-sheet-out { to { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) {
  .promo-live i::after, .promo-modal .promo-panel, .promo-modal.is-open .promo-art, .promo-modal.is-open [data-promo-step=form] > *, .cp-list, .promo-done:not([hidden]) { animation: none; }
}
/* With a picture: its side takes the picture's own shape (--ar = width / height, from includes/promo.php), so the whole
   picture shows edge to edge with no blurred bands. A tall flyer gets a narrow, tall side (up to 700 px high); a square
   or wide one a wider side (up to 600 px, leaving the form room) and a shorter pop-up (at least 500 px high). The form
   sits beside it and scrolls inside if a screen is short */
@media (min-width: 761px) {
  .promo-panel.is-img { --ph0: min(700px, 92vh); --aw: clamp(300px, min(calc(var(--ph0) * var(--ar)), calc(100vw - 520px)), 600px);
    --ph: clamp(min(500px, 92vh), calc(var(--aw) / var(--ar)), var(--ph0)); width: min(calc(var(--aw) + 480px), 100%); max-height: none; overflow: hidden; }
  .is-img .promo { grid-template-columns: var(--aw) minmax(0, 1fr); height: var(--ph); min-height: 0; }
  .is-img .promo-shade { display: none; }
  .is-img .promo-main { justify-content: flex-start; overflow-y: auto; overscroll-behavior: contain; padding: 34px 34px 20px; }
  .is-img .promo-main > div { margin-block: auto; }
  .is-img .promo-facts { display: none; } /* the flyer shows the pay, openings and cities already */
}
/* phones: the whole picture over the form, never cut (a tall flyer, a square post or a wide photo), on a blurred copy of
   itself; as tall as its shape needs, up to about half the screen */
@media (max-width: 760px) {
  .promo-panel.is-img .promo-art { height: min(calc((100vw - 24px) / var(--ar, .6667)), 54vh, 520px); }
  .is-img .promo-fg { object-fit: contain; object-position: center; padding: 10px 0; filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .45)); }
  .is-img .promo-shade { display: none; }
}
/* The Halloween touch (promo_halloween()): bats flap across the top of the picture, a spider lets itself down on its thread */
.promo-deco { position: absolute; inset: 0; z-index: 4; overflow: hidden; border-radius: inherit; pointer-events: none; }
.pd-bats { position: absolute; left: 0; top: 0; width: var(--aw, 390px); height: 150px; overflow: hidden; }
.pd-bat { position: absolute; left: -44px; top: 34px; width: 36px; animation: pd-fly 9s linear 1.2s infinite; }
.pd-bat:nth-child(2) { top: 72px; width: 27px; animation-duration: 11s; animation-delay: 4.2s; }
.pd-bat:nth-child(3) { top: 12px; width: 21px; animation-duration: 8s; animation-delay: 7s; }
.pd-bat svg { display: block; width: 100%; fill: #17121F; filter: drop-shadow(0 0 3px rgba(255, 166, 77, .6)); transform-origin: 50% 40%; animation: pd-flap .2s ease-in-out infinite alternate; }
@keyframes pd-fly { 0% { left: -44px; transform: translateY(0); } 25% { transform: translateY(-14px); } 50% { transform: translateY(9px); } 75% { transform: translateY(-9px); } 100% { left: calc(100% + 44px); transform: translateY(0); } }
@keyframes pd-flap { to { transform: scaleY(.4); } }
.pd-spider { position: absolute; top: 0; right: 74px; display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0;
  animation: pd-drop 1.9s .8s cubic-bezier(.34, 1.25, .5, 1) both, pd-sway 5s 2.7s ease-in-out infinite; }
.pd-thread { display: block; width: 1px; height: 54px; background: linear-gradient(rgba(154, 166, 189, .2), #9AA6BD); }
.pd-spider svg { width: 30px; height: 30px; margin-top: -5px; fill: #1B1722; }
.pd-legs { fill: none; stroke: #1B1722; stroke-width: 1.8; stroke-linecap: round; transform-origin: 20px 24px; animation: pd-legs 1.1s ease-in-out infinite alternate; }
.pd-spider .pd-eye { fill: #FF8A1F; }
@keyframes pd-drop { from { transform: translateY(-110%); } }
@keyframes pd-sway { 0%, 100% { transform: none; } 25% { transform: rotate(3deg); } 50% { transform: translateY(6px); } 75% { transform: rotate(-3deg); } }
@keyframes pd-legs { to { transform: scaleX(.9); } }
@media (max-width: 760px) {
  .pd-bats { width: 100%; }
  .pd-spider { right: 66px; }
  .pd-thread { background: linear-gradient(rgba(255, 255, 255, .25), rgba(255, 255, 255, .85)); }
  .pd-spider svg { filter: drop-shadow(0 0 4px rgba(255, 255, 255, .55)); }
}
@media (prefers-reduced-motion: reduce) {
  .pd-bats { display: none; }
  .pd-spider, .pd-legs { animation: none; }
}

/* Admin → Onboarding: the Program & city filter, and each row's city under its program */
.onb-pf { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.onb-pf label { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.onb-pf label .ic { width: 15px; height: 15px; color: var(--blue); }
.admin-main .onb-pf select { width: auto; min-width: 260px; max-width: 100%; padding: 8px 34px 8px 12px; border: 1px solid #D5DEEE; border-radius: 10px; background-color: #fff; font-size: .9rem; font-weight: 600; color: var(--ink); box-shadow: none; }
.admin-main .onb-pf select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 99, 233, .14); }
.onl-prog-c { display: grid; justify-items: start; gap: 4px; min-width: 0; }
.onl-city { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; color: var(--ink); font-size: .8rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.onl-city .ic { flex: none; width: 13px; height: 13px; color: var(--muted); }
.onl-city.is-unknown { color: var(--muted); font-weight: 600; font-style: italic; }
.onb-track input[name=city] { width: 150px; }

/* Admin → Weekly report (admin/reports.php): the week, six numbers, the 8-week trend, by program, by city, and who */
.rp > * + * { margin-top: 20px; }
.rp-week { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; padding: 12px 16px; }
.rp-week-t small { display: block; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rp-week-t b { font-family: var(--display); font-size: 1.25rem; color: var(--ink); }
.rp-step { width: 40px; height: 40px; padding: 0; justify-content: center; }
.rp-step .ic { width: 18px; height: 18px; }
.rp-step.is-off { opacity: .35; pointer-events: none; }
.rp-pick { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.admin-main select#rp-w { width: auto; min-width: 250px; min-height: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E6B85' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); background-position: right 10px center; background-repeat: no-repeat; background-size: 16px; appearance: none; -webkit-appearance: none; padding: 8px 34px 8px 12px; border: 1px solid #D5DEEE; border-radius: 10px; background-color: #fff; font-size: .9rem; font-weight: 600; color: var(--ink); box-shadow: none; }
.rp-now { font-size: .88rem; font-weight: 700; white-space: nowrap; }
.rp-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rp-kpi.is-on { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.rp-kpis .kpi:first-child .kpi-ico { background: var(--navy); color: #fff; }
.rp-chg { display: inline-block; margin-top: 4px; color: var(--muted); font-weight: 700; }
.rp-chg.is-up { color: #0B6B35; }
.rp-chg.is-down { color: #B42318; }
.rp-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.rp-legend { display: flex; gap: 16px; color: var(--text); font-size: .84rem; font-weight: 700; }
.rp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.rp-sw { width: 10px; height: 10px; border-radius: 3px; }
.rp-sw-a, .rp-bar-a { background: #1E63E9; } /* applied */
.rp-sw-o, .rp-bar-o { background: #D5640A; } /* onboarded (checked for colorblind readers and contrast) */
.rp-chart { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; height: 220px; }
.rp-col { position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; color: var(--muted); }
.rp-col:hover { text-decoration: none; }
.rp-bars { flex: 1; min-height: 0; display: flex; align-items: flex-end; justify-content: center; gap: 2px; padding-top: 22px; border-bottom: 1px solid #DCE4F2; border-radius: 10px 10px 0 0; transition: background .15s; }
.rp-col:hover .rp-bars { background: #F3F6FC; }
.rp-col.is-on .rp-bars { background: var(--blue-50); }
.rp-bar { position: relative; width: min(20px, 38%); border-radius: 4px 4px 0 0; }
.rp-bar b { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); padding-bottom: 3px; color: var(--ink); font-size: .78rem; font-variant-numeric: tabular-nums; }
.rp-col small { margin-top: 7px; text-align: center; font-size: .74rem; font-weight: 600; white-space: nowrap; }
.rp-col.is-on small { color: var(--ink); font-weight: 800; }
.rp-col::after { content: attr(data-tip); position: absolute; bottom: calc(100% - 8px); left: 50%; z-index: 3; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: .76rem; font-weight: 600;
  white-space: nowrap; transform: translate(-50%, 4px); opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.rp-col:first-child::after, .rp-col:nth-child(2)::after { left: 0; transform: translate(0, 4px); }
.rp-col:last-child::after, .rp-col:nth-last-child(2)::after { left: auto; right: 0; transform: translate(0, 4px); }
.rp-col:hover::after { opacity: 1; transform: translate(-50%, 0); }
.rp-col:first-child:hover::after, .rp-col:nth-child(2):hover::after, .rp-col:last-child:hover::after, .rp-col:nth-last-child(2):hover::after { transform: none; }
.rp-stage { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border-radius: 12px; color: var(--text); font-weight: 600; }
.rp-stage + .rp-stage { border-top: 1px solid var(--line); }
.rp-stage:hover { background: var(--blue-50); text-decoration: none; }
.rp-stage b { font-family: var(--display); font-size: 1.05rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.rp-table .rp-n { text-align: right; white-space: nowrap; }
.rp-table td.rp-n { color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.rp-table td.rp-n.is-zero { color: #B8C1D3; font-weight: 600; }
.rp-table td { vertical-align: middle; }
.rp-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.rp-tabs a { padding: 7px 12px; border-radius: 999px; background: #F3F6FC; color: var(--text); font-size: .86rem; font-weight: 700; }
.rp-tabs a:hover { background: var(--blue-50); text-decoration: none; }
.rp-tabs a span { margin-left: 3px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rp-tabs a.is-on { background: var(--navy); color: #fff; }
.rp-tabs a.is-on span { color: #C9D6F5; }
.ov-row.rp-row { grid-template-columns: 38px minmax(0, 1fr) auto; }
@media (max-width: 1100px) { .rp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rp-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .rp-kpis { gap: 10px; }
  .rp-kpi { padding: 14px; }
  .rp-kpi .kpi-ico { display: none; }
  .rp-kpi .kpi-num { font-size: 1.75rem; }
  .rp-kpi .kpi-sub { font-size: .74rem; }
  .rp-pick { width: 100%; margin-left: 0; }
  .admin-main select#rp-w { flex: 1; min-width: 0; }
  .rp-chart { gap: 2px; }
  .rp-col small { font-size: .66rem; }
}
@media print {
  .ad-side, .ad-top, .ad-foot, .ad-scrim, .ah-actions, .rp-step, .rp-pick { display: none !important; }
  .ad-shell { display: block; background: none; }
  .rp .card { box-shadow: none; break-inside: avoid; }
  .rp-col::after { display: none; }
}

/* Admin → Telegram bot (admin/telegram.php): how it works, three steps, the welcome message as a driver sees it */
.tgb > * + * { margin-top: 20px; }
.tgb-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 20px 22px; }
.tgb-how > div { display: flex; gap: 12px; align-items: flex-start; }
.tgb-how p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.tgb-how b { display: block; margin-bottom: 2px; color: var(--ink); font-size: .92rem; }
.tgb-n { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #E7F3FC; color: #229ED9; } /* Telegram blue */
.tgb-n .ic { width: 19px; height: 19px; }
.tgb-err { display: flex; gap: 10px; align-items: flex-start; }
.tgb-err .ic { flex: none; margin-top: 2px; }
.tgb-num { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 800; }
.tgb-num .ic { width: 15px; height: 15px; color: #fff !important; }
.tgb-step.is-done .tgb-num { background: #17804A; }
.tgb-step.is-now { border-color: #9CC0FF; box-shadow: 0 0 0 1px #9CC0FF; }
.tgb-step.is-later .panel-head h2 { color: var(--muted); }
.tgb-step.is-later .tgb-num { background: #B8C1D3; }
.tgb-list { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 8px; color: var(--text); line-height: 1.55; }
.tgb-list code, .tgb-welcome .hint code { padding: 1px 6px; border-radius: 6px; background: #F1F4FA; color: var(--ink); font-size: .85em; }
.tgb-form label { font-weight: 700; color: var(--ink); }
.tgb-row { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.admin-page .admin-main .tgb-row input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.tgb-ok { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; line-height: 1.55; }
.tgb-ok > .ic { flex: none; width: 20px; height: 20px; margin-top: 2px; color: #17804A; }
.tgb-code { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border: 1.5px dashed #9CC0FF; border-radius: 12px; background: var(--blue-50); }
.tgb-code code { flex: 1; min-width: 0; font-size: 1.05rem; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.tgb-welcome { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.tgb-welcome label { font-weight: 700; color: var(--ink); }
.admin-page .admin-main .tgb-welcome textarea { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; line-height: 1.55; }
.tgb-phone { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 16px 34px rgba(10, 36, 99, .1); }
.tgb-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.tgb-bar b { font-size: .9rem; color: var(--ink); }
.tgb-bar small { color: var(--muted); font-size: .76rem; }
.tgb-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2AABEE, #229ED9); color: #fff; }
.tgb-av .ic { width: 17px; height: 17px; }
.tgb-chat { display: flex; flex-direction: column; gap: 8px; min-height: 220px; padding: 14px 12px; background: #DCE8D2 linear-gradient(160deg, #E4EEDA, #CFE0C3); } /* Telegram's chat backdrop */
.tgb-chat p { max-width: 88%; margin: 0; padding: 8px 11px; border-radius: 14px; font-size: .84rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); overflow-wrap: anywhere; }
.tgb-me { align-self: flex-end; background: #E1FEC6; color: #1F2D1A; border-bottom-right-radius: 4px; }
.tgb-bot { align-self: flex-start; background: #fff; color: #1B1F2A; border-bottom-left-radius: 4px; }
@media (max-width: 1000px) { .tgb-welcome { grid-template-columns: minmax(0, 1fr); } .tgb-phone { max-width: 340px; } }
@media (max-width: 720px) { .tgb-how { grid-template-columns: minmax(0, 1fr); } .tgb-row { flex-direction: column; align-items: stretch; } }
/* the driver's onboarding page: their code and "connected" */
.tg-code { padding: 1px 7px; border-radius: 6px; background: #F1F4FA; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; }
.tg-linked { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; color: #0B6B35; font-weight: 700; }
.tg-linked .ic { width: 18px; height: 18px; }
.tg-need { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 0; padding: 14px 16px; border-radius: 14px; background: #FFF7E6; border: 1px solid #F5D9A0; }
.tg-need-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #FFE8B8; color: #8A5A00; }
.tg-need-ico .ic { width: 18px; height: 18px; }
.tg-need p { margin: 0; color: var(--text); line-height: 1.5; }
.tg-need p > b { display: block; color: var(--ink); }
.tg-need-how { display: block; margin-top: 4px; color: var(--muted); font-size: .92em; }

/* Admin → FedEx routes (admin/fedex.php): totals, then the cities (station, still needed, note, top need) on the Walmart routes list's look */
.fx > * + * { margin-top: 20px; }
.fx-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fx-stat { padding: 14px 18px; }
.fx-stat small { display: block; color: var(--muted); font-size: .8rem; font-weight: 700; }
.fx-stat b { font-family: var(--display); font-size: 1.7rem; color: var(--ink); }
.fx-panel { display: block; }
.fx-add { display: grid; grid-template-columns: minmax(0, 1fr) 100px 100px minmax(0, .7fr) auto auto; gap: 10px; align-items: center; margin: 0 0 16px; }
.admin-page .admin-main .fx-add input:not([type=checkbox]) { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; }
.fx-top-add { margin: 0; white-space: nowrap; }
.wm-layout .wm-row.fx-row { grid-template-columns: minmax(0, 1fr) 76px 150px 140px; }
.wm-layout .fx-name { grid-template-columns: minmax(160px, 1fr) 76px 104px minmax(0, .7fr) auto auto; gap: 6px; }
.wm-row.fx-row.is-top { box-shadow: inset 3px 0 0 #E5501B; }
.fx-mini { display: inline-flex; align-items: center; gap: 4px; margin: 0; color: var(--muted); font-size: .78rem; font-weight: 600; }
.admin-page .admin-main :is(.fx-mini input, .fx-note) { min-width: 0; padding: 7px 8px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--ink); font-weight: 700; box-shadow: none; }
.admin-page .admin-main .fx-open input { width: 52px; text-align: right; }
.admin-page .admin-main .fx-st input { width: 58px; }
.admin-page .admin-main .fx-note { font-weight: 600; color: var(--text); }
.admin-page .admin-main :is(.fx-mini input, .fx-note):hover { border-color: var(--line); background: #fff; }
.admin-page .admin-main :is(.fx-mini input, .fx-note):focus { border-color: var(--blue); background: #fff; }
.fx-top { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 5px 9px; border-radius: 999px; background: #F3F5FA; color: var(--muted); font-size: .76rem; font-weight: 800; white-space: nowrap; cursor: pointer; }
.fx-top input { margin: 0; accent-color: #E5501B; }
.fx-top:has(input:checked) { background: #FFEDE4; color: #B23A0E; }
/* the pop-up's city list: FedEx "Top need" and notes */
.cp-top { margin-left: 8px; padding: 2px 7px; border-radius: 999px; background: #FDE7E1; color: #B42318; font-size: .64rem; font-style: normal; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.cp-opt b.cp-note { background: #F1F3F7; color: #5E6B85; }
.pm-fedex { display: grid; gap: 10px; justify-items: start; padding: 14px 16px; border: 1px solid #DCCFF0; border-radius: 12px; background: #F8F4FD; }
.pm-fedex p { margin: 0; line-height: 1.55; }
@media (max-width: 1180px) {
  .wm-layout .wm-row.fx-row { grid-template-columns: minmax(0, 1fr) auto auto; }
  .wm-layout .wm-row.fx-row .fx-name { grid-column: 1 / -1; }
  .wm-layout .wm-row.fx-row.wm-head { display: none; }
  .fx-add { grid-template-columns: minmax(0, 1fr) 100px 100px; }
  .fx-add > :nth-child(n+6) { grid-column: auto; }
}
@media (max-width: 700px) {
  .fx-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wm-layout .fx-name { grid-template-columns: minmax(0, 1fr) auto auto; }
  .wm-layout .fx-name > input[name=city] { grid-column: 1 / -1; }
  .fx-add { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fx-add > input[name=city], .fx-add > input[name=note], .fx-add .btn { grid-column: 1 / -1; }
}
/* the FedEx job post: its cities with openings, live from Admin → FedEx routes */
.fx-cities, .job-card .fx-cities { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 10px; padding: 0; }
.fx-cities li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.fx-cities li.is-top { border-color: #F6C3B1; background: #FFF8F5; }
.fx-cities li > span { display: flex; align-items: center; gap: 7px; min-width: 0; }
.fx-cities .ic { flex: none; width: 15px; height: 15px; color: var(--blue); }
.fx-cities b { color: var(--ink); font-size: .92rem; }
.fx-cities .cp-top { margin-left: 2px; }
.fx-cities small { flex: none; padding: 2px 8px; border-radius: 999px; background: #FFF1E4; color: #B24C08; font-size: .74rem; font-weight: 800; }
@media (max-width: 560px) { .fx-cities { grid-template-columns: minmax(0, 1fr); } }
.tg-staff { display: inline-flex; align-items: center; gap: 7px; color: var(--text); font-size: .88rem; }
.tg-staff .ic { width: 16px; height: 16px; color: #229ED9; }
/* the driver's "You're all set" card with the Telegram bot: two clearly labeled ways in, and their code in its own box */
.tg-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0 4px; }
.tg-way { display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid #DCE4F2; border-radius: 16px; background: #fff; }
.tg-way > p { margin: 0 0 auto; color: var(--text); font-size: .92rem; line-height: 1.5; }
.tg-way-tag { display: inline-flex; align-items: center; gap: 7px; width: max-content; padding: 5px 11px; border-radius: 999px; background: var(--blue-50); color: #1D4BB0; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tg-way-tag .ic { width: 15px; height: 15px; }
.tg-codebox { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 16px; border: 2px dashed #9CC0FF; border-radius: 14px; background: #F7FAFF; }
.tg-codebox small { display: block; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tg-codebox b { display: block; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.55rem; letter-spacing: .14em; }
.tg-more { margin: 14px 0 0; font-size: .9rem; }
.tg-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.tg-more .ic { width: 16px; height: 16px; }
.tg-card .tg-linked { margin: 12px 0 0; }
@media (max-width: 720px) { .tg-ways { grid-template-columns: minmax(0, 1fr); } }
/* Admin → Telegram bot: Connection check */
.tgb-check { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #FAFBFE; }
.tgb-check.is-ok { border-color: #B6EBCB; background: #F3FCF7; }
.tgb-check.is-bad { border-color: #F6C9C9; background: #FFF6F6; }
.tgb-verdict { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--ink); }
.tgb-verdict .ic { width: 18px; height: 18px; }
.is-ok .tgb-verdict .ic { color: #17804A; }
.is-bad .tgb-verdict .ic { color: #C42B2B; }
.tgb-why { margin: 0 0 10px; color: #9E1F1F; font-weight: 600; }
.tgb-check dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 6px 0 12px; }
.tgb-check dt { color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.tgb-check dd { margin: 2px 0 0; color: var(--ink); font-size: .88rem; overflow-wrap: anywhere; }
.tgb-check dd small { color: var(--muted); }
.tgb-check .hint { margin-left: 8px; }
@media (max-width: 720px) { .tgb-check dl { grid-template-columns: minmax(0, 1fr); } }
/* the driver's QR code to open the bot from a computer (drawn by app.js) */
.tg-scan { display: flex; align-items: center; gap: 14px; }
.tg-scan p { margin: 0; color: var(--text); font-size: .9rem; line-height: 1.5; }
.tg-qrcode { flex: none; width: 128px; height: 128px; padding: 8px; border: 1px solid #DCE4F2; border-radius: 12px; background: #fff; }
.tg-qrcode svg { display: block; width: 100%; height: 100%; }
.tg-or { margin: 4px 0 0; color: var(--muted); font-size: .85rem; line-height: 1.5; }

/* Admin → Onboarding → Call list (admin/onboarding-list.php): a sheet that prints sideways, to save as a PDF */
.cl > * + * { margin-top: 18px; }
.cl-pick { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: flex-end; padding: 16px 20px; }
.cl-pick > div { display: grid; gap: 6px; min-width: 220px; }
.cl-pick label { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); font-size: .86rem; }
.cl-pick label .ic { width: 15px; height: 15px; color: var(--blue); }
.cl-pick .hint { flex: 1 1 260px; margin: 0; }
.cl-doc { padding: 28px 30px; }
.cl-top { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.cl-logo { display: block; width: 116px; height: auto; margin: -10px 0 4px -6px; }
.cl-top h2 { margin: 0; font-size: 1.5rem; color: var(--ink); letter-spacing: -.01em; }
.cl-top p { margin: 4px 0 0; color: var(--muted); font-weight: 600; }
.cl-meta { display: flex; gap: 22px; margin: 0; text-align: right; }
.cl-meta dt { color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.cl-meta dd { margin: 2px 0 0; color: var(--ink); font-weight: 800; font-size: 1.05rem; }
.cl-stages { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 14px 0 0; padding: 0; list-style: none; }
.cl-stages li { display: flex; align-items: center; gap: 6px; }
.cl-stages b { color: var(--ink); }
.cl-group { margin-top: 24px; }
.cl-group h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 8px; font-size: 1rem; color: var(--ink); }
.cl-group h3 small { margin-left: auto; color: var(--muted); font-weight: 700; font-size: .82rem; }
.cl-city { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; }
.cl-city .ic { width: 15px; height: 15px; color: var(--muted); }
.cl-st { color: var(--muted); font-weight: 700; font-size: .86rem; }
.cl-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .86rem; } /* fixed: the columns line up from group to group */
.cl-table th { padding: 8px 10px; background: #F4F6FA; color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; text-align: left; border-bottom: 1px solid var(--line); }
.cl-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); }
.cl-table tr { break-inside: avoid; }
.cl-table .badge { white-space: normal; }
.cl-chk { width: 30px; text-align: center; }
.cl-box { display: inline-block; width: 15px; height: 15px; border: 1.5px solid #9AA6BC; border-radius: 4px; margin-top: 2px; }
.cl-n { width: 30px; color: var(--muted); font-weight: 700; }
.cl-table .cl-who { width: 22%; }
.cl-table .cl-phone { width: 13%; }
.cl-table .cl-stage { width: 14%; }
.cl-table .cl-left { width: 20%; }
.cl-table .cl-date { width: 10%; }
.cl-who b { color: var(--ink); }
.cl-who a { text-decoration: none; }
.cl-who small, .cl-date small { display: block; color: var(--muted); font-size: .78rem; overflow-wrap: anywhere; }
.cl-phone { white-space: nowrap; font-weight: 700; }
.cl-phone a { color: var(--ink); text-decoration: none; }
.cl-none { color: var(--muted); font-weight: 600; }
.cl-date { white-space: nowrap; }
td.cl-notes { background: repeating-linear-gradient(to bottom, transparent 0 21px, #E6EAF2 21px 22px); }
.cl-foot { margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
@media (max-width: 860px) {
  .cl-doc { padding: 18px 14px; overflow-x: auto; }
  .cl-top { flex-direction: column; }
  .cl-meta { text-align: left; }
  .cl-table { min-width: 760px; }
}
@media print {
  @page { size: letter landscape; margin: 10mm 10mm 12mm; }
  body:has(.cl-doc), body:has(.cl-doc) .ad-shell { background: #fff; min-height: 0; }
  .admin-main:has(.cl-doc) { padding: 0; max-width: none; animation: none; }
  .cl-pick { display: none !important; }
  .cl-doc { box-shadow: none; border: 0; border-radius: 0; padding: 0; overflow: visible; }
  .cl-table { min-width: 0; font-size: 8.5pt; }
  .cl-table th { padding: 6px 7px; font-size: 6.5pt; }
  .cl-table td { padding: 7px; }
  .cl-table .badge { padding: 3px 7px; font-size: 7pt; }
  .cl-who small, .cl-date small { font-size: 7.5pt; }
  .cl-table thead { display: table-header-group; }
  .cl-group h3 { break-after: avoid; }
  .cl-table th, .cl-table .badge, td.cl-notes { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .admin-head:has(~ .cl) { display: none; }
}

/* The pop-up with several campaigns (includes/promo.php): one at a time; the Next bar on top says where they are (dots,
   "Offer 1 of 3") and names the next campaign */
.promo-slide[hidden] { display: none; }
.promo-nav { display: flex; align-items: center; gap: 10px; margin: 0 34px 18px 0; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: #F7F9FD; }
.promo-prev { flex: none; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(10, 36, 99, .14); cursor: pointer; }
.promo-prev svg, .promo-next svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.promo-where { display: grid; gap: 4px; min-width: 0; }
.promo-where small { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.promo-dots { display: flex; gap: 5px; }
.promo-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #C9D3E6; cursor: pointer; transition: width .2s, background .2s; }
.promo-dot.is-on { width: 22px; background: var(--blue); }
.promo-dot.is-sent { background: #17804A; } /* they sent that one */
.promo-next { display: inline-flex; align-items: center; gap: 4px; min-width: 0; max-width: 64%; margin-left: auto; padding: 8px 8px 8px 14px; border: 0; border-radius: 999px;
  background: var(--blue); color: #fff; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; box-shadow: 0 8px 18px -8px rgba(29, 92, 255, .7); }
.promo-next span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.promo-next b { font-weight: 800; }
.promo-next:hover { filter: brightness(1.07); }
.promo-prev:focus-visible, .promo-next:focus-visible, .promo-dot:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.promo-switch { margin: 12px 0 0; padding: 10px 12px; border: 1px solid #F5D9A0; border-radius: 12px; background: #FFF7E6; color: #6B4700; font-size: .85rem; font-weight: 600; line-height: 1.45; }
.promo-switch[hidden] { display: none; }
.promo-see { margin-top: 10px; gap: 8px; }
.promo-see .ic { width: 17px; height: 17px; }
@media (max-width: 760px) { .promo-nav { margin-right: 0; } }
/* Moving between campaigns, smoothly: the campaigns sit on top of each other; the old one fades out as the new one fades
   in (its words glide in a few pixels from the side they came from), and the picture's side eases to the new picture's
   shape because --ar itself is animated. The opening animation doesn't replay (is-moved). */
@property --ar { syntax: '<number>'; inherits: true; initial-value: .6667; }
.promo-modal .promo-panel { display: grid; grid-template-columns: minmax(0, 1fr); transition: --ar .55s cubic-bezier(.22, .8, .24, 1); }
.promo-slide { grid-area: 1 / 1; min-width: 0; }
.promo-slide.is-in { z-index: 1; animation: promo-fade-in .42s cubic-bezier(.22, .8, .24, 1) both; }
.promo-slide.is-in .promo-main > * { animation: promo-glide .5s cubic-bezier(.22, .8, .24, 1) both; }
.promo-slide.is-out { z-index: 0; pointer-events: none; animation: promo-fade-out .36s ease both; }
@keyframes promo-fade-in { from { opacity: 0; } }
@keyframes promo-fade-out { to { opacity: 0; } }
@keyframes promo-glide { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 14px)); } }
.promo-modal.is-moved.is-open .promo-art, .promo-modal.is-moved.is-open [data-promo-step=form] > * { animation: none; }
@media (prefers-reduced-motion: reduce) { .promo-slide.is-in, .promo-slide.is-in .promo-main > *, .promo-slide.is-out { animation: none; } .promo-modal .promo-panel { transition: none; } }

/* Admin → Campaigns (admin/promo.php): the order visitors see them in, each campaign's status, results and share link */
[data-prog-for][hidden] { display: none; }
.cmp > * + * { margin-top: 20px; }
.cmp-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 150px)) minmax(0, 1fr); gap: 14px; }
.cmp-order { padding: 14px 18px; }
.cmp-order small { display: block; color: var(--muted); font-size: .8rem; font-weight: 700; }
.cmp-order p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 8px 0 0; color: var(--muted); font-weight: 700; }
.cmp-order p > span { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.cmp-order i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .72rem; font-style: normal; font-weight: 800; }
.cmp-row { display: grid; grid-template-columns: 40px 64px minmax(0, 1fr) 120px 150px auto; grid-template-areas: "move pic main status res acts" "move share share share share share";
  gap: 6px 16px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--line); }
.cmp-row:first-child { border-top: 0; }
.cmp-row.is-off .cmp-pic, .cmp-row.is-off .cmp-name { opacity: .65; }
.cmp-move { grid-area: move; display: grid; justify-items: center; gap: 2px; align-self: start; }
.cmp-move .btn { width: 30px; height: 30px; min-height: 0; padding: 0; }
.cmp-move .btn:disabled { opacity: .3; }
.cmp-n { color: var(--muted); font-weight: 800; font-size: .85rem; }
.cmp-pic { grid-area: pic; display: grid; place-items: center; width: 64px; height: 86px; overflow: hidden; border-radius: 10px; background: #F1F4FA; color: var(--muted); }
.cmp-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cmp-main { grid-area: main; display: grid; gap: 3px; min-width: 0; }
.cmp-name { color: var(--ink); font-weight: 800; font-size: 1.02rem; text-decoration: none; }
.cmp-name:hover { color: var(--blue); }
.cmp-main > small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 4px; color: var(--muted); font-size: .8rem; font-weight: 600; }
.cmp-tags > span:not(.badge) { display: inline-flex; align-items: center; gap: 4px; }
.cmp-tags .ic { width: 14px; height: 14px; }
.cmp-status { grid-area: status; }
.cmp-st-live { background: #E8F7EE; color: #17804A; }
.cmp-st-soon { background: #E9F1FF; color: #1D4FC4; }
.cmp-st-ended, .cmp-st-off { background: #F1F3F7; color: #5E6B85; }
.cmp-res { grid-area: res; display: grid; }
.cmp-res b { font-family: var(--display); font-size: 1.3rem; color: var(--ink); line-height: 1.1; }
.cmp-res small { color: var(--muted); font-size: .78rem; font-weight: 600; }
.cmp-acts { grid-area: acts; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.cmp-share { grid-area: share; margin-top: 4px; }
.cmp-share summary { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: .85rem; font-weight: 700; cursor: pointer; list-style: none; }
.cmp-share summary::-webkit-details-marker { display: none; }
.cmp-share summary .ic { width: 15px; height: 15px; }
.cmp-share-in { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; margin-top: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #FAFBFE; }
.cmp-share-in > div:last-child { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex: 1; min-width: 240px; }
.cmp-link { flex: 1 1 100%; }
.cmp-link code { display: block; color: var(--ink); font-size: .9rem; overflow-wrap: anywhere; }
.cmp-share-in .hint { flex: 1 1 100%; margin: 0; }
.cmp-slug { display: flex; align-items: center; border-bottom: 1.5px solid var(--line); }
.cmp-slug span { flex: none; color: var(--muted); font-size: .9rem; }
.admin-page .admin-main .cmp-slug input { border: 0; padding-left: 2px; }
@media (max-width: 1100px) {
  .cmp-sum { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cmp-order { grid-column: 1 / -1; }
  .cmp-row { grid-template-columns: 40px 64px minmax(0, 1fr) auto; grid-template-areas: "move pic main status" "move pic res res" "move acts acts acts" "move share share share"; }
  .cmp-acts { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .cmp-row { grid-template-columns: 34px 52px minmax(0, 1fr); grid-template-areas: "move pic main" "move pic status" "move res res" "move acts acts" "move share share"; padding: 14px; }
  .cmp-pic { width: 52px; height: 70px; }
  .cmp-slug { flex-wrap: wrap; }
}
/* Admin → Campaigns, editing one: the program as four clear choices, and the note when the words say another program */
.cmp-progs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.cmp-progs legend { margin-bottom: 8px; padding: 0; color: var(--ink); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cmp-prog { position: relative; display: flex; margin: 0; font-size: .9rem; font-weight: 400; letter-spacing: normal; text-transform: none; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.cmp-prog input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); }
.cmp-prog b { display: block; color: var(--ink); font-size: .9rem; line-height: 1.3; }
.cmp-prog small { display: flex; align-items: center; gap: 5px; margin-top: 4px; color: var(--muted); font-size: .76rem; font-weight: 600; }
.cmp-prog small .ic { flex: none; width: 13px; height: 13px; }
.cmp-prog:has(input:checked) { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 1px var(--blue); }
.cmp-prog-fedex:has(input:checked) { border-color: #4D148C; background: #F5F0FB; box-shadow: 0 0 0 1px #4D148C; }
.cmp-prog-walmart:has(input:checked) { border-color: #0B6B35; background: #EEF9F2; box-shadow: 0 0 0 1px #0B6B35; }
.cmp-prog-fedex input { accent-color: #4D148C; }
.cmp-prog-walmart input { accent-color: #0B6B35; }
.cmp-clash { grid-column: 1 / -1; display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 0; padding: 10px 12px; border: 1px solid #F5C2C0; border-radius: 12px; background: #FFF1F0; color: #8F1D17; font-size: .86rem; font-weight: 600; line-height: 1.45; }
.cmp-clash[hidden] { display: none; }
.cmp-clash .ic { flex: none; width: 17px; height: 17px; margin-top: 1px; }
.cmp-clash-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: #FFF1F0; color: #B42318 !important; font-weight: 700; }
@media (max-width: 480px) { .cmp-progs { grid-template-columns: minmax(0, 1fr); } }
/* The Next button asks to be tapped: a soft ring pulses out of it, a light sweeps across it and its arrow nudges forward */
.promo-next { position: relative; overflow: hidden; isolation: isolate; animation: promo-next-ring 2.4s ease-out 1.4s infinite; }
.promo-next::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, .5) 50%, transparent 75%);
  transform: translateX(-130%); animation: promo-next-shine 3.6s ease-in-out 1s infinite; }
.promo-next svg, .promo-see .ic { animation: promo-next-nudge 1.8s ease-in-out .6s infinite; }
.promo-next:hover, .promo-next:focus-visible { animation-play-state: paused; transform: translateY(-1px); }
@keyframes promo-next-ring {
  0% { box-shadow: 0 8px 18px -8px rgba(29, 92, 255, .7), 0 0 0 0 rgba(29, 92, 255, .5); }
  70%, 100% { box-shadow: 0 8px 18px -8px rgba(29, 92, 255, .7), 0 0 0 9px rgba(29, 92, 255, 0); }
}
@keyframes promo-next-shine { 0%, 45% { transform: translateX(-130%); } 75%, 100% { transform: translateX(130%); } }
@keyframes promo-next-nudge { 0%, 55%, 100% { transform: translateX(0); } 25% { transform: translateX(4px); } 40% { transform: translateX(1px); } }
@media (prefers-reduced-motion: reduce) {
  .promo-next, .promo-next::before, .promo-next svg, .promo-see .ic { animation: none; }
}

/* Admin → Member messages → Message a group, "Drivers in certain cities": who (everyone / onboarded / still onboarding),
   then the Walmart and FedEx cities members are in, each with how many drivers */
.ib-aud-cities b { display: flex !important; align-items: center; gap: 6px; }
.ib-aud-cities b .ic { width: 15px; height: 15px; color: var(--blue); }
.ib-cities { display: grid; gap: 14px; margin-top: 10px; padding: 14px; border: 1px solid #CFE0FF; border-radius: 14px; background: #F7FAFF; }
.ib-cities[hidden] { display: none; }
.ib-stage { display: flex; flex-wrap: wrap; gap: 6px; }
.os-form .ib-stage-opt { position: relative; display: inline-flex; flex: none; width: auto; margin: 0; cursor: pointer; }
.ib-stage-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ib-stage-opt span { display: inline-block; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-size: .84rem; font-weight: 600; transition: background .15s, border-color .15s, color .15s; }
.ib-stage-opt input:checked + span { border-color: var(--blue); background: var(--blue); color: #fff; }
.ib-stage-opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.ib-city-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.ib-city-col { display: grid; gap: 4px; align-content: start; }
.ib-city-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 4px; }
.ib-city-all { padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.ib-city-all:hover { text-decoration: underline; }
.ib-city { display: flex; align-items: center; gap: 9px; margin: 0; padding: 7px 10px; border: 1px solid transparent; border-radius: 10px; background: #fff; cursor: pointer; font-size: .9rem; color: var(--ink); }
.ib-city:hover { border-color: #B9CCF5; }
.ib-city:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.ib-city input { flex: none; width: 17px; height: 17px; margin: 0; accent-color: var(--blue); }
.ib-city span { flex: 1; min-width: 0; }
.ib-city small { flex: none; min-width: 26px; padding: 1px 7px; border-radius: 999px; background: #EEF2F8; color: var(--muted); font-size: .76rem; font-weight: 800; text-align: center; }
.ib-city-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid #DCE6F7; color: var(--ink); font-weight: 700; font-size: .88rem; }
.mem-msg { margin: 0 0 12px; } /* Drivers & members → Message a group, these drivers by city */
