@charset "UTF-8";

/* Ship-Lo shares Scan-Lo's typefaces, with its own teal and apricot palette. */
@font-face { font-family: "DM Sans"; src: url("shiplo/dm-sans-latin.woff2") format("woff2"); font-style: normal; font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("shiplo/nunito-latin.woff2") format("woff2"); font-style: normal; font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Pixelify Sans"; src: url("shiplo/pixelify-latin.woff2") format("woff2"); font-style: normal; font-weight: 400 700; font-display: swap; }

:root {
  color-scheme: dark;
  --page: #1c2c32;
  --sidebar: #17262c;
  --surface: #263940;
  --raised: #2e434a;
  --hover: #385159;
  --field: #1b2b31;
  --line: #4b646c;
  --control-line: #80979b;
  --ink: #f5eedc;
  --muted: #bbccc9;
  --link: #a5d4cd;
  --accent: #f2bd97;
  --accent-hover: #f8cfb0;
  --accent-ink: #192a30;
  --accent-tint: #344b50;
  --green: #8dc9a3;
  --green-tint: #233f35;
  --green-text: #b1dfc0;
  --yellow: #edcb83;
  --yellow-tint: #443c2b;
  --yellow-text: #f3d99c;
  --red-tint: #473239;
  --red-text: #f4b7bf;
  --radius: 12px;
  --font-body: "DM Sans", "Segoe UI", Arial, sans-serif;
  --font-heading: "Nunito", "Segoe UI", Arial, sans-serif;
  --font-brand: "Pixelify Sans", ui-monospace, monospace;
  --sidebar-width: 224px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 14px/1.55 var(--font-body);
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
button, a, input { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 750; }
h1 { margin-bottom: 9px; font-size: 30px; letter-spacing: -.7px; line-height: 1.2; }
h2 { font-size: 19px; letter-spacing: -.25px; line-height: 1.3; }
h3 { margin-bottom: 8px; font-size: 16px; }
.muted { color: var(--muted); }
.small, small { font-size: 12px; }
.block { display: block; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.center { margin-top: 15px; text-align: center; }
.eyebrow {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.25px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: var(--sidebar-width);
  padding: 24px 16px 18px;
  overflow-y: auto;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); line-height: 1.15; }
.brand:hover { text-decoration: none; }
.brand-name { font-family: var(--font-brand); font-size: 30px; font-weight: 600; white-space: nowrap; }
.brand-lo { color: var(--accent); }
.brand small { display: block; margin-top: 5px; color: var(--muted); font: 600 9px/1.4 var(--font-body); letter-spacing: 1.4px; }
.brand-mark {
  display: block;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
.nav-caption { margin: 24px 11px 8px; color: var(--muted); font-size: 10px; letter-spacing: 1.35px; }
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 3px;
  padding: 8px 11px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
}
.sidebar nav a > span { width: 17px; font-size: 17px; line-height: 1; }
.sidebar nav a:hover { background: var(--raised); color: var(--ink); text-decoration: none; }
.sidebar nav a.active { background: var(--accent-tint); color: var(--accent); }
.sidebar nav a.mobile-account, .mobile-signout { display: none; }
.sidebar-bottom { margin-top: auto; padding-top: 22px; color: var(--muted); font-size: 11px; }
.private-dot { display: inline-block; width: 6px; height: 6px; margin: 0 6px 1px 4px; border-radius: 50%; background: var(--green); }
.profile { display: flex; align-items: center; gap: 9px; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); }
.avatar, .order-letter {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--raised);
  color: var(--ink);
}
.avatar { border-radius: 50%; font-size: 14px; }
.profile a { color: var(--ink); font-size: 12px; font-weight: 650; overflow-wrap: anywhere; }
.profile small { display: block; color: var(--muted); font-size: 11px; }
.profile form { margin-left: auto; }
.signout, .text-button { padding: 7px; border: 0; background: none; color: var(--link); cursor: pointer; }
.signout { font-size: 20px; }
.text-button, .text-link { font-size: 13px; }
.text-link { font-weight: 650; }

