* { box-sizing: border-box; }
:root {
  color-scheme: dark;
  --page: #07101d;
  --panel: #0d1828;
  --panel-strong: #111f33;
  --line: #293b53;
  --text: #eff6ff;
  --muted: #9fb0c5;
  --blue: #38bdf8;
  --cyan: #67e8f9;
  --green: #34d399;
  --amber: #fbbf24;
  --violet: #a78bfa;
}
html { min-width: 0; scroll-behavior: smooth; }
body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 5% 2%, rgba(14, 116, 144, .22), transparent 34rem),
    radial-gradient(circle at 95% 15%, rgba(30, 64, 175, .17), transparent 36rem),
    var(--page);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  width: 100%;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding-inline: 24px;
  border-bottom: 1px solid rgba(148, 163, 184, .2);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand-mark, .sidebar-mark, .warehouse-mark {
  display: grid; place-items: center; border: 1px solid #0e7490; background: linear-gradient(145deg, #0c4a6e, #082f49); color: var(--cyan); font-weight: 950;
}
.brand-mark { width: 46px; height: 46px; border-radius: 14px; font-size: 18px; letter-spacing: -1px; box-shadow: 0 10px 30px rgba(14,165,233,.14); }
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { font-size: 17px; }
.brand-copy small { margin-top: 3px; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.back-link { color: #b7c7d9; font-size: 12px; font-weight: 850; text-decoration: none; }
.environment-pill { display:inline-flex; align-items:center; gap:8px; min-height:38px; padding:0 13px; border:1px solid rgba(192,132,252,.62); border-radius:999px; background:rgba(88,28,135,.22); color:#d8b4fe; font-size:10px; font-weight:900; letter-spacing:.05em; text-transform:uppercase; }
.fictional-pill { display:inline-flex; align-items:center; gap:8px; min-height:38px; padding:0 13px; border:1px solid rgba(251,191,36,.5); border-radius:999px; background:rgba(120,53,15,.22); color:#fde68a; font-size:10px; font-weight:900; letter-spacing:.05em; text-transform:uppercase; }
.environment-pill i, .live-indicator i, .foundation-status i, .sidebar-status i, .employee-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 14%, transparent); }

main { width: min(1500px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow { color: var(--cyan); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.demo-hero { min-height: 650px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); align-items: center; gap: clamp(40px, 6vw, 90px); padding: 74px 0 82px; }
.hero-copy h1 { max-width: 820px; margin: 18px 0 22px; font-size: clamp(48px, 6vw, 80px); line-height: .98; letter-spacing: -.055em; }
.hero-copy > p { max-width: 750px; margin: 0; color: #c4d1e1; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.primary-button, .secondary-button, .next-button {
  min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border-radius: 13px; font-size: 14px; font-weight: 900; text-decoration: none; cursor: pointer;
}
.primary-button, .next-button { border: 1px solid var(--blue); background: var(--blue); color: #06111f; box-shadow: 0 16px 35px rgba(56,189,248,.2); }
.secondary-button { border: 1px solid #28506c; background: rgba(8,47,73,.35); color: var(--cyan); }
.demo-safety-note { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--green); }
.demo-safety-note > span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: rgba(6,78,59,.56); font-weight: 950; }
.demo-safety-note p { margin: 0; }
.demo-safety-note strong, .demo-safety-note small { display: block; }
.demo-safety-note strong { font-size: 12px; }
.demo-safety-note small { margin-top: 3px; color: var(--muted); font-size: 11px; }

.hero-console { padding: 20px; border: 1px solid #2b405b; border-radius: 24px; background: linear-gradient(145deg, rgba(17,31,51,.98), rgba(6,16,29,.98)); box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.console-topline { min-height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 4px 14px; border-bottom: 1px solid var(--line); color: #8fa1b7; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; letter-spacing: .1em; }
.live-indicator { display: inline-flex; align-items: center; gap: 7px; color: var(--green); }
.warehouse-identity { display: grid; grid-template-columns: 64px minmax(0,1fr); align-items: center; gap: 15px; padding: 24px 4px; }
.warehouse-mark { width: 64px; height: 64px; border-radius: 17px; font-size: 15px; }
.warehouse-mark.company-mark, .sidebar-mark.company-mark { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; margin: 0; overflow: hidden; background: linear-gradient(145deg, #075985, #082f49 72%); box-shadow: inset 0 0 0 1px rgba(103,232,249,.08), 0 10px 24px rgba(14,165,233,.12); }
.company-mark > i { position: relative; display: block; width: 34px; height: 20px; }
.company-mark > i::before { content: ""; position: absolute; left: 1px; bottom: 0; width: 0; height: 0; border-left: 13px solid transparent; border-right: 13px solid transparent; border-bottom: 20px solid #67e8f9; }
.company-mark > i::after { content: ""; position: absolute; right: 0; bottom: 0; width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 13px solid #38bdf8; filter: drop-shadow(-3px 0 0 #0c4a6e); }
.company-mark > b { color: #e0f2fe; font-size: 8px; line-height: 1; letter-spacing: .16em; }
.warehouse-identity small, .warehouse-identity strong, .warehouse-identity span { display: block; }
.warehouse-identity small { color: #8093aa; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.warehouse-identity strong { margin-top: 5px; font-size: 18px; }
.warehouse-identity span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.console-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.console-metrics div { min-width: 0; padding: 15px 10px; border: 1px solid #253950; border-radius: 13px; background: rgba(2,6,23,.52); text-align: center; }
.console-metrics strong, .console-metrics span { display: block; }
.console-metrics strong { color: var(--cyan); font-size: 23px; }
.console-metrics span { margin-top: 4px; overflow: hidden; color: #94a7bc; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.metric-update-note { display: flex; align-items: center; gap: 7px; margin: 10px 2px 0; color: #91a6bc; font-size: 10px; line-height: 1.45; }
.metric-update-note span { display: grid; flex: 0 0 auto; place-items: center; width: 19px; height: 19px; border: 1px solid rgba(103,232,249,.28); border-radius: 50%; background: rgba(8,47,73,.38); color: var(--cyan); font-size: 11px; font-weight: 900; }
.foundation-status { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; padding: 14px; border: 1px solid rgba(52,211,153,.25); border-radius: 13px; background: rgba(6,78,59,.15); font-size: 11px; }
.foundation-status span { display: inline-flex; align-items: center; gap: 8px; color: #a7f3d0; }
.foundation-status strong { color: #a8b8ca; font-size: 10px; }

.tour-shell { padding: 76px 0 82px; border-top: 1px solid rgba(148,163,184,.2); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 28px; }
.section-heading h2 { margin: 8px 0 0; font-size: clamp(34px,4vw,52px); letter-spacing: -.045em; }
.section-heading > p { max-width: 570px; margin: 0; color: var(--muted); line-height: 1.65; }
.tour-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.tour-step { min-width: 0; display: grid; grid-template-columns: 46px minmax(0,1fr); align-items: center; gap: 12px; min-height: 84px; padding: 13px; border: 1px solid #2b3d55; border-radius: 16px; background: rgba(13,24,40,.82); color: var(--text); text-align: left; cursor: pointer; }
.tour-step > span { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #0e7490; border-radius: 13px; background: #082f49; color: var(--cyan); font: 900 11px ui-monospace,SFMono-Regular,Menlo,monospace; }
.tour-step strong, .tour-step small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tour-step strong { font-size: 13px; }
.tour-step small { margin-top: 4px; color: #8497ad; font-size: 10px; }
.tour-step.active { border-color: var(--green); background: rgba(6,78,59,.24); box-shadow: 0 0 0 2px rgba(52,211,153,.09); }
.tour-step.active > span { border-color: #059669; background: #064e3b; color: #a7f3d0; }

.demo-workspace { display: grid; grid-template-columns: 245px minmax(0,1fr); min-height: 820px; margin-bottom: 90px; overflow: hidden; border: 1px solid #30445d; border-radius: 25px; background: #08121f; box-shadow: 0 35px 90px rgba(0,0,0,.38); scroll-margin-top: 18px; }
.workspace-sidebar { display: flex; flex-direction: column; min-width: 0; padding: 18px; border-right: 1px solid #26384e; background: #091321; }
.sidebar-warehouse { display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: center; gap: 11px; padding: 5px 3px 19px; border-bottom: 1px solid #26364b; }
.sidebar-mark { width: 44px; height: 44px; border-radius: 12px; font-size: 10px; }
.sidebar-mark.company-mark { gap: 1px; }
.sidebar-mark.company-mark > i { width: 28px; height: 16px; transform: scale(.78); }
.sidebar-mark.company-mark > b { font-size: 6px; }
.sidebar-warehouse small, .sidebar-warehouse strong, .sidebar-warehouse span { display: block; }
.sidebar-warehouse small { color: #74879e; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.sidebar-warehouse strong { margin-top: 3px; overflow-wrap: anywhere; font-size: 12px; line-height: 1.25; }
.sidebar-warehouse span { margin-top: 3px; color: var(--muted); font-size: 9px; }
.workspace-nav { display: grid; gap: 7px; margin-top: 20px; }
.workspace-nav button { min-width: 0; min-height: 44px; display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: #aabbd0; font-size: 11px; font-weight: 800; text-align: left; cursor: pointer; }
.workspace-nav button > span { color: #6683a0; text-align: center; }
.workspace-nav button em { padding: 3px 6px; border-radius: 999px; background: #17263a; color: #8ca1b8; font-size: 8px; font-style: normal; }
.workspace-nav button.active { border-color: #155e75; background: #082f49; color: var(--cyan); }
.workspace-nav button.active > span { color: var(--cyan); }
.sidebar-status { margin-top: auto; padding: 15px; border: 1px solid #24374e; border-radius: 13px; background: rgba(2,6,23,.5); }
.sidebar-status > span, .sidebar-status strong, .sidebar-status small { display: block; }
.sidebar-status > span { color: #637990; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.sidebar-status strong { display: flex; align-items: center; gap: 8px; margin-top: 9px; color: #a7f3d0; font-size: 10px; }
.sidebar-status small { margin-top: 7px; color: #72859c; font-size: 9px; line-height: 1.45; }

.workspace-main { min-width: 0; display: flex; flex-direction: column; background: linear-gradient(180deg,#0d1828,#091321); }
.workspace-toolbar { min-height: 89px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 24px; border-bottom: 1px solid #293b53; }
.breadcrumb { color: #758ba3; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.breadcrumb strong { color: #9fb4c9; }
.workspace-toolbar h2 { margin: 5px 0 0; font-size: 24px; letter-spacing: -.025em; }
.toolbar-actions { display: flex; align-items: center; gap: 8px; }
.fictional-pill { min-height: 34px; }
.toolbar-actions button { min-height: 38px; padding: 0 12px; border: 1px solid #3a4c63; border-radius: 10px; background: #1a283b; color: #e2e8f0; font-size: 10px; font-weight: 900; cursor: pointer; }
.view-panel { min-width: 0; flex: 1; padding: 24px; animation: reveal .24s ease; }
.view-panel[hidden] { display: none; }
@keyframes reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.metric-grid article { min-width: 0; display: grid; grid-template-columns: 42px minmax(0,1fr); align-items: center; gap: 11px; padding: 14px; border: 1px solid #263950; border-radius: 14px; background: #0c1727; }
.metric-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; font-size: 15px; }
.metric-icon.cyan { background: rgba(8,145,178,.18); color: var(--cyan); }.metric-icon.green { background: rgba(5,150,105,.18); color: #6ee7b7; }.metric-icon.blue { background: rgba(37,99,235,.18); color: #93c5fd; }.metric-icon.amber { background: rgba(217,119,6,.18); color: #fcd34d; }
.metric-grid small, .metric-grid strong, .metric-grid em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.metric-grid small { color: #7e92aa; font-size: 8px; font-weight: 900; text-transform: uppercase; }.metric-grid strong { margin-top: 4px; font-size: 13px; }.metric-grid em { margin-top: 4px; color: #6f8298; font-size: 8px; font-style: normal; }
.overview-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 12px; margin-top: 12px; }
.content-card { min-width: 0; padding: 19px; border: 1px solid #293b53; border-radius: 16px; background: #0c1727; }
.card-heading { display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.card-heading h3 { margin: 5px 0 0; font-size: 18px; }
.status-badge, .attention-badge, .connection-count { display: inline-flex; align-items: center; min-height: 26px; padding: 0 8px; border-radius: 999px; font-size: 8px; font-weight: 900; text-transform: uppercase; white-space: nowrap; }
.status-badge { border: 1px solid rgba(52,211,153,.35); background: rgba(6,78,59,.25); color: #a7f3d0; }
.attention-badge { border: 1px solid rgba(251,191,36,.35); background: rgba(120,53,15,.25); color: #fde68a; }
.connection-count { border: 1px solid #28506c; background: #082f49; color: var(--cyan); }
.profile-list { margin: 17px 0 0; }
.profile-list div { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 12px; padding: 10px 0; border-top: 1px solid #213249; }
.profile-list dt { color: #758aa1; font-size: 9px; font-weight: 800; }.profile-list dd { margin: 0; color: #d7e2ef; font-size: 10px; font-weight: 750; }
.hierarchy-flow { display: grid; grid-template-columns: 1fr 15px 1fr 15px 1fr 15px 1fr; align-items: center; gap: 4px; margin-top: 20px; }
.hierarchy-flow div { min-width: 0; padding: 11px; border: 1px solid #27394f; border-radius: 11px; background: #091321; }
.hierarchy-flow div.selected { border-color: #0e7490; background: #082f49; }
.hierarchy-flow span, .hierarchy-flow strong, .hierarchy-flow small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.hierarchy-flow span { color: var(--cyan); font: 900 8px ui-monospace,monospace; }.hierarchy-flow strong { margin-top: 7px; font-size: 10px; }.hierarchy-flow small { margin-top: 3px; color: #70839b; font-size: 8px; }.hierarchy-flow > i { height: 1px; background: #37617b; }
.department-strip { margin-top: 12px; }
.text-button { border: 0; background: transparent; color: var(--blue); font-size: 10px; font-weight: 900; cursor: pointer; }
.department-list { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; margin-top: 16px; }
.department-list span { min-width: 0; display: grid; grid-template-columns: 8px minmax(0,1fr) auto; align-items: center; gap: 6px; padding: 10px; border: 1px solid #25384f; border-radius: 10px; color: #afc0d3; font-size: 9px; }.department-list i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }.department-list strong { color: var(--text); }.department-list .stow { background: var(--violet); }.department-list .pick { background: var(--green); }.department-list .pack { background: var(--amber); }.department-list .ship { background: #fb7185; }.department-list .support { background: #94a3b8; }

.panel-intro { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 20px; }
.panel-intro h3 { margin: 6px 0 7px; font-size: 27px; letter-spacing: -.03em; }.panel-intro p { max-width: 700px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.panel-count { padding: 7px 10px; border: 1px solid #2d4d66; border-radius: 999px; color: var(--cyan); font-size: 9px; font-weight: 900; white-space: nowrap; }
.people-controls { display: grid; grid-template-columns: minmax(0,1fr) 190px; gap: 10px; margin-bottom: 12px; }
.people-controls input, .people-controls select { width: 100%; min-height: 43px; padding: 0 12px; border: 1px solid #304158; border-radius: 11px; background: #050d1a; color: var(--text); font-size: 11px; }.people-controls input::placeholder { color: #657a92; }
.employee-table-wrap { overflow-x: auto; border: 1px solid #293b53; border-radius: 15px; background: #0b1626; }
.employee-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.employee-table th { padding: 12px 15px; border-bottom: 1px solid #2b3d53; color: #758aa2; font-size: 8px; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.employee-table td { padding: 13px 15px; border-bottom: 1px solid #1e2e42; color: #c4d1e0; font-size: 10px; }.employee-table tr:last-child td { border-bottom: 0; }
.employee-cell { display: flex; align-items: center; gap: 10px; }.employee-cell > i { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #0e7490; border-radius: 10px; background: #082f49; color: var(--cyan); font-size: 9px; font-style: normal; font-weight: 900; }.employee-cell strong, .employee-cell small { display: block; }.employee-cell strong { color: var(--text); font-size: 10px; }.employee-cell small { margin-top: 3px; color: #6f849a; font-size: 8px; }
.employee-status { display: inline-flex; align-items: center; gap: 7px; font-size: 9px; font-weight: 800; }.employee-status.onsite { color: #6ee7b7; }.employee-status.scheduled { color: #93c5fd; }
.empty-results { padding: 30px; color: var(--muted); text-align: center; }

.shift-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.shift-card { padding: 19px; border: 1px solid #293b53; border-radius: 16px; background: #0c1727; }.shift-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.shift-code { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 11px; font-size: 10px; font-weight: 950; }.shift-code.day { background: rgba(14,165,233,.17); color: var(--cyan); }.shift-code.swing { background: rgba(139,92,246,.18); color: #c4b5fd; }.shift-code.night { background: rgba(245,158,11,.17); color: #fcd34d; }.shift-card h4 { margin: 16px 0 3px; font-size: 18px; }.shift-card p { margin: 0; color: var(--muted); font-size: 10px; }.coverage { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; margin-top: 18px; }.coverage > span { height: 7px; overflow: hidden; border-radius: 999px; background: #1d2b3d; }.coverage > span i { display: block; width: var(--coverage); height: 100%; border-radius: inherit; background: linear-gradient(90deg,#0ea5e9,#34d399); }.coverage strong { font-size: 10px; }.shift-card > small { display: block; margin-top: 7px; color: #75899e; font-size: 8px; }
.coverage-card { margin-top: 12px; }.coverage-table { margin-top: 15px; }.coverage-row { display: grid; grid-template-columns: minmax(140px,1.4fr) repeat(4,minmax(55px,.65fr)); gap: 8px; align-items: center; min-height: 39px; padding: 0 10px; border-top: 1px solid #223249; color: #aebed0; font-size: 9px; }.coverage-row.header { min-height: 32px; border: 0; color: #70849b; font-size: 8px; font-weight: 900; text-transform: uppercase; }.coverage-row b { color: var(--cyan); }

.map-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(240px,.45fr); gap: 14px; }
.warehouse-map { position: relative; min-height: 510px; display: grid; grid-template-columns: 1.1fr 2.1fr 1.4fr; grid-template-rows: 1fr 1.35fr 1fr; gap: 8px; padding: 34px 14px 14px; border: 1px solid #33485f; border-radius: 16px; background-color: #0a1422; background-image: linear-gradient(rgba(56,189,248,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(56,189,248,.035) 1px,transparent 1px); background-size: 16px 16px; }
.map-north { position: absolute; top: 11px; right: 14px; color: #6f849c; font: 900 9px ui-monospace,monospace; }
.map-zone { position: relative; z-index: 2; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 13px; border: 1px solid #2d526a; border-radius: 10px; background: rgba(8,47,73,.55); color: var(--text); text-align: left; cursor: pointer; transition: transform .15s ease,border-color .15s ease; }.map-zone:hover { transform: translateY(-2px); }.map-zone strong, .map-zone small { display: block; }.map-zone strong { font-size: 11px; }.map-zone small { margin-top: 5px; color: #9aadc0; font-size: 8px; }.map-zone.active { border-color: var(--green); box-shadow: 0 0 0 2px rgba(52,211,153,.12); }.map-zone.receiving { grid-row: 1 / 4; background: rgba(14,116,144,.36); }.map-zone.reserve { grid-column: 2; grid-row: 1 / 3; background: rgba(67,56,202,.26); }.map-zone.picking { grid-column: 2; grid-row: 3; background: rgba(5,150,105,.25); }.map-zone.packing { grid-column: 3; grid-row: 1; background: rgba(180,83,9,.25); }.map-zone.shipping { grid-column: 3; grid-row: 2; background: rgba(190,24,93,.22); }.map-zone.support { grid-column: 3; grid-row: 3; background: rgba(71,85,105,.32); }
.map-aisle { position: absolute; z-index: 1; width: 7px; height: 115px; top: 88px; border: 1px solid rgba(167,139,250,.4); background: repeating-linear-gradient(to bottom,rgba(167,139,250,.26) 0 7px,transparent 7px 12px); }.map-aisle.a1 { left: 37%; }.map-aisle.a2 { left: 44%; }.map-aisle.a3 { left: 51%; }.map-aisle.a4 { left: 58%; }
.zone-inspector { padding: 20px; border: 1px solid #293b53; border-radius: 16px; background: #0c1727; }.zone-inspector h4 { margin: 7px 0 9px; font-size: 22px; }.zone-inspector > p { min-height: 58px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }.zone-inspector dl { margin: 18px 0 0; }.zone-inspector dl div { padding: 10px 0; border-top: 1px solid #223249; }.zone-inspector dt { color: #71859c; font-size: 8px; font-weight: 900; text-transform: uppercase; }.zone-inspector dd { margin: 4px 0 0; color: #d5e0ed; font-size: 10px; font-weight: 750; }.zone-connections { margin-top: 18px; }.zone-connections > span { color: #71859c; font-size: 8px; font-weight: 900; text-transform: uppercase; }.zone-connections div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }.zone-connections em { padding: 6px 8px; border: 1px solid #28506c; border-radius: 999px; background: #082f49; color: var(--cyan); font-size: 8px; font-style: normal; font-weight: 800; }

.workspace-footer { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: auto; padding: 14px 24px; border-top: 1px solid #293b53; background: #0a1422; }.workspace-footer strong { display: block; margin-top: 4px; color: #c4d1e0; font-size: 10px; }.next-button { min-height: 42px; padding: 0 15px; font-size: 10px; box-shadow: none; }
.mobile-reset-button { display: none; }

.demo-outro { padding: 95px 5% 110px; border-top: 1px solid rgba(148,163,184,.2); text-align: center; }.demo-outro h2 { max-width: 980px; margin: 13px auto 18px; font-size: clamp(34px,4.5vw,58px); line-height: 1.08; letter-spacing: -.045em; }.demo-outro > .outro-copy { max-width: 900px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.65; }.outro-development-status { max-width: 900px; display: grid; grid-template-columns: 58px minmax(0,1fr); align-items: center; gap: 15px; margin: 30px auto 0; padding: 15px 18px; border: 1px solid rgba(52,211,153,.35); border-radius: 15px; background: linear-gradient(135deg,rgba(6,78,59,.22),rgba(8,47,73,.3)); text-align: left; }.outro-development-status > span { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid #059669; border-radius: 14px; background: rgba(5,150,105,.16); color: #6ee7b7; font-size: 18px; font-weight: 950; }.outro-development-status strong { display: block; color: #a7f3d0; font-size: 13px; }.outro-development-status p { margin: 6px 0 0; color: #9fb2c6; font-size: 10px; line-height: 1.55; }.outro-app-showcase { max-width: 1180px; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; margin: 38px auto 0; }.outro-app-showcase article { min-width: 0; min-height: 105px; display: grid; place-items: center; align-content: center; gap: 9px; padding: 13px 9px; border: 1px solid #293b53; border-radius: 14px; background: linear-gradient(145deg,#0c1727,#091321); }.outro-app-showcase article > span { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #0e7490; border-radius: 12px; background: #082f49; color: var(--cyan); font-size: 18px; }.outro-app-showcase article > strong { color: #dce8f4; font-size: 10px; line-height: 1.3; }.outro-roadmap { max-width: 1180px; margin: 42px auto 0; padding-top: 32px; border-top: 1px solid rgba(148,163,184,.18); }.outro-roadmap h3 { margin: 8px 0 0; font-size: 22px; letter-spacing: -.025em; }.outro-roadmap-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; margin-top: 20px; }.outro-roadmap-grid article { min-width: 0; min-height: 58px; display: grid; grid-template-columns: 32px minmax(0,1fr); align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #25384e; border-radius: 11px; background: rgba(9,19,33,.78); text-align: left; }.outro-roadmap-grid article > span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(14,116,144,.75); border-radius: 9px; background: rgba(8,47,73,.7); color: var(--cyan); font-size: 13px; font-weight: 900; }.outro-roadmap-grid article > strong { color: #bdcada; font-size: 8px; line-height: 1.3; }.outro-roadmap .roadmap-more-title { margin: 28px 0 0; color: #a7f3d0; font-size: clamp(28px,3.2vw,42px); line-height: 1.1; letter-spacing: -.035em; }.demo-outro > .outro-more { max-width: 900px; margin: 22px auto 0; color: #7f94aa; font-size: 11px; line-height: 1.6; }.vision-flow { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 35px 0; }.vision-flow span { padding: 10px 13px; border: 1px solid #34465d; border-radius: 999px; color: #9badc1; font-size: 10px; font-weight: 900; }.vision-flow span.ready { border-color: rgba(52,211,153,.38); background: rgba(6,78,59,.22); color: #a7f3d0; }.vision-flow i { width: 22px; height: 1px; background: #385069; }.demo-outro > a { color: var(--blue); font-size: 13px; font-weight: 900; text-decoration: none; }
.demo-return { width: min(100% - 40px,1480px); margin: 0 auto 80px; }
.demo-return-card { min-height: 156px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 42px; border: 1px solid #0e7490; border-radius: 24px; background: linear-gradient(145deg,rgba(8,47,73,.68),rgba(13,24,40,.96)); color: var(--text); text-decoration: none; transition: transform 160ms ease,border-color 160ms ease,box-shadow 160ms ease; }
.demo-return-card:hover,.demo-return-card:focus-visible { transform: translateY(-3px); border-color: var(--cyan); box-shadow: 0 20px 48px rgba(14,165,233,.16); outline: none; }
.demo-return-card small,.demo-return-card strong { display: block; }
.demo-return-card small { color: var(--cyan); font-size: 12px; font-weight: 950; letter-spacing: .14em; }
.demo-return-card strong { margin-top: 14px; font-size: clamp(28px,3vw,40px); letter-spacing: -.035em; }
.demo-return-card i { flex: 0 0 auto; display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid #0e7490; border-radius: 50%; background: rgba(8,47,73,.72); color: var(--cyan); font-size: 28px; font-style: normal; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 28px; padding: 12px 17px; border: 1px solid #059669; border-radius: 12px; background: #064e3b; color: #d1fae5; font-size: 11px; font-weight: 850; opacity: 0; pointer-events: none; transform: translate(-50%,18px); transition: .2s ease; }.toast.visible { opacity: 1; transform: translate(-50%,0); }
.back-to-top { position: fixed; z-index: 15; right: 22px; bottom: 22px; width: 48px; height: 48px; border: 1px solid #0e7490; border-radius: 15px; background: #083344; color: var(--cyan); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px); transition: .2s ease; }.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (max-width: 1120px) {
  .demo-hero { grid-template-columns: 1fr; }.hero-console { max-width: 760px; }.demo-workspace { grid-template-columns: 200px minmax(0,1fr); }.metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.overview-grid { grid-template-columns: 1fr; }.department-list { grid-template-columns: repeat(3,minmax(0,1fr)); }.hierarchy-flow { grid-template-columns: 1fr; }.hierarchy-flow > i { width: 1px; height: 12px; margin-left: 20px; }.map-layout { grid-template-columns: 1fr; }.zone-inspector > p { min-height: 0; }
}
@media (max-width: 820px), (orientation: landscape) and (max-width: 1000px) {
  .site-header, main { width: min(100% - 28px,1500px); }.site-header { min-height: 76px; }.back-link { display: none; }.demo-hero { min-height: 0; padding: 60px 0 70px; }.hero-copy h1 { font-size: clamp(42px,12vw,62px); }.section-heading { align-items: start; flex-direction: column; gap: 13px; }.tour-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }.demo-workspace { display: block; min-height: 0; }.workspace-sidebar { display: block; padding: 13px; border-right: 0; border-bottom: 1px solid #26384e; }.sidebar-warehouse, .sidebar-status { display: none; }.workspace-nav { grid-template-columns: repeat(4,minmax(118px,1fr)); margin: 0; overflow-x: auto; padding-bottom: 4px; }.workspace-nav button { white-space: nowrap; }.workspace-toolbar { align-items: flex-start; flex-direction: column; }.shift-grid { grid-template-columns: 1fr; }.map-layout { grid-template-columns: 1fr; }.warehouse-map { min-height: 440px; }.workspace-footer { align-items: stretch; flex-direction: column; }.next-button { width: 100%; }.vision-flow { flex-wrap: wrap; }.vision-flow i { display: none; }
}
@media (max-width: 560px), (orientation: landscape) and (max-width: 1000px) {
  .brand-copy small, .environment-pill i { display: none; }.brand-mark { width: 42px; height: 42px; }.environment-pill { min-height: 36px; padding: 0 10px; font-size: 8px; }.hero-actions { align-items: stretch; flex-direction: column; }.primary-button, .secondary-button { width: 100%; }.hero-console { padding: 15px; border-radius: 19px; }.warehouse-identity { grid-template-columns: 54px minmax(0,1fr); }.warehouse-mark { width: 54px; height: 54px; }.warehouse-identity strong { font-size: 14px; }.console-metrics { grid-template-columns: repeat(2,1fr); }.foundation-status { align-items: flex-start; flex-direction: column; }.tour-shell { padding: 60px 0 68px; }.tour-steps { grid-template-columns: 1fr; }.tour-step { min-height: 72px; }.workspace-toolbar, .view-panel, .workspace-footer { padding-left: 15px; padding-right: 15px; }.toolbar-actions { width: 100%; justify-content: space-between; }.metric-grid { grid-template-columns: 1fr; }.department-list { grid-template-columns: repeat(2,minmax(0,1fr)); }.panel-intro { align-items: flex-start; flex-direction: column; }.people-controls { grid-template-columns: 1fr; }.coverage-table { overflow-x: auto; }.coverage-row { min-width: 540px; }.warehouse-map { min-height: 520px; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3,1fr); }.map-zone.receiving { grid-column: 1; grid-row: 1; }.map-zone.reserve { grid-column: 2; grid-row: 1; }.map-zone.picking { grid-column: 1; grid-row: 2; }.map-zone.packing { grid-column: 2; grid-row: 2; }.map-zone.shipping { grid-column: 1; grid-row: 3; }.map-zone.support { grid-column: 2; grid-row: 3; }.map-aisle { display: none; }.fictional-pill { display: none; }.demo-outro { padding-inline: 0; }.toast { width: calc(100% - 32px); text-align: center; }
  .workspace-nav { grid-template-columns: repeat(2,minmax(0,1fr)); overflow: visible; padding-bottom: 0; }
  .workspace-nav button { min-width: 0; white-space: normal; }
}

@media (max-width: 560px), (orientation: landscape) and (max-width: 1000px) {
  .demo-return { width: min(100% - 28px,1480px); margin-bottom: 56px; }
  .demo-return-card { min-height: 128px; padding: 24px; border-radius: 19px; }
  .demo-return-card strong { margin-top: 10px; font-size: 25px; }
  .demo-return-card i { width: 52px; height: 52px; font-size: 22px; }
}

/* Eight-step warehouse foundation experience */
.eight-step-path { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.eight-step-nav { grid-template-columns: 1fr; }
.inline-builder-form { display: grid; grid-template-columns: minmax(220px, 1.3fr) minmax(190px, .8fr) auto; align-items: end; gap: 12px; margin-top: 15px; padding: 17px; border: 1px dashed #375069; border-radius: 15px; background: rgba(8, 47, 73, .18); }
.inline-builder-form label { display: grid; gap: 7px; min-width: 0; color: #a9bbcf; font-size: 9px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.inline-builder-form input, .inline-builder-form select, .vest-rule-card select, .flex-person-row select, .daily-assignment-row select { width: 100%; min-width: 0; min-height: 42px; padding: 0 11px; border: 1px solid #304158; border-radius: 10px; background: #050d1a; color: var(--text); }
button:disabled, input:disabled, select:disabled { cursor: not-allowed; opacity: .55; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.existing-department-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.department-foundation-card { min-width: 0; display: grid; grid-template-columns: 39px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 14px; border: 1px solid rgba(52, 211, 153, .26); border-radius: 13px; background: rgba(6, 78, 59, .12); }
.department-foundation-card.custom { border-color: #0e7490; background: rgba(8, 47, 73, .42); }
.department-symbol { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 10px; background: rgba(52, 211, 153, .12); color: var(--green); font-size: 14px; font-weight: 950; }
.department-foundation-card.custom .department-symbol { background: rgba(14, 165, 233, .15); color: var(--cyan); }
.department-foundation-card strong, .department-foundation-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.department-foundation-card strong { font-size: 11px; }.department-foundation-card small { margin-top: 4px; color: #7f94aa; font-size: 8px; }
.department-foundation-card em { color: var(--green); font-size: 8px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.department-foundation-card.custom em { color: var(--cyan); }

.vest-rule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.vest-rule-card { min-width: 0; display: grid; grid-template-columns: 42px minmax(100px, 1fr) minmax(145px, .75fr); align-items: center; gap: 12px; padding: 14px; border: 1px solid #293b53; border-radius: 13px; background: #0c1727; }
.vest-rule-card.configured { border-color: rgba(52, 211, 153, .25); }.vest-rule-card.needs-color { border-style: dashed; }
.vest-visuals { position: relative; width: 42px; height: 42px; }.vest-visuals .portrait { width: 42px; height: 42px; border-radius: 10px; }.vest-swatch { position: absolute; right: -4px; bottom: -4px; width: 16px; height: 16px; border: 2px solid #0c1727; border-radius: 50%; background: var(--vest-color); box-shadow: 0 0 0 1px rgba(255,255,255,.2); }
.vest-rule-card strong, .vest-rule-card small { display: block; }.vest-rule-card strong { font-size: 11px; }.vest-rule-card small { margin-top: 4px; color: #7890a7; font-size: 8px; }
.vest-rule-card.configured small { color: #6ee7b7; }

.roster-builder-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(285px, .65fr); gap: 13px; }
.mini-roster-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; gap: 9px; }
.mini-roster-card { position: relative; min-width: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 10px; padding: 11px; border: 1px solid #293b53; border-radius: 13px; background: #0c1727; }
.mini-roster-card.new-employee { border-color: rgba(52, 211, 153, .45); background: rgba(6, 78, 59, .12); }
.mini-roster-card strong, .mini-roster-card small, .mini-roster-card div > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-roster-card strong { font-size: 10px; }.mini-roster-card small { margin-top: 3px; color: #9fb1c5; font-size: 8px; }.mini-roster-card div > span { margin-top: 4px; color: var(--cyan); font-size: 7px; font-weight: 850; }
.mini-roster-card em { position: absolute; top: 6px; right: 6px; color: var(--green); font-size: 7px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.portrait { flex: 0 0 auto; display: block; width: 48px; height: 48px; border: 2px solid #28506c; border-radius: 12px; background-image: url('./assets/fictional-employee-portraits.png'); background-repeat: no-repeat; background-size: 400% 300%; background-color: #0b2336; }
.portrait-0 { background-position: 0 0; }.portrait-1 { background-position: 33.333% 0; }.portrait-2 { background-position: 66.667% 0; }.portrait-3 { background-position: 100% 0; }
.portrait-4 { background-position: 0 50%; }.portrait-5 { background-position: 33.333% 50%; }.portrait-6 { background-position: 66.667% 50%; }.portrait-7 { background-position: 100% 50%; }
.portrait-8 { background-position: 0 100%; }.portrait-9 { background-position: 33.333% 100%; }.portrait-10 { background-position: 66.667% 100%; }.portrait-11 { background-position: 100% 100%; }
.roster-add-form { align-content: start; }.auto-photo-preview { display: flex; align-items: center; gap: 11px; padding: 10px; border: 1px solid #28506c; border-radius: 12px; background: #082f49; }
.auto-photo-preview strong, .auto-photo-preview small { display: block; }.auto-photo-preview strong { color: #e2f5ff; font-size: 10px; }.auto-photo-preview small { margin-top: 4px; color: #8fc6df; font-size: 8px; }
.form-helper { color: #6f849a; font-size: 8px; line-height: 1.5; }

.coverage-layout-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.coverage-department-card { min-width: 0; padding: 13px; border: 1px solid #293b53; border-radius: 13px; background: #0c1727; }
.coverage-department-card.covered { border-color: rgba(52, 211, 153, .28); }.coverage-department-card.open { border-color: rgba(251, 191, 36, .45); }
.coverage-department-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }.coverage-department-card header strong, .coverage-department-card header small { display: block; }.coverage-department-card header strong { font-size: 11px; }.coverage-department-card header small { margin-top: 3px; color: #758aa2; font-size: 7px; }.coverage-department-card header > span { color: #6ee7b7; font-size: 7px; font-weight: 900; text-transform: uppercase; }.coverage-department-card.open header > span { color: #fcd34d; }
.coverage-faces { display: flex; flex-wrap: wrap; gap: 7px; min-height: 58px; margin-top: 11px; }.coverage-faces > span { display: grid; justify-items: center; gap: 3px; }.coverage-faces .portrait { width: 38px; height: 38px; border-radius: 10px; }.coverage-faces small { max-width: 43px; overflow: hidden; color: #91a4b8; font-size: 7px; text-overflow: ellipsis; }.coverage-faces p { margin: auto 0; color: #71869c; font-size: 8px; }
.flex-coverage-card { display: grid; grid-template-columns: minmax(190px, .65fr) minmax(0, 1.35fr); gap: 14px; margin-top: 13px; padding: 16px; border: 1px solid #28506c; border-radius: 14px; background: rgba(8, 47, 73, .34); }.flex-coverage-card h4 { margin: 6px 0 0; font-size: 15px; }
#flexCoverageAssignments { display: grid; gap: 8px; }.flex-person-row { display: grid; grid-template-columns: 39px minmax(120px, 1fr) minmax(145px, .8fr); align-items: center; gap: 10px; padding: 9px; border: 1px solid #29445e; border-radius: 11px; background: #07111f; }.flex-person-row .portrait { width: 39px; height: 39px; border-radius: 9px; }.flex-person-row strong, .flex-person-row small { display: block; }.flex-person-row strong { font-size: 10px; }.flex-person-row small { margin-top: 3px; color: #71869c; font-size: 7px; }.flex-person-row select { min-height: 37px; font-size: 9px; }

.daily-assignment-list { display: grid; gap: 8px; }
.daily-assignment-row { min-width: 0; display: grid; grid-template-columns: 44px minmax(150px, .8fr) minmax(190px, 1.2fr) 52px; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid #293b53; border-radius: 12px; background: #0c1727; }.daily-assignment-row.assigned { border-color: rgba(52, 211, 153, .25); }.daily-assignment-row .portrait { width: 44px; height: 44px; border-radius: 10px; }.assignment-employee strong, .assignment-employee small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.assignment-employee strong { font-size: 10px; }.assignment-employee small { margin-top: 4px; color: #778ba1; font-size: 8px; }.daily-assignment-row label { color: #71869d; font-size: 8px; font-weight: 900; text-transform: uppercase; }.daily-assignment-row label > span { display: block; margin-bottom: 5px; }.daily-assignment-row select { min-height: 37px; font-size: 9px; }.daily-assignment-row em { color: #fcd34d; font-size: 8px; font-style: normal; font-weight: 900; text-align: right; text-transform: uppercase; }.daily-assignment-row.assigned em { color: #6ee7b7; }

.people-map-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(245px, .45fr); gap: 13px; }
.people-warehouse-map { min-height: 610px; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr 1fr .8fr; gap: 7px; padding: 12px; border: 1px solid #293b53; border-radius: 17px; background: #050d18; }
.people-zone { min-width: 0; display: flex; flex-direction: column; padding: 11px; border: 1px solid #294158; border-radius: 12px; background: linear-gradient(145deg, rgba(8,47,73,.38), rgba(12,23,39,.9)); transition: border-color .15s ease, box-shadow .15s ease; }.people-zone.selected-zone { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(56,189,248,.08); }.people-zone header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 9px; border-bottom: 1px solid rgba(148,163,184,.13); }.people-zone header strong { font-size: 10px; }.people-zone header button { min-height: 28px; padding: 0 8px; border: 1px solid #0e7490; border-radius: 8px; background: #082f49; color: var(--cyan); font-size: 7px; font-weight: 900; cursor: pointer; }.people-zone.inbound { grid-column: 1; grid-row: 1 / span 2; }.people-zone.stowing { grid-column: 2; grid-row: 1 / span 2; }.people-zone.picking { grid-column: 3; grid-row: 1; }.people-zone.packing { grid-column: 3; grid-row: 2; }.people-zone.outbound { grid-column: 4; grid-row: 1 / span 2; }.people-zone.yard { grid-column: 1 / -1; grid-row: 3; background: linear-gradient(145deg, rgba(6,78,59,.23), rgba(12,23,39,.95)); }
.zone-people { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 7px; margin-top: 10px; }.zone-people > em { color: #5f758d; font-size: 8px; font-style: normal; }.map-person { width: 63px; display: grid; justify-items: center; gap: 3px; padding: 6px 4px; border: 1px solid #2b425b; border-radius: 10px; background: rgba(5, 13, 26, .78); }.map-person .portrait { width: 38px; height: 38px; border-radius: 50%; }.map-person b, .map-person small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.map-person b { font-size: 8px; }.map-person small { color: var(--cyan); font-size: 6px; }
.yard-map-content { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(160px, .5fr); gap: 12px; }.parking-spot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }.parking-spot { min-height: 55px; border: 1px dashed #3e566e; border-radius: 8px; background: #091321; color: #8fa2b7; cursor: pointer; }.parking-spot.configured { border-style: solid; border-color: #059669; background: rgba(6,78,59,.28); color: #a7f3d0; }.parking-spot strong, .parking-spot small { display: block; }.parking-spot strong { font-size: 8px; }.parking-spot small { margin-top: 4px; font-size: 6px; }
.map-tool-drawer { min-width: 0; align-self: stretch; padding: 18px; border: 1px solid #293b53; border-radius: 16px; background: #0c1727; }.map-tool-drawer h4 { margin: 12px 0 7px; font-size: 20px; }.map-tool-drawer > p { margin: 0 0 17px; color: #8498ae; font-size: 9px; line-height: 1.55; }.map-tool-drawer > div:not(.yard-setup-panel) { display: grid; gap: 7px; }.map-tool-drawer a, .map-tool-drawer button { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 46px; padding: 0 11px; border: 1px solid #29445e; border-radius: 10px; background: #07111f; color: #dce8f4; font-size: 9px; font-weight: 850; text-align: left; text-decoration: none; cursor: pointer; }.map-tool-drawer a em, .map-tool-drawer button em { color: var(--cyan); font-size: 7px; font-style: normal; white-space: nowrap; }
.yard-setup-panel { margin-top: 16px; padding: 13px; border-left: 3px solid var(--green); border-radius: 0 10px 10px 0; background: rgba(6,78,59,.2); }.yard-setup-panel span { color: #a7f3d0; font-size: 9px; font-weight: 900; text-transform: uppercase; }.yard-setup-panel p { margin: 6px 0; color: #91a6ba; font-size: 8px; line-height: 1.5; }.yard-setup-panel strong { color: var(--green); font-size: 9px; }

@media (max-width: 1180px) {
  .eight-step-path { grid-template-columns: repeat(8, minmax(170px, 1fr)); }
  .roster-builder-layout { grid-template-columns: 1fr; }.mini-roster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .people-map-layout { grid-template-columns: 1fr; }.map-tool-drawer { min-height: 240px; }
}
@media (max-width: 900px), (orientation: landscape) and (max-width: 1000px) {
  .existing-department-list, .coverage-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inline-builder-form { grid-template-columns: 1fr 1fr; }.inline-builder-form .form-primary { grid-column: 1 / -1; }
  .vest-rule-grid { grid-template-columns: 1fr; }.mini-roster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people-warehouse-map { min-height: 760px; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 1fr); }.people-zone.inbound { grid-column: 1; grid-row: 1; }.people-zone.stowing { grid-column: 2; grid-row: 1; }.people-zone.picking { grid-column: 1; grid-row: 2; }.people-zone.packing { grid-column: 2; grid-row: 2; }.people-zone.outbound { grid-column: 1 / -1; grid-row: 3; }.people-zone.yard { grid-column: 1 / -1; grid-row: 4; }
}
@media (max-width: 650px), (orientation: landscape) and (max-width: 1000px) {
  .eight-step-path { grid-template-columns: 1fr; overflow: visible; }
  .existing-department-list, .coverage-layout-grid, .mini-roster-grid { grid-template-columns: 1fr; }
  .inline-builder-form, .flex-coverage-card { grid-template-columns: 1fr; }.inline-builder-form .form-primary { grid-column: auto; }
  .vest-rule-card { grid-template-columns: 38px minmax(0, 1fr); }.vest-swatch { width: 38px; height: 38px; }.vest-rule-card label { grid-column: 1 / -1; }
  .flex-person-row { grid-template-columns: 38px minmax(0, 1fr); }.flex-person-row select { grid-column: 1 / -1; }
  .daily-assignment-row { grid-template-columns: 42px minmax(0, 1fr) auto; }.daily-assignment-row label { grid-column: 1 / -1; }.daily-assignment-row em { grid-column: 3; grid-row: 1; }.daily-assignment-row .portrait { width: 42px; height: 42px; }
  .people-warehouse-map { min-height: 980px; grid-template-columns: 1fr; grid-template-rows: repeat(6, auto); }.people-zone.inbound, .people-zone.stowing, .people-zone.picking, .people-zone.packing, .people-zone.outbound, .people-zone.yard { grid-column: 1; grid-row: auto; min-height: 135px; }.people-zone.yard { min-height: 250px; }
  .yard-map-content { grid-template-columns: 1fr; }.parking-spot-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Organization-first mini demo */
.organization-workspace { min-height: 980px; }
.eleven-step-path { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.eleven-step-nav { grid-template-columns: 1fr; }
.organization-department-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.organization-department-card { min-width: 0; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: start; gap: 14px; padding: 18px; border: 1px solid #293b53; border-radius: 15px; background: #0c1727; }
.organization-department-card > span { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #0e7490; border-radius: 13px; background: #082f49; color: var(--cyan); font-size: 19px; font-weight: 950; }
.organization-department-card h4 { margin: 5px 0 5px; font-size: 17px; }.organization-department-card div > small { color: var(--green); font-size: 8px; font-weight: 900; text-transform: uppercase; }.organization-department-card p { margin: 0 0 12px; color: #8297ad; font-size: 9px; line-height: 1.45; }
.organization-department-card div > div { display: flex; flex-wrap: wrap; gap: 5px; }.organization-department-card em { padding: 5px 7px; border: 1px solid #2e435b; border-radius: 999px; background: #07111f; color: #b7c7d8; font-size: 7px; font-style: normal; font-weight: 800; }
.organization-department-card > strong { min-width: 45px; color: var(--cyan); font-size: 22px; text-align: right; }.organization-department-card > strong small { display: block; color: #71869d; font-size: 7px; font-weight: 800; text-transform: uppercase; }

.position-group-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.position-group-card { min-width: 0; padding: 16px; border: 1px solid #293b53; border-radius: 15px; background: #0c1727; }.position-group-card > header { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #25384e; }.position-group-card h4 { margin: 3px 0 0; font-size: 15px; }.position-group-card header small { color: var(--green); font-size: 7px; font-weight: 900; text-transform: uppercase; }.position-group-card header > span { color: var(--cyan); font-size: 8px; font-weight: 900; }
.position-group-card > div { display: grid; gap: 7px; margin-top: 11px; }.position-group-card article { min-width: 0; display: grid; grid-template-columns: 13px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 8px 9px; border: 1px solid #24364d; border-radius: 9px; background: #081321; }.position-group-card article i { width: 13px; height: 28px; border-radius: 4px; background: var(--role-color); box-shadow: inset 0 0 0 2px rgba(255,255,255,.18); }.position-group-card article strong, .position-group-card article small { display: block; }.position-group-card article strong { font-size: 9px; }.position-group-card article small { margin-top: 3px; color: #71869d; font-size: 7px; }.position-group-card article em { color: #9eb1c5; font-size: 7px; font-style: normal; font-weight: 850; }

.rank-scale-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }.rank-scale-option { min-width: 0; display: grid; grid-template-columns: 45px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 15px; border: 1px solid #304158; border-radius: 14px; background: #0c1727; color: var(--text); text-align: left; cursor: pointer; }.rank-scale-option.selected { border-color: var(--green); background: rgba(6,78,59,.18); }.rank-scale-option > span { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid #0e7490; border-radius: 11px; background: #082f49; color: var(--cyan); font-size: 11px; font-weight: 950; }.rank-scale-option strong, .rank-scale-option small { display: block; }.rank-scale-option strong { font-size: 11px; }.rank-scale-option small { margin-top: 4px; color: #7c91a7; font-size: 7px; line-height: 1.4; }.rank-scale-option em { color: var(--cyan); font-size: 7px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.rank-preview-panel { display: grid; grid-template-columns: minmax(180px, .5fr) minmax(0, 1.5fr); gap: 14px; margin-top: 13px; padding: 17px; border: 1px solid #28506c; border-radius: 14px; background: rgba(8,47,73,.28); }.rank-preview-panel h4 { margin: 7px 0 0; font-size: 17px; }.rank-preview-panel > div:last-child { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }.rank-preview-panel article { padding: 12px; border: 1px solid #29445e; border-radius: 10px; background: #07111f; }.rank-preview-panel article span, .rank-preview-panel article strong, .rank-preview-panel article small { display: block; }.rank-preview-panel article span { color: var(--cyan); font-size: 12px; font-weight: 950; }.rank-preview-panel article strong { margin-top: 7px; font-size: 9px; }.rank-preview-panel article small { margin-top: 4px; color: #758aa1; font-size: 7px; line-height: 1.45; }.rank-preview-panel p { color: #8297ad; font-size: 9px; }

.expanded-vest-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }.expanded-vest-grid .vest-rule-card { grid-template-columns: 48px minmax(100px,1fr) minmax(145px,.72fr); }.roster-portrait { flex: 0 0 auto; display: block; width: 48px; height: 48px; border: 2px solid #28506c; border-radius: 12px; background-image: url('./assets/fictional-employee-roster-v2.png'); background-repeat: no-repeat; background-size: 500% 600%; background-position: var(--portrait-x) var(--portrait-y); background-color: #0b2336; }.roster-portrait.small { width: 38px; height: 38px; border-radius: 9px; }.roster-portrait.tiny { width: 31px; height: 31px; border-width: 1px; border-radius: 50%; }.vest-visuals .roster-portrait { width: 42px; height: 42px; border-radius: 10px; }

.roster-plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-bottom: 14px; }.roster-plan-grid > article { min-width: 0; padding: 14px; border: 1px solid #293b53; border-radius: 13px; background: #0c1727; }.roster-plan-grid header { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 9px; margin: -4px -4px 0; padding: 8px 8px 11px; border-bottom: 1px solid #3a5f80; border-radius: 9px 9px 5px 5px; background: linear-gradient(135deg, #193653, #142b44); }.roster-plan-grid header > span { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #0e7490; border-radius: 9px; background: #062a42; color: var(--cyan); box-shadow: 0 0 0 2px rgba(56,189,248,.06); }.roster-plan-grid header strong, .roster-plan-grid header small { display: block; }.roster-plan-grid header strong { font-size: 11px; }.roster-plan-grid header small { margin-top: 3px; color: #b2c8dc; font-size: 8px; }.roster-plan-grid header em { color: var(--green); font-size: 19px; font-style: normal; font-weight: 950; }.roster-count-list { display: grid; gap: 7px; margin-top: 11px; }.roster-count-row { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) 58px; align-items: center; gap: 10px; }.roster-count-row > span { min-width: 0; color: var(--text); font-size: 11px; font-weight: 750; line-height: 1.25; }.roster-count-row input { width: 58px; min-width: 0; min-height: 32px; padding: 0 7px; border: 1px solid #304158; border-radius: 8px; background: #050d1a; color: var(--text); font-size: 10px; font-weight: 900; text-align: center; }.roster-count-row.preset input { border-color: #25455a; background: #081625; color: var(--cyan); }.roster-count-row.editable input { border-color: rgba(52,211,153,.58); background: rgba(6,78,59,.16); color: #d1fae5; box-shadow: 0 0 0 2px rgba(52,211,153,.06); }
.roster-task-notice { display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 11px; margin: -7px 0 14px; padding: 12px 14px; border: 1px solid rgba(251,191,36,.45); border-radius: 12px; background: rgba(146,64,14,.14); }.roster-task-notice > span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(251,191,36,.55); border-radius: 9px; background: rgba(245,158,11,.12); color: #fbbf24; font-size: 17px; font-weight: 950; }.roster-task-notice strong { display: block; color: #fde68a; font-size: 10px; }.roster-task-notice p { margin: 3px 0 0; color: #c7d2df; font-size: 8px; line-height: 1.45; }.roster-task-notice b { color: #fef3c7; }.roster-count-row > span b { display: block; color: inherit; font-size: inherit; }.roster-count-row > span small { display: block; margin-top: 3px; color: #fbbf24; font-size: 7px; font-weight: 900; }
.roster-build-action { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 14px; padding: 14px 16px; border: 1px solid #31506d; border-radius: 13px; background: linear-gradient(135deg, rgba(25,54,83,.88), rgba(13,33,56,.9)); }.roster-build-action strong { display: block; margin-top: 4px; font-size: 10px; }.roster-build-action .secondary-inline { flex: 0 0 auto; border-color: #0e7490; background: #082f49; color: var(--cyan); }
.roster-result-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); align-items: stretch; gap: 10px; margin-bottom: 14px; }.roster-department-result { min-width: 0; padding: 12px; border: 1px solid #293b53; border-radius: 13px; background: #0c1727; }.roster-department-result > header { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 8px; margin: -3px -3px 0; padding: 7px 7px 10px; border-bottom: 1px solid #3a5f80; border-radius: 8px 8px 5px 5px; background: linear-gradient(135deg, #193653, #142b44); }.roster-department-result > header > span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #0e7490; border-radius: 8px; background: #062a42; color: var(--cyan); font-weight: 950; }.roster-department-result > header strong, .roster-department-result > header small { display: block; }.roster-department-result > header strong { font-size: 10px; }.roster-department-result > header small { margin-top: 3px; color: #b2c8dc; font-size: 7px; }.roster-department-result > header em { color: var(--green); font-size: 17px; font-style: normal; font-weight: 950; }.roster-department-employees { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: start; gap: 7px; margin-top: 10px; }.full-roster-card { position: relative; min-width: 0; display: grid; grid-template-columns: 36px minmax(0,1fr); align-items: center; gap: 7px; padding: 7px; border: 1px solid #293b53; border-radius: 10px; background: #091421; }.full-roster-card .roster-portrait { width: 36px; height: 36px; border-radius: 9px; }.full-roster-card strong, .full-roster-card small, .full-roster-card span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.full-roster-card strong { font-size: 8px; }.full-roster-card small { margin-top: 3px; color: #a1b2c4; font-size: 6px; }.full-roster-card div > span { margin-top: 3px; color: var(--cyan); font-size: 6px; }.full-roster-card > i { position: absolute; right: 5px; bottom: 5px; width: 7px; height: 7px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: var(--role-color); }

.operations-role-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }.operations-role-card { min-width: 0; padding: 13px; border: 1px solid #293b53; border-radius: 13px; background: #0c1727; }.operations-role-card > header { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #26384e; }.operations-role-card header strong, .operations-role-card header small { display: block; }.operations-role-card header strong { font-size: 11px; }.operations-role-card header small { margin-top: 3px; color: #778ca3; font-size: 7px; }.operations-role-card header > span { color: var(--green); font-size: 9px; font-weight: 900; }.operations-role-card > div { display: grid; gap: 7px; margin-top: 9px; }.operation-assignment-row { min-width: 0; display: grid; grid-template-columns: 38px minmax(100px,1fr) minmax(120px,.8fr); align-items: center; gap: 8px; padding: 7px; border: 1px solid #24364d; border-radius: 9px; background: #07111f; }.operation-assignment-row strong, .operation-assignment-row small { display: block; }.operation-assignment-row strong { font-size: 8px; }.operation-assignment-row small { margin-top: 2px; color: #72879e; font-size: 6px; }.operation-assignment-row select { width: 100%; min-width: 0; min-height: 34px; padding: 0 7px; border: 1px solid #304158; border-radius: 8px; background: #050d1a; color: var(--text); font-size: 8px; }
.empty-state { margin: 0; padding: 30px; border: 1px dashed #375069; border-radius: 13px; color: #8297ad; font-size: 10px; text-align: center; }

.schedule-choice-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 9px; margin-bottom: 13px; }.schedule-choice { padding: 14px; border: 1px solid #293b53; border-radius: 12px; background: #0c1727; }.schedule-choice.selected { border-color: var(--green); background: rgba(6,78,59,.17); }.schedule-choice.disabled { opacity: .48; filter: grayscale(.4); }.schedule-choice span, .schedule-choice strong, .schedule-choice small { display: block; }.schedule-choice span { color: var(--green); font-size: 7px; font-weight: 900; }.schedule-choice.disabled span { color: #8297ad; }.schedule-choice strong { margin-top: 7px; font-size: 10px; }.schedule-choice small { margin-top: 4px; color: #7c91a7; font-size: 7px; }

.team-layout-top { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }.flow-divider { display: flex; align-items: center; gap: 12px; margin: 15px 0; color: var(--cyan); font-size: 8px; font-weight: 950; letter-spacing: .12em; }.flow-divider::before, .flow-divider::after { content: ""; height: 1px; flex: 1; background: #2b4057; }.operations-side-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.operations-side-layout > div { display: grid; align-content: start; gap: 9px; padding: 13px; border: 1px solid #293b53; border-radius: 15px; background: rgba(5,13,26,.45); }.operations-side-layout > div > h4 { margin: 0; color: var(--cyan); font-size: 14px; }.team-coverage-card { min-width: 0; padding: 12px; border: 1px solid #293b53; border-radius: 12px; background: #0c1727; }.team-coverage-card.inbound { border-color: rgba(34,211,238,.28); }.team-coverage-card.outbound { border-color: rgba(56,189,248,.28); }.team-coverage-card.management { border-color: rgba(37,99,235,.4); }.team-coverage-card.support { border-color: rgba(148,163,184,.35); }.team-coverage-card.admin { border-color: rgba(236,72,153,.28); }.team-coverage-card > header { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 9px; border-bottom: 1px solid #25384e; }.team-coverage-card header strong, .team-coverage-card header small { display: block; }.team-coverage-card header strong { font-size: 9px; }.team-coverage-card header small { margin-top: 3px; color: #758aa1; font-size: 6px; }.team-coverage-card header > span { color: var(--green); font-size: 10px; font-weight: 950; }.team-coverage-card > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }.employee-chip { min-width: 0; display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px 4px 4px; border: 1px solid #2a3e55; border-radius: 999px; background: #07111f; }.employee-chip b, .employee-chip small { display: block; max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.employee-chip b { font-size: 7px; }.employee-chip small { margin-top: 1px; color: #73889f; font-size: 5px; }

.organization-map-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(230px,.4fr); gap: 12px; }.organization-map { min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; padding: 12px; border: 1px solid #293b53; border-radius: 16px; background: #050d18; }.organization-map-zone { min-width: 0; padding: 10px; border: 1px solid #2a4057; border-radius: 11px; background: #0b1726; }.organization-map-zone > header { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid #25384e; }.organization-map-zone header strong, .organization-map-zone header small { display: block; }.organization-map-zone header strong { font-size: 9px; }.organization-map-zone header small { margin-top: 2px; color: #74899f; font-size: 6px; }.organization-map-zone header button { min-height: 27px; padding: 0 8px; border: 1px solid #0e7490; border-radius: 7px; background: #082f49; color: var(--cyan); font-size: 6px; font-weight: 900; cursor: pointer; }.organization-map-zone > div { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }.leadership-zone { grid-column: 1 / -1; border-color: rgba(37,99,235,.45); }.map-side { min-width: 0; display: grid; align-content: start; gap: 8px; padding: 10px; border: 2px solid #164e63; border-radius: 14px; background: rgba(8,47,73,.18); }.outbound-map-side { border-color: #1e3a8a; background: rgba(30,58,138,.13); }.map-side > header { display: flex; justify-content: space-between; color: var(--cyan); font-size: 9px; font-weight: 950; }.map-side > header span { color: #8297ad; font-size: 7px; }.leadership-subzone { border-style: dashed; }.yard-zone { background: rgba(6,78,59,.14); }.support-zone { border-color: rgba(148,163,184,.4); }.admin-zone { border-color: rgba(236,72,153,.3); }

@media (max-width: 1180px) {
  .eleven-step-path { grid-template-columns: repeat(11,minmax(170px,1fr)); overflow-x: auto; padding-bottom: 6px; }
  .position-group-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.roster-result-grid, .roster-plan-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px), (orientation: landscape) and (max-width: 1000px) {
  .organization-department-grid, .position-group-grid, .operations-role-grid { grid-template-columns: 1fr; }.rank-scale-grid { grid-template-columns: 1fr; }.rank-preview-panel { grid-template-columns: 1fr; }.expanded-vest-grid { grid-template-columns: 1fr; }.schedule-choice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.team-layout-top { grid-template-columns: 1fr; }.organization-map-layout { grid-template-columns: 1fr; }
}
@media (max-width: 650px), (orientation: landscape) and (max-width: 1000px) {
  .eleven-step-path { grid-template-columns: 1fr; overflow: visible; }.organization-department-grid, .position-group-grid, .rank-scale-grid, .expanded-vest-grid, .roster-plan-grid, .roster-result-grid, .operations-role-grid, .schedule-choice-grid, .operations-side-layout, .organization-map { grid-template-columns: 1fr; }.organization-department-card { grid-template-columns: 44px minmax(0,1fr); }.organization-department-card > span { width: 44px; height: 44px; }.organization-department-card > strong { grid-column: 2; text-align: left; }.rank-preview-panel > div:last-child { grid-template-columns: 1fr; }.expanded-vest-grid .vest-rule-card { grid-template-columns: 44px minmax(0,1fr); }.expanded-vest-grid .vest-rule-card label { grid-column: 1 / -1; }.operation-assignment-row { grid-template-columns: 38px minmax(0,1fr); }.operation-assignment-row select { grid-column: 1 / -1; }.leadership-zone { grid-column: 1; }.map-side > header { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Mini demo foundation builder */
.builder-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (min-width: 1181px) {
  .builder-steps { gap: 8px; }
  .builder-steps .tour-step { min-height: 74px; grid-template-columns: 40px minmax(0,1fr); gap: 10px; padding: 10px; border-radius: 14px; }
  .builder-steps .tour-step > span { width: 40px; height: 40px; border-radius: 11px; font-size: 10px; }
  .builder-steps .tour-step strong { font-size: 11px; }
  .builder-steps .tour-step small { margin-top: 3px; font-size: 8px; }
}
.builder-workspace { min-height: 900px; }
.builder-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.builder-panel-heading h3 { margin: 7px 0 6px; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.035em; }
.builder-panel-heading p { max-width: 720px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.app-source { color: var(--green); font-size: 9px; font-weight: 950; letter-spacing: .1em; }
.open-real-app { flex: 0 0 auto; display: inline-flex; min-height: 39px; align-items: center; padding: 0 12px; border: 1px solid #28506c; border-radius: 10px; background: #082f49; color: var(--cyan); font-size: 9px; font-weight: 900; text-decoration: none; white-space: nowrap; }
.builder-heading-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.secondary-inline { min-height: 39px; padding: 0 12px; border: 1px solid #3b4e68; border-radius: 10px; background: #1b293d; color: #e2e8f0; font-size: 9px; font-weight: 900; cursor: pointer; }

.form-preview-grid, .shift-builder-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 15px; }
.builder-form, .live-preview-card, .shift-preview-card { min-width: 0; padding: 21px; border: 1px solid #293b53; border-radius: 16px; background: #0c1727; }
.builder-form { display: grid; gap: 15px; }
.builder-form label { display: grid; gap: 7px; color: #a9bbcf; font-size: 9px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.builder-form input, .builder-form select, .builder-form textarea, .role-assignment select, .shift-board-row select { width: 100%; min-width: 0; border: 1px solid #304158; border-radius: 10px; background: #050d1a; color: var(--text); }
.builder-form input, .builder-form select { min-height: 44px; padding: 0 12px; }
.builder-form textarea { padding: 11px 12px; resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-primary { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; padding: 0 15px; border: 1px solid #0ea5e9; border-radius: 11px; background: #0ea5e9; color: #02111d; font-size: 10px; font-weight: 950; cursor: pointer; }
.live-preview-card { position: relative; overflow: hidden; background: linear-gradient(145deg, rgba(8,47,73,.82), #0c1727); }
.live-preview-card::after { content: "WT"; position: absolute; right: -15px; bottom: -28px; color: rgba(103,232,249,.05); font-size: 110px; font-weight: 950; }
.preview-card-header { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.preview-code { display: inline-flex; flex: 0 0 auto; padding: 6px 9px; border: 1px solid #0e7490; border-radius: 999px; color: var(--cyan); font-size: 9px; font-weight: 900; }
.live-preview-card h4 { position: relative; z-index: 1; margin: 15px 0 5px; font-size: 25px; letter-spacing: -.03em; }
.live-preview-card > p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 11px; }
.live-preview-card dl { position: relative; z-index: 1; margin: 24px 0 0; }
.live-preview-card dl div { padding: 11px 0; border-top: 1px solid rgba(148,163,184,.16); }
.live-preview-card dt { color: #7890a8; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.live-preview-card dd { margin: 4px 0 0; color: #d9e5f1; font-size: 10px; font-weight: 800; }
.location-multi-site-note { display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 11px; margin-top: 15px; padding: 13px 15px; border: 1px solid rgba(52,211,153,.3); border-radius: 12px; background: rgba(5,150,105,.09); }
.location-multi-site-note > span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(52,211,153,.4); border-radius: 9px; color: #6ee7b7; font-size: 16px; font-weight: 950; }
.location-multi-site-note strong { display: block; color: #a7f3d0; font-size: 9px; }
.location-multi-site-note p { margin: 3px 0 0; color: #91a6bc; font-size: 8px; line-height: 1.45; }
.capacity-fieldset { padding: 14px !important; }
.capacity-instruction { margin: 0 0 11px; color: #6ee7b7; font-size: 8px; line-height: 1.4; text-transform: none; }
.capacity-select-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 9px; }
.capacity-select-grid .required-capacity select { border-color: rgba(251,146,60,.88); }
.capacity-select-grid .required-capacity select:focus { border-color: #fb923c; }
.capacity-select-grid .required-capacity.complete select { border-color: rgba(52,211,153,.68); }
.capacity-select-grid .required-capacity.complete select:focus { border-color: #34d399; }
.zone-planner { margin-top: 15px; padding: 18px; border: 1px solid #293b53; border-radius: 16px; background: #0a1422; }
.zone-planner-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.zone-planner-heading h4 { margin: 5px 0 4px; font-size: 17px; }
.zone-planner-heading p { max-width: 720px; margin: 0; color: #8da1b7; font-size: 9px; line-height: 1.5; }
.zone-planner-heading > strong { flex: 0 0 auto; padding: 7px 10px; border: 1px solid rgba(52,211,153,.3); border-radius: 999px; background: rgba(5,150,105,.09); color: #a7f3d0; font-size: 8px; white-space: nowrap; }
.zone-activation-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; margin-top: 16px; }
.zone-activation-pill { width: 100%; min-width: 0; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 9px; border: 1px solid #304158; border-radius: 10px; background: #07111f; color: #a8bbcf; font-size: 8px; font-weight: 850; white-space: nowrap; cursor: pointer; }
.zone-activation-pill > span { color: var(--cyan); font-size: 12px; font-weight: 950; }.zone-activation-pill small { color: #61768d; font-size: 6px; font-weight: 900; text-transform: uppercase; }
.zone-activation-pill.active { border-color: rgba(52,211,153,.38); background: rgba(5,150,105,.12); color: #d1fae5; }.zone-activation-pill.active > span, .zone-activation-pill.active small { color: #6ee7b7; }
.zone-activation-pill.fixed { border-color: rgba(56,189,248,.28); background: rgba(8,47,73,.4); color: #c9f5ff; cursor: default; opacity: 1; }.zone-activation-pill.fixed > span, .zone-activation-pill.fixed small { color: var(--cyan); }
.zone-map-board { min-height: 330px; display: grid; grid-template-columns: minmax(50px,.125fr) minmax(50px,.125fr) minmax(50px,.125fr) minmax(260px,1fr) minmax(50px,.125fr) minmax(50px,.125fr) minmax(50px,.125fr); gap: 9px; margin-top: 14px; padding: 10px; border: 1px solid #25405a; border-radius: 14px; background: #050d18; }
.map-edge { display: contents; }.fixed-map-zone { min-height: 78px; display: grid; place-items: center; align-content: center; align-self: stretch; gap: 3px; padding: 8px; border: 1px solid #155e75; border-radius: 10px; background: rgba(8,47,73,.6); text-align: center; }.fixed-map-zone.yard { border-color: #84cc16; background: rgba(77,124,15,.34); }.fixed-map-zone.dock { border-color: #1d4ed8; background: rgba(30,58,138,.38); }.fixed-map-zone span { font-size: 8px; font-weight: 950; }.fixed-map-zone small { color: #b3c1cf; font-size: 6px; }.fixed-map-zone i { color: var(--cyan); font-size: 6px; font-style: normal; font-weight: 900; text-transform: uppercase; }.fixed-map-zone.yard i { color: #bef264; }.fixed-map-zone.dock i { color: #60a5fa; }
.flow-map-slot { min-width: 0; min-height: 78px; display: grid; place-items: center; align-content: center; align-self: stretch; gap: 4px; padding: 5px; border: 1px dashed #334a63; border-radius: 10px; background: rgba(12,23,39,.72); text-align: center; }.flow-map-slot > span { color: #52677d; font-size: 6px; font-weight: 850; line-height: 1.2; text-transform: uppercase; overflow-wrap: anywhere; }.flow-map-slot > small { color: #6e849a; font-size: 5px; font-weight: 850; line-height: 1.2; overflow-wrap: anywhere; }.flow-map-slot.filled { border-style: solid; border-color: rgba(52,211,153,.35); background: rgba(6,78,59,.3); }.reserved-map-zone { display: grid; place-items: center; gap: 4px; color: #d1fae5; }.reserved-map-zone span { font-size: 8px; font-weight: 950; line-height: 1.15; overflow-wrap: anywhere; }.reserved-map-zone small { color: #83a99f; font-size: 5px; font-weight: 850; text-transform: uppercase; }
.interior-map-grid { min-width: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: minmax(78px,1fr); gap: 7px; }.interior-map-slot { min-width: 0; min-height: 78px; display: grid; place-items: stretch; padding: 4px; border: 1px dashed #334a63; border-radius: 10px; background: rgba(12,23,39,.72); }.interior-map-slot > span { align-self: center; color: #52677d; font-size: 6px; font-weight: 850; text-align: center; text-transform: uppercase; }.interior-map-slot.filled { border-style: solid; border-color: rgba(52,211,153,.28); background: rgba(5,150,105,.06); }
.preset-map-zone { width: 100%; min-width: 0; display: grid; place-items: center; align-content: center; gap: 4px; padding: 8px 5px; border: 1px solid rgba(52,211,153,.35); border-radius: 8px; background: rgba(6,78,59,.3); color: #d1fae5; }.preset-map-zone span { max-width: 100%; overflow-wrap: anywhere; font-size: 8px; font-weight: 950; text-align: center; }.preset-map-zone small { color: #83a99f; font-size: 5px; line-height: 1.3; text-align: center; }
.interior-map-slot[data-zone-tone="orange"] { border-color: #fb923c; background: rgba(249,115,22,.48); color: #fff7ed; }.interior-map-slot[data-zone-tone="orange"] .preset-map-zone { border-color: #fb923c; background: rgba(0,0,0,.08); color: #fff7ed; }.interior-map-slot[data-zone-tone="orange"] .preset-map-zone small { color: #fed7aa; }
.interior-map-slot[data-zone-tone="yellow"] { border-color: #fde047; background: rgba(250,204,21,.4); color: #fefce8; }.interior-map-slot[data-zone-tone="yellow"] .preset-map-zone { border-color: #fde047; background: rgba(0,0,0,.08); color: #fefce8; }.interior-map-slot[data-zone-tone="yellow"] .preset-map-zone small { color: #fef08a; }
.interior-map-slot[data-zone-tone="blue"] { border-color: #38bdf8; background: rgba(14,165,233,.42); color: #f0f9ff; }.interior-map-slot[data-zone-tone="blue"] .preset-map-zone { border-color: #38bdf8; background: rgba(0,0,0,.08); color: #f0f9ff; }.interior-map-slot[data-zone-tone="blue"] .preset-map-zone small { color: #bae6fd; }
.interior-map-slot[data-zone-tone="brown"], .interior-map-slot[data-zone-tone="brown"] .preset-map-zone { border-color: #a16207; background: rgba(113,63,18,.44); color: #fef3c7; }.interior-map-slot[data-zone-tone="brown"] .preset-map-zone small { color: #d6a96c; }
.interior-map-slot[data-zone-tone="red"], .interior-map-slot[data-zone-tone="red"] .preset-map-zone { border-color: #ef4444; background: rgba(127,29,29,.4); color: #fee2e2; }.interior-map-slot[data-zone-tone="red"] .preset-map-zone small { color: #fca5a5; }
.zone-planner-help { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; color: #71869d; font-size: 7px; }.zone-planner-help span { display: inline-flex; align-items: center; gap: 5px; }.zone-planner-help i { width: 8px; height: 8px; border: 1px solid #155e75; border-radius: 2px; background: rgba(8,47,73,.6); }.zone-planner-help span:nth-child(2) i { border-color: rgba(52,211,153,.35); background: rgba(6,78,59,.3); }.zone-planner-help span:nth-child(3) i { border-style: dashed; border-color: #334a63; background: #0c1727; }
.configured-layout-summary { grid-column: 1 / -1; padding: 12px; border: 1px solid rgba(52,211,153,.3); border-radius: 12px; background: rgba(5,150,105,.07); }
.configured-layout-summary > header { display: flex; justify-content: space-between; gap: 10px; }.configured-layout-summary header strong { display: block; margin-top: 4px; font-size: 10px; }.configured-layout-summary header small { color: #6ee7b7; font-size: 7px; font-weight: 900; }
.configured-layout-flow { display: grid; grid-template-columns: 78px 78px minmax(0,1fr) 78px 78px; gap: 5px; margin-top: 10px; }.configured-layout-flow > span { display: grid; place-items: center; min-height: 42px; padding: 5px; border: 1px solid #155e75; border-radius: 7px; background: rgba(8,47,73,.5); font-size: 6px; font-weight: 900; text-align: center; }.configured-layout-flow > span:nth-last-child(-n+2) { border-color: #1d4ed8; background: rgba(30,58,138,.2); }.configured-layout-flow > span small { display: block; margin-top: 2px; color: #7f99b2; font-size: 5px; }
.configured-layout-flow > div { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; }.configured-layout-flow > div span { display: grid; place-items: center; min-height: 42px; padding: 4px; border: 1px solid rgba(52,211,153,.25); border-radius: 7px; background: rgba(6,78,59,.24); color: #b7f7dd; font-size: 6px; font-weight: 850; text-align: center; }.configured-layout-flow > div span.empty { border-style: dashed; border-color: #304158; background: rgba(12,23,39,.72); color: #52677d; }.configured-layout-summary > p { margin: 8px 0 0; color: #7f95aa; font-size: 7px; }

.department-builder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.department-option { position: relative; min-width: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 3px 12px; align-items: center; padding: 18px; border: 1px solid #293b53; border-radius: 15px; background: #0c1727; cursor: pointer; }
.department-option input { position: absolute; opacity: 0; pointer-events: none; }
.department-option.selected { border-color: #0e7490; background: rgba(8,47,73,.45); box-shadow: 0 0 0 2px rgba(56,189,248,.06); }
.department-icon { display: grid; grid-row: 1 / span 2; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: rgba(14,165,233,.16); color: var(--cyan); font-size: 18px; font-weight: 950; }
.department-icon.picking { background: rgba(5,150,105,.16); color: #6ee7b7; }.department-icon.packing { background: rgba(217,119,6,.16); color: #fcd34d; }.department-icon.shipping { background: rgba(190,24,93,.16); color: #fda4af; }
.department-option strong { align-self: end; font-size: 13px; }.department-option small { align-self: start; overflow: hidden; color: #8297ad; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.department-option em { grid-column: 3; grid-row: 1 / span 2; color: #71859d; font-size: 8px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.department-option.selected em { color: #a7f3d0; }
.builder-summary-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 14px; padding: 16px 18px; border: 1px solid #293b53; border-radius: 14px; background: #0a1422; }
.builder-summary-bar strong { display: block; margin-top: 4px; font-size: 12px; }

.organization-department-grid, .position-group-grid { align-items: stretch; }
.department-selection-card { min-width: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px; border: 1px solid #293b53; border-radius: 15px; background: #0c1727; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.department-selection-card.active { border-color: rgba(56,189,248,.55); background: linear-gradient(135deg, rgba(8,47,73,.52), #0c1727); }
.department-selection-card.optional:not(.active):hover { border-color: #3b5874; transform: translateY(-1px); }
.department-selection-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #0e7490; border-radius: 13px; background: #082f49; color: var(--cyan); font-size: 18px; font-weight: 950; }
.department-selection-copy { min-width: 0; }
.department-selection-copy .department-status { color: var(--green); font-size: 7px; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.department-selection-copy h4 { margin: 5px 0 4px; font-size: 14px; }
.department-selection-copy p { margin: 0; color: #8da1b7; font-size: 9px; line-height: 1.45; }
.department-selection-copy > div { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.department-selection-copy em { padding: 4px 7px; border: 1px solid #2d4259; border-radius: 999px; color: #a9bad0; font-size: 7px; font-style: normal; }
.selection-action { min-width: 76px; min-height: 36px; padding: 0 10px; border: 1px solid #0ea5e9; border-radius: 9px; background: #0ea5e9; color: #02111d; font-size: 8px; font-weight: 950; cursor: pointer; }
.department-selection-card.active.optional .selection-action { border-color: #3b4e68; background: #1b293d; color: #cbd5e1; }
.selection-action.fixed { display: inline-grid; place-items: center; border-color: rgba(52,211,153,.36); background: rgba(5,150,105,.13); color: #6ee7b7; cursor: default; }
.department-selection-card.active.optional .selection-action.fixed.activated { border-color: rgba(52,211,153,.5); background: rgba(5,150,105,.18); color: #6ee7b7; }

.template-library { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(190px,.35fr) minmax(0,1fr); gap: 16px; padding: 16px 18px; border: 1px dashed #334a63; border-radius: 14px; background: rgba(7,17,31,.7); }
.template-library > div:first-child strong { display: block; margin-top: 4px; font-size: 10px; }
.template-library > div:last-child { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.locked-template-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 29px; padding: 0 8px; border: 1px solid #2c3e53; border-radius: 8px; background: #101a29; color: #8799ad; font-size: 7px; font-weight: 850; }
.locked-template-chip i { color: #60748a; font-style: normal; }.locked-template-chip small { color: #5f7286; font-size: 6px; font-weight: 900; text-transform: uppercase; }
.department-template-options, .position-template-options { align-items: stretch !important; }
.custom-department-note { flex: 1 1 260px; display: grid; grid-template-columns: 30px minmax(0,1fr); align-items: center; gap: 9px; min-height: 48px; padding: 8px 10px; border: 1px solid rgba(52,211,153,.3); border-radius: 10px; background: rgba(5,150,105,.09); }
.custom-department-note > i { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(52,211,153,.4); border-radius: 8px; color: #6ee7b7; font-size: 14px; font-style: normal; font-weight: 950; }
.custom-department-note strong, .custom-department-note small { display: block; }.custom-department-note strong { color: #a7f3d0; font-size: 8px; }.custom-department-note small { margin-top: 3px; color: #8297ad; font-size: 7px; line-height: 1.35; }

.position-template-group { min-width: 0; overflow: hidden; border: 1px solid #293b53; border-radius: 15px; background: #0c1727; }
.position-template-group > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 16px; border-bottom: 1px solid #293b53; background: rgba(8,47,73,.28); }
.position-template-group > header small, .position-template-group > header h4 { display: block; }.position-template-group > header small { color: var(--green); font-size: 7px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }.position-template-group > header h4 { margin: 4px 0 0; font-size: 13px; }.position-template-group > header > span { color: var(--cyan); font-size: 8px; font-weight: 900; }
.position-template-group > div { display: grid; gap: 7px; padding: 10px; }
.position-template-row { width: 100%; min-width: 0; display: grid; grid-template-columns: 30px minmax(0,1fr) auto; align-items: center; gap: 9px; min-height: 52px; padding: 7px 9px; border: 1px solid #2b3e55; border-radius: 10px; background: #07111f; color: var(--text); text-align: left; cursor: pointer; }
.position-template-row:hover:not(:disabled) { border-color: #0e7490; }.position-template-row.installed { border-color: rgba(52,211,153,.25); background: rgba(5,150,105,.08); }.position-template-row:disabled { cursor: default; opacity: .82; }
.position-template-symbol { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #345069; border-radius: 8px; background: #0d1c2c; color: var(--cyan); font-size: 11px; font-weight: 950; }.position-template-row.installed .position-template-symbol { border-color: rgba(52,211,153,.42); background: rgba(5,150,105,.16); color: #6ee7b7; }
.position-template-row strong { display: block; font-size: 9px; }.position-template-row em { color: #7f93a9; font-size: 7px; font-style: normal; font-weight: 950; text-transform: uppercase; }.position-template-row.installed em { color: #6ee7b7; }
.position-template-group.department-locked { opacity: .72; }.position-template-row.locked .position-template-symbol { color: #71859a; }

.builder-form fieldset { margin: 0; padding: 14px; border: 1px solid #2d4057; border-radius: 12px; }
.builder-form legend { padding: 0 7px; color: #a9bbcf; font-size: 9px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.day-picker { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.day-picker label { display: grid; place-items: center; min-height: 39px; border: 1px solid #304158; border-radius: 9px; background: #07111f; color: #8195ab; font-size: 8px; cursor: pointer; }
.day-picker label.selected { border-color: #0e7490; background: #082f49; color: var(--cyan); }
.day-picker input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.shift-preview-card { display: flex; flex-direction: column; align-items: flex-start; background: linear-gradient(145deg, rgba(8,47,73,.72), #0c1727); }
.shift-preview-card .status-badge { align-self: flex-end; margin-top: -39px; }
.shift-preview-card h4 { margin: 36px 0 5px; font-size: 25px; letter-spacing: -.03em; }
.shift-preview-card > p { margin: 0; color: var(--cyan); font-size: 12px; font-weight: 850; }
.week-preview { width: 100%; display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 28px; }
.week-preview span { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid #2e4158; border-radius: 9px; color: #63778f; font-size: 9px; font-weight: 900; }
.week-preview span.active { border-color: #0e7490; background: #082f49; color: var(--cyan); }
.shift-preview-card > small { margin-top: auto; padding-top: 24px; color: var(--muted); font-size: 9px; line-height: 1.5; }

.assignment-progress { margin-bottom: 13px; padding: 14px 16px; border: 1px solid #293b53; border-radius: 13px; background: #0a1422; }
.assignment-progress > div { display: flex; justify-content: space-between; gap: 14px; color: #b8c8da; font-size: 10px; }.assignment-progress em { color: var(--cyan); font-style: normal; font-weight: 900; }
.assignment-progress > span { display: block; height: 7px; margin-top: 10px; overflow: hidden; border-radius: 999px; background: #1d2b3d; }.assignment-progress > span i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0ea5e9, #34d399); transition: width .2s ease; }
.role-assignment-list { display: grid; gap: 8px; }
.role-assignment { display: grid; grid-template-columns: 38px minmax(135px, .8fr) minmax(150px, 1fr) minmax(160px, 1fr) 72px; align-items: end; gap: 10px; padding: 11px; border: 1px solid #293b53; border-radius: 13px; background: #0c1727; }
.role-assignment.assigned { border-color: rgba(52,211,153,.28); }
.employee-avatar { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #0e7490; border-radius: 11px; background: #082f49; color: var(--cyan); font-size: 9px; font-weight: 950; }
.assignment-person { align-self: center; min-width: 0; }.assignment-person strong, .assignment-person small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.assignment-person strong { font-size: 11px; }.assignment-person small { margin-top: 3px; color: #71869d; font-size: 8px; }
.role-assignment label, .shift-board-row label { min-width: 0; color: #758aa1; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.role-assignment label > span, .shift-board-row label > span { display: block; margin-bottom: 5px; }
.role-assignment select, .shift-board-row select { min-height: 37px; padding: 0 8px; font-size: 9px; }
.assignment-state { align-self: center; color: #fcd34d; font-size: 8px; font-weight: 900; text-align: right; text-transform: uppercase; }.role-assignment.assigned .assignment-state { color: #6ee7b7; }

.dashboard-heading { align-items: center; }
.manager-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .5fr); gap: 12px; margin-top: 12px; }
.shift-team-board { padding: 16px; }.shift-team-board > #shiftTeamBoard { display: grid; gap: 7px; margin-top: 14px; }
.shift-board-row { display: grid; grid-template-columns: 36px minmax(120px, .7fr) minmax(140px, 1fr) minmax(150px, 1fr); align-items: end; gap: 9px; padding: 9px; border: 1px solid #24364d; border-radius: 11px; background: #091321; }
.shift-board-row .employee-avatar { width: 36px; height: 36px; }.shift-board-row > div { align-self: center; min-width: 0; }.shift-board-row > div strong, .shift-board-row > div small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.shift-board-row > div strong { font-size: 10px; }.shift-board-row > div small { margin-top: 3px; color: #70859d; font-size: 8px; }
.coverage-alerts { padding: 17px; }.coverage-alerts #managerChecklist { display: grid; gap: 8px; margin-top: 15px; }
.checklist-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 9px; padding: 10px; border: 1px solid #293b53; border-radius: 10px; background: #091321; }.checklist-item > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; font-size: 10px; font-weight: 950; }.checklist-item strong { font-size: 9px; }.checklist-item.ready > span { background: rgba(5,150,105,.18); color: #6ee7b7; }.checklist-item.attention > span { background: rgba(217,119,6,.18); color: #fcd34d; }
.dashboard-note { margin-top: 17px; padding: 14px; border-left: 3px solid var(--cyan); border-radius: 0 10px 10px 0; background: rgba(8,47,73,.38); }.dashboard-note strong { color: var(--cyan); font-size: 10px; }.dashboard-note p { margin: 6px 0 0; color: #9eb0c4; font-size: 9px; line-height: 1.55; }

.real-apps { padding: 85px 0 95px; border-top: 1px solid rgba(148,163,184,.2); scroll-margin-top: 20px; }
.real-app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.real-app-grid > article { min-width: 0; display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 13px; padding: 18px; border: 1px solid #293b53; border-radius: 15px; background: #0c1727; color: var(--text); }.real-app-grid > article > span { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #0e7490; border-radius: 13px; background: #082f49; color: var(--cyan); font-weight: 950; }.real-app-grid small, .real-app-grid strong, .real-app-grid p { display: block; }.real-app-grid small { color: var(--green); font-size: 8px; font-weight: 900; text-transform: uppercase; }.real-app-grid strong { margin-top: 4px; font-size: 12px; }.real-app-grid p { margin: 5px 0 0; color: #8498ae; font-size: 9px; line-height: 1.45; }.real-app-grid em { color: var(--green); font-size: 9px; font-style: normal; font-weight: 900; }

@media (max-width: 1180px) {
  .builder-steps { grid-template-columns: repeat(5, minmax(170px, 1fr)); overflow-x: auto; padding-bottom: 6px; }
  .role-assignment { grid-template-columns: 38px minmax(140px, 1fr) minmax(150px, 1fr) minmax(160px, 1fr); }.assignment-state { grid-column: 2 / -1; text-align: left; }
  .manager-dashboard-grid { grid-template-columns: 1fr; }.real-app-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 820px), (orientation: landscape) and (max-width: 1000px) {
  .builder-panel-heading { flex-direction: column; }.builder-heading-actions { justify-content: flex-start; }.form-preview-grid, .shift-builder-grid { grid-template-columns: 1fr; }
  .role-assignment { grid-template-columns: 38px minmax(0,1fr); }.role-assignment label, .assignment-state { grid-column: 2; }.role-assignment .employee-avatar { grid-row: 1 / span 4; align-self: start; }.builder-summary-bar { align-items: stretch; flex-direction: column; }
  .shift-board-row { grid-template-columns: 36px minmax(0,1fr); }.shift-board-row label { grid-column: 2; }.shift-board-row .employee-avatar { grid-row: 1 / span 3; align-self: start; }.real-app-grid { grid-template-columns: 1fr; }.template-library { grid-template-columns: 1fr; }
  .zone-planner-heading { flex-direction: column; }.zone-activation-grid { display: flex; flex-wrap: wrap; }.zone-activation-pill { width: auto; flex: 1 1 120px; justify-content: flex-start; font-size: 8px; }.zone-activation-pill small { font-size: 6px; }.zone-map-board { grid-template-columns: 41px 41px 41px minmax(0,1fr) 41px 41px 41px; }.interior-map-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.configured-layout-flow { grid-template-columns: repeat(2,minmax(0,1fr)); }.configured-layout-flow > div { grid-column: 1 / -1; grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 560px), (orientation: landscape) and (max-width: 1000px) {
  .builder-steps { display: grid; grid-template-columns: 1fr; overflow: visible; }.builder-form, .live-preview-card, .shift-preview-card { padding: 16px; }.form-row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }#locationForm { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px 8px; }#locationForm > .form-row { display: contents; }.location-warehouse-field { grid-column: 1 / -1; grid-row: 1; }.location-code-field { grid-column: 1; grid-row: 2; }.location-city-field { grid-column: 2; grid-row: 2; }.location-size-field { grid-column: 3; grid-row: 2; }.location-operation-field { grid-column: 1 / -1; grid-row: 3; }#locationForm > .capacity-fieldset { grid-column: 1 / -1; grid-row: 4; }#locationForm > .form-primary { grid-column: 1 / -1; grid-row: 5; }.department-builder { grid-template-columns: 1fr; }.day-picker { grid-template-columns: repeat(4, minmax(0,1fr)); }.secondary-inline { width: 100%; justify-content: center; }.builder-heading-actions { width: 100%; }.real-app-grid > article { grid-template-columns: 44px minmax(0,1fr); }.real-app-grid > article > span { width: 44px; height: 44px; }.real-app-grid em { grid-column: 2; }.department-selection-card { grid-template-columns: 42px minmax(0,1fr); padding: 14px; }.department-selection-icon { width: 42px; height: 42px; }.department-selection-card .selection-action { grid-column: 2; width: 100%; }.template-library { padding: 14px; }.locked-template-chip { flex: 1 1 145px; }.position-template-row { grid-template-columns: 28px minmax(0,1fr) auto; }
  [data-panel="vests"] .builder-panel-heading { gap: 12px; margin-bottom: 14px; }[data-panel="vests"] .builder-panel-heading h3 { font-size: 24px; }.expanded-vest-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }.expanded-vest-grid .vest-rule-card { min-height: 116px; grid-template-columns: 36px minmax(0,1fr); align-content: start; gap: 8px; padding: 10px; }.expanded-vest-grid .vest-rule-card label { grid-column: 1 / -1; }.vest-visuals, .vest-visuals .roster-portrait { width: 36px; height: 36px; }.vest-swatch { right: -3px; bottom: -3px; width: 14px; height: 14px; border-width: 2px; }.vest-rule-card strong { font-size: 9px; line-height: 1.2; }.vest-rule-card small { margin-top: 3px; font-size: 6px; line-height: 1.35; }.vest-rule-card select { min-height: 38px; padding: 0 8px; font-size: 9px; }
  .schedule-choice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }.schedule-choice { min-height: 88px; padding: 12px; }.schedule-choice span { font-size: 8px; }.schedule-choice strong { font-size: 11px; line-height: 1.25; }.schedule-choice small { font-size: 7px; line-height: 1.35; }
  [data-panel="roster"] .roster-plan-grid { grid-template-columns: 1fr; gap: 8px; }[data-panel="roster"] .roster-plan-grid > article { padding: 11px; }[data-panel="roster"] .roster-plan-grid header { grid-template-columns: 32px minmax(0,1fr) auto; gap: 8px; padding-bottom: 9px; }[data-panel="roster"] .roster-plan-grid header > span { width: 32px; height: 32px; border-radius: 8px; }[data-panel="roster"] .roster-plan-grid header strong { font-size: 11px; line-height: 1.2; }[data-panel="roster"] .roster-plan-grid header small { font-size: 7px; line-height: 1.3; }[data-panel="roster"] .roster-plan-grid header em { font-size: 17px; }[data-panel="roster"] .roster-count-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 12px; margin-top: 10px; }[data-panel="roster"] .roster-count-row { min-height: 46px; grid-template-columns: minmax(0,1fr) 46px; gap: 6px; padding: 4px 0 7px; border-bottom: 1px solid #24384d; }[data-panel="roster"] .roster-count-row:nth-child(even) { padding-left: 12px; border-left: 1px solid #24384d; }[data-panel="roster"] .roster-count-row > span { font-size: 11px; }[data-panel="roster"] .roster-count-row input { width: 46px; min-height: 35px; padding: 0 5px; font-size: 11px; }
  .roster-build-action { align-items: stretch; flex-direction: column; }.roster-build-action .secondary-inline { width: 100%; }.roster-department-result { padding: 11px; }.roster-department-employees { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }.full-roster-card { grid-template-columns: 32px minmax(0,1fr); padding: 6px; }.full-roster-card .roster-portrait { width: 32px; height: 32px; }.full-roster-card strong { font-size: 8px; }
  .capacity-select-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 8px; }.capacity-select-grid label { font-size: 7px; }.capacity-select-grid select { padding: 0 9px; }.zone-planner { padding: 13px; }.zone-planner-heading > strong { white-space: normal; }.zone-activation-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }.zone-activation-pill { width: 100%; min-height: 46px; flex: none; justify-content: center; gap: 4px; padding: 0 5px; font-size: 7px; }.zone-activation-pill small { font-size: 5px; }.zone-map-board { min-height: 350px; grid-template-columns: 29px 29px 29px minmax(0,1fr) 29px 29px 29px; gap: 5px; padding: 6px; }.interior-map-grid { gap: 5px; }.fixed-map-zone, .flow-map-slot, .interior-map-slot { min-height: 66px; padding: 3px; }.fixed-map-zone, .flow-map-slot { overflow: hidden; }.fixed-map-zone span, .fixed-map-zone small, .fixed-map-zone i, .reserved-map-zone span, .reserved-map-zone small { writing-mode: vertical-rl; text-orientation: mixed; white-space: nowrap; overflow-wrap: normal; line-height: 1; }.fixed-map-zone span, .reserved-map-zone span, .preset-map-zone span { font-size: 7px; }.fixed-map-zone i, .fixed-map-zone small, .reserved-map-zone small, .preset-map-zone small { font-size: 5px; }.preset-map-zone span { white-space: normal; overflow-wrap: normal; word-break: normal; hyphens: none; line-height: 1.15; }.configured-layout-flow > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tour-shell { padding-bottom: 70px; }.builder-steps { gap: 12px; }.demo-workspace { display: none; }.builder-steps > .workspace-main { min-width: 0; display: flex; margin: 0 0 5px; overflow: hidden; border: 1px solid #30445d; border-radius: 20px; background: linear-gradient(180deg,#0d1828,#091321); box-shadow: 0 22px 55px rgba(0,0,0,.3); }.builder-steps > .workspace-main .workspace-toolbar { min-height: 76px; padding: 15px; }.builder-steps > .workspace-main .workspace-toolbar h2 { font-size: 22px; }.builder-steps > .workspace-main .toolbar-actions { display: none; }.builder-steps > .workspace-main .workspace-footer { padding: 15px; }.mobile-reset-button { width: 100%; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #3a4c63; border-radius: 11px; background: #152236; color: #dbe7f3; font-size: 10px; font-weight: 900; cursor: pointer; }
}
.roster-result-grid { align-items: start; }
.roster-department-employees { grid-template-columns: repeat(auto-fill,minmax(46px,1fr)); gap: 8px; }
.roster-photo-only { position: relative; display: grid; place-items: center; min-width: 0; min-height: 48px; }
.roster-photo-only .roster-portrait { width: 44px; height: 44px; border-radius: 10px; }
.roster-photo-only > i { position: absolute; right: max(1px,calc(50% - 24px)); bottom: 0; width: 9px; height: 9px; border: 2px solid #091421; border-radius: 50%; background: var(--role-color); }
[data-panel="roles"] .operations-role-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
[data-panel="roles"] .operations-role-card { padding: 16px; }
[data-panel="roles"] .operations-role-card > header { padding-bottom: 12px; }
[data-panel="roles"] .operations-role-card header strong { font-size: 13px; }
[data-panel="roles"] .operations-role-card header small { margin-top: 5px; font-size: 8px; line-height: 1.4; }
[data-panel="roles"] .operations-role-card header > span { font-size: 11px; }
[data-panel="roles"] .operations-role-card > div { gap: 9px; margin-top: 11px; }
[data-panel="roles"] .operation-assignment-row { grid-template-columns: 48px minmax(90px,1fr) minmax(130px,.9fr); gap: 10px; min-height: 68px; padding: 10px; }
[data-panel="roles"] .operation-assignment-row .roster-portrait { width: 48px; height: 48px; border-radius: 10px; }
[data-panel="roles"] .operation-assignment-row strong { font-size: 10px; }
[data-panel="roles"] .operation-assignment-row small { margin-top: 4px; font-size: 8px; }
[data-panel="roles"] .operation-assignment-row select { min-height: 42px; padding: 0 10px; font-size: 9px; }
@media (max-width: 1180px) {
  [data-panel="roles"] .operations-role-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px), (orientation: landscape) and (max-width: 1000px) {
  [data-panel="roles"] .operations-role-grid { grid-template-columns: 1fr; }
}
@media (max-width: 650px), (orientation: landscape) and (max-width: 1000px) {
  [data-panel="roles"] .operations-role-card { padding: 13px; }
  [data-panel="roles"] .operations-role-card > div { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  [data-panel="roles"] .operation-assignment-row { grid-template-columns: 38px minmax(0,1fr); align-content: start; min-height: 116px; gap: 7px; padding: 8px; }
  [data-panel="roles"] .operation-assignment-row .roster-portrait { width: 38px; height: 38px; }
  [data-panel="roles"] .operation-assignment-row strong { font-size: 9px; }
  [data-panel="roles"] .operation-assignment-row small { font-size: 6px; line-height: 1.3; }
  [data-panel="roles"] .operation-assignment-row select { grid-column: 1 / -1; min-height: 40px; padding: 0 7px; font-size: 9px; }
}
[data-panel="roles"] .operation-assignment-row.required-role { border-color: rgba(251,191,36,.48); background: rgba(146,64,14,.08); }
[data-panel="roles"] .operation-assignment-row.required-role.complete { border-color: rgba(52,211,153,.55); background: rgba(6,78,59,.12); }
[data-panel="roles"] .operation-assignment-row.required-role small { color: #fbbf24; font-weight: 850; }
[data-panel="roles"] .operation-assignment-row.required-role.complete small { color: #6ee7b7; }
[data-panel="roles"] .operation-assignment-row.required-role select { border-color: rgba(251,191,36,.52); }
[data-panel="roles"] .operation-assignment-row.required-role.complete select { border-color: rgba(52,211,153,.55); }
[data-panel="roles"] .operation-assignment-row.preset-role select:disabled { border-color: #25455a; background: #081625; color: #b9d7ea; opacity: 1; -webkit-text-fill-color: #b9d7ea; }
[data-panel="roles"] .operation-assignment-row select option:disabled { color: #53677d; }
[data-panel="team"] .team-layout-top { gap: 14px; }
[data-panel="team"] .flow-divider { gap: 15px; margin: 19px 0; font-size: 10px; }
[data-panel="team"] .operations-side-layout { gap: 14px; }
[data-panel="team"] .operations-side-layout > div { gap: 11px; padding: 16px; }
[data-panel="team"] .operations-side-layout > div > h4 { font-size: 18px; }
[data-panel="team"] .team-coverage-card { padding: 16px; border-radius: 14px; }
[data-panel="team"] .team-coverage-card > header { padding-bottom: 11px; }
[data-panel="team"] .team-coverage-card header strong { font-size: 12px; }
[data-panel="team"] .team-coverage-card header small { margin-top: 4px; font-size: 8px; line-height: 1.4; }
[data-panel="team"] .team-coverage-card header > span { font-size: 14px; }
[data-panel="team"] .team-coverage-card > div { gap: 9px; margin-top: 12px; }
[data-panel="team"] .employee-chip { gap: 8px; min-height: 52px; padding: 5px 10px 5px 5px; border-radius: 999px; }
[data-panel="team"] .employee-chip .roster-portrait.tiny { width: 42px; height: 42px; }
[data-panel="team"] .employee-chip b, [data-panel="team"] .employee-chip small { max-width: 105px; }
[data-panel="team"] .employee-chip b { font-size: 9px; }
[data-panel="team"] .employee-chip small { margin-top: 3px; font-size: 7px; }

@media (max-width: 650px), (orientation: landscape) and (max-width: 1000px) {
  [data-panel="team"] .operations-side-layout > div, [data-panel="team"] .team-coverage-card { padding: 13px; }
  [data-panel="team"] .employee-chip { min-height: 48px; padding-right: 8px; }
  [data-panel="team"] .employee-chip .roster-portrait.tiny { width: 38px; height: 38px; }
  [data-panel="team"] .employee-chip b { font-size: 8px; }
  [data-panel="team"] .employee-chip small { font-size: 6px; }
}

/* Warehouse map: carry the Step 01–02 facility into live team coverage. */
[data-panel="map"] .warehouse-assignment-map-shell { padding: 16px; border: 1px solid #293b53; border-radius: 16px; background: #07111f; }
.warehouse-assignment-map-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
.warehouse-assignment-map-heading strong { display: block; margin-top: 5px; font-size: 14px; }
.warehouse-assignment-map-heading small { color: #8297ad; font-size: 8px; }
.warehouse-assignment-map { min-height: 390px; display: grid; grid-template-columns: minmax(74px,.12fr) minmax(74px,.12fr) minmax(90px,.13fr) minmax(360px,1fr) minmax(90px,.13fr) minmax(74px,.12fr) minmax(74px,.12fr); gap: 8px; padding: 10px; border: 1px solid #25405a; border-radius: 14px; background: #050d18; }
.assignment-map-edge { display: contents; }
.assignment-interior-map { min-width: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(150px,1fr)); gap: 7px; }
.warehouse-map-zone { appearance: none; min-width: 0; min-height: 150px; display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 10px; padding: 10px; border: 1px solid #155e75; border-radius: 11px; background: rgba(8,47,73,.5); color: #eff6ff; text-align: left; cursor: pointer; transition: border-color .16s, box-shadow .16s, transform .16s; }
.warehouse-map-zone:hover { transform: translateY(-1px); }
.warehouse-map-zone.selected { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(56,189,248,.12); }
.warehouse-map-zone.available { justify-content: center; align-items: center; border-style: dashed; border-color: #334a63; background: rgba(12,23,39,.72); color: #52677d; cursor: default; text-align: center; }
.warehouse-map-zone-title, .warehouse-map-zone-title strong, .warehouse-map-zone-title small { display: block; }
.warehouse-map-zone-title strong { font-size: 10px; }
.warehouse-map-zone-title small { margin-top: 4px; color: #d1dce8; font-size: 6px; line-height: 1.35; }
.warehouse-map-faces { display: flex; flex-wrap: wrap; align-content: flex-end; gap: 5px; }
.warehouse-map-faces em { color: #9aacbe; font-size: 6px; font-style: normal; }
.warehouse-map-face { display: inline-grid; place-items: center; }
.warehouse-map-face .roster-portrait.tiny { width: 34px; height: 34px; border-radius: 50%; }
.warehouse-map-zone[data-zone-tone="lime"] { border-color: #84cc16; background: rgba(77,124,15,.34); }
.warehouse-map-zone[data-zone-tone="dock"] { border-color: #2563eb; background: rgba(30,58,138,.38); }
.warehouse-map-zone[data-zone-tone="green"] { border-color: #10b981; background: rgba(6,78,59,.34); }
.warehouse-map-zone[data-zone-tone="orange"] { border-color: #fb923c; background: rgba(249,115,22,.42); }
.warehouse-map-zone[data-zone-tone="yellow"] { border-color: #fde047; background: rgba(250,204,21,.33); }
.warehouse-map-zone[data-zone-tone="blue"] { border-color: #38bdf8; background: rgba(14,165,233,.36); }
.warehouse-map-zone[data-zone-tone="brown"] { border-color: #a16207; background: rgba(113,63,18,.42); }
.warehouse-map-zone[data-zone-tone="red"] { border-color: #ef4444; background: rgba(127,29,29,.38); }
.edge-zone, .flow-zone { min-height: 100%; }
.edge-zone .warehouse-map-faces, .flow-zone .warehouse-map-faces { justify-content: center; }
.edge-zone .warehouse-map-zone-title, .flow-zone .warehouse-map-zone-title { text-align: center; }
.map-area-detail { margin-top: 15px; padding: 18px; border: 1px solid #31506d; border-radius: 16px; background: linear-gradient(145deg,#0d1d31,#0a1422); }
.map-area-detail > header { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid #2b4057; }
.map-area-detail > header h4 { margin: 7px 0 5px; font-size: 22px; }
.map-area-detail > header p { margin: 0; color: #8da1b7; font-size: 9px; }
.map-area-detail > header > strong { align-self: center; color: var(--green); font-size: 11px; }
.map-area-detail-layout { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 14px; }
.map-area-team { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-content: start; gap: 9px; }
.map-detail-person { min-width: 0; display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: center; gap: 10px; padding: 10px; border: 1px solid #2a4057; border-radius: 11px; background: #07111f; }
.map-detail-person .roster-portrait { width: 48px; height: 48px; border-radius: 10px; }
.map-detail-person strong, .map-detail-person small, .map-detail-person span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-detail-person strong { font-size: 10px; }
.map-detail-person small { margin-top: 3px; color: #b1c1d1; font-size: 8px; }
.map-detail-person div > span { margin-top: 4px; color: var(--cyan); font-size: 7px; }
[data-panel="map"] .map-tool-drawer { padding: 16px; }
[data-panel="map"] #toolDrawerApps { grid-template-columns: repeat(4,minmax(0,1fr)); }
[data-panel="map"] #toolDrawerApps button { min-height: 52px; }

@media (max-width: 1180px) {
  .warehouse-assignment-map { grid-template-columns: 60px 60px 72px minmax(300px,1fr) 72px 60px 60px; }
  .map-area-detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 820px), (orientation: landscape) and (max-width: 1000px) {
  .warehouse-assignment-map { min-height: 460px; grid-template-columns: 44px 44px 52px minmax(240px,1fr) 52px 44px 44px; gap: 5px; padding: 6px; overflow: hidden; }
  .assignment-interior-map { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(3,minmax(120px,1fr)); gap: 5px; }
  .warehouse-map-zone { min-height: 120px; padding: 6px; }
  .warehouse-map-zone-title strong { font-size: 8px; }
  .warehouse-map-face .roster-portrait.tiny { width: 28px; height: 28px; }
  .map-area-team { grid-template-columns: repeat(2,minmax(0,1fr)); }
  [data-panel="map"] #toolDrawerApps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px), (orientation: landscape) and (max-width: 1000px) {
  [data-panel="map"] .warehouse-assignment-map-shell { padding: 10px; }
  .warehouse-assignment-map-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .warehouse-assignment-map { min-height: 400px; grid-template-columns: 29px 29px 34px minmax(0,1fr) 34px 29px 29px; gap: 4px; padding: 5px; }
  .assignment-interior-map { gap: 4px; }
  .warehouse-map-zone { min-height: 108px; gap: 5px; padding: 4px; border-radius: 8px; }
  .warehouse-map-zone-title strong { font-size: 7px; line-height: 1.1; }
  .warehouse-map-zone-title small { font-size: 5px; }
  .edge-zone .warehouse-map-zone-title, .flow-zone .warehouse-map-zone-title { align-self: center; writing-mode: vertical-rl; text-orientation: mixed; white-space: nowrap; }
  .edge-zone .warehouse-map-zone-title small, .flow-zone .warehouse-map-zone-title small { margin-top: 3px; }
  .edge-zone .warehouse-map-faces, .flow-zone .warehouse-map-faces { align-content: center; justify-content: center; }
  .edge-zone .warehouse-map-face .roster-portrait.tiny, .flow-zone .warehouse-map-face .roster-portrait.tiny { width: 21px; height: 21px; }
  .interior-zone .warehouse-map-face .roster-portrait.tiny { width: 29px; height: 29px; }
  .warehouse-map-faces { gap: 3px; }
  .map-area-detail { padding: 13px; }
  .map-area-detail > header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .map-area-detail > header > strong { align-self: flex-start; }
  .map-area-detail > header h4 { font-size: 19px; }
  .map-area-team { grid-template-columns: 1fr; }
  [data-panel="map"] #toolDrawerApps button { min-height: 48px; padding: 0 9px; }
  [data-panel="map"] #toolDrawerApps button em { display: none; }
}

@media (max-width: 1180px) {
  .outro-app-showcase { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .outro-roadmap-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 820px), (orientation: landscape) and (max-width: 1000px) {
  .outro-app-showcase { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .outro-roadmap-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 560px), (orientation: landscape) and (max-width: 1000px) {
  .demo-outro { padding: 72px 0 88px; }
  .demo-outro h2 { font-size: 34px; }
  .demo-outro > .outro-copy { font-size: 14px; }
  .outro-development-status { grid-template-columns: 46px minmax(0,1fr); gap: 11px; padding: 13px; }
  .outro-development-status > span { width: 46px; height: 46px; border-radius: 11px; font-size: 14px; }
  .outro-development-status strong { font-size: 11px; }
  .outro-development-status p { font-size: 8px; }
  .outro-app-showcase { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 28px; }
  .outro-app-showcase article { min-height: 94px; padding: 11px 7px; }
  .outro-app-showcase article > span { width: 39px; height: 39px; font-size: 16px; }
  .outro-app-showcase article > strong { font-size: 9px; }
  .outro-roadmap { margin-top: 34px; padding-top: 26px; }
  .outro-roadmap h3 { font-size: 19px; }
  .outro-roadmap-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; margin-top: 16px; }
  .outro-roadmap-grid article { min-height: 74px; grid-template-columns: 1fr; justify-items: center; align-content: center; gap: 5px; padding: 6px 4px; text-align: center; }
  .outro-roadmap-grid article > span { width: 29px; height: 29px; font-size: 12px; }
  .outro-roadmap-grid article > strong { font-size: 7px; }
}
@media (max-width: 400px) {
  .outro-roadmap-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width:760px) { .site-header { width:100%; margin-inline:0; padding-inline:14px; } }
