/* LaneProof visual system — adapted from the supplied Swiftship Figma composition. */
:root {
  --ink: #1a1a1a;
  --ink-soft: #33343a;
  --muted: #6c7080;
  --canvas: #f4f5f8;
  --surface: #ffffff;
  --surface-soft: #f8f9fc;
  --line: #e2e4ea;
  --line-dark: #cfd2db;
  --sidebar: #1a1a1a;
  --sidebar-soft: #262626;
  --accent: #3757ff;
  --accent-strong: #2948ec;
  --accent-soft: #eef1ff;
  --blue: #3757ff;
  --blue-soft: #eef1ff;
  --green: #167d5a;
  --green-bright: #21a674;
  --green-soft: #e9f7f1;
  --amber: #95620f;
  --amber-soft: #fff6df;
  --red: #b23c4a;
  --red-soft: #fff0f2;
  --shadow: 0 18px 48px rgba(31, 34, 51, .08);
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, "Source Sans Pro", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body { background: var(--canvas); color: var(--ink); font-size: 15px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline-color: rgba(55, 87, 255, .48); }
button, a, input, select { transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease; }

/* Loading */
.entry-loading { background: #1a1a1a; color: white; }
.entry-loading-mark { width: 117px; height: 81px; animation: lp-entry-pulse 1.2s ease-in-out infinite; }
.entry-loading-mark img { width: 117px; height: 81px; }
.entry-loading strong { font-size: 18px; }
.entry-loading small { color: rgba(255,255,255,.5); font-size: 12px; }
@keyframes lp-entry-pulse { 50% { transform: translateY(-4px); opacity: .72; } }

/* Landing */
.public-shell { min-height: 100vh; overflow: hidden; background: white; color: var(--ink); }
.hero-shell { position: relative; min-height: 1132px; background: #1a1a1a; color: white; overflow: hidden; }
.hero-shell::before { content: ""; position: absolute; width: 560px; height: 560px; right: -250px; top: -270px; border: 1px solid rgba(255,255,255,.055); border-radius: 50%; box-shadow: 0 0 0 85px rgba(255,255,255,.012), 0 0 0 170px rgba(255,255,255,.01); pointer-events: none; }
.public-nav { position: relative; z-index: 30; width: min(calc(100% - 48px), 1140px); max-width: none; min-height: 142px; margin: 0 auto; padding: 24px 0 0; display: grid; grid-template-columns: 220px 1fr auto; align-items: start; gap: 36px; }
.public-brand { display: block; width: 117px; height: 81px; }
.public-brand img { display: block; width: 117px; height: 81px; object-fit: contain; }
.public-nav nav { min-height: 65px; display: flex; align-items: center; justify-content: center; gap: 48px; padding-top: 18px; }
.public-nav nav a { position: relative; color: rgba(255,255,255,.62); text-decoration: none; font-size: 13px; font-weight: 650; letter-spacing: .1px; }
.public-nav nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; border-radius: 2px; background: #3757ff; transition: right .2s ease; }
.public-nav nav a:hover { color: white; }
.public-nav nav a:hover::after { right: 0; }
.public-login-button { min-height: 48px; display: inline-flex; align-items: center; gap: 14px; margin-top: 12px; padding: 0 19px 0 21px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.04); color: white; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; box-shadow: none; }
.public-login-button svg { width: 18px; height: 18px; fill: none; stroke: #8295ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.public-login-button:hover { border-color: #3757ff; background: #3757ff; transform: translateY(-1px); }
.public-login-button:hover svg { stroke: white; }

.landing-hero { position: relative; z-index: 3; width: min(calc(100% - 48px), 1140px); max-width: none; min-height: 712px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 565px; align-items: center; gap: 48px; }
.landing-copy { position: relative; z-index: 8; max-width: 555px; padding: 8px 0 70px; }
.landing-kicker { display: inline-flex; align-items: center; gap: 10px; color: #6d7280; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: 1.55px; }
.landing-kicker i { width: 30px; height: 2px; border-radius: 2px; background: #3757ff; }
.landing-kicker.light { color: rgba(255,255,255,.55); }
.landing-copy h1 { max-width: 555px; margin: 25px 0 22px; color: white; font-size: clamp(48px, 4.25vw, 62px); line-height: 1.11; letter-spacing: -2.2px; }
.landing-copy h1 span { position: relative; color: white; }
.landing-copy h1 span::after { content: ""; position: absolute; left: 2px; bottom: -9px; width: 124px; height: 5px; border-radius: 5px; background: #3757ff; }
.landing-copy > p { max-width: 505px; margin: 0; color: rgba(255,255,255,.58); font-size: 17px; line-height: 1.72; }
.landing-actions { display: flex; align-items: center; gap: 27px; margin-top: 43px; }
.landing-primary, .landing-secondary { min-height: 56px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.landing-primary { min-width: 232px; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 20px 0 25px; border: 0; background: #3757ff; color: white; cursor: pointer; box-shadow: 0 16px 34px rgba(55,87,255,.25); }
.landing-primary svg { width: 19px; height: 19px; fill: none; stroke: white; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.landing-primary:hover { background: #4865ff; transform: translateY(-2px); box-shadow: 0 20px 38px rgba(55,87,255,.34); }
.landing-secondary { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; color: rgba(255,255,255,.78); text-decoration: none; }
.landing-secondary svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.landing-secondary:hover { color: white; }

.landing-visual { position: relative; z-index: 4; width: 565px; min-height: 620px; align-self: center; overflow: visible; }
.swift-route-grid { position: absolute; inset: 40px 0 10px; opacity: .52; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%); }
.swift-route-grid::after { content: ""; position: absolute; left: 0; right: 0; top: 16%; height: 1px; background: linear-gradient(90deg, transparent, rgba(55,87,255,.55), transparent); animation: grid-scan 4s ease-out .3s both; }
.swift-origin { position: absolute; z-index: 8; left: 176px; top: 20px; width: 69px; height: 86px; animation: origin-arrive .75s cubic-bezier(.2,.8,.2,1) .15s both; }
.swift-origin-pin { position: absolute; inset: 0; width: 69px; height: 86px; }
.swift-origin-warehouse { position: absolute; width: 44px; height: 35px; left: 13px; top: 17px; }
.swift-route-path { position: absolute; z-index: 3; left: 158px; top: 105px; width: 255px; height: 410px; clip-path: inset(0 0 100% 0); animation: route-reveal 3s cubic-bezier(.22,.72,.22,1) .6s forwards; }
.swift-origin-dot { position: absolute; z-index: 7; left: 196px; top: 96px; width: 26px; height: 26px; animation: origin-dot .6s ease .55s both; }
.swift-destination { position: absolute; z-index: 2; left: 176px; top: 409px; width: 204px; height: 204px; opacity: 0; animation: destination-arrive .8s cubic-bezier(.2,.8,.2,1) 3.1s forwards; }
.swift-destination img { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.swift-destination img:nth-child(1) { width: 204px; height: 204px; animation: destination-pulse 3.4s ease-in-out 4s infinite; }
.swift-destination img:nth-child(2) { width: 130px; height: 130px; }
.swift-destination img:nth-child(3) { width: 85px; height: 85px; }
.swift-destination img:nth-child(4) { width: 51px; height: 51px; }
.swift-truck-motion { position: absolute; z-index: 10; left: 158px; top: 105px; width: 98px; height: 42px; offset-path: path("M120.196 406.375C120.196 406.375 -6.44814 356.208 4.69629 294.375C12.4601 251.298 46.5676 237.37 84.6963 215.875C135.198 187.403 226.868 241.783 248.196 187.875C262.449 151.85 226.045 82.8739 212.196 58.3745C177.406 -3.1711 122.394 4.16656 51.6963 4.37468"); offset-distance: 100%; offset-rotate: auto 180deg; offset-anchor: 50% 50%; opacity: 0; animation: route-truck-drive 3.05s cubic-bezier(.3,.1,.2,1) .72s forwards; }
.swift-truck-motion img { display: block; width: 98px; height: 42px; filter: drop-shadow(0 9px 9px rgba(0,0,0,.34)); }
.swift-route-label { position: absolute; z-index: 12; left: 358px; top: 222px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: rgba(38,38,38,.88); color: white; font-size: 14px; font-weight: 650; box-shadow: 0 10px 22px rgba(0,0,0,.16); opacity: 0; animation: chip-arrive .55s ease 1.72s forwards; }
.swift-route-label b { margin: 0 4px; color: #7086ff; font-weight: 700; }
.swift-evidence-chip { position: absolute; z-index: 14; min-width: 178px; display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(31,31,31,.78); backdrop-filter: blur(12px); box-shadow: 0 16px 28px rgba(0,0,0,.19); opacity: 0; }
.swift-evidence-chip > svg { width: 19px; height: 19px; fill: none; stroke: #7388ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.swift-evidence-chip small, .swift-evidence-chip strong { display: block; }
.swift-evidence-chip small { color: rgba(255,255,255,.42); font-size: 9px; text-transform: uppercase; letter-spacing: .8px; }
.swift-evidence-chip strong { margin-top: 2px; color: white; font-size: 11px; }
.route-chip { left: 0; bottom: 36px; animation: chip-arrive .55s ease 3.5s forwards; }
.trust-chip { right: -5px; top: 82px; animation: chip-arrive .55s ease 3.8s forwards; }

@keyframes grid-scan { from { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(445px); opacity: 0; } }
@keyframes origin-arrive { from { opacity: 0; transform: translateY(-16px) scale(.88); } to { opacity: 1; transform: none; } }
@keyframes origin-dot { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: scale(1); } }
@keyframes route-reveal { to { clip-path: inset(0 0 0 0); } }
@keyframes route-truck-drive { 0% { offset-distance: 100%; opacity: 0; } 8% { opacity: 1; } 86%,100% { offset-distance: 0%; opacity: 1; } }
@keyframes destination-arrive { from { opacity: 0; transform: scale(.72); } to { opacity: 1; transform: scale(1); } }
@keyframes destination-pulse { 50% { transform: translate(-50%,-50%) scale(1.08); opacity: .65; } }
@keyframes chip-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.hero-proof-band { position: relative; z-index: 8; width: min(calc(100% - 48px), 1140px); min-height: 259px; margin: 19px auto 0; padding: 48px 50px; display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border-radius: 30px 30px 0 0; background: #3757ff; }
.hero-proof-band article { min-width: 0; display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-content: center; padding: 0 37px; }
.hero-proof-band article:first-child { padding-left: 0; }
.hero-proof-band article:last-child { padding-right: 0; }
.hero-proof-band article + article { border-left: 1px solid rgba(255,255,255,.13); }
.hero-proof-band article > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 13px; background: rgba(255,255,255,.08); }
.hero-proof-band svg { width: 20px; height: 20px; fill: none; stroke: white; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-proof-band h2 { margin: 0; color: white; font-size: 18px; letter-spacing: -.2px; }
.hero-proof-band p { margin: 10px 0 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.65; }

.landing-main { max-width: none; margin: 0; padding: 0 0 90px; }
.landing-stats { width: min(calc(100% - 48px),1140px); min-height: 190px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; border-bottom: 1px solid #e8e9ed; }
.landing-stats div { min-width: 0; padding: 5px 34px; }
.landing-stats div:first-child { padding-left: 0; }
.landing-stats div + div { border-left: 1px solid #e4e5ea; }
.landing-stats strong, .landing-stats span { display: block; }
.landing-stats strong { color: #1a1a1a; font-size: 27px; line-height: 1.1; letter-spacing: -.8px; }
.landing-stats span { margin-top: 9px; color: #767986; font-size: 11px; line-height: 1.45; text-transform: uppercase; letter-spacing: .7px; }

.platform-section { width: min(calc(100% - 48px),1140px); margin: 0 auto; padding: 116px 0 122px; }
.landing-section-heading { max-width: 760px; margin: 0 0 47px; }
.landing-section-heading > span { color: #3757ff; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; }
.landing-section-heading h2 { max-width: 730px; margin: 15px 0 0; font-size: clamp(39px,3.4vw,52px); line-height: 1.1; letter-spacing: -1.8px; }
.landing-section-heading p { max-width: 710px; margin: 18px 0 0; color: #737682; font-size: 15px; line-height: 1.75; }
.platform-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.platform-feature { position: relative; min-height: 435px; padding: 31px; overflow: hidden; border: 1px solid #e2e4ea; border-radius: 24px; background: #fff; box-shadow: 0 18px 45px rgba(34,37,55,.06); }
.platform-feature::after { content: ""; position: absolute; width: 190px; height: 190px; right: -88px; bottom: -112px; border: 25px solid #f2f4ff; border-radius: 50%; }
.feature-index { position: absolute; right: 28px; top: 27px; color: #c8cad3; font-size: 12px; font-weight: 800; letter-spacing: 1px; }
.feature-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: #1a1a1a; color: white; }
.feature-market .feature-icon { background: #3757ff; }
.feature-procurement .feature-icon { background: #eef1ff; color: #3757ff; }
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.platform-feature h3 { margin: 28px 0 0; font-size: 22px; letter-spacing: -.45px; }
.platform-feature > p { margin: 14px 0 0; color: #737682; font-size: 14px; line-height: 1.7; }
.platform-feature ul { position: relative; z-index: 2; display: grid; gap: 10px; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid #edeef2; list-style: none; }
.platform-feature li { position: relative; padding-left: 20px; color: #484b55; font-size: 12px; }
.platform-feature li::before { content: ""; position: absolute; width: 7px; height: 7px; left: 0; top: 6px; border: 2px solid #3757ff; border-radius: 50%; }

.workflow-section { width: min(calc(100% - 48px),1140px); min-height: 620px; margin: 0 auto 122px; padding: 67px; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 75px; border-radius: 30px; background: #f0f2ff; overflow: hidden; }
.workflow-intro h2 { margin: 18px 0 0; font-size: 42px; line-height: 1.12; letter-spacing: -1.4px; }
.workflow-intro > p { margin: 17px 0 0; color: #6f7381; font-size: 14px; line-height: 1.75; }
.workflow-intro button { min-height: 52px; display: inline-flex; align-items: center; gap: 18px; margin-top: 29px; padding: 0 20px 0 23px; border: 0; border-radius: 999px; background: #1a1a1a; color: white; font-size: 13px; font-weight: 750; cursor: pointer; }
.workflow-intro button svg { width: 18px; height: 18px; fill: none; stroke: #7187ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.workflow-intro button:hover { background: #3757ff; transform: translateY(-1px); }
.workflow-steps { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.workflow-steps::before { content: ""; position: absolute; left: 26px; top: 34px; bottom: 34px; width: 2px; background: linear-gradient(#3757ff, rgba(55,87,255,.12)); }
.workflow-steps li { position: relative; display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 20px; min-height: 105px; }
.workflow-steps li > span { position: relative; z-index: 2; width: 54px; height: 54px; display: grid; place-items: center; border: 7px solid #f0f2ff; border-radius: 50%; background: #3757ff; color: white; font-size: 11px; font-weight: 800; }
.workflow-steps li:first-child > span { background: #1a1a1a; }
.workflow-steps h3 { margin: 0; font-size: 19px; }
.workflow-steps p { margin: 6px 0 0; color: #737785; font-size: 13px; }

.trust-section { width: min(calc(100% - 48px),1140px); min-height: 590px; margin: 0 auto 48px; padding: 68px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; border-radius: 30px; background: #1a1a1a; color: white; overflow: hidden; }
.trust-visual { position: relative; min-height: 410px; }
.trust-orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(105,128,255,.27); border-radius: 50%; transform: translate(-50%,-50%); }
.trust-orbit.orbit-a { width: 320px; height: 320px; }
.trust-orbit.orbit-b { width: 210px; height: 210px; border-color: rgba(255,255,255,.1); }
.trust-shield { position: absolute; left: 50%; top: 50%; width: 108px; height: 108px; display: grid; place-items: center; border: 14px solid rgba(255,255,255,.06); border-radius: 50%; background: #3757ff; transform: translate(-50%,-50%); box-shadow: 0 0 0 25px rgba(55,87,255,.1); }
.trust-shield svg { width: 39px; height: 39px; fill: none; stroke: white; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust-card { position: absolute; min-width: 176px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(42,42,42,.85); backdrop-filter: blur(12px); box-shadow: 0 18px 35px rgba(0,0,0,.25); }
.trust-card small, .trust-card strong { display: block; }
.trust-card small { color: rgba(255,255,255,.42); font-size: 9px; text-transform: uppercase; letter-spacing: .8px; }
.trust-card strong { margin-top: 4px; font-size: 12px; }
.trust-card-a { left: 0; top: 63px; }
.trust-card-b { right: 0; bottom: 62px; }
.trust-copy h2 { margin: 20px 0 0; font-size: 43px; line-height: 1.12; letter-spacing: -1.5px; }
.trust-copy > p { margin: 20px 0 0; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.8; }
.trust-points { display: grid; gap: 12px; margin-top: 28px; }
.trust-points span { display: flex; align-items: center; gap: 11px; color: rgba(255,255,255,.8); font-size: 12px; }
.trust-points svg { width: 18px; height: 18px; fill: none; stroke: #7388ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.landing-cta { width: min(calc(100% - 48px),1140px); min-height: 260px; margin: 0 auto; padding: 48px 55px; display: flex; align-items: center; justify-content: space-between; gap: 50px; border-radius: 30px; background: #3757ff; color: white; }
.landing-cta > div { max-width: 700px; }
.landing-cta span { color: rgba(255,255,255,.7); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: 1.3px; }
.landing-cta h2 { margin: 13px 0 0; font-size: 35px; line-height: 1.2; letter-spacing: -1px; }
.landing-cta button { min-width: 183px; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 19px 0 23px; border: 0; border-radius: 999px; background: white; color: #1a1a1a; font-size: 13px; font-weight: 800; cursor: pointer; }
.landing-cta button svg { width: 19px; height: 19px; fill: none; stroke: #3757ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.landing-cta button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(21,31,91,.2); }
.public-footer { width: min(calc(100% - 48px),1140px); max-width: none; min-height: 135px; margin: 0 auto; padding: 20px 0; display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 30px; color: #757883; }
.public-footer img { width: 117px; height: 81px; object-fit: contain; }
.public-footer small { text-align: center; font-size: 10px; text-transform: uppercase; letter-spacing: .85px; }
.public-footer button { border: 0; background: none; color: #3757ff; font-size: 12px; font-weight: 800; cursor: pointer; }

/* Login */
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(580px,1.1fr) minmax(480px,.9fr); background: white; }
.login-visual-panel { position: relative; min-height: 100vh; overflow: hidden; padding: 36px 58px 42px; background: #1a1a1a; color: white; }
.login-visual-panel::before { content: ""; position: absolute; width: 540px; height: 540px; left: -220px; bottom: -210px; border: 1px solid rgba(255,255,255,.05); border-radius: 50%; box-shadow: 0 0 0 75px rgba(255,255,255,.015), 0 0 0 150px rgba(255,255,255,.012); }
.login-back { position: relative; z-index: 12; display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.56); font-size: 12px; font-weight: 700; cursor: pointer; }
.login-back span { color: #7187ff; font-size: 18px; }
.login-back:hover { color: white; }
.login-brand { position: absolute; z-index: 12; right: 52px; top: 23px; width: 117px; height: 81px; }
.login-brand img { width: 117px; height: 81px; object-fit: contain; }
.login-visual-copy { position: relative; z-index: 8; max-width: 620px; margin-top: 91px; }
.login-visual-copy h2 { max-width: 600px; margin: 20px 0 0; font-size: clamp(42px,3.8vw,58px); line-height: 1.08; letter-spacing: -2px; }
.login-visual-copy p { max-width: 530px; margin: 20px 0 0; color: rgba(255,255,255,.56); font-size: 14px; line-height: 1.75; }
.login-route-art { position: absolute; z-index: 3; width: 340px; height: 460px; right: 7%; bottom: -60px; opacity: .78; }
.login-route-line { position: absolute; width: 255px; height: 410px; right: 0; top: 0; }
.login-route-truck { position: absolute; z-index: 4; width: 125px; height: auto; left: 33px; bottom: 66px; transform: rotate(-17deg); filter: drop-shadow(0 12px 12px rgba(0,0,0,.28)); }
.login-route-art span { position: absolute; width: 190px; height: 190px; left: 0; bottom: 0; border-radius: 50%; background: rgba(55,87,255,.08); box-shadow: 0 0 0 42px rgba(55,87,255,.045), 0 0 0 84px rgba(55,87,255,.02); }
.login-security-chip { position: absolute; z-index: 10; left: 58px; bottom: 42px; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.06); backdrop-filter: blur(12px); }
.login-security-chip > svg { width: 22px; height: 22px; fill: none; stroke: #7187ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.login-security-chip strong, .login-security-chip small { display: block; }
.login-security-chip strong { font-size: 11px; }
.login-security-chip small { margin-top: 2px; color: rgba(255,255,255,.43); font-size: 9px; }
.login-form-panel { min-height: 100vh; display: grid; place-items: center; padding: 48px; background: #f6f7fa; }
.login-card { width: min(100%,450px); padding: 42px; border: 1px solid #e1e3e9; border-radius: 26px; background: white; box-shadow: 0 28px 70px rgba(30,34,52,.11); }
.login-card .eyebrow { margin-bottom: 9px; color: #3757ff; font-size: 10px; }
.login-card h1 { margin: 0; font-size: 38px; letter-spacing: -1.4px; }
.login-intro { margin: 11px 0 28px; color: #717582; font-size: 13px; line-height: 1.6; }
.login-card form { display: grid; gap: 18px; }
.login-card label { color: #626673; font-size: 11px; font-weight: 700; letter-spacing: .35px; }
.login-card input { height: 56px; border: 1px solid #d7d9e1; border-radius: 13px; padding: 13px 15px; color: #1a1a1a; background: white; font-size: 14px; }
.login-card input:focus { border-color: #3757ff; box-shadow: 0 0 0 4px rgba(55,87,255,.11); }
.password-field button { color: #717582; }
.login-submit { min-height: 56px; border-radius: 13px; background: #3757ff; box-shadow: 0 13px 25px rgba(55,87,255,.22); }
.login-submit svg { stroke: white; }
.login-submit:hover { background: #2948ec; box-shadow: 0 16px 28px rgba(55,87,255,.28); }
.demo-access { border-color: #e1e3ea; background: #f7f8fc; }
.demo-access > span { background: #eef1ff; color: #3757ff; }
.demo-access strong { font-size: 11px; }
.demo-access code { color: #575c6c; font-size: 10px; }
.login-footnote { color: #858997; font-size: 9px; }

/* Authenticated workspace */
.app-shell { grid-template-columns: 248px minmax(0,1fr); background: #f4f5f8; }
.sidebar { width: auto; padding: 26px 18px 22px; border: 0; background: #1a1a1a; }
.brand { min-height: 92px; display: flex; align-items: center; padding: 0 12px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand > img { width: 117px; height: 81px; object-fit: contain; }
.nav-section-label { margin: 28px 13px 11px; color: rgba(255,255,255,.31); font-size: 9px; letter-spacing: 1.5px; }
.sidebar nav { gap: 6px; }
.nav-link { min-height: 50px; grid-template-columns: 34px 1fr auto; gap: 10px; padding: 0 12px; border: 1px solid transparent; border-radius: 13px; color: rgba(255,255,255,.58); font-size: 12px; }
.nav-link:hover { border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: white; }
.nav-link.active { border-color: #3757ff; background: #3757ff; color: white; box-shadow: 0 13px 24px rgba(0,0,0,.22); }
.nav-icon { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.055); color: currentColor; }
.nav-link.active .nav-icon { background: rgba(255,255,255,.13); color: white; }
.nav-icon svg { width: 17px; height: 17px; }
.nav-link em { color: rgba(255,255,255,.24); font-size: 9px; }
.nav-link.active em { color: rgba(255,255,255,.65); }
.sidebar-foot { padding: 20px 5px 0; }
.mode-row { padding: 13px; border: 1px solid rgba(255,255,255,.08); border-radius: 13px; background: rgba(255,255,255,.035); }
.mode-row strong { color: white; font-size: 11px; }
.mode-row small { color: rgba(255,255,255,.4); font-size: 9px; }
.live-dot { background: #4bd39a; box-shadow: 0 0 0 5px rgba(75,211,154,.09); }
.logout-button { min-height: 40px; border-color: rgba(255,255,255,.08); color: rgba(255,255,255,.52); font-size: 10px; }
.logout-button:hover { border-color: rgba(55,87,255,.65); background: rgba(55,87,255,.12); }
.version-row { color: rgba(255,255,255,.3); font-size: 9px; }

.app-shell > main { padding: 0 38px 74px; }
.topbar { min-height: 118px; margin-bottom: 26px; border-color: #e0e2e8; }
.topbar h1 { font-size: 34px; letter-spacing: -1.1px; }
.eyebrow { color: #7a7e8d; font-size: 10px; letter-spacing: 1.4px; }
.status-pill { border-color: #e0e2e8; background: white; color: #646876; box-shadow: 0 5px 14px rgba(36,39,56,.045); }
.status-pill strong { color: #1a1a1a; }
.icon-button { border-color: #d7d9e1; border-radius: 12px; background: white; color: #575b68; }
.icon-button:hover { border-color: #3757ff; color: #3757ff; }
.query-card, .lane-output, .insight-panel { border-color: #e0e2e9; background: white; box-shadow: 0 14px 40px rgba(35,39,58,.06); }
.query-card, .lane-output { border-radius: 22px; }
.card-heading { border-color: #e8e9ee; background: linear-gradient(145deg,#fff,#f7f8fc); }
.cargo-load-caption svg, .truck-plan-note svg { stroke: #3757ff; }
.cargo-load-caption strong { background: #3757ff; }
.truck-cargo-mask { background: #bac5ff; }
.route-field-group { border-color: #e3e5eb; background: #fafafd; }
.route-node { box-shadow: 0 0 0 5px rgba(26,26,26,.05); }
.node-a { background: #f4c542; color: #1a1a1a; }
.node-b { background: #3757ff; color: white; }
input, select { border-color: #d6d9e1; color: #1a1a1a; background: white; }
input:focus, select:focus { border-color: #3757ff; box-shadow: 0 0 0 4px rgba(55,87,255,.11); }
.primary-button { background: #3757ff; box-shadow: 0 12px 24px rgba(55,87,255,.2); }
.primary-button svg { color: white; }
.primary-button:hover { background: #2948ec; box-shadow: 0 16px 29px rgba(55,87,255,.27); }
.secondary-button { border-color: #d5d8e0; background: white; }
.secondary-button:hover { border-color: #3757ff; color: #3757ff; }
.provider-note { border-color: #e6e8ed; background: #fafafd; }
.micro-tag { border-color: #dfe3ff; background: #eef1ff; color: #3757ff; }
.text-link { color: #3757ff; }

.route-placeholder, .route-map-wrap { background: linear-gradient(145deg,#eef1ff,#fbfbfd 78%); }
.placeholder-grid { background-image: linear-gradient(rgba(55,87,255,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(55,87,255,.1) 1px,transparent 1px); }
.placeholder-logistic-visual { position: absolute; z-index: 2; top: 0; left: 50%; width: min(64%, 380px); aspect-ratio: 1; transform: translateX(-50%); display: grid; place-items: center; pointer-events: none; }
.placeholder-logistic-glow { position: absolute; z-index: 0; width: 72%; height: 34%; border-radius: 50%; background: radial-gradient(ellipse,rgba(55,87,255,.16),rgba(244,197,66,.08) 48%,transparent 74%); filter: blur(18px); transform: translateY(28%); animation: logistic-glow 3.2s ease-in-out infinite; }
.placeholder-logistic-animation, .placeholder-logistic-fallback { position: relative; z-index: 1; width: 100%; height: 100%; display: block; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(34,42,75,.13)); }
.placeholder-logistic-fallback { display: none; width: 54%; height: auto; }
.route-placeholder .placeholder-copy { position: absolute; z-index: 3; top: 325px; left: 50%; width: min(86%, 500px); max-width: 500px; margin: 0; transform: translateX(-50%); }
@keyframes logistic-glow { 0%,100% { opacity: .62; transform: translateY(28%) scale(.92); } 50% { opacity: 1; transform: translateY(28%) scale(1.06); } }
@media (max-width: 900px) {
  .placeholder-logistic-visual { top: 0; width: min(70%, 330px); }
  .route-placeholder .placeholder-copy { top: 300px; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .placeholder-logistic-animation { display: none; }
  .placeholder-logistic-fallback { display: block; }
  .placeholder-logistic-glow { animation: none; }
}

/* Verified public-data library */
.open-data-library-panel { margin-bottom: 18px; overflow: hidden; }
.open-data-library { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; padding: 20px; border-top: 1px solid #e6e7ed; background: #f8f9fc; }
.open-data-card { position: relative; min-height: 182px; padding: 19px; border: 1px solid #dfe2eb; border-radius: 16px; background: #fff; box-shadow: 0 9px 24px rgba(24,28,43,.045); }
.open-data-card .open-data-icon { display: grid; width: 35px; height: 35px; margin-bottom: 18px; place-items: center; border-radius: 10px; background: #eef1ff; color: var(--primary); }
.open-data-card .open-data-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.open-data-card small { display: block; color: #69748a; font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.open-data-card > strong { display: block; margin-top: 7px; color: #18191d; font-size: 23px; letter-spacing: -.025em; }
.open-data-card p { min-height: 32px; margin: 7px 0 13px; color: #687185; font-size: 11px; line-height: 1.45; }
.open-data-card a { color: var(--primary); font-size: 10px; font-weight: 850; text-decoration: none; }
.open-data-card a:hover { text-decoration: underline; }
.open-data-boundary { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; margin: 0 20px 20px; padding: 17px 18px; border: 1px solid #d8dfff; border-radius: 14px; background: #f0f2ff; }
.open-data-boundary > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: #fff; color: var(--primary); box-shadow: 0 6px 18px rgba(55,87,255,.09); }
.open-data-boundary svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.open-data-boundary strong { color: #1d2030; font-size: 12px; }
.open-data-boundary p { margin: 5px 0 0; color: #626d82; font-size: 11px; line-height: 1.55; }
.evaluated-source-list { padding: 0 20px 20px; }
.evaluated-source-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 2px 0 12px; }
.evaluated-source-heading small { display: block; color: #707a8e; font-size: 9px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.evaluated-source-heading strong { display: block; margin-top: 4px; color: #1b1c21; font-size: 14px; }
.evaluated-source-heading > span, .source-access { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border: 1px solid #dfe3ed; border-radius: 999px; background: #f7f8fb; color: #5d687d; font-size: 9px; font-weight: 850; white-space: nowrap; }
.evaluated-source-table { min-width: 760px; }
.evaluated-source-table th:nth-child(1) { width: 28%; }
.evaluated-source-table th:nth-child(2) { width: 18%; }
.evaluated-source-table td { font-size: 10.5px; }

@media (max-width: 1120px) { .open-data-library { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 680px) {
  .open-data-library { grid-template-columns: 1fr; padding: 14px; }
  .open-data-boundary { margin: 0 14px 14px; }
  .evaluated-source-list { padding: 0 14px 14px; }
}
.route-grid { stroke: rgba(55,87,255,.12); }
.route-direct { stroke: rgba(244,197,66,.68); }
.route-marker-ring { fill: rgba(244,197,66,.15); stroke: rgba(213,165,25,.7); }
.route-marker-a { fill: #f4c542; }
.route-marker-a + .route-marker-text { fill: #1a1a1a; }
.route-marker-b { fill: #3757ff; }
.route-marker-b + .route-marker-text { fill: white; }
.route-map-live { position: relative; min-height: 285px; background: #e9edf5; }
.route-live-map.maplibregl-map, .market-map-canvas.maplibregl-map { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 100%; overflow: hidden; }
.route-map-live .maplibregl-ctrl-group, .market-map-live .maplibregl-ctrl-group { border-radius: 10px; overflow: hidden; box-shadow: 0 6px 16px rgba(31,36,57,.13); }
.route-map-pin { min-width: 118px; min-height: 44px; padding: 5px 9px 5px 5px; border: 1px solid rgba(255,255,255,.92); border-radius: 14px; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.96); color: #1a1a1a; box-shadow: 0 8px 24px rgba(24,31,55,.24); cursor: pointer; backdrop-filter: blur(8px); }
.route-map-pin > span:first-child { width: 32px; height: 32px; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center; font-size: 11px; font-weight: 900; }
.route-map-pin > span:last-child { display: grid; gap: 1px; text-align: left; }
.route-map-place { display: flex; align-items: center; gap: 5px; }
.route-map-flag { width: 17px; height: 12px; flex: 0 0 auto; border: 1px solid rgba(23,28,43,.12); border-radius: 2px; object-fit: cover; box-shadow: 0 2px 5px rgba(23,28,43,.12); }
.route-map-pin strong { font-size: 11px; line-height: 1.1; }
.route-map-pin small { color: #777d8e; font-size: 8px; font-weight: 750; }
.route-map-pin.pin-a > span:first-child { background: #f4c542; color: #1a1a1a; }
.route-map-pin.pin-b > span:first-child { background: #3757ff; color: white; }
.route-map-truck { width: 18px; height: 38px; display: grid; place-items: center; filter: drop-shadow(0 4px 5px rgba(18,24,43,.32)); pointer-events: none; }
.route-map-truck img { width: 18px; height: 38px; object-fit: contain; display: block; }
.route-title-node { width: 24px; height: 24px; flex: 0 0 auto; border-radius: 8px; display: grid; place-items: center; color: white !important; font-size: 9px !important; font-weight: 900; }
.route-location { display: inline-flex; align-items: center; gap: 7px; }
.route-title-flag { width: 23px; height: 16px; flex: 0 0 auto; border: 1px solid rgba(28,33,48,.13); border-radius: 3px; object-fit: cover; box-shadow: 0 2px 6px rgba(28,33,48,.12); }
.route-location-copy { display: grid; gap: 1px; }
.route-location-copy strong { font-size: 15px; line-height: 1.05; }
.route-location-copy small { color: #7b8191; font-size: 9px; font-weight: 750; line-height: 1.1; }
.route-arrow { color: #9aa0af !important; font-size: 14px !important; }
.route-map-badge { border-color: rgba(55,87,255,.12); background: rgba(255,255,255,.9); }
.route-kpis, .rate-visual, .decision-card { border-color: #e1e3e9; }
.price-fill { background: #1a1a1a; }
.price-fill.published, .price-fill.internal { background: #3757ff; }
.decision-card { background: #f5f6fc; }
.decision-card .decision-label { color: #3757ff; }
.context-chip { border-color: #e0e2e8; box-shadow: 0 4px 12px rgba(34,38,55,.045); }
.context-chip-icon, .context-chip.trend .context-chip-icon { background: #eef1ff; color: #3757ff; }

.market-hero, .data-hero, .trust-hero { background: linear-gradient(135deg,#252525,#1a1a1a 72%); }
.market-hero .eyebrow, .data-hero .eyebrow, .trust-hero .eyebrow { color: #8295ff; }
.trust-score strong { color: #8295ff; }
.metric-card, .source-card, .coverage-item { border-color: #e0e2e8; box-shadow: 0 10px 26px rgba(34,38,55,.045); }
.metric-card::before { background: #3757ff; }
.chart-grid { stroke: #e7e8ed; }
.chart-bar { fill: #b9c1ea; }
.chart-bar-highlight { fill: #3757ff; }
.chart-line { stroke: #3757ff; }
.chart-dot { fill: #3757ff; }
.chart-box { position: relative; }
.chart-bar, .chart-point, .market-map-point { cursor: pointer; transition: opacity .16s ease, filter .16s ease, stroke-width .16s ease; outline: none; }
.chart-bar:hover, .chart-bar:focus, .chart-point:hover, .chart-point:focus, .market-map-point:hover, .market-map-point:focus { filter: brightness(.92) drop-shadow(0 4px 5px rgba(31,36,57,.18)); }
.chart-mark-selected { stroke: #f4c542 !important; stroke-width: 4px !important; }
.chart-tooltip { position: absolute; z-index: 30; width: max-content; max-width: 230px; padding: 9px 11px; border-radius: 9px; background: #1a1a1a; color: white; box-shadow: 0 10px 24px rgba(0,0,0,.2); font-size: 10px; font-weight: 700; line-height: 1.35; pointer-events: none; }
.market-map-layout { display: grid; grid-template-columns: minmax(0,1fr) 250px; gap: 20px; align-items: stretch; padding: 20px 20px 20px; }
.company-history-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 14px; padding: 18px 20px; border: 1px solid #dfe3ec; border-left: 4px solid #1a1a1a; border-radius: 16px; background: #f7f8fb; }
.company-history-panel > div:first-child { max-width: 520px; }
.company-history-panel strong { display: block; margin: 4px 0; font-size: 16px; color: #1a1a1a; }
.company-history-panel p { margin: 0; color: #6f7482; font-size: 12px; line-height: 1.5; }
.company-history-values { display: grid; grid-template-columns: repeat(4, minmax(74px, 1fr)); gap: 8px; }
.company-history-values span { padding: 10px 12px; border: 1px solid #e1e4eb; border-radius: 12px; background: #fff; }
.company-history-values small, .company-history-values b { display: block; }
.company-history-values small { color: #777d8c; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.company-history-values b { margin-top: 4px; font-size: 13px; color: #1a1a1a; }
.company-history-panel.unavailable { border-left-color: #b8bdc8; }
.sourcing-cases-heading { margin-top: 28px; padding-top: 20px; border-top: 1px solid #e4e7ee; }
.dashboard-grid .market-map-panel { grid-column: 1 / -1; }
.market-map { min-height: 390px; border: 1px solid #e0e3eb; border-radius: 20px; background: #eef1f5; overflow: hidden; }
.market-map svg { width: 100%; min-height: 330px; display: block; }
.market-map-grid { stroke: rgba(55,87,255,.11); stroke-dasharray: 3 7; }
.market-map-ring { fill: rgba(55,87,255,.09); }
.market-map-code { fill: white; font-size: 8px; font-weight: 900; pointer-events: none; }
.market-map-code.dark { fill: #1a1a1a; }
.market-map-live { position: relative; min-height: 390px; padding: 0; }
.market-map-canvas { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; }
.market-map-status { position: absolute; z-index: 6; top: 16px; left: 16px; max-width: calc(100% - 80px); padding: 8px 11px; border: 1px solid #d7dcff; border-radius: 10px; background: rgba(255,255,255,.94); color: #4b5265; box-shadow: 0 8px 22px rgba(31,36,57,.12); font-size: 10px; font-weight: 800; }
.market-map-status.error { border-color: #f0d98b; background: #fff9e6; color: #7a5a00; }
.market-map-marker { --marker-size: 30px; position: absolute; width: var(--marker-size); height: var(--marker-size); padding: 0; overflow: visible; border: 2px solid white; border-radius: 10px 10px 10px 2px; background: #fff; color: #1a1a1a; box-shadow: 0 4px 12px rgba(24,31,55,.22); font: 900 8px/1 Inter, Arial, sans-serif; cursor: pointer; transition: box-shadow .16s ease, border-color .16s ease; }
.market-map-marker::after { content: ""; position: absolute; z-index: -1; left: 3px; bottom: -5px; width: 9px; height: 9px; border: 2px solid white; border-top: 0; border-left: 0; border-radius: 0 0 3px 0; background: inherit; transform: rotate(45deg); }
.market-map-marker.low { background: #f4c542; }
.market-map-marker.mid { background: #3757ff; color: #fff; }
.market-map-marker.high { background: #1a1a1a; color: #fff; }
.market-map-marker-code { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; border-radius: inherit; background: transparent; }
.market-map-marker:hover, .market-map-marker:focus-visible, .market-map-marker.selected { z-index: 8; border-color: #f4c542; box-shadow: 0 8px 22px rgba(24,31,55,.34), 0 0 0 3px rgba(244,197,66,.24); outline: none; }
.market-fuel-popup .maplibregl-popup-content { padding: 9px 11px; border-radius: 10px; background: #1a1a1a; color: white; box-shadow: 0 10px 24px rgba(0,0,0,.22); font-size: 10px; font-weight: 800; }
.market-fuel-popup .maplibregl-popup-tip { border-top-color: #1a1a1a; }
.market-map-live .maplibregl-ctrl-group { border-radius: 10px; overflow: hidden; box-shadow: 0 6px 16px rgba(31,36,57,.13); }
.market-map-live .maplibregl-ctrl-attrib, .route-map-live .maplibregl-ctrl-attrib { display: none !important; }
.map-source-line { margin: 8px 0 0 !important; color: #8a8f9d !important; font-size: 9px !important; line-height: 1.35 !important; }
.map-source-line a { color: #5e6781; font-weight: 750; text-decoration: none; }
.map-source-line a:hover { color: #3757ff; text-decoration: underline; }
.route-map-source { margin: 7px 0 12px !important; }

.map-expand-button { position: absolute; z-index: 9; inset: 14px auto auto 14px; width: max-content; height: 36px; min-width: 84px; max-width: 112px; min-height: 36px; max-height: 36px; padding: 0 12px; flex: none; border: 1px solid rgba(55,87,255,.18); border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; overflow: hidden; background: rgba(255,255,255,.94); color: #263046; box-shadow: 0 7px 20px rgba(31,36,57,.14); font-size: 9px; font-weight: 850; line-height: 1; letter-spacing: .02em; white-space: nowrap; cursor: pointer; backdrop-filter: blur(10px); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.map-expand-button:hover { transform: translateY(-1px); border-color: rgba(55,87,255,.42); box-shadow: 0 10px 24px rgba(31,36,57,.19); }
.map-expand-button:focus-visible { outline: 3px solid rgba(55,87,255,.25); outline-offset: 2px; }
.map-expand-button svg { width: 15px !important; height: 15px !important; min-width: 15px !important; max-width: 15px !important; min-height: 15px !important; max-height: 15px !important; flex: 0 0 15px; display: block; fill: none; stroke: #3757ff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.map-modal-open { overflow: hidden; }
.map-expand-modal[hidden] { display: none; }
.map-expand-modal { position: fixed; z-index: 1000; inset: 0; padding: 24px; display: grid; place-items: center; background: rgba(14,16,24,.76); backdrop-filter: blur(12px); }
.map-expand-panel { width: min(1420px,calc(100vw - 48px)); height: min(880px,calc(100vh - 48px)); min-height: 460px; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; background: #f5f6fc; box-shadow: 0 30px 90px rgba(0,0,0,.36); }
.map-expand-header { min-height: 74px; padding: 14px 18px 14px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #1a1a1a; color: white; }
.map-expand-heading { display: grid; gap: 4px; }
.map-expand-header span { color: #9ca7c6; font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.map-expand-header strong { font-size: 18px; line-height: 1.15; }
.map-expand-credit { margin-left: auto; display: flex; align-items: center; gap: 7px; color: #8f96a9; font-size: 8px; white-space: nowrap; }
.map-expand-credit a { color: #aeb5c6; text-decoration: none; }
.map-expand-credit a:hover { color: #f4c542; text-decoration: underline; }
.map-expand-credit i { font-style: normal; }
.map-expand-close { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: white; cursor: pointer; }
.map-expand-close:hover { background: rgba(255,255,255,.15); }
.map-expand-close:focus-visible { outline: 3px solid rgba(244,197,66,.52); outline-offset: 2px; }
.map-expand-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.map-expand-body { flex: 1; min-height: 0; padding: 12px; display: flex; background: linear-gradient(145deg,#eef1ff,#f9f9fc); }
.map-expand-body > .route-map-live, .map-expand-body > .market-map-live { flex: 1; width: 100%; height: 100%; min-height: 0; border-radius: 16px; overflow: hidden; }
.map-expand-body .route-live-map.maplibregl-map, .map-expand-body .market-map-canvas.maplibregl-map { border-radius: 16px; }
.map-expand-body .map-expand-button { display: none; }

@media (max-width: 720px) {
  .map-expand-modal { padding: 0; }
  .map-expand-panel { width: 100vw; height: 100dvh; min-height: 0; border: 0; border-radius: 0; }
  .map-expand-header { min-height: 66px; padding: 12px 14px 12px 16px; }
  .map-expand-header strong { font-size: 15px; }
  .map-expand-credit { max-width: 150px; margin-left: 0; flex-wrap: wrap; justify-content: flex-end; gap: 2px 5px; line-height: 1.15; white-space: normal; text-align: right; }
  .map-expand-body { padding: 8px; }
  .map-expand-body > .route-map-live, .map-expand-body > .market-map-live { border-radius: 12px; }
  .map-expand-button span { display: none; }
  .map-expand-button { width: 36px; min-width: 36px; max-width: 36px; height: 36px; min-height: 36px; max-height: 36px; padding: 0; justify-content: center; }
}
#lane-form .route-inputs { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; align-items: start; }
#lane-form .route-inputs > label { min-width: 0; height: 73px; display: grid; grid-template-rows: 14px 52px; align-content: start; align-self: start; gap: 7px; color: #68778d; font-size: 9px; font-weight: 800; line-height: 1; letter-spacing: .55px; }
#lane-form .route-control-label { width: 100%; height: 14px; min-width: 0; display: flex; align-items: center; overflow: visible; color: inherit; font: inherit; line-height: 1; letter-spacing: inherit; white-space: nowrap; }
#lane-form .route-inputs > label > input,
#lane-form .route-inputs > label > select { width: 100%; height: 52px !important; min-height: 52px !important; max-height: 52px; margin: 0; padding: 0 44px 0 15px; display: block; border-width: 1px; border-style: solid; border-radius: 13px; font-family: Inter, "Source Sans Pro", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px !important; font-weight: 720; line-height: 20px !important; letter-spacing: 0; text-transform: none; }
#lane-form .route-inputs > label > select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5 7.5 5 5 5-5' stroke='%231a1a1a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 16px 16px; }

@media (max-width: 430px) {
  #lane-form .route-inputs { grid-template-columns: 1fr; }
}
.market-map-detail { min-height: 280px; padding: 22px; border: 1px solid #e0e2e8; border-radius: 20px; background: linear-gradient(155deg,#fafbff,#f2f4fb); display: flex; flex-direction: column; justify-content: center; box-shadow: inset 0 0 0 8px rgba(255,255,255,.48), 0 10px 24px rgba(34,38,55,.045); }
.market-detail-icon { width: 42px; height: 42px; margin-bottom: 22px; border-radius: 13px; display: grid; place-items: center; background: #e8edff; color: #3757ff; }
.market-detail-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.market-map-detail small { color: #7a7e8d; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.market-map-detail strong { margin-top: 11px; font-size: 22px; }
.market-map-detail b { margin-top: 7px; color: #3757ff; font-size: 28px; }
.market-map-detail p { margin: 12px 0 0; color: #747987; font-size: 11px; line-height: 1.55; }
.market-map-detail em { margin-top: 20px; color: #8a8f9f; font-size: 9px; font-style: normal; font-weight: 700; }
.market-detail-country-art { position: relative; min-height: 116px; margin: -5px -3px 16px; display: grid; place-items: center; border: 1px solid #e1e5f0; border-radius: 15px; overflow: hidden; background: radial-gradient(circle at 50% 50%,rgba(55,87,255,.13),transparent 58%),#fff; }
.market-detail-country-art::before { content: ""; position: absolute; inset: 0; opacity: .45; background-image: linear-gradient(rgba(55,87,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(55,87,255,.08) 1px,transparent 1px); background-size: 25px 25px; }
.market-detail-country-art > img { position: absolute; z-index: 3; right: 10px; top: 10px; width: 28px; height: 20px; border: 2px solid white; border-radius: 4px; object-fit: cover; box-shadow: 0 4px 12px rgba(28,33,48,.18); }
.market-detail-shape { position: relative; z-index: 2; width: calc(100% - 18px); height: 108px; display: grid; place-items: center; }
.market-detail-shape svg { width: 100%; height: 100%; overflow: visible; }
.market-detail-shape path { fill: #3757ff; stroke: #fff; stroke-width: 1.4; vector-effect: non-scaling-stroke; filter: drop-shadow(0 7px 8px rgba(55,87,255,.22)); }
.market-detail-shape > span { color: #3757ff; font-size: 24px; font-weight: 900; }
.market-detail-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.market-detail-title strong { margin-top: 9px; }
.market-detail-title span { margin-top: 9px; padding: 4px 7px; border-radius: 7px; background: #e9edff; color: #3757ff; font-size: 9px; font-weight: 900; }
.market-map-legend { display: flex; align-items: center; gap: 13px; padding: 0 18px 12px; color: #737887; font-size: 9px; }
.market-map-legend span { display: flex; align-items: center; gap: 5px; }
.market-map-legend i { width: 9px; height: 9px; border-radius: 50%; }
.market-map-legend .low { background: #f4c542; }
.market-map-legend .mid { background: #3757ff; }
.market-map-legend .high { background: #1a1a1a; }
.market-map-legend strong { margin-left: auto; color: #1a1a1a; }
.market-map-legend.live { position: absolute; z-index: 5; right: 14px; bottom: 14px; width: auto; padding: 8px 10px; border: 1px solid rgba(218,222,234,.9); border-radius: 10px; background: rgba(255,255,255,.93); box-shadow: 0 5px 16px rgba(31,36,57,.1); }
.market-map-legend.live strong { margin-left: 9px; }
.lane-result-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.lane-result-actions button { min-height: 36px; display: inline-flex; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid #d8dbe4; border-radius: 10px; background: white; color: #333744; font-size: 10px; font-weight: 800; cursor: pointer; }
.lane-result-actions button:hover { border-color: #3757ff; color: #3757ff; }
.lane-result-actions button:disabled { opacity: .55; cursor: wait; }
.review-case-form { min-width: 210px; display: grid; gap: 7px; }
.review-case-form select, .review-case-form input { width: 100%; min-height: 34px; padding: 0 9px; border: 1px solid #d8dbe4; border-radius: 8px; background: white; color: #242936; font: inherit; font-size: 10px; }
.review-case-form button, .table-action-button { min-height: 34px; padding: 0 12px; border: 1px solid #cfd4e3; border-radius: 8px; background: white; color: #3757ff; font-size: 10px; font-weight: 800; cursor: pointer; }
.review-case-form button:hover, .table-action-button:hover { border-color: #3757ff; background: #f2f4ff; }
.review-case-form button:disabled, .table-action-button:disabled { opacity: .55; cursor: wait; }
.status-pill { display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border-radius: 999px; background: #f0f1f5; color: #676c7b; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; }
.status-pill.active { background: #e9f8ef; color: #177c48; }
.lane-result-actions svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cost-breakdown-panel { margin-top: 16px; padding: 22px; border: 1px solid #e0e3eb; border-radius: 20px; background: linear-gradient(150deg,#fff,#f8f9fd); box-shadow: 0 10px 26px rgba(34,38,55,.045); }
.cost-breakdown-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 26px; padding-bottom: 18px; border-bottom: 1px solid #e7e9ef; }
.cost-breakdown-head > div:first-child { max-width: 650px; }
.cost-breakdown-head > div:first-child > strong { display: block; margin-top: 7px; color: #1a1a1a; font-size: 17px; }
.cost-breakdown-head p { margin: 7px 0 0; color: #737887; font-size: 10px; line-height: 1.55; }
.cost-total { min-width: 190px; padding: 14px 16px; border-radius: 15px; background: #1a1a1a; color: white; }
.cost-total small, .cost-total span { display: block; color: #aeb4c3; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; }
.cost-total strong { display: block; margin: 5px 0; color: white; font-size: 24px; }
.cost-breakdown-grid { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 22px; padding-top: 20px; }
.cost-component-list { display: grid; gap: 10px; }
.cost-component-row { display: grid; grid-template-columns: 170px minmax(100px,1fr) 74px; align-items: center; gap: 12px; }
.cost-component-row > span { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cost-component-row strong { color: #3f4451; font-size: 10px; }
.cost-component-row small { color: #8a8f9d; font-size: 8px; }
.cost-component-row > div { height: 8px; border-radius: 999px; background: #eceef4; overflow: hidden; }
.cost-component-row i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#3757ff,#8295ff); }
.cost-component-row b { color: #2f3440; font-size: 10px; text-align: right; }
.toll-audit-card { padding: 20px; border: 1px solid #e0e3eb; border-radius: 17px; background: #f6f7fb; display: flex; flex-direction: column; }
.toll-audit-card.exact { border-color: #b9e2d2; background: #f1fbf7; }
.toll-audit-icon { width: 38px; height: 38px; margin-bottom: 14px; display: grid; place-items: center; border-radius: 12px; background: #e8edff; color: #3757ff; }
.toll-audit-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.toll-audit-card small { color: #7b8090; font-size: 8px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase; }
.toll-audit-card > strong { margin-top: 7px; color: #1a1a1a; font-size: 22px; }
.toll-state { width: fit-content; margin-top: 8px; padding: 5px 8px; border-radius: 999px; background: #fff3c4; color: #765900; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .45px; }
.toll-audit-card.exact .toll-state { background: #dff5eb; color: #167d5a; }
.toll-audit-card p { margin: 12px 0 0; color: #6f7584; font-size: 9px; line-height: 1.55; }
.toll-audit-card em { margin-top: auto; padding-top: 14px; color: #3757ff; font-size: 8px; font-style: normal; font-weight: 900; text-transform: uppercase; letter-spacing: .5px; }
.cost-boundary-note { margin: 16px 0 0; padding: 11px 13px; border-radius: 12px; background: #fff8df; color: #6f6040; display: flex; gap: 9px; align-items: flex-start; font-size: 9px; line-height: 1.5; }
.cost-boundary-note svg { flex: 0 0 auto; width: 15px; height: 15px; fill: none; stroke: #b38a14; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
th { background: #f7f8fb; color: #757986; }
th, td { border-color: #e7e8ed; }
.file-drop { border-color: #cfd5ff; background: #f8f9ff; }
.file-drop:hover { border-color: #3757ff; }
.upload-symbol, .pipeline-steps li > span { background: #eef1ff; color: #3757ff; }
.source-state.current, .success-box { background: #e9f7f1; color: #167d5a; }
.routing-setup-panel { border-color: #dfe2eb; }
.toast { border-color: #dfe2e8; box-shadow: 0 20px 48px rgba(31,34,49,.16); }

/* Responsive landing/login */
@media (max-width: 1180px) {
  .public-nav, .landing-hero, .hero-proof-band, .landing-stats, .platform-section, .workflow-section, .trust-section, .landing-cta, .public-footer { width: calc(100% - 48px); }
  .landing-hero { grid-template-columns: minmax(390px,1fr) 510px; gap: 20px; }
  .landing-visual { width: 510px; transform: scale(.9); transform-origin: center right; }
  .hero-proof-band article { padding-left: 24px; padding-right: 24px; }
  .workflow-section { padding: 50px; gap: 48px; }
  .trust-section { padding: 52px; gap: 45px; }
  .login-shell { grid-template-columns: 1fr 480px; }
}

@media (max-width: 920px) {
  .hero-shell { min-height: auto; padding-bottom: 0; }
  .public-nav { min-height: 116px; grid-template-columns: 160px 1fr auto; }
  .public-nav nav { gap: 25px; }
  .landing-hero { min-height: auto; grid-template-columns: 1fr; padding: 48px 0 25px; }
  .landing-copy { max-width: 680px; padding: 0; }
  .landing-copy h1 { max-width: 680px; font-size: 62px; }
  .landing-copy > p { max-width: 620px; }
  .landing-visual { width: 565px; min-height: 600px; margin: 0 auto; transform: none; }
  .hero-proof-band { min-height: 0; margin-top: 0; padding: 36px; grid-template-columns: 1fr; border-radius: 25px 25px 0 0; }
  .hero-proof-band article { padding: 25px 0; }
  .hero-proof-band article + article { border-left: 0; border-top: 1px solid rgba(255,255,255,.13); }
  .landing-stats { grid-template-columns: repeat(2,1fr); padding: 30px 0; }
  .landing-stats div { min-height: 100px; display: flex; flex-direction: column; justify-content: center; }
  .landing-stats div:nth-child(3) { border-left: 0; border-top: 1px solid #e4e5ea; }
  .landing-stats div:nth-child(4) { border-top: 1px solid #e4e5ea; }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-feature { min-height: 330px; }
  .workflow-section, .trust-section { grid-template-columns: 1fr; }
  .workflow-section { gap: 36px; }
  .trust-visual { min-height: 390px; order: 2; }
  .trust-copy { order: 1; }
  .landing-cta { align-items: flex-start; flex-direction: column; }
  .login-shell { display: block; }
  .login-visual-panel { min-height: 520px; }
  .login-visual-copy { margin-top: 55px; }
  .login-route-art { opacity: .35; right: 2%; }
  .login-form-panel { min-height: auto; padding: 48px 22px 65px; }
  .market-map-layout { grid-template-columns: 1fr; padding: 16px; }
  .market-map-detail { min-height: 0; }
  .cost-breakdown-grid { grid-template-columns: 1fr; }
  .toll-audit-card { min-height: 210px; }
}

@media (max-width: 680px) {
  .public-nav, .landing-hero, .hero-proof-band, .landing-stats, .platform-section, .workflow-section, .trust-section, .landing-cta, .public-footer { width: calc(100% - 32px); }
  .public-nav { min-height: 98px; grid-template-columns: 1fr auto; padding-top: 15px; }
  .public-brand, .public-brand img { width: 96px; height: 66px; }
  .public-nav nav { display: none; }
  .public-login-button { min-height: 44px; margin-top: 11px; padding: 0 15px; }
  .landing-hero { min-width: 0; grid-template-columns: minmax(0,1fr); padding-top: 38px; }
  .landing-copy { min-width: 0; width: 100%; }
  .landing-copy h1 { width: 100%; max-width: 100%; font-size: clamp(40px,10.8vw,47px); letter-spacing: -1.6px; overflow-wrap: anywhere; }
  .landing-copy > p { font-size: 15px; }
  .landing-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .landing-primary { min-width: 230px; }
  .landing-visual { left: 50%; width: 565px; min-width: 0; justify-self: start; margin-left: -282.5px; transform: scale(.68); transform-origin: center top; min-height: 435px; }
  .hero-proof-band { margin-top: -90px; padding: 27px; }
  .hero-proof-band article { grid-template-columns: 40px 1fr; gap: 13px; }
  .landing-stats { grid-template-columns: 1fr; padding: 22px 0; }
  .landing-stats div { min-height: 88px; padding: 18px 0; }
  .landing-stats div + div, .landing-stats div:nth-child(3) { border-left: 0; border-top: 1px solid #e4e5ea; }
  .platform-section { padding: 88px 0; }
  .landing-section-heading h2 { font-size: 38px; }
  .platform-feature { min-height: 0; padding: 27px; }
  .workflow-section, .trust-section { padding: 34px 25px; border-radius: 24px; }
  .workflow-intro h2, .trust-copy h2 { font-size: 35px; }
  .workflow-steps li { gap: 14px; }
  .trust-visual { min-height: 330px; transform: scale(.84); transform-origin: center; }
  .landing-cta { min-height: 0; padding: 38px 27px; border-radius: 24px; }
  .landing-cta h2 { font-size: 29px; }
  .public-footer { min-height: 150px; grid-template-columns: 1fr auto; }
  .public-footer small { display: none; }
  .login-visual-panel { min-height: 465px; padding: 25px 22px; }
  .login-brand { right: 17px; top: 10px; transform: scale(.82); transform-origin: top right; }
  .login-visual-copy { margin-top: 64px; }
  .login-visual-copy h2 { font-size: 36px; }
  .login-route-art { display: none; }
  .login-security-chip { left: 22px; bottom: 25px; }
  .login-form-panel { padding: 28px 16px 50px; }
  .login-card { padding: 28px 22px; }
  .lane-result-actions { width: 100%; justify-content: flex-start; }
  .market-map { min-height: 290px; overflow-x: auto; }
  .market-map svg { min-width: 620px; min-height: 280px; }
  .cost-breakdown-panel { padding: 17px; }
  .cost-breakdown-head { display: grid; }
  .cost-total { width: 100%; }
  .cost-component-row { grid-template-columns: 1fr 62px; }
  .cost-component-row > span { grid-column: 1 / -1; }
}

/* Responsive application refinements */
@media (max-width: 1180px) {
  .app-shell { grid-template-columns: 220px minmax(0,1fr); }
  .app-shell > main { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 720px) {
  .sidebar { padding: 12px; }
  .brand { min-height: 70px; padding: 0 7px 10px; }
  .brand > img { width: 96px; height: 66px; }
  .sidebar nav { gap: 7px; }
  .nav-link { min-height: 42px; }
  .app-shell > main { padding-left: 13px; padding-right: 13px; }
  .company-history-panel { align-items: stretch; flex-direction: column; }
  .company-history-values { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .swift-route-path { clip-path: inset(0); }
  .swift-truck-motion { offset-distance: 0%; opacity: 1; }
  .swift-destination, .swift-route-label, .swift-evidence-chip { opacity: 1; transform: none; }
}

/* Demo workspace and guided product tour */
.tour-launch-button { width: 100%; min-height: 40px; margin-top: 9px; padding: 0 11px; display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; color: rgba(255,255,255,.72); background: rgba(255,255,255,.035); font: inherit; font-size: 10px; font-weight: 750; text-align: left; cursor: pointer; }
.tour-launch-button:hover { color: white; border-color: rgba(55,87,255,.65); background: rgba(55,87,255,.12); }
.tour-launch-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.tour-launch-button em { color: rgba(255,255,255,.3); font-size: 8px; font-style: normal; letter-spacing: .7px; text-transform: uppercase; }
.mode-row.demo-mode { border-color: rgba(244,197,66,.35); background: rgba(244,197,66,.08); }
.mode-row.demo-mode .live-dot { background: #f4c542; box-shadow: 0 0 0 5px rgba(244,197,66,.11); }
.mode-row.demo-mode small { color: rgba(255,255,255,.58); }
.demo-workspace-banner { margin: -5px 0 24px; min-height: 70px; padding: 14px 18px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 13px; border: 1px solid #e7cc70; border-radius: 16px; background: linear-gradient(105deg,#fff9df,#fffdf4); box-shadow: 0 8px 22px rgba(116,88,6,.06); }
.demo-workspace-banner[hidden] { display: none; }
.demo-banner-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #735800; background: #f4c542; }
.demo-banner-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.demo-workspace-banner strong { display: block; font-size: 12px; }
.demo-workspace-banner p { margin: 3px 0 0; color: #756d55; font-size: 10px; line-height: 1.45; }
.demo-workspace-banner > span:last-child { padding: 7px 9px; border-radius: 999px; color: #6d5200; background: rgba(244,197,66,.28); font-size: 8px; font-weight: 900; letter-spacing: .9px; }
.demo-status-pill { border-color: #e7cc70; background: #fff8d7; color: #765e12; }
.demo-status-pill strong { color: #604900; }
.demo-import-lock { margin-top: 14px; padding: 13px 14px; display: grid; gap: 3px; border: 1px solid #e7cc70; border-radius: 12px; color: #6d5200; background: #fff9df; }
.demo-import-lock strong { font-size: 11px; }
.demo-import-lock span { font-size: 9px; line-height: 1.45; }
.demo-workspace #upload-form { opacity: .52; }
.tour-layer { position: fixed; inset: 0; z-index: 1200; pointer-events: none; }
.tour-layer[hidden] { display: none; }
.tour-spotlight { position: fixed; z-index: 1201; border: 3px solid #f4c542; border-radius: 18px; box-shadow: 0 0 0 9999px rgba(10,12,19,.72), 0 0 0 7px rgba(244,197,66,.2); transition: left .24s ease, top .24s ease, width .24s ease, height .24s ease; pointer-events: none; }
.tour-popover { position: fixed; z-index: 1202; width: min(370px,calc(100vw - 28px)); padding: 20px; border: 1px solid #dedfe6; border-radius: 20px; color: #1a1a1a; background: white; box-shadow: 0 25px 80px rgba(0,0,0,.28); pointer-events: auto; outline: none; }
.tour-popover::before { content: ""; position: absolute; top: -7px; left: var(--tour-arrow-left,32px); width: 13px; height: 13px; border-left: 1px solid #dedfe6; border-top: 1px solid #dedfe6; background: white; transform: rotate(45deg); }
.tour-popover[data-placement="above"]::before { top: auto; bottom: -7px; border: 0; border-right: 1px solid #dedfe6; border-bottom: 1px solid #dedfe6; }
.tour-popover-top { display: flex; align-items: center; justify-content: space-between; }
.tour-popover-top span { color: #7b7f8d; font-size: 9px; font-weight: 850; letter-spacing: 1px; text-transform: uppercase; }
.tour-popover-top button { width: 30px; height: 30px; border: 0; border-radius: 9px; color: #707482; background: #f2f3f7; font-size: 19px; cursor: pointer; }
.tour-icon { width: 40px; height: 40px; margin: 9px 0 13px; display: grid; place-items: center; border-radius: 12px; color: white; background: #3757ff; }
.tour-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.tour-popover h2 { font-size: 21px; }
.tour-popover p { min-height: 48px; margin: 8px 0 13px; color: #676b78; font-size: 12px; line-height: 1.55; }
.tour-dots { display: flex; gap: 5px; }
.tour-dots i { width: 6px; height: 6px; border-radius: 999px; background: #d7d9e2; }
.tour-dots i.active { width: 19px; background: #3757ff; }
.tour-actions { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tour-actions > div { display: flex; gap: 7px; }
.tour-actions button { min-height: 38px; padding: 0 13px; border-radius: 10px; font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }
.tour-skip,.tour-back { border: 1px solid #dfe1e8; color: #696d7a; background: white; }
.tour-skip { padding-left: 0 !important; border-color: transparent; }
.tour-next { border: 1px solid #3757ff; color: white; background: #3757ff; }
.tour-next span { margin-left: 5px; }
.tour-back:disabled { opacity: .35; cursor: default; }

@media (max-width: 720px) {
  .demo-workspace-banner { grid-template-columns: 38px 1fr; }
  .demo-workspace-banner > span:last-child { display: none; }
  .tour-spotlight { border-radius: 13px; }
  .tour-popover { left: 14px !important; right: 14px; width: auto; }
}
