/* =========================================================
   FLOWPRESS / CSW - CENTRAL APP CSS
   Put this file at: public/assets/css/app.css
   Linked from layout: <link rel="stylesheet" href="<?= base_url('assets/css/app.css') ?>">
   ========================================================= */

/* ----------------- BASE ----------------- */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #1a2226;
  background: #f4f6f9; /* matches your workorder-page */
}

a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
}

.fp-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.fp-content {
  flex: 1;
  width: 100%;
}

.fp-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 24px;
}

/* Utility */
.muted {
  color: #6c6c6c;
}
.container {
  width: 100%;
  max-width: 900px;
  margin: 15px auto;
  padding: 0 15px;
}

/* =========================================================
   TOP BAR (for customer_form page + general pages)
   ========================================================= */
.topbar {
  background: #1a2226;
  color: #ecf0f5;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(80px, 1fr);
  align-items: center;
  gap: 18px;
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.16),
    0 3px 6px rgba(0, 0, 0, 0.23);
}

.topbar--guest {
  grid-template-columns: minmax(0, 1fr) auto;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar__center {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.topbar__right {
  justify-content: flex-end;
  min-width: 0;
}

.topbar-clock {
  min-width: 116px;
  display: grid;
  gap: 2px;
  justify-items: end;
  color: #ecf0f5;
  line-height: 1.1;
}

.topbar-clock span {
  color: #aebbc2;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.topbar-clock strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.topbar-flow {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 68vw;
  overflow-x: auto;
  padding: 2px 4px 2px 0;
  white-space: nowrap;
  scrollbar-width: thin;
}

.topbar-flow__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-right: 22px;
  padding: 13px 18px 13px 28px;
  background: #2d373c;
  color: #ecf0f5;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.topbar-flow__link kbd,
.btn kbd,
.icon-btn kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  min-height: 18px;
  border: 1px solid currentColor;
  border-radius: 3px;
  padding: 1px 4px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  opacity: 0.82;
}

.topbar-flow__link kbd {
  min-width: 28px;
  color: inherit;
}

.topbar-flow__link::after {
  content: "";
  position: absolute;
  top: 0;
  right: -22px;
  width: 0;
  height: 0;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 22px solid #2d373c;
  z-index: 2;
  transition: border-left-color 160ms ease;
}

.topbar-flow__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 22px solid #1a2226;
}

.topbar-flow__link:first-child {
  border-radius: 4px 0 0 4px;
  padding-left: 20px;
}

.topbar-flow__link:first-child::before {
  display: none;
}

.topbar-flow__link:last-child {
  border-radius: 0 4px 4px 0;
  margin-right: 0;
  padding-right: 20px;
}

.topbar-flow__link:last-child::after {
  display: none;
}

.topbar-flow__link:hover,
.topbar-flow__link--active {
  background: #0db8de;
  color: #ffffff;
}

.topbar-flow__link:hover::after,
.topbar-flow__link--active::after {
  border-left-color: #0db8de;
}

.topbar-flow__link--disabled,
.topbar-flow__link--disabled:hover {
  background: #6f7a82;
  color: #d7dee3;
  cursor: not-allowed;
  opacity: 0.62;
}

.topbar-flow__link--disabled::after,
.topbar-flow__link--disabled:hover::after {
  border-left-color: #6f7a82;
}

.profile-menu,
.notification-menu {
  position: relative;
}

.profile-menu__trigger,
.notification-menu__trigger {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0db8de;
  border-radius: 50%;
  background: #ffffff;
  color: #1a2226;
  cursor: pointer;
  list-style: none;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.18),
    0 1px 2px rgba(0, 0, 0, 0.24);
}

.profile-menu__trigger::-webkit-details-marker,
.notification-menu__trigger::-webkit-details-marker {
  display: none;
}

.profile-menu__trigger span,
.notification-menu__trigger span {
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.profile-menu__trigger img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.notification-menu__trigger svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.notification-menu__trigger {
  position: relative;
  border-color: #efd27a;
}

.notification-menu__trigger i {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #c42127;
  color: #ffffff;
  padding: 0 5px;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.profile-menu__panel,
.notification-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  min-width: 180px;
  display: grid;
  background: #ffffff;
  border: 1px solid #d5dde3;
  border-radius: 6px;
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.16),
    0 2px 5px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.notification-menu__panel {
  width: min(340px, 92vw);
}

.notification-menu__panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #d5dde3;
  padding: 11px 12px;
  color: #1a2226;
}

.notification-menu__panel header button {
  border: 0;
  background: transparent;
  color: #0a7f9b;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.notification-menu__items {
  display: grid;
  max-height: 330px;
  overflow-y: auto;
}

.notification-menu__items p,
.notification-menu__item {
  margin: 0;
  border-bottom: 1px solid #e1e6ea;
  padding: 12px;
  color: #1a2226;
  font-size: 12px;
  font-weight: 800;
}

.notification-menu__item {
  display: grid;
  gap: 4px;
  text-decoration: none;
}

.notification-menu__item:hover {
  background: #eaf9fd;
}

.notification-menu__item span {
  color: #56616a;
  font-size: 11px;
  font-weight: 800;
}

.profile-menu__panel a {
  color: #1a2226;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.profile-menu__panel a:hover {
  background: #eaf9fd;
  color: #0a7f9b;
}

.profile-menu__panel .profile-menu__link--disabled,
.profile-menu__panel .profile-menu__link--disabled:hover {
  background: #f2f5f7;
  color: #8a949c;
  cursor: not-allowed;
}

