:root {
  color-scheme: light;
  --ink: #202936;
  --muted: #75808c;
  --soft: #edf2f4;
  --panel: rgba(255, 255, 255, .78);
  --panel-strong: #f8fafb;
  --line: rgba(142, 157, 170, .24);
  --blue: #2f8cff;
  --green: #22b35f;
  --green-soft: #dff5e8;
  --red: #ef4444;
  --yellow: #f59e0b;
  --primary: #0175c2;
  --surface: rgba(255, 255, 255, .6);
  --surface-strong: rgba(255, 255, 255, .84);
  --outline: rgba(142, 157, 170, .28);
  --shadow: 0 18px 40px rgba(47, 68, 88, .12);
  --blur: blur(18px);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
}

body {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Noto Sans Myanmar", Pyidaungsu, "Myanmar Text", Segoe UI, Arial, sans-serif;
  background:
    radial-gradient(circle at 74% 18%, rgba(47, 140, 255, .08), transparent 26%),
    linear-gradient(135deg, #f5f8f9 0%, #e7eef1 100%);
}

button,
select {
  font: inherit;
}

button {
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell {
  min-height: 100vh;
  padding: 22px;
}

.login-page {
  min-height: 100vh;
  padding: 24px;
  display: grid;
  place-items: center;
}

.login-page[hidden],
.app-shell[hidden] {
  display: none;
}

.login-shell {
  width: min(100%, 440px);
}

.login-panel {
  display: grid;
  gap: 24px;
  border: 1px solid var(--outline);
  border-radius: 12px;
  padding: 24px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 40px rgba(47,68,88,.12);
  backdrop-filter: var(--blur);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-brand strong,
.login-brand small {
  display: block;
}

.login-brand small {
  color: var(--muted);
  font-size: .78rem;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form h1 {
  margin: 0;
  font-size: 1.75rem;
  letter-spacing: 0;
}

.login-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}

.login-form input {
  min-height: 44px;
  border: 1px solid var(--outline);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: rgba(255,255,255,.82);
  outline: 0;
}

.login-form input:focus {
  border-color: rgba(1,117,194,.45);
  box-shadow: 0 0 0 3px rgba(1,117,194,.10);
}

.login-form button {
  min-height: 44px;
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
  cursor: pointer;
  font-weight: 800;
}

.login-form small {
  color: var(--muted);
  line-height: 1.4;
}

.topbar {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(320px, 1fr) minmax(360px, auto);
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 14px);
  gap: 3px;
}

.brand-mark i {
  display: block;
  height: 20px;
  border-radius: 4px;
  background: var(--blue);
  transform: skew(-18deg);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: .88rem;
}

.brand small {
  color: var(--muted);
  font-size: .62rem;
}

.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--outline);
  border-radius: 16px;
  background: var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-tab,
.icon-button,
.tiny-button {
  border-radius: 8px;
  color: #55616f;
  background: rgba(255, 255, 255, .52);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
  cursor: pointer;
}

.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  font-size: .88rem;
  font-weight: 700;
}

.material-icon {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: currentColor;
  pointer-events: none;
}

.material-icon svg {
  width: 100%;
  height: 100%;
}

.material-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.material-icon path:first-child {
  fill: none;
}

.nav-tab.is-active,
.nav-tab:hover {
  color: var(--primary);
  background: rgba(1, 117, 194, .08);
  box-shadow: inset 0 0 0 1px rgba(1, 117, 194, .18);
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
  flex-wrap: wrap;
}

.icon-button,
.tiny-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  font-weight: 800;
}

.icon-button .material-icon,
.tiny-button .material-icon {
  width: 18px;
  height: 18px;
}

.tiny-button {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.create-nav-shell {
  position: relative;
  z-index: 55;
  display: grid;
  place-items: center;
}

.entry-modal-open .create-nav-shell {
  display: none;
}

.create-fab {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 12px 26px rgba(1, 117, 194, .28);
  cursor: pointer;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
}

.create-fab .material-icon {
  width: 25px;
  height: 25px;
}

.create-fab:hover,
.create-fab[aria-expanded="true"] {
  background: #0065a8;
}

.create-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 45;
  display: grid;
  min-width: 160px;
  padding: 8px;
  border: 1px solid var(--outline);
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 42px rgba(47, 68, 88, .16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.create-menu[hidden] {
  display: none;
}

.create-menu button {
  min-height: 40px;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-weight: 700;
}

.create-menu button:hover {
  color: var(--primary);
  background: rgba(1, 117, 194, .08);
}

.language-picker {
  position: relative;
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--outline);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.language-picker svg {
  width: 21px;
  height: 21px;
  pointer-events: none;
}

.language-picker circle,
.language-picker path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.language-picker select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

main,
section,
article,
aside,
div {
  min-width: 0;
}

.page {
  display: none;
}

.page.is-active {
  display: block;
}

.hero-row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  margin-bottom: 20px;
}

.warehouse-title {
  display: flex;
  align-items: center;
  gap: 18px;
}

.back-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: #6e7986;
  background: rgba(255,255,255,.72);
  cursor: pointer;
  font-size: 1.6rem;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 2.15rem;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  font-size: 2rem;
  letter-spacing: 0;
}

