:root {
  font-family:
    "Segoe UI Variable",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
  color: #24343e;
  background: #f7f8fa;
  font-synthesis: none;
  font-size: 14px;
  line-height: 1.55;
  --ink: #173a65;
  --muted: #64748b;
  --line: #e4e9f0;
  --paper: #fff;
  --soft: #edf2f4;
}
.product-declaration{margin:20px 0;padding:18px;background:#f8fafb;border-radius:8px}.product-declaration h3{font-size:13px}.product-list{margin:14px 0}.product-row{display:flex;align-items:center;gap:14px;padding:10px 0}.product-row img,.local-product-photo{width:76px;height:76px;object-fit:contain;border:1px solid var(--line);border-radius:7px;background:white}.product-placeholder{display:flex;width:76px;height:76px;align-items:center;justify-content:center;border:1px dashed #cbd6dd;border-radius:7px;color:#8ba0ad;flex-shrink:0}.product-row strong{font-size:13px}.product-row p{font-size:12px}.local-product-photo{width:110px;height:110px}.product-row>div{min-width:0;overflow-wrap:anywhere}
.scanner-buttons {
  display: flex;
  gap: 12px;
  margin: 18px 0;
  flex-wrap: wrap;
}
.scanner-view {
  margin: 20px 0;
}
.scanner-view video {
  display: block;
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  background: #182b35;
  border-radius: 10px;
}
.scanner-view p {
  font-size: 12px;
}
.receiving-work,
.receiving-match {
  max-width: 760px;
}
.receiving-match > .text-button {
  margin-top: 22px;
}
.receiving-inspection {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.structured-address {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.estimate-card {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.estimate-card p {
  font-size: 12px;
}
.badge.review {
  background: #faf0dd;
  color: #96743b;
}
.receiving-match .section-title {
  padding: 0 0 20px;
}
.form-panel > .section-title {
  padding: 0 0 20px;
}
.route-row > div:last-child:not(:first-of-type) {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
p {
  margin: 8px 0;
  color: #63727d;
}
h1,
h2,
h3 {
  color: #253843;
  line-height: 1.25;
  margin: 0;
  font-weight: 600;
}
h1 {
  font-size: 32px;
  letter-spacing: -1px;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 15px;
}
small {
  font-size: 12px;
  color: var(--muted);
}
svg {
  flex-shrink: 0;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #89aab7;
  outline-offset: 4px;
  border-radius: 5px;
}
input,
textarea,
select {
  width: 100%;
  background: #fff;
  border: 1px solid #dce2e6;
  border-radius: 7px;
  padding: 11px 12px;
  color: #24343e;
  outline: none;
  min-width: 0;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #688e9e;
  box-shadow: 0 0 0 3px #688e9e1a;
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #98a2a9;
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #294c5c;
  flex-shrink: 0;
  margin: 3px 0 0;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 23px 0;
}
.button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: white;
  border: 1px solid var(--ink);
  padding: 11px 18px;
  border-radius: 7px;
  font-weight: 550;
  white-space: nowrap;
  min-height: 43px;
}
.button:hover {
  background: #345565;
}
.button.secondary {
  background: white;
  border-color: #dce3e7;
  color: #344c59;
}
.button.secondary:hover {
  background: #f1f5f7;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  flex-shrink: 0;
}
.icon-button:hover {
  background: var(--soft);
}
.text-button,
.back-link {
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #456879;
  font-weight: 550;
  font-size: 13px;
}
.text-button:hover,
.back-link:hover {
  text-decoration: underline;
}
.danger {
  color: #ae5353;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.field > span {
  font-size: 13px;
  font-weight: 550;
  color: #455660;
}
.field small {
  font-weight: 400;
}
.mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  background: var(--ink);
  border-radius: 10px;
  flex-shrink: 0;
}
.mark svg {
  width: 100%;
  stroke: white;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -0.4px;
}
.brand small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-top: 5px;
}
.app {
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 235px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 32px 22px 20px;
  display: flex;
  flex-direction: column;
  /* The admin menu is longer than a laptop screen: let it scroll instead of cutting off the last items. */
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sidebar > * {
  flex-shrink: 0;
}
.workspace-label {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #8a969e;
  margin: 48px 12px 16px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 7px;
  color: #6a7882;
  font-weight: 500;
}
.sidebar nav a:hover {
  background: #f6f8fa;
}
.sidebar nav a.active {
  background: #eaf0f3;
  color: #2e5365;
}
.sidebar-note {
  margin-top: auto;
  padding: 28px 12px;
  color: #8c9ba4;
}
.sidebar-note strong {
  display: block;
  font-size: 12px;
  margin-top: 12px;
  color: #5d7480;
}
.sidebar-note p {
  font-size: 11px;
  line-height: 1.8;
  color: #8b98a0;
}
.profile {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #edf0eb;
  color: #626e60;
  border-radius: 50%;
  font-weight: 600;
  flex-shrink: 0;
}
.profile > div {
  min-width: 0;
  flex: 1;
}
.profile strong,
.profile small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile strong {
  font-size: 12px;
}
.profile small {
  font-size: 10px;
}
.main {
  margin-left: 235px;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8a969f;
  font-size: 11px;
  letter-spacing: 0.3px;
  background: #fafbfc;
}
.topbar > div {
  display: flex;
  align-items: center;
  gap: 22px;
}
.language {
  border: 1px solid #dfe5e8;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  color: #5b707b;
  background: #fff;
}
.user-chip {
  font-weight: 500;
  color: #65757e;
}
main {
  max-width: 1480px;
  margin: auto;
  padding: 40px 42px 48px;
  min-height: calc(100vh - 142px);
}
footer {
  padding: 22px 42px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: #99a3ab;
  display: flex;
  justify-content: space-between;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.page-heading p {
  font-size: 13px;
  margin-top: 10px;
}
.page-heading .date-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 13px;
  color: #8a969f;
}
.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 11px;
  margin-bottom: 28px;
  padding: 24px 0;
}
.summary-strip > div {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 0 25px;
  border-right: 1px solid var(--line);
}
.summary-strip > div:last-child {
  border: 0;
}
.summary-icon {
  display: flex;
  color: #8398a3;
}
.summary-strip > div > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.summary-strip span {
  font-size: 11px;
  color: #81909a;
}
.summary-strip strong {
  font-size: 29px;
  line-height: 1.2;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
}
.home-grid .panel {
  margin: 0;
}
.section-title {
  padding: 23px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.muted {
  color: #8a969e;
  font-size: 12px;
}
.section-title > .muted {
  font-size: 10px;
}
.tasks > .text-button {
  margin: 20px 25px;
}
.task-row {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  gap: 14px;
  padding: 17px 25px;
  border-top: 1px solid #f0f2f4;
}
.task-row:hover {
  background: #fafbfc;
}
.task-row > div {
  flex: 1;
}
.task-row strong {
  font-size: 13px;
}
.task-row p {
  font-size: 12px;
  margin: 3px 0;
}
.task-row > svg {
  color: #8ba0ac;
}
.task-icon {
  display: flex;
  padding: 11px;
  background: #edf3f5;
  border-radius: 8px;
  color: #5d7c8b;
}
.task-icon.attention {
  background: #fbf1e2;
  color: #a78343;
}
.calm-state {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 145px;
  padding: 22px 25px;
}
.circle-check {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8e5de;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: #729180;
  flex-shrink: 0;
}
.calm-state strong {
  font-size: 13px;
}
.calm-state p {
  font-size: 12px;
  max-width: 300px;
}
.receiving-card {
  background: #edf2f2;
  border: 1px solid #e3eaeb;
  border-radius: 10px;
  padding: 25px;
  color: #6c858d;
}
.receiving-card h2 {
  margin: 14px 0 8px;
}
.receiving-card p {
  font-size: 12px;
  color: #778990;
  line-height: 1.8;
}
.warehouse-address {
  padding: 16px 0;
  white-space: pre-wrap;
  color: #405762;
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.receiving-name {
  border-top: 1px solid #dce5e7;
  padding-top: 13px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}
.receiving-name strong {
  color: #48616c;
}
.receiving-card .text-button {
  margin-top: 13px;
}
.list-tools {
  display: flex;
  gap: 10px;
  align-items: center;
}
.list-tools select {
  font-size: 11px;
  padding: 9px;
  max-width: 175px;
}
.search {
  display: flex;
  align-items: center;
  border: 1px solid #e2e7eb;
  border-radius: 6px;
  padding-left: 10px;
  color: #98a5ae;
}
.search input {
  border: 0;
  background: transparent;
  width: 185px;
  padding: 9px 8px;
  font-size: 11px;
  box-shadow: none;
}
.search-submit {
  font-size: 10px;
  padding: 8px;
  color: #647d89;
}
.shipment-row {
  display: flex;
  align-items: center;
  gap: 17px;
  text-align: left;
  padding: 21px 25px;
  width: 100%;
  border-top: 1px solid #edf0f2;
}
.shipment-row:hover {
  background: #fafcfd;
}
.parcel-art {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: #f2f4f1;
  color: #8d9c8a;
  border-radius: 8px;
  flex-shrink: 0;
}
.shipment-title {
  flex: 1;
  min-width: 0;
}
.shipment-title strong,
.shipment-title small,
.destination strong,
.destination small {
  display: block;
}
.shipment-title strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.shipment-title small {
  margin-top: 4px;
  font-size: 10px;
}
.destination {
  min-width: 140px;
}
.destination strong {
  font-size: 12px;
  font-weight: 500;
}
.destination small {
  font-size: 10px;
  margin-top: 4px;
}
.row-date {
  color: #98a3ab;
  font-size: 10px;
  min-width: 85px;
}
.shipment-row > svg {
  color: #96a7b1;
}
.badge {
  font-size: 10px;
  padding: 5px 9px;
  border-radius: 5px;
  background: #f0f3f5;
  color: #71838e;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-weight: 500;
  line-height: 1.4;
}
.badge.attention,
.badge.quoted {
  background: #fbf1df;
  color: #98753d;
}
.badge.authorized,
.badge.delivered {
  background: #eaf3ed;
  color: #5b8269;
}
.badge.shipped {
  background: #eaf1f7;
  color: #5c7f9d;
}
.badge.cancelled {
  background: #f5ecec;
  color: #a07878;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #8b98a1;
}
.pagination > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pagination button {
  font-size: 11px;
  padding: 4px;
}
.empty {
  text-align: center;
  padding: 56px 25px;
  color: #9aabb4;
}
.empty svg {
  margin-bottom: 15px;
}
.empty h3 {
  margin-bottom: 8px;
  font-size: 17px;
}
.empty p {
  font-size: 12px;
  max-width: 410px;
  margin: 8px auto 22px;
}
.error,
.notice,
.success {
  padding: 13px 15px;
  border-radius: 7px;
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 1.8;
}
.error {
  background: #fdf0ed;
  color: #a15d4e;
  border: 1px solid #f0d8d1;
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.notice {
  background: #f2f5f6;
  color: #617783;
  border: 1px solid #e5ebed;
  white-space: pre-wrap;
}
.success {
  background: #edf5ef;
  color: #54755e;
}
.back-link {
  margin-bottom: 22px;
  font-size: 12px;
}
.order-form {
  max-width: 900px;
}
.form-panel {
  padding: 28px 30px;
}
.form-panel > .field {
  margin: 20px 0;
}
.form-section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 23px;
}
.form-section-title > span {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe5e8;
  border-radius: 50%;
  font-size: 12px;
  color: #6a8591;
  flex-shrink: 0;
}
.form-section-title p {
  font-size: 12px;
  margin: 6px 0 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid.four {
  grid-template-columns: repeat(4, 1fr);
}
.parcel-input {
  display: grid;
  grid-template-columns: 20px 0.8fr 1.2fr 1fr 30px;
  gap: 12px;
  align-items: end;
  margin-bottom: 20px;
}
.parcel-input .field > span {
  font-size: 11px;
}
.parcel-index {
  height: 41px;
  display: flex;
  align-items: center;
  color: #91a0a8;
  font-size: 12px;
}
.parcel-input > .icon-button {
  margin-bottom: 4px;
}
.bulk {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 16px;
  font-size: 12px;
}
.bulk summary {
  color: #627f8d;
  cursor: pointer;
}
.bulk textarea {
  margin: 8px 0;
}
.check-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.8;
  margin: 22px 0 0;
  color: #586d78;
}
.check-label small {
  display: block;
  font-size: 11px;
  color: #91a0a8;
}
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0;
}
.form-footer > span {
  font-size: 11px;
  color: #8c9aa3;
}
.next-banner {
  display: flex;
  align-items: center;
  gap: 17px;
  border: 1px solid #dfe8ec;
  background: #ecf2f5;
  padding: 24px;
  border-radius: 10px;
  margin-bottom: 28px;
}
.next-banner > span {
  color: #7a98a7;
}
.next-banner > div:first-of-type {
  flex: 1;
}
.next-banner strong {
  font-size: 15px;
}
.next-banner p {
  font-size: 12px;
  margin: 5px 0 0;
}
.next-banner.attention,
.next-banner.quoted {
  background: #fbf5e9;
  border-color: #eee3cc;
}
.banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.banner-actions .button {
  font-size: 12px;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
}
.count {
  font-size: 12px;
  color: #8d9ba4;
  font-weight: 400;
  margin-left: 6px;
}
.parcel-detail {
  padding: 22px 25px;
  border-top: 1px solid var(--line);
}
.parcel-detail-head {
  display: flex;
  gap: 14px;
  align-items: center;
}
.parcel-detail-head > div {
  flex: 1;
  min-width: 0;
}
.parcel-detail-head strong {
  font-size: 12px;
}
.tracking-number {
  display: block;
  font-size: 12px;
  color: #6d8592;
  overflow-wrap: anywhere;
}
.parcel-detail > p {
  font-size: 12px;
  margin: 16px 0;
}
.inspection-note {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  background: #f8f9fa;
  padding: 12px 14px;
  border-radius: 6px;
  margin: 14px 0;
  line-height: 1.8;
}
.photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.photo-grid:empty {
  display: none;
}
.photo-grid img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e4e9ec;
}
.parcel-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.parcel-actions > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.parcel-actions .button {
  font-size: 11px;
  padding: 7px 12px;
  min-height: 34px;
}
.upload-button {
  position: relative;
  display: flex;
  gap: 6px;
  align-items: center;
  border: 1px solid #dce3e7;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 11px;
  color: #5f7987;
  cursor: pointer;
}
.upload-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
.upload-button:focus-within {
  outline: 2px solid #89aab7;
}
.panel-foot {
  background: #fbfcfc;
  border-top: 1px solid var(--line);
  padding: 14px 25px;
  font-size: 11px;
  color: #82929b;
}
.box-row {
  padding: 18px 25px;
  display: flex;
  gap: 18px;
  align-items: center;
  border-top: 1px solid var(--line);
  font-size: 12px;
  flex-wrap: wrap;
}
.box-row svg {
  color: #8fa2ad;
}
.tracking-card {
  display: flex;
  gap: 18px;
  padding: 20px 25px;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.tracking-card > svg {
  color: #8ba2ae;
}
.tracking-card strong {
  font-size: 13px;
}
.tracking-card p,
.tracking-card a {
  font-size: 12px;
}
.tracking-card a {
  color: #426b7f;
  text-decoration: underline;
}
.timeline {
  padding: 5px 25px 10px;
  max-height: 440px;
  overflow: auto;
}
.timeline > div {
  position: relative;
  display: flex;
  gap: 16px;
  padding-bottom: 22px;
}
.timeline > div:not(:last-child):before {
  content: "";
  position: absolute;
  top: 9px;
  left: 3px;
  width: 1px;
  background: #e4eaed;
  height: 100%;
}
.timeline-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9aafb9;
  margin-top: 7px;
  flex-shrink: 0;
  z-index: 1;
}
.timeline p {
  font-size: 12px;
  margin: 0 0 4px;
  color: #596f7a;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.timeline small {
  font-size: 10px;
  color: #98a5ad;
}
.message-form {
  padding: 20px 25px;
  border-top: 1px solid var(--line);
}
.message-form textarea {
  font-size: 12px;
  margin-bottom: 10px;
}
.message-form .button {
  font-size: 11px;
  padding: 8px 14px;
  min-height: 34px;
}
.address-panel,
.quote-panel {
  padding: 25px;
}
.address-panel h2,
.quote-panel h2 {
  margin-bottom: 22px;
}
.address-panel strong {
  font-size: 13px;
}
.address-panel p {
  font-size: 12px;
  line-height: 1.9;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.address-panel small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.quote-version {
  font-size: 10px;
}
.quote-total,
.approve-total {
  font-size: 34px;
  letter-spacing: -1px;
  color: #2d4653;
  margin: 14px 0 2px;
}
.quote-panel > p {
  font-size: 12px;
}
.fee-lines {
  margin: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.fee-lines > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 0;
  font-size: 12px;
}
.fee-lines strong {
  white-space: nowrap;
  font-weight: 500;
}
.approved {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #668774;
  font-size: 12px;
}
.quote-panel .button {
  width: 100%;
  font-size: 11px;
}
.quote-history {
  margin-top: 17px;
  font-size: 11px;
  color: #788d98;
}
.quote-history summary {
  cursor: pointer;
}
.offline-note {
  font-size: 10px;
  color: #99a4aa;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 20px;
}
.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #20343e66;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  backdrop-filter: blur(3px);
}
.modal {
  width: 600px;
  max-width: 100%;
  max-height: 90vh;
  overflow: auto;
  background: white;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 16px 70px #14242d22;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 23px 28px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.modal-form {
  padding: 25px 28px;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.modal-form > .notice,
.modal-form > .error,
.modal-form > p,
.modal-form > .check-label {
  margin: 0;
}
.modal-footer {
  border-top: 1px solid var(--line);
  margin-top: 5px;
  padding-top: 22px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.box-form {
  padding: 17px;
  background: #f8fafb;
  border: 1px solid #e7ecef;
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.box-form .field > span {
  font-size: 11px;
}
.fee-input {
  display: grid;
  grid-template-columns: 1fr 110px auto;
  gap: 10px;
  align-items: end;
}
.fee-input .icon-button {
  margin-bottom: 4px;
}
.people-row,
.partner-row,
.route-row {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 22px 25px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.people-row > div:first-of-type,
.partner-row > div,
.route-row > div {
  flex: 1;
  min-width: 0;
}
.people-row strong,
.people-row small {
  display: block;
  overflow-wrap: anywhere;
}
.people-row > div:last-child {
  display: flex;
  gap: 15px;
}
.partner-row p,
.route-row p {
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.partner-row > svg,
.route-row > svg {
  color: #859ba7;
}
.invite-result {
  background: #eef4ee;
  border: 1px solid #dce8df;
  padding: 20px;
  border-radius: 9px;
  margin-bottom: 25px;
  font-size: 12px;
}
.invite-result p {
  font-size: 11px;
}
.invite-result input {
  margin: 10px 0;
}
.settings-form {
  max-width: 650px;
}
.settings-form h2 {
  margin-bottom: 25px;
}
.initial,
.loading {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #8596a0;
}
.login-page {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 100vh;
  background: white;
}
.login-story {
  background: #eaf0f0;
  display: flex;
  flex-direction: column;
  padding: 42px 52px;
  color: #486571;
  min-height: 100vh;
}
.login-copy {
  margin: auto 0;
  padding: 70px 0;
  max-width: 540px;
}
.login-copy > p:first-child {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7a929b;
  margin-bottom: 24px;
}
.login-copy h1 {
  font-size: clamp(35px, 3.8vw, 59px);
  letter-spacing: -2px;
  line-height: 1.13;
  white-space: pre-line;
  font-weight: 500;
  color: #2b4856;
}
.journey-art {
  display: flex;
  align-items: center;
  margin: 52px 0 34px;
  max-width: 465px;
}
.journey-art > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  font-size: 10px;
  color: #76919c;
  white-space: nowrap;
}
.journey-art svg {
  width: 64px;
  height: 64px;
  padding: 17px;
  border: 1px solid #cbdadd;
  border-radius: 16px;
  background: #f1f5f4;
  color: #6e8b96;
}
.journey-art i {
  flex: 1;
  border-top: 1px dashed #aebfc5;
  position: relative;
  top: -13px;
  margin: 0 15px;
  min-width: 15px;
}
.login-copy .story-caption {
  font-size: 13px;
  line-height: 1.9;
  color: #7d929a;
  max-width: 410px;
}
.story-bottom {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  justify-content: space-between;
  color: #8aa0a8;
}
.login-form-area {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 45px;
}
.login-language {
  position: absolute;
  right: 40px;
  top: 38px;
}
.login-form {
  width: 100%;
  max-width: 340px;
}
.mini-symbol {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: #f1f5f6;
  border-radius: 12px;
  color: #7593a0;
  margin-bottom: 26px;
}
.login-form h2 {
  font-size: 29px;
  letter-spacing: -0.8px;
}
.login-form > p {
  font-size: 12px;
  margin: 12px 0 32px;
}
.login-form > .field {
  margin-bottom: 21px;
}
.login-form > .button {
  width: 100%;
  margin-top: 5px;
}
.login-help {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 30px;
  font-size: 11px;
  color: #96a2aa;
  line-height: 1.8;
}
.login-bottom {
  position: absolute;
  bottom: 32px;
  font-size: 10px;
  color: #a0aab0;
  letter-spacing: 0.4px;
}
@media (min-width: 1500px) {
  .login-story {
    padding: 55px 80px;
  }
  .login-copy {
    align-self: center;
    width: 100%;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 205px;
    padding: 28px 17px;
  }
  .main {
    margin-left: 205px;
  }
  main {
    padding: 32px 26px;
  }
  .topbar {
    padding: 0 26px;
  }
  .row-date {
    display: none;
  }
  .summary-strip > div {
    padding: 0 18px;
  }
  .section-title {
    padding: 20px;
  }
  .list-tools {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .home-grid {
    gap: 18px;
  }
  .shipment-row {
    padding: 20px;
    gap: 12px;
  }
  .destination {
    min-width: 115px;
  }
  .next-banner {
    flex-wrap: wrap;
  }
  .banner-actions {
    width: 100%;
    justify-content: flex-start;
    margin-top: 4px;
  }
  .login-story {
    padding: 35px;
  }
  .login-copy h1 {
    font-size: 43px;
  }
}
@media (max-width: 1000px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
  .receiving-card {
    display: none;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }
  .detail-aside > .panel {
    margin: 0;
  }
  .destination {
    display: none;
  }
  .summary-strip > div {
    padding: 0 14px;
    gap: 9px;
  }
  .summary-icon {
    display: none;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .shipment-panel > .section-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .list-tools {
    width: 100%;
    justify-content: space-between;
  }
  .search {
    flex: 1;
  }
  .search input {
    width: 100%;
  }
  .parcel-input {
    grid-template-columns: 15px 1fr 1.3fr 28px;
  }
  .parcel-input > .field:nth-of-type(3) {
    grid-column: 2/4;
  }
  .parcel-input > .icon-button {
    grid-column: 4;
    grid-row: 1;
  }
  .login-copy h1 {
    font-size: 36px;
    letter-spacing: -1.5px;
  }
  .journey-art {
    margin: 40px 0 28px;
  }
  .journey-art > div {
    font-size: 9px;
  }
  .journey-art i {
    margin: 0 7px;
  }
  .login-story {
    padding: 30px;
  }
  .people-row {
    flex-wrap: wrap;
  }
  .people-row > div:last-child {
    width: 100%;
    padding-left: 50px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 16px 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: block;
  }
  .sidebar .brand {
    font-size: 16px;
  }
  .sidebar .mark {
    width: 32px;
    height: 32px;
  }
  .sidebar .brand small {
    font-size: 9px;
  }
  .workspace-label,
  .sidebar-note,
  .profile {
    display: none;
  }
  .sidebar nav {
    flex-direction: row;
    gap: 8px;
    margin: 16px -8px 0;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .sidebar nav a {
    font-size: 11px;
    white-space: nowrap;
    padding: 9px 11px;
    gap: 7px;
  }
  .sidebar nav svg {
    width: 16px;
    height: 16px;
  }
  .main {
    margin-left: 0;
  }
  .topbar {
    height: 47px;
    padding: 0 20px;
    font-size: 9px;
  }
  .user-chip {
    display: none;
  }
  .topbar > div {
    gap: 0;
  }
  .language {
    font-size: 10px;
    padding: 4px 8px;
  }
  main {
    padding: 26px 20px;
    min-height: 60vh;
  }
  .page-heading {
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 24px;
  }
  .page-heading h1 {
    font-size: 26px;
    letter-spacing: -0.7px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .page-heading > .button {
    font-size: 12px;
    padding: 9px 14px;
    min-height: 38px;
  }
  .summary-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
    margin-bottom: 22px;
  }
  .summary-strip > div {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
  }
  .summary-strip > div:nth-child(2) {
    border-right: 0;
  }
  .summary-strip > div:nth-child(n + 3) {
    border-bottom: 0;
  }
  .summary-icon {
    display: flex;
  }
  .summary-strip strong {
    font-size: 25px;
  }
  .summary-strip > div > div {
    gap: 3px;
  }
  .summary-strip span {
    font-size: 10px;
  }
  .section-title {
    padding: 19px 18px;
    flex-wrap: wrap;
  }
  .section-title h2 {
    font-size: 15px;
  }
  .section-title > .muted {
    display: none;
  }
  .task-row {
    padding: 17px 18px;
    gap: 12px;
  }
  .calm-state {
    padding: 20px 18px;
  }
  .tasks > .text-button {
    margin: 18px;
  }
  .home-grid {
    margin-bottom: 22px;
  }
  .list-tools {
    gap: 7px;
  }
  .list-tools select {
    max-width: 127px;
    font-size: 10px;
  }
  .search {
    min-width: 0;
  }
  .search input {
    font-size: 10px;
  }
  .search-submit {
    display: none;
  }
  .shipment-row {
    padding: 18px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .shipment-title {
    flex: 1;
  }
  .shipment-row > .badge {
    margin-left: 58px;
  }
  .shipment-row > svg {
    margin-left: auto;
  }
  .parcel-art {
    width: 40px;
    height: 40px;
  }
  .shipment-title strong {
    font-size: 13px;
  }
  .pagination {
    padding: 14px 18px;
  }
  .empty {
    padding: 40px 22px;
  }
  .empty h3 {
    font-size: 15px;
  }
  .form-panel {
    padding: 22px 18px;
  }
  .form-section-title {
    align-items: flex-start;
    gap: 10px;
  }
  .form-section-title h2 {
    font-size: 16px;
  }
  .form-grid {
    gap: 14px;
  }
  .form-grid.four {
    grid-template-columns: 1fr 1fr;
  }
  .parcel-input {
    gap: 9px;
  }
  .parcel-input .field > span {
    font-size: 10px;
  }
  .parcel-input input {
    font-size: 12px;
    padding: 10px;
  }
  .form-footer {
    align-items: flex-start;
    gap: 20px;
  }
  .form-footer > span {
    max-width: 130px;
    line-height: 1.8;
  }
  .form-footer > .button {
    font-size: 12px;
  }
  .detail-aside {
    display: block;
  }
  .detail-aside > .panel {
    margin-bottom: 22px;
  }
  .parcel-detail {
    padding: 20px 18px;
  }
  .parcel-detail-head {
    gap: 10px;
    flex-wrap: wrap;
  }
  .parcel-detail-head > .badge {
    margin-left: 50px;
  }
  .parcel-actions > div {
    gap: 7px;
  }
  .parcel-actions {
    gap: 14px;
  }
  .next-banner {
    padding: 20px 18px;
    gap: 12px;
  }
  .next-banner p {
    font-size: 11px;
  }
  .next-banner strong {
    font-size: 14px;
  }
  .banner-actions .button {
    font-size: 11px;
    padding: 8px 11px;
    min-height: 37px;
  }
  .panel-foot {
    padding: 13px 18px;
    font-size: 10px;
  }
  .timeline {
    padding: 0 18px 10px;
  }
  .message-form {
    padding: 18px;
  }
  .box-row {
    padding: 18px;
    gap: 12px;
  }
  .address-panel,
  .quote-panel {
    padding: 22px;
  }
  .overlay {
    padding: 12px;
  }
  .modal {
    max-height: 94vh;
  }
  .modal-head {
    padding: 17px 20px;
  }
  .modal-form {
    padding: 20px;
    gap: 17px;
  }
  .modal-head h2 {
    font-size: 17px;
  }
  .people-row,
  .partner-row,
  .route-row {
    padding: 20px 18px;
    gap: 13px;
    flex-wrap: wrap;
  }
  .partner-row > .badge,
  .route-row > .badge {
    margin-left: 33px;
  }
  .people-row .text-button {
    font-size: 11px;
  }
  .people-row > span:not(.avatar) {
    font-size: 10px;
  }
  .settings-form {
    padding: 22px 18px;
  }
  footer {
    padding: 20px;
    font-size: 9px;
  }
  footer > span {
    display: none;
  }
  .login-page {
    display: flex;
    flex-direction: column;
  }
  .login-story {
    min-height: 0;
    padding: 24px;
    background: #eaf0f0;
  }
  .login-copy {
    padding: 32px 0 10px;
  }
  .login-copy > p:first-child {
    display: none;
  }
  .login-copy h1 {
    font-size: 33px;
    line-height: 1.15;
  }
  .journey-art,
  .story-bottom,
  .login-copy .story-caption {
    display: none;
  }
  .login-form-area {
    padding: 64px 28px 80px;
  }
  .login-form {
    max-width: 400px;
  }
  .login-language {
    top: 20px;
    right: 28px;
  }
  .mini-symbol {
    display: none;
  }
  .login-form h2 {
    font-size: 26px;
  }
  .login-form > p {
    margin: 10px 0 26px;
  }
  .login-bottom {
    bottom: 24px;
  }
  .login-help {
    margin-top: 24px;
    padding-top: 20px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition:
      background-color 0.15s ease,
      border-color 0.15s ease;
  }
  .modal {
    animation: appear 0.15s ease;
  }
  @keyframes appear {
    from {
      opacity: 0;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.modal::backdrop {
  background: #20343e66;
  backdrop-filter: blur(3px);
}
dialog.modal {
  padding: 0;
  color: inherit;
}
.mobile-signout {
  display: none;
}
@media (max-width: 1000px) {
  .receiving-card {
    display: block;
  }
}
@media (max-width: 760px) {
  .mobile-signout {
    display: inline-flex;
    margin-left: 10px;
  }
  .sidebar nav {
    scrollbar-width: none;
  }
  .sidebar nav::-webkit-scrollbar {
    display: none;
  }
}
/* Taste redesign: task-led workspaces, one blue accent, tabular shipment and fee data. */
:root{font-variant-numeric:tabular-nums;background:#f5f7fb;color:#253449}
h1{font-size:30px;letter-spacing:-.6px;font-weight:650;color:#172a43}
h2,h3{color:#172a43}p{max-width:72ch;color:#64748b}
.app{min-height:100dvh}.sidebar{background:#fff;padding:30px 18px 20px}.sidebar nav{gap:5px}.sidebar nav a{color:#53657a;border-radius:8px;min-height:46px}.sidebar nav a.active{background:#eaf1fb;color:#174a82;box-shadow:inset 3px 0 #245c94}.sidebar-note{display:none}.profile{margin-top:auto}.workspace-label{letter-spacing:0;text-transform:none;font-size:12px;margin-top:42px}.avatar{border-radius:10px;background:#eaf0f8;color:#295685}.topbar{background:#fff;height:64px;color:#687b91;font-size:12px}.page-heading{margin-bottom:30px;align-items:flex-start}.page-heading p{font-size:13px;margin-top:10px}.button{background:#214f80;border-radius:8px;min-height:42px;white-space:nowrap}.button:hover{background:#173d67}.button.secondary{background:#fff;color:#294c73;border-color:#d8e1ed}.button:active{transform:translateY(1px)}.panel{box-shadow:none;border-color:#e3e8ef;border-radius:12px}.section-title{padding:22px 24px}.text-button{min-height:36px}.settings-tabs{display:flex;gap:30px;border-bottom:1px solid var(--line);margin-bottom:26px;overflow-x:auto}.settings-tabs button{padding:10px 0 16px;white-space:nowrap;font-size:14px;color:#69798d;border-bottom:2px solid transparent}.settings-tabs button[aria-current]{color:#174a82;border-color:#245c94;font-weight:600}.settings-section{padding:26px}.settings-section>p{margin:12px 0 22px}.people-row{padding:22px 24px;font-size:13px;gap:20px}.people-row>div:last-child{gap:12px;flex-wrap:wrap}.people-row .danger{color:#aa4651}.modal{width:680px;border-radius:16px;max-height:92dvh}.modal-form{padding:26px 30px;gap:22px}.modal-form fieldset.panel{padding:22px;margin:0;overflow:visible;background:#fafbfd;border:1px solid #e1e7f0;border-radius:10px;min-width:0}.modal-form legend{padding:0 8px;font-weight:600;color:#254d77}.modal-form .form-grid{gap:18px}.modal-form fieldset>.field{margin-bottom:18px}input,select,textarea{border-radius:7px;border-color:#d6dfeb;min-height:44px}input:focus,select:focus,textarea:focus{border-color:#4d78a6;box-shadow:0 0 0 3px #eaf1fa}.earnings-filters{margin-bottom:26px}.earnings-filters .form-grid{max-width:540px}.earnings-summary{padding:28px 30px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:26px}.earnings-summary>.form-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:16px}.earnings-summary h2{font-size:28px;font-weight:650}.earnings-summary>h2{font-size:12px;font-weight:600;color:#697c92}.earnings-summary p{font-size:13px}.empty-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.empty-summary span,.empty-summary strong{display:block}.empty-summary span{font-size:13px;color:#697c92}.empty-summary strong{font-size:32px;margin-top:12px;color:#234c79}.earnings-ledger>h2{padding:26px 26px 0}.earnings-ledger>p{padding:0 26px;margin:10px 0 26px;font-size:12px}.earnings-columns,.earnings-row{display:grid;grid-template-columns:minmax(240px,2fr) minmax(180px,1.2fr) 100px 128px;gap:20px;padding:20px 26px;align-items:center}.earnings-columns{background:#f7f9fc;color:#748297;font-size:12px;padding-top:13px;padding-bottom:13px}.earnings-row{border-top:1px solid var(--line);font-size:13px}.earnings-row a{font-weight:600;color:#205c96}.earnings-row small{display:block;margin-top:5px;font-size:11px}.earnings-row strong{font-size:18px}.earnings-row .badge{justify-self:start}.first-password{min-height:100dvh;display:grid;place-items:center;padding:24px}.first-password form{width:min(100%,460px);padding:34px}.first-password h1{font-size:26px}.first-password p{font-size:13px}
@media(max-width:900px){.earnings-columns{display:none}.earnings-row{grid-template-columns:minmax(0,1fr) auto}.earnings-row>div:nth-child(2){text-align:right}.settings-tabs{gap:22px}}
@media(max-width:640px){.page-heading{gap:14px}h1{font-size:25px}.page-heading .button{font-size:12px}.settings-tabs{margin-bottom:20px}.settings-tabs button{font-size:13px}.settings-section{padding:20px}.people-row{padding:18px;gap:12px}.modal-form{padding:22px 20px}.modal-form fieldset.panel{padding:16px}.earnings-summary{padding:22px 18px}.earnings-summary h2{font-size:23px}.earnings-summary>.form-grid{gap:12px}.earnings-row{padding:20px 18px;gap:12px}.earnings-ledger>h2{padding-left:18px}.earnings-ledger>p{padding-left:18px}.empty-summary{gap:16px}.topbar{height:56px}.first-password form{padding:26px}}
@media(prefers-reduced-motion:reduce){.button:active{transform:none}}
/* Phileas: brand-led service storefront. Red acts, yellow guides, charcoal grounds. */
:root{--ink:#2c343c;--muted:#6e747b;--line:#e5e6e8;--soft:#f4f4f4;background:#f7f7f7;color:#2c343c}
.brand-logo{display:block;width:44px;height:44px;object-fit:contain;flex-shrink:0;background:white;border-radius:50%}.brand{gap:12px}.brand small{font-size:10px;letter-spacing:0}.button,.shop-cta{background:#c92540;color:white}.button:hover,.shop-cta:hover{background:#ad2037}.button.secondary{background:#fff;color:#2c343c;border-color:#d9dcdf}.sidebar nav a.active{background:#fff0f2;color:#a71f34;box-shadow:inset 3px 0 #d92946}.sidebar nav a{color:#565e67}.settings-tabs button[aria-current]{color:#b9223b;border-color:#d92946}.avatar{color:#444b51;background:#f0f0f0}h1,h2,h3{color:#2c343c}.text-button,.earnings-row a{color:#a91e36}input:focus,select:focus,textarea:focus{border-color:#b84f60;box-shadow:0 0 0 3px #fff0f3}.first-password{background:#f5f5f3}.first-password .brand-logo{width:56px;height:56px}.earnings-summary h2,.empty-summary strong{color:#2c343c}.modal-form legend{color:#343b43}.modal-form fieldset.panel{background:#fafafa;border-color:#e2e3e5}.shop{background:#fff;min-height:100dvh;color:#2c343c}.shop-header{height:100px;max-width:1400px;margin:auto;padding:0 54px;display:flex;align-items:center;justify-content:space-between;gap:28px;border-bottom:1px solid #eeeff0}.shop-brand{display:flex;align-items:center;gap:13px}.shop-brand>span{font-size:26px;font-weight:700;letter-spacing:-1px}.shop-brand small{display:block;font-size:10px;font-weight:400;letter-spacing:.2px;color:#757b80;margin-top:1px}.shop-header nav{display:flex;gap:32px;font-size:13px;font-weight:500}.shop-header nav a:hover{color:#bf233b}.shop-header-actions{display:flex;gap:18px;align-items:center}.shop-cta{display:inline-flex;align-items:center;justify-content:center;gap:18px;border-radius:7px;padding:14px 24px;font-size:13px;font-weight:600;white-space:nowrap;transition:background .15s}.shop-header .shop-cta{padding:12px 18px}.shop .language{border:none;background:transparent;color:#545d66;padding:6px}.shop-main{max-width:1400px;padding:0 54px;margin:auto;min-height:0}.shop-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:70px;align-items:center;padding:80px 0 72px}.route-caption{display:inline-block;font-size:12px;color:#777d83;border-left:3px solid #eedb53;padding-left:12px;margin-bottom:24px}.hero-copy h1{font-size:clamp(32px,3.7vw,54px);font-weight:650;letter-spacing:-1.8px;line-height:1.24;white-space:pre-line;max-width:14em}.hero-copy>p{font-size:15px;line-height:1.9;margin:25px 0 30px;max-width:34em;color:#71777e}.hero-actions{display:flex;align-items:center;gap:25px}.shop-text-link{display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:600;color:#343c44}.shop-text-link:hover{color:#bf233b}.service-promises{display:flex;gap:20px;margin-top:36px;font-size:11px;color:#747a81;flex-wrap:wrap}.service-promises span{display:flex;gap:7px;align-items:center}.service-promises svg{color:#454e56}.hero-parcel{position:relative;padding:38px 24px 12px;background:#f5f3ed;border-radius:24px;min-height:360px}.shipping-ticket{background:white;border-radius:12px;padding:27px;box-shadow:0 15px 36px #2c343c0c;transform:rotate(-3deg);border-top:6px solid #e82c48}.ticket-top{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:11px;color:#69717a}.ticket-top .brand-logo{width:42px;height:42px}.ticket-route{display:flex;align-items:center;justify-content:space-between;padding:28px 0 22px}.ticket-route small{font-size:10px}.ticket-route strong{display:block;font-size:25px;font-weight:600;letter-spacing:-.5px;margin-top:5px}.route-dash{border-bottom:1px dashed #b7b9bc;flex:1;margin:0 20px;text-align:center;color:#c52a40}.ticket-packages{display:flex;justify-content:space-between;align-items:center;border-top:1px dashed #d8dadc;border-bottom:1px dashed #d8dadc;padding:25px 0;color:#737b84}.ticket-packages>span{background:#f4f5f5;border-radius:8px;width:50px;height:50px;display:grid;place-items:center}.ticket-packages i{font-style:normal;font-size:13px;color:#abb0b4}.ticket-packages b{background:#f3e55b;padding:12px;border-radius:8px;color:#3e4347}.ticket-bottom{display:flex;justify-content:space-between;font-size:10px;color:#777f86;padding-top:20px}.parcel-note{display:flex;align-items:center;justify-content:center;gap:9px;font-size:11px;margin:32px 0 4px;color:#6a6d6c}.note-dot{width:7px;height:7px;background:#d52641;border-radius:50%}.shop-how{display:grid;grid-template-columns:1fr 1.4fr;gap:100px;padding:64px 0 76px;border-top:1px solid #eaebec}.section-caption{font-size:12px;color:#8a7376;display:block;margin-bottom:16px}.shop-how h2,.shop-pricing h2{font-size:32px;letter-spacing:-1px;line-height:1.4;white-space:pre-line;font-weight:600}.shop-how>div>p{font-size:13px;line-height:1.8;margin-top:18px}.shop-how ol{list-style:none;margin:0;padding:0}.shop-how li{display:flex;gap:22px;padding:0 0 26px;margin-bottom:24px;border-bottom:1px solid #ededef}.shop-how li:last-child{border-bottom:none;padding-bottom:0;margin-bottom:0}.shop-how li>span{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:#f8f1bd;color:#665a27;font-size:12px;flex-shrink:0}.shop-how h3{font-size:16px;font-weight:600;margin:3px 0 10px}.shop-how li p{font-size:13px;line-height:1.8;margin:0;max-width:38em}.shop-pricing{display:grid;grid-template-columns:1.2fr 1fr;gap:100px;padding:54px;background:#f6f6f6;border-radius:16px;margin-bottom:70px}.shop-pricing p{font-size:13px;line-height:1.9;margin:18px 0 22px}.price-explanation{padding-left:36px;border-left:1px solid #dddfe1}.price-explanation>div>span{font-size:11px;color:#777e85}.price-explanation strong{display:block;font-size:24px;font-weight:600;margin:10px 0 30px}.price-explanation p{display:flex;align-items:center;gap:16px;color:#424b53}.shop-footer{max-width:1292px;margin:auto;padding:30px 0 40px;border-top:1px solid #e5e6e8;display:flex;align-items:center;justify-content:space-between;gap:24px;color:#747a81;font-size:12px}.shop-footer>div{display:flex;align-items:center;gap:14px}.shop-footer strong{font-weight:500;color:#5a626b}.shop-footer .brand-logo{width:34px;height:34px}.shop-content{max-width:1260px;padding:48px 40px 70px;min-height:65dvh}.customer-service{background:#fcfcfc}.customer-service .shop-header{background:white}.customer-service .page-heading h1{font-size:28px}.customer-service .summary-strip{display:none}.customer-updates{margin:0 0 68px;border:1px solid #e5e6e8;border-radius:12px;overflow:hidden}.customer-updates .section-title{padding:26px 30px}.customer-updates .section-caption{margin-bottom:6px}.customer-updates h2{font-size:20px}.customer-action-list button{display:flex;gap:16px;align-items:center;width:100%;text-align:left;padding:24px 30px;border-top:1px solid #ededed}.customer-action-list button:hover{background:#fffdf3}.customer-action-list button>div{flex:1}.customer-action-list button>span:last-child{display:flex;gap:9px;font-size:12px;color:#b8233b}.action-dot{width:8px;height:8px;background:#dfc533;border-radius:50%;flex-shrink:0}.customer-action-list strong{font-size:14px}.customer-action-list p{font-size:12px;margin:7px 0 0}.customer-clear{padding:26px 30px;background:#fafafa;display:flex;align-items:center;gap:22px}.customer-clear p{flex:1;font-size:13px;line-height:1.8;margin:0}.customer-clear svg{color:#9c922e}.shop-skeleton{height:90px;background:#f6f6f6;margin:0 30px 25px;border-radius:6px}.login-story{background:#2c343c}.login-copy h1{color:white}.login-story .brand{color:white}.login-story .brand-logo{background:white}.login-story .journey-art{background:transparent}.login-page .login-form .mini-symbol{background:#fff0f2;color:#b9233b}.login-page .login-copy>p{color:#e9e2bd}.login-page .story-caption{color:#ced1d4}.shop a:focus-visible,.shop button:focus-visible{outline:3px solid #c9324a;outline-offset:4px}
@media(max-width:1100px){.shop-header{padding:0 30px;gap:20px}.shop-header nav{gap:20px}.shop-main{padding:0 36px}.shop-hero{gap:35px}.hero-copy h1{font-size:38px}.shop-how,.shop-pricing{gap:46px}.shop-footer{margin:0 36px}.service-promises{gap:12px}.hero-parcel{padding:30px 16px 12px}}
@media(max-width:760px){.shop-header{height:auto;min-height:82px;padding:16px 22px;flex-wrap:wrap;gap:14px}.shop-brand>span{font-size:23px}.shop-header .brand-logo{width:38px;height:38px}.shop-header nav{order:3;width:100%;border-top:1px solid #eee;padding-top:14px;gap:28px;font-size:12px}.shop-header-actions{gap:8px;margin-left:auto}.shop-header-actions>.text-button{display:none}.shop-header .shop-cta{padding:9px 12px;font-size:11px;gap:6px}.shop-main{padding:0 24px}.shop-hero{grid-template-columns:1fr;padding:38px 0 44px;gap:30px}.hero-copy h1{font-size:36px;letter-spacing:-1px;line-height:1.3}.route-caption{margin-bottom:18px;font-size:11px}.hero-copy>p{font-size:14px;margin:20px 0 24px}.hero-actions{gap:20px}.hero-actions .shop-cta{padding:14px 18px}.service-promises{margin-top:26px;font-size:10px;gap:14px}.hero-parcel{min-height:0;padding:26px 24px 10px}.shipping-ticket{padding:22px}.ticket-route strong{font-size:23px}.ticket-packages{padding:19px 0}.shop-how{grid-template-columns:1fr;padding:36px 0 42px;gap:30px}.shop-how h2,.shop-pricing h2{font-size:28px}.shop-how li{gap:16px}.shop-pricing{grid-template-columns:1fr;padding:27px 24px;gap:30px;margin-bottom:40px}.price-explanation{border-left:0;border-top:1px solid #dddfe1;padding:25px 0 0}.price-explanation strong{margin-bottom:20px}.shop-footer{margin:0 24px;padding:24px 0;flex-wrap:wrap;font-size:11px}.shop-footer>div{width:100%}.shop-content{padding:28px 20px 40px}.customer-updates{margin-bottom:38px}.customer-updates .section-title{padding:22px;align-items:flex-start}.customer-updates h2{font-size:18px}.customer-updates .section-title>a{font-size:11px;white-space:nowrap}.customer-clear{padding:22px;gap:12px;flex-wrap:wrap}.customer-clear p{min-width:75%}.customer-clear>a{margin-left:36px}.customer-action-list button{padding:22px 18px;gap:12px}.customer-action-list button>span:last-child{font-size:11px}.shop .shop-brand small{font-size:9px}.shop-header .language{font-size:11px;padding:4px}.customer-service .page-heading{flex-wrap:wrap}.ticket-packages>span{width:42px;height:42px}.ticket-packages b{padding:8px}}
.login-story .brand small{color:#c9cdd0}.login-story .journey-art span{color:#c9cdd0}.login-story .journey-art svg{color:#404950}.login-story .story-caption{color:#c9cdd0}
/* Compact operational layouts: keep related evidence together without shrinking touch targets. */
.page-heading{margin-bottom:20px}.page-heading p{margin-top:6px}
.shop-content{padding-top:30px}.detail-grid{gap:18px;align-items:start}
.section-title{padding:16px 20px}.parcel-detail{padding:16px 20px}
.parcel-evidence{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px;margin:14px 0;align-items:start}
.parcel-evidence>div{min-width:0}.parcel-evidence h3{font-size:12px;font-weight:600;margin:0 0 8px;color:#667078}
.parcel-evidence .product-declaration{margin:0;padding:0;background:none}
.parcel-evidence .product-list{margin:0}.product-row{gap:10px;padding:5px 0}.product-row p{margin:5px 0 0}
.product-row img,.product-placeholder{width:64px;height:64px;flex-shrink:0}.product-row>a{flex-shrink:0}
.parcel-evidence .photo-grid{margin:0;gap:6px}.photo-grid img{width:64px;height:64px;object-fit:contain;background:#fafafa}
.inspection-evidence{border-left:1px solid var(--line);padding-left:16px}.inspection-evidence .muted{font-size:12px;margin:0}
.parcel-actions{margin-top:10px}.inspection-note{margin:10px 0;padding:10px 12px}.panel-foot{padding:12px 20px}
.form-panel{padding:20px 22px}.form-section-title{margin-bottom:16px}.form-panel>.field{margin:14px 0}
.modal-form{padding:20px 24px;gap:16px}.modal-form .form-grid,.form-grid{gap:14px}.modal-form fieldset.panel{padding:16px}
.box-form{padding:12px;gap:10px}.product-declaration{margin:14px 0;padding:14px}.form-footer{gap:12px;flex-wrap:wrap}
.receiving-match{max-width:1000px}.receiving-evidence{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,1.4fr);gap:24px;align-items:start;margin-top:14px}
.receiving-evidence>.product-list{margin:0}.receiving-inspection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0 0 0 20px;border-top:0;border-left:1px solid var(--line)}
.receiving-inspection>h3,.receiving-inspection>.error,.receiving-inspection>.notice,.receiving-inspection>.button,.receiving-inspection>.field:has(textarea),.receiving-inspection>.field:has(input[type=file]){grid-column:1/-1}
.receiving-inspection>h3{margin:0;font-size:14px}.receiving-inspection>.button{justify-self:start}.receiving-inspection textarea{min-height:72px}.receiving-match>.text-button{margin-top:12px}
.timeline{padding-top:16px;padding-bottom:16px}.timeline>div{padding-bottom:16px}.people-row{padding:16px 20px}.earnings-row,.earnings-columns{padding-top:14px;padding-bottom:14px}
@media(max-width:760px){.shop-content{padding-top:22px}.form-panel,.parcel-detail{padding:16px}.section-title{padding:14px 16px}.detail-grid{gap:14px}.parcel-evidence{gap:12px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.inspection-evidence{padding-left:12px}.product-row{align-items:flex-start;flex-wrap:wrap}.product-row img,.product-placeholder,.photo-grid img{width:56px;height:56px}.receiving-evidence{grid-template-columns:1fr;gap:14px}.receiving-inspection{border-left:0;border-top:1px solid var(--line);padding:14px 0 0}.modal-form{padding:18px;gap:14px}.modal-form .form-grid{gap:12px}.page-heading{margin-bottom:16px}}

/* Mobile warehouse work: direct task tabs, with secondary pages in a menu. */
.mobile-work-header,.mobile-work-nav{display:none}
@media(max-width:760px){
 .app-internal .mobile-work-header{display:flex;position:sticky;top:0;z-index:30;align-items:center;justify-content:space-between;height:52px;padding:0 14px;background:#fff;border-bottom:1px solid var(--line)}
 .mobile-work-header .brand{font-size:18px;gap:8px}.mobile-work-header .brand-logo{width:30px;height:30px}.mobile-menu-button{display:flex;align-items:center;gap:6px;min-height:44px;padding:6px 10px;background:transparent;border:0;color:#353d45;font-size:14px}
 .app-internal>.sidebar{display:none}.app-internal>.sidebar.mobile-menu-open{display:block;position:fixed;top:52px;bottom:calc(68px + env(safe-area-inset-bottom));left:0;width:100%;height:auto;z-index:25;overflow-y:auto;padding:12px;background:#fff}
 .app-internal .sidebar .brand{display:none}.app-internal .sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:8px;margin:0;padding:0}.app-internal .sidebar nav a{min-height:48px;white-space:normal;font-size:14px;padding:10px;border:1px solid var(--line)}
 .app-internal .sidebar .profile{display:flex;margin-top:16px;padding-top:12px}.app-internal .topbar{display:none}
 .app-internal .mobile-work-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;padding:4px 8px calc(4px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);min-height:64px;box-sizing:border-box}
 .mobile-work-nav>a,.mobile-work-nav>button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:52px;border:0;border-radius:8px;background:transparent;color:#58616a;font-size:12px;font-weight:600;text-decoration:none}.mobile-work-nav>a.active{color:#b71d37;background:#fff0f3}
 .app-internal main{padding:14px 12px calc(90px + env(safe-area-inset-bottom));min-height:calc(100dvh - 52px)}.app-internal>.main{margin:0;min-width:0}.app-internal footer{display:none}.app-internal button,.app-internal a{touch-action:manipulation}
 .mobile-work-nav>a:focus-visible,.mobile-work-nav>button:focus-visible,.mobile-menu-button:focus-visible{outline:2px solid #b71d37;outline-offset:-2px}
}

/* Internal supply workspace: dense rows, clear handoffs, existing Phileas palette. */
.sc-workspace{max-width:1440px;margin:0 auto;color:#2c343c;font-size:13px;font-variant-numeric:tabular-nums}.sc-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px}.sc-eyebrow{font-size:11px;color:#70777d;letter-spacing:.04em;border-left:3px solid #ebd746;padding-left:8px}.sc-heading h1{font-size:29px;letter-spacing:-.9px;font-weight:650;margin:9px 0 4px;line-height:1.25}.sc-heading p{font-size:12px;max-width:60em;margin:9px 0 0}.sc-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:10px}.sc-workspace .button{min-height:36px;padding:8px 14px;font-size:12px}.sc-workspace .button.secondary{border-color:#d9dcdf}.sc-workspace .button:not(.secondary){border-color:#c92540}.sc-workspace .text-button{font-size:12px;min-height:30px}.sc-surface{background:#fff;border:1px solid #e1e3e5;border-radius:9px;overflow:hidden;margin:16px 0}.sc-form{padding:20px}.sc-form h2{font-size:17px;letter-spacing:-.35px;margin:0 0 12px}.sc-form h3{font-size:13px;margin:22px 0 12px}.sc-form>p{font-size:12px;line-height:1.7;max-width:70em;margin:6px 0 16px}.sc-workspace input,.sc-workspace select,.sc-workspace textarea{min-height:36px;padding:8px 10px;font-size:12px;border-radius:5px;color:#2c343c}.sc-workspace .field{gap:5px}.sc-workspace .field>span{font-size:11px;font-weight:550;color:#626a70}.sc-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.sc-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.sc-section-heading h2{margin:0}.sc-section-heading small{display:block;font-size:11px;margin-top:4px}.sc-filter{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid #e7e8e9}.sc-filter>input{max-width:360px;flex:1}.sc-filter>select{width:auto;min-width:110px}.sc-filter>.text-button{margin-left:auto}.sc-table-scroll{overflow-x:auto}.sc-table{border-collapse:collapse;width:100%;text-align:left}.sc-table th{font-size:11px;font-weight:550;color:#70777d;padding:11px 16px;background:#f7f7f6;border-bottom:1px solid #e6e7e8;white-space:nowrap}.sc-table td{padding:12px 16px;vertical-align:middle;border-bottom:1px solid #ebebea;font-size:12px;overflow-wrap:anywhere}.sc-table tr:last-child td{border-bottom:0}.sc-table tbody tr:hover{background:#fffdf6}.sc-table td>small{display:block;color:#84898e;margin-top:4px;font-size:10px}.sc-table td>input{max-width:88px}.sc-link{font-weight:600;color:#a51e35;font-size:12px;padding:0;text-align:left;line-height:1.5}.sc-link:hover{text-decoration:underline}.sc-workspace :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid #c52c43;outline-offset:3px}.sc-metrics{display:flex;gap:0;border-bottom:1px solid #dfe1e2;padding:7px 0 20px;margin-bottom:18px}.sc-metrics>div{flex:1;padding:0 25px;border-right:1px solid #e0e2e3}.sc-metrics>div:first-child{padding-left:0}.sc-metrics>div:last-child{border:0}.sc-metrics span{display:block;font-size:11px;color:#767d82}.sc-metrics strong{display:block;font-size:30px;font-weight:600;letter-spacing:-1px;margin-top:4px;line-height:1.3}.sc-status{display:inline-block;font-size:10px;font-weight:550;padding:4px 7px;white-space:nowrap;border-radius:4px;background:#f0f1f2;color:#616970}.sc-status-pending,.sc-status-blocked,.sc-status-conflict{background:#faf1ce;color:#7b6825}.sc-status-ready,.sc-status-completed,.sc-status-complete{background:#edf3ec;color:#44623d}.sc-status-cancelled{background:#f5e7e9;color:#ad3d4c}.sc-status-unconfigured,.sc-status-unavailable{background:#f5e7e9;color:#9e4450}.sc-detail-meta{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:18px;color:#737b82;font-size:12px}.sc-empty{padding:34px 20px;text-align:center;color:#848b90;font-size:12px;line-height:1.8}.sc-empty .text-button{display:block;margin:8px auto 0}.sc-muted{color:#868b90;font-size:11px}.sc-error,.sc-warning,.sc-success{padding:12px 14px;border-radius:6px;margin:12px 0;font-size:12px;line-height:1.7}.sc-error{background:#fff1f1;border-left:3px solid #c72c41;color:#9f2436}.sc-warning{background:#fff9e3;border-left:3px solid #e3c74a;color:#796b37}.sc-warning .text-button{margin-left:15px}.sc-success{background:#edf4ec;color:#42683b}.sc-loading{padding:20px;color:#777;animation:sc-loading 1.4s ease-in-out infinite}.sc-check{display:flex;align-items:center;gap:8px;font-size:12px;margin:14px 0;line-height:1.4}.sc-workspace input[type=checkbox]{min-height:0;width:16px;height:16px;margin:0;accent-color:#c92540;padding:0}.sc-checkboxes{display:flex;flex-wrap:wrap;gap:20px}.sc-line-editor{padding:14px;border:1px solid #e6e7e8;background:#fcfcfb;border-radius:6px;margin:12px 0}.sc-line-editor .sc-form-grid{margin:0}.sc-line-editor>.text-button{margin-top:10px}.sc-list>button{display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:left;width:100%;padding:15px 18px;border-bottom:1px solid #ededec}.sc-list>button:last-child{border:0}.sc-list>button:hover{background:#fffdf6}.sc-list strong{font-size:12px}.sc-list small{display:block;font-size:11px;margin:5px 0}.sc-list>button>span:last-child{font-size:11px;color:#a92037;white-space:nowrap}.sc-address{overflow-wrap:anywhere}.sc-product{border-bottom:1px solid #e6e7e8}.sc-product:last-child{border:0}.sc-product summary{list-style:none;display:flex;gap:12px;align-items:center;padding:15px 16px;cursor:pointer}.sc-product summary::-webkit-details-marker{display:none}.sc-product summary>span:nth-child(2){flex:1}.sc-product summary strong{font-size:13px}.sc-product summary small{display:block;font-size:10px;margin:4px 0 0}.sc-product summary>img,.sc-thumb{width:42px;height:42px;border-radius:5px;border:1px solid #ebebeb;object-fit:contain;background:#fafafa;flex-shrink:0}.sc-thumb{display:grid;place-items:center;color:#aaa;font-size:10px}.sc-product[open] summary{background:#fafaf9}.sc-batch-line{padding:16px 0;border-top:1px solid #e6e7e8}.sc-batch-line .sc-section-heading{margin-bottom:8px}.sc-batch-line>.sc-link{font-size:11px}.sc-purchase-count{font-size:12px;color:#535b62;text-align:right;white-space:nowrap}.sc-purchase-count strong{font-size:17px;font-weight:600;color:#2c343c;margin:0 4px}.sc-purchase-count small{display:block;font-size:10px;color:#858b91}.sc-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.sc-two-columns>.sc-surface{margin:0}.sc-two-columns .sc-form-grid{grid-template-columns:1fr 1fr}.sc-two-columns .field:has(textarea){margin-top:20px}.sc-two-columns form>.text-button{margin-top:10px}.sc-history{margin-top:20px;border-top:1px solid #e5e6e7;padding-top:14px;font-size:11px;color:#747a80}.sc-history summary{cursor:pointer;color:#61686e}.sc-history>div{display:flex;align-items:flex-start;gap:16px;padding:10px 0;border-bottom:1px solid #ededed}.sc-history time{flex-shrink:0;color:#91979b}.sc-reason{max-width:36em;line-height:1.7}.sc-form summary{cursor:pointer;color:#757b80;font-size:12px}.sc-form>button[type=submit],.sc-form>.button{margin-top:14px}@keyframes sc-loading{50%{opacity:.45}}@media(prefers-reduced-motion:reduce){.sc-loading{animation:none}}@media(max-width:1000px){.sc-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sc-two-columns{grid-template-columns:1fr}}@media(max-width:640px){.sc-heading{flex-direction:column;gap:7px;margin-bottom:18px}.sc-heading h1{font-size:25px}.sc-actions{padding:0}.sc-form{padding:16px}.sc-form-grid{grid-template-columns:1fr}.sc-metrics{flex-wrap:wrap;row-gap:18px}.sc-metrics>div{flex-basis:50%;padding-left:18px}.sc-metrics>div:nth-child(3){padding-left:0}.sc-metrics>div:nth-child(2){border:0}.sc-metrics strong{font-size:27px}.sc-filter{flex-wrap:wrap;padding:12px}.sc-filter>input{flex-basis:100%;max-width:none}.sc-filter>select{flex:1}.sc-table th,.sc-table td{padding:10px 12px}.sc-detail-meta{gap:12px}.sc-two-columns .sc-form-grid{grid-template-columns:1fr}.sc-product summary>.sc-muted{display:none}.sc-history>div{flex-direction:column;gap:3px}.sc-batch-line .sc-section-heading{align-items:flex-start}}
.sc-fieldset{margin:0;padding:0;border:0;min-width:0}.sc-feedback-list p{font-size:12px;padding:10px 0;border-bottom:1px solid #ededed}.sc-feedback-list small{display:block;margin-bottom:5px}.sc-json{max-height:240px;overflow:auto;font-size:11px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;color:#6b643e}.sc-warning h3{margin:0;font-size:13px}.sc-warning .sc-form-grid{grid-template-columns:1.4fr 1fr}.sc-warning p{font-size:12px;color:inherit}
.sc-address-edit{margin-top:16px;padding-top:12px;border-top:1px solid #e8e9ea}.sc-address-edit summary{font-size:12px;color:#a92036;cursor:pointer}.sc-line-editor>p{font-size:12px;color:#8e702b;margin:7px 0 0}
.sc-pagination{display:flex;gap:20px;align-items:center;justify-content:flex-end;padding:12px 16px;border-top:1px solid #e7e8e9;color:#7e858b;font-size:11px}
.sc-status-verified,.sc-status-available{background:#edf3ec;color:#44623d}.sc-status-paused{background:#f2eeee;color:#8d7c7f}
.sc-purchase-history{margin-top:12px;background:#fafaf9}.sc-purchase-history th{font-size:10px;background:#f3f3f1}.sc-purchase-history td{font-size:11px;padding-top:9px;padding-bottom:9px}.sc-feedback-entry{border-bottom:1px solid #e8e9e9;padding:12px 0}.sc-feedback-entry:last-child{border:0}.sc-feedback-entry>small{display:block;font-size:10px}.sc-feedback-entry>p{border:0;padding:0;margin:8px 0;font-size:12px}.sc-feedback-entry form{display:flex;align-items:flex-end;gap:12px;max-width:620px}.sc-feedback-entry form>.field{flex:1}

.sc-product-identity{display:flex;align-items:center;gap:10px;min-width:0}.sc-product-identity>img{width:36px;height:36px;object-fit:contain;border:1px solid #ececea;border-radius:4px;background:#fafaf9;flex-shrink:0}.sc-product-identity>span{min-width:0}.sc-product-identity small{display:block;color:#858b90;font-size:10px;margin-top:4px}.sc-table-heading{padding:16px;margin:0;border-bottom:1px solid #e6e7e8}.sc-table-heading h2{font-size:16px;letter-spacing:-.3px;margin:0}.sc-table-heading small{color:#7d8489;font-size:11px;margin-top:6px}.sc-receipt-review{padding:18px;margin:16px;border:1px solid #e7dab6;border-radius:6px;background:#fffdf5;font-size:12px}.sc-receipt-review h3{margin:0;font-size:14px}.sc-receipt-review p{line-height:1.7;margin:8px 0}.sc-receipt-review details{margin-top:12px}.sc-receipt-review summary{cursor:pointer;font-size:11px;color:#72786e}.sc-receipt-tracking{font-size:11px;overflow-wrap:anywhere}.sc-receipt-tracking+.sc-receipt-tracking{margin-top:6px}.sc-receipt-tracking small{display:block;color:#858b90;font-size:10px;margin-top:3px}.sc-status-succeeded{background:#edf3ec;color:#44623d}.sc-status-unknown,.sc-status-retry{background:#faf1ce;color:#7b6825}.sc-status-sending{background:#eaf1f5;color:#456474}.sc-surface>.sc-error,.sc-surface>.sc-success{margin:12px 16px}@media(max-width:640px){.sc-table-heading{align-items:flex-start;flex-direction:column}.sc-receipt-review{padding:14px;margin:12px}}

.sc-receipt-actions{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.sc-receipt-actions>.text-button{white-space:nowrap}
.sc-order-table{min-width:65rem;font-variant-numeric:tabular-nums}
.sc-order-table th,.sc-order-table td{white-space:nowrap;padding:10px 12px;overflow-wrap:normal}
.sc-order-table .sc-link,.sc-order-table .text-button{white-space:nowrap}
.sc-order-table .sc-order-number{text-align:right}
.sc-order-table .sc-status{font-size:11px;font-weight:500}
.sc-completed-list,.sc-financial-list{container-type:inline-size;width:100%;min-width:0;overflow:visible}
.sc-order-table.sc-completed-orders,.sc-financial-table{width:100%;min-width:0;table-layout:fixed}
.sc-completed-orders th,.sc-completed-orders td,.sc-financial-table th,.sc-financial-table td{white-space:normal;overflow-wrap:anywhere;padding:10px 6px;vertical-align:top;line-height:1.5;font-size:11px}
.sc-completed-orders th:first-child{width:13%}.sc-completed-orders th:nth-child(2){width:7%}.sc-completed-orders th:nth-child(3){width:8%}.sc-completed-orders th:nth-last-child(-n+2){width:11%}
.sc-completed-orders .sc-link,.sc-completed-orders .text-button,.sc-completed-orders .button,.sc-completed-orders .sc-status,.sc-financial-table .sc-status{white-space:normal;overflow-wrap:anywhere}
.sc-completed-orders td>small{line-height:1.5}.sc-completed-orders td>small.sc-order-review{color:#a51e35}
.sc-completed-orders details small{display:block;white-space:normal;overflow-wrap:anywhere;margin-top:4px}.sc-completed-orders summary{cursor:pointer;white-space:normal}
.sc-completed-orders .sc-bank-receipt strong{flex-wrap:wrap}.sc-completed-orders .sc-bank-receipt input,.sc-completed-orders .sc-bank-receipt button{max-width:100%;box-sizing:border-box}
.sc-financial-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px 20px;flex-wrap:wrap;margin-bottom:10px}.sc-financial-heading h2{margin:0}.sc-financial-heading small{color:#737b82;line-height:1.5}
.sc-cost-amount{display:block}.sc-cost-conversion{color:#737b82}
@container(max-width:1200px){
 .sc-completed-orders{display:block}.sc-completed-orders>thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.sc-completed-orders>tbody{display:block}
 .sc-completed-orders>tbody>tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 14px;padding:14px;border-bottom:1px solid #e1e5e8}
 .sc-completed-orders>tbody>tr>td{display:block;min-width:0;border:0;padding:0;text-align:left;font-size:12px}
 .sc-completed-orders>tbody>tr>td::before{content:attr(data-label);display:block;color:#70777d;font-size:11px;margin-bottom:3px}
 .sc-completed-orders>tbody>tr>td:first-child{grid-column:1/-1}.sc-completed-orders>tbody>tr>td:first-child>small{display:inline-block;margin:3px 12px 0 0}.sc-completed-orders>tbody>tr>td:first-child::before{display:none}
 .sc-completed-orders>tbody>tr>td:first-child>.sc-link{font-size:14px;display:block}.sc-completed-orders>tbody>tr>td:first-child>.sc-order-review{display:block}
}
@container(max-width:650px){.sc-completed-orders>tbody>tr{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}}
@container(max-width:750px){
 .sc-financial-table{display:block}.sc-financial-table>thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.sc-financial-table>tbody{display:block}.sc-financial-table>tbody>tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .sc-financial-table>tbody>tr>td{display:block;min-width:0;border:0;padding:0;font-size:12px}.sc-financial-table>tbody>tr>td::before{content:attr(data-label);display:block;color:#70777d;font-size:11px;margin-bottom:3px}
}
.sc-bank-receipt{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.sc-bank-receipt strong{display:flex;align-items:center;gap:5px}.sc-bank-attention{color:#b31b33}.sc-bank-confirmed{color:#42683b}.sc-bank-alert{display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#b31b33;color:#fff;font-weight:700}.sc-bank-receipt details{max-width:24em;white-space:normal}.sc-bank-receipt details small{display:block;margin:4px 0;color:#737b82}.sc-bank-receipt form{margin-top:8px}.sc-bank-receipt label{display:flex;flex-direction:column;gap:4px}.sc-bank-receipt .sc-error{white-space:normal;margin:0}
.sc-readiness-table>tbody>tr.sc-expanded-product{background:#fffdf5}
.sc-readiness-table>tbody>tr>td.sc-inline-editor{padding:0;background:#fffdf5}
.sc-inline-editor>.sc-form{margin:0;border:0;border-left:3px solid #c92540;border-radius:0;padding:16px 20px;background:#fffdf8}
.sc-inline-editor .sc-section-heading h2,.sc-inline-editor .sc-section-heading h3{font-size:14px;margin:0}
.sc-readiness-table>tbody>tr>td:last-child>.text-button{white-space:nowrap}
.sc-mapping-help{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0;list-style:none;margin:8px 0 14px}
.sc-mapping-help li{min-width:0;line-height:1.6;font-size:11px;color:#747b80}
.sc-mapping-help strong{display:block;font-size:12px;font-weight:550;color:#3d464e;margin-bottom:3px}
.sc-mapping-help span{display:block}
.sc-mapping-form .sc-mapping-missing{color:#8b6b29;font-size:11px;margin:8px 0;max-width:none}
.sc-mapping-form .sc-mapping-ready{color:#42683b;font-size:11px;margin:8px 0}
@media(max-width:800px){.sc-mapping-help{grid-template-columns:1fr;gap:9px}.sc-inline-editor>.sc-form{padding:14px}}
.sc-demand-form>.sc-section-heading{align-items:center}
.sc-demand-form>.sc-section-heading h3{margin:10px 0;font-size:14px}
.sc-draft-products{min-width:640px}
.sc-draft-products th,.sc-draft-products td{padding:10px 12px}
.sc-draft-products th:first-child,.sc-draft-products td:first-child{width:60px}
.sc-draft-products td:first-child>img,.sc-draft-thumb{display:block;width:42px;height:42px;object-fit:contain;border:1px solid #e6e8e9;border-radius:5px;background:#fafaf9}
.sc-draft-thumb{text-align:center;line-height:42px;color:#9b9fa3}
.sc-draft-products td:nth-child(2){min-width:180px;max-width:360px}
.sc-draft-products td:nth-child(2)>input{max-width:none;width:100%}
.sc-draft-products td:nth-child(3){min-width:190px}
.sc-draft-products td:nth-child(3)>input,.sc-draft-products td:nth-child(3)>select{max-width:none;width:100%}
.sc-draft-products td:nth-child(4)>input{width:82px;max-width:82px;text-align:right}
.sc-draft-products td:nth-child(5){white-space:nowrap}
.sc-draft-products td:nth-child(5)>.text-button+.text-button{margin-left:9px}
.sc-draft-products td>.sc-draft-warning{color:#99752b}
.sc-draft-picker{padding:14px;background:#fafaf8;border:1px solid #e6e7e7;border-radius:6px;margin:12px 0}
.sc-draft-picker>.field{max-width:440px;margin-bottom:10px}
.sc-draft-picker .sc-table{background:#fff}
.sc-draft-picker .sc-table td{padding:8px 10px}
.sc-draft-picker .sc-pagination{padding:10px 0 0;border:0}

.sc-purchase-fields{grid-template-columns:minmax(110px,.6fr) minmax(0,1.4fr) minmax(100px,.7fr) minmax(0,1.3fr)}.sc-purchase-fields>.field{min-width:0}@media(max-width:760px){.sc-purchase-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.sc-purchase-fields{grid-template-columns:1fr}}

.sc-issue-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:12px 0}.sc-issue-product{min-width:0;padding:8px;border:1px solid #e7e9e8;border-radius:5px;background:#fff}.sc-issue-product .sc-product-identity{align-items:flex-start;min-width:0}.sc-issue-product .sc-product-identity img{width:64px;height:64px;object-fit:contain;flex:none}.sc-issue-product .sc-product-identity span{min-width:0;white-space:normal;overflow-wrap:anywhere}.sc-issue-product .sc-muted{margin:6px 0 0;font-size:12px}.sc-issue-decision-fields{display:grid;grid-template-columns:minmax(170px,.9fr) minmax(130px,.7fr) minmax(0,1.3fr);gap:12px}.sc-issue-decision-fields>.field{min-width:0}.sc-issue-decision-fields input,.sc-issue-decision-fields select{width:100%;max-width:none;box-sizing:border-box}.sc-receipt-decision.sc-form{margin:8px 0;padding:12px}.sc-refund-record{margin:12px 0;padding:12px;background:#fafaf8;border:1px solid #e7e9e8;border-radius:5px}.sc-refund-form{margin-top:10px}.sc-refund-form .sc-two-columns{margin-bottom:10px}.sc-issue-entry+.sc-issue-entry{margin-top:16px;padding-top:12px;border-top:1px solid #e7e9e8}.sc-procurement-history>summary{cursor:pointer;padding:16px;font-size:16px;font-weight:600}.sc-procurement-history-detail{min-width:0;padding:12px}.sc-procurement-history-detail>.sc-surface{margin:0 0 12px}.sc-procurement-history-detail .sc-product-identity span{white-space:normal;overflow-wrap:anywhere}.sc-procurement-history-detail h3{font-size:14px}.sc-refund-history-table{min-width:680px}
@media(max-width:700px){.sc-issue-products{grid-template-columns:1fr}.sc-issue-decision-fields{grid-template-columns:1fr}.sc-receipt-decision input,.sc-receipt-decision select,.sc-receipt-decision .button,.sc-refund-form input,.sc-refund-form .button{min-height:44px}.sc-refund-form .sc-two-columns{grid-template-columns:1fr}.sc-procurement-history-detail{padding:8px}.sc-procurement-history>summary{padding:14px}}

/* Receiving is a compact continuation of the order row. */
.domestic-expanded > td { padding: 0 !important; background: var(--surface, #fff); }
.domestic-inline { padding: 10px 16px; border-left: 3px solid #c92540; box-sizing:border-box; min-width:0; overflow-wrap:anywhere; }
.domestic-toolbar,.domestic-parcel-heading,.domestic-receipt-actions,.domestic-finish { display:flex; align-items:center; flex-wrap:wrap; gap:8px 16px; }
.domestic-toolbar { justify-content:space-between; color:var(--muted, #64706e); font-size:13px; margin-bottom:6px; }
.domestic-parcel { padding:10px 0; border-bottom:1px solid #e5eae8; }
.domestic-parcel-heading { font-size:13px; margin-bottom:6px; }
.domestic-parcel-heading strong { overflow-wrap:anywhere; }
.domestic-receipt-actions { margin-top:8px; }
.domestic-replacement-children { min-width:0; margin:8px 0 8px 10px; padding-left:12px; border-left:2px solid #e1d6a5; }
.domestic-replacement-children .domestic-replacement-children { margin-left:0; padding-left:0; border-left:0; }
.domestic-inline .button { min-height:34px; padding:6px 12px; font-size:13px; }
.domestic-issues { padding:8px 0; }
.domestic-issues > div { display:flex; flex-wrap:wrap; gap:8px 18px; margin-bottom:6px; }
.domestic-issues > input { width:min(100%,560px); }
.domestic-note { margin:6px 0; font-size:13px; color:var(--muted, #64706e); white-space:pre-line; }
.domestic-packing { padding:12px 0 4px; }
.domestic-box,.domestic-pack-options,.domestic-replacement { display:flex; align-items:flex-end; flex-wrap:wrap; gap:8px 12px; margin:8px 0; }
.domestic-box label,.domestic-pack-options label,.domestic-finish label,.domestic-replacement label { display:flex; flex-direction:column; gap:4px; font-size:12px; }
.domestic-box input { width:110px; min-height:32px; padding:4px 8px; }
.domestic-box > span { font-size:13px; align-self:center; }
.domestic-pack-options select { min-width:220px; }
.domestic-pack-options small { align-self:center; }
.domestic-finish { margin-top:12px; }
.domestic-finish input[type=file] { max-width:290px; font-size:12px; }
.domestic-photo { width:48px; height:48px; object-fit:cover; border-radius:4px; }
.domestic-orders > tbody > tr > td.domestic-tracking { max-width:310px; overflow-wrap:anywhere; white-space:normal; }
.domestic-orders > tbody > tr:not(.domestic-expanded) > td:last-child { white-space:nowrap; }
.domestic-external > .sc-form { border:0; padding:10px 16px; margin:0; }
@media(max-width:640px) { .domestic-inline { padding:8px; }.domestic-box input { width:90px; }.domestic-pack-options label { max-width:100%; } }
.domestic-orders { min-width:640px; }
.domestic-list-help { margin:0; padding:10px 16px; font-size:12px; line-height:1.6; color:#747b82; }
@media(min-width:761px) {
 .domestic-orders { min-width:1040px; }
 .domestic-orders .domestic-mobile-only { display:none; }
 .domestic-orders .domestic-package-count { padding-left:10px; padding-right:10px; text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
 .domestic-orders td.domestic-package-count { font-size:14px; font-weight:600; }
 .domestic-orders .domestic-count-attention { color:#b01c30; background:#fff5f3; }
}
.domestic-orders > tbody > tr:not(.domestic-expanded) > td:first-child { white-space:nowrap; }
@media(max-width:640px) { .domestic-inline,.domestic-external > .sc-form { width:100%; box-sizing:border-box; } }
.domestic-product-cards { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }
.domestic-product-card { min-width:0; padding:8px; border:1px solid #e5e7e8; border-radius:6px; background:white; }
.domestic-card-image { aspect-ratio:1; display:grid; place-items:center; background:#f6f6f6; border-radius:4px; overflow:hidden; color:#858b90; font-size:11px; }
.domestic-card-image img { width:100%; height:100%; object-fit:contain; }
.domestic-card-name { margin:8px 0; min-height:36px; font-size:12px; line-height:1.5; white-space:normal; overflow-wrap:anywhere; }
.domestic-card-quantity { margin:4px 0; font-size:12px; }
.domestic-card-actual { display:flex; align-items:center; flex-wrap:wrap; gap:4px; font-size:12px; }
.domestic-card-actual input { width:58px; min-width:0; min-height:30px; padding:4px; }
.domestic-parcel-section { scroll-margin-top:90px; min-width:0; }
.domestic-parcel-target { background:#fffbed; box-shadow:inset 3px 0 #dfc649; padding:0 8px; border-radius:4px; }
.domestic-parcel-section:focus-visible { outline:2px solid #c92540; outline-offset:2px; }
.domestic-tracking-results { padding:8px 16px 12px; border-bottom:1px solid #e5e7e8; }
.domestic-tracking-results ul { list-style:none; padding:0; margin:0; max-height:230px; overflow-y:auto; }
.domestic-tracking-match { display:flex; align-items:center; flex-wrap:wrap; gap:6px 16px; width:100%; padding:10px; text-align:left; background:#fafafa; border:1px solid #e5e7e8; border-radius:4px; margin:4px 0; font-size:12px; }
.domestic-tracking-match:hover { background:#fffbed; }
.domestic-tracking-match strong { color:#2c343c; font-size:14px; overflow-wrap:anywhere; }
.domestic-tracking-match span { color:#747b82; }
.domestic-tracking-match span:last-child { margin-left:auto; color:#a92037; }
.domestic-scan .domestic-tracking-results { padding:0; border-bottom:0; }
.domestic-scan .domestic-tracking-match { min-height:44px; display:grid; gap:4px; }
.domestic-scan .domestic-tracking-match span:nth-of-type(2) { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.domestic-receipt-dialog { width:min(920px,calc(100% - 24px)); max-height:calc(100dvh - 24px); padding:0; border:1px solid #e5e7e8; border-radius:10px; color:inherit; overflow-y:auto; box-sizing:border-box; }
.domestic-receipt-dialog::backdrop { background:#25344980; }
.domestic-dialog-head { display:flex; align-items:center; gap:12px; justify-content:space-between; padding:12px 16px; border-bottom:1px solid #e5e7e8; position:sticky; top:0; background:#fff; z-index:1; }
.domestic-dialog-head h2 { font-size:16px; margin:0; overflow-wrap:anywhere; min-width:0; }
.domestic-dialog-head button { flex:none; min-height:44px; }
.domestic-dialog-order { padding:0 16px; font-size:13px; overflow-wrap:anywhere; }
.domestic-receipt-dialog .domestic-inline { border-left:0; }
.domestic-toolbar > div { display:flex; flex-wrap:wrap; gap:14px; }
@media(max-width:1000px) { .domestic-product-cards { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:640px) { .domestic-product-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }.domestic-tracking-match span:last-child { margin-left:0; } }
.domestic-issue-badge { display:inline-block; padding:3px 7px; border-radius:4px; background:#fff0f1; color:#b01c30; font-size:12px; font-weight:600; margin-left:6px; white-space:normal; }
.domestic-logistics { margin:8px 0 12px; padding:10px 12px; border:1px solid #e5e7e8; border-radius:5px; background:#fafafa; font-size:12px; }
.domestic-logistics-summary { display:flex; flex-wrap:wrap; gap:8px 20px; margin:0; }
.domestic-logistics-summary>div { min-width:0; max-width:100%; }
.domestic-logistics-summary dt { color:#747b82; margin-bottom:3px; }
.domestic-logistics-summary dd { margin:0; overflow-wrap:anywhere; }
.domestic-logistics-reminder { margin:6px 0; padding:7px 9px; background:#fff5df; color:#78530c; border-left:3px solid #c5911d; font-size:12px; font-weight:600; white-space:normal; overflow-wrap:anywhere; }
.domestic-logistics-latest,.domestic-logistics-sync-note { margin:8px 0 0; line-height:1.6; overflow-wrap:anywhere; }
.domestic-logistics-sync-note,.domestic-logistics-timezone { color:#747b82; }
.domestic-logistics-timezone { display:block; margin-top:8px; }
.domestic-logistics-events { margin-top:8px; }
.domestic-logistics-events summary { cursor:pointer; padding:6px 0; }
.domestic-logistics-events ol { list-style:none; margin:8px 0 0; padding:0; max-height:320px; overflow-y:auto; }
.domestic-logistics-events li { display:flex; flex-wrap:wrap; gap:4px 12px; padding:8px 0; border-top:1px solid #e5e7e8; line-height:1.6; }
.domestic-logistics-events time { flex:0 0 145px; color:#747b82; }
.domestic-logistics-events li>span { flex:1 1 220px; min-width:0; overflow-wrap:anywhere; }
.domestic-issue-details { margin-top:6px; font-size:12px; }
.domestic-issue-details > div { padding:8px 0; border-bottom:1px solid #ececec; }
.domestic-issue-details p { margin:4px 0; white-space:pre-line; }
.domestic-purchase-issue { padding:12px 16px; border-bottom:1px solid #e5e7e8; }
.domestic-total-weight input { width:130px; }
.domestic-finish { align-items:flex-end; }
.domestic-packing fieldset:disabled { opacity:.65; }

/* International dispatch stays beneath its order row. */
.international-expanded > td { padding:0 !important; white-space:normal; background:white; }
.international-panel { padding:18px; border-left:3px solid #c92540; }
.international-inline { max-width:1050px; white-space:normal; }
.international-address { display:flex; align-items:center; gap:12px; margin-bottom:12px; padding-bottom:10px; border-bottom:1px solid #e5e7e8; }
.international-address>strong,.international-address>.text-button { flex-shrink:0; }
.international-address .sc-address { flex:1; min-width:0; white-space:normal; overflow-wrap:anywhere; line-height:1.5; margin:0; }
.international-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.international-primary-fields { grid-template-columns:minmax(110px,.7fr) minmax(160px,1fr) minmax(180px,1.2fr) minmax(150px,1fr); }
.international-fields label,.international-last-mile label { display:flex; flex-direction:column; gap:6px; min-width:0; }
.international-tracking { margin-bottom:14px; }
.international-tracking>strong { display:block; margin-bottom:8px; }
.international-last-mile { margin-top:10px; font-size:12px; }
.international-last-mile label { max-width:400px; margin-top:8px; }

.international-inline .sc-check { margin:16px 0; }
@media(max-width:640px) { .international-panel { padding:14px; width:calc(100vw - 42px); } .international-fields { grid-template-columns:1fr; } .international-address { flex-wrap:wrap; } .international-address .sc-address { flex-basis:calc(100% - 105px); } }

.international-products { margin-top:20px; padding-top:14px; border-top:1px solid #e5e7e8; }
.international-products h3 { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:10px; }
.international-products h3 small { font-size:12px; font-weight:400; color:#70777d; }
.international-product-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.international-product { display:flex; gap:8px; padding:8px; border:1px solid #e5e7e8; border-radius:5px; min-width:0; font-size:12px; }
.international-product-image { width:48px; height:48px; flex-shrink:0; display:grid; place-items:center; background:#f6f6f6; color:#858b90; font-size:10px; }
.international-product-image img { width:100%; height:100%; object-fit:contain; }
.international-product>div:last-child { min-width:0; }
.international-product strong,.international-product small,.international-product span { display:block; white-space:normal; overflow-wrap:anywhere; line-height:1.5; }
.international-product strong { font-weight:500; }
.international-product small { color:#70777d; font-size:11px; margin:3px 0; }
@media(max-width:900px) { .international-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:480px) { .international-product-grid { grid-template-columns:1fr; } }

.domestic-receipt-photos{display:flex;flex-direction:column;gap:6px;margin-top:10px;max-width:100%;font-size:13px}.domestic-receipt-photos input{max-width:100%}
.domestic-photo-sources{display:flex;flex-wrap:wrap;gap:10px}.domestic-photo-sources label{display:flex;flex:1 1 180px;min-width:0;flex-direction:column;gap:6px}.domestic-receipt-previews{display:flex;flex-wrap:wrap;gap:8px}.domestic-receipt-previews figure{width:88px;margin:0}.domestic-receipt-previews img{display:block;width:88px;height:88px;object-fit:cover;border-radius:4px}.domestic-receipt-previews button{width:100%;white-space:normal}
@media(max-width:760px){
 .domestic-desktop-only,.domestic-orders>thead>tr>th.domestic-desktop-column,.domestic-orders>tbody>tr:not(.domestic-expanded)>td.domestic-desktop-column { display:none; }
 .domestic-orders{min-width:0;width:100%;display:block}.domestic-orders>thead{display:none}.domestic-orders>tbody{display:block}
 .domestic-orders>tbody>tr:not(.domestic-expanded){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-bottom:1px solid #e5e7e8;padding:8px}
 .domestic-orders>tbody>tr:not(.domestic-expanded)>td{display:block;white-space:normal!important;min-width:0;max-width:none;padding:6px;border:0}
 .domestic-orders>tbody>tr:not(.domestic-expanded)>td.domestic-tracking{grid-column:1/-1;grid-row:2;max-width:none}
 .domestic-orders>tbody>tr:not(.domestic-expanded)>td.domestic-partner::before{content:'负责合作方：'}
 .domestic-orders>tbody>tr:not(.domestic-expanded)>td.domestic-source::before{content:'来源：'}
 .domestic-orders>tbody>tr:not(.domestic-expanded)>td.domestic-line-count::before{content:'商品规格：'}
 .domestic-orders>tbody>tr:not(.domestic-expanded)>td.domestic-quantity::before{content:'订单数量：'}
 .domestic-orders>tbody>.domestic-expanded,.domestic-orders>tbody>.domestic-expanded>td{display:block;width:100%;max-width:none;box-sizing:border-box}
 .domestic-inline,.domestic-external>.sc-form{width:100%;min-width:0}.domestic-inline .button,.domestic-inline input[type=number]{min-height:44px}
 .domestic-inline input:not([type=checkbox]),.domestic-inline select,.domestic-inline .text-button{min-height:44px}.domestic-issues .sc-check{min-height:44px;margin:0}
 .domestic-inline input,.domestic-inline select{max-width:100%;box-sizing:border-box}.domestic-box label{flex:1 1 80px;min-width:0}.domestic-box input{width:100%}
 .domestic-finish>label{width:100%;min-width:0}.domestic-finish input[type=file]{max-width:100%}.domestic-purchase-issue{overflow-wrap:anywhere}
 .domestic-replacement-children{margin-left:4px;padding-left:8px}.domestic-parcel-heading>*{min-width:0;max-width:100%;white-space:normal}.domestic-pack-options select{min-width:0;width:100%}
 .domestic-box,.domestic-pack-options,.domestic-replacement,.domestic-finish,.domestic-issues{min-width:0;max-width:100%}.domestic-pack-options label,.domestic-replacement label{min-width:0;max-width:100%}.domestic-issues>input{box-sizing:border-box}.domestic-receipt-photos input{width:100%;min-width:0}
}

.domestic-tracking-window{border:1px solid var(--line,#e5e7eb);border-radius:8px;padding:8px 10px;max-width:780px}.domestic-tracking-window>summary{cursor:pointer;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.domestic-tracking-window .domestic-logistics{margin-top:8px}
.domestic-receive-button{min-width:100px;min-height:44px!important;white-space:nowrap}
@media(max-width:760px){
 .domestic-orders>tbody>tr:not(.domestic-expanded)>td.domestic-action{grid-column:1/-1;grid-row:5}
 .domestic-orders>tbody>tr:not(.domestic-expanded)>td.domestic-status{grid-column:1/-1;grid-row:4}
 .domestic-receive-button{width:100%;min-height:48px!important;font-size:14px!important}
}
.sc-sync-spinner{display:inline-block;animation:sc-sync-spin 1s linear infinite}
@keyframes sc-sync-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.sc-sync-spinner{animation:none}}

/* Evidence and box controls share a compact, touch-sized layout. */
.domestic-photo-sources{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
.domestic-photo-sources label{position:relative;display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px;border:1px solid #d8dde1;border-radius:8px;background:#f7f8fa;color:#343d45;font-weight:600;cursor:pointer;overflow:hidden;box-sizing:border-box}
.domestic-photo-sources input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.domestic-photo-sources label:has(input:focus-visible){outline:2px solid #245c94;outline-offset:2px}.domestic-photo-sources label:has(input:disabled){opacity:.55;cursor:default}
.domestic-box{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px;border:1px solid #e0e4e7;border-radius:10px;background:#f8f9fa}
.domestic-box-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;min-height:28px}.domestic-box input{width:100%;box-sizing:border-box}.domestic-add-box{margin:4px 0 10px;width:100%}.domestic-pack-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.domestic-pack-options select{min-width:0;width:100%}.domestic-pack-options input{width:100%;min-width:0}.domestic-finish{justify-content:space-between;gap:10px}.domestic-receipt-previews:empty{display:none}
@media(max-width:760px){
 .app-internal .sc-heading{align-items:center;gap:8px;margin-bottom:12px}.app-internal .sc-heading h1{font-size:23px;line-height:1.25;margin:0}.app-internal .sc-heading p,.app-internal .sc-eyebrow,.app-internal .sc-workspace>.sc-detail-meta,.app-internal .sc-workspace>.sc-muted{display:none}
 .app-internal .sc-surface{border-radius:12px;margin-bottom:12px}.app-internal .sc-filter{gap:8px;padding:10px}.app-internal .sc-filter input{width:100%;min-width:0;min-height:44px;font-size:16px}.app-internal .sc-pagination{padding:10px}
 .app-internal .domestic-inline,.app-internal .international-panel{width:100%;padding:10px;border-left:0}.app-internal .domestic-toolbar{font-size:12px;gap:4px}.app-internal .domestic-toolbar .text-button{padding:6px;min-height:44px}
 .app-internal .domestic-issues{display:grid;grid-template-columns:1fr;gap:6px;padding:6px 0}.app-internal .domestic-issues>div{gap:4px!important;margin:0}.app-internal .domestic-issues .sc-check{padding:4px 7px;gap:4px;min-height:44px;font-size:13px;border:1px solid #e1e5e8;border-radius:7px}.app-internal .domestic-issues>input{width:100%;font-size:16px}.app-internal .domestic-receipt-photos{margin-top:4px;gap:6px}.app-internal .domestic-receipt-photos small{font-size:11px;color:#606a73}
 .app-internal .domestic-product-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.app-internal .domestic-card-name{margin:5px 0;min-height:0}.app-internal .domestic-card-image{aspect-ratio:4/3}.app-internal .domestic-card-actual input{font-size:16px;min-height:44px}
 .app-internal .domestic-box{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:8px;margin:8px 0}.app-internal .domestic-box label,.app-internal .domestic-pack-options label{font-size:12px;gap:4px;min-width:0}.app-internal .domestic-box input,.app-internal .domestic-pack-options input,.app-internal .domestic-pack-options select{min-height:44px;font-size:16px;padding:7px 9px}
 .app-internal .domestic-receipt-actions>.button,.app-internal .domestic-finish>.button{width:100%;min-height:48px;font-size:15px}.app-internal .domestic-finish>strong{font-size:14px}.app-internal .domestic-note{font-size:12px;line-height:1.5}
 .app-internal .domestic-logistics-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;font-size:12px}
 .app-internal .sc-international-orders{display:block;width:100%;min-width:0}.sc-international-orders>thead{display:none}.sc-international-orders>tbody{display:block}.sc-international-orders>tbody>tr:not(.international-expanded){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:10px;border-bottom:1px solid #e1e5e8}.sc-international-orders>tbody>tr:not(.international-expanded)>td{display:block;min-width:0;white-space:normal;padding:5px;border:0;text-align:left;overflow-wrap:anywhere}
 .sc-international-orders>tbody>tr:not(.international-expanded)>td.sc-order-status{text-align:right}.sc-international-orders td.sc-order-partner::before{content:'负责合作方：'}.sc-international-orders td.sc-order-skus::before{content:'规格：'}.sc-international-orders td.sc-order-quantity::before{content:'数量：'}.sc-international-orders td.sc-order-destination::before{content:'目的地：'}.sc-international-orders>tbody>tr:not(.international-expanded)>td.sc-order-action{grid-column:1/-1;grid-row:5}.sc-international-orders td.sc-order-action button{width:100%;min-height:48px;font-size:15px}.sc-international-orders>tbody>.international-expanded,.sc-international-orders>tbody>.international-expanded>td{display:block;width:100%;box-sizing:border-box}
 .app-internal .international-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.international-primary-fields>label:nth-child(3){grid-column:1/-1}.international-fields input,.international-fields select,.international-last-mile input{min-height:44px;width:100%;box-sizing:border-box;font-size:16px;padding:7px 9px}.international-inline .button{width:100%;min-height:48px;font-size:15px}.international-address{gap:6px;flex-wrap:wrap}.international-address>strong{font-size:13px}.international-address .sc-address{flex-basis:100%;font-size:13px}.international-address>.text-button{min-height:44px;padding:6px 0}.international-inline h3{font-size:16px;margin:12px 0}.international-inline .sc-check{font-size:13px;line-height:1.5;margin:12px 0}.international-tracking{padding:10px;border:1px solid #e1e5e8;border-radius:10px;background:#f8f9fa;margin-bottom:10px}
}
.domestic-receipt-logistics>summary{min-height:36px;padding:8px 0;font-size:12px;color:#59636d;cursor:pointer}
@media(max-width:760px){
 .app-internal .sc-heading{flex-direction:row;text-align:left}.app-internal .sc-heading>div:first-child{flex:1;min-width:0}.app-internal .sc-heading .sc-actions{margin:0}.app-internal .sc-heading .sc-actions button{min-height:44px;padding:8px}
 .app-internal .domestic-issues>div:first-child{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px!important}.app-internal .domestic-issues .sc-check{justify-content:center;padding:4px 0;gap:2px;font-size:12px;white-space:nowrap}.app-internal .domestic-issues .sc-check input{width:16px;height:16px;margin:0}
 .app-internal .domestic-receipt-logistics>summary{min-height:44px;box-sizing:border-box}
}

.sc-source-verification{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap}.sc-source-verification .sc-status{font-size:11px;padding:3px 6px}.sc-source-verification .text-button{padding:2px 6px;min-height:28px}.sc-source-verification .sc-status-blocked{background:#fff0f1;color:#b31b33}
.sc-source-verification-detail{display:block;margin-top:4px;line-height:1.5;overflow-wrap:anywhere}

.domestic-scan-input{display:flex;gap:8px;flex-wrap:wrap}.domestic-scan-input input{flex:1;min-width:200px}.domestic-scan video{display:block;width:min(100%,480px);max-height:320px;object-fit:cover;margin:12px auto}.domestic-location{padding:6px 10px;background:#eef6ec;border-radius:8px;margin:8px 0;font-size:13px}.domestic-location label{display:flex;gap:8px;align-items:center;flex-wrap:nowrap}.domestic-location label>span{flex:none}.domestic-location input{width:130px;max-width:42%;min-width:0;flex:0 1 130px;min-height:44px;box-sizing:border-box;padding:6px 8px}.domestic-destination{margin:10px 0 8px;padding:10px;border:1px solid #e1e5e8;border-radius:8px;font-size:13px}.domestic-destination-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.domestic-destination-heading button{min-height:44px;flex:none}.domestic-destination p{margin:4px 0 0;white-space:pre-line;overflow-wrap:anywhere;user-select:text;line-height:1.5}.domestic-destination small{display:block;margin-top:4px}.domestic-toolbar h2{margin:0}.domestic-toolbar [aria-pressed=true]{border-color:#2f673b;background:#eef6ec}

.domestic-scan-photo{position:relative;cursor:pointer;overflow:hidden}.domestic-scan-photo input{position:absolute;inset:0;opacity:0;width:100%;min-width:0;height:100%;cursor:pointer}.domestic-scan-photo:focus-within{outline:2px solid #2f673b;outline-offset:2px}

.domestic-header-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 6px}
.domestic-destination{display:flex;align-items:center;gap:12px;width:100%;box-sizing:border-box;padding:6px 10px;margin:0 0 8px;border-radius:4px}
.domestic-destination-heading{display:contents}.domestic-destination-heading strong{flex:none}.domestic-destination-heading button{order:2;min-height:30px;margin-left:auto}.domestic-destination p{margin:0;white-space:normal;flex:1;min-width:0;max-width:none}.domestic-destination small{margin:0}
.domestic-receipt-form{margin:0}.domestic-receipt-scroll{scroll-margin-top:90px}.domestic-receipt-table{width:100%;min-width:900px;border-collapse:collapse;table-layout:auto}
.domestic-receipt-table th,.domestic-receipt-table td{padding:6px 8px!important;white-space:normal!important;max-width:none;vertical-align:middle;font-size:12px;border-bottom:1px solid #e5e7e8}
.domestic-receipt-table th{background:#f5f7f8}.domestic-receipt-table th:nth-child(1){width:145px}.domestic-receipt-table th:nth-child(2){width:64px}.domestic-receipt-table th:nth-child(4){width:76px}.domestic-receipt-table th:nth-child(5){width:76px}.domestic-receipt-table th:nth-child(6){width:158px}.domestic-receipt-table th:nth-child(7){width:132px}
.domestic-receipt-tracking strong{display:block;font-size:12px;overflow-wrap:anywhere}.domestic-receipt-tracking small{display:block}.domestic-receipt-tracking .sc-status{display:inline-block;margin:3px 0;font-size:11px;padding:2px 5px}.domestic-receipt-tracking details>summary{font-size:11px;cursor:pointer}.domestic-receipt-tracking .domestic-logistics{min-width:180px}
.domestic-receipt-name{min-width:180px;max-width:300px!important;overflow-wrap:anywhere}.domestic-receipt-name small{display:block;color:#64706e;margin-top:2px;line-height:1.35}.domestic-receipt-quantity{white-space:nowrap!important}
.domestic-image-button{display:block;width:48px;height:48px;padding:0;border:1px solid #e5e7e8;border-radius:3px;background:#fafafa;cursor:zoom-in}.domestic-image-button img{display:block;width:100%;height:100%;object-fit:contain}.domestic-image-missing{display:block;width:48px;font-size:10px;color:#747b82}.domestic-image-button:focus-visible{outline:2px solid #245c94;outline-offset:2px}
.domestic-receipt-count{width:64px;min-width:0;min-height:32px;padding:4px 6px;box-sizing:border-box;font-size:13px}.domestic-item-reasons{display:grid;grid-template-columns:repeat(2,max-content);gap:3px 10px}.domestic-item-reasons .sc-check{margin:0;gap:4px;min-height:22px;font-size:12px;white-space:nowrap}.domestic-item-reasons input{width:14px;height:14px;margin:0}
.domestic-compact-photos .domestic-photo-sources{gap:4px;margin:0}.domestic-compact-photos .domestic-photo-sources label{padding:4px 8px;min-height:28px;font-size:12px}.domestic-compact-photos small{display:block;font-size:11px;margin:2px 0}.domestic-compact-photos .domestic-receipt-previews{gap:4px;margin:2px 0}.domestic-compact-photos .domestic-receipt-previews figure{width:auto;margin:0}.domestic-compact-photos .domestic-image-button,.domestic-saved-item-photos .domestic-image-button{width:32px;height:32px}.domestic-compact-photos .domestic-receipt-previews .domestic-image-button img{width:100%;height:100%}.domestic-compact-photos .domestic-receipt-previews .text-button{min-height:22px;padding:0;font-size:10px}.domestic-saved-item-photos{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px}
.domestic-receipt-message td{padding:3px 8px!important;background:#fafbfc}.domestic-receipt-message p{margin:2px 0}.domestic-receipt-message small{font-size:11px;color:#64706e;display:block}.domestic-receipt-actions{justify-content:flex-end;margin:8px 0}
.domestic-image-dialog,.domestic-location-dialog,.domestic-admin-dialog{border:1px solid #dce2e8;border-radius:8px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto}.domestic-image-dialog::backdrop,.domestic-location-dialog::backdrop,.domestic-admin-dialog::backdrop{background:#25344980}.domestic-image-dialog>button{display:block;margin:0 0 8px auto}.domestic-image-dialog>img{display:block;max-width:min(800px,calc(100vw - 72px));max-height:calc(100dvh - 120px);width:auto;height:auto;object-fit:contain}.domestic-location-dialog{width:360px}.domestic-location-dialog label{display:grid;gap:8px}.domestic-location-dialog>button{display:block;margin:12px 0 0 auto}.domestic-admin-dialog{width:min(640px,calc(100vw - 32px))}.domestic-admin-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
@media(max-width:760px){.domestic-destination{flex-wrap:wrap;gap:6px}.domestic-destination p{flex-basis:100%;order:3}.domestic-header-actions{gap:4px}.domestic-receipt-table{min-width:820px}.domestic-item-reasons .sc-check{min-height:32px}.domestic-receipt-count{min-height:44px}.domestic-compact-photos .domestic-photo-sources label{min-height:44px}}
.domestic-receipt-table th{white-space:nowrap!important}.domestic-receipt-tracking{min-width:140px}.domestic-inline{border-left:0;padding-left:0}
.receipt-exception-badge{display:inline-block;margin-left:6px;padding:2px 6px;border:1px solid #e7c06d;border-radius:4px;background:#fff6df;color:#805b12;font-size:12px;line-height:1.5;vertical-align:middle;white-space:normal}
.domestic-packing input:disabled,.domestic-packing select:disabled{background:#f0f2f4;color:#7c8288;cursor:not-allowed}

.domestic-operation-table{width:100%;min-width:1080px;table-layout:fixed;border-collapse:collapse}
.domestic-operation-table col:nth-child(1){width:160px}.domestic-operation-table col:nth-child(2){width:90px}.domestic-operation-table col:nth-child(3){width:430px}.domestic-operation-table col:nth-child(4){width:105px}.domestic-operation-table col:nth-child(5){width:180px}.domestic-operation-table col:nth-child(6){width:115px}
.domestic-operation-table th,.domestic-operation-table td{padding:8px!important;max-width:none;white-space:normal!important;vertical-align:top;font-size:12px}.domestic-operation-table th{white-space:nowrap!important;background:#f5f7f8}.domestic-operation-table tbody tr{height:64px}
.domestic-operation-table fieldset{border:0;margin:0;padding:0;min-width:0}.domestic-dimensions{display:grid;grid-template-columns:32px repeat(3,minmax(60px,1fr)) max-content;align-items:center;gap:6px}.domestic-dimensions>span{white-space:nowrap}
.domestic-operation-table input[type=number]{width:100%;min-width:0;min-height:34px;padding:4px 6px;box-sizing:border-box;font-size:13px}.domestic-operation-table .button{min-height:34px;white-space:nowrap}.domestic-operation-table .domestic-add-box{width:auto;margin:0;padding:6px 8px}.domestic-operation-table .text-button{white-space:nowrap}
.domestic-cargo-type{display:inline-flex;align-items:center;min-height:34px}.domestic-operation-table .domestic-receipt-actions{margin:0;justify-content:flex-start}.domestic-operation-table .domestic-receipt-actions>.button{width:auto}.domestic-operation-table .domestic-receipt-photos{margin:0;gap:6px;flex-flow:row nowrap;align-items:center;overflow-x:auto}.domestic-operation-table .domestic-photo-sources{display:flex!important;flex:none}.domestic-operation-table .domestic-compact-photos .domestic-photo-sources label{min-height:34px;width:auto}.domestic-operation-table .domestic-receipt-photos>small{margin:0;white-space:nowrap}
.domestic-operation-table .domestic-saved-item-photos{display:flex;gap:4px;margin-top:4px;overflow-x:auto}.domestic-operation-table .domestic-saved-item-photos .domestic-image-button{flex:none;width:48px;height:48px}.domestic-operation-table .domestic-saved-item-photos img{display:block;width:48px;height:48px;object-fit:contain}
.domestic-inline-handover{margin:0 0 10px;font-size:12px}.domestic-inline-handover fieldset{margin:0;padding:0;border:0;display:grid;grid-template-columns:160px 180px minmax(180px,1fr);gap:12px;max-width:760px}.domestic-inline-handover label{display:grid;gap:4px;margin-top:6px}.domestic-inline-handover input,.domestic-inline-handover select{width:100%;min-width:0;min-height:34px;box-sizing:border-box}
@media(max-width:760px){.domestic-inline-handover fieldset{grid-template-columns:1fr;gap:6px}.domestic-cargo-type{min-height:44px}.domestic-operation-table input[type=number],.domestic-operation-table .button,.domestic-operation-table .text-button,.domestic-operation-table .domestic-compact-photos .domestic-photo-sources label,.domestic-inline-handover input,.domestic-inline-handover select{min-height:44px}.domestic-operation-table input[type=number],.domestic-inline-handover input,.domestic-inline-handover select{font-size:16px}}

/* Receipt and packing layouts adapt to the viewport; business permissions stay unchanged. */
.warehouse-save-status{display:inline-block;padding:4px 8px;border-radius:6px;background:#eef1f3;font-size:12px}
.warehouse-save-saved{background:#e8f3e7;color:#275a32}.warehouse-save-failed{background:#fff0eb;color:#9e3a20}
.warehouse-receipt-note{display:grid;gap:6px;margin-top:8px}.warehouse-receipt-note textarea{width:100%;box-sizing:border-box;min-height:66px;font:inherit;padding:8px}
.warehouse-discrepancy{display:block;margin-top:5px;color:#56645b}.warehouse-photo-status{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.warehouse-photo-status button{display:block}.warehouse-packing-status{font-size:13px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.warehouse-packing-status small{flex-basis:100%}
.warehouse-box-contents{grid-column:1/-1;display:grid;gap:8px;min-width:0;width:100%;margin:10px 0}
.warehouse-box-contents>label{display:grid;gap:6px}.warehouse-box-contents select{min-width:0;width:100%;box-sizing:border-box}
.warehouse-box-item{display:grid;grid-template-columns:48px minmax(0,1fr) 76px;gap:8px;align-items:center;padding:10px;border:1px solid #dce3df;border-radius:8px;background:white;box-sizing:border-box}
.warehouse-box-item>img{width:48px;height:48px;object-fit:contain}.warehouse-box-item>span{grid-column:2;min-width:0;overflow-wrap:anywhere}.warehouse-box-item:not(:has(img))>span{grid-column:1/3}
.warehouse-box-item small{display:block;font-size:11px;color:#59695f;margin-top:4px}.warehouse-box-item>input{grid-column:3;grid-row:1;max-width:100%;box-sizing:border-box}
@media(max-width:760px){
 .domestic-responsive .sc-table-scroll{overflow:visible;min-width:0;width:100%}
 .domestic-responsive .domestic-receipt-table,.domestic-responsive .domestic-operation-table{display:block;width:100%;min-width:0;table-layout:auto}
 .domestic-responsive .domestic-receipt-table>thead,.domestic-responsive .domestic-operation-table>thead,.domestic-responsive .domestic-operation-table>colgroup{display:none}
 .domestic-responsive .domestic-receipt-table>tbody,.domestic-responsive .domestic-operation-table>tbody{display:block;width:100%}
 .domestic-responsive .domestic-receipt-table>tbody>tr{display:grid;grid-template-columns:48px minmax(0,1fr) 96px;gap:6px 8px;margin:0 0 8px;padding:10px;border:1px solid #dce3df;border-radius:10px;background:#fff}
 .domestic-responsive .domestic-receipt-table td,.domestic-responsive .domestic-operation-table td{display:block;min-width:0;width:auto;max-width:100%!important;border:0;padding:0!important;white-space:normal!important;overflow-wrap:anywhere}
 .domestic-responsive .domestic-receipt-table td[data-label]::before{display:inline;content:attr(data-label);font-size:12px;color:#59695f;font-weight:400;margin-right:6px}
 .domestic-responsive .domestic-receipt-tracking{grid-column:1/-1;min-width:0;padding-bottom:8px!important;border-bottom:1px solid #e5e7e8!important}
 .domestic-responsive .domestic-receipt-tracking .domestic-logistics{min-width:0}
 .domestic-responsive .domestic-receipt-image{grid-column:1;grid-row:2/4}
 .domestic-responsive .domestic-receipt-name{min-width:0;grid-column:2;grid-row:2/4;font-size:13px;line-height:1.35}
 .domestic-responsive .domestic-receipt-name small{font-size:12px;margin-top:3px}
 .domestic-responsive .domestic-receipt-quantity{grid-column:3;grid-row:2;text-align:right;font-size:13px}
 .domestic-responsive .domestic-receipt-actual{grid-column:3;grid-row:3;text-align:right}
 .domestic-responsive .domestic-receipt-issues{grid-column:1/-1;grid-row:4}
 .domestic-responsive .domestic-item-photos{grid-column:1/-1;grid-row:5}
 .domestic-responsive .domestic-receipt-count{width:60px;max-width:60px;box-sizing:border-box;font-size:16px;min-height:44px}
 .domestic-responsive .domestic-item-reasons{display:flex;flex-wrap:wrap;gap:0 12px}
 .domestic-responsive .domestic-item-reasons .sc-check{min-height:44px;white-space:normal;padding:0;border:0;font-size:12px}
 .domestic-responsive .domestic-item-reasons input{flex:none;width:18px;height:18px}
 .domestic-responsive .domestic-receipt-table .warehouse-receipt-status,.domestic-responsive .domestic-receipt-table .domestic-receipt-message{display:block}
 .domestic-responsive .domestic-operation-table>tbody>tr{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;height:auto;padding:12px;margin-bottom:10px;border:1px solid #dce3df;border-radius:10px;background:#f8faf8}
 .domestic-responsive .domestic-operation-table .domestic-dimensions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .domestic-responsive .domestic-dimensions::before{grid-column:1/-1;content:'长 × 宽 × 高（cm，选填）';font-size:12px;color:#59695f}
 .domestic-responsive .domestic-dimensions>span,.domestic-responsive .domestic-dimensions>.text-button{grid-column:1/-1}
 .domestic-responsive .domestic-box-weight::before{display:block;content:'重量（kg，选填）';font-size:12px;color:#59695f;margin-bottom:6px}
 .domestic-responsive .domestic-operation-table input[type=number]{min-height:44px;font-size:16px}
 .domestic-responsive .domestic-operation-table .domestic-receipt-photos{display:flex;flex-direction:column;align-items:stretch;overflow:visible;gap:8px}
 .domestic-responsive .domestic-operation-table .domestic-photo-sources{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 .domestic-responsive .domestic-operation-table .domestic-receipt-photos>small{white-space:normal}
 .domestic-responsive .domestic-saved-item-photos{overflow:visible!important;flex-wrap:wrap}
 .domestic-responsive .domestic-receipt-actions>.button,.domestic-responsive .domestic-operation-table button[type=submit],.domestic-responsive .domestic-add-box{width:100%;min-height:48px;white-space:normal}
 .domestic-responsive .domestic-add-box{margin:0 0 12px}
 .domestic-responsive .domestic-photo-sources label,.domestic-responsive .text-button,.domestic-responsive .button{min-height:44px}
 .domestic-responsive .domestic-image-button{width:48px;height:48px}
 .domestic-responsive .domestic-toolbar>*{max-width:100%;white-space:normal;overflow-wrap:anywhere}
 .domestic-responsive .domestic-scan-input input{min-width:0;flex-basis:100%;font-size:16px;min-height:48px}
 .domestic-responsive .domestic-scan-input>.button{flex:1;min-width:0}
}

.domestic-photo-sources .domestic-photo-camera-mobile{display:none}
.domestic-receipt-note{display:inline-block;margin-left:12px;font-size:12px;vertical-align:top}
.domestic-receipt-note summary{cursor:pointer;padding:4px}
@media(max-width:760px){
 .domestic-responsive .sc-heading{margin-bottom:8px}
 .domestic-responsive .sc-heading .sc-eyebrow,.domestic-responsive .sc-heading p,.domestic-responsive [aria-label="订单执行流程"]{display:none}
 .domestic-responsive .sc-heading h1{font-size:20px;margin:0}
 .domestic-responsive .domestic-photo-sources .domestic-photo-camera-mobile{display:flex}
 .domestic-responsive .domestic-item-photos{display:flex!important;flex-wrap:wrap;align-items:center;gap:4px 8px}
 .domestic-responsive .domestic-compact-photos{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
 .domestic-responsive .domestic-photo-sources{display:flex;gap:8px}
 .domestic-responsive .domestic-photo-sources label{padding:6px 10px;box-sizing:border-box;font-size:13px}
 .domestic-responsive .domestic-receipt-previews:empty,.domestic-responsive .domestic-saved-item-photos:empty{display:none}
 .domestic-responsive .warehouse-photo-status{margin:0}
 .domestic-responsive .domestic-receipt-tracking{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px}
 .domestic-responsive .domestic-receipt-tracking strong{font-size:13px}
 .domestic-responsive .domestic-receipt-tracking details{margin-left:auto}
 .domestic-responsive .domestic-receipt-tracking .domestic-logistics{flex-basis:100%}
 .domestic-responsive .warehouse-receipt-status{padding:4px 10px!important;border:0!important}
 .domestic-responsive .warehouse-receipt-status>td>span:first-child{display:none}
 .domestic-responsive .domestic-receipt-note summary{min-height:36px;box-sizing:border-box}
 .domestic-responsive .domestic-destination{padding:6px 8px;margin:6px 0;font-size:12px}
 .domestic-responsive .domestic-scan{padding:10px}
 .domestic-receipt-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:10px;box-sizing:border-box}
 .domestic-dialog-head h2{font-size:15px;overflow-wrap:anywhere}
 .domestic-dialog-head{gap:8px}
}

/* Phone work screens reuse the existing lookup, receipt and packing controllers. */
.mobile-domestic-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.mobile-domestic-heading h1{font-size:22px;line-height:1.3;margin:0;overflow-wrap:anywhere;min-width:0}
.mobile-domestic-heading .text-button{min-height:44px;flex-shrink:0}
.mobile-domestic-app .domestic-scan>h2{display:none}
.mobile-domestic-app .domestic-scan{margin:0;background:white;border:1px solid #dce3df;border-radius:14px;padding:16px}
.mobile-domestic-app .domestic-scan-input{margin-top:8px}
.mobile-domestic-app .domestic-scan-input input{flex-basis:100%;min-height:52px;font-size:17px}
.mobile-domestic-app .domestic-tracking-results ul{padding:0;list-style:none}
.mobile-domestic-orders{display:grid;gap:10px}
.mobile-domestic-order{display:grid;gap:10px;width:100%;text-align:left;border:1px solid #dce3df;border-radius:12px;background:white;padding:14px;color:inherit;font:inherit;font-size:13px}
.mobile-order-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mobile-order-title strong{overflow-wrap:anywhere;min-width:0;font-size:15px}
.mobile-order-title .sc-status{flex-shrink:0}
.mobile-order-location{display:flex;justify-content:space-between;color:#43604d}
@media(max-width:760px){
 .domestic-receipt-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0}
 .domestic-receipt-dialog .domestic-inline{width:100%;padding:8px;box-sizing:border-box}
 .domestic-receipt-dialog .domestic-dialog-head{padding:8px 12px}
 .domestic-receipt-dialog .domestic-dialog-order{margin:8px 12px;padding:0}
 .domestic-responsive .domestic-receipt-table .domestic-receipt-tracking{display:flex;grid-row:1}
 .domestic-responsive .domestic-receipt-image .domestic-image-missing{width:44px}
 .domestic-responsive .domestic-receipt-actions{position:sticky;bottom:0;background:white;padding:8px 0;margin:0;z-index:1}
 .mobile-domestic-app .domestic-inline{padding:0}
}

.domestic-receipt-address{margin:4px 0 8px;font-size:12px}
.domestic-receipt-address>summary{cursor:pointer;padding:8px;min-height:36px;box-sizing:border-box;color:#59695f}

.mobile-work-entries{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mobile-work-entries>button{display:grid;gap:16px;text-align:left;background:white;border:1px solid #dce3df;border-radius:14px;padding:16px;font:inherit;color:inherit;position:relative}
.mobile-work-entries>button:first-child{background:#eef5ef;border-color:#b6cfbd}
.mobile-work-entries strong{font-size:30px;line-height:1.2;font-variant-numeric:tabular-nums}
.mobile-work-entries strong small{display:block;font-size:12px;font-weight:400;color:#64706e;margin-top:6px}
.mobile-work-entries [aria-hidden]{position:absolute;right:16px;bottom:16px;color:#64706e}
.mobile-work-count{font-size:13px;color:#64706e;margin:0 0 12px}
.mobile-transit-parcel{background:white;border:1px solid #dce3df;border-radius:12px;padding:12px}
.mobile-transit-parcel summary{min-height:44px;cursor:pointer;overflow-wrap:anywhere}
.mobile-transit-parcel summary span{display:block;margin-top:6px;font-size:12px;color:#64706e}
.mobile-transit-parcel .sc-product-identity{padding:10px 0;border-top:1px solid #e8ece9}

.mobile-pack-review{margin:12px 0}
.mobile-pack-review h2{font-size:16px;margin:8px 0}
.mobile-pack-review>label{display:flex;align-items:center;gap:10px;padding:12px 8px;border-bottom:1px solid #dce3df;min-height:56px;background:white}
.mobile-pack-review>label img{width:44px;height:44px;object-fit:contain}
.mobile-pack-review>label span{flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px}
.mobile-pack-review>label small{display:block;font-size:12px;font-weight:400;margin-top:6px;color:#59695f}
.mobile-pack-review>label input{width:22px;height:22px;min-height:0;flex-shrink:0}
.mobile-packing .domestic-operation-table .domestic-packing-receipt-complete{display:none}
.mobile-packing .warehouse-packing-status{margin:8px 0}

.mobile-receipt-location{padding:8px 10px;background:#eef5ef;border-radius:8px;margin:8px 0;font-size:13px}
.mobile-receipt-location label{display:flex;align-items:center;gap:10px}
.mobile-receipt-location input{min-width:0;flex:1;min-height:44px;font-size:16px}
.mobile-receipt-saved{padding:12px;border-radius:8px;background:#e7f3e8;color:#275a32;font-size:14px}
@media(max-width:760px){.domestic-responsive .domestic-location-button{display:none}}

.mobile-domestic-app .domestic-inline-refresh{display:none}

/* Keep the completed table header in the page scroll container. */
.sc-surface:has(>.sc-completed-list){overflow:visible}
.sc-completed-orders th{position:sticky;top:0;z-index:2;background:#f5f6f7;box-shadow:0 1px 0 #dfe3e6}

/* Dense order reading: three waybills across, secondary evidence on demand. */
.sc-order-detail .sc-heading{align-items:center;margin-bottom:10px;gap:12px}
.sc-order-detail .sc-heading h1{font-size:24px}
.sc-order-detail>.sc-detail-meta{margin:0 0 12px}
.sc-order-detail .sc-surface{margin-bottom:12px}
.sc-order-detail .sc-form{padding:16px 18px}
.sc-order-detail .sc-form h2{font-size:15px;margin:0}
.sc-order-detail .sc-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.sc-provider-line{display:flex;gap:6px 20px;flex-wrap:wrap;color:#57616a;font-size:12px;margin:8px 0}
.sc-provider-line p{margin:0}
.sc-execution-facts{margin-bottom:12px;font-size:12px}
.sc-execution-facts>summary,.sc-order-records>summary{cursor:pointer;color:#505b64}
.sc-execution-facts .sc-detail-meta{margin:8px 0}
.international-tracking-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:start}
.international-tracking-grid>.international-tracking{min-width:0;margin:0;padding:12px;border:1px solid #e1e5e8;border-radius:8px;overflow-wrap:anywhere;background:#fff}
.international-tracking-grid .international-tracking>strong{font-size:13px;margin:0 0 8px}
.international-tracking-grid .international-tracking p{font-size:12px;line-height:1.45;margin:5px 0}
.international-tracking-grid .international-tracking a,.international-tracking-grid summary{font-size:12px;color:#9f2337;text-underline-offset:3px}
.international-tracking-details{margin-top:8px}
.international-tracking-details summary{cursor:pointer}
.international-tracking-details ol{padding-left:18px;max-height:280px;overflow:auto}
.international-latest{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#57616a}
.sc-order-address{padding:12px 18px;border-top:1px solid #e7e8e9;font-size:12px}
.sc-order-address p{margin:5px 0;line-height:1.6}
.sc-order-records{padding:12px 18px}
.sc-record-content{padding-top:10px}
.sc-record-row{margin-bottom:8px}
.sc-record-row>.text-button+.text-button{margin-left:16px}
.sc-correction-dialog{box-sizing:border-box;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:18px;border:0;border-radius:10px;color:#2c343c;box-shadow:0 12px 40px #18212b33;overflow:auto}
.sc-correction-dialog::backdrop{background:#18212b66}
.sc-correction-dialog.sc-correction-edit{width:min(760px,calc(100vw - 32px))}
.sc-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.sc-correction-dialog .sc-form{padding:0;margin:0;border:0}
.sc-correction-dialog .sc-form p{margin:8px 0;font-size:13px}
.sc-correction-dialog textarea{box-sizing:border-box;width:100%}
.sc-correction-dialog fieldset{min-width:0;border:1px solid #e1e5e8;border-radius:6px;margin:10px 0}
.sc-correction-dialog .sc-form>.button{display:block;margin-left:auto}
@media(max-width:1000px){.international-tracking-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.international-tracking-grid{grid-template-columns:1fr}.sc-order-detail .sc-heading{flex-wrap:wrap;align-items:flex-start}.sc-order-detail .sc-heading>div:first-child{flex:0 0 100%}.sc-order-detail .sc-heading h1{overflow-wrap:anywhere}.sc-order-detail .sc-heading .sc-actions{display:flex;flex-wrap:wrap;gap:8px}.sc-order-detail .sc-form{padding:12px}.sc-correction-dialog .sc-two-columns{grid-template-columns:1fr}.sc-correction-dialog button{min-height:40px}}
.warehouse-manual-actions{display:flex;align-items:center;gap:4px;flex-shrink:0;margin-left:auto}
.warehouse-manual-trigger{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;white-space:nowrap;flex-shrink:0}
.warehouse-manual-trigger svg{flex-shrink:0}
.domestic-toolbar>.warehouse-manual-trigger{margin-left:auto}
.warehouse-manual{box-sizing:border-box;width:min(940px,calc(100% - 24px));max-width:940px;max-height:calc(100dvh - 24px);padding:0;border:1px solid #d9dde0;border-radius:12px;color:#2c343c;background:#fff;overflow:auto;font:16px/1.7 system-ui,sans-serif}
.warehouse-manual::backdrop{background:rgba(25,31,37,.55)}
.warehouse-manual-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 24px;border-bottom:1px solid #e6e8eb;background:#fff}
.warehouse-manual-header span{font-size:12px;color:#5b646c}
.warehouse-manual-header h2{margin:2px 0 0;font-size:24px;line-height:1.4;color:#2c343c}
.warehouse-manual-header button{min-height:44px;min-width:70px;flex-shrink:0}
.warehouse-manual-content{padding:20px 24px 28px}
.warehouse-manual p{font-size:16px;line-height:1.8;margin:12px 0}
.warehouse-manual-devices{display:flex;gap:8px}
.warehouse-manual-devices button{min-height:44px;padding:8px 18px;border:1px solid #c9ced2;border-radius:7px;background:#fff;color:#2c343c;font:inherit;cursor:pointer}
.warehouse-manual-devices button[aria-pressed="true"]{background:#2c343c;border-color:#2c343c;color:#fff}
.warehouse-manual :focus-visible{outline:3px solid #c92540;outline-offset:3px}
.warehouse-manual-entry{padding:12px 16px;background:#f6f6f6;border-left:3px solid #c92540}
.warehouse-manual-steps{list-style:none;padding:0;margin:24px 0}
.warehouse-manual-steps>li{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,360px);align-items:center;gap:24px;padding:24px 0;border-bottom:1px solid #e6e8eb}
.warehouse-manual-steps>li:first-child{padding-top:0}
.warehouse-manual h3{font-size:18px;line-height:1.6;margin:0;color:#2c343c}
.warehouse-manual-steps h3>span{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;margin-right:8px;border-radius:50%;background:#2c343c;color:#fff;font-size:16px}
.warehouse-manual-figure{margin:0;min-width:0}
.warehouse-manual-figure svg{display:block;width:100%;height:auto;font-family:system-ui,sans-serif}
.warehouse-manual-figure figcaption{font-size:11px;line-height:1.6;color:#5b646c;margin-top:6px}
.warehouse-manual-save{padding:16px;background:#fff9e5;border-radius:7px}
.warehouse-manual-save p{margin-bottom:0}
.warehouse-manual-faq{margin-top:24px}
.warehouse-manual-faq details{padding:12px 0;border-bottom:1px solid #e6e8eb}
.warehouse-manual-faq summary{cursor:pointer;min-height:44px;font-weight:600}
.warehouse-manual .warehouse-manual-scope{font-size:13px;color:#5b646c;margin:24px 0 0}
@media(max-width:640px){
 .warehouse-manual{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}
 .warehouse-manual-header{padding:12px 16px}
 .warehouse-manual-header h2{font-size:19px}
 .warehouse-manual-content{padding:16px 16px calc(24px + env(safe-area-inset-bottom))}
 .warehouse-manual-devices button{flex:1}
 .warehouse-manual-steps>li{grid-template-columns:minmax(0,1fr);gap:12px;padding:20px 0}
 .warehouse-manual-actions{gap:0}
 .warehouse-manual-actions .warehouse-manual-trigger{padding:6px}
 .mobile-domestic-heading{gap:6px}
 .mobile-domestic-heading h1{flex:1;font-size:20px}
}


.packing-step-heading{margin:12px 0 16px}.packing-step-heading h2{font-size:20px;line-height:1.5;margin:4px 0}.packing-current-step{display:grid;gap:14px}.packing-current-step .button{min-height:48px;width:100%}.packing-current-step .sc-check{align-items:flex-start;line-height:1.6}.packing-current-step .sc-check input{flex:0 0 auto;margin-top:5px}.packing-transfer-summary{display:grid;gap:12px;margin:0;padding:16px;background:#f6f6f6;border-radius:12px}.packing-transfer-summary div{display:grid;gap:4px}.packing-transfer-summary dt{color:#5e646b}.packing-transfer-summary dd{margin:0;font-weight:650;overflow-wrap:anywhere}.international-receiving h2{font-size:18px;line-height:1.5}.international-receiving-results{display:grid;gap:12px;margin-top:16px}.international-receiving-results article{padding:16px;border:1px solid #dfe2e5;border-radius:12px;overflow-wrap:anywhere}.international-receiving .domestic-scan-photo input{display:none}.international-packing-evidence{margin:12px 0}.international-packing-evidence summary{cursor:pointer}.mobile-packing [hidden]{display:none}
@media(max-width:760px){.international-receiving .domestic-scan-input{display:flex;flex-wrap:wrap}.international-receiving .domestic-scan-input input{flex:1 1 100%;min-width:0}.international-receiving .domestic-scan-input .button{flex:1 1 auto;min-height:48px}.international-receiving-results .button{width:100%;min-height:48px}}

/* Keep the forwarding address readable before any photos or courier details. */
.packing-one-page .domestic-destination{margin:0 0 16px;padding:16px;border:2px solid #b49d29;border-radius:10px;background:#fffce8;font-size:16px;line-height:1.6;overflow-wrap:anywhere}
.packing-one-page .domestic-destination-heading{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.packing-one-page .domestic-destination-heading strong{font-size:20px}
.packing-one-page .domestic-destination .button{min-height:48px;font-size:16px}
.packing-photo-section{margin:16px 0}.packing-photo-section h2{font-size:18px}
.packing-transfer-fields{display:grid;gap:12px;margin-top:16px}
.packing-transfer-fields .sc-fieldset{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.packing-transfer-fields label{min-width:0;font-size:16px}
.packing-transfer-fields input:not([type=checkbox]){width:100%;min-height:48px;font-size:16px;box-sizing:border-box}
.packing-transfer-fields .sc-check{align-items:flex-start;line-height:1.6}.packing-transfer-fields .sc-check input{flex:0 0 auto;margin-top:5px;width:22px;height:22px}
.packing-transfer-fields>.button{width:100%;min-height:52px;font-size:18px}.packing-transfer-fields>.sc-warning{margin:0}
@media(max-width:760px){.packing-one-page .domestic-destination-heading .button{width:100%}}

.source-cancelled-warning{background:#fff1f1;border:2px solid #c72c41;color:#9f2436;font-size:18px;padding:14px 16px;line-height:1.5;overflow-wrap:anywhere}

.sc-purchase-review { color: #b42318; }
.sc-registered-purchases { white-space: normal; overflow-wrap: anywhere; }
.sc-registered-purchases p { margin: .35rem 0; }
.sc-landed-cost summary{cursor:pointer;font-weight:600}
.sc-landed-missing{border:1px solid #e6b800;background:#fffbea;border-radius:8px;padding:8px 12px;margin:8px 0}
.sc-landed-missing ul{margin:4px 0 0 18px;padding:0}
.sc-landed-cost tfoot td{font-weight:600}
.sc-landed-inputs{margin-top:14px;border-top:1px solid #ebebea;padding-top:12px;display:grid;gap:10px}.sc-landed-inline{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:12px}.sc-landed-inline input{max-width:180px}

/* Newest courier update on the phone parcel lists. */
.parcel-latest{display:flex;flex-wrap:wrap;gap:2px 6px;align-items:baseline;width:100%;font-size:13px;line-height:1.4;color:#64706e;text-align:left}
.parcel-latest b{font-weight:600;color:var(--sc-text,inherit)}
.parcel-latest time{font-variant-numeric:tabular-nums}
.parcel-latest small{flex-basis:100%;font-size:12px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.parcel-latest-pickup b{color:#b45309}
.mobile-transit-parcel summary span.parcel-latest,.domestic-tracking-match span.parcel-latest{display:flex;margin-top:6px}
.sc-material-badge{display:inline-block;margin-left:6px;padding:1px 6px;border:1px solid #9cc3e6;border-radius:4px;background:#eef6fd;color:#1f5a8a;font-size:12px;font-weight:600;line-height:1.5;vertical-align:middle;white-space:nowrap}
.sc-material-totals caption{text-align:left;font-weight:600;padding:6px 0}
.sc-receipt-keep{display:flex;gap:10px;align-items:center;padding:12px 16px;border-top:1px solid #e6e7e8}.sc-receipt-keep>input{flex:1;max-width:520px}.sc-surface>h2+.sc-muted{padding:0 16px}
/* 2026-11-16 打包单（备用） */
.packing-sheets{display:grid;gap:14px}
.packing-sheets-rule{padding:14px 16px;background:#fde8e8;border-radius:12px;line-height:1.6}.packing-sheets-rule p{margin:6px 0 0}
.packing-sheets-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:0;color:#5e646b}
.packing-sheet{display:grid;gap:10px;padding:16px;border:1px solid #dfe2e5;border-radius:12px;overflow-wrap:anywhere}
.packing-sheet header{display:flex;gap:8px;align-items:center;justify-content:space-between}.packing-sheet h3{margin:0;font-size:18px}
.packing-sheet p{margin:0}
.packing-sheet-address{padding:12px;background:#fff4d6;border-radius:10px;display:grid;gap:4px;line-height:1.5}
.packing-sheet-rule{padding:10px 12px;background:#e8f1ff;border-radius:10px;line-height:1.6}
.packing-sheet-items{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.packing-sheet-items li{display:grid;grid-template-columns:88px 1fr;gap:12px;align-items:start;padding-bottom:10px;border-bottom:1px solid #eee}
.packing-sheet-items img,.packing-sheet-noimg{width:88px;height:88px;object-fit:contain;background:#f2f2f2;border-radius:8px;display:block}
.packing-sheet-items div{display:grid;gap:2px;line-height:1.45}.packing-sheet-items b{color:#b00020}
.packing-sheet .button{min-height:44px}
.packing-sheet-preview{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.85);color:#fff;overflow:auto;padding:16px;display:grid;gap:12px;align-content:start;justify-items:center}
.packing-sheet-preview img{max-width:100%;height:auto;background:#fff}
.packing-sheets-desktop{margin:0 0 16px;padding:12px 16px;border:1px solid #dfe2e5;border-radius:12px}.packing-sheets-desktop summary{cursor:pointer;font-weight:650}.packing-sheets-desktop[open] summary{margin-bottom:12px}
.store-box-handwritten{margin-top:8px}.store-box-handwritten summary{cursor:pointer;color:#5e646b}.store-box-handwritten label{display:grid;gap:4px;margin:8px 0}
/* 2026-11-16 报损 */
.domestic-item-damage{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin-bottom:6px}
.domestic-item-damage label:first-child{display:flex;gap:6px;align-items:center}.domestic-item-damage input{width:72px}
.domestic-damage-photo.is-required,.merged-sort-photo.is-required{border-color:#b00020;color:#b00020}
.domestic-item-damage-done{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:6px;color:#b00020}
.domestic-item-damage-done .domestic-image-button img{width:48px;height:48px;object-fit:cover}
.merged-sort-damage{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin-top:8px}
.merged-sort-damage label:first-child{display:flex;gap:6px;align-items:center}.merged-sort-damage input{width:72px}
.temp-stock-damaged{color:#b00020;font-weight:600}.domestic-damage-location{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.domestic-damage-location input{width:auto;min-width:140px}
/* 2026-11-17 分货收货引导 */
.merged-sort-places li{font-size:1.05rem;line-height:1.6}
.merged-sort-done{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;padding:10px 12px;border-radius:10px;background:#e7f6ec;color:#1e6b3a}
.merged-sort-done strong{font-size:1.1rem}
.merged-sort-loading{color:#8a5a00}
.merged-sort-ready{margin:8px 0 0;padding:10px 12px;border-radius:10px;background:#e7f6ec;color:#1e6b3a;font-weight:600}
.merged-sort-confirm{position:sticky;bottom:84px;z-index:5;width:100%;min-height:52px;font-size:1.05rem}
.merged-sort-saved{color:#1e6b3a;font-size:.9rem}
/* 2026-11-17 已验收（未打包） */
.received-parcels{display:grid;gap:12px}
.received-parcel{display:grid;gap:8px;padding:14px;border:1px solid #dfe2e5;border-radius:12px;background:#fff;overflow-wrap:anywhere}
.received-parcel header{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline}.received-parcel header span{color:#5e646b;font-size:.9rem}
.received-parcel-order p{margin:0}.received-parcel-order ul{margin:4px 0 0;padding-left:18px;line-height:1.6}
.received-parcel-reopen{display:grid;gap:8px}.received-parcel-reopen textarea{width:100%}
.received-parcels-desktop summary{cursor:pointer;font-weight:650}.received-parcels-desktop[open] summary{margin-bottom:12px}
/* 2026-11-17 每箱装入商品 / 装箱核对 */
.warehouse-box-contents{display:grid;gap:8px;margin-top:8px}
.warehouse-box-item{display:grid;grid-template-columns:48px 1fr 84px auto;gap:8px;align-items:center}
.warehouse-box-item img,.warehouse-box-pick-item img,.pack-check img{width:48px;height:48px;object-fit:contain;background:#f2f2f2;border-radius:6px}
.warehouse-box-item span,.warehouse-box-pick-item span{display:grid;gap:2px;text-align:left}
.warehouse-box-pick{display:grid;gap:6px;padding:10px;border:1px dashed #c9ced3;border-radius:10px}
.warehouse-box-pick-item{display:grid;grid-template-columns:48px 1fr;gap:8px;align-items:center;padding:8px;border:1px solid #dfe2e5;border-radius:8px;background:#fff;font:inherit;cursor:pointer}
.warehouse-box-kind{display:flex;gap:8px;align-items:center}
.domestic-box-delete{color:#b00020}
.pack-check{margin:12px 0;padding:12px;border:1px solid #dfe2e5;border-radius:12px;background:#fff}
.pack-check h3{margin:0 0 8px;font-size:1rem;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.pack-check-bad{color:#b00020;font-size:.9rem}.pack-check-ok{color:#1e6b3a;font-size:.9rem}
.pack-check ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.pack-check li{display:grid;grid-template-columns:48px 1fr auto auto;gap:8px;align-items:center}
.pack-check li.is-off b,.pack-check li.is-off small{color:#b00020}.pack-check li.is-ok small{color:#1e6b3a}

/* 2026-11-17: the barcode question row spans the whole card on phones (it was squeezed into the 48px first column) */
@media(max-width:760px){.domestic-responsive .domestic-receipt-table>tbody>tr.barcode-check-row{display:block;padding:0;border:0;background:transparent}.domestic-responsive .domestic-receipt-table>tbody>tr.barcode-check-row>td{display:block;width:100%;background:transparent}}
/* 2026-11-17 分箱 / 退回重新打包 */
.warehouse-box-move{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px;border:1px dashed var(--line,#ccc);border-radius:6px}.warehouse-box-move label{display:flex;align-items:center;gap:4px}.warehouse-box-move input{width:5em}
.reopen-packing{margin-top:16px;padding-top:12px;border-top:1px solid var(--line,#ddd)}.reopen-packing input{width:100%}
.mobile-handover-facts b,.handover-find b{color:#7a1f2b}.handover-find{margin:8px 0;font-size:1.05em}
.international-handover-hint{margin:12px 0;padding:12px;border-radius:10px;background:#fff6e5;color:#7a4b00;line-height:1.6}.international-products>summary{cursor:pointer;font-weight:600;padding:6px 0}.international-products>summary small{font-weight:400;color:#70777d;margin-left:6px}
.handover-receipt{margin:0 0 16px;padding:14px;border:2px solid #b8323f;border-radius:12px;background:#fff}.handover-receipt h3{margin:0 0 4px;font-size:17px}.handover-receipt h3 small{font-weight:400;color:#70777d;margin-left:6px}.handover-receipt.is-finished{border:1px solid #cfe6d4;background:#f4fbf5}.handover-receipt.is-finished>summary{cursor:pointer;font-weight:600;color:#1f7a37}
.handover-parcel{border:1px solid #e1e5e8;border-radius:10px;margin-top:10px;background:#fafbfc}.handover-parcel.is-received{background:#f4fbf5;border-color:#cfe6d4}.handover-parcel-row{display:flex;align-items:center;gap:10px;padding:10px}.handover-parcel-number{flex:1;min-width:0;display:grid;gap:2px;text-align:left;background:none;border:0;padding:0;cursor:pointer;font:inherit}.handover-parcel-number span{font-size:12px;color:#70777d}.handover-parcel-number strong{font-size:18px;letter-spacing:.5px;overflow-wrap:anywhere;color:#b8323f;text-decoration:underline}.handover-parcel-number small{font-size:12px;color:#70777d}.handover-parcel-row .button{min-height:44px;flex:0 0 auto}.handover-parcel-done{color:#1f7a37;font-weight:600;white-space:nowrap}
.handover-boxes{padding:0 10px 10px;display:grid;gap:10px}.handover-boxes h4{margin:4px 0;font-size:14px}.handover-box-item{display:flex;align-items:center;gap:10px;padding:6px 0;border-top:1px solid #eef0f2}.handover-box-item img,.handover-box-noimg{width:48px;height:48px;object-fit:contain;background:#f1f2f3;border-radius:6px;flex:0 0 auto;display:grid;place-items:center;font-size:11px;color:#858b90}.handover-box-item span{flex:1;min-width:0;overflow-wrap:anywhere}.handover-box-item b{white-space:nowrap}
.international-more{margin-top:16px;padding:10px 12px;border:1px solid #e1e5e8;border-radius:10px}.international-more>summary{cursor:pointer;color:#5e646b}
.handover-receipt{max-width:760px}.handover-box-item b{margin-left:auto}
.international-box-weights{margin-top:12px;display:grid;gap:8px}.international-box-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;padding:8px 10px;border:1px solid #e1e5e8;border-radius:8px}.international-box-row b{min-width:110px;font-size:15px}.international-box-row label{flex:1;min-width:130px}
.international-order-waybills .international-tracking{margin-top:10px}.international-packing-evidence .handover-boxes{padding:8px 0}
/* 售后单 / 售后任务 (owner 2026-11-27) */
.aftersales-list{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:12px}
.aftersales-case,.aftersales-task{border:1px solid var(--line,#dde2e7);border-radius:10px;padding:12px;background:#fff;display:grid;gap:10px;min-width:0}
.aftersales-case-head{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center}.aftersales-case-head span{color:#58616a;font-size:13px}
.aftersales-line{display:grid;grid-template-columns:56px 1fr;gap:10px;align-items:start;min-width:0}
.aftersales-line img,.aftersales-noimg{width:56px;height:56px;object-fit:cover;border-radius:6px;background:#f1f3f5;display:block}
.aftersales-line>div{display:grid;gap:3px;min-width:0}.aftersales-line small{color:#58616a;overflow-wrap:anywhere}
.aftersales-problem{display:inline-block;padding:1px 6px;border-radius:4px;background:#fff0f3;color:#9b1630;font-size:12px}
.aftersales-package_damaged{background:#fff6e5;color:#8a5300}.aftersales-shortage{background:#eef3fb;color:#1f4f8f}
.aftersales-photos{display:flex;flex-wrap:wrap;gap:6px}.aftersales-photos img{width:64px;height:64px;object-fit:cover;border-radius:6px}
.aftersales-resolution{border-left:3px solid #c9d1d9;padding:4px 0 4px 10px;display:grid;gap:3px}.aftersales-resolution small{color:#58616a;overflow-wrap:anywhere}
.aftersales-resolution.aftersales-done{border-left-color:#2e7d4f}.aftersales-resolution.aftersales-cancelled{opacity:.6}
.aftersales-status{font-weight:600}
.aftersales-form{display:grid;gap:8px;min-width:0}.aftersales-form label{display:grid;gap:4px;font-size:14px}.aftersales-form input,.aftersales-form select{min-height:44px;box-sizing:border-box;max-width:100%}
.aftersales-inline{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));align-items:end}
.aftersales-qty input{max-width:120px}
.aftersales-address{display:flex;flex-wrap:wrap;gap:8px;align-items:center;background:#f6f8fa;border-radius:8px;padding:8px;overflow-wrap:anywhere}
.aftersales-hint{margin:0;background:#f6f8fa;border-radius:8px;padding:8px;font-size:14px}
.aftersales-missing{margin:0;color:#9b1630;font-size:13px}
.aftersales-photo-picker{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.domestic-damage-kind{display:flex;flex-wrap:wrap;gap:4px 12px}
.domestic-damage-kind label{display:inline-flex;align-items:center;gap:6px;min-height:36px}
.domestic-damage-kind input[type=radio]{width:20px;height:20px;min-height:0;margin:0;flex:none}
.aftersales .sc-section-heading{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}
.aftersales .sc-section-heading h1{margin:0;white-space:nowrap;font-size:22px}
.aftersales .sc-section-heading select{width:auto;max-width:160px}

.physical-workbench{padding:16px;border:1px solid var(--line,#dedede);border-radius:12px;margin:16px 0;max-width:100%;overflow-wrap:anywhere;background:#fff}
.physical-workbench h3,.physical-workbench h4{margin:0 0 8px}.physical-workbench header{margin-bottom:12px}
.physical-workbench label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-weight:600}.physical-workbench input,.physical-workbench select,.physical-workbench textarea{width:100%;max-width:100%;min-width:0;box-sizing:border-box;min-height:44px;font:inherit;border:1px solid #9b9b9b;border-radius:7px;padding:10px;background:#fff;color:#2c343c}
.physical-workbench input:focus-visible,.physical-workbench select:focus-visible,.physical-workbench textarea:focus-visible{outline:3px solid #c92540;outline-offset:2px}.physical-workbench textarea{min-height:80px;resize:vertical}
.physical-workbench fieldset{min-width:0;border:1px solid #dedede;border-radius:7px;padding:12px;margin:12px 0}.physical-workbench legend{max-width:100%;font-weight:600}.physical-workbench .button{min-height:44px;white-space:normal;margin:8px 0}
.physical-search{display:flex;align-items:end;gap:12px}.physical-search label{flex:1}.physical-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:8px}.physical-list button{display:flex;flex-direction:column;text-align:left;gap:6px;padding:12px;min-height:88px;width:100%;border:1px solid #dedede;border-radius:7px;background:#f6f6f6;color:#2c343c;font:inherit}.physical-list button[aria-pressed=true]{border-color:#c92540;box-shadow:inset 3px 0 #c92540}.physical-list span{font-size:14px}
.physical-workbench .physical-link{flex-direction:row;align-items:start;gap:10px;font-weight:400}.physical-link input{width:24px;min-width:24px;min-height:24px;margin-top:3px;accent-color:#c92540}.physical-link small{display:block;margin-top:4px}
.physical-workbench summary{cursor:pointer;min-height:44px;line-height:24px;padding:10px 0;font-weight:600}.physical-save-state{padding:10px;background:#f6f6f6;border-radius:7px}.physical-detail{margin:16px 0;padding-top:12px;border-top:1px solid #dedede}
.physical-workbench video{display:block;max-width:100%;max-height:300px;border-radius:7px}
.international-box-contents article{border:1px solid #dedede;border-radius:7px;padding:12px;margin:8px 0;overflow-wrap:anywhere}.international-box-contents ul{padding-left:22px}
.warehouse-receipt-history>summary,.warehouse-registry-access>summary{padding:12px 0;min-height:44px;cursor:pointer;font-weight:600;box-sizing:border-box}
@media(max-width:700px){.physical-workbench{padding:12px}.physical-search{display:block}.physical-workbench .button{width:100%}.physical-workbench form{max-width:100%}}
.merged-receipt{margin:12px 0}.merged-receipt-banner{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;padding:12px 14px;border-left:4px solid #e3a008;background:#fff8e1;border-radius:6px;font-size:13px}.merged-receipt-banner strong{font-size:14px}
.merged-receipt-shared{margin:14px 0;padding:12px 14px;border:1px solid #e6e7e8;border-radius:8px}.merged-receipt-shared h3{margin:0 0 4px;font-size:13px}
.merged-receipt-product{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;padding:8px 0;border-top:1px solid #f0f0f0}.merged-receipt-product label{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.merged-receipt-product input{width:110px}.merged-receipt-product ul{display:flex;gap:12px;list-style:none;margin:0;padding:0;font-size:12px}
.merged-receipt-groups{list-style:none;margin:12px 0;padding:0;display:grid;gap:8px}.merged-receipt-groups li{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border:1px solid #e1e3e5;border-radius:8px}.merged-receipt-groups li>div{display:flex;flex-direction:column;gap:3px;font-size:12px}.merged-receipt-groups li.is-done{background:#f3f8f2}.merged-receipt-state{color:#44623d;font-weight:600;white-space:nowrap}
.merged-receipt-labels{margin-top:14px}.merged-receipt-label{display:flex;flex-direction:column;gap:2px;padding:12px 14px;margin:8px 0;border:2px dashed #2c343c;border-radius:6px;font-size:15px}.merged-receipt-label strong{font-size:18px}
.merged-packing-note{padding:10px 14px;margin:0 0 12px;border-left:4px solid #e3a008;background:#fff8e1;border-radius:6px;font-size:12px}.merged-packing-note p{margin:4px 0 0}
@media print{body *{visibility:hidden}.merged-receipt-labels,.merged-receipt-labels *{visibility:visible}.merged-receipt-labels{position:absolute;left:0;top:0;width:100%}.merged-receipt-labels button{display:none}}
.replaceable-photo{display:inline-flex;flex-direction:column;align-items:center;gap:2px}.replaceable-photo-action{font-size:11px;cursor:pointer;min-height:0;padding:2px 4px}.replaceable-photo-action.is-disabled{opacity:.5;pointer-events:none}
.domestic-location-inherit{margin:8px 0;padding:10px 12px;border-left:4px solid #44623d;background:#edf4ec;border-radius:6px;font-size:13px}.domestic-location-inherit strong{font-size:16px}
.domestic-location-first{display:flex;flex-direction:column;gap:6px;margin:8px 0;padding:10px 12px;border-left:4px solid #e3a008;background:#fff8e1;border-radius:6px;font-size:13px;font-weight:600}.domestic-location-first input{max-width:240px;font-weight:400}.domestic-location-first small{font-weight:400;color:#6d7378}
.domestic-withdrawn-badge{display:block;margin:2px 0;color:#fff;background:var(--danger,#b42318);border-radius:4px;padding:2px 6px;font-size:12px;font-weight:600;width:max-content;max-width:100%}
.withdrawn-store{border:2px solid var(--danger,#b42318);border-radius:8px;padding:12px;margin:12px 0;display:grid;gap:8px}
.withdrawn-store h3{margin:0;color:var(--danger,#b42318)}
.withdrawn-store-items{margin:0;padding-left:18px}
.withdrawal-panel .withdrawal-choices{display:grid;gap:8px}
.merged-sort-steps{list-style:none;margin:12px 0;padding:0;display:grid;gap:14px}.merged-sort-steps h3{margin:0 0 8px;font-size:15px}
.merged-sort-product{display:grid;gap:8px;padding:10px 12px;margin-bottom:8px;border:1px solid #e1e3e5;border-radius:8px}
.merged-sort-head{display:flex;gap:10px;align-items:center}.merged-sort-head img,.merged-sort-noimg{width:52px;height:52px;border-radius:6px;object-fit:cover;background:#f1f2f3;flex:none}.merged-sort-head>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.merged-sort-head strong{font-size:14px;overflow-wrap:anywhere}.merged-sort-head small{color:#5f6368}
.merged-sort-head input{width:84px;min-height:44px;font-size:20px;text-align:center}
.merged-sort-photo{position:relative;min-height:44px;display:inline-flex;align-items:center;justify-content:center}.merged-sort-photo input{position:absolute;inset:0;opacity:0;cursor:pointer}
.merged-sort-order{padding:10px 12px;margin-bottom:8px;border:1px solid #e1e3e5;border-radius:8px;background:#f8f9fa}.merged-sort-order.needs-location{background:#fff8e1;border-color:#f1c46b}
.merged-sort-order-head{display:flex;flex-direction:column;gap:2px}.merged-sort-order-head strong{font-size:20px}.merged-sort-order-head span{font-size:12px;color:#5f6368}
.merged-sort-location{display:flex;gap:8px;align-items:center;margin:8px 0}.merged-sort-location input{flex:1;min-height:44px;font-size:16px}
.merged-sort-order ul{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:4px}.merged-sort-order li{font-size:14px}.merged-sort-order li small{color:#a3361e;margin-left:4px}
.merged-sort-qty{display:inline-block;min-width:36px;font-size:22px;font-weight:700}
.merged-sort-missing{color:#a3361e;font-size:13px}.merged-sort-confirm{width:100%;min-height:52px;font-size:16px}
.temp-stock{margin-bottom:16px}.temp-stock-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.temp-stock-row{padding:10px 12px;border:1px solid #e1e3e5;border-radius:8px;display:grid;gap:8px}
.temp-stock-main{display:flex;gap:10px;align-items:flex-start}.temp-stock-main img,.temp-stock-noimg{width:52px;height:52px;border-radius:6px;object-fit:cover;background:#f1f2f3;flex:none}
.temp-stock-main>div{display:flex;flex-direction:column;gap:2px;min-width:0}.temp-stock-main small{color:#5f6368}
.temp-stock-actions{display:flex;gap:8px;flex-wrap:wrap}.temp-stock-actions .button{min-height:44px}
.temp-stock-form{display:grid;gap:8px}.temp-stock-form label{display:grid;gap:4px}.temp-stock-form input{min-height:44px}
.temp-stock-pick{padding:10px 12px;margin:8px 0;border:2px solid #e3a008;background:#fff8e1;border-radius:8px;font-size:15px}
.merged-sort-assign{padding:10px 12px;margin:10px 0;border:1px solid #e1e3e5;border-radius:8px;background:#f8f9fa}.merged-sort-assign.needs-location{background:#fff8e1;border-color:#f1c46b}.merged-sort-assign h3{margin:0 0 6px;font-size:15px}
.merged-sort-location>span{display:flex;flex-direction:column;min-width:0;flex:1 1 40%}.merged-sort-location>span small{color:#5f6368;font-size:12px}
.merged-sort-surplus{padding:10px 12px;border:1px solid #f1c46b;background:#fff8e1;border-radius:8px}
.merged-sort-photo-row{display:flex;gap:8px;align-items:center}
.merged-sort-places{list-style:none;margin:0;padding:8px 10px;background:#f8f9fa;border-radius:6px;display:grid;gap:6px}.merged-sort-places li{font-size:15px}.merged-sort-places b{font-size:18px}.merged-sort-places small{display:block;color:#5f6368;font-size:12px}
.merged-sort-product.is-placed{background:#f3f8f2;border-color:#9bc58f}.merged-sort-product>.button{min-height:48px}

/* 门店订单收货条码核对 (barcode-label.tsx) */
.barcode-check{display:grid;gap:8px;margin:6px 0;padding:10px 12px;border:1px solid #f0c36d;border-radius:10px;background:#fffaf0}
.barcode-check.is-done{display:block;border-color:#9fd3b0;background:#f2fbf5;font-weight:600}
.barcode-check.needs-label{border-color:#e9a23b}
.barcode-check p{margin:0;line-height:1.5}
.barcode-check-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.barcode-check-actions .button{min-height:44px}
.barcode-copy-row{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline}
.barcode-copy-row>span{color:#666;min-width:7em}
.barcode-copy-row strong{font-size:1.15em;word-break:break-all}
.barcode-label-figure{margin:0;max-width:320px}
.barcode-label-preview{width:100%;height:auto;display:block}
.barcode-label-figure figcaption{font-size:.85em;color:#8a5a00;margin-top:4px}
.barcode-check-row td{background:#fffdf7}
.barcode-check-result{display:block;color:#1f7a3f}
.barcode-number{min-height:44px;font-size:1.1em;letter-spacing:.04em;max-width:16em}

/* 2026-11-16 own-store box numbers (R1116-03): big enough to copy onto the carton with a marker */
.store-box-label{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.5rem}
.store-box-label-code{font-size:1.6rem;letter-spacing:.05em;user-select:all;-webkit-user-select:all}
.store-box-next{margin-top:.5rem}

/* ERP layer: one set of tokens and list controls shared by every staff page. Loaded last. */
:root{--erp-ink:#2c343c;--erp-muted:#6e747b;--erp-faint:#9a9fa4;--erp-line:#e5e6e8;--erp-line-strong:#d4d7da;--erp-bg:#f6f6f6;--erp-surface:#fff;--erp-head:#f8f8f7;--erp-hover:#fafafa;--erp-brand:#c92540;--erp-brand-ink:#a71f34;--erp-brand-soft:#fff0f2;--erp-good:#3f6236;--erp-good-soft:#edf3ec;--erp-warn:#86671f;--erp-warn-soft:#fbf5e2;--erp-bad:#a51e35;--erp-bad-soft:#fdecee;--erp-radius:8px}

/* Page heading: title and actions on one line, no explanatory sentence. */
.sc-heading.erp-list-heading{align-items:center;margin-bottom:14px}.sc-heading.erp-list-heading h1{font-size:24px;letter-spacing:-.4px;margin:0}
.sc-surface{border-radius:var(--erp-radius);border-color:var(--erp-line)}

/* Status tabs with counts. */
.erp-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.erp-tab{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border:1px solid var(--erp-line-strong);border-radius:999px;background:var(--erp-surface);color:var(--erp-ink);font:inherit;font-size:13px;cursor:pointer}
.erp-tab:hover{border-color:var(--erp-faint)}
.erp-tab.active{background:var(--erp-brand-soft);border-color:var(--erp-brand);color:var(--erp-brand-ink);font-weight:600}
.erp-tab-count{min-width:20px;padding:0 6px;border-radius:999px;background:var(--erp-bg);color:var(--erp-muted);font-size:11px;font-weight:600;line-height:18px;text-align:center;font-variant-numeric:tabular-nums}
.erp-tab.active .erp-tab-count{background:var(--erp-brand);color:#fff}

/* Filter bar inside a list surface. */
.sc-surface>.sc-filter{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid var(--erp-line)}
.sc-surface>.sc-filter input:not([type=checkbox]){flex:1 1 260px;max-width:360px}
.sc-surface>.sc-filter select{width:auto;min-width:120px}
.sc-filter .erp-filter-spacer{flex:1}
.erp-total{color:var(--erp-muted);font-size:12px;white-space:nowrap}

/* Bulk bar appears above the table once rows are ticked. */
.erp-bulk{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;padding:8px 16px;background:var(--erp-brand-soft);border-bottom:1px solid #f2cdd4;font-size:13px}
.erp-bulk strong{color:var(--erp-brand-ink)}
.erp-bulk .button{min-height:30px;padding:0 12px;font-size:12px}
.erp-bulk-result{font-size:12px;color:var(--erp-muted)}
.erp-check{width:16px;height:16px;margin:0;accent-color:var(--erp-brand);cursor:pointer;vertical-align:middle}
th.erp-select,td.erp-select{width:36px;padding-left:16px!important;padding-right:4px!important}

/* Tables: quiet header that stays put, steady row height, numbers aligned right. */
.sc-table thead th{background:var(--erp-head);color:var(--erp-muted);font-size:12px;font-weight:500;border-bottom:1px solid var(--erp-line)}
.sc-table-scroll{max-height:none}
.sc-table tbody tr:hover>td{background:var(--erp-hover)}
.sc-table td{border-bottom:1px solid var(--erp-line)}
.sc-order-table th,.sc-order-table td{padding:8px 12px}
.sc-order-table th .sc-link{font:inherit;color:inherit}
.erp-sortable{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:none;color:inherit;font:inherit;cursor:pointer;white-space:nowrap}
.erp-sortable[aria-pressed=true]{color:var(--erp-ink);font-weight:600}

/* Column picker. */
.erp-columns{position:relative}
.erp-columns>summary{list-style:none;cursor:pointer;font-size:12px;color:var(--erp-brand-ink);padding:6px 0}
.erp-columns>summary::-webkit-details-marker{display:none}
.erp-columns-menu{position:absolute;right:0;top:100%;z-index:20;display:grid;gap:6px;min-width:180px;padding:12px;background:var(--erp-surface);border:1px solid var(--erp-line-strong);border-radius:var(--erp-radius);box-shadow:0 8px 24px rgba(0,0,0,.08)}
.erp-columns-menu label{display:flex;align-items:center;gap:8px;font-size:13px;white-space:nowrap}

/* Pagination: total, numbered pages, page size. */
.erp-pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:4px;padding:10px 16px;border-top:1px solid var(--erp-line);font-size:12px;color:var(--erp-muted)}
.erp-pager-total{margin-right:10px}
.erp-page{min-width:30px;height:30px;padding:0 8px;border:1px solid transparent;border-radius:6px;background:none;color:var(--erp-ink);font:inherit;cursor:pointer;font-variant-numeric:tabular-nums}
.erp-page:hover:not(:disabled){border-color:var(--erp-line-strong)}
.erp-page.active{border-color:var(--erp-brand);color:var(--erp-brand-ink);font-weight:600}
.erp-page:disabled{color:var(--erp-faint);cursor:default}
.erp-page-gap{padding:0 4px}
.erp-page-size{display:inline-flex;align-items:center;gap:6px;margin:0 0 0 10px;white-space:nowrap;font-size:12px;color:var(--erp-muted)}
.erp-page-size select{width:auto;min-width:76px;height:30px;padding:0 8px;font-size:12px}

/* Purchase follow-up views live under tabs instead of below the table. */
.erp-subview{padding:0 16px 16px}
.erp-subview .domestic-purchase-issue{border-bottom:1px solid var(--erp-line)}

/* Package progress collapsed into one column. */
.erp-progress{display:flex;flex-direction:column;gap:2px;white-space:nowrap}
.erp-progress strong{font-variant-numeric:tabular-nums}
.erp-progress small{color:var(--erp-muted);font-size:11px}
.erp-progress .erp-progress-bad{color:var(--erp-bad)}

@media(max-width:760px){
  .erp-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px;margin-bottom:10px}
  .erp-tab{flex-shrink:0}
  .erp-pager{justify-content:center}
  .erp-pager-total{width:100%;text-align:center;margin:0 0 4px}
  .sc-heading h1{font-size:21px}
}

/* Logistics channels: choose after packing, switch before dispatch. */
.channel-panel{margin:0 0 16px;padding:14px 16px;border:1px solid var(--erp-line);border-radius:var(--erp-radius);background:var(--erp-surface)}
.channel-panel-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-bottom:6px}
.channel-panel-head h3{margin:0;font-size:14px}
.channel-summary{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px 10px}
.channel-summary span{color:var(--erp-muted);font-size:12px}
.channel-summary .sc-status{color:var(--erp-ink)}
.channel-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px;font-size:13px}
.channel-form{display:grid;gap:12px;margin-top:10px}
.channel-options td{vertical-align:middle;white-space:normal;overflow-wrap:break-word}
.channel-options .channel-price{min-width:220px}
.channel-options .channel-name{min-width:150px}
.channel-options .channel-eta{white-space:nowrap}
.channel-options tbody tr{cursor:pointer}
.channel-options td small{display:block;color:var(--erp-muted);font-size:11px;margin-top:2px}
.channel-options .channel-ineligible{cursor:default}
.channel-options .channel-ineligible td{color:var(--erp-faint)}
.channel-options .channel-reason{color:var(--erp-warn)!important}
.channel-handover{border:0;margin:0;padding:0;display:grid;gap:6px}
.channel-handover legend{font-size:13px;font-weight:600;margin-bottom:4px}
.channel-note{display:grid;gap:4px;max-width:520px;font-size:13px}
.channel-actions{display:flex;align-items:center;gap:12px}
.channel-history{font-size:12px;color:var(--erp-muted)}
.channel-history ul{margin:6px 0 0;padding-left:18px}
.channel-bulk{display:grid;gap:12px;padding:14px 16px;border-bottom:1px solid var(--erp-line);background:var(--erp-hover)}
.channel-bulk h3{margin:0;font-size:14px}
.sc-order-channel small{display:block;color:var(--erp-warn);font-size:11px}
.channel-integration,.channel-pricing{display:grid;gap:10px;margin:8px 0;padding:12px;border:1px solid var(--erp-line);border-radius:var(--erp-radius);min-width:0}
.channel-integration legend,.channel-pricing legend{padding:0 4px;font-weight:600}
.channel-integration small,.channel-pricing small{color:var(--erp-muted)}
.channel-pricing>p{margin:0}
.price-bands{display:grid;gap:10px}
.price-band{display:grid;gap:8px}
.price-band+.price-band{padding-top:10px;border-top:1px dashed var(--erp-line)}
.price-band-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.price-band-head span{color:var(--erp-muted);font-size:12px}
.price-band-head .text-button{margin-left:auto}
.price-bands>.text-button{justify-self:start}
.channel-options .channel-price span{display:block}
.route-integration{display:block;color:var(--erp-muted)}
.handover-panel{display:grid;gap:12px}
.handover-panel form{display:grid;gap:12px}
.mobile-segments{display:flex;gap:8px;margin:0 0 12px}
.mobile-segments button{flex:1;min-height:40px;border:1px solid var(--erp-line-strong);border-radius:999px;background:var(--erp-surface);color:var(--erp-ink);font:inherit;font-size:13px}
.mobile-segments button[aria-pressed=true]{border-color:var(--erp-brand);background:var(--erp-brand-soft);color:var(--erp-brand-ink);font-weight:600}
.channel-panel input[type=radio],.channel-bulk input[type=radio],.channel-panel input[type=checkbox],.channel-bulk input[type=checkbox]{flex:0 0 auto;width:16px;height:16px;min-height:0;margin:0;padding:0;accent-color:var(--erp-brand)}
.channel-handover .sc-check,.channel-form>.sc-check{justify-content:flex-start;margin:0;min-height:0;font-size:13px}
.handover-panel{padding:16px 20px}
.handover-panel .button{justify-self:start;width:auto;min-width:160px}
.handover-panel .international-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media(max-width:760px){.handover-panel{padding:12px 0}.handover-panel .international-fields{grid-template-columns:1fr}.handover-panel .button{width:100%}}

/* Detail pages: summary strip, then tabs. */
.erp-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:0;margin:0 0 14px;background:var(--erp-surface);border:1px solid var(--erp-line);border-radius:var(--erp-radius)}
.erp-summary>div{padding:10px 14px;border-right:1px solid var(--erp-line);min-width:0}
.erp-summary>div:last-child{border-right:0}
.erp-summary dt{color:var(--erp-muted);font-size:11px;margin:0 0 3px}
.erp-summary dd{margin:0;font-size:13px;font-weight:600;color:var(--erp-ink);overflow-wrap:anywhere}
.erp-summary dd small{display:block;font-weight:400;color:var(--erp-muted);font-size:11px}
.erp-detail-tabs{display:flex;gap:2px;margin:0 0 14px;border-bottom:1px solid var(--erp-line);overflow-x:auto}
.erp-detail-tab{display:inline-flex;align-items:center;gap:6px;padding:10px 14px;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;background:none;color:var(--erp-muted);font:inherit;font-size:14px;white-space:nowrap;cursor:pointer}
.erp-detail-tab:hover{color:var(--erp-ink)}
.erp-detail-tab.active{color:var(--erp-brand-ink);border-bottom-color:var(--erp-brand);font-weight:600}
.erp-tab-panel{display:grid;gap:14px}
.erp-tab-panel[hidden]{display:none}
.erp-tab-panel>.sc-surface,.erp-tab-panel>section{margin:0}
.erp-alert{margin:0 0 12px}
@media(max-width:760px){.erp-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.erp-summary>div{border-right:0;border-bottom:1px solid var(--erp-line)}.erp-detail-tab{padding:10px 10px;font-size:13px}}

/* Partner management: list as a table, partner settings under tabs. */
.partner-table{width:100%;border-collapse:collapse;font-size:13px}
.partner-table th{background:var(--erp-head);color:var(--erp-muted);font-weight:500;font-size:12px;text-align:left;padding:8px 12px;border-bottom:1px solid var(--erp-line);white-space:nowrap}
.partner-table td{padding:10px 12px;border-bottom:1px solid var(--erp-line);vertical-align:top}
.partner-table tbody tr:hover td{background:var(--erp-hover)}
.partner-table td small{display:block;color:var(--erp-muted);font-size:11px;margin-top:2px}
.partner-table .number{text-align:right;font-variant-numeric:tabular-nums}
.partner-tabs{margin:4px 0 16px}

/* Partner earnings: totals strip, ledger table, bulk payment. */
.earnings-totals{margin:0 0 14px}
.earnings-totals .earnings-due{color:var(--erp-warn)}
.earnings-table .number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.earnings-table a{font-weight:600;color:var(--erp-brand-ink)}
.earnings-table .earnings-basis{display:block;margin-top:3px;color:var(--erp-muted);font-size:11px}
.earnings-ledger .sc-filter .erp-total{white-space:normal}
.earnings-wallet{margin:0;padding:10px 12px;border:1px solid var(--erp-line);border-radius:6px;min-width:0}
.earnings-wallet legend{font-weight:600;font-size:13px;padding:0 4px}
.earnings-wallet legend em{font-style:normal;font-weight:400;color:var(--erp-muted)}
.earnings-wallet-search{display:flex;gap:8px;margin:6px 0}
.earnings-wallet-search input{flex:1;min-width:0}
.earnings-wallet-list,.earnings-wallet-linked{list-style:none;margin:0;padding:0;max-height:260px;overflow:auto;font-size:12px}
.earnings-wallet-list li{padding:6px 4px;border-bottom:1px solid var(--erp-line);overflow-wrap:anywhere}
.earnings-wallet-list li.picked{background:var(--erp-head)}
.earnings-wallet-list label{display:flex;gap:6px;align-items:baseline;flex-wrap:wrap}
.earnings-wallet-amount input{width:110px}
.earnings-wallet-linked li{color:var(--erp-muted)}
.earnings-bulk-wallet{max-height:50vh;overflow:auto;margin:0;padding-left:20px;font-size:12px}
.earnings-bulk-wallet summary{cursor:pointer;padding:4px 0}
.earnings-bulk-list{max-height:220px;overflow:auto;margin:0;padding:8px 12px 8px 28px;border:1px solid var(--erp-line);border-radius:6px;font-size:12px;line-height:1.8;background:var(--erp-head)}
@media(max-width:640px){
  .earnings-ledger .sc-filter .erp-total{display:none}
  .earnings-table,.earnings-table tbody{display:block}
  .earnings-table thead,.earnings-table .earnings-optional{display:none}
  .earnings-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"ref amount" "service status";gap:4px 12px;padding:12px 14px;border-bottom:1px solid var(--erp-line)}
  .earnings-table.with-select tbody tr{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"check ref amount" "check partner status" "check service service" "check action action"}
  .earnings-table tbody td{display:block;padding:0;border:0;overflow-wrap:normal}
  .earnings-table .e-check{grid-area:check;padding-top:1px}
  .earnings-table .e-ref{grid-area:ref}
  .earnings-table .e-partner{grid-area:partner;color:var(--erp-muted)}
  .earnings-table .e-service{grid-area:service}
  .earnings-table .e-amount{grid-area:amount}
  .earnings-table .e-status{grid-area:status;justify-self:end;text-align:right}
  .earnings-table .e-action{grid-area:action}
  .earnings-table tbody tr:hover>td{background:transparent}
  .channel-options{min-width:820px}
  .channel-options td{overflow-wrap:normal}
}

/* Shipping channels on the partner page. */
.route-table-panel{padding:0;overflow:hidden}
.route-table td small{display:block;margin-top:2px;color:var(--erp-muted);font-size:11px}
.route-table .number{text-align:right;white-space:nowrap}
.route-table .route-price strong{display:block;white-space:nowrap}
.route-table .route-actions{white-space:nowrap}
.route-table .route-actions .text-button+.text-button{margin-left:12px}
.route-table .route-integration{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.route-table tbody tr:last-child>td{border-bottom:0}
.route-footnote{max-width:none;margin:0;padding:10px 16px;border-top:1px solid var(--erp-line);color:var(--erp-muted);font-size:12px}
@media(max-width:640px){.route-table{min-width:760px}.route-table td{overflow-wrap:normal}}

/* Reading the carrier's system: status on the dispatch form, channel panel and list. */
.logistics-sync{border:1px solid var(--erp-line);border-left:3px solid var(--erp-faint);border-radius:6px;padding:10px 14px;margin:0 0 14px;background:var(--erp-surface);font-size:13px}
.logistics-sync strong{display:block;margin-bottom:2px}
.logistics-sync p{margin:2px 0}
.logistics-sync .button{margin-top:8px}
.logistics-sync-found{border-left-color:var(--erp-good);background:var(--erp-good-soft)}
.logistics-sync-fallback{border-left-color:var(--erp-warn);background:var(--erp-warn-soft)}
.sc-order-channel .sc-sync{display:block;font-size:11px;margin-top:2px;color:var(--erp-muted)}
.sc-order-channel .sc-sync-found{color:var(--erp-good)}
.sc-order-channel .sc-sync-fallback{color:var(--erp-warn);font-weight:600}
.logistics-sync-line{margin:6px 0 0;font-size:12px;color:var(--erp-muted)}
.logistics-sync-line-found{color:var(--erp-good)}
.logistics-sync-line-fallback{color:var(--erp-warn)}
.logistics-sync-line .text-button{margin-left:8px}

/* 商品与采购规格: one row per spec. */
.spec-table td small{display:block;margin-top:2px;color:var(--erp-muted);font-size:11px}
.spec-table td .spec-missing{color:var(--erp-warn);max-width:260px}
.spec-table .sc-product-identity img{width:36px;height:36px}
/* Forwarders & channels */
.route-head-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.forwarder-overview{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;margin:0 0 12px}
.forwarder-card{display:flex;flex-direction:column;gap:2px;text-align:left;padding:10px 12px;border:1px solid var(--line,#d9dee5);border-radius:8px;background:var(--panel,#fff);color:inherit;font:inherit;cursor:pointer}
.forwarder-card span{font-size:13px}.forwarder-card small{color:var(--muted,#6b7280);font-size:12px}
.forwarder-card.active{border-color:var(--accent,#2563eb);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent,#2563eb) 25%,transparent)}
.channel-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 10px}
.channel-filters select,.channel-filters input{min-height:34px;max-width:100%;width:auto;margin:0}
.channel-filters select{flex:0 1 auto}
.channel-filters input{flex:1 1 180px;min-width:140px}
.route-name .route-forwarder{display:block;font-size:12px;color:var(--muted,#6b7280)}
.route-note,.channel-note{display:block;max-width:360px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted,#6b7280)}
.channel-profile textarea,.channel-import textarea{width:100%;font:inherit}
.channel-transport-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}
.channel-transport-tab{border:1px solid var(--line,#d9dee5);border-radius:999px;padding:4px 12px;background:var(--panel,#fff);color:inherit;font:inherit;font-size:13px;cursor:pointer}
.channel-transport-tab.active{background:var(--accent,#2563eb);border-color:var(--accent,#2563eb);color:#fff}
.channel-import-table input:not([type=checkbox]),.channel-import-table select{min-width:0;width:100%}
.channel-import-table td:nth-child(2){min-width:180px}.channel-import-table td:nth-child(2) small{display:block;max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted,#6b7280)}
.channel-import-days{white-space:nowrap}.channel-import-days input{width:56px!important;display:inline-block}
.channel-import-off{opacity:.5}
@media (max-width:640px){.forwarder-overview{grid-template-columns:1fr 1fr}.route-note,.channel-note{max-width:220px}}
.sc-execution-channel{margin:12px 0}.sc-execution-channel h3{margin:0 0 4px}.sc-warning-text{color:var(--warning,#b45309);font-weight:600}
.channel-all-in{margin-left:6px;font-size:11px}
.channel-freight-only{margin-left:6px;font-size:11px;opacity:.8}

/* Buckydrop line health banner (international logistics page, admin). */
.buckydrop-health { margin: 12px 0; padding: 10px 14px; border-radius: 8px; border: 1px solid #c9d7c9; background: #f3f8f3; font-size: 14px; }
.buckydrop-health.alert { border-color: #e2b4ad; background: #fbf1ef; }
.buckydrop-health ul { margin: 6px 0 0 18px; padding: 0; }
