:root {
  color-scheme: light;
  background: #f9f8dc url('/static/hero-edge.png') repeat;
  color: #303c38;
  font:
    16px/1.5 -apple-system,
    BlinkMacSystemFont,
    'PingFang SC',
    'Microsoft YaHei',
    system-ui,
    sans-serif;
  -webkit-text-size-adjust: 100%;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
button,
input {
  color: inherit;
  font: inherit;
}
button,
summary,
a {
  -webkit-tap-highlight-color: rgba(42, 97, 119, 0.12);
}
button,
summary {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
}
a {
  color: #305b70;
}
:focus-visible {
  outline: 2px solid #38667a;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.page {
  width: 100%;
  max-width: 43rem;
  margin: 0 auto;
  flex: 1 0 auto;
}
.hero {
  width: 100%;
  overflow: hidden;
}
.hero img {
  display: block;
  width: 119.423077%;
  height: auto;
  max-width: none;
  margin-left: calc(-7.692308% + 8px);
}
.content {
  margin: 0 auto;
  max-width: 39rem;
  padding: 0 16px;
}
#lookup {
  margin: 0;
}
.lookup-label {
  display: block;
  margin: 0 0 6px 2px;
  font-size: 0.737rem;
  font-weight: 600;
}
.lookup-control {
  display: flex;
  align-items: stretch;
  padding: 0;
  width: 100%;
  min-height: 45px;
  background: #fffef8;
  border: 1px solid #a4afb0;
  border-radius: 12px;
}
.lookup-control:focus-within {
  border-color: #4d778b;
}
input[type='tel'] {
  min-width: 0;
  width: 100%;
  flex: 1 1 0;
  padding: 6px 10px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  font-size: 16px;
  line-height: 1.4;
}
input[type='tel']::placeholder {
  color: #73807f;
}
.lookup-submit {
  font-size: 0.83rem;
  flex: none;
  min-width: 60px;
  padding: 3px 14px;
  background: #416d85;
  border-radius: 11px;
  color: white;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.lookup-submit:hover {
  background: #355e73;
}
.lookup-tools {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
}
.retention {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 4px 0;
  color: #626b60;
  font-size: 0.65625rem;
}
.glyph {
  display: inline-block;
  flex: none;
  vertical-align: -0.17em;
}
.retention .glyph {
  margin-right: 4px;
  width: 12px;
  height: 12px;
}
.phone-feedback,
.lookup-message {
  color: #764333;
  font-size: 0.725rem;
}
.phone-feedback {
  margin: 4px 0 0;
}
.phone-feedback:empty {
  display: none;
}
.lookup-message,
.empty-result {
  margin: 11px 0;
  padding: 14px;
  background: #fffdf3;
  border: 1px solid #d9dccb;
  border-radius: 11px;
}
.lookup-message a {
  display: inline-block;
  padding: 4px;
}
.recipient-group {
  margin: 16px 0 0;
}
.recipient {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 2px 7px;
}
.recipient h2 {
  font-size: 0.87rem;
  font-weight: 650;
  line-height: 1.4;
  margin: 0 7px 0 0;
  letter-spacing: 0.055em;
  font-variant-numeric: tabular-nums;
}
.ordinal {
  font-size: 0.65625rem;
  letter-spacing: 0;
  font-weight: 500;
}
.count {
  font-size: 0.69rem;
  color: #59685f;
}
.parcel {
  margin: 0 0 8px;
  padding: 12.5px 12.5px 7px;
  background: #fffef9;
  border: 1px solid #d8dcce;
  border-radius: 12px;
}
.parcel-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
}
.parcel h3 {
  flex: 1 1 8.1rem;
  min-width: 0;
  margin: 0 6px 2px 0;
  line-height: 1.45;
  font-size: 0.83rem;
  font-weight: 650;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.warehouse {
  display: inline-flex;
  align-items: baseline;
  max-width: 100%;
  color: #536157;
  background: #eff1e8;
  border-radius: 5px;
  padding: 1px 5px;
  font-size: 0.65625rem;
  line-height: 1.45;
  word-break: break-all;
}
.warehouse .glyph {
  width: 11px;
  height: 11px;
  align-self: flex-start;
  margin: 2px 3px 0 0;
}
.carrier {
  margin: 7px 0 1px;
  color: #5e6964;
  font-size: 0.65625rem;
}
.tracking {
  display: block;
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #263a43;
  font:
    600 0.927rem/1.48 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  -webkit-user-select: text;
  user-select: text;
  -webkit-appearance: none;
}
.tracking-long {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.parcel-actions {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}
.copy,
.carrier-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  color: #315f76;
  font-size: 0.665rem;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 550;
}
.copy .glyph {
  margin-right: 3px;
  width: 12px;
  height: 12px;
}
.carrier-link .glyph {
  margin-left: 2px;
  width: 12px;
  height: 12px;
}
.carrier-link {
  margin-left: 3px;
}
.empty-result {
  color: #5e695e;
  font-size: 0.745rem;
}
.recipient-group + form button {
  display: block;
  position: relative;
  font-size: 0.9rem;
  border: 0;
  border-radius: 7px;
  margin: 10px auto;
  padding: 5px 12px;
  min-height: 44px;
  color: #365e70;
}
.recipient-group + form button::before {
  position: absolute;
  content: '';
  top: 3px;
  bottom: 3px;
  left: 0;
  right: 0;
  border: 1px solid #afbbaf;
  border-radius: 6px;
  pointer-events: none;
}
.site-footer {
  flex: 0 0 auto;
  text-align: center;
  font-size: 0.65625rem;
  color: #687260;
  letter-spacing: 0.12em;
  padding: 30px 16px 15px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}
@media (min-width: 560px) {
  .content {
    padding: 0 24px;
  }
  .parcel {
    padding: 15px 18px 8px;
  }
}

.lookup-tools {
  justify-content: flex-end;
}
.lookup-control {
  position: relative;
}
.lookup-control:focus-within,
.lookup-control.focused {
  outline: 2px solid #38667a;
  outline-offset: 2px;
}
.lookup-control input:focus {
  outline: 2px solid #38667a;
}
.lookup-control.focused input:focus {
  outline: none;
  box-shadow: none;
}
@supports selector(:focus-within) {
  .lookup-control:focus-within input:focus {
    outline: none;
    box-shadow: none;
  }
}
.lookup-submit {
  min-height: 44px;
}
.tracking-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 6px;
}
.tracking {
  width: auto;
  flex: 1 1 17ch;
}
.tracking-long {
  flex-basis: 100%;
}
.parcel-actions {
  flex: 0 0 auto;
}
.site-footer small {
  display: block;
  font-size: 0.65rem;
  margin-top: 3px;
  letter-spacing: 0.04em;
}
#lookup-results[aria-busy='true'] {
  opacity: 0.7;
}