.main { max-width: 1800px; margin-left: var(--sidebar-width); padding: 0 clamp(24px, 3vw, 48px) 45px; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 61px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.page-heading > div { min-width: 0; }
.page-heading h1 { overflow-wrap: anywhere; }
.page-heading p { margin: 0; color: var(--muted); }
.page-heading .button { flex-shrink: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 26px 0 12px; }
.section-heading h2 { margin: 0; font-size: 17px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 650;
  text-align: center;
  cursor: pointer;
}
.button:hover { background: var(--accent-hover); text-decoration: none; }
.button.secondary, .button.action-preview {
  border-color: var(--control-line);
  background: var(--raised);
  color: var(--ink);
}
.button.secondary:hover, .button.action-preview:hover { background: var(--hover); }
.button.full { justify-content: space-between; width: 100%; margin-top: 23px; font-size: 14px; }
.button[aria-disabled="true"] { cursor: wait; opacity: .7; }

.card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.card p { margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.card p:last-child { margin-bottom: 0; }
.printer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.printer-card { display: flex; align-items: center; gap: 12px; }
.printer-copy { flex: 1; min-width: 0; }
.printer-card h3 { margin: 0 0 4px; font-size: 14px; }
.printer-card p { margin: 0; font-size: 12px; }
.badge {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--raised);
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
}
.badge.good, .notice.success { border-color: #37634b; background: var(--green-tint); color: var(--green-text); }
.badge.warn { border-color: #6c582d; background: var(--yellow-tint); color: var(--yellow-text); }
.notice { margin: 0 0 18px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 13px; }
.notice.error { border-color: #78434a; background: var(--red-tint); color: var(--red-text); }
.notice.information { border-color: var(--control-line); background: var(--accent-tint); color: var(--ink); }

.form-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.form-card { padding: 24px; }
.form-card h2 { margin-bottom: 10px; }
.form-card.narrow { max-width: 540px; }
.form-card .button { margin-top: 20px; }
.side-note { background: var(--raised); }
.side-note form, .side-note .small { margin-top: 16px; }
form label { display: block; margin: 16px 0 7px; font-size: 13px; font-weight: 650; }
input {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid var(--control-line);
  border-radius: 7px;
  background: var(--field);
  color: var(--ink);
}
input::placeholder { color: var(--muted); opacity: 1; }
input[type="checkbox"] { padding: 0; accent-color: var(--accent); }
.field-hint { display: block; margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.checkbox-label input { flex-shrink: 0; width: 18px; min-height: 18px; height: 18px; margin: 2px 0 0; }
.window-fields { min-width: 0; margin: 20px 0; padding: 9px 14px 16px; border: 1px solid var(--line); border-radius: 8px; }
.window-fields legend { padding: 0 6px; font-size: 13px; font-weight: 700; }
.window-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.return-address-preview { margin: 15px 0; padding: 13px 15px; border-radius: 7px; background: var(--field); }

.table-wrap { overflow-x: auto; padding: 0; }
table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
th { background: var(--raised); color: var(--muted); font-size: 11px; letter-spacing: .4px; text-transform: uppercase; }
th, td { padding: 13px 16px; border-bottom: 1px solid var(--line); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover, tbody tr:focus-within { background: var(--raised); }
td > a:focus-visible { outline-offset: 2px; }
.empty { padding: 52px 24px; text-align: center; }
.empty p { max-width: 400px; margin: 10px auto 20px; font-size: 14px; }
.empty-icon { margin-bottom: 12px; color: var(--muted); font-size: 32px; }
.error-page { max-width: 620px; margin: 50px auto; }
.guest .error-page { width: calc(100% - 36px); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; font-size: 13px; }

.order-tools, .prepare-bar, .document-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tabs { display: flex; width: fit-content; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.main > .tabs { margin-bottom: 16px; }
.tabs a { padding: 7px 12px; border-radius: 5px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.tabs a:hover { background: var(--raised); text-decoration: none; }
.tabs a.selected { background: var(--accent-tint); color: var(--accent); font-weight: 700; }
.order-search { display: flex; gap: 8px; }
.order-search input { width: 220px; min-width: 0; font-size: 13px; }
#auto-count { max-width: 9rem; }
.order-check { width: 18px; min-height: 18px; height: 18px; margin: 0; }
.order-check:disabled { opacity: .5; }
.prepare-bar { margin-top: 16px; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 13px; }
.prepare-buttons, .document-actions { justify-content: flex-start; flex-wrap: wrap; }
.prepare-buttons { display: flex; gap: 10px; }
.order-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.order-summary p { margin: 0; }
.print-panel { max-width: 750px; margin-top: 18px; }
.buyer-details { margin-top: 16px; }
.buyer-details h2 { margin: 8px 0 13px; }
.shipping-address { font-style: normal; line-height: 1.65; overflow-wrap: anywhere; }
.shipping-address span, .shipping-address strong { display: block; }
.buyer-details p { margin: 12px 0 0; }

.packing-entry, .packing-heading, .packing-heading-code, .packing-letters { display: flex; align-items: center; gap: 12px; }
.packing-entry, .packing-letters { flex-wrap: wrap; margin-bottom: 18px; }
.order-letter { border-radius: 7px; font-size: 16px; }
.packing-letters a:hover { background: var(--hover); text-decoration: none; }
.packing-letters .held-letter { background: var(--yellow-tint); color: var(--yellow-text); }
.packing-order { margin-bottom: 16px; scroll-margin-top: 18px; }
.packing-heading { justify-content: space-between; flex-wrap: wrap; }
.packing-heading h2 { margin: 0 0 5px; font-size: 16px; overflow-wrap: anywhere; }
.packing-heading-code { min-width: 0; }
.packing-recipient { margin: 20px 0; }
.packing-recipient address { margin-top: 8px; }
.variant-warning { color: var(--yellow-text); font-weight: 700; }
.packing-hold .checkbox-label { max-width: 650px; }
.button.shortage-button { border-color: #78434a; background: var(--red-tint); color: var(--red-text); font-size: 12px; white-space: nowrap; }
.button.shortage-button:hover { background: #563137; }
.packing-order .table-wrap td { vertical-align: top; }
.packing-hold input[type="checkbox"] { flex-shrink: 0; }

.action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.action-row .button { margin-top: 0; }
.batch-step h2 { margin-bottom: 12px; }
.batch-step > p, .batch-shipment p { margin: 10px 0 0; }
.batch-shipment { margin-top: 16px; }
.batch-shipment h3, .batch-shipment form { margin-top: 8px; }
.print-receipt, .batch-orders > summary { margin-top: 8px; }
.print-receipt summary, .batch-orders > summary { cursor: pointer; font-size: 13px; font-weight: 650; }
.print-receipt ul { padding-left: 20px; font-size: 12px; }
.batch-orders > .table-wrap { margin-top: 12px; }

.job-progress { max-width: 640px; margin: 12px 0; }
.job-progress p { margin: 4px 0; }
.progress-row { display: flex; align-items: center; gap: 12px; margin: 10px 0 6px; }
.progress-row strong { min-width: 42px; font-variant-numeric: tabular-nums; text-align: right; }
.progress-row progress {
  --progress-fill: var(--yellow);
  appearance: none;
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  background: var(--line);
  accent-color: var(--progress-fill);
}
.progress-row progress[value="100"], .progress-row .progress-confirmed { --progress-fill: var(--green); }
.progress-row progress::-webkit-progress-bar { border-radius: 999px; background: transparent; }
.progress-row progress::-webkit-progress-value { border-radius: 999px; background: var(--progress-fill); }
.progress-row progress::-moz-progress-bar { border-radius: 999px; background: var(--progress-fill); }
.progress-row progress:indeterminate {
  background: linear-gradient(var(--yellow), var(--yellow)) 0 / 30% 100% no-repeat var(--line);
  animation: working 1.4s ease-in-out infinite alternate;
}
.progress-row progress:indeterminate::-moz-progress-bar { background: transparent; }
@keyframes working { to { background-position: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .progress-row progress:indeterminate { animation: none; }
}

.sealed-parcel-measurements .parcel-contents { min-width: 260px; width: 48%; white-space: normal; }
.parcel-items { margin: 9px 0 0; padding: 0; list-style: none; }
.parcel-items li { margin: 4px 0; line-height: 1.45; overflow-wrap: anywhere; }
.sealed-parcel-measurements input { min-width: 78px; }

.guest { min-height: 100vh; }
.guest > .notice { margin: 0; border-radius: 0; }
.login-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.login-story {
  display: flex;
  flex-direction: column;
  padding: 40px clamp(28px, 5vw, 68px);
  border-right: 1px solid var(--line);
  background: radial-gradient(ellipse at 10% 15%, #4f7e7833, transparent 65%), radial-gradient(ellipse at 90% 90%, #f2bd9712, transparent 60%), var(--sidebar);
}
.story-copy { margin: auto 0; padding: 64px 0; }
.story-copy .eyebrow { color: var(--accent); }
.story-copy h1 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -1.5px; font-weight: 650; }
.story-copy p { max-width: 340px; margin-top: 20px; color: var(--muted); line-height: 1.7; }
.story-footer { color: var(--muted); }
.login-side { display: flex; align-items: center; justify-content: center; padding: 36px 24px; }
.login-form { width: 100%; max-width: 410px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.login-form h2 { margin-bottom: 7px; font-size: 28px; }
.login-form > .muted { margin-bottom: 24px; }
.login-note { max-width: 290px; margin: 16px 0 0; color: var(--muted); font-size: 12px; }

.tracking-search { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.tracking-search > div:first-child { flex: 1 1 280px; }
.tracking-search > div { min-width: 0; }
.tracking-search input, .tracking-search select { width: 100%; }
.tracking-search select { min-height: 42px; padding: 9px 12px; border: 1px solid var(--control-line); border-radius: 7px; background: var(--field); color: var(--ink); font: inherit; }
.tracking-search + .field-hint { margin: 14px 0 0; }
.tracking-number { overflow-wrap: anywhere; }
.tracking-summary h2 { margin-top: 18px; }
.tracking-history { margin: 0; padding-left: 24px; }
.tracking-history li { padding: 14px 0 14px 8px; border-bottom: 1px solid var(--line); }
.tracking-history li:last-child { border: 0; }
.tracking-history p { margin: 6px 0; }
.tracking-event { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }

@media (max-width: 1050px) {
  :root { --sidebar-width: 205px; }
  .order-tools { align-items: flex-start; flex-direction: column; }
  .order-search { width: 100%; }
  .order-search input { flex: 1; width: auto; }
  .printer-card { flex-wrap: wrap; }
}

@media (max-width: 800px) {
  .sidebar { position: static; display: block; width: auto; padding: 14px 18px; overflow: visible; border-width: 0 0 1px; }
  .sidebar nav { display: flex; gap: 4px; margin: 10px -4px 0; padding: 4px; overflow-x: auto; }
  .sidebar nav a { flex-shrink: 0; margin: 0; padding: 8px 10px; }
  .sidebar nav a > span, .nav-caption, .sidebar-bottom { display: none; }
  .sidebar nav a.mobile-account { display: flex; }
  .mobile-signout { display: flex; flex-shrink: 0; align-items: center; }
  .mobile-signout .text-button { white-space: nowrap; }
  .main { margin-left: 0; padding-inline: 18px; }
  .topbar { min-height: 48px; margin-bottom: 20px; }
  .page-heading { align-items: flex-start; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
  .page-heading h1 { font-size: 26px; }
  .order-summary, .printer-grid, .form-layout { grid-template-columns: 1fr; }
  .prepare-bar { align-items: flex-start; flex-direction: column; }
  th, td { padding: 11px 13px; white-space: nowrap; }
  .packing-order .table-wrap td { min-width: 100px; white-space: normal; }
  .packing-order .table-wrap td:nth-child(2) { min-width: 180px; }
  .section-heading .small { max-width: 160px; text-align: right; }
  .login-layout { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .login-story { padding: 18px 24px; border-width: 0 0 1px; }
  .story-copy, .story-footer { display: none; }
}

@media (max-width: 480px) {
  .window-field-grid { grid-template-columns: 1fr; }
}
