:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #243e36;
  background: #f5f3ec;
  font-synthesis: none;
  --green: #244b3e;
  --muted: #748077;
  --line: #dedfd5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #b4c35b;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
header {
  max-width: 1080px;
  margin: auto;
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand {
  text-decoration: none;
  color: var(--green);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-icon {
  background: var(--green);
  color: #dce995;
  border-radius: 11px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  font-size: 24px;
}
.brand-dot {
  color: #97ac48;
}
.brand .brand-dot {
  margin-left: -7px;
}
.quiet {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
}
main {
  max-width: 880px;
  margin: 64px auto 80px;
  padding: 0 32px;
  min-height: 60vh;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #71816c;
}
h1 {
  font-size: 58px;
  letter-spacing: -3px;
  line-height: 1.03;
  font-weight: 600;
  margin: 17px 0;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
}
.intro {
  color: #758177;
  font-size: 15px;
  line-height: 1.6;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.round {
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  width: 42px;
  height: 42px;
  font-size: 24px;
  color: var(--green);
}
.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin: 34px 0;
}
.tabs button {
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 13px 0;
  color: var(--muted);
  font-size: 14px;
}
.tabs button.selected {
  border-color: var(--green);
  color: var(--green);
  font-weight: bold;
}
.tabs span {
  display: inline-block;
  margin-left: 7px;
  background: #e8e9df;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 11px;
}
.location {
  margin: 32px 0;
}
.location-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 17px;
}
.pin {
  background: #e7eadc;
  border-radius: 12px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #527347;
}
.location-head h2 {
  font-size: 17px;
  margin: 0 0 5px;
}
.location-head p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.directions {
  margin-left: auto;
  color: var(--green);
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}
.parcel {
  background: #fffef9;
  border: 1px solid #e2e4d9;
  border-radius: 18px;
  margin: 12px 0;
  overflow: hidden;
  box-shadow: 0 3px 9px #273f3503;
}
.parcel-main {
  padding: 23px;
}
.parcel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.carrier {
  font-size: 12px;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 6px;
  background: #e3efea;
  color: #2d685b;
}
.carrier.mondial {
  background: #f6e7ee;
  color: #96506d;
}
.carrier.chrono {
  background: #e6edf6;
  color: #46678f;
}
.deadline {
  font-size: 11px;
  color: #65745a;
  background: #f0f2e6;
  padding: 7px 10px;
  border-radius: 6px;
}
.deadline.expired {
  background: #f9eee4;
  color: #9a5a2a;
}
.recipient {
  font-size: 14px;
  margin: 20px 0 7px;
}
.tracking {
  font-family: monospace;
  color: #899084;
  font-size: 11px;
  margin: 0;
}
.codes {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin: 22px 0 4px;
}
.code-label {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 7px;
}
.code-value {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 4px;
  font-variant-numeric: tabular-nums;
}
.actions {
  display: flex;
  border-top: 1px solid #eceee5;
  padding: 13px 22px;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.show-code {
  border: 0;
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 12px;
}
.picked {
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 12px;
}
.mail {
  color: var(--muted);
  font-size: 11px;
  display: inline-block;
  margin-top: 18px;
}
.warning {
  font-size: 12px;
  color: #996232;
  line-height: 1.5;
}
.footnote {
  text-align: center;
  font-size: 11px;
  line-height: 1.8;
  color: #87917f;
  margin: 40px 0;
}
.empty {
  padding: 50px 24px;
  text-align: center;
  background: #ebeee1;
  border-radius: 18px;
  color: #66745b;
}
.empty strong {
  display: block;
  font-size: 22px;
  color: var(--green);
  margin-bottom: 12px;
}
footer {
  max-width: 1080px;
  margin: auto;
  padding: 24px 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #8a9580;
  font-size: 9px;
  letter-spacing: 1.4px;
}
footer span:last-child {
  font-size: 18px;
  letter-spacing: -1px;
  font-weight: bold;
}
#login {
  max-width: 460px;
  margin: 80px auto;
}
form {
  margin: 30px 0;
}
label {
  font-size: 12px;
  display: block;
  margin-bottom: 10px;
}
input {
  width: 100%;
  background: #fffef9;
  border: 1px solid #d8ddcf;
  border-radius: 8px;
  padding: 14px;
}
.primary {
  margin-top: 14px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: white;
  padding: 15px 18px;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.privacy {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
#error,
#notice {
  padding: 16px;
  border-radius: 8px;
  background: #fae8dd;
  color: #844924;
  font-size: 13px;
}
#notice {
  background: #e7eedb;
  color: var(--green);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  width: min(440px, calc(100% - 32px));
  color: var(--green);
  background: #fffef9;
}
dialog::backdrop {
  background: #132e26b8;
  backdrop-filter: blur(4px);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
dialog img {
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
  padding: 10px;
  margin: 15px 0;
}
dialog .codes {
  justify-content: center;
  text-align: center;
}
dialog .privacy {
  text-align: center;
}
@media (max-width: 600px) {
  header {
    padding: 23px 22px;
  }
  main {
    margin: 37px auto 45px;
    padding: 0 20px;
  }
  h1 {
    font-size: 45px;
  }
  .tabs {
    margin: 26px 0;
  }
  .parcel-main {
    padding: 19px;
  }
  .actions {
    padding: 12px 16px;
  }
  .directions {
    font-size: 11px;
  }
  .location-head h2 {
    font-size: 15px;
  }
  .location-head p {
    max-width: 220px;
    line-height: 1.5;
  }
  .code-value {
    font-size: 25px;
  }
  footer {
    padding: 24px 22px;
  }
  .codes {
    gap: 20px;
  }
  #login {
    margin: 65px 0;
  }
  .footnote {
    font-size: 10px;
  }
}
