/* Employee styles: shadowed declarations removed; cascade order retained. */
:root {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: rgb(87, 99, 111);
  background: rgb(245, 248, 252);
  font-size: 13px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0px;
  min-width: 960px;
}

button, input, select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  opacity: 0.45;
  cursor: default;
}

.topnav {
  height: 50px;
  display: flex;
  align-items: stretch;
  background: rgb(44, 64, 80);
  color: rgb(255, 255, 255);
  position: sticky;
  top: 0px;
  z-index: 10;
}

.logo {
  width: 180px;
  border: 0px;
  background: rgb(44, 64, 80);
  display: grid;
  place-items: center;
}

.logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  background: rgb(255, 255, 255);
}

.nav-group {
  position: relative;
}

.nav-trigger {
  height: 50px;
  padding: 0px 25px;
  border: 0px;
  color: rgb(255, 255, 255);
  background: transparent;
}

.nav-trigger:hover, .nav-group.selected .nav-trigger, .nav-group.open .nav-trigger {
  background: rgb(255, 255, 255);
  color: rgb(51, 70, 87);
}

#password-button .pwd-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 6px;
  border-radius: 50%;
  background: rgb(231, 76, 60);
  vertical-align: middle;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.25);
}

.nav-menu {
  display: none;
  position: absolute;
  top: 50px;
  left: 0px;
  min-width: 190px;
  max-height: 75vh;
  overflow: auto;
  background: rgb(255, 255, 255);
  box-shadow: rgba(32, 48, 64, 0.2) 0px 8px 24px;
  border: 1px solid rgb(217, 225, 233);
  z-index: 12;
  padding: 6px 0px;
}

.nav-group.open .nav-menu {
  display: block;
}

.nav-menu button {
  display: block;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  border: 0px;
  background: rgb(255, 255, 255);
  color: rgb(66, 85, 106);
  padding: 8px 16px;
}

.nav-menu button:hover {
  background: rgb(237, 245, 240);
  color: rgb(56, 131, 77);
}

.nav-spacer {
  flex: 1 1 0%;
}

.nav-icon {
  padding: 17px;
}

.page-heading {
  height: 52px;
  padding: 6px 20px;
  background: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: rgba(39, 56, 73, 0.082) 0px 2px 7px;
}

.page-heading h1 {
  font-weight: 400;
  font-size: 24px;
  margin: 0px;
  color: rgb(100, 117, 135);
}

.page-heading span {
  font-size: 14px;
  color: rgb(117, 128, 138);
}

main {
  padding: 18px 20px 50px;
  min-height: calc(-132px + 100vh);
}

footer [data-system-about] { border: 0; padding: 0 4px; background: transparent; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; }
#system-about-dialog { width: min(420px, 90vw); border: 1px solid #dbe5ef; border-radius: 12px; padding: 24px; color: #28445e; box-shadow: 0 16px 48px #19344e33; }
#system-about-dialog::backdrop { background: #16304755; }
#system-about-dialog button { padding: 8px 24px; cursor: pointer; }
footer {
  height: 34px;
  background: rgb(44, 64, 80);
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 8px;
  font-size: 11px;
}

