.workspace-head { margin-bottom: 22px; }
.workspace-head .product-bar { margin-bottom: 13px; }
.workspace-head .connected-brand { width: 122px; }
.workspace-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 4px; border: 1px solid var(--fine-line); border-radius: 13px; background: #191b16; }
.workspace-nav a { padding: 9px 12px; border-radius: 8px; color: var(--muted); line-height: 1.15; font-size: 13px; font-weight: 500; }
.workspace-nav a[aria-current] { color: var(--accent-soft); background: var(--accent-dark); font-weight: 700; }
.fleet-grid, .finance-columns, .window-overview { display: grid; gap: 10px; }
.fleet-grid, body[data-role="office"] .agenda { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.finance-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.window-overview { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.office-page > .field { max-width: 245px; }
.office-page .orders-content > p { margin-block: 5px; }
.table-scroll { overflow: auto; border: 1px solid var(--fine-line); border-radius: 14px; background: var(--panel); }
.work-table { width: 100%; border-collapse: collapse; text-align: start; font-size: 14px; font-variant-numeric: tabular-nums; }
.work-table th, .work-table td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--fine-line); white-space: nowrap; }
.work-table th { color: var(--accent-soft); background: #24251f; font-weight: 700; }
.work-table td small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.work-table tr:last-child td { border-bottom: 0; }
.work-table.compact { font-size: 12px; }
.work-table.compact :is(th, td) { padding: 9px 11px; }
.form-fields { border: 0; padding: 0; }
.bottom-space { margin-bottom: 12px; }
.extra-picker { margin-bottom: 3px; border-color: #644532; }
.extra-picker h3 { font-size: 14px; color: var(--accent-soft); }
.extra-info { margin-top: 10px; }
.extra-info small { color: var(--muted); }
.extra-line { border-bottom: 1px solid var(--fine-line); padding-block: 6px; }
.extra-line:last-child { border-bottom: 0; }
.extra-line strong { font-size: 14px; }
.extra-line select { min-height: 36px; }
.review-extras { display: grid; gap: 5px; list-style: none; padding: 0; color: var(--muted); font-size: 13px; }
.review-extras li { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.shop-connected { max-width: 850px; }
.shop-connected .product-grid { grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); }
.shop-connected .product-open { height: auto; }
.shop-connected .product-footer { min-height: 45px; }
.catalogue-photo { display: block; width: 100%; aspect-ratio: 5 / 4; border-radius: 10px; overflow: hidden; background: #282822; }
.catalogue-photo img { width: 100%; height: 100%; object-fit: cover; }
.connected-dialog .catalogue-photo { max-height: 250px; }
.cart-row { border-bottom: 1px solid var(--line); padding-bottom: 9px; }
.code-panel { display: grid; justify-items: start; gap: 6px; }
.code-panel strong { color: var(--accent-soft); font-size: 34px; letter-spacing: .19em; }
.report-summary { max-width: 650px; }
.support-photo { width: min(100%, 300px); aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.order-detail .tracking-steps { margin-block: 14px; }
@media (max-width: 800px) {
  body[data-role="office"] .agenda { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .fleet-grid, .finance-columns, body[data-role="office"] .agenda { grid-template-columns: 1fr; }
  .window-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace-nav a { padding-inline: 8px; }
  .shop-connected .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print {
  html { color-scheme: light; background: #fff; }
  .print-page, .print-page .panel, .print-page .table-scroll { color: #181818; background: #fff; border-color: #aaa; }
  .print-page :is(bdi, p, small, th) { color: #181818; }
  .print-page th { background: #eee; }
  .print-page .work-table :is(th, td) { border-color: #aaa; white-space: normal; }
  .print-page .table-scroll { overflow: visible; }
  .workspace-head, .no-print { display: none !important; }
}
body[data-role="van"] .driver-main,
body[data-role="van"] .driver-delivery-controls > .primary-button,
body[data-role="van"] #dialog button[type="submit"],
body[data-role="van"] form[data-form="driver-shift"] .flow-cta {
  min-height: 58px;
  inline-size: 100%;
  font-size: 1.125rem;
}
body[data-role="van"] .driver-problems summary {
  min-block-size: 44px;
  padding-block: 10px;
  font-size: 1rem;
}
body[data-role="van"] .driver-problems .secondary-button,
body[data-role="van"] .driver-tenders label { min-block-size: 48px; }
.driver-plate, .driver-amount { font-size: 1.65rem; font-weight: 750; }
.driver-tenders { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.driver-tenders legend { margin-block-end: 8px; }
.driver-tenders label:has(input:checked) { border-color: var(--accent); }
.driver-tenders input { accent-color: var(--accent); }
.driver-car-selected { border-color: var(--accent); }
form:has(.driver-tenders input[name="method"]:checked:not([value="cash"])) .driver-collector { display: none; }