.warehouse-title span,
.section-heading > span,
.card-head span,
.analytics-card small {
  color: var(--muted);
  font-size: .84rem;
}

.section-heading .eyebrow,
.section-heading > span {
  display: none;
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.kpi-strip article {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 3px 14px;
}

.kpi-strip strong {
  grid-row: span 2;
  font-size: 2rem;
  line-height: .95;
}

.mini-bars {
  display: flex;
  align-items: end;
  gap: 3px;
  height: 34px;
}

.mini-bars::before {
  content: "";
  width: 76px;
  height: 30px;
  background: repeating-linear-gradient(90deg, rgba(47,140,255,.34) 0 3px, transparent 3px 7px);
  mask: linear-gradient(to top, transparent 0 10%, #000 10% 100%);
}

.mini-bars.is-green::before {
  background: repeating-linear-gradient(90deg, rgba(34,179,95,.42) 0 3px, transparent 3px 7px);
}

.mini-bars.is-red::before {
  background: repeating-linear-gradient(90deg, rgba(239,68,68,.42) 0 3px, transparent 3px 7px);
}

.operations-canvas {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(520px, 58vh) auto 210px;
  gap: 18px;
}

.prd-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.report-panel,
.analytics-card,
.fleet-card,
.warehouse-card,
.stock-ledger {
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
}

.report-panel {
  z-index: 2;
  grid-column: 1 / -1;
  grid-row: 2;
  padding: 18px;
}

.panel-heading,
.card-head,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-heading p {
  margin-bottom: 4px;
  font-size: .94rem;
}

.panel-heading strong {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 14px;
}

.filter-row span,
.pill {
  border-radius: 999px;
  padding: 8px 12px;
  color: #5e6a78;
  background: rgba(255,255,255,.72);
  font-size: .78rem;
}

.dot::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--green);
}

.dot.employed::before {
  background: var(--red);
}

.operation-list,
.fleet-grid,
.warehouse-grid,
.stock-grid {
  display: grid;
  gap: 14px;
}

.operation-tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 13px;
  background: rgba(239,245,247,.86);
}

.operation-tabs button {
  border-radius: 9px;
  padding: 8px 11px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.operation-tabs button.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 18px rgba(61,84,102,.08);
}

.notion-filter-bar {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 14px;
  padding: 10px;
  border: 1px solid rgba(117,128,140,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.48);
}

.notion-filter-bar label {
  display: grid;
  gap: 5px;
  min-width: 138px;
  flex: 1 1 138px;
}

.notion-filter-bar label::before {
  display: none;
}

.notion-filter-bar span {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
}

.notion-filter-bar input,
.notion-filter-bar select {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(117,128,140,.18);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: rgba(255,255,255,.76);
  outline: 0;
}

.notion-filter-bar input:focus,
.notion-filter-bar select:focus {
  border-color: rgba(1,117,194,.45);
  box-shadow: 0 0 0 3px rgba(1,117,194,.10);
}

.filter-clear-button {
  min-height: 38px;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--muted);
  background: rgba(239,245,247,.86);
  cursor: pointer;
  font-weight: 800;
}

.filter-clear-button:hover {
  color: var(--primary);
  background: rgba(1,117,194,.08);
}

.operations-table {
  display: grid;
  gap: 8px;
}

.operations-head,
.operation-row {
  display: grid;
  grid-template-columns: 120px 160px minmax(180px, 1fr) 155px 105px 135px;
  align-items: center;
  gap: 12px;
}

.operations-head {
  padding: 0 14px 5px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
}

.operation-row {
  position: relative;
  border: 1px solid rgba(117,128,140,.12);
  border-radius: 12px;
  padding: 12px 64px 14px 14px;
  background: rgba(255,255,255,.74);
}

.operation-row .card-status-actions,
.operation-row .operation-actions {
  grid-column: 1 / -1;
}

.operation-row span {
  color: #4c5a66;
}

.operation-row b {
  color: var(--ink);
}

.operation-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.operation-actions button {
  min-height: 44px;
  border-radius: 8px;
  padding: 0 16px;
  color: var(--primary);
  background: rgba(1, 117, 194, .08);
  box-shadow: inset 0 0 0 1px rgba(1, 117, 194, .22);
  cursor: pointer;
  font-size: .88rem;
  font-weight: 700;
}

.operation-actions .icon-action,
.icon-action {
  display: inline-grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  padding: 0;
  color: var(--muted);
  background: rgba(255,255,255,.72);
  box-shadow: inset 0 0 0 1px var(--outline);
  cursor: pointer;
}

.icon-action svg {
  width: 18px;
  height: 18px;
}

.icon-action path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-action:hover {
  color: var(--primary);
  background: rgba(1,117,194,.08);
}

.operation-edit-action {
  position: absolute;
  top: 10px;
  right: 10px;
}

.operation-days {
  justify-self: end;
  padding-right: 2px;
  color: var(--muted);
  font-size: .82rem;
}

.card-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 6px;
}

.status-chip-action {
  min-height: 36px;
  border-radius: 8px;
  padding: 0 12px;
  color: #4b5966;
  background: rgba(244,244,245,.92);
  box-shadow: inset 0 0 0 1px rgba(117,128,140,.16);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 800;
}