.home-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.home-stat {
  border: 0px;
  text-align: left;
  background: rgb(255, 255, 255);
  height: 94px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.home-stat strong {
  font-size: 22px;
}

.home-stat span {
  font-size: 12px;
}

.home-stat b {
  height: 10px;
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: 16px;
}

.home-flow {
  background: rgb(255, 255, 255);
  min-height: 235px;
}

.home-flow h2 {
  margin: 0px;
  background: rgb(71, 137, 109);
  color: rgb(255, 255, 255);
  font-size: 18px;
  font-weight: 400;
  padding: 6px 14px;
}

.flow-steps {
  height: 196px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
}

.flow-steps::before {
  content: "";
  height: 3px;
  background: rgb(101, 181, 112);
  position: absolute;
  left: 4%;
  right: 4%;
  top: 53%;
}

.flow-steps button {
  border: 0px;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  font-size: 17px;
  color: rgb(111, 126, 137);
  z-index: 1;
  min-width: 12%;
}

.flow-steps button::after {
  content: "✓";
  border: 3px solid rgb(101, 181, 112);
  border-radius: 50%;
  width: 27px;
  height: 27px;
  line-height: 23px;
  color: rgb(96, 178, 97);
  background: rgb(255, 255, 255);
  order: 1;
}

.flow-steps button i {
  order: 2;
  font-size: 13px;
  font-style: normal;
}

.filter-panel {
  background: rgb(255, 255, 255);
  padding: 8px;
  margin-bottom: 19px;
}

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

.filter-pair {
  display: flex;
  height: 32px;
  min-width: 0px;
}

.filter-pair span {
  width: 36%;
  flex: 0 0 auto;
  background: rgb(242, 244, 246);
  display: grid;
  place-items: center;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0px 3px;
}

.filter-pair input {
  width: 64%;
  min-width: 0px;
  border: 1px solid rgb(211, 216, 221);
  background: rgb(255, 255, 255);
  padding: 0px 10px;
  outline: none;
}

.filter-pair input:focus, .modal-grid input:focus, .shipment-columns input:focus {
  border-color: rgb(90, 175, 104);
}

.filter-pair input::placeholder {
  color: rgb(180, 190, 201);
}

.filter-buttons {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.filter-buttons button {
  height: 32px;
  flex: 1 1 0%;
  background: rgb(245, 246, 247);
  border: 1px solid rgb(215, 218, 221);
  color: rgb(102, 102, 102);
}

.filter-buttons .green, .green {
  background: rgb(98, 177, 101) !important;
  border-color: rgb(98, 177, 101) !important;
  color: rgb(255, 255, 255) !important;
}

.action-bar {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin: 0px 0px 8px;
}

.action-dark {
  height: 29px;
  background: rgb(64, 88, 100);
  color: rgb(255, 255, 255);
  border: 0px;
  border-radius: 2px;
  padding: 0px 10px;
}

.action-dark:hover {
  background: rgb(41, 61, 73);
}

.status-tabs {
  display: flex;
  background: rgb(255, 255, 255);
  border-bottom: 4px solid rgb(234, 83, 77);
  overflow: auto;
}

.status-tabs button {
  background: rgb(255, 255, 255);
  border: 0px;
  white-space: nowrap;
  padding: 11px 12px;
  color: rgb(103, 116, 129);
}

.status-tabs button.active {
  color: rgb(255, 255, 255);
  background: rgb(233, 85, 78);
}

.table-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgb(255, 255, 255);
  padding: 7px 8px;
  overflow: auto;
  white-space: nowrap;
}

.table-tools button {
  border: 1px solid rgb(212, 217, 223);
  background: rgb(247, 248, 249);
  padding: 6px 12px;
  color: rgb(82, 97, 111);
}

.table-tools .selected-count {
  color: rgb(35, 105, 164);
  background: rgb(255, 255, 255);
}

.table-scroll {
  overflow: auto;
  background: rgb(255, 255, 255);
}

table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 12px;
}

th, td {
  padding: 9px 8px;
  text-align: left;
  border-bottom: 1px solid rgb(233, 237, 241);
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

th {
  background: rgb(248, 250, 251);
  color: rgb(83, 97, 108);
  font-weight: 600;
}

tbody tr:nth-child(2n) {
  background: rgb(252, 252, 253);
}

tbody tr:hover {
  background: rgb(244, 250, 245);
}

td:first-child, th:first-child {
  width: 28px;
}

input[type="checkbox"] {
  accent-color: rgb(87, 174, 99);
}

.row-link {
  padding: 0px;
  border: 0px;
  background: none;
  color: rgb(8, 107, 179);
  text-align: left;
}

.row-link:hover {
  text-decoration: underline;
}

.empty {
  text-align: center;
  padding: 36px;
  color: rgb(170, 180, 190);
}

.pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding: 15px 5px;
  color: rgb(93, 107, 118);
}

