:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: #102a43;
  background: #eef3f7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #eef3f7;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.loading,
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}
.auth-card {
  width: min(430px, 92vw);
  background: white;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 20px 60px #09233b22;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
}
.logo i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #18b7aa;
  color: white;
  font-style: normal;
}
.auth-card h1 {
  margin: 28px 0 8px;
}
.auth-card p {
  color: #60758a;
}
.stack {
  display: grid;
  gap: 14px;
}
label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd7e1;
  border-radius: 9px;
  padding: 11px 12px;
  background: white;
  color: #102a43;
}
textarea {
  resize: vertical;
}
.primary,
.secondary,
.danger {
  border: 0;
  border-radius: 9px;
  padding: 11px 15px;
  font-weight: 800;
}
.primary {
  background: #16b8aa;
  color: white;
}
.secondary {
  background: #e8f0f6;
  color: #173a57;
}
.danger {
  background: #ffe8e8;
  color: #a21d1d;
}
.mini {
  padding: 5px 8px;
  margin-left: 6px;
  font-size: 12px;
}
.wide {
  width: 100%;
}
.error {
  padding: 10px 12px;
  background: #fff0f0;
  color: #a21d1d;
  border-radius: 8px;
}
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px 1fr;
  transition: grid-template-columns 0.18s ease;
}
.shell.sidebar-collapsed {
  grid-template-columns: 76px 1fr;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #08243b;
  color: white;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
}
.sidebar .logo {
  font-size: 20px;
  margin: 0;
}
.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 8px 28px;
}
.sidebar-toggle {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1px solid #ffffff2c;
  border-radius: 8px;
  background: #ffffff12;
  color: white;
  font-size: 22px;
  line-height: 1;
  padding: 0;
}
.nav-icon,
.signout-icon {
  display: inline-block;
  width: 20px;
  text-align: center;
}
.nav-label,
.signout-label,
.brand-text {
  white-space: nowrap;
}
.sidebar-collapsed .sidebar {
  padding-left: 10px;
  padding-right: 10px;
}
.sidebar-collapsed .sidebar-head {
  display: grid;
  justify-items: center;
  margin: 0 0 24px;
}
.sidebar-collapsed .brand-text,
.sidebar-collapsed .nav-label,
.sidebar-collapsed .signout-label,
.sidebar-collapsed .account b,
.sidebar-collapsed .account small {
  display: none;
}
.sidebar-collapsed .nav button,
.sidebar-collapsed .account button {
  width: 100%;
  padding-left: 8px;
  padding-right: 8px;
  text-align: center;
}
.sidebar-collapsed .account {
  padding-left: 0;
  padding-right: 0;
}
.nav {
  display: grid;
  gap: 7px;
}
.nav button {
  border: 0;
  background: transparent;
  color: #c6d5e1;
  text-align: left;
  padding: 12px;
  border-radius: 9px;
}
.nav button.active,
.nav button:hover {
  background: #13b8ad;
  color: white;
}
.account {
  margin-top: auto;
  border-top: 1px solid #ffffff24;
  padding: 18px 8px 0;
  display: grid;
  gap: 3px;
}
.account small {
  color: #9fb4c4;
}
.topbar {
  background: white;
  padding: 18px 28px;
  border-bottom: 1px solid #dbe4eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar h1 {
  margin: 0;
  font-size: 25px;
}
.topbar p {
  margin: 4px 0 0;
  color: #60758a;
}
.top-actions {
  display: flex;
  gap: 8px;
}
.mobile-signout {
  display: none;
}
.user-role {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.user-role span {
  color: #60758a;
}
.content {
  padding: 22px 28px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.status-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}
.status-tabs button {
  border: 1px solid #cbd8e2;
  background: white;
  color: #345269;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 750;
}
.status-tabs button.active {
  background: #0e7f79;
  border-color: #0e7f79;
  color: white;
}
.sort-heading {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font: inherit;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}
.sort-heading span { color: #7890a4; font-size: 10px; }
.row-action { white-space: nowrap; }
.report-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  margin-bottom: 18px;
}
.report-toolbar label { min-width: 220px; }
.custom-report-dates {
  display: flex;
  align-items: end;
  gap: 10px;
  flex: 1;
}
.custom-report-dates.hide { display: none; }
.custom-report-dates label { min-width: 155px; }
.reports-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.report-card { padding: 18px; overflow: auto; }
.report-card h2 { margin: 0 0 14px; font-size: 18px; }
.report-detail { margin-top: 18px; overflow: hidden; }
.report-detail .card-head { padding: 18px; }
.report-detail .card-head h2 { margin: 0 0 4px; }
.report-table-scroll { overflow: auto; }
.report-detail-table { min-width: 1180px; }
.line-breakdown summary { cursor: pointer; font-weight: 750; color: #0e7f79; white-space: nowrap; }
.line-breakdown ul { list-style: none; margin: 8px 0 0; padding: 0; min-width: 210px; }
.line-breakdown li { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; border-bottom: 1px solid #e5edf3; }
.link-button { border: 0; padding: 0; background: transparent; color: #0b628c; font: inherit; font-weight: 800; cursor: pointer; white-space: nowrap; }
.metric,
.card {
  background: white;
  border: 1px solid #d9e3eb;
  border-radius: 13px;
  box-shadow: 0 4px 15px #102a430b;
}
.metric {
  padding: 17px;
}
.report-metrics .metric { text-align: left; font: inherit; color: inherit; cursor: pointer; }
.report-metrics .metric:hover, .report-metrics .metric.selected { border-color: #0e7f79; box-shadow: 0 0 0 2px #0e7f7922; }
.metric small {
  color: #60758a;
}
.metric b {
  display: block;
  font-size: 25px;
  margin-top: 5px;
}
.dashboard-panel {
  margin-bottom: 14px;
}
.dashboard-toggle {
  width: 100%;
  border: 1px solid #d9e3eb;
  border-radius: 11px;
  background: white;
  color: #102a43;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  text-align: left;
}
.dashboard-toggle:hover {
  background: #f4f8fb;
}
.dashboard-toggle span:last-child {
  color: #526b80;
  font-size: 18px;
}
.dashboard-body {
  padding-top: 14px;
}
.dashboard-panel.collapsed .dashboard-body {
  display: none;
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 15px;
}
.export-menu {
  position: relative;
}
.export-menu summary {
  list-style: none;
  cursor: pointer;
}
.export-menu summary::-webkit-details-marker {
  display: none;
}
.export-menu > div {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 8;
  min-width: 180px;
  padding: 8px;
  background: white;
  border: 1px solid #d9e3eb;
  border-radius: 10px;
  box-shadow: 0 12px 30px #09233b22;
  display: grid;
  gap: 6px;
}
.export-menu > div button {
  text-align: left;
}
.filters {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  background: white;
  padding: 14px;
  border: 1px solid #d9e3eb;
  border-radius: 12px;
  margin-bottom: 16px;
}
.filters input {
  font-size: 13px;
}
.filter-panel {
  background: white;
  border: 1px solid #d9e3eb;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}
.filter-toggle {
  width: 100%;
  border: 0;
  background: white;
  color: #102a43;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  text-align: left;
}
.filter-toggle:hover {
  background: #f4f8fb;
}
.filter-arrow {
  font-size: 18px;
  color: #4b667c;
}
.filter-panel .filters {
  border: 0;
  border-top: 1px solid #e0e7ed;
  border-radius: 0;
  margin: 0;
}
.filter-panel.collapsed .filter-body {
  display: none;
}
.grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 16px;
}
.queue {
  overflow: hidden;
}
.card-head {
  padding: 16px 18px;
  border-bottom: 1px solid #dbe4eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-head h2 {
  margin: 0;
  font-size: 19px;
}
.order-row {
  width: 100%;
  border: 0;
  border-bottom: 0;
  background: white;
  padding: 14px 17px;
  text-align: left;
  display: flex;
  justify-content: space-between;
}
.order-select-row {
  display: grid;
  grid-template-columns: auto 1fr;
  border-bottom: 1px solid #e3eaf0;
  background: white;
}
.order-select-row.selected {
  background: #e3f8f5;
  border-left: 4px solid #14b8aa;
}
.order-select-row.selected .order-row {
  background: #e3f8f5;
}
.row-check {
  display: grid;
  place-items: center;
  padding-left: 12px;
}
.row-check input,
.table input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #14b8aa;
}
.order-row b,
.order-row small {
  display: block;
}
.order-row small {
  color: #60758a;
  margin-top: 4px;
}
.detail {
  overflow: hidden;
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 16px 20px;
  border-bottom: 1px solid #dbe4eb;
}
.facts small,
.timeline small {
  display: block;
  color: #60758a;
}
.request {
  margin: 18px;
  background: #eefaf8;
  border-left: 4px solid #15b8ab;
  padding: 16px;
  border-radius: 8px;
}
.request h3 {
  margin: 6px 0;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 15px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #dbe4eb;
}
.timeline b {
  display: block;
}
.timeline .done {
  color: #087d76;
}
.section {
  padding: 18px 20px;
  border-top: 1px solid #e0e7ed;
}
.section h3 {
  margin-top: 0;
}
.actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 5px 9px;
  background: #fff0c6;
  color: #755100;
  font-size: 12px;
  font-weight: 800;
}
.pill.Completed {
  background: #daf5e7;
  color: #08713f;
}
.pill.InProgress {
  background: #dceeff;
  color: #155d90;
}
.pill.InReview {
  background: #f3e8ff;
  color: #6b2ca1;
}
.pill.ToBePaid {
  background: #fff0bd;
  color: #765200;
}
.pill.Archived {
  background: #e5e9ed;
  color: #4d5d69;
}
.list {
  display: grid;
  gap: 8px;
}
.list-row {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background: #f6f9fb;
  border-radius: 8px;
}
.modal {
  position: fixed;
  inset: 0;
  background: #07182799;
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 10;
}
.modal-card {
  width: min(700px, 96vw);
  max-height: 92vh;
  overflow: auto;
  background: white;
  border-radius: 15px;
  padding: 22px;
}
.work-order-modal {
  width: min(1120px, 97vw);
  padding: 0;
}
.work-order-modal > .modal-head {
  padding: 16px 20px;
  border-bottom: 1px solid #dbe4eb;
  align-items: center;
}
.order-detail-modal {
  background: white;
}
.modal-head {
  display: flex;
  justify-content: space-between;
}
.modal-head h2 {
  margin-top: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.admin-grid {
  display: grid;
  grid-template-columns: minmax(720px, 1.35fr) minmax(320px, 0.65fr);
  gap: 16px;
}
.staff-table-scroll { overflow-x: auto; }
.staff-table { table-layout: fixed; min-width: 720px; }
.staff-table th:nth-child(1), .staff-table td:nth-child(1) { width: 20%; }
.staff-table th:nth-child(2), .staff-table td:nth-child(2) { width: 23%; }
.staff-table th:nth-child(3), .staff-table td:nth-child(3) { width: 19%; }
.staff-table th:nth-child(4), .staff-table td:nth-child(4) { width: 38%; }
.staff-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.staff-actions button { white-space: nowrap; }
.role-label { color: #60758a; }
.telegram-status { color: #8a5a00; font-weight: 700; }
.telegram-status.linked { color: #087c55; }
.search-source { display: none !important; }
.search-combobox { position: relative; display: flex; width: 100%; }
.searchable-select { width: 100%; background-color: #fff; padding-right: 44px !important; }
.search-arrow { position: absolute; right: 2px; top: 2px; bottom: 2px; width: 40px; border: 0; background: transparent; color: #345; font-size: 18px; cursor: pointer; }
.search-options { position: absolute; z-index: 50; top: calc(100% + 3px); left: 0; right: 0; max-height: 240px; overflow: auto; background: #fff; border: 1px solid #b9c8d6; border-radius: 8px; box-shadow: 0 10px 24px #1232; }
.search-options button { display: block; width: 100%; padding: 10px 12px; border: 0; border-bottom: 1px solid #edf1f4; background: #fff; text-align: left; cursor: pointer; }
.search-options button:hover, .search-options button:focus { background: #eef7ff; }
.payment-filters { display: grid; grid-template-columns: repeat(6, minmax(130px, 1fr)); gap: 10px; align-items: end; margin: 18px 0; }
.payment-filters label { min-width: 0; }
.payment-filters input { width: 100%; }
.sort-heading { border: 0; background: transparent; color: inherit; font: inherit; font-weight: 800; padding: 0; cursor: pointer; white-space: nowrap; }
@media (max-width: 900px) { .payment-filters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .payment-filters { grid-template-columns: 1fr; } }
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th,
.table td {
  padding: 10px;
  border-bottom: 1px solid #e0e7ed;
  text-align: left;
}
.orders-table-wrap {
  overflow-x: auto;
}
.table-tools {
  display: flex;
  justify-content: flex-end;
  padding: 9px 10px;
  border-bottom: 1px solid #e0e7ed;
}
.column-search-toggle {
  padding: 8px 11px;
}
.select-heading {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.select-heading input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #14b8aa;
}
.column-search-row th {
  padding: 7px;
  background: #eef4f8;
}
.column-search-row input,
.column-search-row select {
  min-width: 105px;
  padding: 8px;
  font-size: 12px;
  text-transform: none;
}
.date-search {
  display: grid;
  gap: 5px;
}
.orders-table {
  min-width: 1050px;
}
.orders-table th {
  white-space: nowrap;
  background: #f4f8fb;
  color: #526b80;
  font-size: 12px;
  text-transform: uppercase;
}
.orders-table td {
  vertical-align: middle;
}
.clickable-order {
  cursor: pointer;
  transition: background 0.15s ease;
}
.clickable-order:hover {
  background: #eefaf8;
}
.request-cell {
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notice {
  position: fixed;
  right: 20px;
  top: 20px;
  background: #08243b;
  color: white;
  padding: 12px 16px;
  border-radius: 9px;
  z-index: 20;
}
.notification-center {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
}
.notification-bell {
  position: relative;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: #08243b;
  color: white;
  font-size: 22px;
  box-shadow: 0 10px 28px #08243b42;
}
.notification-bell span {
  position: absolute;
  right: -3px;
  top: -5px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #e33d3d;
  color: white;
  font-size: 11px;
  font-weight: 800;
}
.notification-drawer {
  position: absolute;
  right: 0;
  bottom: 62px;
  width: min(390px, calc(100vw - 30px));
  max-height: 520px;
  overflow: hidden;
  background: white;
  border: 1px solid #d9e3eb;
  border-radius: 14px;
  box-shadow: 0 18px 48px #08243b32;
}
.notification-head {
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e0e7ed;
}
.notification-list {
  max-height: 430px;
  overflow-y: auto;
}
.push-controls {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid #e0e7ed;
}
.push-controls small {
  color: var(--muted);
  line-height: 1.35;
}
.notification-list > button {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e7edf2;
  background: white;
  color: #102a43;
  padding: 12px;
  display: grid;
  gap: 5px;
  text-align: left;
}
.notification-list > button.unread {
  background: #eafaf7;
  border-left: 4px solid #16b8aa;
}
.notification-list small {
  color: #60758a;
}
.live-alert {
  position: fixed;
  right: 20px;
  top: 20px;
  z-index: 40;
  width: min(520px, calc(100vw - 30px));
  padding: 14px;
  border: 1px solid #a9ddd7;
  border-left: 5px solid #16b8aa;
  border-radius: 12px;
  background: white;
  box-shadow: 0 18px 45px #08243b35;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
}
.live-alert div {
  display: grid;
  gap: 4px;
}
.live-alert span {
  color: #526b80;
}
.muted {
  color: #60758a;
}
.empty {
  padding: 30px;
  text-align: center;
  color: #60758a;
}
.files {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.files a {
  background: #e8f0f6;
  padding: 8px 10px;
  border-radius: 8px;
  color: #173a57;
  text-decoration: none;
}
.audit {
  max-height: 220px;
  overflow: auto;
}
.audit li {
  margin-bottom: 8px;
}
.hide {
  display: none !important;
}
@media (max-width: 900px) {
  .reports-grid { grid-template-columns: 1fr; }
  .report-toolbar { align-items: stretch; flex-direction: column; }
  .custom-report-dates { align-items: stretch; flex-direction: column; }
  .shell {
    grid-template-columns: 1fr;
  }
  .shell.sidebar-collapsed {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px 12px;
  }
  .sidebar .logo {
    margin: 0;
    font-size: 17px;
  }
  .sidebar-toggle {
    display: none;
  }
  .sidebar-collapsed .brand-text,
  .sidebar-collapsed .nav-label,
  .sidebar-collapsed .signout-label {
    display: inline;
  }
  .sidebar-collapsed .sidebar-head {
    display: flex;
    justify-items: initial;
    margin: 0;
  }
  .sidebar-collapsed .account button {
    width: auto;
  }
  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 2px;
  }
  .nav button {
    flex: 0 0 auto;
    padding: 9px 11px;
  }
  .account {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    padding: 0;
    border: 0;
    display: block;
  }
  .account b,
  .account small {
    display: none;
  }
  .account button {
    padding: 8px 10px;
  }
  .mobile-signout {
    display: none !important;
  }
  .metrics {
    display: none;
  }
  .dashboard-panel {
    margin-bottom: 0;
  }
  .dashboard-toggle {
    display: none;
  }
  .dashboard-panel.collapsed .dashboard-body,
  .dashboard-body {
    display: block;
    padding-top: 0;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .topbar {
    display: none;
  }
  .content {
    padding-top: 12px;
  }
  .status-tabs {
    margin-bottom: 10px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .status-tabs button {
    flex: 0 0 auto;
  }
  .toolbar {
    align-items: stretch;
    gap: 9px;
  }
  .toolbar .actions {
    width: 100%;
  }
  .export-menu,
  .table-tools {
    display: none;
  }
  #selectVisible,
  #clearOrders,
  #downloadCurrent,
  #downloadSelected,
  #downloadAll,
  .toolbar .actions > button[onclick*="print"] {
    display: none;
  }
  #newOrder {
    display: block;
    width: 100%;
    font-size: 16px;
    padding: 14px 16px;
  }
  .filter-panel {
    margin-bottom: 10px;
  }
  .orders-table {
    min-width: 0;
  }
  .orders-table thead {
    display: none;
  }
  .orders-table,
  .orders-table tbody {
    display: block;
  }
  .orders-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 10px;
    padding: 12px;
    border-bottom: 1px solid #dce5ec;
  }
  .orders-table td {
    display: none;
    padding: 0;
    border: 0;
  }
  .orders-table td:nth-child(2),
  .orders-table td:nth-child(5),
  .orders-table td:nth-child(6),
  .orders-table td:nth-child(7),
  .orders-table td:last-child {
    display: block;
  }
  .orders-table td:nth-child(2) {
    grid-column: 1;
    grid-row: 1;
  }
  .orders-table td:nth-child(5) {
    grid-column: 2;
    grid-row: 1;
  }
  .orders-table td:nth-child(5)::before {
    content: "Unit ";
    color: #60758a;
    font-weight: 400;
  }
  .orders-table td:nth-child(6) {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
    white-space: normal;
  }
  .orders-table td:nth-child(7) {
    grid-column: 1;
    grid-row: 3;
  }
  .orders-table td:last-child {
    grid-column: 2;
    grid-row: 3;
  }
}
@media (max-width: 560px) {
  .content,
  .topbar {
    padding: 15px;
  }
  .metrics,
  .facts,
  .timeline,
  .form-grid,
  .filters {
    grid-template-columns: 1fr;
  }
  .nav button {
    font-size: 12px;
  }
  .toolbar {
    flex-direction: column;
  }
  .sidebar {
    padding: 10px 12px;
  }
  .sidebar .logo {
    margin-bottom: 0;
  }
  .notification-center {
    right: 14px;
    bottom: 14px;
  }
  .live-alert {
    right: 10px;
    top: 10px;
    grid-template-columns: 1fr auto;
  }
  .live-alert div {
    grid-column: 1 / -1;
  }
}
.quantity-stepper {
  display: inline-grid;
  grid-template-columns: 46px 64px 46px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #bdd0df;
  border-radius: 9px;
  background: #fff;
}
.quantity-stepper button,
.quantity-stepper input {
  min-height: 44px;
  margin: 0;
  border: 0;
  border-radius: 0;
  text-align: center;
  font-size: 18px;
}
.quantity-stepper button {
  padding: 0;
  background: #e9f1f7;
  color: #082b45;
  cursor: pointer;
}
.quantity-stepper button:active {
  background: #cfe7e8;
}
.quantity-stepper input {
  width: 64px;
  padding: 0;
  border-right: 1px solid #bdd0df;
  border-left: 1px solid #bdd0df;
  font-weight: 800;
}
.office-qr {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 24px;
  align-items: center;
}
.office-qr img {
  width: 100%;
  max-width: 260px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
@media (max-width: 650px) {
  .office-qr { grid-template-columns: 1fr; }
}
@media print {
  .sidebar,
  .topbar,
  .toolbar,
  .status-tabs,
  .filters,
  .queue,
  .actions,
  .no-print {
    display: none !important;
  }
  .shell,
  .grid {
    display: block;
  }
  .content {
    padding: 0;
  }
  .detail {
    border: 0;
    box-shadow: none;
  }
}