.status-chip-action:hover {
  color: var(--primary);
  background: rgba(1,117,194,.08);
}

.status-chip-action.is-current,
.status-chip-action:disabled {
  color: #fff;
  background: var(--primary);
  box-shadow: none;
  cursor: not-allowed;
}

.preview-more,
.operations-more-button,
.secondary-button {
  min-height: 44px;
  border-radius: 8px;
  padding: 0 20px;
  color: #4f5a66;
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 0 0 1px var(--outline);
  cursor: pointer;
  font-size: .88rem;
  font-weight: 700;
}

.preview-more:hover,
.operations-more-button:hover,
.secondary-button:hover,
.operation-actions button:hover {
  color: var(--primary);
  background: rgba(1, 117, 194, .08);
}

.back-icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 0 0 1px var(--outline);
  cursor: pointer;
}

.back-icon-button:hover {
  color: var(--primary);
  background: rgba(1, 117, 194, .08);
}

.back-icon-button svg {
  width: 22px;
  height: 22px;
}

.back-icon-button path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.operations-more-button {
  justify-self: start;
  margin-top: 10px;
}

.operations-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
}

.operations-main-panel,
.operation-detail-panel,
.fleet-panel,
.account-panel,
.account-card {
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  padding: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
}

.time-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .82rem;
}

.time-filter select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
  background: #fff;
}

.operation-row.is-selected {
  border-color: rgba(47,140,255,.35);
  box-shadow: 0 10px 24px rgba(47,140,255,.1);
}

.route-vector {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.route-vector em {
  overflow: hidden;
  text-overflow: ellipsis;
  font-style: normal;
  white-space: nowrap;
}

.route-vector svg {
  width: 46px;
  min-width: 32px;
  height: 16px;
  color: var(--primary);
}

.route-vector path,
.route-vector circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-vector circle {
  fill: currentColor;
}

.operation-detail-panel {
  align-self: start;
  position: sticky;
  top: 16px;
}

.detail-header strong,
.detail-header small,
.detail-list dt,
.detail-list dd {
  display: block;
}

.detail-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: start;
  gap: 12px;
  margin-bottom: 16px;
}

.detail-edit-action {
  justify-self: end;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.detail-list dt,
.detail-loads span {
  color: var(--muted);
  font-size: .76rem;
}

.detail-list dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.detail-loads p {
  margin: 8px 0;
  border-radius: 12px;
  padding: 10px;
  background: rgba(255,255,255,.66);
}

.detail-loads small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.relay-note {
  margin: 12px 0 0;
  border-radius: 12px;
  padding: 10px 12px;
  color: #4b5966;
  background: rgba(1,117,194,.08);
  font-size: .84rem;
  font-weight: 700;
}

.relay-transfer-button {
  margin-top: 12px;
}

.operation-card {
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,.72);
}

.op-top,
.fleet-top,
.warehouse-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.vehicle-icon {
  display: inline-grid;
  width: 34px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  color: #4e5b68;
  background: #eef2f4;
  font-weight: 900;
}

.operation-card strong,
.fleet-card strong,
.warehouse-card strong {
  display: block;
  margin-bottom: 3px;
}

.operation-card small,
.fleet-card small,
.warehouse-card small {
  color: var(--muted);
}

.load-meter {
  margin-top: 14px;
}

.meter-line {
  position: relative;
  height: 4px;
  margin-top: 8px;
  border-radius: 999px;
  background: #d7dfe4;
}

.meter-line i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  border-radius: inherit;
  background: var(--green);
}

.meter-line.is-red i {
  background: var(--red);
}

.map-panel {
  position: relative;
  grid-column: 1 / -1;
  grid-row: 1;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(239, 245, 247, .72);
}

.map-toolbar {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 14px;
  padding: 8px;
  background: rgba(255,255,255,.66);
  color: var(--muted);
}

.map-zoom-controls {
  display: flex;
  gap: 6px;
}

.map-zoom-controls .tiny-button {
  min-width: 34px;
  font-size: .8rem;
}

.warehouse-map {
  position: absolute;
  inset: 0;
  min-height: 520px;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.warehouse-map.is-panning {
  cursor: grabbing;
}

.myanmar-map-stage {
  position: absolute;
  inset: 28px 285px 28px 52px;
  display: grid;
  place-items: center;
  transform-origin: var(--focus-x) var(--focus-y);
  transition: transform .35s ease, filter .35s ease;
  transform: translate3d(var(--pan-x, 0), var(--pan-y, 0), 0) scale(var(--map-scale, 1));
}

.myanmar-map-stage.is-zoomed {
  transform: translate3d(var(--pan-x, 0), var(--pan-y, 0), 0) scale(var(--map-scale, 1.08));
}

.myanmar-map-frame {
  position: relative;
  height: 100%;
  max-height: 520px;
  aspect-ratio: 260 / 520;
}

.myanmar-outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(18px 18px 22px rgba(61, 84, 102, .16));
}

.myanmar-outline path {
  fill: rgba(255,255,255,.78);
  stroke: rgba(34,179,95,.64);
  stroke-width: 2.2;
  vector-effect: non-scaling-stroke;
}