.pagination button, .pagination select {
  background: rgb(255, 255, 255);
  border: 1px solid rgb(212, 217, 223);
  padding: 5px 9px;
  color: rgb(89, 112, 136);
}

.pagination b {
  border: 1px solid rgb(25, 132, 220);
  padding: 5px 9px;
  background: rgb(255, 255, 255);
  color: rgb(25, 132, 220);
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(130deg, rgb(32, 55, 69), rgb(54, 82, 105) 52%, rgb(237, 244, 247) 52%);
}

.login-card {
  background: rgb(255, 255, 255);
  width: 390px;
  padding: 35px 40px;
  box-shadow: rgba(16, 39, 55, 0.2) 0px 20px 50px;
  text-align: center;
}

.login-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.login-card h1 {
  font-size: 21px;
  margin: 12px 0px 0px;
  color: rgb(46, 67, 82);
}

.login-card p {
  margin: 0px 0px 24px;
  color: rgb(119, 135, 149);
}

.login-card form {
  display: grid;
  gap: 12px;
}

.login-card input {
  height: 38px;
  padding: 0px 12px;
  border: 1px solid rgb(207, 215, 222);
}

.login-card button {
  height: 38px;
  border: 0px;
}

.login-card #demo-enter {
  background: rgb(237, 244, 239);
  color: rgb(70, 138, 83);
  width: 100%;
  margin-top: 10px;
}

.login-card small {
  display: block;
  color: rgb(158, 172, 183);
  margin-top: 16px;
}

.modal-shade {
  position: fixed;
  inset: 0px;
  background: rgba(28, 38, 48, 0.65);
  z-index: 19;
}

.demo-modal {
  position: fixed;
  top: 7vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(820px, 90vw);
  max-height: 86vh;
  background: rgb(255, 255, 255);
  z-index: 20;
  box-shadow: rgba(16, 24, 32, 0.267) 0px 15px 55px;
  display: flex;
  flex-direction: column;
}

.demo-modal.wide {
  width: min(1150px, 94vw);
  top: 0px;
  max-height: 100vh;
  height: 100vh;
}

.modal-head {
  height: 50px;
  flex: 0 0 auto;
  border-bottom: 1px solid rgb(220, 225, 230);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 16px;
}

.modal-head h2 {
  font-size: 18px;
  font-weight: 400;
  color: rgb(98, 116, 135);
  margin: 0px;
}

.modal-head button {
  font-size: 24px;
  border: 0px;
  background: none;
  color: rgb(101, 117, 133);
}

.modal-content {
  padding: 20px 28px;
  overflow: auto;
  flex: 1 1 0%;
}

.modal-foot {
  border-top: 1px solid rgb(220, 225, 230);
  padding: 12px 20px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.modal-foot button {
  min-width: 170px;
  height: 32px;
  background: rgb(245, 246, 247);
  border: 1px solid rgb(211, 216, 221);
}

.modal-foot .danger {
  background: rgb(231, 90, 84);
  color: rgb(255, 255, 255);
  border-color: rgb(231, 90, 84);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
}

.modal-grid label, .shipment-columns label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-grid label span, .shipment-columns label span {
  width: 130px;
  text-align: right;
  flex: 0 0 auto;
}

.modal-grid input, .shipment-columns input, .shipment-columns select, .shipment-step input {
  height: 33px;
  border: 1px solid rgb(209, 216, 223);
  padding: 0px 9px;
  flex: 1 1 0%;
  min-width: 0px;
  background: rgb(255, 255, 255);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px 20px;
}

.detail-grid div {
  border-bottom: 1px solid rgb(237, 240, 242);
  padding: 9px 0px;
  display: flex;
  gap: 10px;
}

.detail-grid dt {
  width: 120px;
  color: rgb(140, 153, 165);
}

.detail-grid dd {
  margin: 0px;
  color: rgb(69, 85, 104);
}

.step-indicator {
  display: flex;
  gap: 24px;
  margin: 0px 0px 22px;
  border-bottom: 1px solid rgb(226, 230, 235);
  padding-bottom: 14px;
  color: rgb(130, 144, 157);
}

.step-indicator b {
  color: rgb(75, 161, 90);
}

.shipment-step {
  max-width: 760px;
  margin: 0px auto;
}

.shipment-step > label {
  display: flex;
  align-items: center;
  gap: 16px;
}

.shipment-step > label input {
  width: 100%;
}

.customer-list {
  border: 1px solid rgb(214, 221, 227);
  margin-top: 18px;
}

.customer-list label {
  display: block;
  padding: 12px;
  border-bottom: 1px solid rgb(237, 240, 242);
}

.customer-list label:hover {
  background: rgb(245, 250, 246);
}

.customer-list label input {
  width: auto;
  height: auto;
}

.shipment-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.shipment-columns > div {
  display: grid;
  gap: 14px;
  align-content: start;
}

.shipment-columns em {
  color: rgb(233, 71, 68);
  font-style: normal;
}

.dark-green {
  background: rgb(72, 151, 83) !important;
}

#toast {
  position: fixed;
  left: 50%;
  bottom: 50px;
  transform: translateX(-50%);
  background: rgb(40, 63, 76);
  color: rgb(255, 255, 255);
  padding: 10px 18px;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

#toast.show {
  opacity: 1;
}

