:root {
  color-scheme: light;
  --navy-950: #061321;
  --navy-900: #081c33;
  --navy-800: #0b2948;
  --blue-700: #1456d9;
  --blue-600: #1967ed;
  --blue-500: #2f7bf4;
  --blue-100: #e8f0ff;
  --aqua-500: #20b8a2;
  --aqua-100: #dff8f3;
  --orange-500: #ef9c24;
  --orange-100: #fff1dc;
  --violet-500: #7a5ce6;
  --violet-100: #eeeafe;
  --red-500: #df4160;
  --red-100: #fde9ed;
  --ink: #15243b;
  --ink-soft: #52627a;
  --muted: #718098;
  --line: #e5eaf1;
  --line-strong: #d7dfe9;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --canvas: #f2f5f9;
  --shadow-sm: 0 1px 2px rgba(7, 28, 54, .04), 0 5px 16px rgba(7, 28, 54, .035);
  --shadow-md: 0 18px 48px rgba(7, 28, 54, .12);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--canvas); }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

:focus-visible { outline: 3px solid rgba(47, 123, 244, .28); outline-offset: 2px; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: white; color: var(--blue-700); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.welcome-page {
  min-height: 100vh;
  overflow: hidden;
  color: #eff7ff;
  background:
    radial-gradient(circle at 84% 14%, rgba(32, 184, 162, .16), transparent 28%),
    radial-gradient(circle at 15% 34%, rgba(47, 123, 244, .18), transparent 26%),
    linear-gradient(150deg, #04111e 0%, #071c31 45%, #0a2d4d 100%);
}

.welcome-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.welcome-brand {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.brand-logo-panel,
.footer-brand-logo {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 14px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 10px 28px rgba(1,12,24,.2), inset 0 1px 0 #fff;
}

.brand-logo-panel { width: 176px; height: 58px; padding: 5px 10px; }
.brand-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.footer-brand-logo { width: 126px; height: 42px; padding: 4px 8px; }

.welcome-links { display: flex; align-items: center; gap: 28px; }
.welcome-links a { min-height: 44px; display: inline-flex; align-items: center; color: #afc1d3; font-size: 12px; font-weight: 700; text-decoration: none; }
.welcome-links a:hover { color: #fff; }
.welcome-links .welcome-login-link { min-width: 96px; justify-content: center; padding: 0 16px; border: 1px solid rgba(255,255,255,.17); border-radius: 11px; color: #fff; background: rgba(255,255,255,.07); }

.welcome-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 450px);
  gap: clamp(44px, 8vw, 100px);
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 660px;
  margin: 0 auto;
  padding: 74px 0 84px;
}

.welcome-hero::before {
  position: absolute;
  top: 20%;
  right: -170px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(108, 224, 207, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 56px rgba(255,255,255,.018), 0 0 0 118px rgba(255,255,255,.012);
  content: "";
}

.welcome-copy { position: relative; z-index: 1; }
.launch-pill { display: inline-flex; align-items: center; gap: 9px; min-height: 31px; padding: 5px 11px; border: 1px solid rgba(104, 224, 205, .22); border-radius: 999px; color: #a8ddd5; background: rgba(32, 184, 162, .08); font-size: 10px; font-weight: 750; letter-spacing: .035em; }
.launch-pill span { width: 7px; height: 7px; border-radius: 50%; background: #55dac6; box-shadow: 0 0 0 5px rgba(85, 218, 198, .1); }
.welcome-copy h1 { max-width: 700px; margin: 23px 0 20px; color: #fff; font-size: clamp(42px, 6vw, 70px); line-height: .98; letter-spacing: -.06em; }
.welcome-copy h1 span { color: #72ddcf; }
.welcome-copy > p { max-width: 660px; margin: 0; color: #a9bed2; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.68; }
.welcome-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 29px; }
.welcome-primary, .welcome-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 18px; border-radius: 12px; font-size: 12px; font-weight: 800; text-decoration: none; }
.welcome-primary { gap: 9px; color: #062139; background: linear-gradient(135deg, #80eadb, #4ac9b6); box-shadow: 0 12px 30px rgba(32, 184, 162, .19); }
.welcome-primary svg { width: 17px; height: 17px; }
.welcome-secondary { border: 1px solid rgba(255,255,255,.15); color: #eaf4fe; background: rgba(255,255,255,.055); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 31px; color: #86a1ba; font-size: 10px; font-weight: 650; }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row svg { width: 14px; height: 14px; color: #54d6c3; stroke-width: 2.4; }

.access-card {
  position: relative;
  z-index: 2;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 24px;
  color: var(--ink);
  background: rgba(255,255,255,.975);
  box-shadow: 0 32px 80px rgba(0, 8, 18, .34);
}

.access-card::before { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 #fff; pointer-events: none; content: ""; }
.access-card-top { display: flex; align-items: center; gap: 13px; }
.access-icon { display: grid; flex: 0 0 auto; place-items: center; width: 47px; height: 47px; border-radius: 14px; color: #0e8271; background: #dff8f3; }
.access-icon svg { width: 23px; height: 23px; }
.access-kicker { display: block; color: var(--blue-600); font-size: 9px; font-weight: 850; letter-spacing: .15em; }
.access-card h2 { margin: 3px 0 0; color: var(--navy-900); font-size: 23px; letter-spacing: -.035em; }
.access-intro { margin: 18px 0 21px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.access-form { display: grid; gap: 8px; }
.access-form > label { margin-top: 4px; color: #314258; font-size: 10px; font-weight: 750; }
.welcome-input { display: flex; align-items: center; min-height: 49px; padding: 0 13px; border: 1px solid #dce3ec; border-radius: 11px; background: #f8fafc; transition: border-color .18s ease, box-shadow .18s ease; }
.welcome-input:focus-within { border-color: #6d9ff3; box-shadow: 0 0 0 3px rgba(47,123,244,.1); }
.welcome-input > svg { flex: 0 0 auto; width: 17px; height: 17px; color: #718098; }
.welcome-input input { width: 100%; min-width: 0; height: 47px; padding: 0 10px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 16px; }
.welcome-input input::placeholder { color: #9ba8b8; }
.password-toggle { min-width: 44px; min-height: 44px; padding: 0 5px; border: 0; color: var(--blue-700); background: transparent; font-size: 10px; font-weight: 800; cursor: pointer; }
.welcome-submit { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 50px; margin-top: 6px; border: 0; border-radius: 11px; color: white; background: linear-gradient(135deg, #1768ed, #1158d6); box-shadow: 0 9px 22px rgba(25,103,237,.2); font-size: 12px; font-weight: 800; cursor: pointer; }
.welcome-submit:disabled { opacity: .65; cursor: wait; }
.welcome-submit svg { width: 17px; height: 17px; }
.access-message { min-height: 18px; color: #c02d4b; font-size: 10px; font-weight: 650; }
.access-message.success { color: #08725e; }
.password-rules { display: flex; flex-wrap: wrap; gap: 4px 13px; margin: 3px 0 1px; padding: 0; color: #728198; font-size: 9px; list-style: none; }
.password-rules li::before { margin-right: 4px; color: #1aa38e; content: "✓"; }
.access-foot { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.access-foot svg { width: 16px; height: 16px; color: #15917d; }

.benefits-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.benefits-band article { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 29px 30px; border-right: 1px solid rgba(255,255,255,.1); }
.benefits-band article:first-child { padding-left: 0; }
.benefits-band article:last-child { padding-right: 0; border-right: 0; }
.benefits-band article > span { color: #56d2c0; font-size: 10px; font-weight: 900; }
.benefits-band strong { display: block; color: #eff7ff; font-size: 13px; }
.benefits-band p { margin: 5px 0 0; color: #849cb4; font-size: 10px; line-height: 1.55; }

.demo-section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 94px 0 20px; scroll-margin-top: 24px; }
.demo-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); gap: 58px; align-items: end; margin-bottom: 34px; }
.demo-kicker { display: inline-flex; align-items: center; gap: 9px; color: #8de9db; font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.demo-kicker i, .demo-live i { display: block; width: 8px; height: 8px; border-radius: 50%; background: #59ddc9; box-shadow: 0 0 0 5px rgba(89,221,201,.1); }
.demo-intro h2 { max-width: 700px; margin: 13px 0 0; color: #fff; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.04; letter-spacing: -.05em; }
.demo-intro h2 span { color: #71dece; }
.demo-intro-copy > p { margin: 0; color: #a8bdd1; font-size: 16px; line-height: 1.65; }
.demo-safe { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 18px; color: #80a0bc; font-size: 12px; font-weight: 700; }
.demo-safe span::first-letter { color: #62dccb; }
.demo-window { overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 26px; background: #eef3f8; box-shadow: 0 42px 110px rgba(0,8,18,.34); }
.demo-window-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding: 13px 20px; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; background: linear-gradient(135deg, #081c33, #0c3355); }
.demo-company { display: flex; align-items: center; gap: 11px; }
.demo-company-mark { display: grid; flex: 0 0 auto; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; color: #062139; background: linear-gradient(135deg, #c9fbf3, #62dac8); font-size: 13px; font-weight: 900; }
.demo-company > span:last-child { display: grid; }
.demo-company small { color: #82a2bd; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.demo-company strong { margin-top: 2px; font-size: 16px; }
.demo-window-meta { display: flex; align-items: center; gap: 10px; }
.demo-live, .demo-plan { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; color: #bcd0df; background: rgba(255,255,255,.06); font-size: 11px; font-weight: 750; }
.demo-live i { width: 6px; height: 6px; box-shadow: 0 0 0 4px rgba(89,221,201,.1); }
.demo-plan { color: #8de8da; }
.demo-workspace { display: grid; grid-template-columns: 188px minmax(0, 1fr); min-height: 630px; }
.demo-nav { display: flex; flex-direction: column; gap: 7px; padding: 20px 14px; border-right: 1px solid #d9e2ed; background: #f8fafc; }
.demo-nav button { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 48px; padding: 0 12px; border: 0; border-radius: 11px; color: #63758b; background: transparent; font-size: 13px; font-weight: 750; cursor: pointer; text-align: left; transition: color .18s ease, background .18s ease, box-shadow .18s ease; }
.demo-nav button:hover { color: #173553; background: #edf3fa; }
.demo-nav button.active { color: #fff; background: linear-gradient(135deg, #1768ed, #135bc9); box-shadow: 0 9px 20px rgba(25,103,237,.2); }
.demo-nav svg { width: 19px; height: 19px; }
.demo-nav button b { min-width: 23px; padding: 3px 6px; border-radius: 999px; color: #60778e; background: #e3ebf4; font-size: 10px; text-align: center; }
.demo-nav button.active b { color: #155fd1; background: #fff; }
.demo-main { min-width: 0; padding: 26px; color: var(--ink); }
.demo-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 19px; }
.demo-page-head > div > span { color: #2f7bf4; font-size: 10px; font-weight: 850; letter-spacing: .11em; }
.demo-page-head h3 { margin: 5px 0 4px; color: #102640; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.04em; }
.demo-page-head p { margin: 0; color: #718098; font-size: 14px; }
.demo-today { flex: 0 0 auto; min-height: 37px; padding: 9px 12px; border: 1px solid #d9e2ed; border-radius: 10px; color: #61758a; background: #fff; font-size: 11px; font-weight: 800; }
.demo-stage { min-height: 496px; }
.demo-loading { display: flex; align-items: center; justify-content: center; min-height: 420px; gap: 10px; color: #718098; font-size: 14px; }
.demo-loading span { width: 18px; height: 18px; border: 2px solid #c7d3e1; border-top-color: #2f7bf4; border-radius: 50%; animation: spin .8s linear infinite; }
.demo-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.demo-kpi { min-width: 0; padding: 16px; border: 1px solid #e0e7ef; border-radius: 15px; background: #fff; box-shadow: 0 5px 18px rgba(14,43,73,.04); }
.demo-kpi-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #718098; font-size: 12px; font-weight: 700; }
.demo-kpi-icon { display: grid; flex: 0 0 auto; place-items: center; width: 31px; height: 31px; border-radius: 9px; color: #1768ed; background: #eaf1ff; }
.demo-kpi-icon svg { width: 16px; height: 16px; }
.demo-kpi strong { display: block; margin-top: 14px; overflow: hidden; color: #102640; font-size: clamp(19px, 2.1vw, 27px); letter-spacing: -.04em; text-overflow: ellipsis; }
.demo-kpi small { display: block; margin-top: 3px; color: #1a8d79; font-size: 11px; font-weight: 750; }
.demo-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 12px; margin-top: 12px; }
.demo-card { padding: 18px; border: 1px solid #dfe7ef; border-radius: 16px; background: #fff; box-shadow: 0 5px 18px rgba(14,43,73,.035); }
.demo-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.demo-card-head h4 { margin: 0; color: #17314c; font-size: 15px; }
.demo-card-head span { color: #72839a; font-size: 11px; font-weight: 700; }
.demo-stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.demo-stage-item { display: grid; min-height: 82px; padding: 11px; border: 1px solid #e6ebf1; border-radius: 11px; background: #f8fafc; }
.demo-stage-item span { color: #6d7f93; font-size: 11px; font-weight: 700; }
.demo-stage-item strong { align-self: end; color: #15385a; font-size: 23px; }
.demo-stage-item.highlight { border-color: #a9ded5; background: #effaf7; }
.demo-stage-item.highlight strong { color: #11816f; }
.demo-pickups { display: grid; gap: 9px; }
.demo-pickup { display: grid; grid-template-columns: 47px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.demo-time { display: grid; place-items: center; min-height: 39px; border-radius: 10px; color: #155bc4; background: #edf3ff; font-size: 11px; font-weight: 850; }
.demo-pickup strong, .demo-order-client strong { display: block; color: #213a55; font-size: 12px; }
.demo-pickup small, .demo-order-client small { display: block; margin-top: 2px; color: #7b899b; font-size: 11px; }
.demo-status { display: inline-flex; align-items: center; justify-content: center; min-height: 28px; padding: 5px 9px; border-radius: 999px; color: #805a0a; background: #fff2d7; font-size: 10px; font-weight: 850; white-space: nowrap; }
.demo-status.ready { color: #08725e; background: #dff8f3; }
.demo-status.route { color: #155bc4; background: #e8f0ff; }
.demo-order-list { overflow: hidden; border: 1px solid #dde6ef; border-radius: 15px; background: #fff; }
.demo-order-row { display: grid; grid-template-columns: 82px minmax(170px, 1fr) minmax(150px, 1.15fr) 110px 100px; gap: 13px; align-items: center; min-height: 73px; padding: 11px 15px; border-bottom: 1px solid #ebeff4; }
.demo-order-row:last-child { border-bottom: 0; }
.demo-order-id { color: #1768ed; font-size: 12px; font-weight: 850; }
.demo-order-service { color: #52657b; font-size: 12px; }
.demo-order-total { color: #203c58; font-size: 12px; font-weight: 850; text-align: right; }
.demo-order-action { display: flex; justify-content: flex-end; margin-top: 12px; }
.demo-simulate { min-height: 44px; padding: 0 15px; border: 0; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #1768ed, #1255b9); font-size: 12px; font-weight: 800; cursor: pointer; }
.demo-route-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(270px, .85fr); gap: 12px; }
.demo-map { position: relative; min-height: 388px; overflow: hidden; border: 1px solid #dbe5ef; border-radius: 17px; background: linear-gradient(90deg, rgba(28,102,194,.045) 1px, transparent 1px), linear-gradient(rgba(28,102,194,.045) 1px, transparent 1px), #f9fbfd; background-size: 42px 42px; }
.demo-map::before { position: absolute; inset: 14% 20% 17% 17%; border: 4px solid #64d6c5; border-right-color: #2f7bf4; border-radius: 46% 54% 48% 52%; opacity: .65; transform: rotate(-9deg); content: ""; }
.demo-map-label { position: absolute; left: 17px; top: 17px; padding: 8px 10px; border: 1px solid #dce5ee; border-radius: 9px; color: #52677d; background: rgba(255,255,255,.94); font-size: 11px; font-weight: 750; }
.demo-map-pin { position: absolute; display: grid; place-items: center; width: 31px; height: 31px; border: 4px solid #fff; border-radius: 50%; color: #fff; background: #1967ed; box-shadow: 0 7px 17px rgba(25,103,237,.28); font-size: 10px; font-weight: 900; }
.demo-map-pin.one { left: 24%; top: 29%; }
.demo-map-pin.two { right: 24%; top: 20%; }
.demo-map-pin.three { right: 16%; bottom: 24%; }
.demo-map-pin.four { left: 33%; bottom: 17%; background: #20a58f; }
.demo-route-stops { display: grid; gap: 8px; }
.demo-route-stop { display: grid; grid-template-columns: 31px minmax(0, 1fr); gap: 10px; align-items: center; padding: 12px; border: 1px solid #e0e7ef; border-radius: 12px; background: #fff; }
.demo-route-stop > span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; color: #175cc7; background: #eaf1ff; font-size: 11px; font-weight: 900; }
.demo-route-stop strong { display: block; color: #243f5a; font-size: 12px; }
.demo-route-stop small { display: block; margin-top: 2px; color: #7a899c; font-size: 11px; }
.demo-cash-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, .75fr); gap: 12px; }
.demo-cash-total { padding: 24px; border-radius: 17px; color: #fff; background: linear-gradient(135deg, #0b2948, #135688); box-shadow: 0 16px 35px rgba(9,38,66,.16); }
.demo-cash-total span { color: #9fc0d7; font-size: 12px; font-weight: 700; }
.demo-cash-total strong { display: block; margin: 8px 0 20px; font-size: clamp(34px, 5vw, 49px); letter-spacing: -.05em; }
.demo-cash-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.demo-cash-split div { padding: 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: rgba(255,255,255,.07); }
.demo-cash-split small, .demo-cash-split b { display: block; }
.demo-cash-split small { color: #9eb9ce; font-size: 10px; }
.demo-cash-split b { margin-top: 4px; font-size: 15px; }
.demo-payment-bars { display: grid; gap: 15px; }
.demo-payment-row { display: grid; gap: 7px; }
.demo-payment-row > div:first-child { display: flex; justify-content: space-between; gap: 12px; color: #506379; font-size: 12px; font-weight: 700; }
.demo-payment-track { height: 9px; overflow: hidden; border-radius: 999px; background: #e9eef4; }
.demo-payment-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1967ed, #44cbb6); }
.demo-disclaimer { margin: 16px 0 0; color: #7892aa; font-size: 11px; text-align: center; }

.pricing-section { width: min(1100px, calc(100% - 48px)); margin: 0 auto; padding: 94px 0 86px; }
.pricing-head { max-width: 650px; margin: 0 auto 40px; text-align: center; }
.pricing-head .access-kicker { color: #64d7c6; }
.pricing-head h2 { margin: 10px 0 11px; color: #fff; font-size: clamp(29px, 4vw, 42px); letter-spacing: -.045em; }
.pricing-head p { margin: 0; color: #91a8be; font-size: 13px; line-height: 1.65; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; min-height: 410px; padding: 27px; border: 1px solid rgba(255,255,255,.12); border-radius: 21px; background: rgba(255,255,255,.055); }
.price-card.featured { border-color: rgba(94,216,199,.48); background: linear-gradient(180deg, rgba(37,138,179,.19), rgba(255,255,255,.07)); box-shadow: 0 24px 60px rgba(0,8,18,.2); transform: translateY(-8px); }
.popular-label { position: absolute; top: 0; left: 50%; padding: 6px 12px; border-radius: 0 0 9px 9px; color: #062139; background: #67d8c8; font-size: 8px; font-weight: 900; letter-spacing: .12em; transform: translateX(-50%); }
.price-plan { display: grid; gap: 5px; }
.price-plan > span { color: #75dfcf; font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.price-plan small { color: #8da5bc; font-size: 10px; }
.price { display: flex; align-items: baseline; min-height: 77px; padding: 19px 0 17px; border-bottom: 1px solid rgba(255,255,255,.1); }
.price sup { color: #c4d5e5; font-size: 14px; font-weight: 750; }
.price strong { color: #fff; font-size: clamp(32px, 4vw, 40px); line-height: 1; letter-spacing: -.05em; }
.price span, .price small { margin-left: 5px; color: #859db5; font-size: 9px; }
.price-card ul { display: grid; gap: 13px; margin: 24px 0; padding: 0; color: #b7cadb; font-size: 11px; list-style: none; }
.price-card li::before { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 8px; border-radius: 50%; color: #6adecd; background: rgba(78,207,187,.1); font-size: 9px; content: "✓"; }
.price-card > .subscribe-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; margin-top: auto; border: 1px solid rgba(255,255,255,.15); border-radius: 11px; color: #eef7ff; background: rgba(255,255,255,.06); font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.price-card.featured > .subscribe-button { border-color: transparent; color: #062139; background: #64d6c5; }
.price-card > .subscribe-button:disabled { opacity: .7; cursor: wait; }
.billing-message { display: none; max-width: 720px; min-height: 46px; margin: 25px auto 0; padding: 13px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: #dbe8f4; background: rgba(255,255,255,.065); font-size: 11px; font-weight: 700; line-height: 1.55; text-align: center; }
.billing-message.visible { display: block; }
.billing-message.error { border-color: rgba(255,112,139,.32); color: #ffd2dc; background: rgba(155,27,57,.2); }
.billing-message.success { border-color: rgba(100,215,198,.34); color: #bff8ef; background: rgba(34,131,117,.18); }
.pricing-payment { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 24px 0 0; color: #9fb5c9; font-size: 10px; font-weight: 700; }
.pricing-payment svg { width: 16px; height: 16px; fill: none; stroke: #64d7c6; stroke-width: 1.8; }
.pricing-note { margin: 25px 0 0; color: #718aa3; font-size: 9px; text-align: center; }
.welcome-footer { display: flex; justify-content: space-between; gap: 20px; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0 35px; border-top: 1px solid rgba(255,255,255,.1); color: #7089a2; font-size: 10px; }

.pickup-public {
  min-height: 100vh;
  color: #eef7ff;
  background:
    radial-gradient(circle at 14% 20%, rgba(47,123,244,.2), transparent 29%),
    radial-gradient(circle at 86% 76%, rgba(32,184,162,.15), transparent 28%),
    linear-gradient(145deg, #04111e 0%, #071c31 48%, #0a2d4d 100%);
}
.pickup-nav { display: flex; align-items: center; justify-content: space-between; width: min(1120px, calc(100% - 48px)); min-height: 82px; margin: 0 auto; border-bottom: 1px solid rgba(255,255,255,.1); }
.pickup-business-access { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; color: #eaf4fe; background: rgba(255,255,255,.06); font-size: 11px; font-weight: 800; text-decoration: none; }
.pickup-main { display: grid; grid-template-columns: minmax(0, .9fr) minmax(450px, 1.1fr); gap: clamp(38px, 7vw, 86px); align-items: center; width: min(1120px, calc(100% - 48px)); min-height: calc(100vh - 145px); margin: 0 auto; padding: 52px 0 60px; }
.pickup-intro { position: relative; }
.pickup-overline { margin: 25px 0 8px; color: #70dfcf; font-size: 11px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.pickup-intro h1 { max-width: 610px; margin: 0; color: #fff; font-size: clamp(42px, 5.8vw, 67px); line-height: 1; letter-spacing: -.055em; }
.pickup-intro > p:not(.pickup-overline) { max-width: 580px; margin: 21px 0 0; color: #a8bdd1; font-size: 16px; line-height: 1.7; }
.pickup-steps { display: grid; gap: 13px; margin-top: 30px; }
.pickup-steps > div { display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 12px; align-items: center; }
.pickup-steps > div > span { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid rgba(102,220,203,.26); border-radius: 10px; color: #72dece; background: rgba(72,199,181,.08); font-size: 10px; font-weight: 900; }
.pickup-steps p { display: grid; gap: 2px; margin: 0; }
.pickup-steps strong { color: #eaf4fe; font-size: 12px; }
.pickup-steps small { color: #829bb3; font-size: 10px; }
.pickup-security { display: flex; gap: 9px; align-items: center; max-width: 480px; margin-top: 29px; padding-top: 21px; border-top: 1px solid rgba(255,255,255,.1); color: #829bb3; font-size: 9px; }
.pickup-security svg { flex: 0 0 auto; width: 17px; height: 17px; color: #5bd4c2; }
.pickup-form-card { padding: 30px; border: 1px solid rgba(255,255,255,.72); border-radius: 25px; color: var(--ink); background: rgba(255,255,255,.98); box-shadow: 0 34px 85px rgba(0,8,18,.36); }
.pickup-form-head { margin-bottom: 21px; }
.pickup-form-head h2 { margin: 5px 0 4px; color: var(--navy-900); font-size: 23px; letter-spacing: -.035em; }
.pickup-form-head p { margin: 0; color: var(--muted); font-size: 10px; }
.pickup-form-card form { display: grid; gap: 11px; }
.pickup-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.pickup-form-card label { display: grid; gap: 6px; color: #314258; font-size: 10px; font-weight: 760; }
.pickup-form-card label > span { color: #8a98a9; font-size: 8px; font-weight: 650; }
.pickup-form-card input, .pickup-form-card select, .pickup-form-card textarea { width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid #dce3ec; border-radius: 10px; outline: 0; color: var(--ink); background: #f8fafc; font-size: 16px; transition: border-color .18s ease, box-shadow .18s ease; }
.pickup-form-card textarea { min-height: 76px; resize: vertical; line-height: 1.45; }
.pickup-form-card input:focus, .pickup-form-card select:focus, .pickup-form-card textarea:focus { border-color: #6d9ff3; box-shadow: 0 0 0 3px rgba(47,123,244,.1); }
.pickup-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.pickup-form-message { min-height: 18px; color: #bd2947; font-size: 10px; font-weight: 700; }
.pickup-form-message.success { color: #08725e; }
.pickup-submit, .pickup-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; border: 0; border-radius: 11px; font-size: 12px; font-weight: 850; cursor: pointer; }
.pickup-submit { gap: 9px; width: 100%; color: white; background: linear-gradient(135deg, #1768ed, #1158d6); box-shadow: 0 9px 22px rgba(25,103,237,.2); }
.pickup-submit:disabled { cursor: wait; opacity: .62; }
.pickup-submit svg { width: 17px; height: 17px; }
.pickup-disclaimer { margin: 0; color: #7c899a; font-size: 9px; line-height: 1.5; text-align: center; }
.pickup-success { display: grid; justify-items: center; min-height: 485px; place-content: center; text-align: center; }
.pickup-success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 20px; color: #08725e; background: var(--aqua-100); }
.pickup-success-icon svg { width: 32px; height: 32px; stroke-width: 2.4; }
.pickup-success h2 { margin: 8px 0 7px; font-size: 26px; letter-spacing: -.04em; }
.pickup-success p { margin: 0; color: var(--muted); }
.pickup-success > strong { display: inline-flex; margin: 18px 0 8px; padding: 10px 14px; border: 1px solid #cbdcf6; border-radius: 10px; color: #1456d9; background: #f0f5ff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; letter-spacing: .04em; }
.pickup-success > small { color: var(--muted); }
.pickup-secondary { margin-top: 24px; padding: 0 18px; border: 1px solid var(--line-strong); color: var(--ink); background: #fff; }
.pickup-footer { display: flex; justify-content: space-between; gap: 20px; width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 21px 0 28px; border-top: 1px solid rgba(255,255,255,.1); color: #6f89a2; font-size: 9px; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 276px minmax(0, 1fr); }

.sidebar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 20px 14px 16px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(47, 123, 244, .22), transparent 34%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

.brand { display: grid; gap: 7px; justify-items: center; padding: 0 10px 18px; }
.brand .sidebar-brand-logo { width: 100%; height: 70px; padding: 7px 12px; }
.brand small { display: block; color: #9eb0c5; font-size: 10px; text-align: center; }

.workspace-switcher, .user-card {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 62px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  color: #fff;
  background: rgba(255,255,255,.055);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.workspace-switcher { gap: 10px; padding: 9px 10px; margin-bottom: 18px; text-align: left; }
.workspace-switcher:hover, .user-card:hover { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.09); }
.workspace-avatar, .avatar { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #08243e; background: linear-gradient(135deg, #dff8f3, #71d9c9); font-size: 12px; font-weight: 900; }
.workspace-copy { min-width: 0; display: grid; flex: 1; }
.workspace-copy small { color: #8fa4ba; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.workspace-copy strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.workspace-copy span { color: #b6c3d1; font-size: 11px; }
.chevron { flex: 0 0 auto; width: 16px; height: 16px; color: #91a5bb; }

nav { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.12) transparent; }
.nav-group { margin-bottom: 16px; }
.nav-label { display: block; margin: 0 11px 7px; color: #7289a2; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.nav-item { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 42px; padding: 9px 11px; border: 0; border-radius: 10px; color: #b9c6d3; background: transparent; cursor: pointer; text-align: left; transition: color .18s ease, background .18s ease; }
.nav-item svg { width: 18px; height: 18px; }
.nav-item span { flex: 1; font-size: 13px; font-weight: 620; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-item.active { color: #fff; background: linear-gradient(90deg, rgba(35, 112, 240, .95), rgba(35, 112, 240, .73)); box-shadow: 0 8px 24px rgba(10, 82, 194, .24); }
.nav-chip { flex: 0 0 auto !important; max-width: 30px; padding: 1px 6px; border-radius: 999px; color: #c9d5e1; background: rgba(255,255,255,.1); font-size: 9px !important; text-align: center; }
.nav-item.active .nav-chip { color: #fff; background: rgba(255,255,255,.18); }

.sidebar-bottom { display: grid; gap: 9px; padding-top: 10px; }
.plan-card { padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(255,255,255,.04); }
.plan-row { display: flex; justify-content: space-between; align-items: center; color: #b6c3d1; font-size: 11px; }
.plan-row b { padding: 3px 7px; border-radius: 6px; color: #6fe0ce; background: rgba(42, 196, 173, .12); font-size: 9px; letter-spacing: .06em; }
.plan-meter { height: 4px; margin: 9px 0 7px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.09); }
.plan-meter span { display: block; width: 32%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2f7bf4, #5bd2c1); }
.plan-card small { color: #8398af; font-size: 10px; }
.user-card { min-height: 56px; gap: 10px; padding: 8px 10px; text-align: left; }
.user-card > span:nth-child(2) { display: grid; flex: 1; min-width: 0; }
.user-card strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.user-card small { color: #91a5ba; font-size: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #367fec, #7058d8); }
.logout-button { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.09); border-radius: 11px; color: #9eb0c5; background: transparent; font-size: 10px; font-weight: 700; cursor: pointer; }
.logout-button:hover { color: #fff; background: rgba(255,255,255,.06); }
.logout-button svg { width: 16px; height: 16px; }

.sidebar-scrim { display: none; }
.main { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 28px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); backdrop-filter: blur(18px); }
.topbar-left, .top-actions, .breadcrumbs { display: flex; align-items: center; }
.breadcrumbs { gap: 7px; color: var(--muted); font-size: 12px; }
.breadcrumbs svg { width: 14px; height: 14px; }
.breadcrumbs b { color: var(--ink); font-weight: 700; }
.top-actions { gap: 10px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid transparent; border-radius: 11px; background: transparent; cursor: pointer; }
.icon-btn:hover { border-color: var(--line); background: var(--surface-soft); }
.icon-btn svg { width: 20px; height: 20px; }
.notification-dot { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border: 2px solid white; border-radius: 50%; background: var(--red-500); }
.search-trigger { display: flex; align-items: center; gap: 8px; min-width: 270px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: var(--surface-soft); cursor: pointer; text-align: left; }
.search-trigger svg { width: 17px; height: 17px; }
.search-trigger span { flex: 1; font-size: 12px; }
kbd { padding: 2px 6px; border: 1px solid var(--line-strong); border-radius: 5px; color: var(--muted); background: #fff; font-family: inherit; font-size: 9px; box-shadow: 0 1px 0 var(--line); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 9px 14px; border: 1px solid transparent; border-radius: 10px; font-size: 12px; font-weight: 750; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { color: #fff; background: linear-gradient(135deg, var(--blue-600), #1558d9); box-shadow: 0 6px 16px rgba(25, 103, 237, .2); }
.btn.primary:hover { box-shadow: 0 9px 22px rgba(25, 103, 237, .26); }
.btn.secondary { border-color: var(--line); color: var(--ink); background: #fff; box-shadow: var(--shadow-sm); }
.btn.ghost { color: var(--blue-700); background: var(--blue-100); }
.btn.danger { color: #b62645; background: var(--red-100); }
.btn.compact { min-height: 40px; padding-inline: 13px; }
.full-width { width: 100%; }
.mobile-only { display: none; }

.page { width: min(1560px, 100%); margin: 0 auto; padding: 28px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.page-head h1 { margin: 2px 0 4px; color: var(--navy-900); font-size: clamp(24px, 3vw, 30px); line-height: 1.2; letter-spacing: -.035em; }
.page-head p { margin: 0; color: var(--muted); }
.eyebrow { color: var(--blue-600); font-size: 9px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.head-actions { display: flex; align-items: center; gap: 9px; }
.date-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-soft); background: #fff; font-size: 11px; box-shadow: var(--shadow-sm); }
.date-pill svg { width: 16px; height: 16px; color: var(--blue-600); }

.welcome-strip { position: relative; display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; align-items: center; margin-bottom: 16px; padding: 22px 24px; overflow: hidden; border-radius: var(--radius-lg); color: white; background: linear-gradient(110deg, #0a2b4b 0%, #0e3d6d 58%, #1163bb 100%); box-shadow: 0 14px 34px rgba(7, 40, 75, .16); }
.welcome-strip::after { position: absolute; right: -40px; bottom: -90px; width: 260px; height: 260px; border: 42px solid rgba(104, 224, 205, .13); border-radius: 50%; content: ""; }
.welcome-strip h1 { margin: 3px 0 5px; font-size: clamp(22px, 3vw, 29px); letter-spacing: -.035em; }
.welcome-strip p { max-width: 640px; margin: 0; color: #bed0e1; }
.welcome-strip .eyebrow { color: #78dfd0; }
.day-summary { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.12); }
.day-summary > div { padding: 13px 15px; background: rgba(4, 23, 43, .42); backdrop-filter: blur(8px); }
.day-summary span { display: block; color: #a8bfd4; font-size: 10px; }
.day-summary b { display: block; margin-top: 3px; font-size: 16px; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 16px; }
.kpi { position: relative; min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.kpi-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kpi-label { overflow: hidden; color: var(--muted); font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.kpi-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--blue-600); background: var(--blue-100); }
.kpi-icon.aqua { color: #0f8d7a; background: var(--aqua-100); }
.kpi-icon.orange { color: #bb6d0a; background: var(--orange-100); }
.kpi-icon.violet { color: #6543d5; background: var(--violet-100); }
.kpi-icon svg { width: 16px; height: 16px; }
.kpi-value { margin: 10px 0 3px; color: var(--navy-900); font-size: clamp(20px, 2vw, 25px); font-weight: 820; line-height: 1; letter-spacing: -.03em; }
.trend { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; }
.trend.good { color: #178b6b; }
.trend.warn { color: #b86a07; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr); gap: 16px; }
.stack { display: grid; align-content: start; gap: 16px; }
.card { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head h2, .card-head h3, .card h3 { margin: 0; color: var(--navy-900); font-size: 15px; letter-spacing: -.015em; }
.card-head p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.text-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 4px; border: 0; color: var(--blue-600); background: transparent; font-size: 11px; font-weight: 750; cursor: pointer; }
.text-btn svg { width: 14px; height: 14px; }

.stage-row { display: grid; grid-template-columns: repeat(6, minmax(74px, 1fr)); gap: 7px; margin-bottom: 12px; }
.stage { display: grid; gap: 2px; padding: 9px 10px; border: 1px solid #e7edf5; border-radius: 10px; background: #f8fafd; }
.stage span { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.stage b { font-size: 16px; }

.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 9px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-size: 11px; white-space: nowrap; }
th { color: var(--muted); background: #fbfcfe; font-size: 9px; font-weight: 750; letter-spacing: .045em; text-transform: uppercase; }
th:first-child { border-radius: 8px 0 0 8px; }
th:last-child { border-radius: 0 8px 8px 0; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fbfcff; }
.order-id { color: var(--blue-700); font-weight: 800; }
.client-cell strong { display: block; color: var(--ink); font-size: 11px; }
.client-cell small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px; color: #55677e; background: #eef2f7; font-size: 9px; font-weight: 750; }
.status::before { width: 5px; height: 5px; border-radius: 50%; background: currentColor; content: ""; }
.status.Lavado, .status.Recibido { color: #1a60c6; background: #e6effe; }
.status.Secado { color: #b46b0b; background: #fff0d8; }
.status.Terminación { color: #6444c9; background: #eee9fc; }
.status.Listo, .status.Entregado { color: #148263; background: #def5ee; }
.status.Reparto, .status.Retirado { color: #126998; background: #e0f1f8; }
.row-action { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-soft); background: #fff; cursor: pointer; }
.row-action:hover { color: var(--blue-600); border-color: #b9cdf3; }
.row-action svg { width: 15px; height: 15px; }

.quick-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.quick { display: flex; align-items: center; gap: 9px; min-height: 56px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink-soft); background: #fff; cursor: pointer; text-align: left; transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.quick:hover { transform: translateY(-1px); border-color: #c5d4ee; box-shadow: var(--shadow-sm); }
.quick-icon { display: grid; flex: 0 0 auto; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--blue-600); background: var(--blue-100); }
.quick-icon svg { width: 16px; height: 16px; }
.quick b { display: block; color: var(--ink); font-size: 10px; }
.quick small { color: var(--muted); font-size: 9px; }

.delivery-list { display: grid; }
.delivery { display: grid; grid-template-columns: 24px 42px 1fr auto; gap: 9px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.delivery:last-child { padding-bottom: 0; border-bottom: 0; }
.route-number { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; color: #fff; background: var(--navy-900); font-size: 8px; font-weight: 900; }
.time-box { padding: 5px 4px; border-radius: 8px; color: var(--blue-700); background: var(--blue-100); font-size: 9px; font-weight: 800; text-align: center; }
.delivery strong { display: block; font-size: 10px; }
.delivery small { display: block; max-width: 170px; margin-top: 2px; overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.pill { padding: 4px 7px; border-radius: 999px; color: #986009; background: var(--orange-100); font-size: 8px; font-weight: 750; }
.pill.good { color: #14755c; background: var(--aqua-100); }

.chart { position: relative; height: 210px; padding: 20px 14px 23px; overflow: hidden; border: 1px solid #edf0f5; border-radius: 12px; background: linear-gradient(180deg, #fbfdff, #fff); }
.chart-grid { position: absolute; inset: 20px 14px 24px; display: grid; grid-template-rows: repeat(4, 1fr); }
.chart-grid span { border-top: 1px dashed #e7ecf2; }
.bars { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-around; gap: 12px; height: 100%; }
.bar-wrap { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 6px; }
.bar { width: min(28px, 72%); min-height: 8px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #4388f7, #175bd6); box-shadow: 0 5px 12px rgba(25,103,237,.15); }
.bar-wrap small { position: absolute; bottom: 5px; color: var(--muted); font-size: 8px; }
.donut-layout { display: flex; align-items: center; justify-content: center; gap: 26px; min-height: 190px; }
.donut { position: relative; display: grid; flex: 0 0 auto; place-items: center; width: 136px; height: 136px; border-radius: 50%; background: conic-gradient(var(--blue-600) 0 42%, #5a91ee 42% 67%, var(--aqua-500) 67% 82%, var(--violet-500) 82% 92%, #bcc6d6 92%); }
.donut::after { position: absolute; inset: 30px; border-radius: 50%; background: white; content: ""; }
.donut strong, .donut span { position: relative; z-index: 1; }
.donut strong { font-size: 20px; }
.donut span { margin-top: 28px; color: var(--muted); font-size: 8px; }
.legend { display: grid; gap: 9px; }
.legend-row { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 7px; color: var(--ink-soft); font-size: 10px; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-600); }
.legend-row:nth-child(2) .legend-dot { background: #5a91ee; }
.legend-row:nth-child(3) .legend-dot { background: var(--aqua-500); }
.legend-row:nth-child(4) .legend-dot { background: var(--violet-500); }

.report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.three-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.list { display: grid; gap: 8px; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.list-row strong { display: block; font-size: 11px; }
.list-row small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.list-row > b { font-size: 11px; }

.toolbar { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }
.search { flex: 1; min-width: 220px; }
input, select, textarea { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--ink); background: #fff; outline: none; transition: border-color .16s ease, box-shadow .16s ease; }
input::placeholder, textarea::placeholder { color: #9aa7b8; }
input:focus, select:focus, textarea:focus { border-color: #7aa8f7; box-shadow: 0 0 0 3px rgba(47,123,244,.12); }
textarea { resize: vertical; }
label { display: grid; gap: 6px; margin-bottom: 13px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }

.empty { display: grid; justify-items: center; padding: 50px 20px; color: var(--muted); text-align: center; }
.empty-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 15px; color: var(--blue-600); background: var(--blue-100); }
.empty-icon svg { width: 24px; height: 24px; }
.empty h3 { margin: 0 0 5px; color: var(--ink); }
.empty p { max-width: 380px; margin: 0 0 15px; font-size: 11px; }

.insight { display: flex; gap: 11px; align-items: flex-start; padding: 13px; border: 1px solid #dbe8ff; border-radius: 12px; background: #f1f6ff; }
.insight-icon { display: grid; flex: 0 0 auto; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--blue-600); background: white; }
.insight-icon svg { width: 16px; height: 16px; }
.insight strong { display: block; font-size: 10px; }
.insight p { margin: 2px 0 0; color: var(--ink-soft); font-size: 9px; }

.onboarding { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; align-items: stretch; }
.onboarding-copy { padding: 25px; border-radius: var(--radius); color: white; background: linear-gradient(145deg, var(--navy-900), #124f88); }
.onboarding-copy h2 { margin: 9px 0 8px; font-size: 23px; letter-spacing: -.03em; }
.onboarding-copy p { margin: 0; color: #b9cde0; }
.check-list { display: grid; gap: 10px; margin-top: 22px; }
.check-item { display: flex; align-items: center; gap: 9px; font-size: 11px; }
.check-item span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #08352f; background: #70daca; font-size: 11px; font-weight: 900; }
.setup-steps { display: grid; gap: 9px; }
.setup-step { display: grid; grid-template-columns: 34px 1fr auto; gap: 11px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 12px; }
.step-number { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--blue-700); background: var(--blue-100); font-weight: 850; }
.setup-step strong { display: block; font-size: 11px; }
.setup-step small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.setup-step .status { justify-self: end; }

.plan-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.plan-hero { padding: 24px; border-radius: var(--radius); color: white; background: linear-gradient(135deg, #0a2947, #13569c); }
.plan-hero h2 { margin: 10px 0 5px; font-size: 25px; }
.plan-hero p { margin: 0; color: #b9cde0; }
.plan-badge { display: inline-flex; padding: 5px 9px; border-radius: 7px; color: #092d37; background: #78dfd0; font-size: 9px; font-weight: 850; letter-spacing: .06em; }
.usage-list { display: grid; gap: 14px; margin-top: 22px; }
.usage-row { display: grid; gap: 6px; }
.usage-copy { display: flex; justify-content: space-between; color: #c6d5e2; font-size: 10px; }
.usage-bar { height: 6px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.13); }
.usage-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3888ff, #73dfce); }

.platform-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; padding: 17px 19px; border: 1px solid #dce7f6; border-radius: var(--radius); background: linear-gradient(110deg, #f9fbff, #eef5ff); }
.platform-banner strong { display: block; font-size: 12px; }
.platform-banner p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.tenant-name { display: flex; align-items: center; gap: 8px; }
.tenant-mini { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #0d4566; background: var(--aqua-100); font-size: 9px; font-weight: 850; }

.superadmin-page { background: radial-gradient(circle at 100% 0%, rgba(47,123,244,.07), transparent 30%); }
.superadmin-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; padding: 18px 20px; overflow: hidden; border: 1px solid rgba(111,224,206,.2); border-radius: var(--radius); color: white; background: linear-gradient(115deg, #07192b, #0d3157 62%, #15508b); box-shadow: 0 16px 38px rgba(7,25,43,.13); }
.superadmin-identity { display: flex; align-items: center; gap: 13px; }
.superadmin-shield { display: grid; flex: 0 0 auto; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.15); border-radius: 13px; color: #78dfd0; background: rgba(255,255,255,.08); }
.superadmin-shield svg { width: 23px; height: 23px; stroke-width: 2.1; }
.superadmin-identity small { color: #73d8ca; font-size: 8px; font-weight: 850; letter-spacing: .14em; }
.superadmin-identity strong { display: block; margin-top: 2px; font-size: 14px; }
.superadmin-identity p { margin: 2px 0 0; color: #aebfd0; font-size: 9px; }
.superadmin-badge { flex: 0 0 auto; padding: 7px 10px; border: 1px solid rgba(120,223,208,.3); border-radius: 999px; color: #8be7da; background: rgba(20,126,112,.18); font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.admin-grid { display: grid; grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr); gap: 16px; margin-top: 16px; }
.admin-businesses, .business-admin-card { min-height: 430px; }
.secure-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px; color: #1456d9; background: var(--blue-100); font-size: 8px; font-weight: 800; white-space: nowrap; }
.secure-chip svg { width: 12px; height: 12px; }
.admin-business-list { display: grid; gap: 7px; }
.admin-business { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; min-height: 58px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; text-align: left; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.admin-business:hover { border-color: #adc3eb; transform: translateY(-1px); }
.admin-business.active { border-color: #8eafe9; background: #f3f7ff; box-shadow: inset 3px 0 0 var(--blue-600); }
.admin-business strong, .admin-business small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-business strong { font-size: 10px; }
.admin-business small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.business-admin-card .card-head h2 { margin-top: 2px; font-size: 19px; }
.admin-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 4px; }
.admin-form-footer > span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 9px; }
.admin-form-footer svg { width: 13px; height: 13px; color: var(--blue-600); }
.admin-bottom-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; margin-top: 16px; }
.owner-profile { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); }
.owner-profile strong, .owner-profile small { display: block; }
.owner-profile strong { font-size: 10px; }
.owner-profile small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.security-note { display: flex; gap: 8px; margin: 12px 0; padding: 11px; border-radius: 10px; color: #465d78; background: #eef4ff; font-size: 9px; line-height: 1.5; }
.security-note svg { flex: 0 0 auto; width: 15px; height: 15px; color: var(--blue-600); }
.audit-list { display: grid; gap: 11px; }
.audit-item { display: grid; grid-template-columns: 9px minmax(0, 1fr); gap: 9px; align-items: start; }
.audit-dot { width: 8px; height: 8px; margin-top: 4px; border: 2px solid #b5c9ed; border-radius: 50%; background: white; box-shadow: 0 0 0 3px #eef4ff; }
.audit-item strong, .audit-item small { display: block; }
.audit-item strong { font-size: 9px; }
.audit-item small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.status.blocked { color: #b62645; background: var(--red-100); }
.status.pending { color: #a5650b; background: var(--orange-100); }
.platform-loading, .access-denied { min-height: 320px; display: grid; place-items: center; align-content: center; text-align: center; }
.platform-loading h2, .access-denied h2 { margin: 13px 0 3px; }
.platform-loading p, .access-denied p { margin: 0; color: var(--muted); }
.loading-ring { width: 34px; height: 34px; border: 3px solid #dbe6f7; border-top-color: var(--blue-600); border-radius: 50%; animation: spin .8s linear infinite; }
.btn:disabled { cursor: not-allowed; filter: saturate(.5); opacity: .55; transform: none; box-shadow: none; }

.request-link-card { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 13px; align-items: center; margin-bottom: 16px; padding: 14px 16px; border: 1px solid #cbdcf6; border-radius: 14px; background: linear-gradient(135deg, #f3f7ff, #fbfdff); box-shadow: var(--shadow-sm); }
.request-link-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--blue-600); background: var(--blue-100); }
.request-link-icon svg { width: 21px; height: 21px; }
.request-link-card > div { display: grid; min-width: 0; gap: 2px; }
.request-link-card strong { overflow: hidden; color: #153c78; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.request-link-card small { color: var(--muted); font-size: 9px; }
.request-kpis { margin-top: 0; }
.request-inbox { min-height: 330px; }
.request-created, .request-detail { display: block; max-width: 260px; margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 8px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.request-status { min-width: 112px; min-height: 38px; padding: 7px 28px 7px 9px; border: 1px solid #d8e1ed; border-radius: 9px; color: #38516d; background-color: #f8fafc; font-size: 9px; font-weight: 800; }
.request-status-nueva { color: #a5650b; border-color: #f2d09d; background-color: #fff8ed; }
.request-status-confirmada, .request-status-completada { color: #08725e; border-color: #a9dfd5; background-color: #effbf8; }
.request-status-rechazada { color: #b62645; border-color: #f0c3cc; background-color: #fff3f5; }
.request-convert-btn, .request-converted { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 7px 11px; border: 1px solid transparent; border-radius: 9px; font-size: 9px; font-weight: 850; white-space: nowrap; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.request-convert-btn { color: #fff; background: linear-gradient(135deg, var(--blue-600), #0e4eae); box-shadow: 0 6px 14px rgba(21, 82, 178, .2); }
.request-convert-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(21, 82, 178, .26); }
.request-converted { color: #08725e; border-color: #a9dfd5; background: #effbf8; }
.request-convert-btn svg, .request-converted svg { width: 13px; height: 13px; }
.request-convert-btn:disabled { cursor: wait; opacity: .66; transform: none; }
.request-loading { display: grid; min-height: 230px; place-items: center; place-content: center; gap: 10px; text-align: center; }
.request-loading strong { font-size: 11px; }
.request-loading small { color: var(--muted); font-size: 9px; }
.request-empty { display: grid; justify-items: center; min-height: 250px; place-content: center; padding: 20px; text-align: center; }
.request-empty h3 { margin: 12px 0 4px; }
.request-empty p { max-width: 470px; margin: 0 0 16px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.pickup-mobile-list { display: none; }
.pickup-request-card { padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.request-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pickup-request-card h3 { margin: 13px 0 1px; font-size: 14px; }
.pickup-request-card > a { color: var(--blue-600); font-size: 11px; font-weight: 750; text-decoration: none; }
.pickup-request-card dl { display: grid; gap: 9px; margin: 14px 0 0; }
.pickup-request-card dl > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 9px; }
.pickup-request-card dt { color: var(--muted); font-size: 9px; }
.pickup-request-card dd { margin: 0; color: #314258; font-size: 10px; font-weight: 650; }
.request-card-action { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); }
.request-card-action button, .request-card-action a { width: 100%; min-height: 44px; }
.pickup-actions { display: flex; align-items: center; gap: 6px; }
.whatsapp-action, .whatsapp-icon-action { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 7px 11px; border: 1px solid #9fdcc0; border-radius: 9px; color: #08725e; background: #effbf5; font-size: 9px; font-weight: 850; text-decoration: none; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.whatsapp-action:hover, .whatsapp-icon-action:hover { transform: translateY(-1px); background: #e2f8ed; box-shadow: 0 7px 16px rgba(8, 114, 94, .14); }
.whatsapp-action svg, .whatsapp-icon-action svg { width: 14px; height: 14px; }
.whatsapp-icon-action { padding-inline: 9px; }
.quote-pending { color: #a5650b; }
.order-actions { display: inline-flex; align-items: center; gap: 6px; }
.value-action { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 7px 10px; border: 1px solid #c8d7ee; border-radius: 9px; color: #315173; background: #f7faff; font-size: 8px; font-weight: 850; white-space: nowrap; cursor: pointer; }
.value-action.pending { color: #fff; border-color: var(--blue-600); background: linear-gradient(135deg, var(--blue-600), #0e4eae); box-shadow: 0 5px 12px rgba(21, 82, 178, .2); }
.value-action svg { width: 13px; height: 13px; }
.order-actions .row-action { width: 44px; height: 44px; }
.row-action:disabled { cursor: default; color: #168068; border-color: #b7e2d8; background: #effaf7; opacity: .8; }
.valuation-total { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 3px 0 16px; padding: 14px 16px; border: 1px solid #cbdcf6; border-radius: 12px; color: #38516d; background: linear-gradient(135deg, #f3f7ff, #fbfdff); }
.valuation-total span { font-size: 10px; font-weight: 750; }
.valuation-total strong { color: #153c78; font-size: 22px; letter-spacing: -.025em; }
.form-grid label small { color: var(--muted); font-size: 8px; font-weight: 550; line-height: 1.4; }
.client-summary { display: flex; align-items: center; justify-content: flex-end; gap: 12px; text-align: right; }

.modal-backdrop, .command-backdrop { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 20px; background: rgba(5, 17, 31, .56); backdrop-filter: blur(7px); }
.modal-backdrop.open, .command-backdrop.open { display: grid; animation: fadeIn .16s ease both; }
.modal { width: min(700px, 100%); max-height: min(90vh, 760px); padding: 22px; overflow-y: auto; border: 1px solid rgba(255,255,255,.7); border-radius: 20px; background: #fff; box-shadow: var(--shadow-md); animation: riseIn .18s ease both; }
.modal-small { width: min(590px, 100%); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.modal-head h2 { margin: 3px 0 4px; font-size: 20px; letter-spacing: -.025em; }
.modal-head p { margin: 0; color: var(--muted); font-size: 10px; }
.modal-close { flex: 0 0 auto; border-color: var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.form-grid .full-span { grid-column: 1 / -1; }
.form-message { min-height: 18px; margin: 0; color: #bd2947; font-size: 10px; font-weight: 750; }
.check-field { display: flex; align-items: center; gap: 9px; min-height: 44px; }
.check-field input { width: 18px; min-height: 18px; margin: 0; accent-color: var(--blue-600); }
.check-field span { font-size: 10px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 6px; }
.workspace-list { display: grid; gap: 8px; margin-bottom: 12px; }
.workspace-option { display: grid; grid-template-columns: 40px 1fr auto; gap: 11px; align-items: center; min-height: 62px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; text-align: left; }
.workspace-option:hover { border-color: #b7cbef; background: #fbfdff; }
.workspace-option.active { border-color: #8fb2ed; background: #f4f8ff; }
.workspace-option strong { display: block; font-size: 11px; }
.workspace-option small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.workspace-option .workspace-avatar { width: 36px; height: 36px; }
.workspace-form { margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); }
.hidden { display: none !important; }

.command-backdrop { align-items: start; padding-top: 12vh; }
.command { width: min(650px, 100%); overflow: hidden; border: 1px solid rgba(255,255,255,.8); border-radius: 17px; background: #fff; box-shadow: 0 30px 90px rgba(4,17,32,.3); animation: riseIn .18s ease both; }
.command-input { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 15px; border-bottom: 1px solid var(--line); }
.command-input svg { width: 20px; height: 20px; color: var(--muted); }
.command-input input { flex: 1; min-height: 54px; padding: 0; border: 0; box-shadow: none; }
.command-results { max-height: 390px; overflow: auto; padding: 8px; }
.command-result { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; width: 100%; min-height: 54px; padding: 8px 10px; border: 0; border-radius: 10px; background: #fff; cursor: pointer; text-align: left; }
.command-result:hover { background: var(--surface-soft); }
.command-result-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: var(--blue-600); background: var(--blue-100); }
.command-result-icon svg { width: 16px; height: 16px; }
.command-result strong { display: block; font-size: 10px; }
.command-result small { display: block; color: var(--muted); font-size: 9px; }
.command-empty { padding: 35px; color: var(--muted); text-align: center; font-size: 11px; }

.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 120; display: grid; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 9px; min-width: 260px; padding: 12px 14px; border: 1px solid #d7e4f5; border-radius: 12px; color: var(--ink); background: #fff; box-shadow: var(--shadow-md); animation: toastIn .22s ease both; }
.toast-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; color: #08725e; background: var(--aqua-100); }
.toast-icon svg { width: 14px; height: 14px; }
.toast strong { display: block; font-size: 10px; }
.toast small { display: block; color: var(--muted); font-size: 9px; }

@keyframes fadeIn { from { opacity: 0; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(8px) scale(.985); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1240px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-row { grid-template-columns: repeat(3, minmax(80px, 1fr)); }
}

@media (max-width: 980px) {
  .welcome-hero { grid-template-columns: 1fr minmax(340px, 400px); gap: 38px; }
  .demo-intro { grid-template-columns: 1fr; gap: 20px; }
  .demo-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-dashboard-grid, .demo-route-layout, .demo-cash-layout { grid-template-columns: 1fr; }
  .demo-order-row { grid-template-columns: 75px minmax(150px, 1fr) minmax(130px, 1fr) 95px; }
  .demo-order-total { display: none; }
  .pickup-main { grid-template-columns: minmax(0, .8fr) minmax(410px, 1.2fr); gap: 32px; }
  .pickup-intro h1 { font-size: 47px; }
  .app-shell { grid-template-columns: 236px minmax(0, 1fr); }
  .page { padding: 22px; }
  .search-trigger { min-width: 44px; width: 44px; justify-content: center; }
  .search-trigger span, .search-trigger kbd { display: none; }
  .report-grid, .three-grid, .plan-layout, .onboarding { grid-template-columns: 1fr; }
  .admin-grid, .admin-bottom-grid { grid-template-columns: 1fr; }
  .admin-businesses, .business-admin-card { min-height: 0; }
}

@media (max-width: 760px) {
  .welcome-nav { width: min(100% - 28px, 1180px); min-height: 72px; }
  .welcome-links a:not(.welcome-login-link) { display: none; }
  .welcome-links { gap: 0; }
  .welcome-brand .brand-logo-panel { width: 146px; height: 49px; padding: 4px 8px; border-radius: 12px; }
  .welcome-hero { display: grid; grid-template-columns: 1fr; width: min(100% - 28px, 620px); min-height: 0; padding: 60px 0 66px; }
  .welcome-copy { text-align: center; }
  .launch-pill { justify-content: center; }
  .welcome-copy h1 { font-size: clamp(40px, 12vw, 60px); }
  .welcome-copy > p { font-size: 15px; }
  .welcome-cta, .trust-row { justify-content: center; }
  .access-card { padding: 23px 19px; text-align: left; }
  .benefits-band { grid-template-columns: 1fr; width: min(100% - 28px, 620px); }
  .benefits-band article, .benefits-band article:first-child, .benefits-band article:last-child { padding: 23px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .benefits-band article:last-child { border-bottom: 0; }
  .demo-section { width: min(100% - 28px, 620px); padding-top: 72px; }
  .demo-intro { text-align: center; }
  .demo-kicker, .demo-safe { justify-content: center; }
  .demo-intro h2 { font-size: clamp(31px, 9vw, 42px); }
  .demo-intro-copy > p { font-size: 15px; }
  .demo-window { border-radius: 20px; }
  .demo-window-bar { padding: 12px 14px; }
  .demo-live { display: none; }
  .demo-workspace { display: block; min-height: 0; }
  .demo-nav { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 9px; overflow-x: auto; border-right: 0; border-bottom: 1px solid #d9e2ed; }
  .demo-nav button { display: flex; justify-content: center; min-width: 76px; padding: 0 9px; }
  .demo-nav button b { display: none; }
  .demo-nav svg { width: 17px; height: 17px; }
  .demo-main { padding: 20px 14px; }
  .demo-page-head { align-items: stretch; flex-direction: column; gap: 10px; }
  .demo-today { align-self: flex-start; }
  .demo-stages { display: flex; overflow-x: auto; padding-bottom: 3px; }
  .demo-stage-item { flex: 0 0 105px; }
  .demo-order-row { grid-template-columns: 70px minmax(0, 1fr) auto; gap: 8px; }
  .demo-order-service { grid-column: 2; }
  .demo-order-row .demo-status { grid-column: 3; grid-row: 1 / span 2; }
  .demo-map { min-height: 300px; }
  .pricing-section { width: min(100% - 28px, 620px); padding: 76px 0 64px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 13px; }
  .price-card { min-height: 0; }
  .price-card.featured { transform: none; }
  .welcome-footer { width: min(100% - 28px, 620px); flex-direction: column; align-items: center; text-align: center; }
  .pickup-nav { width: min(100% - 28px, 620px); min-height: 72px; }
  .pickup-business-access { padding: 0 11px; }
  .pickup-main { grid-template-columns: 1fr; width: min(100% - 28px, 620px); min-height: 0; gap: 35px; padding: 45px 0 50px; }
  .pickup-intro { text-align: center; }
  .pickup-intro h1 { margin-inline: auto; font-size: clamp(39px, 11vw, 55px); }
  .pickup-intro > p:not(.pickup-overline) { margin-inline: auto; font-size: 14px; }
  .pickup-intro .launch-pill { justify-content: center; }
  .pickup-steps { width: min(420px, 100%); margin-inline: auto; text-align: left; }
  .pickup-security { justify-content: center; margin-inline: auto; text-align: left; }
  .pickup-form-card { padding: 23px 19px; }
  .pickup-form-grid { grid-template-columns: 1fr; }
  .pickup-footer { width: min(100% - 28px, 620px); flex-direction: column; align-items: center; text-align: center; }
  .app-shell { display: block; }
  .sidebar { position: fixed; left: 0; width: min(292px, calc(100vw - 46px)); transform: translateX(-105%); transition: transform .22s ease; box-shadow: 18px 0 50px rgba(5,17,31,.2); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-scrim { position: fixed; inset: 0; z-index: 35; display: block; border: 0; background: rgba(5,17,31,.48); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
  .sidebar.open + .sidebar-scrim { opacity: 1; pointer-events: auto; }
  .mobile-only { display: inline-grid; }
  .topbar { height: 64px; padding: 0 14px; }
  .topbar-left { gap: 6px; }
  .breadcrumbs > span, .breadcrumbs > svg { display: none; }
  .btn.compact span { display: none; }
  .btn.compact { width: 42px; padding: 0; }
  .page { padding: 18px 14px 28px; }
  .welcome-strip { grid-template-columns: 1fr; padding: 20px; }
  .day-summary { max-width: 420px; }
  .stack { grid-template-columns: 1fr; }
  .page-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .head-actions { width: 100%; }
  .head-actions .btn { flex: 1; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .superadmin-hero { align-items: flex-start; flex-direction: column; }
  .superadmin-badge { align-self: flex-start; }
  .admin-form-footer { align-items: stretch; flex-direction: column; }
  .admin-form-footer .btn, .security-panel .btn { width: 100%; }
  .request-link-card { grid-template-columns: 40px minmax(0, 1fr); }
  .request-link-card > button { grid-column: 1 / -1; width: 100%; }
  .pickup-desktop-table { display: none; }
  .pickup-mobile-list { display: grid; gap: 10px; }
  .request-card-action .pickup-actions { flex-direction: column; align-items: stretch; }
  .client-list-row { align-items: stretch; flex-direction: column; }
  .client-summary { width: 100%; justify-content: space-between; text-align: left; }
  .toolbar .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .modal-backdrop { padding: 10px; align-items: end; }
  .modal { width: 100%; max-height: 92vh; border-radius: 20px 20px 10px 10px; }
  .command-backdrop { padding: 9px; padding-top: 8vh; }
  input, select, textarea { font-size: 16px; }
  .toast-region { right: 10px; bottom: 10px; left: 10px; }
  .toast { min-width: 0; }
}

@media (max-width: 520px) {
  .welcome-hero { padding-top: 48px; gap: 45px; }
  .welcome-copy h1 { margin-top: 20px; font-size: 40px; }
  .welcome-cta { display: grid; }
  .welcome-primary, .welcome-secondary { width: 100%; }
  .trust-row { gap: 11px; }
  .demo-intro { margin-bottom: 24px; }
  .demo-safe { display: grid; justify-items: center; }
  .demo-company small { display: none; }
  .demo-company-mark { width: 40px; height: 40px; }
  .demo-plan { min-height: 32px; padding-inline: 9px; font-size: 10px; }
  .demo-nav button { min-width: 66px; font-size: 11px; }
  .demo-nav button { gap: 5px; }
  .demo-kpis { gap: 8px; }
  .demo-kpi { padding: 13px; }
  .demo-kpi-top { font-size: 10px; }
  .demo-kpi strong { font-size: 20px; }
  .demo-dashboard-grid { gap: 9px; }
  .demo-card { padding: 14px; }
  .demo-pickup { grid-template-columns: 44px minmax(0, 1fr); }
  .demo-pickup .demo-status { grid-column: 2; justify-self: start; }
  .demo-order-row { min-height: 88px; padding-inline: 11px; }
  .demo-order-service { font-size: 11px; }
  .demo-cash-split { grid-template-columns: 1fr; }
  .access-card h2 { font-size: 21px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 9px; }
  .kpi { padding: 14px; }
  .kpi-label { font-size: 9px; }
  .kpi-value { font-size: 19px; }
  .stage-row { display: flex; overflow-x: auto; padding-bottom: 4px; }
  .stage { flex: 0 0 88px; }
  .quick-actions { grid-template-columns: 1fr 1fr; }
  .quick small { display: none; }
  .delivery { grid-template-columns: 24px 42px minmax(0, 1fr); }
  .delivery .pill { grid-column: 3; justify-self: start; }
  .report-grid { gap: 12px; }
  .donut-layout { gap: 16px; }
  .donut { width: 112px; height: 112px; }
  .donut::after { inset: 25px; }
  .table-wrap { margin-inline: -12px; width: calc(100% + 24px); }
  th, td { padding-inline: 8px; }
  th:nth-child(3), td:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