.highway-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.highway-route {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  opacity: .86;
  filter: drop-shadow(0 5px 7px rgba(61,84,102,.16));
  vector-effect: non-scaling-stroke;
}

.highway-route.expressway {
  stroke: var(--blue);
  stroke-width: 4;
}

.highway-route.trunk {
  stroke: var(--green);
}

.highway-route.primary {
  stroke: #f59e0b;
}

.highway-route.arterial {
  stroke: #7c3aed;
}

.highway-route.secondary {
  stroke: var(--red);
  stroke-dasharray: 6 5;
}

.map-pin {
  position: absolute;
  display: block;
  width: 18px;
  min-width: 0;
  height: 18px;
  padding: 0;
  color: #4c5a66;
  background: transparent;
  border: 0;
  transform: translate(-50%, -100%);
  cursor: pointer;
  z-index: 3;
}

.map-pin span {
  display: block;
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-radius: 999px 999px 999px 2px;
  background: var(--green);
  box-shadow: 0 8px 18px rgba(34,179,95,.32);
  transform: rotate(-45deg);
  pointer-events: none;
}

.map-pin b {
  position: absolute;
  top: 24px;
  left: 50%;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255,255,255,.82);
  font-size: .76rem;
  box-shadow: 0 8px 18px rgba(61,84,102,.1);
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.map-pin.label-left b {
  transform: translateX(calc(-100% - 10px));
}

.map-pin.label-right b {
  transform: translateX(10px);
}

.map-pin.label-top b {
  top: auto;
  bottom: 28px;
  transform: translateX(-50%);
}

.map-pin.is-active span {
  background: var(--blue);
  box-shadow: 0 8px 22px rgba(47,140,255,.38);
}

.map-pin.is-active b {
  color: var(--ink);
  background: #fff;
}

.map-pin:hover b,
.map-pin:focus-visible b,
.map-pin.is-active b {
  opacity: 1;
  visibility: visible;
}

.route-legend {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 4;
  width: min(250px, calc(100% - 340px));
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 14px 34px rgba(61,84,102,.1);
  backdrop-filter: var(--blur);
}

.route-legend small {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
}

.route-legend span {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 8px;
  margin: 5px 0;
  color: #4c5a66;
  font-size: .74rem;
  line-height: 1.2;
}

.route-legend span::before {
  content: "";
  display: block;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
}

.route-legend span.expressway::before {
  height: 4px;
  background: var(--blue);
}

.route-legend span.trunk::before {
  background: var(--green);
}

.route-legend span.primary::before {
  background: #f59e0b;
}

.route-legend span.arterial::before {
  background: #7c3aed;
}

.route-legend span.secondary::before {
  background: repeating-linear-gradient(90deg, var(--red) 0 6px, transparent 6px 10px);
}

.map-detail-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 4;
  width: min(290px, calc(100% - 44px));
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
}

.map-detail-card small,
.map-detail-card span,
.map-detail-card dt {
  color: var(--muted);
}

.map-detail-card strong {
  display: block;
  margin: 4px 0;
  font-size: 1.1rem;
}

.map-detail-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.map-detail-card dt {
  font-size: .74rem;
}

.map-detail-card dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.map-stock-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.map-stock-list span {
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(239,245,247,.9);
  font-size: .76rem;
}

.warehouse-more-button {
  width: 100%;
  margin-top: 14px;
  border-radius: 12px;
  padding: 11px 14px;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
}

.route-line {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
}

.route-line::before,
.route-line::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: inherit;
}

.route-line::before {
  left: -2px;
}

.route-line::after {
  right: -2px;
}

.route-line.is-red {
  background: var(--red);
}

.route-line.one {
  left: 12%;
  top: 24%;
  width: 42%;
}

.route-line.two {
  left: 38%;
  top: 52%;
  width: 44%;
}

.route-line.three {
  left: 8%;
  top: 70%;
  width: 74%;
}

.warehouse-block {
  position: absolute;
  display: grid;
  gap: 4px;
  width: 160px;
  height: 100px;
  border-radius: 6px;
  padding: 10px;
  background: #fff;
  box-shadow: 18px 22px 26px rgba(61, 84, 102, .18);
}

