/* Punctual Workforce: GTA map site. White ground, navy ink, one blue. */

:root {
  --bg: #ffffff;
  --bg-2: #f4f6f9;
  --ink: #0f2747;
  --ink-2: #44536a;
  --ink-3: #7a879a;
  --line: #e1e6ee;
  --blue: #2563c7;
  --blue-2: #1d4f9e;
  --blue-soft: #e8f0fc;
  --navy: #10294a;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 8px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: var(--r);
  border: 2px solid var(--ink); background: var(--ink); color: #fff;
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--navy); }
.btn-blue { background: var(--blue); border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-2); border-color: var(--blue-2); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand-logo { height: 36px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.menu-btn { display: none; margin-left: auto; background: none; border: 2px solid var(--ink); border-radius: var(--r); width: 44px; height: 44px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 0; }
.hero-top { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: end; }
.hero h1 { font-size: clamp(44px, 7.2vw, 100px); letter-spacing: -0.045em; line-height: 0.96; }
.hero h1 .strike { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 0.07em; text-decoration-color: var(--blue); }
.hero-sub { font-size: 19px; color: var(--ink-2); max-width: 30em; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 54px); margin-top: 12px; }
.sec-head p { margin-top: 16px; font-size: 18px; color: var(--ink-2); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.step { padding: 26px 24px 0 0; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step-n { font-size: 14px; font-weight: 800; color: var(--blue); }
.step h3 { font-size: 21px; margin-top: 10px; letter-spacing: -0.01em; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

/* Comparison */
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th { text-align: left; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 0 16px 14px 0; font-weight: 700; }
.compare th:last-child { color: var(--blue); }
.compare td { padding: 18px 16px 18px 0; border-top: 1px solid var(--line); vertical-align: top; }
.compare td:first-child { font-weight: 700; width: 22%; }
.compare td:nth-child(2) { color: var(--ink-3); width: 36%; }
.compare td:last-child { font-weight: 600; }

/* Honest startup block */
.honest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.honest-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.honest-card h3 { font-size: 20px; letter-spacing: -0.01em; margin-bottom: 14px; }
.honest-card li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 6px; background: #fff; font-size: 16px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; }
.form-foot p { font-size: 14px; color: var(--ink-3); }
.form-done { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 8px; background: var(--blue-soft); color: var(--ink); font-weight: 600; }
.form-done.show { display: block; }
.side-list { margin-top: 28px; }
.side-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.side-list li:last-child { border-bottom: 1px solid var(--line); }
.side-list b { display: block; font-size: 17px; }
.side-list span { color: var(--ink-2); font-size: 15px; }
.side-head h2 { font-size: clamp(30px, 3.8vw, 46px); margin-top: 12px; }
.side-head p { margin-top: 14px; font-size: 18px; color: var(--ink-2); }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.role { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; }
.role-top { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.role h3 { font-size: 19px; letter-spacing: -0.01em; }
.role-pay { font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); white-space: nowrap; text-align: right; }
.role-pay small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.role-meta { margin-top: 6px; font-size: 14px; color: var(--ink-3); font-weight: 600; }
.role p { margin: 12px 0 18px; font-size: 15px; color: var(--ink-2); }
.role .btn { margin-top: auto; align-self: flex-start; }
.more-link { margin-top: 28px; }

/* FAQ */
.faq { border-top: 2px solid var(--ink); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; position: relative; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 14px; font-size: 28px; font-weight: 500; color: var(--blue); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 46em; }

/* Contact strip */
.contact-strip { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.contact-strip h2 { font-size: clamp(30px, 4vw, 48px); }
.contact-strip p { margin-top: 10px; color: var(--ink-2); font-size: 18px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-foot { background: var(--navy); color: #c7d4e6; padding: 64px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #9cc0ff; margin-bottom: 14px; }
.foot-grid a { color: #fff; text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-grid li { padding: 4px 0; }
.foot-legal { margin-top: 18px; font-size: 14px; max-width: 30em; }
.foot-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #8fa3bf; }

/* ---------- Jobs page ---------- */
.page-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.04em; margin-top: 12px; }
.page-hero p { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 38em; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; padding: 28px 0 8px; }
.filters .search { flex: 1 1 260px; }
.filters label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.filters input, .filters select { width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 6px; background: #fff; font-weight: 600; }
.filters input:focus, .filters select:focus { outline: none; border-color: var(--blue); }
.results-line { font-size: 14px; color: var(--ink-3); font-weight: 600; padding: 12px 0 18px; }
.empty { padding: 40px; text-align: center; border: 1.5px dashed var(--line); border-radius: 14px; color: var(--ink-2); grid-column: 1 / -1; }

dialog.apply { width: min(580px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: 0; border-radius: 14px; padding: 0; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -20px rgba(15,39,71,.45); }
dialog.apply::backdrop { background: rgba(15, 39, 71, .55); }
.apply-head { padding: 24px 28px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.apply-head h2 { font-size: 24px; letter-spacing: -0.02em; margin-top: 6px; }
.apply-meta { margin-top: 6px; font-size: 14px; color: var(--ink-3); font-weight: 600; }
.apply-close { background: none; border: 1.5px solid var(--line); border-radius: 6px; width: 40px; height: 40px; font-size: 20px; cursor: pointer; flex-shrink: 0; }
.job-detail { padding: 18px 28px 0; }
.job-detail h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 12px 0 6px; }
.job-detail li { padding: 3px 0 3px 18px; position: relative; font-size: 15px; color: var(--ink-2); }
.job-detail li::before { content: ''; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }
.apply form { padding: 20px 28px 28px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; padding: 64px 24px 96px; margin: 0 auto; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.035em; }
.legal .updated { margin-top: 10px; color: var(--ink-3); font-size: 14px; font-weight: 600; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-top, .designer, .form-grid { grid-template-columns: 1fr; }
  .designer-controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step { padding-bottom: 26px; }
  .honest { grid-template-columns: 1fr; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .contact-strip { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav, .head-cta { display: none; }
  .menu-btn { display: block; }
  .site-head.open .nav { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 72px; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .site-head.open .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .formation-hero .wrap { grid-template-columns: 1fr; }
  .f-cell, .f-cell:first-child { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 0; }
  .f-cell:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 44px; }
  .section { padding: 64px 0; }
  .ask { padding-top: 56px; }
  .switch { display: grid; width: 100%; }
  .switch button { min-width: 0; padding: 0 10px; font-size: 16px; }
  .designer-controls, .designer-view, .form-card { padding: 22px 18px; }
  .steps { grid-template-columns: 1fr; }
  .step + .step, .step:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100% !important; }
  .compare thead { display: none; }
  .compare tr { border-top: 1px solid var(--line); padding: 14px 0; }
  .compare td { border: 0; padding: 2px 0; }
  .compare td:nth-child(2)::before { content: 'Usually: '; font-weight: 700; }
  .compare td:last-child::before { content: 'Punctual: '; color: var(--blue); font-weight: 800; }
  .fields { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.sec-head .eyebrow, .side-head .eyebrow { margin-top: 0; font-size: 13px; color: var(--blue); }
.role .role-pay { margin: 0; }
.role .role-meta { margin: 6px 0 0; }

/* ---------- GTA map hero ---------- */
.map-hero { padding: 48px 0 72px; }
.map-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end; margin-bottom: 28px; }
.map-head h1 { font-size: clamp(40px, 6vw, 80px); letter-spacing: -0.045em; line-height: 0.98; margin-top: 16px; }
.map-head p { font-size: 18px; color: var(--ink-2); max-width: 30em; }
.map-shell { display: grid; grid-template-columns: 1fr 380px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.map-stage { position: relative; background: var(--bg-2); padding: 28px 24px 16px; border-right: 1px solid var(--line); }
#gtaMap { width: 100%; height: auto; display: block; }

.panel { padding: 28px; display: flex; flex-direction: column; min-height: 100%; }
.panel-empty { margin: auto 0; color: var(--ink-2); }
.panel-empty h2 { font-size: 26px; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.02em; }
.panel-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.panel-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.panel-status.ask { color: var(--ink-3); } .panel-status.ask i { background: var(--ink-3); }
.panel-status.now { color: var(--blue); }
.panel h2 { font-size: 34px; letter-spacing: -0.03em; margin-top: 8px; }
.panel-note { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.panel-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 20px; padding: 4px; border: 1.5px solid var(--line); border-radius: 10px; }
.panel-tabs button { min-height: 44px; border: 0; border-radius: 7px; background: transparent; font-weight: 700; cursor: pointer; }
.panel-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.panel-body { margin-top: 18px; }
.mini-roles li { padding: 14px 0; border-top: 1px solid var(--line); }
.mini-roles li:last-child { border-bottom: 1px solid var(--line); }
.mini-roles b { display: block; font-size: 15px; }
.mini-roles span { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.mini-roles button { margin-top: 8px; background: none; border: 0; padding: 0; color: var(--blue); font-weight: 700; cursor: pointer; font-size: 14px; }
.mini-roles button:hover { text-decoration: underline; }
.panel-body .btn { width: 100%; margin-top: 16px; }
.panel-body p { color: var(--ink-2); font-size: 15px; }
.panel-body p + p { margin-top: 10px; }

/* simple 3-up */
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.three > div { padding: 26px 24px 0 0; }
.three > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.three h3 { font-size: 21px; margin-top: 10px; letter-spacing: -0.01em; }
.three p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

.forms-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.form-card h3 { font-size: 24px; letter-spacing: -0.02em; }
.form-card > p.lead { margin: 8px 0 20px; color: var(--ink-2); }

@media (max-width: 1000px) {
  .map-head, .map-shell, .forms-2 { grid-template-columns: 1fr; }
  .map-stage { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .three { grid-template-columns: 1fr; }
  .three > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 22px; }
  .map-select { display: block !important; }
  .panel { padding: 22px 18px; }
}
.map-select { display: none; margin: 0 8px 12px; }
.map-select label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.map-select select { width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 6px; background: #fff; font-weight: 700; font-size: 16px; }
.map-head .eyebrow { font-size: 13px; color: var(--blue); }

/* ---------- Icons ---------- */
.ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); flex-shrink: 0; }
.ico svg { width: 24px; height: 24px; }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 24px 20px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }
.trust-item b { display: block; font-size: 15px; }
.trust-item span:not(.ico) { display: block; font-size: 13.5px; color: var(--ink-3); line-height: 1.4; }

/* ---------- What we staff ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { border: 1px solid var(--line); border-radius: 14px; padding: 26px; background: #fff; transition: border-color .15s, transform .15s; }
.tile:hover { border-color: #b9cff3; transform: translateY(-2px); }
.tile h3 { font-size: 19px; margin-top: 18px; letter-spacing: -0.01em; }
.tile p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

/* ---------- Dark band ---------- */
.section.dark { background: var(--navy); color: #fff; }
.section.dark .eyebrow { color: #9cc0ff; }
.section.dark p { color: #c7d4e6; }
.split-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.split-head h2 { font-size: clamp(32px, 4.4vw, 54px); margin-top: 12px; }
.split-head > p { font-size: 18px; color: var(--ink-2); }
.included { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; overflow: hidden; }
.included > div { background: var(--navy); padding: 26px 24px; }
.included .ico { background: rgba(156,192,255,.14); color: #9cc0ff; }
.included h3 { font-size: 18px; margin-top: 16px; letter-spacing: -0.01em; }
.included p { margin-top: 6px; font-size: 14.5px; }
.steps.light { margin-top: 56px; border-top-color: rgba(255,255,255,.5); }
.steps.light .step + .step { border-left-color: rgba(255,255,255,.12); }
.steps.light .step-n { color: #9cc0ff; }
.band-cta { margin-top: 40px; }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Workers ---------- */
.worker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.checks-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.checks-list li:last-child { border-bottom: 1px solid var(--line); }
.checks-list b { display: block; font-size: 17px; }
.checks-list span:not(.ico) { color: var(--ink-2); font-size: 15px; }
.path { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 30px; }
.path h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 18px; }
.path ol { counter-reset: p; }
.path li { counter-increment: p; position: relative; padding: 0 0 22px 52px; }
.path li::before {
  content: counter(p); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px;
}
.path li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: var(--line); }
.path li b { display: block; font-size: 17px; }
.path li span { color: var(--ink-2); font-size: 15px; }
.path-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* ---------- Rights ---------- */
.rights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rights article { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; border-top: 4px solid var(--blue); }
.r-n { font-size: 13px; font-weight: 800; color: var(--blue); }
.rights h3 { font-size: 19px; margin-top: 10px; letter-spacing: -0.01em; }
.rights p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.rights-note { margin-top: 20px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- FAQ columns ---------- */
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.faq-cols .faq { max-width: none; }
.faq-h { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 16px 0 4px; }

@media (max-width: 1000px) {
  .trust-row { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(3) { padding-left: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .tiles, .rights { grid-template-columns: 1fr 1fr; }
  .included { grid-template-columns: 1fr 1fr; }
  .split-head, .worker-grid, .faq-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .trust-row, .tiles, .rights, .included { grid-template-columns: 1fr; }
  .trust-item { border-right: 0 !important; border-bottom: 1px solid var(--line); padding-left: 0; }
  .trust-item:last-child { border-bottom: 0; }
  .path { padding: 22px 18px; }
}
.site-foot { border-top: 1px solid rgba(255,255,255,.12); }

/* ---------- Route map ---------- */
.map-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 6px 8px; }
.map-cap b { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.map-cap span { font-size: 13px; color: var(--ink-3); }
.map-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
#gtaMap { width: 100%; height: auto; display: block; }
#gtaMap .lake { fill: #e9f1fc; }
#gtaMap .lake-label { font: italic 600 19px var(--sans); fill: #8aa8d6; letter-spacing: .04em; }
#gtaMap .route { fill: none; stroke-linecap: round; stroke-linejoin: round; transition: opacity .2s; }
#gtaMap .badge rect { stroke: #fff; stroke-width: 2.5; }
#gtaMap .badge text { font: 800 14px var(--sans); fill: #fff; text-anchor: middle; letter-spacing: .02em; }
#gtaMap .badge, #gtaMap .stop { transition: opacity .2s; }
#gtaMap .route.dim, #gtaMap .badge.dim { opacity: .2; }
#gtaMap .stop.dim { opacity: .45; }
#gtaMap .stop { cursor: pointer; outline: none; }
#gtaMap .stop .hit { fill: transparent; }
#gtaMap .stop .halo { fill: none; stroke: var(--blue); stroke-width: 3; opacity: 0; }
#gtaMap .stop .ring { fill: #fff; stroke: var(--ink); stroke-width: 4; transition: stroke .15s; }
#gtaMap .stop.ask .ring { stroke: #98a4b5; }
#gtaMap .stop .core { fill: var(--blue); }
#gtaMap .stop text { font: 700 20px var(--sans); fill: var(--ink); paint-order: stroke; stroke: var(--bg-2); stroke-width: 6px; stroke-linejoin: round; }
#gtaMap .stop.ask text { fill: var(--ink-3); font-weight: 600; }
#gtaMap .stop:hover .ring, #gtaMap .stop:focus-visible .ring { stroke: var(--blue); }
#gtaMap .stop:focus-visible .halo { opacity: .5; }
#gtaMap .stop.active .ring { fill: var(--ink); stroke: var(--ink); }
#gtaMap .stop.active .core { fill: #fff; }
#gtaMap .stop.active text { fill: var(--ink); font-weight: 800; font-size: 21px; }
#gtaMap .stop.active .halo { opacity: 1; transform-box: fill-box; transform-origin: center; animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.map-key { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--ink-2); padding: 10px 6px 0; align-items: center; }
.key-stop { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--ink); background: #fff; margin-right: 7px; vertical-align: -2px; position: relative; }
.key-stop.now::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--blue); }
.key-stop.ask { border-color: #98a4b5; }
.panel-sub { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 18px 0 8px; }
.panel-lines li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; padding: 4px 0; }
.chip-line { display: inline-grid; place-items: center; min-width: 38px; height: 22px; padding: 0 6px; border-radius: 5px; color: #fff; font-size: 11.5px; font-weight: 800; }
@media (max-width: 700px) {
  #gtaMap { min-width: 720px; }
}
@media (prefers-reduced-motion: reduce) { #gtaMap .stop.active .halo { animation: none; opacity: .6; } }
/* trust strip now has three items */
.trust-row { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) {
  .trust-row { grid-template-columns: repeat(3, 1fr); }
  .trust-item:nth-child(-n+2) { border-bottom: 0; }
  .trust-item:nth-child(2) { border-right: 1px solid var(--line); }
  .trust-item:nth-child(3) { padding-left: 20px; }
}
@media (max-width: 760px) {
  .trust-row { grid-template-columns: 1fr; }
  .trust-item, .trust-item:nth-child(3) { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; padding-left: 0; }
  .trust-item:last-child { border-bottom: 0 !important; }
}

.map-shell { grid-template-columns: 1fr 340px; }
@media (max-width: 1000px) { .map-shell { grid-template-columns: 1fr; } }
.map-shell > * { min-width: 0; }
@media (max-width: 700px) { .map-cap span::after { content: ' or swipe the map'; } }
.map-key span { display: inline-flex; align-items: center; } .key-stop { flex: none; box-sizing: border-box; }

/* ---------- Phone layout: swipe rows instead of long stacks of text ---------- */
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .sec-head, .split-head { margin-bottom: 24px; }
  .sec-head h2, .split-head h2 { font-size: 30px; }
  .sec-head p, .split-head > p { font-size: 16px; margin-top: 10px; }
  .map-head { margin-bottom: 18px; gap: 14px; }
  .map-head h1 { font-size: 40px; }
  .map-head p { font-size: 16px; }

  /* swipe rows */
  .tiles, .included, .rights, .honest, .steps, .three {
    display: grid; grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin: 0 -16px; padding: 0 16px 10px; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .tiles::-webkit-scrollbar, .included::-webkit-scrollbar, .rights::-webkit-scrollbar, .honest::-webkit-scrollbar, .steps::-webkit-scrollbar, .three::-webkit-scrollbar { display: none; }
  .tiles > *, .included > *, .rights > *, .honest > *, .steps > *, .three > * { scroll-snap-align: start; }
  .tile { padding: 20px; }
  .tile h3 { margin-top: 14px; }
  .included { background: none; border: 0; border-radius: 0; overflow-x: auto; }
  .included > div { border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 20px; }
  .steps, .three { border-top: 0; }
  .steps .step, .steps .step + .step, .three > div, .three > div + div {
    padding: 20px; border: 1px solid var(--line); border-radius: 12px; margin: 0; background: #fff;
  }
  .steps.light .step, .steps.light .step + .step { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
  .steps.light { margin-top: 28px; }
  .rights article { padding: 20px; }
  .honest-card { padding: 20px; }

  /* shorter worker list: titles only */
  .checks-list li { padding: 12px 0; align-items: center; }
  .checks-list span:not(.ico) { display: none; }
  .checks-list .ico { width: 38px; height: 38px; }
  .worker-grid { gap: 20px; }
  .path li span { font-size: 14px; }

  .trust-item { padding: 14px 0; }
  .trust-item span:not(.ico) { display: none; }
  .rights-note { font-size: 12.5px; }
  .faq summary { font-size: 16px; padding: 18px 40px 18px 0; }
}

/* ---------- Phone: less reading, more tapping ---------- */
.form-switch, .m-bar { display: none; }
@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .m-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
  }
  .m-bar .btn { min-height: 50px; }
  .head-cta { display: none; }

  /* tiles: icon + title only, two per row */
  .tiles { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; overflow: visible; margin: 0; padding: 0; gap: 10px; }
  .tile { padding: 16px; }
  .tile h3 { font-size: 15.5px; margin-top: 12px; line-height: 1.25; }
  .tile p { display: none; }
  .tile .ico { width: 38px; height: 38px; }

  /* employer extras: icon + title, two per row */
  .included { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; overflow: visible; margin: 0; padding: 0; gap: 10px; }
  .included > div { padding: 16px; }
  .included h3 { font-size: 15.5px; margin-top: 12px; }
  .included p { display: none; }
  .included .ico { width: 38px; height: 38px; }

  /* steps: short swipe cards, titles only */
  .steps .step p, .three p { display: none; }
  .steps { grid-auto-columns: 46%; }
  .step h3 { font-size: 17px; }

  /* hide long intros on phone */
  .split-head > p, #staff .sec-head p, #about .sec-head p { display: none; }
  .honest-card li { font-size: 14px; padding: 8px 0; }

  /* worker steps: tighter */
  .path li span { display: none; }
  .path li { padding-bottom: 16px; }
  .path li b { padding-top: 6px; }

  /* one form at a time */
  .form-switch {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; margin-bottom: 14px;
    border: 2px solid var(--ink); border-radius: 10px; background: #fff;
  }
  .form-switch button { min-height: 48px; border: 0; border-radius: 7px; background: transparent; font-weight: 800; font-size: 15px; cursor: pointer; }
  .form-switch button[aria-selected="true"] { background: var(--ink); color: #fff; }
  .forms-2 form:not(.on) { display: none; }
  .form-card > p.lead { display: none; }
  .form-card h3 { margin-bottom: 14px; }

  /* FAQ: fewer, lighter */
  .faq-cols { gap: 8px; }
  .faq details:nth-of-type(n+4) { display: none; }
}

/* ================= v10: interactive sections ================= */
span[data-icon]:not(.ico), i[data-icon] { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-style: normal; }
span[data-icon]:not(.ico) svg, i[data-icon] svg { width: 18px; height: 18px; }
.ico.big { width: 56px; height: 56px; border-radius: 14px; }
.ico.big svg { width: 30px; height: 30px; }

/* shared chip buttons */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button, .seg-tabs button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
  font-weight: 700; font-size: 15px; cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.chips button:hover, .seg-tabs button:hover { border-color: var(--ink-3); }
.chips button[aria-pressed="true"], .seg-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- map panel extras ---------- */
.panel-empty { margin: auto 0; }
.panel-empty .ico { margin-bottom: 16px; }
.quick-stops { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.quick-stops button { min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font-weight: 700; cursor: pointer; }
.quick-stops button:hover { border-color: var(--blue); color: var(--blue); }
.panel-lines { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.panel-tabs small { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 6px; border-radius: 11px; background: var(--blue-soft); color: var(--blue); font-size: 12px; }
.panel-tabs button[aria-selected="true"] small { background: rgba(255,255,255,.2); color: #fff; }
.muted-line { color: var(--ink-2); margin-bottom: 14px; }
.panel-body .btn { width: 100%; }
.mini-roles li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.mini-roles li:last-child { border-bottom: 1px solid var(--line); }
.mini-roles li > div { flex: 1; min-width: 0; }
.mini-roles b { display: block; font-size: 15px; }
.mini-roles li > div > span { display: flex; gap: 6px; color: var(--ink-3); margin-top: 4px; }
.mini-roles li > div > span svg { width: 16px; height: 16px; }
.mr-ico { width: 36px; height: 36px; border-radius: 9px; background: var(--blue-soft); color: var(--blue); }
.mini-roles li > button { margin: 0; min-height: 36px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 8px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; cursor: pointer; }
.mini-roles li > button:hover { background: var(--ink); color: #fff; text-decoration: none; }

/* ---------- role explorer ---------- */
.seg-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.explorer { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; }
.role-list { display: flex; flex-direction: column; gap: 6px; max-height: 620px; overflow-y: auto; padding-right: 4px; }
.rl-item {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; color: var(--ink);
}
.rl-item:hover { border-color: var(--ink-3); }
.rl-item[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.rl-item[aria-selected="true"] small { color: #a9bddb; }
.rl-item[aria-selected="true"] .rl-ico { background: rgba(255,255,255,.12); color: #fff; }
.rl-ico { width: 38px; height: 38px; border-radius: 9px; background: var(--blue-soft); color: var(--blue); }
.rl-txt { flex: 1; min-width: 0; }
.rl-txt b { display: block; font-size: 15px; line-height: 1.25; }
.rl-txt small { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.rl-hot { width: 9px; height: 9px; border-radius: 50%; background: #2e8540; flex-shrink: 0; }
.role-card { border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: #fff; }
.rc-top { display: flex; gap: 18px; align-items: center; }
.rc-top h3 { font-size: 28px; letter-spacing: -0.02em; }
.rc-status { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.rc-status.hot { color: #2e8540; }
.rc-type { color: var(--ink-3); font-weight: 600; font-size: 14px; margin-top: 4px; }
.rc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.rc-label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rc-label b { color: var(--ink); letter-spacing: 0; text-transform: none; font-size: 15px; }
.rc-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.rc-icons span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 8px; background: var(--bg-2); color: #b0b9c6; font-weight: 700; font-size: 14px; text-decoration: line-through; }
.rc-icons span.on { background: var(--blue-soft); color: var(--ink); text-decoration: none; }
.rc-icons span.on i { color: var(--blue); }
.rc-where { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.mini-map { width: 100%; height: auto; background: var(--bg-2); border-radius: 12px; display: block; }
.rc-actions { margin-top: 20px; }

/* mini map look */
.mini-map .lake { fill: #e9f1fc; }
.mini-map .route { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mini-map .route.dim { opacity: .18; }
.mini-map .stop .ring { fill: #fff; stroke: #98a4b5; stroke-width: 4; }
.mini-map .stop.quiet { opacity: .5; }
.mini-map .stop .core { fill: #98a4b5; }
.mini-map .stop .halo { fill: none; stroke: var(--blue); stroke-width: 4; opacity: 0; }
.mini-map .stop.active .ring { fill: var(--ink); stroke: var(--ink); }
.mini-map .stop.active .core { fill: #fff; }
.mini-map .stop.active .halo { opacity: 1; transform-box: fill-box; transform-origin: center; animation: ping 1.8s ease-out infinite; }
.mini-map .stop text { font: 800 26px var(--sans); fill: var(--ink); paint-order: stroke; stroke: var(--bg-2); stroke-width: 7px; }

/* ---------- shift planner ---------- */
.planner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; overflow: hidden; }
.plan-controls { padding: 28px; border-right: 1px solid rgba(255,255,255,.14); }
.pc { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.pc:first-child { padding-top: 0; } .pc:last-child { border-bottom: 0; padding-bottom: 0; }
.pc-label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #9cc0ff; margin-bottom: 10px; }
.section.dark .chips button { background: transparent; border-color: rgba(255,255,255,.22); color: #fff; }
.section.dark .chips button:hover { border-color: #fff; }
.section.dark .chips button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid rgba(255,255,255,.22); border-radius: 10px; overflow: hidden; }
.stepper button { width: 52px; height: 52px; border: 0; background: transparent; color: #fff; font-size: 24px; font-weight: 700; cursor: pointer; }
.stepper button:hover { background: rgba(255,255,255,.08); }
.stepper output { min-width: 64px; text-align: center; font-size: 26px; font-weight: 800; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; max-width: 380px; }
.days button { height: 46px; border: 1.5px solid rgba(255,255,255,.22); border-radius: 8px; background: transparent; color: #fff; font-weight: 800; cursor: pointer; }
.days button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); }
.plan-view { padding: 28px; background: rgba(255,255,255,.04); display: flex; flex-direction: column; gap: 18px; }
.cb-track { position: relative; height: 14px; border-radius: 7px; background: rgba(255,255,255,.1); overflow: hidden; }
.cb-fill { position: absolute; top: 0; bottom: 0; border-radius: 7px; transition: left .25s, width .25s; }
.cb-fill.days { background: #f2b53a; } .cb-fill.afternoons { background: #3aa0d8; } .cb-fill.nights { background: #9cc0ff; }
.cb-ticks { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11.5px; color: #8fa3bf; font-weight: 600; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day { border-radius: 10px; border: 1.5px dashed rgba(255,255,255,.16); padding: 10px 6px; min-height: 170px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.day.on { border: 1.5px solid rgba(156,192,255,.5); background: rgba(37,99,199,.18); }
.d-name { font-size: 13px; font-weight: 800; color: #c7d4e6; }
.d-stack { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1; }
.d-stack i { color: #fff; } .d-stack i svg { width: 20px; height: 20px; }
.d-stack em { font-style: normal; font-size: 12px; font-weight: 800; color: #9cc0ff; }
.d-stack em.off { color: #6b7d96; margin-top: 20px; }
.d-shift { color: #f2b53a; }
.plan-sum { font-size: 17px; color: #fff !important; }
.plan-sum span { color: #9cc0ff; }
.plan-view .btn { align-self: flex-start; }
.included.mini { grid-template-columns: repeat(6, 1fr); margin-top: 28px; }
.included.mini > div { display: flex; align-items: center; gap: 12px; padding: 18px; }
.included.mini h3 { margin: 0; font-size: 15px; }
.plan-chip { margin: -4px 0 16px; padding: 12px 14px; border-radius: 8px; background: var(--blue-soft); font-size: 14px; color: var(--ink); }

/* ---------- fit finder ---------- */
.finder { display: grid; grid-template-columns: 0.8fr 1.1fr 1.3fr; gap: 16px; }
.q { display: flex; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.q-n { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.q-body { flex: 1; min-width: 0; }
.q-title { display: block; font-weight: 800; font-size: 17px; margin: 4px 0 14px; }
.q select { width: 100%; min-height: 48px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font-weight: 700; font-size: 15px; }
.q .chips button { min-height: 42px; padding: 0 12px; font-size: 14px; }
.fit-head { margin: 28px 0 14px; color: var(--ink-2); font-size: 16px; }
.fit-head b { color: var(--ink); }
.fit-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fit-card { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: #fff; display: flex; flex-direction: column; gap: 10px; animation: rise .3s ease-out; }
.fc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.meter { flex: 1; max-width: 120px; height: 8px; border-radius: 4px; background: var(--bg-2); overflow: hidden; }
.meter i { display: block; height: 100%; background: #2e8540; border-radius: 4px; transition: width .3s; }
.fit-card h3 { font-size: 19px; letter-spacing: -0.01em; }
.fc-city { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.fc-city > i { color: var(--blue); }
.near, .line { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 800; }
.near { background: #e3f3e6; color: #2e8540; }
.line { background: var(--bg-2); color: var(--ink-2); }
.line .chip-line { min-width: 30px; height: 18px; font-size: 10.5px; }
.fc-shifts { display: flex; flex-wrap: wrap; gap: 6px; }
.fc-shifts span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 6px; background: var(--bg-2); color: var(--ink-3); font-size: 13px; font-weight: 700; }
.fc-shifts span.hit { background: var(--blue-soft); color: var(--ink); }
.fc-shifts span svg { width: 15px; height: 15px; }
.fit-card .btn { align-self: flex-start; margin-top: auto; }

/* ---------- flip cards ---------- */
.flips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.flip { position: relative; height: 190px; border: 0; padding: 0; background: none; cursor: pointer; perspective: 900px; text-align: left; color: inherit; }
.f-front, .f-back {
  position: absolute; inset: 0; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.f-front { background: #fff; border: 1px solid var(--line); }
.f-front > span[data-icon] { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }
.f-front b { font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; }
.f-front > i { position: absolute; right: 20px; bottom: 20px; color: var(--ink-3); }
.f-back { background: var(--ink); color: #c7d4e6; transform: rotateY(180deg); justify-content: center; font-size: 16px; }
.f-back b { color: #fff; font-size: 30px; letter-spacing: -0.02em; }
.flip.flipped .f-front { transform: rotateY(-180deg); }
.flip.flipped .f-back { transform: rotateY(0); }
.flip:focus-visible .f-front, .flip:focus-visible .f-back { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .explorer, .planner { grid-template-columns: 1fr; }
  .plan-controls { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .role-list { flex-direction: row; overflow-x: auto; max-height: none; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .rl-item { flex: 0 0 auto; width: auto; max-width: 260px; scroll-snap-align: start; }
  .finder { grid-template-columns: 1fr; }
  .fit-results { grid-template-columns: 1fr 1fr; }
  .flips { grid-template-columns: 1fr 1fr; }
  .included.mini { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .seg-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 16px; padding: 0 16px; }
  .seg-tabs button { flex: 0 0 auto; }
  .role-card { padding: 20px; }
  .rc-top h3 { font-size: 22px; }
  .rc-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
  .rc-icons span { padding: 7px 10px; font-size: 13px; }
  .plan-controls, .plan-view { padding: 20px 16px; }
  .week { gap: 4px; }
  .day { min-height: 140px; padding: 8px 2px; }
  .d-stack i svg { width: 16px; height: 16px; }
  .d-name { font-size: 11.5px; }
  .fit-results { grid-template-columns: 1fr; }
  .flips { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 10px; }
  .flip { scroll-snap-align: start; height: 170px; }
  .included.mini { grid-template-columns: 1fr 1fr; }
  .q { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) { .mini-map .stop.active .halo { animation: none; opacity: .6; } }
