:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #63707a;
  --line: #d8e0e5;
  --surface: #ffffff;
  --surface-soft: #f5f7f8;
  --page: #eef3f2;
  --blue: #315d8c;
  --teal: #13746d;
  --amber: #b7791f;
  --coral: #bd4b3f;
  --green: #237a4f;
  --shadow: 0 10px 24px rgba(23, 32, 38, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(135deg, rgba(49, 93, 140, 0.08), transparent 34rem),
    var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.icon-sprite {
  display: none;
}

.access-screen {
  display: none;
}

body.access-required .access-screen {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 1.5rem;
}

body.access-required .app-header,
body.access-required .app-shell,
body.access-required .print-receipt {
  display: none;
}

.access-card {
  display: grid;
  gap: 0.9rem;
  width: min(28rem, 100%);
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.access-logo {
  width: min(17rem, 100%);
}

.access-error {
  color: var(--coral);
  font-size: 0.86rem;
  font-weight: 850;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 15rem;
}

.brand-logo {
  display: block;
  width: clamp(9.5rem, 18vw, 16rem);
  max-height: 4.8rem;
  object-fit: contain;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

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

h3 {
  font-size: 1rem;
  letter-spacing: 0;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-actions,
.tools,
.form-footer,
.card-actions,
.view-tabs,
.catalog-form-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.store-switcher {
  min-width: 11rem;
  font-size: 0.72rem;
}

.store-switcher select {
  min-height: 2.45rem;
  padding: 0 0.7rem;
}

.sync-led {
  position: absolute;
  top: 0.55rem;
  left: 0.65rem;
  width: 0.78rem;
  height: 0.78rem;
  border: 1px solid rgba(23, 32, 38, 0.18);
  border-radius: 50%;
  background: var(--amber);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.85),
    0 0 0.45rem rgba(183, 121, 31, 0.55);
}

.sync-led[data-status="ok"] {
  background: var(--green);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.85),
    0 0 0.55rem rgba(35, 122, 79, 0.7);
}

.sync-led[data-status="pending"] {
  background: var(--amber);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.85),
    0 0 0.55rem rgba(183, 121, 31, 0.65);
}

.sync-led[data-status="error"] {
  background: var(--coral);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.85),
    0 0 0.55rem rgba(189, 75, 63, 0.7);
}

.primary-action,
.ghost-button,
.danger-button,
.icon-button,
.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.45rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  font-weight: 750;
}

.primary-action {
  background: var(--teal);
  color: #fff;
  padding: 0 0.9rem;
  box-shadow: 0 8px 16px rgba(19, 116, 109, 0.18);
}

.ghost-button {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  padding: 0 0.75rem;
}

.tab-button {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
  padding: 0 0.8rem;
}

.tab-button.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.danger-button,
.icon-button {
  width: 2.45rem;
  background: var(--surface);
  border-color: var(--line);
  color: var(--muted);
}

.danger-button:hover {
  color: var(--coral);
  border-color: rgba(189, 75, 63, 0.4);
}

.app-shell {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
}

.app-view {
  display: none;
}

.app-view.active {
  display: block;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.summary-strip article,
.order-editor,
.orders-area {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.summary-strip article {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 5.35rem;
  padding: 0.9rem;
  border-radius: 0.5rem;
}

.summary-strip p,
.muted,
dt {
  color: var(--muted);
}

.summary-strip strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.45rem;
}

.summary-icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.45rem;
}

.summary-icon.blue {
  background: rgba(49, 93, 140, 0.12);
  color: var(--blue);
}

.summary-icon.green {
  background: rgba(35, 122, 79, 0.12);
  color: var(--green);
}

.summary-icon.amber {
  background: rgba(183, 121, 31, 0.13);
  color: var(--amber);
}