.warehouse-block::before {
  content: "";
  display: block;
  height: 100%;
  background:
    linear-gradient(#fff 2px, transparent 2px),
    linear-gradient(90deg, #fff 2px, transparent 2px),
    var(--blue);
  background-size: 20px 20px;
  opacity: .95;
}

.warehouse-block.block-1 {
  left: 7%;
  top: 16%;
}

.warehouse-block.block-2 {
  left: 40%;
  top: 16%;
}

.warehouse-block.block-3 {
  right: 10%;
  top: 17%;
}

.warehouse-block.block-4 {
  left: 24%;
  bottom: 12%;
  width: 130px;
  height: 74px;
}

.warehouse-block.block-5 {
  right: 20%;
  bottom: 12%;
  width: 130px;
  height: 74px;
}

.bot-node {
  position: absolute;
  display: grid;
  width: 54px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #6fd789, #23a851);
  box-shadow: 0 14px 24px rgba(34,179,95,.25);
  font-weight: 900;
}

.bot-node.one {
  left: 24%;
  top: 45%;
}

.bot-node.two {
  left: 55%;
  top: 43%;
}

.bot-node.three {
  right: 16%;
  bottom: 23%;
}

.alert-node {
  position: absolute;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--red);
  background: rgba(255,255,255,.8);
  box-shadow: var(--shadow);
  font-weight: 900;
}

.alert-node.one {
  left: 35%;
  top: 46%;
}

.alert-node.two {
  right: 30%;
  top: 31%;
}

.analytics-card {
  padding: 20px;
}

.analytics-card strong {
  font-size: 1.9rem;
}

.prd-kpi-card {
  min-height: 148px;
}

.prd-kpi-card span,
.manifest-meta span {
  color: var(--muted);
  font-size: .82rem;
}

.prd-kpi-card strong {
  display: block;
  margin: 12px 0 4px;
}

.manifest-meta {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.validation-note {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: .78rem;
}

.validation-note.is-blocked {
  color: var(--red);
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 90px;
  margin-top: 20px;
}

.bar-chart i {
  flex: 1;
  max-width: 8px;
  border-radius: 999px 999px 0 0;
  background: var(--green);
}

.line-chart {
  position: relative;
  height: 96px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(transparent 23px, rgba(117,128,140,.12) 24px),
    linear-gradient(90deg, transparent 23px, rgba(117,128,140,.12) 24px);
  background-size: 24px 24px;
}

.line-chart svg {
  width: 100%;
  height: 100%;
}

.section-heading {
  margin: 10px 0 22px;
}

.fleet-grid {
  grid-template-columns: 280px 320px minmax(0, 1fr);
}

.fleet-panel {
  display: grid;
  align-content: start;
  gap: 10px;
}

.fleet-panel h3 {
  margin: 0 0 4px;
}

.company-row,
.car-row,
.company-history {
  border: 1px solid rgba(117,128,140,.12);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255,255,255,.7);
}

.company-row,
.car-row {
  cursor: pointer;
}

.company-row.is-selected,
.car-row.is-selected {
  border-color: rgba(1, 117, 194, .22);
  background: rgba(1, 117, 194, .07);
  box-shadow: 0 10px 24px rgba(1, 117, 194, .08);
}

.company-row,
.car-row {
  display: grid;
  gap: 4px;
}

.row-detail-button {
  display: none;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 16px;
  color: var(--primary);
  background: rgba(1, 117, 194, .08);
  box-shadow: inset 0 0 0 1px rgba(1, 117, 194, .22);
  cursor: pointer;
  font-weight: 700;
}

.company-row .row-detail-button {
  display: inline-grid;
  width: max-content;
  place-items: center;
  margin-top: 6px;
}

.company-row span,
.company-row b,
.car-row span,
.car-row small,
.company-history span,
.company-history-list p {
  color: var(--muted);
}

.fleet-history-panel {
  max-height: 640px;
  overflow: auto;
}

.fleet-record-tabs {
  display: flex;
  gap: 8px;
  margin: 14px 0 10px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(239,245,247,.86);
}

.fleet-record-tabs button {
  min-height: 38px;
  border-radius: 10px;
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.fleet-record-tabs button.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 18px rgba(61,84,102,.08);
}

.company-history-list p {
  margin: 8px 0 0;
  border-radius: 10px;
  padding: 8px;
  background: rgba(239,245,247,.72);
  font-size: .82rem;
}

.company-history-list p b,
.company-history-list p span,
.company-history-list p small {
  display: block;
}

.company-history-list p b {
  color: var(--ink);
}

.fleet-card,
.warehouse-card,
.stock-ledger {
  padding: 20px;
}

.fleet-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  color: #4d5965;
}

.fleet-route b {
  display: block;
  color: var(--ink);
}

.route-arrow {
  width: 42px;
  height: 2px;
  background: var(--green);
}

.payload-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.status-actions button {
  border-radius: 999px;
  padding: 8px 11px;
  color: #4b5966;
  background: rgba(255,255,255,.72);
  cursor: pointer;
}

.status-actions button:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.status-badge {
  border-radius: 999px;
  padding: 7px 10px;
  color: #fff !important;
  background: var(--yellow);
  font-size: .75rem;
  font-weight: 800;
}

.status-badge.in-transit {
  background: var(--blue);
}

.status-badge.delivered-unloaded {
  background: var(--green);
}

.status-badge.transferred-relay {
  background: #6366f1;
}

.status-badge.cancelled-delayed {
  background: var(--red);
}

.warehouse-workspace {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
}

.warehouse-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-right: 1px solid rgba(117,128,140,.16);
  background: rgba(239,245,247,.54);
}

.warehouse-list-item {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 13px;
  text-align: left;
  color: #4c5a66;
  background: transparent;
  cursor: pointer;
}

.warehouse-list-item:hover,
.warehouse-list-item.is-active {
  border-color: rgba(47,140,255,.18);
  background: #fff;
  box-shadow: 0 10px 24px rgba(61,84,102,.08);
}

.warehouse-list-item strong {
  color: var(--ink);
}

.warehouse-list-item span,
.warehouse-list-item small {
  color: var(--muted);
}