@media (max-width: 1100px) {
  .filter-grid {
    grid-template-columns: repeat(3, minmax(0px, 1fr));
  }

  .nav-trigger {
    padding: 0px 14px;
  }
}

@media (max-width: 700px) {
  body {
    min-width: 0px;
  }

  .topnav {
    overflow-x: auto;
  }

  .logo {
    min-width: 65px;
    width: 65px;
  }

  .nav-trigger {
    white-space: nowrap;
  }

  .page-heading {
    padding: 7px 12px;
  }

  .page-heading h1 {
    font-size: 20px;
  }

  main {
    padding: 12px;
  }

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

  .shipment-columns {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .home-stats {
    grid-template-columns: 1fr;
  }

  .flow-steps {
    overflow: auto;
  }

  .flow-steps button {
    min-width: 90px;
  }
}

.special-panel {
  background: rgb(255, 255, 255);
  padding: 20px;
  min-height: 300px;
}

.special-panel h2 {
  font-weight: 400;
  color: rgb(86, 108, 126);
  margin: 0px 0px 12px;
}

.special-panel p {
  color: rgb(130, 144, 157);
}

.special-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: 16px 28px;
  max-width: 900px;
  margin: 20px 0px;
}

.special-grid label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.special-grid select, .special-grid input, .special-panel table select, .special-panel table input, .modal-grid select {
  height: 33px;
  border: 1px solid rgb(209, 216, 223);
  padding: 0px 9px;
  background: rgb(255, 255, 255);
  min-width: 0px;
  flex: 1 1 0%;
}

.special-actions {
  display: flex;
  gap: 10px;
  margin: 16px 0px;
}

.special-actions button {
  border: 1px solid rgb(209, 216, 223);
  padding: 7px 20px;
  background: rgb(245, 246, 247);
}

.special-panel table td:first-child, .special-panel table th:first-child {
  width: 70px;
}

.org-node {
  border-left: 3px solid rgb(98, 177, 101);
  background: rgb(246, 250, 247);
  padding: 12px 16px;
  margin: 10px 0px;
  max-width: 500px;
}

.org-node small {
  display: block;
  color: rgb(139, 151, 161);
  margin-top: 4px;
}

.form-note {
  padding: 12px;
  background: rgb(247, 249, 251);
  color: rgb(110, 126, 137);
  margin-top: 18px;
}

@media (max-width: 700px) {
  .special-grid {
    grid-template-columns: 1fr;
  }
}

#user-watermark {
  position: fixed;
  inset: 40px 0px 0px;
  z-index: 9999;
  pointer-events: none;
  user-select: none;
  background-repeat: repeat;
  background-size: 240px 190px;
}

