@font-face {
  font-family: "Pretendard";
  src: url("font/Pretendard-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("font/Pretendard-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("font/Pretendard-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("font/Pretendard-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
:root {
  --ink: #101411;
  --paper: #f3f0e8;
  --card: #fffcf7;
  --line: rgba(16, 20, 17, 0.12);
  --muted: #5e675f;
  --signal: #d6ff4a;
  --green: #17362a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.nav {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 4vw;
  color: white;
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: -0.05em; font-size: 20px; }
.brand img, .mark img { display: block; height: 32px; width: auto; max-width: 160px; max-height: 32px; object-fit: contain; object-position: left center; }
.top .mark img { height: 40px; max-height: 40px; max-width: 200px; }
.mark { display: inline-flex; align-items: center; gap: 8px; }
.nav-links { display: flex; gap: 22px; align-items: center; font-size: 14px; }
.nav-links a.solid {
  background: white;
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
}
.nav.plain { position: relative; color: var(--ink); background: transparent; }
.nav.plain .nav-links a.solid { background: var(--ink); color: white; }
.hero {
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 18vh 4vw 64px;
  color: white;
  background:
    linear-gradient(180deg, rgba(8, 12, 10, 0.55), transparent 160px),
    linear-gradient(90deg, rgba(8, 12, 10, 0.82) 0%, rgba(8, 12, 10, 0.28) 58%, rgba(8, 12, 10, 0.45) 100%),
    url("photo/warehouse.jpg") center/cover no-repeat;
}
.kicker {
  margin: 0 0 16px;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
}
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(46px, 6.4vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  font-weight: 800;
}
.hero p.lead {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.7;
}
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.btn.light { background: var(--signal); color: #14210a; }
.btn.ghost { background: transparent; color: white; border: 1px solid rgba(255,255,255,.45); }
.btn.dark { background: var(--ink); color: white; }
.services { padding: 28px 4vw 10px; }
.service-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 14px;
}
.service {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 28px;
  color: white;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.service img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service div { position: relative; z-index: 1; }
.service h2 { margin: 0 0 8px; font-size: 32px; letter-spacing: -0.05em; color: #fff; }
.service p { margin: 0; max-width: 360px; line-height: 1.55; color: #fff; }
.service::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 20%, rgba(0,0,0,.82) 100%);
}
.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 88px 4vw;
}
.story img { width: 100%; height: 520px; object-fit: cover; border-radius: 28px; }
.story h2 { margin: 0 0 12px; font-size: clamp(34px, 4vw, 56px); letter-spacing: -0.055em; line-height: 1.05; }
.story p { color: var(--muted); line-height: 1.75; font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.step b { display: block; font-size: 13px; letter-spacing: 0.08em; color: #2d6a45; }
.step strong { display: block; margin: 6px 0; font-size: 20px; letter-spacing: -0.04em; }
.step span { color: var(--muted); line-height: 1.5; font-size: 14px; }
.join {
  margin: 0 4vw 72px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 460px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--ink);
  color: white;
}
.join img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.join article { padding: 48px; }
.join h2 { margin: 8px 0 12px; font-size: 42px; letter-spacing: -0.05em; }
.join p { color: rgba(255,255,255,.75); line-height: 1.7; }
.foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding: 28px 4vw 40px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.foot b { display: block; color: var(--ink); font-size: 14px; }
.foot small { display: block; }
.foot a { color: inherit; }
.top, .topbar, .sheet-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 4vw;
}
.top a, .sheet-top a, .topbar a { font-weight: 800; letter-spacing: -0.04em; }
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 12px 16px;
  font-weight: 700;
}
.sheet, .form-card {
  width: min(860px, calc(100% - 32px));
  margin: 8px auto 72px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px;
}
.form-card h1, .sheet h1 { margin: 0; letter-spacing: -0.05em; font-size: 36px; }
.track-form { display: flex; gap: 8px; margin-top: 8px; }
.track-form input { border-radius: 999px; }
.track-steps { list-style: none; margin: 28px 0 0; padding: 0; }
.track-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.track-steps b { display: block; font-size: 16px; }
.track-steps span { color: var(--muted); font-size: 14px; }
.track-dot { width: 12px; height: 12px; margin-top: 5px; border-radius: 99px; background: #d9d3c7; flex: none; }
.track-dot.on { background: var(--green); }
.form-card > p, .sheet > p { color: var(--muted); line-height: 1.6; }
form.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.wide { grid-column: 1 / -1; }
label { display: block; font-size: 13px; color: var(--muted); }
input, select, textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
}
textarea { min-height: 110px; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.choices label {
  display: flex;
  gap: 6px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: white;
  color: var(--ink);
}
.choices input { width: auto; margin: 0; }
.notice {
  background: #eef8d8;
  border-radius: 16px;
  padding: 14px 16px;
}
.error { color: #9f1239; }
.stats, .split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { background: #f7f4ec; border-radius: 16px; padding: 14px; }
.stat b { display: block; margin-top: 4px; font-size: 28px; letter-spacing: -0.04em; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 28px; }
td, th { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.inline { display: flex; gap: 8px; align-items: center; }
.inline select, .inline button { width: auto; margin: 0; }
button.small { padding: 8px 12px; border-radius: 999px; }
body.desk { display: flex; height: 100vh; overflow: hidden; background: #eef1f4; }
.side {
  width: 232px;
  flex: none;
  display: flex;
  flex-direction: column;
  background: #122033;
  color: white;
}
.side-brand, .side-user { padding: 22px 18px; }
.side-brand { border-bottom: 1px solid rgba(255,255,255,.08); }
.side-brand img { display: block; height: 36px; width: auto; max-width: 120px; object-fit: contain; margin-bottom: 10px; background: #fff; border-radius: 8px; padding: 4px; }
.side-brand b, .side-user b { display: block; letter-spacing: -0.04em; }
body.nav-off .side-brand img { height: 28px; max-width: 28px; margin: 0 auto 8px; padding: 2px; }
.side-brand span, .side-user span { display: block; margin-top: 4px; color: rgba(255,255,255,.55); font-size: 12px; }
.side nav { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px; flex: 1; }
.side a {
  display: flex;
  gap: 10px;
  align-items: center;
  border-radius: 10px;
  padding: 10px 12px;
  color: rgba(255,255,255,.84);
  font-size: 14px;
}
.side nav a.on, .side nav a:hover { background: rgba(255,255,255,.1); color: white; }
.side .ico { width: 18px; height: 18px; flex: none; display: inline-flex; }
.side .ico svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side nav a.on .ico, .side nav a:hover .ico { color: #d6ff4a; }
.side-balance { display: block; margin: 0 12px 10px; padding: 10px 12px; border-radius: 12px; background: rgba(214,255,74,.16); color: #d6ff4a; }
.side-balance b { display: block; margin-top: 2px; color: #fff; font-size: 15px; }
.side-user { border-top: 1px solid rgba(255,255,255,.08); }
.fee-balance { display: flex; justify-content: space-between; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin: 0 0 12px; padding: 16px 18px; border-radius: 16px; background: #17362a; color: #fff; }
.fee-balance b { display: block; margin-top: 2px; font-size: 28px; letter-spacing: -0.04em; }
.fee-balance span, .fee-balance em { display: block; color: rgba(255,255,255,.72); font-style: normal; font-size: 13px; }
.fee-balance em { margin-top: 2px; color: #d6ff4a; font-size: 15px; }
.side-user a { padding: 8px 0 0; color: rgba(255,255,255,.7); font-size: 13px; }
.desk-main { min-width: 0; flex: 1; display: flex; flex-direction: column; height: 100vh; }
.desk-top {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: none;
  background: white;
  border-bottom: 1px solid #e4e8ee;
  padding: 10px 14px;
}
.desk-top h1 { margin: 0; font-size: 16px; letter-spacing: -0.04em; }
.desk-top button {
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0; background: #122033;
}
.desk-top button svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.nav-off .desk-top button svg { transform: rotate(180deg); }
.desk-body { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; }
.desk-body h2 { margin: 0; font-size: 13px; color: #5d6b7c; }
.desk-body .stats { grid-template-columns: repeat(4, 1fr); flex: none; }
.dash { display: flex; flex-direction: column; gap: 12px; padding-bottom: 16px; }
.dash-note { margin: 0; color: #5d6b7c; font-size: 12px; }
.history-title { margin: 16px 0 6px; font-size: 15px; }
.settle-page > .scroll { flex: 1; min-height: 0; max-height: none; }
.row-go { height: 26px; padding: 0 10px; border-radius: 8px; background: #122033; color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; }
.modal.prepay-modal .modal-back { position: absolute; inset: 0; }
.modal.prepay-modal .sheet { width: min(920px, 100%); max-height: min(860px, 92vh); position: relative; z-index: 1; display: block; }
.prepay-modal .pay-mast { position: relative; }
.prepay-modal .pay-brief { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.prepay-modal .history-scroll { max-height: 280px; }
.today-strip, .kpi { display: grid; gap: 8px; }
.today-strip { grid-template-columns: repeat(4, 1fr); }
.kpi { grid-template-columns: repeat(6, 1fr); }
.today-strip a, .kpi a { background: white; border: 1px solid #e4e8ee; border-radius: 14px; padding: 12px; }
.today-strip span, .kpi span, .kpi em, .rank em { display: block; color: #5d6b7c; font-size: 12px; font-style: normal; }
.today-strip b, .kpi b { display: block; margin: 4px 0; font-size: 22px; letter-spacing: -0.04em; }
.kpi em.up { color: #0f7a3a; }
.kpi em.down { color: #c2410c; }
.dash-grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 12px; }
.panel { background: white; border: 1px solid #e4e8ee; border-radius: 14px; padding: 12px; }
.panel-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.panel h2 { margin: 0 0 10px; }
.panel-head h2 { margin: 0; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 150px; }
.bars div { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.bars i { display: block; width: 100%; background: #122033; border-radius: 4px 4px 0 0; }
.bars span { margin-top: 4px; color: #8b97a6; font-size: 9px; }
.rank { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(40px, 1fr) auto; gap: 8px; align-items: center; margin: 7px 0; font-size: 13px; }
.rank span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; line-height: 1.3; }
.rank b { display: block; height: 8px; background: #122033; border-radius: 99px; }
.panel table td, .panel table th { font-size: 13px; font-weight: 500; }
.panel table td:first-child { white-space: nowrap; font-weight: 600; }
.panel table { margin: 0; }
.panel-card { background: white; border: 1px solid #e4e8ee; border-radius: 14px; padding: 14px; flex: none; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filters input, .filters select { width: auto; margin: 0; padding: 8px 10px; }
.desk-body > .fill { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.scroll { flex: 1; min-height: 0; overflow: auto; background: white; border: 1px solid #e4e8ee; border-radius: 14px; }
.scroll.dash { background: transparent; border: 0; border-radius: 0; }
.pager { flex: none; margin: 0; }
.scroll table { margin: 0; }
.scroll th { position: sticky; top: 0; background: #f6f7f9; z-index: 1; font-size: 12px; }
.scroll td, .scroll th { padding: 7px 8px; white-space: nowrap; }
.login-sheet { width: min(440px, calc(100% - 32px)); }
.login-sheet h1 { font-size: 28px; }
.login-form button { width: 100%; margin-top: 10px; }
.login-form button.ghost { background: white; color: var(--ink); border: 1px solid var(--line); }
.otp-code { box-sizing: border-box; width: 100%; margin-top: 8px; padding: 16px 12px; font-size: 28px; font-weight: 800; letter-spacing: 0.28em; text-indent: 0.28em; text-align: center; background: #f4f7f5; }
.login-tabs { display: flex; gap: 8px; margin: 18px 0 8px; }
.login-tabs a { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 700; }
.login-tabs a.on { background: var(--ink); color: white; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips a, .chips button { border: 1px solid #e4e8ee; background: white; border-radius: 999px; padding: 5px 10px; font-size: 12px; color: inherit; }
.chips a.on, .chips button.on { background: #122033; color: white; }
.chips .map-stat { display: inline-flex; align-items: baseline; gap: 4px; height: 24px; padding: 0 10px; border: 1px solid #e4e8ee; background: white; border-radius: 999px; color: #5d6b7c; font-size: 12px; line-height: 22px; white-space: nowrap; }
.chips .map-stat em { font-style: normal; }
.chips .map-stat b { color: #122033; font-size: 13px; font-weight: 700; letter-spacing: -0.03em; }
.chips .map-stat small { color: #8b97a6; font-size: 11px; }
.partner-tabs, .mode-tabs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.partner-tabs a, .mode-tabs a { border: 1px solid #e4e8ee; background: white; border-radius: 999px; padding: 7px 12px; font-size: 13px; }
.partner-tabs a.on, .mode-tabs a.on { background: #122033; color: white; }
.partner-tabs select { width: auto; margin: 0; padding: 7px 10px; }
.intake-kpis { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.dispatch-kpis { grid-template-columns: repeat(4, 1fr); }
.intake-kpis div { background: white; border: 1px solid #e4e8ee; border-radius: 14px; padding: 10px 12px; }
.intake-kpis span { display: block; color: #5d6b7c; font-size: 12px; }
.intake-kpis b { font-size: 22px; letter-spacing: -0.04em; }
.fix-row[hidden] { display: none; }
.fix-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; padding: 8px 0 4px; }
.fix-form label { display: flex; flex-direction: column; gap: 4px; color: #5d6b7c; font-size: 12px; }
.fix-form input, .fix-form select { width: 140px; height: 32px; margin: 0; }
.fix-form label.wide input { width: 260px; }
button:disabled { opacity: .45; }
.map-page { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.map-page .map-kpis { display: none; }
.map-layout { flex: 1; min-height: 0; display: grid; grid-template-columns: 320px minmax(0, 1fr) 340px; gap: 8px; }
.map-layout.detail-wide { grid-template-columns: 320px minmax(0, 1fr) 440px; }
.map-layout.detail-off { grid-template-columns: 320px minmax(0, 1fr); }
.map-layout.detail-off .map-detail { display: none; }
.map-stage { min-height: 0; position: relative; display: flex; }
.map-frame { flex: 1; min-height: 0; position: relative; }
.map-detail { min-height: 0; overflow: auto; background: white; border: 1px solid #e4e8ee; border-radius: 14px; padding: 10px 12px; font-size: 13px; }
.detail-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.detail-tabs { display: flex; gap: 4px; margin: 8px 0; }
.detail-tabs button { flex: 1; }
.detail-tabs button.on { background: #122033; color: white; border-color: #122033; }
.detail-pane { display: none; }
.detail-pane.on { display: flex; flex-direction: column; gap: 14px; }
.map-detail .dash-note { margin: 0; line-height: 1.55; }
#zoneMode.on { background: #122033; color: white; border-color: #122033; }
.zone-tools { display: none; position: absolute; z-index: 6; top: 10px; left: 50%; transform: translateX(-50%); gap: 4px; align-items: center; flex-wrap: wrap; justify-content: center; max-width: calc(100% - 16px); background: #122033; border: 0; border-radius: 12px; padding: 6px; box-shadow: 0 10px 24px rgba(18, 32, 51, .28); }
.map-layout.zone-on .zone-tools { display: flex; }
body.desk .desk-body .zone-tools button { height: 30px; background: #24364c; color: white; border: 1px solid #3d5270; }
body.desk .desk-body .zone-tools button:hover { background: #314862; }
.zone-tools .zone-count { display: flex; align-items: center; gap: 4px; margin: 0; font-size: 12px; white-space: nowrap; color: white; font-weight: 700; }
.zone-tools .zone-count input { width: 42px; height: 28px; margin: 0; padding: 0 4px; border-radius: 8px; text-align: center; background: white; color: #122033; border: 0; }
.map-side .order-line { display: grid; grid-template-columns: 6px minmax(0, 1fr) 34px; align-items: center; gap: 6px; border-radius: 6px; }
.map-side .order-swatch { width: 6px; height: 26px; border-radius: 3px; background: #e4e8ee; }
body.desk .desk-body .map-side button.order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 16px 14px; column-gap: 8px; row-gap: 0; height: 32px; width: 100%; min-width: 0; margin: 0; padding: 1px 2px; overflow: hidden; border: 0; border-radius: 6px; background: transparent; color: #122033; text-align: left; line-height: 1.2; }
body.desk .desk-body .map-side button.order-row b { grid-column: 1; grid-row: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 700; }
body.desk .desk-body .map-side button.order-row small { grid-column: 2; grid-row: 1; font-size: 10px; font-weight: 600; color: #8b97a6; white-space: nowrap; }
body.desk .desk-body .map-side button.order-row span { grid-column: 1 / -1; grid-row: 2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 500; color: #5d6b7c; }
body.desk .desk-body .map-side button.order-row.on { outline: 1px solid #122033; background: transparent; color: #122033; }
body.desk .desk-body .map-side button.charter-add { height: 22px; width: 34px; padding: 0; font-size: 11px; }
.partner-bar { display: flex; flex-direction: column; gap: 4px; }
body.desk .desk-body #partnerChips button {
  height: 26px;
  padding: 0 10px 0 8px;
  border-radius: 999px;
  background: white;
  color: #5d6b7c;
  border: 1px solid #d7dee6;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
body.desk .desk-body #partnerChips button::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1.5px solid #b7c2ce;
  background: white;
  box-sizing: border-box;
  flex: none;
}
body.desk .desk-body #partnerChips button.on {
  background: #122033;
  color: white;
  border-color: #122033;
}
body.desk .desk-body #partnerChips button.on::before {
  border-color: #d6ff4a;
  background: #d6ff4a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.2 4.8 8.8 9.8 3.2' fill='none' stroke='%23122033' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px 10px no-repeat;
}
body.desk .desk-body #partnerChips button em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
body.desk .desk-body #partnerChips button.on em { color: #d6ff4a; }
.zone-work { display: grid; gap: 8px; align-content: start; }
.zone-work p { margin: 0; line-height: 1.4; }
.zone-work .zone-card { display: grid; gap: 8px; width: auto; border: 1px solid #e4e8ee; border-radius: 10px; padding: 8px; background: white; }
.zone-work .zone-card.on { border-color: #122033; }
.zone-work .zone-card.shut { cursor: pointer; }
.zone-sum, .zone-card-head, .zone-actions, .cover-picks { display: flex; gap: 6px; align-items: center; }
.zone-sum b { flex: 1; min-width: 0; }
.zone-counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.zone-counts span { display: block; background: #f4f6f8; border-radius: 8px; padding: 6px 2px; text-align: center; font-size: 11px; color: #5d6b7c; }
.zone-counts b { display: block; color: #122033; font-size: 15px; }
.zone-work select,
.zone-work input[data-name],
.zone-work input[data-phone],
.zone-work input[data-driver],
.zone-work input[data-reason],
.zone-work input[data-amount] { width: 100%; height: 32px; margin: 0; padding: 0 8px; border: 1px solid #d7dee6; border-radius: 8px; font-size: 12px; }
.zone-card-head input[data-name] { flex: 1; min-width: 0; width: auto; }
.zone-sum button[data-drop],
.zone-card-head button[data-drop] { flex: none; width: auto; white-space: nowrap; }
.cover-picks button, .zone-actions button { flex: 1; }
.cover-picks button.on { background: #122033; color: white; border-color: #122033; }
.detail-grid { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 8px 12px; align-items: start; }
.detail-grid > div { display: contents; }
.detail-grid span { color: #5d6b7c; }
.detail-grid b { font-weight: 600; overflow-wrap: anywhere; }
.timeline { margin: 0; padding-left: 18px; }
.timeline .miss { color: #8a94a1; }
.trail { list-style: none; margin: 4px 0 0; padding: 0; }
.trail li { position: relative; padding: 0 0 16px 22px; }
.trail li:before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 0; width: 2px; background: #e4e8ee; }
.trail li:last-child:before { display: none; }
.trail li:after { content: ""; position: absolute; left: 0; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: white; border: 2px solid #122033; box-sizing: border-box; }
.trail li.done:after { background: #122033; }
.trail b { display: block; font-size: 13px; line-height: 1.3; }
.trail time { display: block; margin-top: 2px; color: #5d6b7c; font-size: 12px; }
.trail small { display: block; margin-top: 2px; color: #8b97a6; font-size: 11px; }
body.desk .desk-body .detail-tabs button.on { background: #122033; color: white; border-color: #122033; }
body.desk .desk-body button.shot-pin { height: auto; width: auto; padding: 3px 8px; background: #c2410c; color: white; border: 0; border-radius: 999px; font-size: 11px; line-height: 1.4; white-space: nowrap; }
body.desk .desk-body button.map-count { height: 28px; min-width: 28px; width: auto; padding: 0 7px; border-radius: 999px; background: #5b2d86; color: white; border: 2px solid white; box-shadow: 0 2px 8px rgba(18, 32, 51, .28); font-size: 12px; font-weight: 700; line-height: 24px; }
.pile { display: grid; gap: 4px; }
body.desk .desk-body .pile button { display: flex; align-items: center; justify-content: flex-start; gap: 8px; width: 100%; height: auto; padding: 6px 8px; text-align: left; }
.pile img { width: 18px; height: 20px; flex: none; }
.pile b, .pile small { display: block; }
.pile small { color: #5d6b7c; font-size: 11px; font-weight: 500; }
.shot-card { width: 220px; box-sizing: border-box; background: white; border-radius: 12px; padding: 8px; box-shadow: 0 10px 24px rgba(18, 32, 51, .28); }
.shot-card img, .shot-card .shot-frame { display: block; width: 100%; height: 164px; border-radius: 8px; box-sizing: border-box; background: #eef1f4; }
.shot-card img { object-fit: cover; cursor: pointer; }
.shot-card .shot-frame { display: flex; align-items: center; justify-content: center; padding: 16px; color: #5d6b7c; font-size: 12px; line-height: 1.45; text-align: center; }
.shot-card p { margin: 8px 0 0; color: #5d6b7c; font-size: 12px; line-height: 1.45; white-space: normal; overflow-wrap: anywhere; }
body.desk .shot-card button { height: 26px; width: 100%; margin-top: 8px; }
.shots { display: flex; flex-wrap: wrap; gap: 8px; }
.shots button { padding: 0; border: 0; background: transparent; }
.shots img { width: 180px; height: 140px; max-width: none; object-fit: cover; border-radius: 8px; }
body.desk .desk-body .shots button { height: auto; width: auto; padding: 0; border: 0; background: transparent; line-height: 0; }
.lightbox { position: fixed; inset: 0; background: rgba(18, 32, 51, .72); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; z-index: 40; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; }
.shot-note { margin: 0; max-width: 420px; padding: 0 16px; color: #fff; font-size: 13px; line-height: 1.45; text-align: center; }
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(18, 32, 51, .45); }
.modal .sheet { width: min(440px, 100%); max-height: 86vh; overflow: auto; background: white; border-radius: 14px; padding: 16px; display: grid; gap: 10px; }
.modal h2 { margin: 0; font-size: 16px; }
.modal .row-actions { display: flex; gap: 8px; justify-content: flex-end; }
.pickbar, .legend, .region-card, .map-rules { background: white; border: 1px solid #e4e8ee; border-radius: 10px; }
.pickbar, .legend { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px; font-size: 12px; }
.map-page .filters .legend { margin-left: auto; flex: none; flex-wrap: nowrap; white-space: nowrap; position: static; background: transparent; border: 0; padding: 0; }
.map-page .filters .legend span { display: inline-flex; align-items: center; gap: 2px; width: auto; flex: none; white-space: nowrap; }
#mapNote { position: absolute; z-index: 2; left: 10px; top: 10px; margin: 0; max-width: min(440px, 72%); background: rgba(18, 32, 51, .9); color: #f4f7fb; border-radius: 10px; padding: 8px 12px; font-size: 12px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.45; box-shadow: 0 8px 18px rgba(18, 32, 51, .18); }
.partner-bar #mapNote { position: static; max-width: none; background: transparent; color: #5d6b7c; box-shadow: none; padding: 0 2px; font-weight: 500; }
.legend img { width: 14px; height: 16px; vertical-align: -3px; }
.region-card { padding: 8px; display: grid; gap: 2px; font-size: 12px; color: #5d6b7c; }
.region-card b { color: #122033; font-size: 14px; }
.map-rules { padding: 6px 8px; font-size: 12px; color: #5d6b7c; }
.map-rules form { display: grid; gap: 4px; }
.map-rules input { width: 90px; }
.zone-board { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; background: white; border: 1px solid #e4e8ee; border-radius: 10px; padding: 6px; font-size: 12px; }
.zone-card { display: flex; gap: 6px; align-items: center; width: 100%; }
.zone-swatch { width: 12px; height: 12px; border-radius: 3px; flex: none; }
#zoneList, #zoneSaved { width: 100%; display: grid; gap: 4px; }
.map-side, #opsmap { min-height: 0; border-radius: 14px; }
.map-side { display: flex; flex-direction: column; gap: 8px; overflow: auto; background: white; border: 1px solid #e4e8ee; padding: 8px; }
.side-chips { gap: 4px; }
.driver-list { flex: none; }
.shift { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: center; padding-top: 8px; border-top: 1px solid #e4e8ee; }
.shift p { grid-column: 1 / -1; margin: 0; font-size: 11px; line-height: 1.4; color: #5d6b7c; }
.shift select, .shift input { width: 100%; height: 28px; margin: 0; padding: 0 8px; border: 1px solid #e4e8ee; border-radius: 8px; font-size: 12px; }
.shift input { grid-column: 1 / -1; }
.shift button { height: 28px; white-space: nowrap; }
.find { display: flex; gap: 6px; padding-top: 8px; border-top: 1px solid #e4e8ee; }
.find input { flex: 1; min-width: 0; border: 1px solid #e4e8ee; border-radius: 8px; padding: 7px 8px; font-size: 12px; }
.find button { flex: none; white-space: nowrap; border: 0; background: #122033; color: white; border-radius: 8px; padding: 7px 10px; font-size: 12px; }
#findList { flex: none; max-height: 132px; overflow: auto; }
.find-hit { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 6px 4px; font-size: 12px; border-radius: 6px; cursor: pointer; }
.find-hit:hover { background: #f4f6f8; }
#opsmap { position: absolute; inset: 0; min-height: 0; background: #d5dee6; }
.driver-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 7px 8px; border-radius: 8px; font-size: 13px; }
.driver-row .who { display: flex; gap: 6px; align-items: baseline; min-width: 0; }
.driver-row .who b { white-space: nowrap; }
.driver-row .who small { color: #5d6b7c; font-size: 11px; white-space: nowrap; }
.driver-row .meta { display: flex; gap: 4px; align-items: baseline; flex: none; }
.driver-row .left { color: #e05a00; font-weight: 700; }
.driver-row.on { background: #122033; color: white; }
body.desk .desk-body button.driver-row { height: auto; width: 100%; justify-content: space-between; text-align: left; border: 0; background: transparent; padding: 7px 8px; }
body.desk .desk-body button.driver-row.on { background: #122033; color: white; }
.driver-row.on .who small { color: #d5deea; }
.driver-row.on .left { color: #ffb020; }
body.desk .desk-body button,
body.desk .desk-body button.quiet {
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: white;
  color: #122033;
  border: 1px solid #d7dee6;
  font-size: 12px;
  font-weight: 600;
}
body.desk .desk-body button[type="submit"]:not(.quiet):not(.small) {
  height: 34px;
  padding: 0 14px;
  background: #122033;
  color: white;
  border: 0;
  font-size: 13px;
}
body.desk .desk-body form.shift button[type="submit"]:not(.quiet):not(.small) { height: 28px; padding: 0 10px; font-size: 12px; }
body.desk .desk-body .filters input,
body.desk .desk-body .filters select,
body.desk .partner-tabs select {
  height: 34px;
  margin: 0;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 12px;
}
body.desk .chips a {
  height: 24px;
  padding: 0 8px;
  font-size: 12px;
  line-height: 24px;
}
body.desk .chips.status a { height: 22px; font-size: 11px; line-height: 22px; }
body.desk .partner-tabs a,
body.desk .mode-tabs a {
  height: 26px;
  padding: 0 10px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
}
body.desk .scroll td,
body.desk .scroll th { padding: 8px; font-size: 12px; height: 36px; }
body.desk .order-main { cursor: pointer; }
body.desk .order-detail td { height: auto; white-space: normal; color: #5d6b7c; }
body.desk #printForm { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
body.desk .find button { height: 28px; background: #122033; color: white; border: 0; }
body.nav-off .side { width: 68px; }
body.nav-off .label, body.nav-off .side-brand b, body.nav-off .side-brand span, body.nav-off .side-user b, body.nav-off .side-user > span { display: none; }
body.nav-off .side-balance { margin: 0 8px 8px; padding: 8px 4px; text-align: center; }
body.nav-off .side-balance b { font-size: 11px; }
body.nav-off .side a { justify-content: center; }
@media (max-width: 900px) {
  .service-grid, .story, .steps, .join, .stats, .split, form.grid { grid-template-columns: 1fr; }
  .nav-links { gap: 12px; }
  .hero { min-height: 88vh; padding-top: 22vh; }
  .service { min-height: 300px; }
  .story img { height: 280px; }
  body.desk { height: auto; overflow: auto; display: block; }
  .desk-main { height: auto; }
  .desk-body { overflow: visible; }
  .desk-body .stats, .today-strip, .kpi, .dash-grid, .intake-kpis { display: grid; grid-template-columns: 1fr 1fr; }
  .side { width: 100%; }
  .map-layout, .map-layout.detail-wide, .map-layout.detail-off { grid-template-columns: 1fr; }
  .map-page { overflow: auto; }
  #opsmap { position: relative; min-height: 360px; }
  .map-detail { max-height: 52vh; }
  .scroll { max-height: 70vh; }
  body.nav-off .side nav, body.nav-off .side-user { display: none; }
  .cust-split.has-detail, .cust-kpi { grid-template-columns: 1fr; }
  .prepay-modal .pay-brief { grid-template-columns: 1fr 1fr; }
}
.cust-page { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 8px; }
.cust-page.list-on { overflow: hidden; }
.cust-page .notice, .cust-page .error { margin: 0; }
.cust-kpi { grid-template-columns: repeat(5, 1fr); }
.cust-split { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.cust-split.has-detail { grid-template-columns: minmax(0, 1fr) 400px; }
.cust-detail { overflow: auto; background: white; border: 1px solid #e4e8ee; border-radius: 10px; padding: 10px; display: grid; gap: 8px; align-content: start; }
.cust-panes { display: flex; flex-wrap: wrap; gap: 4px; }
.cust-panes a { height: 24px; padding: 0 8px; border: 1px solid #e4e8ee; border-radius: 8px; font-size: 12px; display: inline-flex; align-items: center; background: white; }
.cust-panes a.on { background: #122033; color: white; border-color: #122033; }
.cust-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cust-form .wide { grid-column: 1 / -1; }
.cust-form label { margin: 0; font-size: 12px; }
.cust-form input, .cust-form select, .cust-form textarea { width: 100%; height: 28px; margin: 4px 0 0; padding: 0 8px; border-radius: 8px; font-size: 12px; }
.cust-form textarea { height: 64px; padding: 6px 8px; }
.cust-form input[type=checkbox] { width: auto; height: auto; margin: 0 6px 0 0; }
.cust-form .check { display: flex; align-items: center; }
.cust-form label.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #e6ebf0; }
.cust-form label.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; padding: 0; }
.alim-mark { font-size: 12px; font-weight: 700; color: #1d4e89; white-space: nowrap; }
.alim-mark.off { color: #8b97a6; font-weight: 600; }
.cust-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cust-stats div { background: #f4f6f8; border-radius: 8px; padding: 6px; text-align: center; }
.cust-stats span { display: block; color: #5d6b7c; font-size: 11px; }
.cust-stats b { display: block; font-size: 15px; }
.bars.alt i { background: #5d6b7c; }
.cust-kpi.eight { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pair { display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; gap: 8px; align-items: center; margin: 6px 0; font-size: 12px; }
.pair .tracks { display: grid; gap: 3px; }
.pair i { display: block; height: 6px; border-radius: 99px; background: #122033; }
.pair i.alt { background: #8b97a6; }
.pair em { color: #5d6b7c; font-style: normal; text-align: right; }
.driver-line { display: flex; align-items: center; gap: 4px; }
.driver-line .driver-row { flex: 1; min-width: 0; }
.order-row { align-items: flex-start; }
.order-row .who { flex-direction: column; align-items: flex-start; gap: 1px; }
.order-row .who small { white-space: normal; line-height: 1.35; }
body.desk .desk-body button.charter-add { height: 28px; flex: none; padding: 0 8px; }
.zone-card .cust { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.zone-card .cust small { color: #5d6b7c; text-align: right; }
.zone-card .cust-list { display: grid; gap: 4px; }
.charter-link { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.charter-link input { width: auto; height: auto; margin: 0; }
.driver-desk { flex: none; font-size: 11px; white-space: nowrap; color: #5d6b7c; }
.scroll tr.on td { background: #f4f6f8; }
body.desk tr.cust-row { cursor: pointer; }
body.desk tr.cust-row:hover td { background: #eef3f8; }
.pay-drawer { position: fixed; top: 0; right: 0; z-index: 35; width: min(1040px, 100vw); height: 100vh; overflow: auto; background: #fff; border-left: 1px solid #e4e8ee; box-shadow: -16px 0 40px rgba(18, 32, 51, .16); padding: 16px 18px 32px; }
.pay-drawer.pay-slim { width: min(420px, 100vw); }
.pay-drawer.pay-slim .pay-brief { grid-template-columns: 1fr 1fr; }
.pay-drawer .sheet-paper { max-width: none; border: 0; box-shadow: none; padding: 0; }
.pay-drawer .sheet-paper { position: relative; }
.pay-close { position: absolute; top: 0; right: 0; height: 28px; padding: 0 10px; border: 1px solid #e4e8ee; border-radius: 8px; font-size: 12px; display: inline-flex; align-items: center; background: white; }
.pay-mast { padding: 2px 64px 14px 0; border-bottom: 2px solid #122033; }
.pay-mast h2 { margin: 2px 0 0; font-size: 26px; letter-spacing: -0.04em; color: #122033; }
.pay-brief { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 14px 0 8px; }
.settle-page .board-brief { margin: 0; }
.settle-page .board-brief > div { background: white; border: 1px solid #e4e8ee; }
.settle-page .board-brief > div.pay-main { background: #122033; border-color: #122033; }
.pay-brief div { background: #f4f6f8; border-radius: 12px; padding: 10px 12px; min-width: 0; }
.pay-brief span, .pay-brief em { display: block; color: #5d6b7c; font-size: 11px; font-style: normal; }
.pay-brief b { display: block; margin-top: 4px; font-size: 18px; letter-spacing: -0.04em; color: #122033; }
.pay-brief .pay-main { background: #122033; }
.pay-brief .pay-main span, .pay-brief .pay-main b { color: white; }
.pay-stmt { width: 100%; border-collapse: collapse; margin-top: 8px; }
.pay-stmt th, .pay-stmt td { padding: 8px 6px; font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }
.pay-stmt th { color: #5d6b7c; font-weight: 600; border-bottom: 1px solid #e4e8ee; }
.pay-stmt td { border-bottom: 1px solid #f0f3f6; }
.pay-stmt th:first-child, .pay-stmt td:first-child,
.pay-stmt th:nth-child(2), .pay-stmt td:nth-child(2) { text-align: left; }
.pay-stmt tfoot td { border-bottom: 0; border-top: 2px solid #122033; font-weight: 700; color: #122033; }
@media (max-width: 800px) {
  .pay-brief { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.settle-page { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 8px; padding-bottom: 16px; }
.settle-page > .filters { position: sticky; top: 0; z-index: 2; background: #eef1f4; padding-bottom: 8px; }
body.desk .desk-body .filters > a,
body.desk .desk-body a.chip,
body.desk .desk-body .pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  width: auto;
  flex: none;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #d7dee6;
  border-radius: 999px;
  background: white;
  color: #122033;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}
body.desk .desk-body .filters > a.on,
body.desk .desk-body a.chip.on { background: #122033; color: white; border-color: #122033; }
body.desk .desk-body .pager a,
body.desk .desk-body .wide a.chip,
body.desk .desk-body p a.chip,
body.desk .desk-body .sheet-actions a.chip { height: 28px; }
.sheet-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.sheet-paper { background: white; border: 1px solid #e4e8ee; border-radius: 12px; padding: 22px 24px 18px; max-width: 860px; box-shadow: 0 8px 24px rgba(18, 32, 51, .04); }
.sheet-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; border-bottom: 2px solid #122033; padding-bottom: 12px; }
.sheet-kicker { margin: 0; font-size: 12px; color: #5d6b7c; }
.sheet-head h2 { margin: 4px 0; font-size: 22px; letter-spacing: -0.04em; color: #122033; }
.sheet-head p { margin: 0; color: #5d6b7c; font-size: 12px; }
.sheet-head dl { margin: 0; display: grid; grid-template-columns: auto auto; gap: 4px 14px; font-size: 12px; }
.sheet-head dt { color: #5d6b7c; }
.sheet-head dd { margin: 0; font-weight: 700; text-align: right; }
.sheet-who { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 12px 0; font-size: 12px; color: #122033; }
.sheet-paper table { margin: 0; }
.sheet-paper th, .sheet-paper td { padding: 7px 4px; }
.sheet-paper .num { text-align: right; font-variant-numeric: tabular-nums; }
.sheet-paper tfoot th { border-top: 1px solid #122033; border-bottom: 0; }
.sheet-sum { display: flex; justify-content: flex-end; gap: 22px; margin-top: 12px; }
.sheet-sum span { display: block; color: #5d6b7c; font-size: 11px; }
.sheet-sum b { display: block; font-size: 18px; letter-spacing: -0.04em; }
.sheet-foot { margin: 16px 0 0; color: #5d6b7c; font-size: 11px; line-height: 1.55; }
.sheet-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
@media print {
  .side, .desk-top, .mode-tabs, .filters, .no-print { display: none !important; }
  body.desk, .desk-main, .desk-body { height: auto; overflow: visible; display: block; background: white; }
  .settle-page { overflow: visible; height: auto; }
  .sheet-paper { border: 0; max-width: none; box-shadow: none; }
}
.label-desk { display: grid; grid-template-columns: minmax(480px, 560px) minmax(0, 1fr); gap: 20px; min-height: 0; height: calc(100vh - 86px); }
.label-desk .panel, .label-desk .stage { min-height: 0; overflow: auto; }
.label-desk .panel { font-weight: 700; }
.label-desk .stage { background: #e6eaee; display: flex; justify-content: flex-start; align-items: flex-start; padding: 20px; }
.sheet-wrap { background: white; box-shadow: 0 8px 24px rgba(18, 32, 51, .08); }
body.desk .desk-body form.label-form { display: flex; flex-direction: column; gap: 16px; }
body.desk .desk-body form.label-form .field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
body.desk .desk-body form.label-form label { font-weight: 800; font-size: 14px; color: #122033; }
body.desk .desk-body form.label-form select,
body.desk .desk-body form.label-form input:not([type=checkbox]) { font-weight: 700; }
.group { margin: 6px 0 0; font-size: 13px; font-weight: 800; color: #5d6b7c; }
.toggles { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
body.desk .desk-body form.label-form label.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: auto; padding: 12px 0; border-bottom: 1px solid #e6ebf0; }
body.desk .desk-body form.label-form .switch input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; padding: 0; }
.switch i { width: 44px; height: 26px; border-radius: 99px; background: #d5dde6; position: relative; flex: none; }
.switch i:after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; background: white; top: 3px; left: 3px; }
.switch input:checked + i { background: #122033; }
.switch input:checked + i:after { left: 21px; }
.hero-profit { display: grid; grid-template-columns: 1.3fr .9fr; gap: 16px; background: #122033; color: white; border-radius: 16px; padding: 16px 18px; }
.hero-profit span, .hero-profit em, .hero-profit p { margin: 0; color: rgba(255,255,255,.72); font-size: 12px; font-style: normal; }
.hero-profit b { display: block; margin: 4px 0 6px; font-size: 36px; letter-spacing: -0.04em; line-height: 1.05; }
.hero-profit b.neg, .hero-profit em.down { color: #ffb4a2; }
.hero-profit em.up { color: #d6ff4a; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; align-content: center; }
.hero-split b { font-size: 16px; }
.today-strip.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.order-main { cursor: pointer; }
.order-main:hover td { background: #f4f7f8; }
.order-layer { position: fixed; inset: 0; z-index: 35; display: flex; justify-content: flex-end; background: rgba(18, 32, 51, .28); }
.order-layer[hidden] { display: none; }
.order-sheet { width: min(440px, 100%); height: 100%; overflow: auto; background: white; padding: 18px 18px 32px; box-shadow: -16px 0 36px rgba(18, 32, 51, .16); }
.order-sheet .detail-head { margin-bottom: 8px; }
.order-sheet .detail-head b { font-size: 18px; letter-spacing: -0.03em; }
.order-sheet .detail-tabs button { width: auto; border-radius: 999px; }
.tip {
  position: fixed;
  z-index: 80;
  left: 0;
  top: 0;
  max-width: 240px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #122033;
  color: white;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.03em;
  box-shadow: 0 10px 24px rgba(18, 32, 51, .22);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .14s ease, transform .14s ease;
}
.tip.on { opacity: 1; transform: none; }
.tip::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #122033;
  transform: rotate(45deg);
}
.tip.above::after { left: calc(var(--tip-x) - 4px); bottom: -3px; }
.tip.below::after { left: calc(var(--tip-x) - 4px); top: -3px; }
.tip.right { transform: translateX(4px); }
.tip.right.on { transform: none; }
.tip.right::after { left: -3px; top: calc(var(--tip-y) - 4px); }
.portal-kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.portal-kpi a, .portal-kpi > div { background: white; border: 1px solid #e4e8ee; border-radius: 14px; padding: 12px; }
.portal-kpi span, .portal-kpi em { display: block; color: #5d6b7c; font-size: 12px; font-style: normal; }
.portal-kpi b { display: block; margin: 4px 0; font-size: 22px; letter-spacing: -0.04em; }
.kpi b { font-size: 16px; }
.profit-chart { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 150px; }
.profit-chart a { min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; }
.profit-chart a > span { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.profit-chart i { width: 30%; height: 0; border-radius: 3px 3px 0 0; }
.profit-chart i.sale { background: #122033; }
.profit-chart i.cost { background: #8aa0b8; }
.profit-chart i.gain { background: #2f6b34; }
.profit-chart i.gain.neg { background: #c2410c; }
.profit-chart i.wait { height: 0; border-top: 2px dashed #c5ced6; background: transparent; align-self: flex-end; }
.profit-chart em { margin-top: 4px; font-size: 10px; font-style: normal; color: #8b97a6; }
.legend { display: flex; gap: 8px; align-items: center; color: #5d6b7c; font-size: 12px; white-space: nowrap; }
.legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.legend i.sale { background: #122033; }
.legend i.cost { background: #8aa0b8; }
.legend i.gain { background: #2f6b34; }
td .neg { color: #c2410c; font-weight: 800; }
.set-page { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.set-page .scroll { padding: 14px; }
body.desk .desk-body form.set-form { display: flex; flex-direction: column; gap: 12px; }
body.desk .desk-body form.set-form .field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
body.desk .desk-body form.set-form .field-grid .wide { grid-column: 1 / -1; }
body.desk .desk-body form.set-form label { font-weight: 800; font-size: 13px; }
body.desk .desk-body form.set-form label.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: auto; padding: 8px 0; border-bottom: 1px solid #e6ebf0; }
body.desk .desk-body form.set-form .switch input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; padding: 0; }
body.desk .desk-body .set-page td form { display: flex; gap: 6px; align-items: center; }
body.desk .desk-body .set-page td select { width: auto; margin: 0; padding: 6px 8px; }
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(18, 32, 51, .45); }
.modal .sheet { width: min(440px, 100%); max-height: 86vh; overflow: auto; margin: 0; border-radius: 14px; padding: 16px; display: grid; gap: 10px; }
.modal h2 { margin: 0; font-size: 16px; letter-spacing: -0.03em; }
.modal .row-actions { display: flex; gap: 8px; justify-content: flex-end; }
.modal label { font-weight: 700; color: #122033; }
.modal input, .modal select { width: 100%; }
.map-sheet { overflow: auto; max-height: 68vh; background: white; border: 1px solid #e4e8ee; border-radius: 14px; }
.map-sheet table { border-collapse: separate; border-spacing: 0; min-width: 100%; }
.map-sheet th, .map-sheet td { border-bottom: 1px solid #eef1f4; border-right: 1px solid #f3f5f7; padding: 6px 8px; font-size: 12px; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; vertical-align: top; }
.map-sheet th span { display: block; margin-bottom: 4px; color: #5d6b7c; font-weight: 700; }
.map-sheet select { width: 132px; height: 28px; margin: 0; padding: 0 6px; font-size: 12px; background: #f4f6f8; color: #5d6b7c; }
.map-sheet select.set { background: #e7f3e4; border-color: #2f6b34; color: #17351b; font-weight: 700; }
.map-sheet thead th { position: sticky; top: 0; background: #f7f8fa; z-index: 1; }
.map-sheet td:first-child, .map-sheet th:first-child { position: sticky; left: 0; background: #fff; z-index: 1; color: #5d6b7c; }
.map-sheet thead th:first-child { z-index: 2; background: #f7f8fa; }
.filters .check { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.filters .check input { width: auto; margin: 0; }
@media (max-width: 900px) {
  .cust-kpi, .cust-kpi.eight { grid-template-columns: 1fr 1fr; }
  .pair { grid-template-columns: 64px minmax(0, 1fr) 64px; }
  .label-desk { grid-template-columns: 1fr; height: auto; }
  body.desk .desk-body form.set-form .field-grid { grid-template-columns: 1fr; }
  .hero-profit, .today-strip.six, .kpi, .portal-kpi { grid-template-columns: 1fr 1fr; }
  .profit-chart { grid-template-columns: repeat(6, 1fr); height: auto; }
}
body.desk .desk-body .charter-head #partnerChips { gap: 4px; }
body.desk .desk-body .charter-head #partnerChips button { height: 22px; max-width: 188px; padding: 0 7px 0 6px; gap: 4px; font-size: 11px; }
body.desk .desk-body .charter-head #partnerChips button span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.desk .desk-body .charter-head #partnerChips button em { flex: none; }
body.desk .desk-body .charter-head #partnerChips button::before { width: 12px; height: 12px; }
body.desk .charter-board .side-chips { gap: 4px; }
body.desk .charter-board .side-chips a { height: 20px; max-width: 160px; padding: 0 7px; font-size: 11px; line-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.desk .desk-body .charter-board #stageChips { gap: 4px; }
body.desk .desk-body .charter-board #stageChips button { height: 20px; padding: 0 7px; border-radius: 999px; font-size: 11px; }
body.desk .desk-body .charter-board .order-row:focus,
body.desk .desk-body .charter-board .order-line:focus { outline: none; }
body.desk .desk-body .charter-tabs { display: flex; gap: 4px; position: sticky; top: 0; z-index: 2; background: white; padding-bottom: 6px; }
body.desk .desk-body .charter-tabs button { flex: 1; height: 28px; padding: 0 8px; }
body.desk .desk-body .charter-tabs button.on { background: #122033; color: white; border-color: #122033; }
.charter-pane[hidden] { display: none; }
.run-board { display: grid; gap: 14px; align-content: start; }
.run-sec { display: grid; gap: 8px; }
.run-sec h3 { margin: 0; font-size: 12px; font-weight: 800; color: #6b7280; }
.run-card { display: grid; gap: 8px; border: 1px solid #e4e8ee; border-radius: 12px; padding: 10px; background: white; }
.run-top { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 2px 8px; align-items: center; }
.run-top b { font-size: 14px; min-width: 0; }
.run-top p { grid-column: 1 / -1; margin: 0; color: #6b7280; font-size: 12px; }
.run-badge { font-style: normal; border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 800; background: #fff6e5; color: #b45309; }
.run-badge.accepted, .run-badge.moving { background: #e8efff; color: #2F6BFF; }
.run-badge.done { background: #e8f8ef; color: #157a42; }
.run-badge.cancelled { background: #eef1f4; color: #6b7280; }
.run-link { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; font-size: 13px; }
.run-link b { letter-spacing: 0.04em; }
.run-link input { width: 118px; height: 28px; }
.run-hint { flex-basis: 100%; margin: 0; color: #6b7280; font-size: 12px; }
.driver-picks { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.driver-picks span { font-size: 12px; font-weight: 700; color: #6b7280; }
body.desk .desk-body .driver-picks button { height: 24px; padding: 0 8px; font-size: 11px; }
.run-orders { display: grid; }
.run-orders[hidden] { display: none; }
.run-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid #eef1f4; }
.run-line b, .run-line small { display: block; }
.run-line small { color: #6b7280; font-size: 11px; }
.run-line form { margin: 0; }
.run-pay summary { cursor: pointer; font-size: 12px; font-weight: 700; color: #6b7280; }
.run-pay form { display: grid; gap: 6px; margin-top: 8px; }
.run-pay label { display: grid; gap: 4px; font-size: 12px; color: #6b7280; font-weight: 700; }
body.desk .desk-body .run-board button { height: 28px; }
body.desk .desk-body .run-board [data-fold].on { background: #122033; color: white; border-color: #122033; }
.order-peek { display: grid; gap: 3px; border: 1px solid #e4e8ee; border-radius: 10px; padding: 8px; margin-bottom: 8px; }
.order-peek[hidden] { display: none; }
.order-peek p { margin: 0; font-size: 12px; color: #5d6b7c; line-height: 1.35; }
.order-peek .detail-head b { font-size: 14px; }
.pin-word, body.desk .desk-body button.pin-word { display: inline-flex; align-items: center; justify-content: center; height: 20px; width: auto; padding: 0 6px; border: 0; border-radius: 999px; color: white; font-size: 11px; font-weight: 800; line-height: 20px; cursor: pointer; box-shadow: 0 1px 3px rgba(18, 32, 51, .28); }
.pin-word.progress, body.desk .desk-body button.pin-word.progress { background: #ca8a04; color: white; }
.pin-word.firm, body.desk .desk-body button.pin-word.firm { background: #be185d; color: white; }
.order-swatch.stage-recv { background: #299000; }
.order-swatch.stage-progress { background: #ca8a04; }
.order-swatch.stage-firm { background: #be185d; }
.order-swatch.stage-pickup { background: #ea7f00; }
.order-swatch.stage-hub { background: #00946c; }
.order-swatch.stage-load { background: #e10600; }
.order-swatch.stage-out { background: #00589b; }
.order-swatch.stage-done { background: #a500bd; }
.order-swatch.stage-return { background: #db2777; }
.order-swatch.stage-cancel { background: #323232; }
.order-peek b.stage-recv { color: #299000; }
.order-peek b.stage-progress { color: #ca8a04; }
.order-peek b.stage-firm { color: #be185d; }
.order-peek b.stage-pickup { color: #ea7f00; }
.order-peek b.stage-hub { color: #00946c; }
.order-peek b.stage-load { color: #e10600; }
.order-peek b.stage-out { color: #00589b; }
.order-peek b.stage-done { color: #a500bd; }
.order-peek b.stage-return { color: #db2777; }
.order-peek b.stage-cancel { color: #323232; }