.warehouse-list-item em {
  width: max-content;
  margin-top: 4px;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--primary);
  background: rgba(1,117,194,.08);
  box-shadow: inset 0 0 0 1px rgba(1,117,194,.16);
  font-size: .78rem;
  font-style: normal;
  font-weight: 800;
}

.warehouse-detail-shell {
  padding: 22px;
}

.warehouse-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.warehouse-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.warehouse-head-actions > button {
  border-radius: 10px;
  padding: 9px 11px;
  color: #4c5a66;
  background: rgba(239,245,247,.9);
  cursor: pointer;
}

.warehouse-detail-head h3 {
  margin: 4px 0;
  font-size: 1.35rem;
}

.warehouse-detail-head span {
  color: var(--muted);
}

.warehouse-tabs {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(239,245,247,.86);
}

.warehouse-tabs button {
  border-radius: 10px;
  padding: 9px 12px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.warehouse-tabs button.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 18px rgba(61,84,102,.08);
}

.warehouse-manifest-table {
  display: grid;
  gap: 8px;
}

.manifest-table-head,
.manifest-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(130px, .9fr) minmax(110px, .7fr) minmax(110px, .7fr);
  align-items: center;
  gap: 12px;
}

.manifest-table-head {
  padding: 0 14px 8px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}

.manifest-row,
.movement-row {
  border: 1px solid rgba(117,128,140,.12);
  border-radius: 12px;
  padding: 13px 14px;
  background: rgba(255,255,255,.72);
}

.manifest-row strong,
.manifest-row small {
  display: block;
}

.manifest-row small,
.manifest-row span,
.movement-row small,
.movement-row span {
  color: var(--muted);
}

.manifest-row b,
.movement-row b {
  color: var(--ink);
}

.warehouse-history-list {
  display: grid;
  gap: 9px;
}

.movement-row {
  display: grid;
  grid-template-columns: 96px minmax(180px, 1fr) minmax(130px, auto) minmax(110px, auto);
  align-items: center;
  gap: 14px;
}

.movement-type {
  width: max-content;
  border-radius: 999px;
  padding: 7px 10px;
  color: #fff !important;
  background: var(--green);
  font-size: .72rem;
  font-weight: 800;
}

.movement-row.outgoing .movement-type {
  background: var(--blue);
}

.empty-state {
  margin: 0;
  border: 1px dashed rgba(117,128,140,.26);
  border-radius: 14px;
  padding: 28px;
  color: var(--muted);
  background: rgba(255,255,255,.52);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(24,34,42,.28);
  backdrop-filter: blur(10px);
}

.modal-backdrop[hidden] {
  display: none;
}

.entry-modal {
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  padding: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 28px 80px rgba(61,84,102,.22);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.modal-head h3 {
  margin: 0;
}

.entry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.load-lines {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(117,128,140,.14);
  border-radius: 14px;
  padding: 12px;
  background: rgba(239,245,247,.55);
}

.load-line {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(140px, .8fr) 110px;
  gap: 10px;
}

.secondary-action {
  width: max-content;
  border-radius: 999px;
  padding: 10px 13px;
  color: #4c5a66;
  background: #dfe5e9;
  cursor: pointer;
}

.entry-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}

.max-available {
  color: var(--primary);
  font-size: .74rem;
  font-weight: 800;
}

.entry-form input,
.entry-form select {
  width: 100%;
  border: 1px solid rgba(117,128,140,.18);
  border-radius: 11px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.form-actions button {
  border-radius: 11px;
  padding: 11px 14px;
  color: #4c5a66;
  background: rgba(239,245,247,.9);
  cursor: pointer;
}

.form-actions button[type="submit"] {
  color: #fff;
  background: var(--ink);
}

.account-panel {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
  gap: 14px;
}

.account-card {
  box-shadow: none;
}

.profile-card,
.permissions-panel,
.user-card {
  border: 1px solid var(--outline);
  border-radius: 12px;
  background: rgba(255,255,255,.78);
}

.profile-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px;
}

.profile-card .danger-button {
  grid-column: 1 / -1;
  justify-self: start;
}

.profile-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  color: var(--primary);
  background: rgba(1,117,194,.12);
  font-weight: 800;
}

.profile-avatar.is-small {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  font-size: .9rem;
}

.profile-card h3,
.permissions-panel h3 {
  margin: 0;
  font-size: 1rem;
}

.danger-button {
  color: #fff !important;
  background: var(--red) !important;
  box-shadow: none !important;
}

.permissions-panel {
  grid-row: span 2;
  padding: 16px;
}

.permissions-head,
.user-card-head,
.user-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.permissions-head {
  margin-bottom: 14px;
}

.permissions-head > span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

.user-permission-list {
  display: grid;
  gap: 12px;
}

.user-card {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.user-card-head {
  justify-content: flex-start;
}

.user-card-head span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .82rem;
}

.user-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.user-fields label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
}

.user-fields input {
  min-height: 40px;
  border: 1px solid var(--outline);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
}

.permission-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.warehouse-access-block {
  display: grid;
  gap: 8px;
}

.warehouse-access-block > span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
}