/* Optional privacy disclosure; scoped to public markup only. */
.privacy-open,
.privacy-fallback summary {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  padding: 0;
  position: relative;
  text-decoration: none;
}
.privacy-open::after,
.privacy-fallback summary::after {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 50%;
  height: 44px;
  transform: translateY(-50%);
}
.privacy-open:focus,
.privacy-dialog button:focus,
.privacy-fallback summary:focus {
  outline: 2px solid #38667a;
  outline-offset: 2px;
}
.privacy-overlay {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 49, 48, 0.3);
}
.privacy-dialog {
  width: 100%;
  max-width: 290px;
  max-height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 14px;
  border: 1px solid #d8dcce;
  border-radius: 12px;
  background: #fffef9;
  color: #303c38;
  text-align: left;
}
.privacy-dialog:focus {
  outline: none;
}
.privacy-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.privacy-heading h2 {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  font-weight: 650;
}
.privacy-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin: -8px -8px -8px 8px;
  padding: 0;
  color: #64716b;
  border-radius: 8px;
}
.privacy-dialog p,
.privacy-fallback p {
  margin: 8px 0 0;
  font-size: 0.8rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}
.privacy-fallback {
  text-align: center;
}
.privacy-fallback summary {
  cursor: pointer;
  list-style: none;
}
.privacy-fallback summary::-webkit-details-marker {
  display: none;
}
.privacy-fallback p {
  text-align: left;
  padding: 12px;
  border: 1px solid #d8dcce;
  border-radius: 12px;
  background: #fffef9;
}