.live-update-banner {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff6d8;
  border-bottom: 1px solid #efd27a;
  color: #1a2226;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}

.live-update-banner[hidden] {
  display: none;
}

.live-update-banner button {
  border: 1px solid #0db8de;
  border-radius: 4px;
  background: #ffffff;
  color: #0a7f9b;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.live-update-banner button:hover {
  background: #eaf9fd;
}

.order-status-panel {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  border: 1px solid #d5dde3;
  border-radius: 6px;
  background: #f7f9fb;
  padding: 12px;
}

.order-status-panel h2 {
  margin: 0;
  color: #1a2226;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.order-status-panel strong,
[data-current-order-status].status-changed {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  border-radius: 999px;
  background: #eaf9fd;
  color: #0a7f9b;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

[data-current-order-status].status-changed {
  animation: statusPulse 900ms ease-in-out infinite alternate;
}

@keyframes statusPulse {
  from {
    background: #fff6d8;
    color: #855b00;
    box-shadow: 0 0 0 0 rgba(239, 210, 122, 0.22);
  }

  to {
    background: #c42127;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(196, 33, 39, 0.2);
  }
}

/* Logo link */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  height: 34px; /* adjust if you want bigger */
  width: auto;
  display: block;
}

/* Right-side links */
.link {
  color: #ecf0f5;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 6px 10px;
}

.link:hover {
  color: #ffffff;
}

/* =========================================================
   CUSTOMER UPLOAD PAGE (matches your card-container style)
   ========================================================= */
.page {
  min-height: 95vh;
  display: flex;
  flex-direction: column;
}

.content {
  width: 100%;
  max-width: 900px;
  margin: 15px auto;
  padding: 0 15px 30px;
}

.intake-page {
  padding: 28px 0 42px;
}

.intake-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}

.title {
  margin: 18px 0 8px;
  font-size: 32px;
  letter-spacing: 0;
  font-weight: 900;
  color: #1a2226;
}

.subtitle {
  margin: 0 0 18px;
  color: #6c6c6c;
  line-height: 1.5;
  max-width: 720px;
}

.workflow-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.workflow-step {
  border: 1px solid #cfd7dc;
  color: #56616a;
  background: #ffffff;
  border-radius: 6px;
  padding: 9px 10px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.workflow-step--active {
  border-color: #0db8de;
  background: #eaf9fd;
  color: #1a2226;
}

/* Card container that matches your existing look */
.card {
  background: #fff;
  border-radius: 6px;
  padding: 20px;
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.16),
    0 3px 6px rgba(0, 0, 0, 0.23);
}

.intake-card {
  padding: 28px;
}

/* Form fields */
.form {
  margin-top: 0;
}

.form-section {
  border-bottom: 1px solid #e1e6ea;
  padding-bottom: 22px;
  margin-bottom: 24px;
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.section-title {
  color: #1a2226;
  font-size: 18px;
  letter-spacing: 0;
  margin: 0 0 18px;
}

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

.field {
  margin-bottom: 18px;
}

.label {
  display: block;
  font-size: 10px;
  color: #6c6c6c;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.input {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #aebbc2;
  border-bottom: 3px solid #0db8de;
  border-radius: 4px;
  font-weight: bold;
  outline: 0;
  margin-bottom: 0;
  padding: 10px 9px;
  color: #1a2226;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: #0db8de;
  outline: 0;
  box-shadow:
    0 0 0 3px rgba(13, 184, 222, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.input[readonly],
.input:disabled,
.select:disabled,
.textarea[readonly],
.textarea:disabled {
  border-color: #d5dde3;
  border-bottom-color: #aebbc2;
  background-color: #eef2f4;
  color: #56616a;
  cursor: not-allowed;
  box-shadow: none;
}

.input::placeholder {
  color: #9aa0a6;
}

.select {
  appearance: none;
  padding-right: 36px;
  background-image:
    linear-gradient(45deg, transparent 50%, #0a7f9b 50%),
    linear-gradient(135deg, #0a7f9b 50%, transparent 50%),
    linear-gradient(to right, #d5dde3, #d5dde3);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%,
    calc(100% - 32px) 50%;
  background-size:
    6px 6px,
    6px 6px,
    1px 60%;
  background-repeat: no-repeat;
}

.select:disabled {
  background-image:
    linear-gradient(45deg, transparent 50%, #8b979f 50%),
    linear-gradient(135deg, #8b979f 50%, transparent 50%),
    linear-gradient(to right, #c6d0d6, #c6d0d6);
}

.textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.45;
}

.file-input {
  display: none;
}

.dropzone {
  display: grid;
  gap: 6px;
  border: 2px dashed #b9dce6;
  border-radius: 6px;
  background: #f7fbfd;
  padding: 22px;
  color: #1a2226;
  cursor: pointer;
  text-align: center;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.dropzone--active,
.dropzone:hover {
  border-color: #0db8de;
  background: #eaf9fd;
}

.dropzone__title {
  font-size: 15px;
  font-weight: 900;
}

.dropzone__meta {
  color: #56616a;
  font-size: 12px;
  font-weight: 700;
}

.dropzone-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px;
  margin-top: 8px;
  text-align: left;
}

.dropzone-preview[hidden] {
  display: none;
}

.dropzone-preview__item {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-rows: 72px auto auto;
  gap: 4px;
  border: 1px solid #d5dde3;
  border-radius: 6px;
  background: #ffffff;
  padding: 6px;
}

.dropzone-preview__item[role="button"] {
  cursor: zoom-in;
}

.dropzone-preview__item[role="button"]:focus {
  outline: 2px solid rgba(13, 184, 222, 0.32);
  outline-offset: 2px;
}

.dropzone-preview__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 1;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: #c42127;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(26, 34, 38, 0.22);
}

.dropzone-preview__remove:hover,
.dropzone-preview__remove:focus {
  background: #98171d;
  outline: 2px solid rgba(196, 33, 39, 0.24);
  outline-offset: 1px;
}

.dropzone-preview__item img,
.dropzone-preview__file {
  width: 100%;
  height: 72px;
  border-radius: 4px;
  background: #eef4f6;
}

.dropzone-preview__item img {
  display: block;
  object-fit: cover;
}

.dropzone-preview__file {
  display: grid;
  place-items: center;
  color: #0a7f9b;
  font-size: 13px;
  font-weight: 900;
}

.dropzone-preview__name,
.dropzone-preview__size {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropzone-preview__name {
  color: #1a2226;
  font-size: 11px;
  font-weight: 800;
}

.dropzone-preview__size {
  color: #6d777f;
  font-size: 10px;
  font-weight: 700;
}

.color-size-builder {
  margin-top: 18px;
}

.color-size-builder__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.color-size-builder__header h3 {
  margin: 0;
  color: #1a2226;
  font-size: 15px;
  font-weight: 900;
}

.color-size-table {
  display: grid;
  gap: 8px;
  overflow-x: auto;
}

.color-size-row {
  display: grid;
  grid-template-columns: minmax(128px, 1fr) minmax(142px, 1.15fr) minmax(108px, 0.85fr) minmax(122px, 0.9fr) minmax(132px, 1fr) minmax(82px, 0.65fr) minmax(82px, 0.65fr) minmax(62px, 0.45fr) 86px;
  gap: 8px;
  align-items: end;
  min-width: 980px;
  border: 1px solid #e1e6ea;
  border-radius: 6px;
  background: #f7f9fb;
  padding: 10px;
}

.color-size-row__item,
.color-size-row__color-field,
.color-size-row__color,
.color-size-row__category,
.color-size-row__print,
.color-size-row__production,
.color-size-row__money,
.color-size-row__total,
.color-size-row [data-remove-color-row] {
  grid-row: 1;
}

.color-size-row__item {
  grid-column: 1;
}

.color-size-row__color-field,
.color-size-row__color {
  grid-column: 2;
}

.color-size-row__category {
  grid-column: 3;
}

.color-size-row__print {
  grid-column: 4;
}

.color-size-row__production {
  grid-column: 5;
}

.color-size-row__money--item {
  grid-column: 6;
}

.color-size-row__money--print {
  grid-column: 7;
}

.color-size-row__total {
  grid-column: 8;
}

.color-size-row [data-remove-color-row] {
  grid-column: 9;
}

.color-size-row__size {
  grid-row: 2;
}

.color-size-row__total .input {
  color: #16242f;
  font-weight: 900;
}

.color-size-row label {
  display: grid;
  gap: 4px;
}

.color-size-row label span {
  color: #56616a;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}

.color-size-row .input {
  background: #ffffff;
  padding: 8px 4px;
  text-align: center;
}

.color-size-row__color-field {
  display: grid;
  gap: 6px;
}

.color-size-row__color,
.color-size-row__color-choice {
  text-align: left !important;
}

.color-size-row__item,
.color-size-row__category,
.color-size-row__print {
  text-align: left !important;
}

.color-size-row__production {
  display: grid;
  gap: 4px;
}

.color-size-row__production label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 17px;
}

.color-size-row__production input {
  margin: 0;
}

.segmented-control,
.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.segmented-control label,
.choice {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.segmented-control input,
.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented-control span,
.choice span {
  border: 1px solid #cfd7dc;
  background: #ffffff;
  color: #56616a;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
}

.segmented-control input:checked + span,
.choice input:checked + span {
  border-color: #0db8de;
  background: #eaf9fd;
  color: #1a2226;
}

.form-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 6px;
}

.form-actions--stacked {
  align-items: center;
  flex-direction: column;
  gap: 8px;
}

.form-actions--stacked .btn {
  width: min(100%, 240px);
}

.printing-panel--side form,
.order-side-card form {
  width: 100%;
}

.printing-panel--side .btn,
.printing-panel--side .icon-btn,
.order-side-card .btn,
.order-side-card .icon-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.printing-panel--side .form-actions--stacked,
.order-side-card .form-actions--stacked,
.printing-panel--side .order-side-actions,
.order-side-card .order-side-actions {
  align-items: stretch;
  justify-items: stretch;
  width: 100%;
}

.printing-panel--side .form-actions--stacked .btn,
.order-side-card .form-actions--stacked .btn,
.printing-panel--side .order-side-actions .btn,
.order-side-card .order-side-actions .btn {
  width: 100%;
}

.settings-page {
  display: grid;
  gap: 18px;
  padding-top: 24px;
}

.settings-user-list {
  display: grid;
  gap: 16px;
}

.settings-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.settings-nav-card {
  display: grid;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.settings-nav-card span {
  color: #0a7f9b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.settings-nav-card strong {
  color: #1a2226;
  font-size: 18px;
  font-weight: 900;
}

.settings-nav-card p {
  margin: 0;
  color: #56616a;
  font-size: 13px;
  line-height: 1.45;
}

.settings-user-table td:nth-child(3) {
  min-width: 320px;
  white-space: normal;
}

.settings-api-group {
  display: grid;
  gap: 14px;
  border-top: 1px solid #e1e6ea;
  margin-top: 18px;
  padding-top: 18px;
}

.settings-api-group h3 {
  margin: 0;
  color: #1a2226;
  font-size: 15px;
  font-weight: 900;
}

.settings-api-group h4 {
  margin: 6px 0 0;
  color: #34414d;
  font-size: 13px;
  font-weight: 900;
}

.settings-api-note {
  margin: -4px 0 0;
  color: #56616a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.settings-api-note code {
  border: 1px solid #d5dde3;
  border-radius: 4px;
  background: #f6f8fa;
  padding: 1px 4px;
  color: #1a2226;
  font-size: 11px;
}

.settings-logo-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  border: 1px solid #d5dde3;
  border-radius: 6px;
  background: #f7f9fb;
  padding: 14px;
}

.settings-logo-preview img {
  display: block;
  max-width: 180px;
  max-height: 72px;
  object-fit: contain;
}

/* =========================================================
   REPORTS
   ========================================================= */
.reports-page {
  display: grid;
  gap: 18px;
  padding-top: 24px;
}

.reports-print-header {
  display: none;
}

.reports-filter {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
}

.reports-filter label {
  display: grid;
  gap: 5px;
  color: #56616a;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.reports-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.reports-tabs__link {
  border: 1px solid #d5dde3;
  border-radius: 6px;
  background: #ffffff;
  color: #1a2226;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.reports-tabs__link:hover,
.reports-tabs__link--active {
  border-color: #0db8de;
  background: #eaf9fd;
  color: #075f73;
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.reports-metric {
  border: 1px solid #dfe6eb;
  border-radius: 6px;
  background: #ffffff;
  padding: 12px;
}

.reports-metric span {
  display: block;
  color: #56616a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.reports-metric strong {
  display: block;
  margin-top: 7px;
  color: #1a2226;
  font-size: 24px;
  font-weight: 900;
}

.reports-table th,
.reports-table td {
  white-space: nowrap;
}

.profile-form {
  gap: 18px;
}

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

.profile-avatar-preview {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 2px solid #0db8de;
  border-radius: 50%;
  background: #ffffff;
  color: #1a2226;
  overflow: hidden;
  font-size: 28px;
  font-weight: 900;
}

.profile-avatar-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.permission-grid .choice span {
  width: 100%;
  min-height: 42px;
}

.theme-dark {
  background: #101418;
  color: #e8edf0;
}

.theme-dark .topbar,
.theme-dark .footer,
.theme-dark .card,
.theme-dark .printing-panel,
.theme-dark .order-edit-card,
.theme-dark .order-side-card,
.theme-dark .intake-card {
  background: #171d22;
  border-color: #2a333b;
  color: #e8edf0;
}

.theme-dark .title,
.theme-dark .section-title,
.theme-dark .settings-nav-card strong,
.theme-dark .settings-api-group h3,
.theme-dark .settings-api-group h4,
.theme-dark .label,
.theme-dark .printing-panel h2,
.theme-dark .department-time-card h3 {
  color: #f6f8f9;
}

.theme-dark .subtitle,
.theme-dark .eyebrow,
.theme-dark .footer,
.theme-dark .topbar-flow__link,
.theme-dark .profile-menu__panel a,
.theme-dark .notification-menu__item span,
.theme-dark .printing-copy,
.theme-dark .settings-nav-card p,
.theme-dark .settings-api-note,
.theme-dark .empty-state {
  color: #aab6bd;
}

.theme-dark .input,
.theme-dark .select,
.theme-dark .textarea,
.theme-dark .dropzone,
.theme-dark .permission-denied__panel,
.theme-dark .notification-menu__panel,
.theme-dark .choice span,
.theme-dark .settings-logo-preview,
.theme-dark .proof-link-panel,
.theme-dark .order-status-panel,
.theme-dark .department-time-card,
.theme-dark .workflow-file-tile,
.theme-dark .printing-file-tile {
  background: #11171c;
  border-color: #33404a;
  color: #e8edf0;
}

.theme-dark .permission-denied h1 {
  color: #f6f8f9;
}

.theme-dark .permission-denied p {
  color: #aab6bd;
}

.theme-dark .topbar-flow__link--disabled,
.theme-dark .topbar-flow__link--disabled:hover {
  background: #303940;
  color: #76848d;
}

.theme-dark .topbar-flow__link--disabled::after,
.theme-dark .topbar-flow__link--disabled:hover::after {
  border-left-color: #303940;
}

.theme-dark .profile-menu__panel .profile-menu__link--disabled,
.theme-dark .profile-menu__panel .profile-menu__link--disabled:hover,
.theme-dark .panel-edit-btn--disabled,
.theme-dark .panel-edit-btn--disabled:hover {
  background: #232b31;
  border-color: #3b4852;
  color: #76848d;
}

.theme-dark .settings-api-note code {
  background: #232b31;
  border-color: #3b4852;
  color: #e8edf0;
}

.theme-dark .input[readonly],
.theme-dark .input:disabled,
.theme-dark .select:disabled,
.theme-dark .textarea[readonly],
.theme-dark .textarea:disabled {
  background: #232b31;
  border-color: #3b4852;
  border-bottom-color: #667782;
  color: #9fabB3;
}

.theme-dark .select {
  background-image:
    linear-gradient(45deg, transparent 50%, #7bdcf1 50%),
    linear-gradient(135deg, #7bdcf1 50%, transparent 50%),
    linear-gradient(to right, #33404a, #33404a);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%,
    calc(100% - 32px) 50%;
  background-size:
    6px 6px,
    6px 6px,
    1px 60%;
  background-repeat: no-repeat;
}

.theme-dark .topbar-flow__link--active,
.theme-dark .choice input:checked + span {
  background: #123743;
  border-color: #0db8de;
  color: #f6f8f9;
}

.theme-dark .notification-menu__panel header,
.theme-dark .notification-menu__items p,
.theme-dark .notification-menu__item,
.theme-dark .order-status-panel h2 {
  border-color: #2a333b;
  color: #f6f8f9;
}

.theme-dark .notification-menu__item:hover {
  background: #123743;
}

/* Button style aligned with your .btn system */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  height: 42px;
  border-radius: 0 !important;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.24);
  width: 200px;
  text-align: center;

  border: 1px solid #0db8de;
  color: #0db8de;
  background: transparent;
  padding: 10px 14px;
  cursor: pointer;
}

.btn--primary {
  background: #0db8de;
  color: #ffffff;
}

.btn:hover {
  background-color: #0db8de;
  color: #fff;
}

.btn.is-loading,
.icon-btn.is-loading {
  position: relative;
  overflow: hidden;
  opacity: 0.82;
  pointer-events: none;
}

.btn-progress {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: buttonProgressSpin 700ms linear infinite;
}

@keyframes buttonProgressSpin {
  to {
    transform: rotate(360deg);
  }
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 23, 31, 0.48);
  backdrop-filter: blur(3px);
}

.page-loader[hidden] {
  display: none;
}

.page-loader__panel {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(340px, 100%);
  border: 1px solid #d7dee6;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(12, 23, 31, 0.28);
  padding: 26px 24px;
  text-align: center;
}

.page-loader__spinner {
  width: 42px;
  height: 42px;
  border: 4px solid #d7eef5;
  border-top-color: #0db8de;
  border-radius: 50%;
  animation: buttonProgressSpin 800ms linear infinite;
}

.page-loader__panel strong {
  color: #16242f;
  font-size: 18px;
  font-weight: 900;
}

.page-loader__panel p {
  margin: 0;
  color: #56616a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

body.is-page-loading {
  cursor: progress;
}

.theme-dark .page-loader {
  background: rgba(4, 11, 16, 0.68);
}

.theme-dark .page-loader__panel {
  border-color: #344654;
  background: #14212b;
}

.theme-dark .page-loader__panel strong {
  color: #f5f8fb;
}

.theme-dark .page-loader__panel p {
  color: #b8c5cf;
}

/* Alerts */
.alert {
  padding: 12px 14px;
  border-radius: 6px;
  margin: 12px 0 16px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.24);
}

.alert--success {
  background: #e8fff6;
  border-left: 4px solid #27ef9f;
  color: #1a2226;
}

.alert--error {
  background: #ffecec;
  border-left: 4px solid #ff6b6b;
  color: #1a2226;
}

.permission-denied {
  display: grid;
  min-height: 58vh;
  place-items: center;
  padding: 36px 0;
}

.permission-denied__panel {
  width: min(620px, 100%);
  border: 1px solid #d5dde3;
  border-radius: 8px;
  background: #ffffff;
  padding: 28px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.24);
}

.permission-denied__eyebrow {
  color: #0a7f9b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.permission-denied h1 {
  margin: 10px 0;
  color: #1a2226;
  font-size: 28px;
  line-height: 1.15;
}

.permission-denied p {
  margin: 0 0 12px;
  color: #56616a;
  font-size: 15px;
  font-weight: 700;
}

.permission-denied__detail {
  border-left: 4px solid #d5dde3;
  padding-left: 10px;
}

.permission-denied__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.order-permission-alert {
  grid-column: 1 / -1;
}

.permission-locked-fieldset {
  display: contents;
  margin: 0;
  border: 0;
  padding: 0;
}

.submission-dialog {
  width: min(420px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: #1a2226;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.28),
    0 6px 16px rgba(0, 0, 0, 0.18);
}

.submission-dialog::backdrop {
  background: rgba(26, 34, 38, 0.58);
}

.submission-dialog__body {
  display: grid;
  gap: 14px;
  padding: 28px;
  text-align: center;
}

.submission-dialog__body h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: 0;
}

.submission-dialog__body p {
  margin: 0;
  color: #415057;
  font-size: 16px;
  line-height: 1.5;
}

.submission-dialog__body .btn {
  min-width: 120px;
}

.cancel-order-dialog {
  width: min(480px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: #1a2226;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.28),
    0 6px 16px rgba(0, 0, 0, 0.18);
}

.cancel-order-dialog::backdrop {
  background: rgba(26, 34, 38, 0.62);
}

.cancel-order-dialog__body {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.cancel-order-dialog__body h2 {
  margin: 0;
  color: #1a2226;
  font-size: 24px;
  letter-spacing: 0;
}

.cancel-order-dialog__body p {
  margin: 0;
  color: #56616a;
  font-size: 14px;
  line-height: 1.45;
}

.cancel-order-dialog__error {
  color: #d93636 !important;
  font-size: 12px !important;
  font-weight: 900;
}

.cancel-order-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.proof-link-panel {
  display: grid;
  gap: 10px;
  border: 1px solid #d5dde3;
  border-radius: 6px;
  background: #f7f9fb;
  margin-top: 14px;
  padding: 12px;
}

.proof-link-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.error-list {
  margin: 8px 0 0;
  padding-left: 18px;
}

/* =========================================================
   DASHBOARD
   ========================================================= */
.dashboard-page {
  padding: 28px 0 42px;
}

.dashboard-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #0a7f9b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.dashboard-summary {
  min-width: 150px;
  border-left: 4px solid #0db8de;
  background: #ffffff;
  padding: 14px 16px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.18);
}

.dashboard-summary--complete {
  border-left-color: #16a163;
  background: #f2fbf6;
}

.dashboard-summary--complete .dashboard-summary__number {
  color: #127347;
}

.dashboard-summary__number,
.dashboard-summary__label {
  display: block;
}

.dashboard-summary__number {
  color: #1a2226;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.dashboard-summary__label {
  margin-top: 5px;
  color: #56616a;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.dashboard-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.pickup-bin-toggle {
  align-self: stretch;
  min-width: 150px;
  height: auto;
  padding: 14px 16px;
  justify-content: center;
}

.dashboard-search {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  gap: 8px;
  min-width: 260px;
  border: 1px solid #aebbc2;
  border-bottom: 3px solid #0db8de;
  border-radius: 4px;
  background: #ffffff;
  padding: 0 10px;
}

.dashboard-search svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: #0a7f9b;
}

.dashboard-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #1a2226;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  outline: 0;
}

.dashboard-search input::placeholder {
  color: #7a858c;
}

.dashboard-search:focus-within {
  border-color: #0db8de;
  box-shadow: 0 0 0 3px rgba(13, 184, 222, 0.18);
}

.shortcut-legend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  border: 1px solid #cfd7dc;
  background: #ffffff;
  color: #415057;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.shortcut-legend span {
  color: #56616a;
  text-transform: uppercase;
}

.shortcut-legend kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 20px;
  border: 1px solid #9eabb3;
  border-radius: 3px;
  padding: 2px 5px;
  background: #f7f9fb;
  color: #1a2226;
  font-family: inherit;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.dashboard-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  height: auto;
  width: auto;
  min-width: 170px;
  text-decoration: none;
}

.department-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 12px;
  align-items: start;
}

.department-board--single {
  grid-template-columns: minmax(0, 1fr);
}

.department-column {
  background: #eef2f5;
  border: 1px solid #d5dde3;
  border-radius: 6px;
  min-height: 320px;
}

.department-column__header {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid #d5dde3;
}

.department-column__header h2 {
  margin: 0;
  color: #1a2226;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.department-column__header span {
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1a2226;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.department-column__orders {
  display: grid;
  gap: 10px;
  padding: 10px;
}

.empty-state {
  margin: 0;
  padding: 22px 10px;
  color: #6c6c6c;
  font-size: 13px;
  text-align: center;
}

.order-card {
  background: #ffffff;
  border: 1px solid #dfe6eb;
  border-radius: 6px;
  padding: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.order-search-match {
  border-color: #0db8de;
  background: #eaf9fd;
  box-shadow:
    inset 4px 0 0 #0db8de,
    0 0 0 2px rgba(13, 184, 222, 0.18),
    0 1px 2px rgba(0, 0, 0, 0.08);
}

.order-card--rejected {
  border-color: #d93636;
  background: #fff4f4;
}

.order-card.order-search-match {
  border-color: #0db8de;
  background: #eaf9fd;
}

.order-card__topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.order-card__topline strong {
  color: #0a7f9b;
  font-size: 12px;
  line-height: 1.3;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #b9dce6;
  border-radius: 999px;
  background: #eaf9fd;
  color: #1a2226;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  white-space: normal;
}

.status-pill--danger {
  border-color: #d93636;
  background: #ffecec;
  color: #9f1d1d;
}

.status-pill--success {
  border-color: #1b9b62;
  background: #e9f8f1;
  color: #11633f;
}

.status-pill--neutral {
  border-color: #c9d3da;
  background: #f7f9fb;
  color: #2f3a41;
}

.status-pill--print {
  border-color: #0db8de;
  background: #e4f8fd;
  color: #075f74;
}

.status-pill--embroidery {
  border-color: #1b9b62;
  background: #e9f8f1;
  color: #11633f;
}

.status-pill--air-brush {
  border-color: #b36bdb;
  background: #f6edfc;
  color: #704091;
}

.time-pill {
  display: inline-flex;
  min-width: 76px;
  justify-content: center;
  border: 1px solid #d8c76b;
  border-radius: 999px;
  background: #fff9d8;
  color: #4f4308;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.time-pill--total {
  border-color: #bfd4dc;
  background: #f3f7f9;
  color: #1a2226;
}

.assignment-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid #d8c76b;
  border-radius: 4px;
  background: #fff9d8;
  color: #4f4308;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.order-card h3 {
  margin: 0 0 12px;
  color: #1a2226;
  font-size: 15px;
  line-height: 1.25;
}

.order-meta {
  display: grid;
  gap: 9px;
  margin: 0;
}

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

.order-meta dt {
  color: #6c6c6c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.order-meta dd {
  margin: 2px 0 0;
  color: #1a2226;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.order-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.order-card__open {
  flex: 1 1 150px;
}

.department-log {
  background: #ffffff;
  border: 1px solid #d5dde3;
  border-radius: 6px;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.12);
}

.department-log + .department-log {
  margin-top: 18px;
}

.department-log__header {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #e1e6ea;
}

.department-log__header h2 {
  margin: 0;
  color: #1a2226;
  font-size: 18px;
  font-weight: 900;
}

.department-log__header span {
  color: #56616a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pickup-bin-view {
  background: #ffffff;
  border: 1px solid #d5dde3;
  border-radius: 6px;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.12);
}

.pickup-bin-view__header {
  border-bottom-color: #d5dde3;
}

.pickup-bin-canvas {
  display: grid;
  grid-template-columns: repeat(7, minmax(112px, 1fr));
  gap: 14px 10px;
  padding: 18px;
  background:
    linear-gradient(#ffffff 0 0) padding-box,
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 132px,
      #8a643f 132px,
      #8a643f 140px
    );
}

.pickup-bin-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 112px;
  border: 2px solid #c9d0d6;
  border-top-color: #e4e8eb;
  border-radius: 4px 4px 2px 2px;
  background: #f8fafb;
  color: #1a2226;
  padding: 12px 10px 10px;
  text-decoration: none;
  box-shadow:
    inset 0 16px 0 rgba(255, 255, 255, 0.74),
    0 2px 0 #8a643f;
}

.pickup-bin-card::before,
.pickup-bin-card::after {
  content: "";
  position: absolute;
  top: 0;
  width: 18px;
  height: 54px;
  background: #d8c4a9;
  opacity: 0.75;
}

.pickup-bin-card::before {
  left: -2px;
  transform: skewY(-12deg);
  transform-origin: top left;
}

.pickup-bin-card::after {
  right: -2px;
  transform: skewY(12deg);
  transform-origin: top right;
}

.pickup-bin-card strong {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-width: 64px;
  border: 1px solid #dfe4e8;
  background: #ffffff;
  color: #101820;
  padding: 2px 6px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.pickup-bin-card span,
.pickup-bin-card small {
  position: relative;
  z-index: 1;
  overflow-wrap: anywhere;
}

.pickup-bin-card span {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.pickup-bin-card small {
  color: #5d6870;
  font-size: 11px;
  font-weight: 800;
}

.pickup-bin-card--filled {
  border-color: #0a7f9b;
  background: #eaf9fd;
}

.pickup-bin-card--filled:hover,
.pickup-bin-card--filled:focus {
  border-color: #095f73;
  box-shadow:
    inset 0 16px 0 rgba(255, 255, 255, 0.74),
    0 0 0 3px rgba(13, 184, 222, 0.18),
    0 2px 0 #8a643f;
}

.pickup-bin-card--empty {
  color: #6b757c;
}

.pickup-bin-card--empty strong {
  color: #3f4a51;
}

.order-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.order-table {
  width: 100%;
  min-width: 1560px;
  border-collapse: collapse;
  table-layout: fixed;
}

.order-table th,
.order-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #edf1f4;
  color: #1a2226;
  font-size: 13px;
  line-height: 1.25;
  text-align: left;
  vertical-align: middle;
}

.order-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #eef2f5;
  color: #56616a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.order-table-filter-row th {
  top: 34px;
  padding: 6px 8px;
  background: #f7f9fb;
}

.table-filter-input {
  width: 100%;
  min-width: 0;
  border: 1px solid #d5dde3;
  border-radius: 4px;
  background: #ffffff;
  color: #1a2226;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 6px 7px;
  text-transform: none;
}

.table-filter-input:focus {
  border-color: #0db8de;
  outline: 2px solid rgba(13, 184, 222, 0.18);
  outline-offset: 0;
}

.order-table tbody tr:hover {
  background: #f7fbfd;
}

.order-row {
  cursor: pointer;
}

.order-row--keyboard-selected,
.order-row--keyboard-selected:hover {
  background: #eaf9fd;
  outline: 2px solid #0db8de;
  outline-offset: -2px;
}

.order-row--urgent {
  animation: urgentOrderBlink 900ms ease-in-out infinite;
}

.order-row--urgent td {
  border-bottom-color: #f1a4a4;
}

.order-card--urgent {
  animation: urgentOrderBlink 900ms ease-in-out infinite;
  border-color: #f1a4a4;
}

.order-row--past-due,
.order-row--past-due:hover {
  background: #ffe1e1;
}

.order-row--past-due td {
  border-bottom-color: #dc7d7d;
}

.order-card--past-due {
  background: #ffe1e1;
  border-color: #dc7d7d;
}

.order-row--rejected,
.order-row--rejected:hover {
  background: #fff4f4;
}

.order-row--rejected td {
  border-bottom-color: #e8a1a1;
}

.order-row.order-search-match,
.order-row.order-search-match:hover {
  background: #eaf9fd;
  outline: 2px solid #0db8de;
  outline-offset: -2px;
}

.order-row.order-search-match td {
  border-bottom-color: #b9dce6;
}

@keyframes urgentOrderBlink {
  0%,
  100% {
    background: #fff7f2;
  }

  50% {
    background: #ffd9d9;
  }
}

.order-table th:nth-child(1),
.order-table td:nth-child(1) {
  width: 150px;
}

.order-table th:nth-child(2),
.order-table td:nth-child(2) {
  width: 170px;
}

.order-table th:nth-child(6),
.order-table td:nth-child(6) {
  width: 118px;
}

.order-table th:nth-child(7),
.order-table td:nth-child(7) {
  width: 70px;
}

.order-table th:nth-child(8),
.order-table td:nth-child(8) {
  width: 130px;
}

.order-table th:nth-child(9),
.order-table td:nth-child(9) {
  width: 170px;
}

.order-table th:nth-child(10),
.order-table td:nth-child(10) {
  width: 110px;
}

.order-table th:nth-child(13),
.order-table td:nth-child(13) {
  width: 340px;
}

.order-table__empty {
  padding: 28px 12px !important;
  color: #6c6c6c !important;
  text-align: center !important;
}

.order-link {
  color: #0a7f9b;
  font-weight: 900;
  text-decoration: none;
}

.order-link:hover {
  color: #065f73;
}

.thumb-strip {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 150px;
}

.thumb-strip__viewport {
  width: 114px;
  overflow: hidden;
}

.thumb-strip__track {
  display: flex;
  gap: 4px;
  transform: translateX(calc(var(--thumb-page, 0) * -114px));
  transition: transform 160ms ease;
}

.thumb-strip__item {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
}

.thumb-strip__image {
  width: 34px;
  height: 34px;
  border: 1px solid #d5dde3;
  border-radius: 4px;
  background: #eef2f5;
  cursor: zoom-in;
  object-fit: cover;
}

.thumb-strip__warning {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border: 1px solid #f0a93a;
  border-radius: 999px;
  background: #fff4db;
  color: #7a4b00;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.thumb-strip__image:focus {
  outline: 2px solid #0db8de;
  outline-offset: 2px;
}

.thumb-strip__arrow {
  width: 18px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfd7dc;
  border-radius: 4px;
  background: #ffffff;
  color: #0a7f9b;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.thumb-strip__arrow:hover {
  border-color: #0db8de;
  background: #eaf9fd;
}

.thumb-strip__arrow[hidden] {
  display: none;
}

.thumb-strip__empty {
  color: #6c6c6c;
  font-size: 12px;
  font-weight: 700;
}

.image-viewer {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 14, 16, 0.94);
  color: #ffffff;
  overflow: auto;
}

.image-viewer::backdrop {
  background: rgba(10, 14, 16, 0.9);
}

.image-viewer__frame {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  align-items: stretch;
  padding: 54px 76px 48px;
}

.image-viewer__figure {
  position: relative;
  width: min(980px, calc(100vw - 460px));
  height: min(680px, calc(100vh - 140px));
  min-width: 0;
  min-height: 0;
  display: grid;
  margin: 0;
  align-items: center;
  justify-items: center;
}

.image-viewer__image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
}

.image-viewer__caption {
  display: none;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: #ecf0f5;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.image-viewer__details {
  display: grid;
  margin: 0;
  gap: 8px;
}

.image-viewer__details div {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(236, 240, 245, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  padding: 7px 10px;
}

.image-viewer__details dt,
.image-viewer__details dd {
  margin: 0;
  color: #f5f7fb;
  font-size: 12px;
  line-height: 1.2;
}

.image-viewer__details dt {
  color: #aeb9c6;
  font-weight: 800;
}

.image-viewer__details dd {
  font-weight: 900;
}

.image-viewer__details[hidden] {
  display: none;
}

.image-viewer__sidebar {
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.image-viewer__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.image-viewer__info {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(236, 240, 245, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
}

.image-viewer__info h2 {
  margin: 0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.image-viewer__close,
.image-viewer__download,
.image-viewer__nav {
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(236, 240, 245, 0.34);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.image-viewer__close:hover,
.image-viewer__download:hover,
.image-viewer__nav:hover {
  border-color: #0db8de;
  background: rgba(13, 184, 222, 0.28);
}

.image-viewer__download {
  min-width: 108px;
  height: 42px;
  padding: 0 14px;
  font-size: 13px;
  text-decoration: none;
}

.image-viewer__download[hidden] {
  display: none;
}

.image-viewer__close {
  width: 42px;
  height: 42px;
  font-size: 20px;
  line-height: 1;
}

.image-viewer__nav {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 68px;
  transform: translateY(-50%);
  font-size: 28px;
  line-height: 1;
}

.image-viewer__nav--prev {
  left: 18px;
}

.image-viewer__nav--next {
  right: 318px;
}

.image-viewer__nav[hidden] {
  display: none;
}

.table-actions,
.detail-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-actions form {
  display: flex;
}

.send-to-form {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.send-to-form .select {
  width: 170px;
  height: 42px;
  min-height: 42px;
}

.side-workflow-panel,
.side-danger-panel {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #d7dee6;
}

.side-danger-panel {
  border-top-color: #efb0b0;
}

.side-workflow-panel h2,
.side-danger-panel h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #34414d;
}

.side-danger-panel h2 {
  color: #9b1c1c;
}

.side-workflow-panel form,
.side-danger-panel form,
.send-to-form--side {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	width: 100%;
}

.send-to-form--primary {
	padding-bottom: 10px;
	border-bottom: 1px solid #d7dee6;
}

.send-to-form__actions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

.send-to-form--side .select,
.side-workflow-panel .btn,
.side-danger-panel .btn {
	width: 100%;
}

.send-to-form--side .select {
  height: 44px;
  min-height: 44px;
}

.side-workflow-panel__note {
  margin: 0;
  color: #56616a;
  font-size: 12px;
  font-weight: 800;
}

.order-search-form {
  flex-wrap: wrap;
}

.order-table--search {
  min-width: 1180px;
}

.settings-user-table {
  min-width: 760px;
}

.reports-table {
  min-width: 720px;
}

.settings-page .order-table-wrap,
.reports-page .order-table-wrap,
.dashboard-page .order-table-wrap {
  max-width: 100%;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  border: 1px solid #0db8de;
  border-radius: 4px;
  background: #ffffff;
  color: #0a7f9b;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.icon-btn--danger,
.btn--danger {
  border-color: #d93636;
  color: #d93636;
}

.icon-btn--success,
.btn--success {
  border-color: #1b9b62;
  color: #1b9b62;
}

.icon-btn:hover {
  background: #eaf9fd;
}

.icon-btn--danger:hover,
.btn--danger:hover {
  background: #d93636;
  color: #ffffff;
}

.icon-btn--success:hover,
.btn--success:hover {
  background: #1b9b62;
  color: #ffffff;
}

.order-detail-page {
  padding: 28px 0 42px;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: start;
}

.order-detail-grid .order-edit-card:nth-of-type(2) {
  grid-column: 1;
}

.order-side-card {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: sticky;
  top: 16px;
}

.printing-screen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: start;
}

.printing-screen__main {
  display: grid;
  gap: 14px;
}

.printing-panel {
  display: grid;
  gap: 12px;
}

.printing-panel h2,
.printing-panel__header h2 {
  margin: 0;
  color: #1a2226;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.printing-panel__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.panel-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  border: 1px solid #0db8de;
  background: #ffffff;
  color: #0a7f9b;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.panel-edit-btn:hover {
  background: #eaf9fd;
}

.panel-edit-btn--disabled,
.panel-edit-btn--disabled:hover {
  border-color: #c9d1d8;
  background: #f2f5f7;
  color: #8a949c;
  cursor: not-allowed;
}

.panel-edit-btn span {
  font-size: 13px;
  line-height: 1;
}

.printing-panel__header p {
  margin: 4px 0 0;
  color: #56616a;
  font-size: 14px;
  font-weight: 800;
}

.printing-panel--side {
  position: sticky;
  top: 16px;
}

.printing-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.printing-info-grid div {
  border: 1px solid #d5dde3;
  border-radius: 4px;
  background: #f7f9fb;
  padding: 10px;
}

.printing-info-grid span {
  display: block;
  color: #56616a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.printing-info-grid strong {
  display: block;
  margin-top: 4px;
  color: #1a2226;
  font-size: 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.printing-size-table {
  width: 100%;
}

.printing-size-summary {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.printing-size-summary h3 {
  margin: 0;
  color: #1a2226;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
}

.printing-copy {
  margin: 0;
  color: #1a2226;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  white-space: normal;
}

.printing-image-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  overflow: visible;
  padding-top: 10px;
}

.printing-image-grid a,
.workflow-file-tile {
  display: grid;
  gap: 7px;
  border: 1px solid #d5dde3;
  border-radius: 6px;
  background: #f7f9fb;
  padding: 8px;
  color: #1a2226;
  font-size: 12px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.printing-image-grid img,
.workflow-file-tile img {
  width: 100%;
  height: 150px;
  display: block;
  border-radius: 4px;
  background: #ffffff;
  object-fit: contain;
}

.workflow-file-tile {
  position: relative;
  color: #1a2226;
}

.workflow-file-tile a {
  display: grid;
  gap: 7px;
  color: inherit;
  text-decoration: none;
}

[data-print-ready-file-tile] {
  align-content: start;
}

[data-print-ready-file-tile] img {
  height: 96px;
  max-height: 96px;
}

[data-print-ready-file-tile] .printing-file-tile {
  min-height: 96px;
}

.workflow-file-tile__delete {
  width: 100%;
  min-height: 34px;
}

.printing-file-tile {
  min-height: 150px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: #ffffff;
  color: #0a7f9b;
  font-size: 13px;
  font-weight: 900;
}

.printing-placement-list {
  display: grid;
  gap: 8px;
}

.printing-placement-list div {
  border: 1px solid #d5dde3;
  border-radius: 4px;
  background: #f7f9fb;
  padding: 9px;
}

.printing-placement-list strong,
.printing-placement-list span {
  display: block;
}

.printing-placement-list strong {
  color: #1a2226;
  font-size: 13px;
  font-weight: 900;
}

.printing-placement-list span {
  margin-top: 3px;
  color: #56616a;
  font-size: 12px;
  font-weight: 800;
}

.pressing-placement-grid {
  display: grid;
  gap: 10px;
}

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

.pressing-placement-canvas {
  position: relative;
  height: 260px;
  border: 1px solid #cfd7dc;
  background:
    linear-gradient(90deg, rgba(13, 184, 222, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(13, 184, 222, 0.08) 1px, transparent 1px),
    #f8fafb;
  background-size: 20px 20px;
  overflow: hidden;
}

.placement-snapshot-link {
  display: block;
  overflow: hidden;
  border: 1px solid #cfd7dc;
  border-radius: 6px;
  background: #f8fafb;
}

.placement-snapshot-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: contain;
  background: #f8fafb;
}

.pressing-placement-placeholder {
  position: absolute;
  inset: 10px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.pressing-placeholder-svg {
  width: 78%;
  max-height: 235px;
  opacity: 0.88;
  filter: drop-shadow(0 5px 10px rgba(26, 34, 38, 0.14));
}

.pressing-placeholder-generic {
  width: 78%;
  min-height: 150px;
  display: grid;
  place-items: center;
  border: 2px solid #a3adb5;
  border-radius: 6px;
  color: #7a858d;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.qa-checklist {
  display: grid;
  gap: 10px;
}

.qa-checklist label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #1a2226;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.qa-checklist input {
  margin-top: 2px;
}

.qa-checklist .btn {
  width: 100%;
  margin-top: 4px;
}

.order-side-actions {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 14px;
  text-align: center;
}

.order-save-btn {
  width: min(100%, 240px);
}

.order-side-actions .btn {
  min-height: 38px;
  padding: 8px 12px;
}

.order-bypass-btn {
  width: min(100%, 240px);
}

.uploaded-file-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.department-time-card {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  border: 1px solid #d5dde3;
  border-radius: 6px;
  background: #f7f9fb;
  padding: 12px;
}

.department-time-card h3 {
  margin: 0;
  color: #1a2226;
  font-size: 14px;
  font-weight: 900;
}

.department-time-list {
  display: grid;
  gap: 7px;
  margin: 0;
}

.department-time-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #e1e6ea;
  padding-bottom: 7px;
}

.department-time-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.department-time-list dt {
  color: #56616a;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.department-time-list dd {
  margin: 0;
  color: #1a2226;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.department-time-list__current dt,
.department-time-list__current dd {
  color: #0a7f9b;
}

.department-time-list__total {
  margin-top: 2px;
}

.department-time-list__total dt,
.department-time-list__total dd {
  color: #1a2226;
  font-size: 13px;
}

.uploaded-file-list h3 {
  margin: 0;
  color: #1a2226;
  font-size: 14px;
  font-weight: 900;
}

.uploaded-file-list span {
  display: block;
  border: 1px solid #d5dde3;
  border-radius: 4px;
  background: #f7f9fb;
  padding: 8px;
  color: #1a2226;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.uploaded-file-list__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}

.uploaded-file-list__file {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.uploaded-file-list__item .icon-btn {
  min-height: 100%;
}

.uploaded-file-list a,
.workflow-file-grid a:not(.workflow-file-tile) {
  display: block;
  border: 1px solid #d5dde3;
  border-radius: 4px;
  background: #f7f9fb;
  padding: 8px;
  color: #0a7f9b;
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.uploaded-file-list a:hover,
.workflow-file-grid a:hover {
  background: #eaf9fd;
}

.design-image-warning {
  display: grid;
  gap: 2px;
  border: 1px solid #f0a93a;
  border-radius: 5px;
  background: #fff4db;
  color: #7a4b00;
  padding: 6px;
  font-size: 10px;
  line-height: 1.25;
}

.design-image-warning strong {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.design-image-warning small {
  color: #5f3a00;
  font-size: 10px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.design-image-warning--list {
  padding: 7px 8px;
}

.order-image-warning-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #f0a93a;
  border-radius: 6px;
  background: #fff4db;
  color: #5f3a00;
  padding: 12px;
}

.order-image-warning-banner[hidden] {
  display: none;
}

.order-image-warning-banner strong {
  display: block;
  color: #7a4b00;
  font-size: 14px;
  font-weight: 900;
}

.order-image-warning-banner p {
  margin: 4px 0 8px;
  font-size: 12px;
  font-weight: 800;
}

.order-image-warning-banner ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
}

.order-image-warning-banner li {
  font-size: 12px;
  font-weight: 800;
}

.order-image-warning-banner li span {
  color: #1a2226;
}

.order-image-warning-banner li small {
  display: block;
  color: #5f3a00;
  font-size: 11px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.order-image-warning-banner__dismiss {
  flex: 0 0 auto;
  border-color: #f0a93a;
  color: #7a4b00;
}

.design-proof-panel {
  margin-top: 22px;
  border: 1px solid #d5dde3;
  border-radius: 6px;
  background: #f7f9fb;
  padding: 14px;
}

.design-proof-panel__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.design-proof-panel__header h3 {
  margin: 0 0 4px;
  color: #1a2226;
  font-size: 16px;
  font-weight: 900;
}

.design-proof-panel__header p {
  margin: 0;
  color: #56616a;
  font-size: 13px;
  line-height: 1.35;
}

.design-work-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #d8c76b;
  border-radius: 6px;
  background: #fff9d8;
  padding: 10px 14px;
  box-shadow:
    0 6px 14px rgba(26, 34, 38, 0.12),
    0 1px 3px rgba(26, 34, 38, 0.12);
}

.design-work-timer--floating {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: -28px -24px 18px;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

.design-work-timer div {
  display: grid;
  gap: 3px;
}

.design-work-timer span {
  color: #6b5a07;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.design-work-timer strong {
  color: #1a2226;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.design-work-timer p {
  margin: 0;
  color: #4f4308;
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.workflow-file-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
  padding-top: 10px;
}

.proof-decision {
  margin: 12px 0;
  border-left: 4px solid #0db8de;
  background: #ffffff;
  padding: 12px;
}

.proof-decision--approved {
  border-left-color: #1b9b62;
  background: #e8fff6;
}

.proof-decision--declined {
  border-left-color: #d93636;
  background: #ffecec;
}

.proof-decision strong,
.proof-decision p {
  margin: 0;
}

.proof-decision p {
  margin-top: 6px;
  color: #1a2226;
  font-size: 13px;
  line-height: 1.35;
}

.design-work-panel__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.print-ready-qty-builder,
.print-ready-qty-list {
  display: grid;
  gap: 10px;
  overflow: visible;
  padding-top: 10px;
}

.print-ready-qty-builder h3 {
  margin: 0;
  color: #1a2226;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
}

.print-ready-qty-card {
  display: grid;
  gap: 8px;
  border: 1px solid #d5dde3;
  border-radius: 4px;
  background: #f7f9fb;
  padding: 10px;
}

.print-ready-qty-card--error {
  border-color: #c42127;
  background: #fff5f5;
  box-shadow: 0 0 0 3px rgba(196, 33, 39, 0.12);
}

.print-ready-qty-card strong {
  color: #1a2226;
  font-size: 13px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.print-ready-qty-card__meta {
  color: #0a7f9b;
  font-size: 11px;
  font-weight: 800;
}

.print-ready-qty-card__header {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.pickup-total-grid strong {
  font-size: 18px;
}

.pickup-balance-due {
  color: #d93636 !important;
}

.pickup-balance-paid {
  color: #1b9b62 !important;
}

.pickup-closeout-form {
  margin-bottom: 12px;
}

.payment-method-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 6px 0;
}

.payment-method-choice label {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d5dde3;
  border-radius: 4px;
  background: #f7f9fb;
  padding: 10px;
  font-size: 12px;
  font-weight: 900;
}

.print-ready-qty-thumb {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid #d5dde3;
  border-radius: 4px;
  background: #ffffff;
  color: #0a7f9b;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  overflow: hidden;
}

.print-ready-qty-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.print-ready-spec-rows {
  display: grid;
  gap: 8px;
}

.print-ready-spec-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr)) auto;
  gap: 8px;
  align-items: end;
}

.print-ready-spec-row--error {
  border: 1px solid rgba(196, 33, 39, 0.32);
  border-radius: 4px;
  background: #ffecec;
  padding: 8px;
}

.print-ready-spec-row--error .input[aria-invalid="true"] {
  border-color: #c42127;
  border-bottom-color: #c42127;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(196, 33, 39, 0.14);
}

.print-ready-spec-row label {
  display: grid;
  gap: 4px;
}

.print-ready-spec-row span {
  color: #56616a;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-rejection-banner {
  display: grid;
  gap: 12px;
  border: 2px solid #d93636;
  border-radius: 6px;
  background: #fff4f4;
  padding: 14px;
}

.proof-rejection-banner span {
  display: block;
  color: #9f1d1d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.proof-rejection-banner strong,
.proof-rejection-banner p {
  margin: 0;
}

.proof-rejection-banner strong {
  display: block;
  margin-top: 4px;
  color: #1a2226;
  font-size: 16px;
  font-weight: 900;
}

.proof-rejection-banner p {
  margin-top: 8px;
  color: #1a2226;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.proof-rejection-banner form,
.proof-rejection-banner label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.proof-rejection-banner form {
  justify-content: space-between;
}

.proof-rejection-banner label {
  color: #1a2226;
  font-size: 13px;
  font-weight: 900;
}

.proof-page {
  padding: 28px 0 42px;
}

.proof-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.proof-card {
  margin-bottom: 14px;
}

.proof-file-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  padding-top: 10px;
}

.proof-view-note {
  margin: -4px 0 10px;
  color: #56616a;
  font-size: 13px;
  font-weight: 800;
}

.proof-file-grid figure {
  margin: 0;
  border: 1px solid #d5dde3;
  border-radius: 6px;
  background: #f7f9fb;
  padding: 10px;
}

.proof-backdrop-frame {
  display: grid;
  place-items: end center;
  min-height: 360px;
  padding: 112px 28px 32px;
  border: 1px solid #e1e7ec;
  border-radius: 6px;
  background: #2d2d2d url("../img/CSWPRINT-PROOF-BACK.png") top center / cover no-repeat;
}

.proof-file-grid img {
  width: auto;
  max-width: 64%;
  height: auto;
  max-height: 210px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.16));
}

.proof-file-grid figcaption {
  margin-top: 8px;
  color: #56616a;
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.proof-file-link {
  height: 260px;
  display: grid;
  place-items: center;
  border: 1px solid #cfd7dc;
  background: #ffffff;
  color: #0a7f9b;
  font-weight: 900;
  text-decoration: none;
}

.proof-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.proof-action-card {
  text-align: center;
}

.proof-action-divider {
  height: 1px;
  margin: 24px 0 22px;
  background: linear-gradient(90deg, rgba(213, 221, 227, 0), #d5dde3 18%, #d5dde3 82%, rgba(213, 221, 227, 0));
}

.proof-action-card .section-title {
  text-align: center;
}

.proof-actions--split {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(72px, 120px) minmax(280px, 430px);
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.proof-approve-form {
  display: grid;
  align-content: center;
  justify-items: center;
}

.proof-action-note {
  max-width: 720px;
  margin: 0 auto 18px;
  color: #56616a;
  text-align: center;
}

.proof-action-note strong {
  display: block;
  margin-bottom: 6px;
  color: #1f2933;
  font-size: 14px;
  font-weight: 900;
}

.proof-action-note p {
  margin: 0;
  color: #56616a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.proof-choice-graphic {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  justify-items: center;
  align-self: stretch;
  min-height: 172px;
}

.proof-choice-graphic__line {
  width: 2px;
  min-height: 44px;
  border-radius: 999px;
  background: linear-gradient(rgba(13, 184, 222, 0), rgba(13, 184, 222, 0.34), rgba(13, 184, 222, 0));
}

.proof-choice-graphic__badge {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(13, 184, 222, 0.24);
  border-radius: 50%;
  background: #f7fbfd;
  color: #0a7f9b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(10, 127, 155, 0.12);
}

.proof-approval-note,
.proof-change-note,
.proof-disclaimer {
  color: #56616a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.proof-approval-note,
.proof-change-note {
  max-width: 360px;
  margin: 0 0 10px;
}

.proof-disclaimer {
  max-width: 980px;
  margin: 4px auto 10px;
  text-align: center;
}

.proof-disclaimer strong {
  color: #1f2933;
}

.proof-change-form {
  min-width: min(100%, 430px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
}

.proof-change-form .field {
  width: 100%;
  text-align: left;
}

.placement-builder {
  margin-top: 22px;
  border: 1px solid #d5dde3;
  border-radius: 6px;
  background: #f7f9fb;
  padding: 14px;
}

.placement-builder__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.placement-builder__header h3 {
  margin: 0 0 4px;
  color: #1a2226;
  font-size: 16px;
  font-weight: 900;
}

.placement-builder__header p {
  margin: 0;
  color: #56616a;
  font-size: 13px;
  line-height: 1.35;
}

.placement-art-tray {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px;
  border: 1px solid #e1e6ea;
  border-radius: 6px;
  background: #ffffff;
}

.placement-text-tool {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  gap: 8px;
  align-items: end;
  margin-bottom: 12px;
}

.placement-text-tool label {
  display: grid;
  gap: 4px;
  color: #56616a;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.placement-text-tool input[type="color"] {
  width: 52px;
  height: 42px;
  border: 1px solid #aebbc2;
  border-radius: 4px;
  background: #ffffff;
  padding: 3px;
}

.placement-text-tool__button--active {
  border-color: #0db8de;
  background: #eaf9fd;
  color: #0a7f9b;
}

.placement-art {
  flex: 0 0 120px;
  display: grid;
  grid-template-rows: 64px auto;
  gap: 6px;
  border: 1px solid #d5dde3;
  border-radius: 6px;
  background: #ffffff;
  color: #1a2226;
  padding: 7px;
  cursor: grab;
}

.placement-art-option {
  flex: 0 0 120px;
  display: grid;
  gap: 6px;
}

.placement-art-option .placement-art {
  width: 100%;
}

.placement-art-option .icon-btn {
  width: 100%;
  min-height: 30px;
  padding: 5px 8px;
}

.placement-art--active,
.placement-art:hover {
  border-color: #0db8de;
  background: #eaf9fd;
}

.placement-art img {
  width: 100%;
  height: 64px;
  object-fit: contain;
}

.placement-art span {
  color: #56616a;
  font-size: 11px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.placement-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.placement-item {
  border: 1px solid #d5dde3;
  border-radius: 6px;
  background: #ffffff;
  padding: 10px;
}

.placement-item__header {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) 110px 125px minmax(140px, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.placement-item__header .input {
  background: #ffffff;
  padding: 8px 4px;
}

.placement-item__sizes {
  margin: 0 0 10px;
  color: #56616a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.placement-canvas {
  position: relative;
  height: 360px;
  border: 1px solid #d5dde3;
  border-radius: 6px;
  background: #f7fbfd;
  overflow: hidden;
  touch-action: none;
}

.placement-placeholder {
  position: absolute;
  inset: 24px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.placement-placeholder__shape {
  position: relative;
  width: min(70%, 230px);
  height: 270px;
  display: grid;
  place-items: center;
  border: 3px solid #9aa8b1;
  background: rgba(255, 255, 255, 0.62);
  color: #6c6c6c;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.placement-placeholder--image {
  gap: 8px;
}

.placement-placeholder__image {
  max-width: 88%;
  max-height: 300px;
  display: block;
  object-fit: contain;
  opacity: 0.92;
  filter: drop-shadow(0 6px 12px rgba(26, 34, 38, 0.12));
}

.placement-placeholder--svg {
  gap: 8px;
}

.placement-placeholder__svg {
  width: min(88%, 300px);
  max-height: 310px;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(26, 34, 38, 0.12));
}

.placement-placeholder--shirt .placement-placeholder__shape,
.placement-placeholder--hoodie .placement-placeholder__shape,
.placement-placeholder--polo .placement-placeholder__shape,
.placement-placeholder--jersey .placement-placeholder__shape {
  clip-path: polygon(28% 0, 72% 0, 100% 19%, 86% 44%, 76% 35%, 76% 100%, 24% 100%, 24% 35%, 14% 44%, 0 19%);
}

.placement-placeholder--hoodie .placement-placeholder__shape::before {
  content: "";
  position: absolute;
  top: 8px;
  width: 72px;
  height: 52px;
  border: 3px solid #9aa8b1;
  border-bottom: none;
  border-radius: 50% 50% 0 0;
}

.placement-placeholder--cap .placement-placeholder__shape {
  height: 150px;
  border-radius: 120px 120px 24px 24px;
  clip-path: none;
}

.placement-placeholder--sign .placement-placeholder__shape,
.placement-placeholder--other .placement-placeholder__shape {
  width: min(76%, 280px);
  height: 190px;
  clip-path: none;
}

.placement-placeholder small {
  position: absolute;
  bottom: 6px;
  color: #6c6c6c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.placed-art {
  position: absolute;
  z-index: 3;
  border: 2px solid #0db8de;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
  cursor: move;
  touch-action: none;
}

.placed-text {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 2px solid #0db8de;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.42);
  padding: 2px 4px;
  cursor: move;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-transform: none;
  overflow: hidden;
  overflow-wrap: anywhere;
  touch-action: none;
}

.placed-text span:first-child {
  pointer-events: none;
}

.placed-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.placed-art__remove {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 22px;
  height: 22px;
  border: 1px solid #d93636;
  border-radius: 50%;
  background: #ffffff;
  color: #d93636;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.placed-art__resize {
  position: absolute;
  right: -7px;
  bottom: -7px;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-radius: 4px;
  background: #0db8de;
  cursor: nwse-resize;
}

/* =========================================================
   PICKUP RECEIPT
   ========================================================= */
.receipt-body {
  background: #f2f4f6;
  color: #000000;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
}

.receipt-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px;
  font-family: Arial, sans-serif;
}

.receipt-ticket {
  width: 302px;
  margin: 0 auto 24px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  padding: 12px;
}

.receipt-ticket__header,
.receipt-ticket__footer {
  text-align: center;
}

.receipt-ticket__logo {
  display: block;
  width: auto;
  max-width: 160px;
  max-height: 58px;
  margin: 0 auto 8px;
  object-fit: contain;
}

.receipt-ticket__header h1 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.receipt-ticket__header p,
.receipt-ticket__footer p,
.receipt-section p {
  margin: 0;
}

.receipt-ticket__header strong {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  text-transform: uppercase;
}

.receipt-rule {
  border-top: 1px dashed #000000;
  margin: 9px 0;
}

.receipt-lines {
  display: grid;
  gap: 3px;
  margin: 0;
}

.receipt-lines div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.receipt-lines dt,
.receipt-lines dd {
  margin: 0;
}

.receipt-lines dt {
  text-transform: uppercase;
}

.receipt-lines dd {
  text-align: right;
  overflow-wrap: anywhere;
}

.receipt-lines--totals div {
  font-size: 13px;
}

.receipt-lines__balance {
  border-top: 1px solid #000000;
  margin-top: 4px;
  padding-top: 5px;
  font-size: 15px;
  font-weight: 900;
}

.receipt-section h2 {
  margin: 0 0 4px;
  font-size: 12px;
  text-transform: uppercase;
}

/* =========================================================
   PRINT ORDER FORM
   ========================================================= */
.print-body {
  background: #dfe4e8;
  color: #111820;
  font-family: Arial, sans-serif;
  margin: 0;
}

.print-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px;
}

.print-sheet {
  width: min(1100px, calc(100% - 28px));
  margin: 0 auto 32px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.print-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  border-bottom: 2px solid #1a2226;
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.print-header__company {
  display: grid;
  justify-items: start;
  justify-content: flex-start;
}

.print-header__company img {
  width: auto;
  max-width: 120px;
  max-height: 58px;
  object-fit: contain;
}

.print-header__company address {
  margin: 8px 0 0;
  color: #4b5961;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.print-company-contact {
  display: grid;
  gap: 2px;
  margin: 6px 0 0;
  padding: 0;
  color: #4b5961;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  list-style: none;
}

.print-header__brand {
  display: grid;
  justify-items: center;
  text-align: center;
}

.print-header__brand img {
  width: 118px;
  height: auto;
}

.print-header h1 {
  margin: 4px 0 0;
  font-size: 18px;
  letter-spacing: 0;
}

.print-due-date b {
  display: inline-block;
  margin-left: 6px;
  color: #111820;
  font-weight: 900;
}

.print-order-number {
  display: grid;
  gap: 5px;
  justify-content: end;
  text-align: right;
}

.print-order-number strong {
  font-size: 18px;
}

.print-order-number span {
  color: #56616a;
  font-size: 13px;
  font-weight: 700;
}

.print-section {
  break-inside: avoid;
  border: 1px solid #cfd7dc;
  margin-bottom: 8px;
  padding: 8px;
}

.print-section h2 {
  margin: 0 0 6px;
  color: #1a2226;
  font-size: 13px;
  text-transform: uppercase;
}

.print-grid {
  display: grid;
  gap: 5px;
}

.print-grid--four {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.print-grid div {
  min-height: 38px;
  border: 1px solid #e1e6ea;
  padding: 5px;
}

.print-grid span {
  display: block;
  color: #56616a;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.print-grid strong {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.15;
}

.print-size-table {
  width: 100%;
  border-collapse: collapse;
}

.print-size-table th,
.print-size-table td {
  border: 1px solid #cfd7dc;
  padding: 4px;
  font-size: 10px;
  text-align: center;
}

.print-size-table th:first-child,
.print-size-table td:first-child {
  text-align: left;
}

.print-placement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.print-placement-card {
  break-inside: avoid;
  border: 1px solid #cfd7dc;
  padding: 6px;
}

.print-placement-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 5px;
  font-size: 10px;
}

.print-placement-card header span {
  color: #56616a;
  font-weight: 700;
}

.print-placement-canvas {
  position: relative;
  height: 240px;
  border: 1px solid #cfd7dc;
  background: #f8fafb;
  overflow: hidden;
}

.placement-snapshot-image--print {
  height: 240px;
  border: 1px solid #cfd7dc;
}

.print-placeholder {
  position: absolute;
  inset: 18px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.print-placeholder span {
  width: min(70%, 150px);
  height: 180px;
  display: grid;
  place-items: center;
  border: 3px solid #a3adb5;
  color: #7a858d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.print-placeholder small {
  position: absolute;
  bottom: 6px;
  left: 50%;
  color: #56616a;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.print-placeholder--svg,
.print-placeholder--image {
  inset: 12px 18px;
}

.print-placeholder__svg {
  width: min(78%, 170px);
  height: 205px;
  object-fit: contain;
}

.print-placeholder__image {
  width: min(82%, 185px);
  height: 205px;
  object-fit: contain;
  opacity: 0.9;
}

.print-placeholder--shirt span,
.print-placeholder--hoodie span,
.print-placeholder--polo span,
.print-placeholder--jersey span {
  clip-path: polygon(28% 0, 72% 0, 100% 19%, 86% 44%, 76% 35%, 76% 100%, 24% 100%, 24% 35%, 14% 44%, 0 19%);
}

.print-placeholder--cap span {
  height: 100px;
  border-radius: 120px 120px 24px 24px;
}

.print-placeholder--sign span,
.print-placeholder--other span {
  width: min(76%, 190px);
  height: 125px;
}

.print-placed-art {
  position: absolute;
  z-index: 2;
  object-fit: contain;
  border: 1px solid #0db8de;
}

.print-placed-text {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid #0db8de;
  background: rgba(255, 255, 255, 0.35);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.print-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.print-notes div {
  min-height: 56px;
  border: 1px solid #e1e6ea;
  padding: 6px;
}

.print-notes h3 {
  margin: 0 0 4px;
  font-size: 10px;
  text-transform: uppercase;
}

.print-notes p {
  margin: 0;
  font-size: 10px;
  line-height: 1.25;
  max-height: 52px;
  overflow: hidden;
}

.print-file-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
}

.print-file-grid figure {
  margin: 0;
  border: 1px solid #e1e6ea;
  padding: 4px;
}

.print-file-grid img {
  width: 100%;
  height: 42px;
  object-fit: contain;
}

.print-file-grid figcaption,
.print-empty {
  color: #56616a;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.print-files-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.print-files-price-grid > div {
  min-width: 0;
}

.print-price-table {
  width: 100%;
  border-collapse: collapse;
}

.print-price-table th,
.print-price-table td {
  border: 1px solid #cfd7dc;
  padding: 5px 6px;
  font-size: 10px;
}

.print-price-table th {
  color: #56616a;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
}

.print-price-table td {
  font-weight: 800;
  text-align: right;
}

.print-price-table__strong th,
.print-price-table__strong td {
  background: #f1f6f8;
  color: #1a2226;
  font-weight: 900;
}

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

  @page receipt {
    size: 80mm auto;
    margin: 3mm;
  }

  html,
  body,
  .fp-body,
  .fp-content,
  .fp-container {
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  body,
  .fp-body {
    background: #ffffff;
    margin: 0;
  }

  .print-body {
    background: #ffffff;
  }

  .receipt-body {
    background: #ffffff;
  }

  .reports-page {
    color: #17212b;
    gap: 8px;
    margin: 0;
    padding-top: 0;
  }

  .reports-page > *:last-child {
    margin-bottom: 0;
  }

  .print-toolbar,
  .receipt-toolbar,
  .topbar,
  .footer,
  .live-update-banner,
  .reports-filter,
  .reports-tabs,
  .reports-tabs__link,
  [data-report-print],
  [data-report-pdf],
  .reports-page .order-link {
    display: none !important;
  }

  .fp-container {
    padding: 0;
  }

  .reports-print-header {
    display: grid;
    grid-template-columns: 95px minmax(130px, 1fr) 185px;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #17212b;
    margin-bottom: 6px;
    min-height: 54px;
    padding-bottom: 6px;
  }

  .reports-print-header__flowpress {
    width: 82px;
    max-height: 28px;
    object-fit: contain;
    object-position: left center;
  }

  .reports-print-header__company {
    display: flex;
    justify-content: center;
    min-width: 0;
  }

  .reports-print-header__company img {
    width: auto;
    max-width: 190px;
    max-height: 46px;
    object-fit: contain;
  }

  .reports-print-header p {
    margin: 0 0 2px;
    color: #56616a;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
  }

  .reports-print-header__meta {
    min-width: 0;
    text-align: right;
  }

  .reports-print-header h1 {
    margin: 0;
    color: #17212b;
    font-size: 16px;
    line-height: 1.05;
  }

  .reports-print-header span {
    display: block;
    margin-top: 2px;
    color: #56616a;
    font-size: 9px;
    font-weight: 700;
  }

  .reports-page .dashboard-header {
    display: none;
  }

  .reports-page .eyebrow,
  .reports-page .subtitle,
  .reports-page .department-log__header span,
  .reports-section--order-detail {
    display: none;
  }

  .reports-page--overview .reports-section--daily-sales,
  .reports-page--overview .reports-section--sales-rep {
    display: none;
  }

  .reports-page .title {
    margin: 0;
    font-size: 18px;
  }

  .reports-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border: 1px solid #cfd7dd;
    border-radius: 4px;
    overflow: hidden;
  }

  .reports-metric {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    border: 0;
    border-right: 1px solid #d8dde2;
    border-bottom: 1px solid #d8dde2;
    border-radius: 0;
    background: #ffffff;
    padding: 5px 7px;
    box-shadow: none;
  }

  .reports-metric:nth-child(4n) {
    border-right: 1px solid #d8dde2;
  }

  .reports-metric:nth-last-child(-n + 4) {
    border-bottom: 1px solid #d8dde2;
  }

  .reports-metric:nth-child(2n) {
    border-right: 0;
  }

  .reports-metric:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .reports-metric span {
    color: #56616a;
    font-size: 8px;
    letter-spacing: 0;
    line-height: 1.15;
  }

  .reports-metric strong {
    margin-top: 0;
    color: #17212b;
    font-size: 10px;
    line-height: 1.1;
    text-align: right;
  }

  .reports-page .department-log {
    border: 1px solid #cfd7dd;
    border-radius: 4px;
    margin: 0;
    page-break-inside: avoid;
    overflow: hidden;
  }

  .reports-page .department-log + .department-log {
    margin-top: 6px;
  }

  .reports-page .department-log__header {
    background: #17212b;
    color: #ffffff;
    padding: 6px 8px;
  }

  .reports-page .department-log__header h2 {
    color: #ffffff;
    font-size: 11px;
    letter-spacing: 0.3px;
  }

  .reports-page .order-table-wrap {
    overflow: visible;
  }

  .reports-table,
  .reports-page .order-table {
    width: 100%;
    min-width: 0;
    table-layout: auto;
  }

  .reports-page .order-table th,
  .reports-page .order-table td {
    border-color: #d8dde2;
    padding: 4px 6px;
    font-size: 9px;
    line-height: 1.2;
  }

  .reports-page .order-table th {
    background: #eef3f7;
    color: #17212b;
    font-weight: 900;
  }

  .reports-page .order-table tbody tr:nth-child(even) td {
    background: #f8fafc;
  }

  .receipt-ticket {
    page: receipt;
    width: 72mm;
    margin: 0;
    padding: 0;
    box-shadow: none;
  }

  .print-sheet {
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: none;
  }

  .print-header__brand img {
    width: 105px;
  }

  .print-header__company img {
    max-width: 105px;
    max-height: 50px;
  }

  .print-header__company address {
    font-size: 9px;
  }

  .print-company-contact {
    font-size: 9px;
  }

  .print-section {
    page-break-inside: avoid;
  }
}

/* =========================================================
   YOUR EXISTING CSS (kept intact)
   ========================================================= */

/* ----------------- LOGIN PAGE STYLES ----------------- */
body.login-page {
  background: #f5f5f5;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 18px;
}

.login-box {
  width: 650px;
  max-width: 100%;
  background: #1a2226;
  text-align: center;
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.16),
    0 3px 6px rgba(0, 0, 0, 0.23);
  padding: 40px;
  border-radius: 6px;
}

.login-key {
  height: auto;
  min-height: 100px;
  font-size: 80px;
  line-height: 100px;
  background: -webkit-linear-gradient(#27ef9f, #0db8de);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: grid;
  place-items: center;
}

.login-key img {
  display: block;
  width: min(450px, 100%);
  max-width: 100%;
  height: auto;
}

.login-title {
  margin-top: 15px;
  text-align: center;
  font-size: 30px;
  letter-spacing: 2px;
  font-weight: bold;
  color: #ecf0f5;
}

.login-form {
  margin-top: 25px;
  text-align: left;
}

input[type="text"],
input[type="password"] {
  border: none;
  border-bottom: 2px solid #0db8de;
  border-radius: 0px;
  font-weight: bold;
  outline: 0;
  margin-bottom: 20px;
  padding-left: 0px;
}

.form-group {
  margin-bottom: 40px;
  outline: 0px;
}

.form-control:focus {
  border-color: inherit;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-bottom: 2px solid #0db8de;
  outline: 0;
  background-color: #1a2226;
  color: #ecf0f5;
}

input:focus {
  outline: none;
  box-shadow: 0 0 0;
}

label {
  margin-bottom: 0px;
}

.form-control-label {
  font-size: 10px;
  color: #6c6c6c;
  font-weight: bold;
  letter-spacing: 1px;
}

.btn-outline-primary {
  border-color: #0db8de;
  color: #0db8de;
  border-radius: 0px;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.24);
}

.btn-outline-primary:hover {
  background-color: #0db8de;
  right: 0px;
}

.login-button {
  padding-right: 0px;
  margin-bottom: 25px;
}

.login-text {
  text-align: center;
  padding-left: 0px;
  color: #ff6b6b;
}

.loginbttm {
  padding: 0px;
}

/* ----------------- WORK ORDER FORM STYLES ----------------- */
body.workorder-page {
  background: #f4f6f9;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.navbar-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #ccc;
}

.navbar-nav .nav-link.active {
  color: #fff !important;
  border-radius: 0px;
}

.card-container {
  max-width: 900px;
  width: 100%;
  margin: 15px auto;
  background: #fff;
  border-radius: 6px;
  padding: 20px;
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.16),
    0 3px 6px rgba(0, 0, 0, 0.23);
}

.item-box {
  border: 1px solid #ccc;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 6px;
  background: #f9f9f9;
  position: relative;
}

.form-control:focus::placeholder {
  color: #fff;
  opacity: 1;
}

.remove-item {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  color: red;
  font-weight: bold;
}

h4 {
  margin-top: 30px;
  margin-bottom: 15px;
}

body.workorder-list .card-container {
  width: 80%;
  max-width: 80vw;
  margin: 30px auto;
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.16),
    0 3px 6px rgba(0, 0, 0, 0.23);
}

/* ----------------- STANDARDIZE BUTTONS ----------------- */
.btn {
  border-radius: 0 !important;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.24);
  width: 200px;
  text-align: center;
}

.btn-outline-primary {
  border-color: #0db8de;
  color: #0db8de;
  background-color: transparent;
}

.btn-outline-primary:hover {
  background-color: #0db8de;
  color: #fff;
}

.btn-outline-secondary {
  border-color: #0db8de;
  color: #0db8de;
  background-color: transparent;
}

.btn-outline-secondary:hover {
  background-color: #0db8de;
  color: #fff;
}

.btn-outline-danger {
  border-color: red;
  color: red;
  background-color: transparent;
}

.btn-outline-danger:hover {
  background-color: red;
  color: #fff;
}

.item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.item-details {
  flex: 2;
}
.item-thumbnail {
  flex: 0 0 auto;
}
.item-complete {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

#confirmStatusModal .modal-content {
  background-color: #ccc;
  color: #fff;
}

/* ----------------- FOOTER ----------------- */
.footer {
  background-color: #1a2226;
  color: #ecf0f5;
  padding: 15px 0;
  position: relative;
  width: 100%;
  bottom: 0;
  text-align: center;
  font-size: 14px;
  box-shadow:
    0 -2px 6px rgba(0, 0, 0, 0.16),
    0 -2px 6px rgba(0, 0, 0, 0.23);
}

/* Responsive */
@media (max-width: 520px) {
  .topbar {
    padding: 10px 12px;
  }

  .topbar__left {
    min-width: 0;
  }

  .flowpress-logo {
    width: 150px;
    max-width: 100%;
  }

  .profile-menu__panel,
  .notification-menu__panel {
    right: -4px;
    width: min(92vw, 320px);
  }

  .topbar-clock {
    display: none;
  }

  body.login-page {
    align-items: flex-start;
    padding: 14px;
  }

  .login-box {
    padding: 24px 18px;
  }

  .login-key {
    min-height: 76px;
  }

  .login-title {
    font-size: 22px;
    letter-spacing: 1px;
  }

  .logo {
    height: 28px;
  }
  .title {
    font-size: 24px;
  }
  .btn,
  .icon-btn {
    width: 100%;
  }

  .reports-tabs {
    grid-template-columns: 1fr;
  }

  .placement-canvas {
    height: 280px;
  }
}

@media (max-width: 760px) {
  .fp-container {
    padding: 0 12px;
  }

  .card,
  .order-edit-card,
  .intake-card {
    padding: 14px;
  }

  .settings-page,
  .reports-page,
  .dashboard-page {
    padding-top: 16px;
  }

  .pickup-bin-canvas {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 12px;
  }

  .pickup-bin-card {
    min-height: 104px;
  }

  .pickup-bin-card strong {
    min-width: 58px;
    font-size: 24px;
  }

  .reports-filter,
  .reports-filter label,
  .reports-filter .btn,
  .reports-tabs__link {
    width: 100%;
  }

  .reports-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reports-tabs__link {
    text-align: center;
  }

  .color-size-builder__header,
  .design-work-panel__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .color-size-builder__header .icon-btn,
  .design-work-panel__actions .btn {
    width: 100%;
  }

  .profile-form__media {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .settings-card-grid,
  .reports-grid {
    grid-template-columns: 1fr;
  }

  .design-work-timer--floating {
    margin-right: -12px;
    margin-left: -12px;
  }

  .design-work-timer {
    align-items: flex-start;
    flex-direction: column;
  }

  .design-work-timer p {
    text-align: left;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    align-items: stretch;
    gap: 10px;
  }

  .topbar--guest {
    align-items: center;
  }

  .topbar__center {
    grid-column: 1 / -1;
    grid-row: 2;
    order: 3;
  }

  .topbar__right {
    justify-content: flex-end;
  }

  .topbar-clock {
    min-width: auto;
  }

  .topbar-clock span {
    display: none;
  }

  .topbar-flow {
    max-width: 100%;
  }

  .topbar-flow__link {
    min-height: 38px;
    margin-right: 19px;
    padding: 11px 12px 11px 24px;
    font-size: 12px;
  }

  .topbar-flow__link::after {
    right: -19px;
    border-top-width: 19px;
    border-bottom-width: 19px;
    border-left-width: 19px;
  }

  .topbar-flow__link::before {
    border-top-width: 19px;
    border-bottom-width: 19px;
    border-left-width: 19px;
  }

  .image-viewer__frame {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 58px 18px 42px;
  }

  .image-viewer__figure {
    width: 100%;
    height: min(420px, calc(100vh - 300px));
  }

  .image-viewer__sidebar {
    width: 100%;
  }

  .image-viewer__actions {
    justify-content: flex-end;
  }

  .image-viewer__info {
    max-height: none;
  }

  .image-viewer__nav {
    top: auto;
    bottom: 12px;
    width: 44px;
    height: 44px;
    transform: none;
  }

  .image-viewer__nav--next {
    right: 18px;
  }

  .printing-screen {
    grid-template-columns: 1fr;
  }

  .printing-panel--side {
    position: static;
  }

  .printing-info-grid,
  .printing-image-grid,
  .qa-placement-grid {
    grid-template-columns: 1fr;
  }

  .print-ready-spec-row {
    grid-template-columns: 1fr;
  }

  .print-ready-qty-card__header,
  .payment-method-choice {
    grid-template-columns: 1fr;
  }

  .dashboard-header {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-actions,
  .detail-actions {
    flex-direction: column;
  }

  .table-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .table-actions .icon-btn,
  .table-actions form,
  .table-actions button {
    width: 100%;
  }

  .dashboard-add-btn,
  .pickup-bin-toggle,
  .dashboard-search,
  .send-to-form,
  .send-to-form .select,
  .detail-actions .btn {
    width: 100%;
  }

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

  .order-detail-grid .order-edit-card:nth-of-type(2),
  .order-side-card {
    grid-column: auto;
    grid-row: auto;
  }

  .order-side-card {
    position: static;
  }

  .placement-builder__header,
  .placement-item__header {
    grid-template-columns: 1fr;
  }

  .placement-text-tool {
    grid-template-columns: 1fr;
  }

  .placement-text-tool input[type="color"] {
    width: 100%;
  }

  .placement-builder__header {
    display: grid;
  }

  .placement-items {
    grid-template-columns: 1fr;
  }

  .placement-canvas {
    height: 320px;
  }

  .design-proof-panel__header,
  .proof-header,
  .proof-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .proof-actions--split {
    grid-template-columns: 1fr;
  }

  .proof-choice-graphic {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto;
    align-items: center;
    min-height: 0;
  }

  .proof-choice-graphic__line {
    width: 100%;
    min-height: 2px;
  }

  .proof-choice-graphic__badge {
    width: auto;
    height: auto;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
  }

  .workflow-file-grid,
  .proof-file-grid {
    grid-template-columns: 1fr;
  }

  .proof-file-grid img {
    height: auto;
    max-width: 64%;
    max-height: 185px;
  }

  .proof-backdrop-frame,
  .proof-file-link {
    min-height: 260px;
  }

  .proof-backdrop-frame {
    padding: 88px 18px 24px;
    background-size: cover;
  }

  .department-board {
    grid-template-columns: 1fr;
  }

  .order-table {
    min-width: 980px;
  }

  .order-table--search,
  .reports-table {
    min-width: 760px;
  }

  .settings-user-table {
    min-width: 680px;
  }

  .order-table th,
  .order-table td {
    padding: 8px;
    font-size: 12px;
  }

  .intake-header,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .intake-card {
    padding: 20px;
  }

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

  .form-actions {
    justify-content: center;
  }

  .form-actions--stacked .btn,
  .order-side-actions .btn {
    width: min(100%, 240px);
  }

  .printing-panel--side .form-actions--stacked .btn,
  .order-side-card .form-actions--stacked .btn,
  .printing-panel--side .order-side-actions .btn,
  .order-side-card .order-side-actions .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .pickup-bin-canvas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