.permission-chip {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--outline);
  border-radius: 8px;
  padding: 0 12px;
  color: #4b5966;
  background: rgba(244,244,245,.9);
  cursor: pointer;
  font-size: .8rem;
  font-weight: 800;
}

.permission-chip .material-icon {
  width: 15px;
  height: 15px;
}

.permission-chip.is-selected {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
}

.permission-chip:disabled,
.user-fields input:disabled {
  opacity: .62;
  cursor: not-allowed;
}

.account-flow-card {
  display: grid;
  gap: 10px;
}

.account-flow-card .secondary-button {
  justify-self: start;
}

.mobile-account-panel {
  box-shadow: none;
}

.mobile-users-list-panel {
  grid-column: 1 / -1;
}

.mobile-user-list {
  display: grid;
  gap: 10px;
}

.mobile-user-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 1px solid var(--outline);
  border-radius: 12px;
  padding: 12px;
  text-align: left;
  color: var(--ink);
  background: rgba(255,255,255,.82);
  cursor: pointer;
}

.mobile-user-row strong,
.mobile-user-row small {
  display: block;
}

.mobile-user-row small {
  margin-top: 3px;
  color: var(--muted);
}

.mobile-user-row em {
  border-radius: 8px;
  padding: 7px 9px;
  color: var(--primary);
  background: rgba(1,117,194,.08);
  font-size: .76rem;
  font-style: normal;
  font-weight: 800;
}

.account-card strong,
.account-card span,
.account-card small {
  display: block;
}

.account-card span,
.account-card small {
  margin-top: 6px;
  color: var(--muted);
}

.account-language-control {
  display: block;
  margin-top: 12px;
}

