* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f5f7f9;
  color: #24342f;
  font:
    14px/1.6 system-ui,
    "Microsoft YaHei",
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  cursor: pointer;
}
button {
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  background: #176c55;
  color: white;
}
button.secondary {
  background: #edf3f0;
  color: #176c55;
}
a {
  color: inherit;
  text-decoration: none;
}
.layout {
  display: grid;
  grid-template-columns: 228px 1fr;
  min-height: 100vh;
}
aside {
  background: #fff;
  border-right: 1px solid #e4eae6;
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.brand {
  font-size: 23px;
  font-weight: 750;
  padding: 0 12px 28px;
  color: #176c55;
}
.brand small {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  color: #8c9c94;
}
nav a {
  display: block;
  padding: 11px 16px;
  margin: 5px 0;
  border-radius: 8px;
  color: #68786f;
}
nav a.active {
  background: #e8f3ed;
  color: #176c55;
  font-weight: 650;
}
.aside-note {
  margin-top: auto;
  padding: 20px 12px;
  font-size: 12px;
  color: #8a968f;
}
header {
  height: 78px;
  background: white;
  border-bottom: 1px solid #e4eae6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  gap: 16px;
}
header select {
  border: 1px solid #dce6df;
  border-radius: 8px;
  padding: 8px;
  background: white;
  color: #344d40;
}
.content {
  padding: 30px 36px;
  max-width: 1500px;
  margin: auto;
}
.eyebrow {
  color: #789086;
  font-size: 12px;
  letter-spacing: 1px;
}
h1 {
  font-size: 27px;
  margin: 6px 0;
}
h2 {
  font-size: 17px;
  margin: 0 0 18px;
}
p {
  color: #7b8982;
}
.title-row,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 24px;
}
.notice {
  background: #fff8e7;
  color: #95712b;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 12px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border: 1px solid #e4eae6;
  border-radius: 12px;
  padding: 23px;
}
.value {
  font-size: 32px;
  font-weight: 700;
  margin: 8px 0;
}
.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 5px;
  background: #eaf4ee;
  color: #277458;
  font-size: 12px;
  white-space: nowrap;
}
.badge.amber {
  background: #fff5df;
  color: #a27b29;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 12px;
  color: #8a978f;
  font-weight: 500;
  background: #f8faf9;
}
td,
th {
  padding: 14px 10px;
  border-bottom: 1px solid #edf0ee;
}
.table-wrap {
  overflow: auto;
}
.task {
  padding: 14px 0;
  border-bottom: 1px solid #edf0ee;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.task small {
  display: block;
  color: #8b9990;
}
label {
  display: block;
  margin: 15px 0;
  color: #596f62;
}
input,
select {
  width: 100%;
  padding: 11px;
  border: 1px solid #dce5df;
  border-radius: 7px;
  background: white;
}
header select {
  width: auto;
}
.form {
  max-width: 660px;
  margin: auto;
}
.form .card {
  margin-bottom: 16px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.garment {
  background: #f7faf8;
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 12px;
}
.garment input {
  margin-top: 8px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #243f32;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  z-index: 10;
}
.muted {
  color: #8b9990;
}
.placeholder {
  padding: 30px;
  background: #f7faf8;
  border: 1px dashed #ccdcd2;
  border-radius: 10px;
}
@media (max-width: 1000px) {
  .layout {
    grid-template-columns: 190px 1fr;
  }
  .content {
    padding: 22px;
  }
  header {
    padding: 0 22px;
  }
}
@media (max-width: 650px) {
  .layout {
    display: block;
  }
  aside {
    padding: 14px;
    display: block;
    border-bottom: 1px solid #e4eae6;
  }
  .brand {
    padding: 0 6px 10px;
    font-size: 20px;
  }
  .brand small,
  .aside-note {
    display: none;
  }
  nav {
    display: flex;
    overflow: auto;
    gap: 5px;
  }
  nav a {
    white-space: nowrap;
    padding: 8px 12px;
  }
  header {
    height: 65px;
    padding: 0 16px;
    font-size: 12px;
  }
  .content {
    padding: 20px 14px;
  }
  .title-row {
    align-items: start;
  }
  h1 {
    font-size: 23px;
  }
  .card {
    padding: 17px;
  }
  .value {
    font-size: 27px;
  }
  .row {
    grid-template-columns: 1fr;
  }
  .title-row button {
    white-space: nowrap;
  }
}
.point-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.point-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f9f6;
  padding: 10px 14px;
  border-radius: 8px;
  margin: 0;
  cursor: pointer;
}
.point-options input {
  width: 17px;
  height: 17px;
  accent-color: #176c55;
}
.empty-state {
  text-align: center;
  padding: 24px;
}
.suffix-field {
  border: 0;
  padding: 20px 0 25px;
  margin: 0;
  text-align: center;
}
.suffix-field legend {
  width: 100%;
  font-size: 17px;
  font-weight: 650;
  color: #344d40;
}
.digit-boxes {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}
.digit-boxes .digit {
  width: 68px;
  height: 78px;
  padding: 0;
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  border: 2px solid #c8dcd0;
  border-radius: 12px;
  color: #176c55;
  background: #f8fbf9;
  caret-color: #176c55;
}
.digit-boxes .digit:focus {
  outline: 3px solid #d8eee2;
  border-color: #176c55;
  background: white;
}
.verify-submit {
  display: block;
  margin: 18px auto;
  min-width: 200px;
  font-size: 16px;
}
#full-phone-step {
  background: #fff8e7;
  padding: 14px 18px;
  border-radius: 10px;
}
#full-phone-step label {
  margin: 0 0 10px;
  color: #896b2b;
}
#verify-result {
  margin: 15px 0;
  color: #176c55;
}
.demo-help {
  font-size: 12px;
  border-top: 1px solid #edf0ee;
  padding-top: 16px;
}
@media (max-width: 400px) {
  .digit-boxes {
    gap: 10px;
  }
  .digit-boxes .digit {
    width: 54px;
    height: 66px;
    font-size: 30px;
  }
}
.demo-toolbar {
  padding: 18px 22px;
  border: 1px solid #bcd9ca;
  background: #edf6f0;
  border-radius: 12px;
  margin-bottom: 24px;
}
.demo-toolbar small {
  display: block;
  color: #658272;
}
.demo-toolbar p {
  font-size: 12px;
  margin-bottom: 0;
}
.action-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 16px 0;
}
.action-link {
  background: #176c55;
  color: white;
  padding: 13px 18px;
  border-radius: 8px;
}
.block {
  display: block;
  color: #86978d;
}
.return-form button {
  margin-top: 15px;
}
dialog {
  border: 1px solid #d7e4dc;
  border-radius: 14px;
  padding: 25px;
  width: min(850px, 92vw);
  max-height: 85vh;
  overflow: auto;
  color: #24342f;
}
dialog::backdrop {
  background: #102d2066;
}
.photo-strip {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.photo-strip figure {
  margin: 0;
}
.photo-strip img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  border: 1px solid #dce5df;
  border-radius: 8px;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #88bea4;
  outline-offset: 3px;
}
@media (max-width: 650px) {
  .demo-toolbar {
    padding: 15px;
  }
  .section-head {
    flex-wrap: wrap;
  }
}
@media print {
  body * {
    visibility: hidden;
  }
  dialog[open],
  dialog[open] * {
    visibility: visible;
  }
  dialog[open] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-height: none;
    border: 0;
  }
  dialog button,
  dialog .section-head {
    display: none;
  }
  #print-roster td {
    height: 48px;
  }
  @page {
    size: A4;
    margin: 15mm;
  }
}
.parcel-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.parcel-choices button {
  text-align: left;
  padding: 20px;
  background: #eff7f2;
  color: #176c55;
  border: 2px solid #c4dfce;
}
.parcel-choices button:hover {
  border-color: #176c55;
  background: #e1f1e7;
}
.parcel-choices b,
.parcel-choices small,
.parcel-choices span {
  display: block;
}
.parcel-choices strong {
  font-size: 30px;
  padding: 0 8px;
}
.parcel-choices small {
  margin: 8px 0;
  color: #638374;
}
.parcel-choices span {
  font-size: 12px;
}