.summary-icon.coral {
  background: rgba(189, 75, 63, 0.12);
  color: var(--coral);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(310px, 400px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.order-editor,
.orders-area {
  border-radius: 0.5rem;
}

.order-editor {
  position: sticky;
  top: 6rem;
  padding: 1rem;
}

.order-editor-full {
  position: static;
  width: min(980px, 100%);
  margin: 0 auto;
}

.panel-heading,
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.wide-grid-field {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 0.35rem;
  color: #34434d;
  font-size: 0.82rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: var(--surface-soft);
  color: var(--ink);
  padding: 0.72rem 0.75rem;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(19, 116, 109, 0.12);
}

textarea {
  resize: vertical;
}

.wide-field {
  margin-top: 0.8rem;
}

.service-lines {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.service-lines-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.service-lines-heading .muted {
  margin-top: 0.18rem;
  font-size: 0.78rem;
}

.line-items {
  display: grid;
  gap: 0.55rem;
}

.service-line {
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) minmax(5rem, 0.42fr) minmax(5.8rem, auto) 2.45rem;
  gap: 0.5rem;
  align-items: end;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fbfcfc;
}

.line-total {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 2.45rem;
  color: var(--ink);
  font-weight: 850;
  white-space: nowrap;
}

.form-footer {
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 0.95rem;
}

#pricePreview {
  margin-left: auto;
  font-size: 1.2rem;
  font-weight: 850;
}

.orders-area {
  min-height: 40rem;
  padding: 1rem;
}

.workflow-area {
  width: 100%;
}

.toolbar {
  align-items: end;
}

.search-box,
.select-box {
  position: relative;
}

.search-box svg,
.select-box svg {
  position: absolute;
  left: 0.72rem;
  top: 50%;
  translate: 0 -50%;
  color: var(--muted);
}

.search-box input {
  min-width: min(18rem, 42vw);
  padding-left: 2.2rem;
}

.select-box select {
  min-width: 10rem;
  padding-left: 2.2rem;
}

.catalog-manager {
  display: grid;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.report-manager {
  display: grid;
  gap: 1rem;
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.self-serve-manager {
  display: grid;
  gap: 1rem;
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.self-serve-tabs {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.self-serve-panel {
  display: none;
}

.self-serve-panel.active {
  display: grid;
  gap: 1rem;
}

.catalog-manager-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.customer-heading-actions,
.customer-search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.report-shell {
  display: grid;
  grid-template-columns: minmax(13rem, 0.28fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.report-menu {
  display: grid;
  gap: 0.45rem;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fbfcfc;
}

.report-menu-item {
  min-height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  text-align: left;
  padding: 0 0.75rem;
}

.report-menu-item.active {
  border-color: rgba(19, 116, 109, 0.35);
  background: rgba(19, 116, 109, 0.1);
  color: var(--teal);
}

.report-panel {
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface);
}

.report-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(10rem, 1fr)) auto;
  gap: 0.7rem;
  align-items: end;
  margin-bottom: 1rem;
}

.self-serve-toolbar {
  display: grid;
  grid-template-columns: minmax(8rem, 0.18fr) minmax(8rem, 0.18fr) minmax(14rem, 1fr);
  gap: 0.7rem;
  align-items: end;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fbfcfc;
}

.self-serve-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: end;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fbfcfc;
}

.self-serve-entry-row {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.self-serve-entry-row-washers {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.self-serve-form input[readonly] {
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 850;
}

.self-serve-chart-panel {
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface);
}

.self-serve-table-panel {
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface);
}

.self-serve-chart-panel canvas {
  display: block;
  width: 100%;
  height: 300px;
}

.self-serve-table {
  min-width: 980px;
}

.self-serve-table td:not(:first-child),
.self-serve-table th:not(:first-child) {
  text-align: right;
}

.self-serve-table td:last-child,
.self-serve-table th:last-child {
  text-align: left;
}

.link-action {
  min-height: auto;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.14rem;
}

.link-action:hover {
  color: var(--teal);
  background: transparent;
}

.summary-total-row {
  background: #eef8f4;
  font-size: 0.96rem;
  font-weight: 900;
}

.summary-total-row td {
  border-bottom: 2px solid rgba(19, 116, 109, 0.26);
}

.summary-first-detail-row td {
  border-top: 0.55rem solid var(--surface);
}

.report-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.report-summary article {
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: var(--surface-soft);
}

.report-summary span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.report-summary strong {
  display: block;
  margin-top: 0.18rem;
  font-size: 1.15rem;
}

.report-table-wrap {
  overflow-x: auto;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.report-table th,
.report-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.62rem 0.5rem;
  text-align: left;
  vertical-align: top;
}

.report-table th {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.report-table td {
  font-size: 0.88rem;
  font-weight: 650;
}

.catalog-form,
.customer-form {
  display: grid;
  grid-template-columns: minmax(8rem, 0.8fr) minmax(10rem, 1fr) minmax(7rem, 0.45fr) auto;
  gap: 0.6rem;
  align-items: end;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fbfcfc;
}

.catalog-form-actions {
  align-self: end;
  justify-content: flex-end;
}

.catalog-list,
.customer-list {
  display: grid;
  gap: 0.45rem;
}

.catalog-row,
.customer-row {
  display: grid;
  grid-template-columns: minmax(7rem, 0.75fr) minmax(10rem, 1fr) minmax(5rem, auto) auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: var(--surface);
}

.catalog-row strong,
.catalog-row span,
.customer-row strong,
.customer-row span {
  overflow-wrap: anywhere;
}

.catalog-group {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.catalog-price {
  justify-self: end;
  font-weight: 850;
  white-space: nowrap;
}

.catalog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
}

.customer-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-row {
  grid-template-columns: minmax(10rem, 1fr) minmax(10rem, 1fr) minmax(8rem, 0.7fr) minmax(10rem, 1fr) minmax(8rem, 0.8fr) auto;
}

.customer-name {
  color: var(--ink);
  font-weight: 850;
}

.customer-meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.order-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.order-card {
  display: grid;
  grid-template-columns: minmax(13rem, 0.9fr) minmax(24rem, 1.45fr) minmax(15rem, 1fr);
  gap: 0.85rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface);
  padding: 0.8rem 0.9rem;
}

.order-card:nth-child(even) {
  background: #f0faf6;
}

.ticket-line {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.ticket-line > div {
  min-width: 0;
}

.ticket-number {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
}

.contact {
  margin-top: 0.2rem;
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.status-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.32rem 0.55rem;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.status-pill.received { background: rgba(49, 93, 140, 0.12); color: var(--blue); }
.status-pill.ready { background: rgba(35, 122, 79, 0.12); color: var(--green); }
.status-pill.picked-up { background: #e8ecef; color: #4c5962; }

.order-facts {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
}

.order-facts div {
  min-width: 0;
}

dt {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 0.12rem 0 0;
  font-size: 0.88rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.unpaid-total {
  color: var(--coral);
}

.notes {
  color: #40505a;
  font-size: 0.88rem;
  line-height: 1.35;
  max-height: 3.6rem;
  overflow: hidden;
}

.order-lines {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #40505a;
  font-size: 0.82rem;
  min-width: 0;
  grid-column: 3;
}

.order-lines li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 0;
  padding-top: 0;
}

.card-actions {
  grid-column: 1 / -1;
  align-self: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding-top: 0.65rem;
  border-top: 1px solid #edf1f3;
}

.empty-state {
  margin-top: 2rem;
  color: var(--muted);
  text-align: center;
}

.print-receipt {
  display: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(23, 32, 38, 0.38);
}

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

.modal-card {
  display: grid;
  gap: 1rem;
  width: min(36rem, 100%);
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
}

.modal-check {
  align-self: end;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.45rem;
}

.modal-check input {
  width: 1rem;
  height: 1rem;
}

@media (max-width: 1020px) {
  .summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-shell {
    grid-template-columns: 1fr;
  }

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

  .self-serve-entry-row-washers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .order-editor {
    position: static;
  }

  .order-card {
    grid-template-columns: 1fr;
  }

  .order-lines,
  .card-actions {
    grid-column: auto;
  }

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

@media (max-width: 900px) {
  .card-actions {
    justify-content: space-between;
  }
}

@media (max-width: 680px) {
  .app-header,
  .toolbar,
  .panel-heading,
  .catalog-manager-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .brand-block {
    width: 100%;
    min-width: 0;
    justify-content: center;
    text-align: center;
  }

  .brand-logo {
    width: min(17rem, 100%);
  }

  .header-actions,
  .tools,
  .view-tabs,
  .customer-heading-actions,
  .customer-search {
    width: 100%;
  }

  .primary-action,
  .tab-button,
  .search-box,
  .select-box {
    flex: 1;
  }

  .summary-strip,
  .report-form,
  .report-summary,
  .self-serve-toolbar,
  .self-serve-form,
  .self-serve-entry-row,
  .self-serve-entry-row-washers,
  .field-grid,
  .order-facts,
  .service-line,
  .catalog-form,
  .catalog-row,
  .customer-form,
  .customer-row {
    grid-template-columns: 1fr;
  }

  .catalog-price {
    justify-self: start;
  }

  .catalog-row .danger-button,
  .customer-row .danger-button {
    width: 100%;
  }

  .catalog-form-actions,
  .catalog-actions,
  .modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-form-actions .ghost-button,
  .catalog-form-actions .primary-action,
  .catalog-actions .ghost-button,
  .catalog-actions .danger-button,
  .modal-actions .ghost-button,
  .modal-actions .primary-action {
    width: 100%;
  }

  .service-lines-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .service-lines-heading .ghost-button {
    width: 100%;
  }

  .service-line .danger-button {
    width: 100%;
  }

  .line-total {
    justify-content: flex-start;
  }

  .tools {
    flex-direction: column;
  }

  .customer-heading-actions,
  .customer-search,
  .header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box input,
  .select-box select,
  .store-switcher {
    min-width: 100%;
  }

  .form-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  #pricePreview {
    margin-left: 0;
    text-align: right;
  }

  .form-footer .primary-action {
    grid-column: 1 / -1;
  }
}

@media print {
  @page {
    size: letter;
    margin: 0.45in;
  }

  @page tag {
    size: 3in 11in;
    margin: 0;
  }

  body.printing-tag,
  body.printing-report {
    background: #fff;
    color: #000;
  }

  body.printing-tag > :not(.print-receipt) {
    display: none;
  }

  body.printing-report > :not(.app-shell) {
    display: none;
  }

  body.printing-report {
    font-family: Arial, Helvetica, sans-serif;
  }

  body.printing-report .app-shell {
    width: 100%;
    padding: 0;
  }

  body.printing-report .app-view:not(#reportsView),
  body.printing-report .report-menu,
  body.printing-report .report-form,
  body.printing-report #printOrdersReportButton {
    display: none;
  }

  body.printing-report #reportsView,
  body.printing-report .report-manager,
  body.printing-report .report-panel {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: #fff;
    box-shadow: none;
  }

  body.printing-report .report-shell {
    display: block;
  }

  body.printing-report .catalog-manager-heading,
  body.printing-report .panel-heading {
    display: block;
    margin-bottom: 0.18in;
  }

  body.printing-report .eyebrow {
    color: #000;
    font-size: 9pt;
  }

  body.printing-report h2 {
    font-size: 20pt;
  }

  body.printing-report h3 {
    font-size: 16pt;
  }

  body.printing-report .report-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.08in;
    margin-bottom: 0.18in;
  }

  body.printing-report .report-summary article {
    border: 1px solid #000;
    background: #fff;
    padding: 0.08in;
  }

  body.printing-report .report-summary span {
    color: #000;
    font-size: 8pt;
  }

  body.printing-report .report-summary strong {
    font-size: 12pt;
  }

  body.printing-report .report-table-wrap {
    overflow: visible;
  }

  body.printing-report .report-table {
    min-width: 0;
    font-size: 9pt;
  }

  body.printing-report .report-table th,
  body.printing-report .report-table td {
    border-bottom: 1px solid #000;
    padding: 0.06in 0.04in;
  }

  body.printing-report .report-table th {
    color: #000;
    font-size: 7.5pt;
  }

  body.printing-report .report-table td {
    font-size: 8.5pt;
  }

  body.printing-tag .print-receipt {
    display: block;
    page: tag;
    width: 3in;
    margin: 0;
    padding: 0.07in;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11.5pt;
    line-height: 1.16;
  }

  body.printing-tag .receipt-copy {
    width: 100%;
    padding: 0;
    border: 0;
    break-inside: avoid;
  }

  body.printing-tag .receipt-copy:not(.bag-tag) + .receipt-copy:not(.bag-tag) {
    margin-top: 0.18in;
    padding-top: 0.12in;
    border-top: 1px dashed #000;
  }

  body.printing-tag .receipt-logo {
    display: block;
    width: 2.35in;
    max-height: 0.72in;
    object-fit: contain;
    margin: 0 auto 0.06in;
  }

  body.printing-tag .receipt-kicker {
    font-size: 9.5pt;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
  }

  body.printing-tag .print-receipt h2 {
    margin: 0.03in 0;
    font-size: 18pt;
    line-height: 1.05;
    text-align: center;
  }

  body.printing-tag .receipt-ticket {
    margin: 0 0 0.08in;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 0.05in 0;
    font-size: 16pt;
    font-weight: 900;
    text-align: center;
  }

  body.printing-tag .receipt-primary {
    display: grid;
    gap: 0.03in;
    margin-bottom: 0.08in;
    text-align: center;
  }

  body.printing-tag .receipt-primary strong {
    font-size: 14pt;
  }

  body.printing-tag .receipt-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.05in 0.08in;
    margin-bottom: 0.08in;
  }

  body.printing-tag .receipt-meta span,
  body.printing-tag .receipt-notes span {
    display: block;
    font-size: 8.5pt;
    font-weight: 800;
    text-transform: uppercase;
  }

  body.printing-tag .receipt-meta strong,
  body.printing-tag .receipt-line strong {
    font-size: 11.5pt;
  }

  body.printing-tag .receipt-date-value {
    display: block;
    font-size: 8.6pt;
    white-space: nowrap;
  }

  body.printing-tag .bag-count-value {
    font-size: 18pt;
    line-height: 1;
  }

  body.printing-tag .receipt-section {
    border-top: 1px dashed #000;
    border-bottom: 1px dashed #000;
    padding: 0.07in 0;
  }

  body.printing-tag .receipt-section h3 {
    margin: 0 0 0.05in;
    font-size: 11pt;
    text-transform: uppercase;
  }

  body.printing-tag .receipt-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0.45in, auto) minmax(0.68in, auto);
    align-items: start;
    column-gap: 0.08in;
    row-gap: 0.03in;
    padding: 0.03in 0;
  }

  body.printing-tag .receipt-line span {
    overflow-wrap: anywhere;
  }

  body.printing-tag .receipt-line strong {
    text-align: right;
    white-space: nowrap;
  }

  body.printing-tag .receipt-notes {
    margin: 0.08in 0;
  }

  body.printing-tag .receipt-notes p {
    margin: 0.03in 0 0;
    overflow-wrap: anywhere;
  }

  body.printing-tag .receipt-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #000;
    padding: 0.07in;
    font-size: 14pt;
  }

  body.printing-tag .receipt-total strong {
    font-size: 18pt;
  }

  body.printing-tag .receipt-footer {
    margin-top: 0.12in;
    padding-top: 0.08in;
    border-top: 1px solid #000;
    font-size: 9.5pt;
    font-weight: 800;
    line-height: 1.22;
    text-align: center;
  }

  body.printing-tag .receipt-footer p {
    margin: 0.02in 0;
  }

  body.printing-tag .receipt-unpaid strong {
    color: #000;
  }

  body.printing-tag .bag-tag {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  body.printing-tag .bag-tag h2 {
    font-size: 20pt;
  }

  body.printing-tag .bag-tag + .bag-tag {
    margin-top: 0.16in;
    padding-top: 0.12in;
    border-top: 1px dashed #000;
  }

  body.printing-tag .tag-customer {
    margin-top: 0.06in;
    font-size: 18pt;
    font-weight: 900;
    text-align: center;
    overflow-wrap: anywhere;
  }

  body.printing-tag .tag-due {
    margin: 0.06in 0 0.08in;
    font-size: 13pt;
    font-weight: 800;
    text-align: center;
  }

  body.printing-tag .tag-bag-count {
    margin: 0 0 0.08in;
    font-size: 16pt;
    font-weight: 900;
    text-align: center;
  }

  body.printing-tag .tag-options {
    display: grid;
    gap: 0.04in;
    margin-top: 0.08in;
    font-size: 12pt;
  }
}