.account-language-control select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--outline);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: rgba(255,255,255,.78);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .topbar,
  .hero-row,
  .operations-canvas {
    grid-template-columns: 1fr;
  }

  .topbar {
    justify-items: start;
  }

  .nav-tabs {
    justify-content: start;
    overflow-x: auto;
    width: 100%;
  }

  .top-actions {
    justify-content: start;
  }

  .report-panel {
    grid-row: auto;
  }

  .operations-canvas {
    grid-template-columns: 1fr;
    grid-template-rows: 520px auto auto auto;
  }

  .operations-head {
    display: none;
  }

  .operation-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fleet-grid,
  .warehouse-grid,
  .stock-grid,
  .operations-workspace,
  .account-panel,
  .kpi-strip,
  .prd-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .operations-workspace,
  .fleet-grid {
    grid-template-columns: 1fr;
  }

  .operation-detail-panel {
    position: static;
  }

  .user-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .warehouse-workspace {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .warehouse-detail-head,
  .movement-row {
    grid-template-columns: 1fr;
  }

  .warehouse-detail-head {
    display: grid;
  }

  .manifest-table-head,
  .manifest-row {
    grid-template-columns: minmax(160px, 1fr) minmax(120px, .8fr) minmax(100px, .7fr) minmax(100px, .7fr);
  }

  .load-line {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .app-shell {
    padding: 12px 12px 112px;
  }

  .topbar {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    justify-items: end;
  }

  .brand {
    display: none;
  }

  .top-actions {
    justify-content: end;
    margin-bottom: 0;
  }

  .top-actions .language-picker {
    display: none;
  }

  .icon-button#seedButton {
    display: none;
  }

  .nav-tabs {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: 4px;
    width: auto;
    padding: 7px;
    overflow: visible;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 30px;
    background: rgba(255,255,255,.6);
    box-shadow: 0 16px 40px rgba(47,68,88,.16), inset 0 1px 0 rgba(255,255,255,.7);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
  }

  .nav-tab {
    display: grid;
    place-items: center;
    gap: 3px;
    min-width: 0;
    height: 64px;
    border-radius: 22px;
    padding: 8px 4px;
    color: #6b7280;
    background: transparent;
    box-shadow: none;
    font-size: 0;
  }

  .nav-tab .material-icon {
    width: 23px;
    height: 23px;
  }

  .nav-tab .nav-label {
    font-size: .72rem;
    font-weight: 800;
  }

  .nav-tab.is-active,
  .nav-tab:hover {
    color: var(--primary);
    background: rgba(1,117,194,.10);
    box-shadow: inset 0 0 0 1px rgba(1,117,194,.16);
  }

  .create-nav-shell {
    position: fixed;
    right: 22px;
    top: auto;
    bottom: 94px;
    z-index: 45;
  }

  .create-fab {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 1.55rem;
    box-shadow: 0 10px 22px rgba(1,117,194,.28);
  }

  .create-menu {
    top: auto;
    right: 0;
    bottom: calc(100% + 10px);
    left: auto;
    min-width: 148px;
    transform: none;
  }

  .language-picker {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .warehouse-title,
  .panel-heading,
  .section-heading {
    align-items: flex-start;
  }

  main > .page.is-active > .section-heading {
    position: sticky;
    top: 0;
    z-index: 20;
    margin: 0 -12px 16px;
    padding: 10px 12px 12px;
    border-bottom: 1px solid rgba(142,157,170,.18);
    background: rgba(245,248,249,.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  main > .page.is-active > .section-heading h2 {
    margin-bottom: 0;
  }

  .kpi-strip,
  .fleet-grid,
  .warehouse-grid,
  .stock-grid,
  .prd-kpi-grid {
    grid-template-columns: 1fr;
  }

  .warehouse-workspace {
    grid-template-columns: 1fr;
  }

  .warehouse-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(117,128,140,.16);
  }

  .manifest-table-head {
    display: none;
  }

  .manifest-row {
    grid-template-columns: 1fr;
  }

  .mobile-detail-heading {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
  }

  .mobile-detail-heading h2 {
    margin: 0;
  }

  .row-detail-button {
    display: inline-grid;
    place-items: center;
    justify-self: start;
    margin-top: 8px;
  }

  .fleet-history-panel {
    display: none;
  }

  .fleet-car-panel {
    display: none;
  }

  .mobile-fleet-cars-panel {
    display: grid;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 18px;
    padding: 18px;
    background: var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: var(--blur);
  }

  .warehouse-workspace {
    min-height: 0;
  }

  .warehouse-workspace > .warehouse-detail-shell {
    display: none;
  }

  .mobile-warehouse-detail {
    display: block;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 18px;
    background: var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: var(--blur);
  }

  .mobile-warehouse-detail .warehouse-detail-head {
    gap: 14px;
  }

  .mobile-warehouse-detail .warehouse-head-actions {
    justify-content: flex-start;
  }

  .operation-row,
  .entry-form,
  .account-panel {
    grid-template-columns: 1fr;
  }

  .user-fields {
    grid-template-columns: 1fr;
  }

  .notion-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: -2px;
    overflow-x: auto;
    padding: 8px;
    scrollbar-width: none;
  }

  .notion-filter-bar label {
    position: relative;
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    min-width: 0;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(117,128,140,.18);
    border-radius: 12px;
    background: rgba(255,255,255,.72);
    transition: flex-basis .18s ease, width .18s ease, border-color .18s ease, background .18s ease;
  }

  .notion-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .notion-filter-bar label::before {
    content: attr(data-filter-icon);
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--muted);
    font-size: .92rem;
    font-weight: 900;
    pointer-events: none;
  }

  .notion-filter-bar label.is-active,
  .notion-filter-bar label:focus-within {
    border-color: rgba(1,117,194,.35);
    background: rgba(1,117,194,.08);
  }

  .notion-filter-bar label:focus-within {
    flex-basis: min(260px, 72vw);
    width: min(260px, 72vw);
    padding: 6px;
    place-items: stretch;
  }

  .notion-filter-bar label:focus-within::before {
    display: none;
  }

  .notion-filter-bar span {
    display: none;
  }

  .notion-filter-bar input,
  .notion-filter-bar select {
    position: absolute;
    inset: 0;
    min-height: 42px;
    border: 0;
    opacity: 0;
    padding: 0;
    background: transparent;
  }

  .notion-filter-bar label:focus-within input,
  .notion-filter-bar label:focus-within select {
    position: static;
    opacity: 1;
    border: 0;
    min-height: 30px;
    padding: 0 6px;
    background: transparent;
    box-shadow: none;
  }

  .filter-clear-button {
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 12px;
    font-size: 0;
  }

  .filter-clear-button::before {
    content: "×";
    font-size: 1.25rem;
    line-height: 1;
  }

  .notion-filter-bar label {
    min-width: 0;
  }

  .topbar {
    gap: 14px;
  }

  .top-actions {
    width: auto;
  }

  .operations-workspace > .operation-detail-panel {
    display: none;
  }

  .mobile-operation-detail {
    display: block;
  }

  .operations-head {
    display: none;
  }

  .operation-row {
    align-items: start;
    padding-right: 64px;
  }

  .operation-actions {
    justify-content: flex-start;
  }

  .entry-modal {
    max-height: calc(100dvh - 24px);
    padding-bottom: 92px;
  }

  .entry-form {
    padding-bottom: 92px;
  }

  .form-actions {
    padding-bottom: 18px;
  }

  .map-panel {
    min-height: calc(100vh - 118px);
    overflow: hidden;
    border-radius: 18px;
  }

  .map-toolbar {
    left: 12px;
    right: 12px;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
  }

  .map-toolbar #mapHint {
    display: none;
  }

  .map-zoom-controls .tiny-button {
    width: 38px;
    height: 38px;
  }

  .warehouse-map {
    position: relative;
    min-height: calc(100vh - 118px);
    width: 100%;
    touch-action: none;
  }

  .myanmar-map-stage {
    inset: 62px 0 18px;
    overflow: visible;
  }

  .myanmar-map-stage.is-zoomed {
    transform: translate3d(var(--pan-x, 0), var(--pan-y, 0), 0) scale(var(--map-scale, 1));
  }

  .myanmar-map-frame {
    width: min(62vw, 250px);
    height: auto;
    max-height: calc(100vh - 170px);
  }

  .map-pin {
    width: 24px;
    height: 24px;
  }

  .map-pin span {
    width: 22px;
    height: 22px;
    border-width: 4px;
  }

  .highway-overlay {
    display: block;
    opacity: .72;
  }

  .highway-route {
    stroke-width: 4;
  }

  .route-legend,
  .map-detail-card {
    display: none;
  }

  .map-pin b {
    display: none;
  }
}