@media print {
  #user-watermark {
    display: none;
  }
}

/* Account actions stay below the signed-in user at the right edge. */
.account-menu > .nav-menu { left: auto; right: 0; min-width: 150px; }

.shipment-customer-reference{color:#80878d;line-height:1.6;margin-top:3px;white-space:normal;overflow-wrap:anywhere}.table-scroll td:has(.shipment-customer-reference)>.row-link{color:#0086c9}

/* Compact shipment list matching the supplied reference. */
.shipment-reference-list table{width:100%;min-width:1450px;table-layout:fixed}.shipment-reference-list th,.shipment-reference-list td{font-size:12px;line-height:18px;padding:12px 6px;text-align:left;white-space:normal;overflow-wrap:anywhere;border-bottom:1px solid #eee}.shipment-reference-list th{font-weight:400;padding:8px 6px;background:#f8f9fa}.shipment-reference-list tbody tr:nth-child(odd){background:#fff}.shipment-reference-list tbody tr:nth-child(even){background:#f8f8f8}.shipment-reference-list tbody tr:has(input:checked){background:#edf6f8}.shipment-reference-list th:first-child{width:26px}.shipment-reference-list th:nth-child(2){width:108px}.shipment-reference-list th:nth-child(3){width:95px}.shipment-reference-list th:nth-child(4){width:130px}.shipment-reference-list th:nth-child(7){width:34px}.shipment-reference-list th:nth-child(14){width:170px}.shipment-reference-list th:nth-child(15){width:120px}.shipment-reference-list th:nth-child(16){width:105px}.shipment-reference-list .row-link{font-size:12px;padding:0;text-align:left}.shipment-reference-list .shipment-customer-reference{font-size:12px;margin-top:2px}.sl-zero{color:#ed4944;border-bottom:1px dotted}.sl-fee-line{color:#ef9200;font-size:11px}.sl-fee-line.is-paid{color:#31964a;text-decoration:line-through}.sl-fee-total{border-bottom:1px dotted;display:table}.sl-tracking{color:#0086c9}.sl-muted{color:#80878d}

.shipment-reference-list table{min-width:1300px}.shipment-reference-list thead th{width:auto!important;white-space:nowrap;overflow-wrap:normal;font-size:12px;line-height:18px;padding:8px 4px;text-align:left;vertical-align:middle;background:#f7f8fa}.shipment-reference-list tbody td{padding-left:4px;padding-right:4px}.shipment-reference-list thead th:first-child,.shipment-reference-list tbody td:first-child{text-align:center}

/* Show complete shipment values instead of inherited table ellipses. */
.shipment-reference-list th,.shipment-reference-list td{max-width:none;overflow:visible;text-overflow:clip}.shipment-reference-list tbody td,.shipment-reference-list .row-link,.shipment-reference-list .shipment-customer-reference{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;max-width:none}.shipment-reference-list .row-link{display:inline-block;width:100%}

/* More breathing room in the shipment list; scroll on smaller screens. */
.shipment-reference-list table{min-width:1750px}.shipment-reference-list thead th{padding:11px 8px;line-height:20px}.shipment-reference-list tbody td{padding:16px 8px;line-height:22px}.shipment-reference-list .shipment-customer-reference{line-height:20px;margin-top:5px}.shipment-reference-list .sl-fee-line,.shipment-reference-list .sl-tracking{line-height:21px}.shipment-reference-list th:first-child,.shipment-reference-list td:first-child{padding-left:4px;padding-right:4px}

/* Fit all shipment columns to the page without horizontal scrolling. */
.shipment-reference-list{width:100%;min-width:0;overflow-x:clip}.shipment-reference-list table{width:100%;min-width:0;max-width:100%;table-layout:fixed}.shipment-reference-list thead th{padding:10px 3px;white-space:normal;overflow-wrap:anywhere;line-height:18px}.shipment-reference-list tbody td{padding:14px 3px;overflow-wrap:anywhere;word-break:normal;line-height:21px}.shipment-reference-list .sl-fee-total{display:block;overflow-wrap:anywhere}.shipment-reference-list input[type=checkbox]{max-width:100%;margin-left:0;margin-right:0}

/* Keep shipment headings horizontal; reduce customer width instead. */
.shipment-reference-list thead th{white-space:nowrap;overflow-wrap:normal;word-break:keep-all;padding:10px 2px;font-size:12px}.shipment-reference-list tbody td{padding-left:2px;padding-right:2px}.shipment-reference-list td[data-column="国家"],.shipment-reference-list td[data-column="件数"]{white-space:nowrap;word-break:keep-all}.shipment-reference-list td[data-column="用户"]{overflow-wrap:anywhere}

/* Align the two shipment text rows and remove receivable separators. */
.shipment-reference-list tbody td{vertical-align:top;line-height:22px}.shipment-reference-list .row-link{display:block;line-height:22px;min-height:0;margin:0;padding:0;border:0}.shipment-reference-list .shipment-customer-reference{margin:0;line-height:22px}.shipment-reference-list .sl-muted,.shipment-reference-list .sl-fee-total,.shipment-reference-list .sl-fee-line,.shipment-reference-list .sl-tracking{margin:0;padding:0;line-height:22px}.shipment-reference-list .sl-fee-total,.shipment-reference-list .sl-zero{border:0;text-decoration:none}

.shipment-reference-list thead th{font-weight:600}.shipment-reference-list td[data-column="下单时间"],.shipment-reference-list td[data-column="拣货时间"]{font-size:11px;white-space:nowrap}

.shipment-reference-list td.shipment-list-empty{height:135px;text-align:center;vertical-align:middle;background:#fff;padding:20px}.shipment-list-empty>div{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#aeb4ba;font-size:12px}

.shipment-reference-list td[data-column="签收时间"]{font-size:11px;white-space:nowrap}

.shipment-tool-menu.supplier-tool-menu{min-width:140px;padding:4px 0;border:1px solid #e4e7eb;border-radius:0;background:white;box-shadow:0 5px 18px #0002}.supplier-tool-menu button{display:block;width:100%;text-align:left;font-size:12px;line-height:18px;padding:4px 12px;border:0;background:white;color:#788592;white-space:nowrap}.supplier-tool-menu button:hover,.supplier-tool-menu button:focus-visible{background:#f0f6fa}
.home-stats.home-stats-finance{grid-template-columns:repeat(4,minmax(0,1fr))}.home-stats-finance .home-stat{height:auto;min-height:108px}.home-freight-stat strong{display:flex;flex-direction:column;gap:2px;padding-right:40px;overflow-wrap:anywhere}.home-freight-stat small{font-size:11px;color:#8795a1;margin-top:4px}.home-plan-flow{margin-bottom:16px}@media(max-width:900px){.home-stats.home-stats-finance{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.home-stats.home-stats-finance{grid-template-columns:1fr}}
.login-card .login-role-title { margin: 0 0 16px; font-size: 18px; font-weight: 600; color: #2d4658; text-align: center; }
/* Keep the login layout stable before a company uploads its logo. */

.login-logo-slot img { max-width: 90px; max-height: 80px; object-fit: contain; }
.login-logo-slot { width: 130px; height: 96px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; border: 1px dashed #aebfcc; border-radius: 6px; background: #f5f8fa; }
.login-logo-placeholder { color: #8195a5; font-size: 14px; letter-spacing: 1px; }
.login-logo-slot:has(img:not([hidden])) { border-color: transparent; background: transparent; }
.login-logo-slot img:not([hidden]) + .login-logo-placeholder { display: none; }
.login-card .login-logo-slot:has(img:not([hidden])) { width: 180px; height: 150px; }
.login-card .login-logo-slot img:not([hidden]) { width: 140px; height: 140px; max-width: 140px; max-height: 140px; }

.login-card > p { font-size: 19px; line-height: 1.5; margin: 18px 0; text-align: center; }

body:has(#deployment-icp) #demo > footer { margin-bottom: 34px; }
