/* app/tablet/tablet.css */
html,
body {
  margin: 0;
  min-height: 100%;
}
.tablet-app {
  --tablet-blue: #175a91;
  --tablet-dark: #123752;
  --tablet-border: #c6d4df;
  --tablet-muted: #52697b;
  font:
    16px/1.45 "Segoe UI",
    Arial,
    sans-serif;
  color: #183247;
  min-height: 100dvh;
  background: #edf3f7;
}
.tablet-app *,
.tablet-app *::before,
.tablet-app *::after {
  box-sizing: border-box;
}
.tablet-app button,
.tablet-app input,
.tablet-app select,
.tablet-app textarea,
.tablet-app summary {
  font: inherit;
}
.tablet-app button,
.tablet-app a,
.tablet-app summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.tablet-app button,
.tablet-app select,
.tablet-app input:not([type=checkbox]),
.tablet-app summary {
  min-height: 44px;
}
.tablet-app button {
  border: 1px solid #9eb7cb;
  border-radius: 7px;
  padding: 10px 15px;
  color: #173c58;
  background: linear-gradient(#fff, #e9f0f5);
  font-weight: 600;
  cursor: pointer;
}
.tablet-app button:hover {
  background: #dbeaf5;
  border-color: #668faf;
}
.tablet-app button:disabled {
  cursor: default;
  opacity: .52;
}
.tablet-app .tablet-primary {
  background: linear-gradient(#2673ab, #17598b);
  color: #fff;
  border-color: #174f7b;
  box-shadow: 0 1px 2px #12375222;
}
.tablet-app .tablet-primary:hover {
  background: linear-gradient(#2e80b9, #1a629a);
}
.tablet-app a {
  color: #165f98;
}
.tablet-app :focus-visible {
  outline: 3px solid #e9a628;
  outline-offset: 3px;
}
.tablet-app h1,
.tablet-app h2,
.tablet-app h3,
.tablet-app p {
  margin-top: 0;
}
.tablet-app h1 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -.4px;
  margin-bottom: 6px;
}
.tablet-app h2 {
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 8px;
}
.tablet-app h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.tablet-app p {
  margin-bottom: 12px;
}
.tablet-header {
  min-height: 92px;
  background:
    linear-gradient(
      100deg,
      #124267,
      #1f6396);
  color: #fff;
  padding: 18px max(24px, calc((100vw - 1280px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #0b3555;
}
.tablet-app .tablet-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}
.tablet-brand-mark {
  width: 48px;
  height: 48px;
  border: 1px solid #dbefff88;
  background: linear-gradient(#4583b0, #23608e);
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 22px;
}
.tablet-brand strong,
.tablet-brand h1 {
  font-size: 24px;
  margin: 0;
  letter-spacing: -.5px;
}
.tablet-brand span:not(.tablet-brand-mark) {
  display: block;
  font-size: 13px;
  opacity: .9;
}
.tablet-company {
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 3px;
  margin-left: auto;
  min-width: 0;
}
.tablet-company strong {
  overflow-wrap: anywhere;
}
.tablet-company > span {
  font-size: 13px;
  color: #dbeaf4;
}
.tablet-app .tablet-company select {
  color: #19364c;
  background: #fff;
  border: 1px solid #76a0bf;
  max-width: 290px;
}
.tablet-session-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.tablet-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(#f8fbfd, #e0eaf2);
  border-bottom: 1px solid #becedb;
  padding: 9px 20px;
}
.tablet-app .tablet-nav button {
  border-color: transparent;
  background: transparent;
  min-width: 120px;
  padding: 10px 22px;
}
.tablet-app .tablet-nav button[aria-current=page] {
  background: linear-gradient(#e3f0fa, #c9e0f2);
  border-color: #83aac9;
  color: #154b74;
}
.tablet-workspace {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px 48px;
  min-width: 0;
}
.tablet-sync-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--tablet-muted);
  font-size: 13px;
  margin-bottom: 18px;
}
.tablet-sync-row button {
  min-width: 86px;
}
.tablet-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.tablet-page-heading p {
  color: var(--tablet-muted);
  margin-bottom: 0;
}
.tablet-page-heading .tablet-primary {
  min-width: 166px;
  min-height: 50px;
}
.tablet-summary-strip {
  display: flex;
  gap: 0;
  border: 1px solid var(--tablet-border);
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 20px;
}
.tablet-app .tablet-summary-strip > button,
.tablet-summary-strip > div {
  flex: 1;
  border: 0;
  border-right: 1px solid #d8e2ea;
  border-radius: 0;
  background: #fff;
  padding: 13px 18px;
  text-align: left;
  min-width: 0;
}
.tablet-summary-strip > :last-child {
  border-right: 0;
}
.tablet-summary-strip strong {
  display: block;
  font-size: 23px;
  font-weight: 650;
  color: #204f73;
}
.tablet-summary-strip span {
  display: block;
  color: var(--tablet-muted);
  font-size: 13px;
  margin-top: 2px;
}
.tablet-toolbar {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}
.tablet-toolbar .tablet-field {
  min-width: 160px;
  flex: 0 1 220px;
  margin: 0;
}
.tablet-toolbar .tablet-field:has(input[type=search]) {
  flex: 1 1 250px;
}
.tablet-field,
.tablet-signin-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin-bottom: 14px;
}
.tablet-field > span,
.tablet-signin-card label {
  font-size: 14px;
  font-weight: 600;
}
.tablet-app input:not([type=checkbox]),
.tablet-app select,
.tablet-app textarea {
  width: 100%;
  border: 1px solid #9fb5c6;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  color: #19364c;
  min-width: 0;
}
.tablet-app input::placeholder,
.tablet-app textarea::placeholder {
  color: #708493;
  font-weight: 400;
}
.tablet-app textarea {
  resize: vertical;
  min-height: 94px;
}
.tablet-app input[type=checkbox] {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: #1d699f;
}
.tablet-app fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.tablet-table-wrap {
  overflow: auto;
  max-width: 100%;
  border: 1px solid var(--tablet-border);
  border-radius: 8px;
  background: #fff;
  margin-bottom: 20px;
}
.tablet-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}
.tablet-table th {
  font-size: 13px;
  font-weight: 650;
  color: #35566f;
  background: linear-gradient(#f6f9fc, #e8eff5);
  padding: 12px 16px;
  white-space: nowrap;
  text-align: left;
  border-bottom: 1px solid #b9cddc;
}
.tablet-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e2eaf0;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
.tablet-table tr:last-child td {
  border-bottom: 0;
}
.tablet-table tr:hover td {
  background: #f6faff;
}
.tablet-number {
  text-align: right !important;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tablet-app .tablet-record-link {
  border: 0;
  padding: 0 3px;
  background: transparent;
  border-radius: 4px;
  color: #175c90;
  text-align: left;
  display: inline-flex;
  justify-content: center;
  flex-direction: column;
  max-width: 100%;
  text-decoration: none;
  font-weight: 400;
  min-height: 44px;
}
.tablet-record-link strong {
  font-weight: 650;
}
.tablet-record-link span {
  color: #50687b;
  font-size: 14px;
}
.tablet-badge {
  display: inline-flex;
  padding: 4px 9px;
  background: #e6edf3;
  border: 1px solid #ccd9e4;
  border-radius: 20px;
  color: #35566e;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.tablet-badge.good {
  color: #236246;
  border-color: #afd7be;
  background: #ebf7ef;
}
.tablet-badge.pending,
.tablet-badge.warning {
  color: #815614;
  border-color: #e2c795;
  background: #fff5df;
}
.tablet-panel {
  border: 1px solid #b8ccd9;
  background: #fff;
  border-radius: 9px;
  padding: 24px;
  margin: 20px 0;
  box-shadow: 0 2px 6px #14364e06;
  min-width: 0;
}
.tablet-panel-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.tablet-panel-heading > div {
  flex: 1;
}
.tablet-panel-heading > h2 {
  flex: 1;
}
.tablet-panel-heading p {
  color: #50687b;
  margin: 4px 0 0;
}
.tablet-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.tablet-actions > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 10px;
}
.tablet-menu {
  position: relative;
  display: inline-block;
  max-width: 100%;
}
.tablet-app .tablet-menu > summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid #9eb7cb;
  border-radius: 7px;
  padding: 10px 15px;
  font-weight: 600;
  background: linear-gradient(#fff, #e9f0f5);
  color: #173c58;
  white-space: nowrap;
}
.tablet-menu > summary::after {
  content: " \25be";
}
.tablet-menu > summary::-webkit-details-marker {
  display: none;
}
.tablet-menu-items {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  z-index: 15;
  width: 242px;
  max-width: min(242px, calc(100vw - 48px));
  background: #fff;
  border: 1px solid #a7bfd1;
  border-radius: 8px;
  padding: 7px;
  box-shadow: 0 8px 24px #15334b33;
}
.tablet-actions .tablet-menu-items {
  left: 0;
  right: auto;
}
.tablet-app .tablet-menu-items button,
.tablet-menu-items a {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 11px 10px;
  text-align: left;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
  color: #173c58;
  min-height: 44px;
}
.tablet-app .tablet-menu-items button:hover,
.tablet-menu-items a:hover {
  background: #eaf3fa;
}
.tablet-error,
.tablet-warning,
.tablet-notice {
  border-radius: 7px;
  padding: 12px 16px;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}
.tablet-error {
  background: #fff0ec;
  border: 1px solid #e4b6a8;
  color: #9b3827;
}
.tablet-warning {
  background: #fff7e6;
  border: 1px solid #e3ce9e;
  color: #785617;
}
.tablet-notice {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  background: #e8f4fa;
  border: 1px solid #adcddd;
  color: #225a78;
}
.tablet-app .tablet-notice button {
  padding: 0;
  min-width: 44px;
  background: transparent;
  border: 0;
  font-size: 23px;
}
.tablet-empty {
  padding: 20px 12px;
  text-align: center;
  color: #647c8e;
  margin: 0;
}
.tablet-help {
  font-size: 13px;
  color: #506c80;
}
.tablet-pager {
  justify-content: flex-end;
  margin: 12px 0 16px;
}
.tablet-pager > span {
  margin-right: auto;
  color: #506c80;
  font-size: 13px;
}
.tablet-editor-section {
  margin-bottom: 22px;
}
.tablet-editor-section + .tablet-editor-section {
  border-top: 1px solid #dbe5ec;
  padding-top: 22px;
}
.tablet-customer-card {
  background: #f1f7fb;
  border: 1px solid #c2d6e4;
  border-radius: 7px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.tablet-customer-card strong {
  font-size: 19px;
}
.tablet-customer-card p {
  margin: 4px 0;
  color: #567085;
}
.tablet-customer-card span {
  font-size: 14px;
  color: #526d81;
}
.tablet-choice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.tablet-app .tablet-choice-list button,
.tablet-app .tablet-product-choices button {
  text-align: left;
  background: #f8fbfe;
  font-weight: 400;
  padding: 12px 14px;
}
.tablet-choice-list strong,
.tablet-choice-list span,
.tablet-product-choices strong,
.tablet-product-choices span {
  display: block;
}
.tablet-choice-list span,
.tablet-product-choices span {
  font-size: 13px;
  color: #587184;
  margin-top: 3px;
}
.tablet-product-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.tablet-product-choices button {
  flex: 1 1 160px;
  max-width: 300px;
  min-width: 0;
}
.tablet-credit {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  background: #f0f6fa;
  padding: 12px;
  border-radius: 6px;
  margin: 12px 0 20px;
}
.tablet-line {
  border: 1px solid #c5d7e4;
  border-radius: 7px;
  margin-bottom: 12px;
  background: #f9fcfe;
  padding: 14px 16px;
}
.tablet-line-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.tablet-line-heading > strong {
  overflow-wrap: anywhere;
}
.tablet-line-fields {
  display: grid;
  grid-template-columns: minmax(190px, 1.6fr) minmax(110px, 1fr) minmax(110px, .8fr);
  gap: 14px;
  align-items: center;
}
.tablet-quantity-unit {
  display: flex;
  align-items: stretch;
  min-width: 0;
}
.tablet-quantity-unit input {
  min-width: 0;
  border-radius: 5px 0 0 5px;
}
.tablet-quantity-unit > span {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  max-width: 50%;
  background: #e7f1f8;
  border: 1px solid #a8bfce;
  border-left: 0;
  border-radius: 0 5px 5px 0;
  color: #31536c;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.tablet-line-options {
  margin: 8px 0;
}
.tablet-line-options > summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: #466982;
  font-size: 14px;
}
.tablet-line-options[open] > .tablet-field {
  max-width: 260px;
  margin-top: 6px;
}
.tablet-tax-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin-bottom: 18px;
  color: #41657f;
}
.tablet-tax-summary strong {
  font-size: 17px;
}
.tablet-tax-summary span {
  font-size: 13px;
  line-height: 1.5;
}
.tablet-county-tax {
  margin-top: 12px;
}
.tablet-collection-receipt {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
  padding: 14px 16px;
  border: 1px solid #b6d7bf;
  border-radius: 6px;
  background: #edf8f0;
  color: #285a36;
}
.tablet-delivery-summary {
  color: #476981;
  font-size: 14px;
}
.tablet-line-fields .tablet-field {
  margin-bottom: 10px;
}
.tablet-line-fields .tablet-field > span {
  font-size: 13px;
}
.tablet-line-amount {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.tablet-line-amount strong,
.tablet-line-amount span {
  display: block;
}
.tablet-line-amount strong {
  font-size: 21px;
}
.tablet-line-amount span {
  color: #638094;
  font-size: 13px;
}
.tablet-check {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.tablet-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.tablet-total-strip {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  padding: 16px 0;
  margin: 10px 0;
  border-top: 1px solid #cddce6;
  color: #436178;
  font-variant-numeric: tabular-nums;
}
.tablet-total-strip strong {
  font-size: 23px;
  color: #194c73;
}
.tablet-editor-options {
  border: 1px solid #d0dfe9;
  border-radius: 7px;
  padding: 0 15px;
  margin-top: 8px;
}
.tablet-editor-options > summary {
  cursor: pointer;
  padding: 12px 0;
  font-weight: 600;
  color: #375f7d;
}
.tablet-editor-options[open] {
  padding-bottom: 16px;
}
.tablet-signature {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  margin-top: 14px;
}
.tablet-signature > span {
  font-size: 14px;
  font-weight: 600;
}
.tablet-signature canvas {
  width: 100%;
  max-width: 640px;
  height: auto;
  border: 1px solid #a8bfce;
  border-radius: 6px;
  touch-action: none;
  background: #fff;
}
.tablet-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #102e49aa;
  padding: 24px;
}
.tablet-dialog {
  width: 760px;
  max-width: 100%;
  max-height: calc(100dvh - 48px);
  background: #fff;
  border: 1px solid #96b3c9;
  border-radius: 10px;
  padding: 24px;
  overflow: auto;
  box-shadow: 0 12px 45px #10283f66;
}
.tablet-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #c9dae6;
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.tablet-dialog-header h2 {
  margin: 0;
}
.tablet-document-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 18px;
}
.tablet-document-meta > div:last-child {
  text-align: right;
}
.tablet-document-meta span {
  display: block;
  color: #547188;
}
.tablet-document-meta p {
  margin-top: 6px;
}
.tablet-delivery-address {
  background: #f1f7fb;
  border: 1px solid #d0e0eb;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 18px;
}
.tablet-delivery-address a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.tablet-count-line {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(180px, 1fr);
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid #dae5ec;
  padding: 12px 0;
}
.tablet-count-line p {
  color: #627e90;
  font-size: 13px;
  margin: 5px 0;
}
.tablet-short {
  display: block;
  color: #96631b;
  font-size: 12px;
}
.tablet-customer-info a {
  display: inline-flex;
  margin-right: 16px;
  min-height: 44px;
  align-items: center;
}
.tablet-proof {
  max-width: 100%;
  width: 360px;
  border: 1px solid #d0dce6;
  border-radius: 6px;
}
.tablet-signin {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  background:
    linear-gradient(
      145deg,
      #174b75,
      #102e49);
  padding: 24px;
}
.tablet-signin-card {
  background: #fff;
  padding: 36px;
  border-radius: 12px;
  border: 1px solid #91aec5;
  width: 440px;
  max-width: 100%;
  box-shadow: 0 14px 50px #071e3280;
}
.tablet-signin-card .tablet-brand {
  margin-bottom: 30px;
  color: #1b527e;
}
.tablet-signin-card .tablet-brand-mark {
  color: #fff;
}
.tablet-signin-card .tablet-brand p {
  font-size: 14px;
  margin: 1px 0 0;
  color: #52788f;
}
.tablet-signin-card > p {
  color: #577487;
}
.tablet-signin-card > .tablet-primary {
  width: 100%;
  margin: 10px 0 20px;
}
.tablet-signin-card > a {
  display: block;
  text-align: center;
}
.tablet-loading {
  display: grid;
  place-items: center;
}
.tablet-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.tablet-driver-nav {
  overflow: visible;
  align-items: center;
}
.tablet-driver-nav .tablet-menu-items {
  z-index: 30;
}
.tablet-app .tablet-driver-nav .tablet-menu-items button {
  min-width: 0;
  text-align: left;
}
.tablet-job-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tablet-driver-detail .tablet-panel-heading {
  flex-wrap: wrap;
}
.tablet-driver-detail .tablet-job-actions {
  margin-bottom: 16px;
}
.tablet-driver-editor {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 24px;
}
.tablet-driver-editor .tablet-editor-section {
  padding-top: 14px;
  margin-top: 14px;
}
.tablet-driver-editor .tablet-editor-section h3 {
  margin-bottom: 8px;
}
.tablet-driver-editor .tablet-line {
  margin-bottom: 10px;
  padding: 12px;
}
.tablet-driver-editor .tablet-line-fields {
  grid-template-columns: minmax(180px, 1.25fr) minmax(110px, .8fr) minmax(110px, .8fr);
  gap: 16px;
  align-items: start;
}
.tablet-driver-editor .tablet-quantity-unit input {
  width: 100%;
  max-width: 240px;
  border-radius: 5px;
  font-size: 20px;
  font-weight: 600;
}
.tablet-driver-editor .tablet-line-fields .tablet-field > span {
  overflow-wrap: normal;
  font-size: 14px;
}
.tablet-driver-editor .tablet-line-price,
.tablet-driver-editor .tablet-line-amount {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.tablet-driver-editor .tablet-line-price span,
.tablet-driver-editor .tablet-line-price strong,
.tablet-driver-editor .tablet-line-price small {
  display: block;
}
.tablet-driver-editor .tablet-line-price > span,
.tablet-driver-editor .tablet-line-amount > span {
  color: #466982;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.tablet-driver-editor .tablet-line-price > strong {
  font-size: 20px;
}
.tablet-driver-editor .tablet-line-price > small {
  color: #52697b;
  font-size: 13px;
  overflow-wrap: normal;
}
.tablet-driver-editor .tablet-line-amount > strong {
  font-size: 22px;
  color: #194c73;
}
.tablet-driver-editor .tablet-customer-card {
  padding: 12px;
}
.tablet-driver-editor .tablet-customer-card p {
  margin-bottom: 4px;
}
.tablet-driver-editor .tablet-field {
  margin-bottom: 10px;
}
.tablet-driver-editor .tablet-line-options {
  margin-top: 0;
}
.tablet-driver-editor .tablet-line-options > summary {
  color: #52697b;
  font-size: 14px;
}
.tablet-driver-editor .tablet-editor-options {
  margin-top: 12px;
}
.tablet-driver-editor .tablet-total-strip {
  background: linear-gradient(#f2f8fc, #e5eff7);
  border: 1px solid #bfd2e2;
  border-radius: 7px;
  padding: 14px;
  margin-bottom: 12px;
}
.tablet-app .tablet-demo-delivery {
  margin-bottom: 10px;
  color: #165780;
  background: #f4f9fc;
  border-style: dashed;
}
.tablet-collect-total {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #eff6fb;
  border: 1px solid #bdd2e2;
  border-radius: 7px;
  padding: 16px;
  margin: 14px 0;
  font-variant-numeric: tabular-nums;
}
.tablet-collect-total strong {
  color: #194c73;
  font-size: 25px;
  border-top: 1px solid #cddce6;
  margin-top: 6px;
  padding-top: 10px;
}
@media (max-width: 850px) {
  .tablet-header {
    padding: 16px 20px;
    gap: 16px;
  }
  .tablet-brand strong {
    font-size: 22px;
  }
  .tablet-brand-mark {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
  .tablet-session-actions > .tablet-badge {
    display: none;
  }
  .tablet-nav {
    gap: 3px;
    padding: 8px 16px;
  }
  .tablet-app .tablet-nav button {
    min-width: 0;
    flex: 1;
    padding: 10px 12px;
  }
  .tablet-workspace {
    padding: 14px 20px 40px;
  }
  .tablet-table th,
  .tablet-table td {
    padding: 11px 12px;
  }
  .tablet-panel {
    padding: 20px;
  }
  .tablet-summary-strip > button,
  .tablet-summary-strip > div {
    padding: 12px 14px;
  }
  .tablet-line-fields {
    gap: 10px;
    grid-template-columns: minmax(110px, 1.05fr) minmax(105px, 1fr) minmax(100px, .95fr) minmax(90px, .75fr);
  }
}
@media (max-width: 600px) {
  .tablet-header {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px;
  }
  .tablet-company {
    font-size: 13px;
    max-width: 47%;
  }
  .tablet-session-actions {
    width: 100%;
    justify-content: space-between;
  }
  .tablet-session-actions > .tablet-badge {
    display: inline-flex;
  }
  .tablet-nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 6px 8px;
  }
  .tablet-nav.tablet-driver-nav {
    overflow: visible;
    justify-content: center;
  }
  .tablet-app .tablet-nav button {
    flex: 0 0 auto;
    font-size: 14px;
    padding: 9px 13px;
  }
  .tablet-workspace {
    padding: 12px 12px 32px;
  }
  .tablet-page-heading {
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }
  .tablet-page-heading p {
    font-size: 14px;
  }
  .tablet-summary-strip {
    flex-wrap: wrap;
  }
  .tablet-summary-strip > button,
  .tablet-summary-strip > div {
    flex: 1 1 50%;
    border-bottom: 1px solid #d8e2ea;
  }
  .tablet-panel {
    padding: 16px;
  }
  .tablet-choice-list,
  .tablet-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tablet-line-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tablet-driver-editor .tablet-line-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .tablet-driver-editor .tablet-line-fields > .tablet-field {
    grid-column: 1 / -1;
  }
  .tablet-driver-editor .tablet-line-price {
    text-align: left;
  }
  .tablet-customer-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .tablet-dialog-backdrop {
    padding: 12px;
  }
  .tablet-dialog {
    padding: 16px;
    max-height: calc(100dvh - 24px);
  }
  .tablet-dialog-header h2 {
    font-size: 20px;
  }
  .tablet-total-strip {
    justify-content: space-between;
    gap: 12px;
  }
  .tablet-total-strip strong {
    font-size: 20px;
  }
  .tablet-count-line {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .tablet-menu-items {
    max-width: calc(100vw - 48px);
  }
}
