.adp-laposte {
  --adp-ink: #172033;
  --adp-muted: #5d6778;
  --adp-line: #d9dee7;
  --adp-soft: #f5f7fa;
  --adp-blue: #165ea8;
  --adp-green: #19724b;
  --adp-red: #a52d2d;
  --adp-yellow: #fff7d6;
  max-width: 880px;
  margin: 0 auto;
  color: var(--adp-ink);
  font-family: inherit;
}

.adp-laposte,
.adp-laposte *,
.adp-laposte *::before,
.adp-laposte *::after {
  box-sizing: border-box;
}

.adp-laposte__header {
  max-width: 680px;
  margin-bottom: 20px;
}

.adp-laposte__header p,
.adp-laposte__product,
.adp-laposte__message,
.adp-laposte__actions {
  color: var(--adp-muted);
}

.adp-laposte__header p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.adp-laposte__form {
  padding: 24px;
  border: 1px solid var(--adp-line);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(23, 32, 51, .06);
}

.adp-laposte__form > label:first-child {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.adp-laposte__input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.adp-laposte input[type="text"],
.adp-laposte input[type="email"] {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #aeb7c5;
  border-radius: 4px;
  font: 600 1rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .03em;
}

.adp-laposte input[type="email"] {
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0;
}

.adp-laposte button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--adp-blue);
  border-radius: 4px;
  background: var(--adp-blue);
  color: #fff;
  font: 700 .95rem/1.2 inherit;
  cursor: pointer;
}

.adp-laposte button:disabled {
  cursor: not-allowed;
  opacity: .62;
}

.adp-laposte__public-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.adp-laposte__field { min-width: 0; }
.adp-laposte__field label { display: block; margin-bottom: 8px; font-weight: 700; }
.adp-laposte__field input { width: 100%; min-height: 48px; }
.adp-laposte__public-form .adp-laposte__check,
.adp-laposte__public-form .adp-laposte__submit-row { grid-column: 1 / -1; }
.adp-laposte__submit-row { display: flex; align-items: center; gap: 16px; }
.adp-laposte__submit-row p { margin: 0; color: var(--adp-muted); font-size: .86rem; }
.adp-laposte__honeypot { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }

.adp-laposte__notice { margin: 0 0 18px; padding: 14px 16px; border-left: 4px solid var(--adp-blue); border-radius: 7px; background: #eef6ff; }
.adp-laposte__notice.is-success { border-color: var(--adp-green); background: #effaf4; }
.adp-laposte__notice.is-error { border-color: var(--adp-red); background: #fff2f2; }
.adp-laposte__notice.is-info { border-color: #c49300; background: var(--adp-yellow); }

.adp-laposte__privacy { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--adp-line); border-radius: 9px; background: var(--adp-soft); }
.adp-laposte__privacy summary { cursor: pointer; color: var(--adp-muted); font-size: .86rem; font-weight: 700; }
.adp-laposte__privacy[open] summary { margin-bottom: 7px; }
.adp-laposte__privacy p { margin: 0; color: var(--adp-muted); font-size: .82rem; line-height: 1.5; }

.adp-laposte__success {
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid #a8d4be;
  border-left: 5px solid var(--adp-green);
  border-radius: 12px;
  background: #f2fbf6;
}

.adp-laposte__success > span {
  color: var(--adp-green);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.adp-laposte__success h2 { margin: 7px 0 9px; font-size: clamp(1.45rem, 3vw, 1.9rem); line-height: 1.2; }
.adp-laposte__success p { max-width: 680px; margin: 0 0 12px; color: var(--adp-muted); line-height: 1.55; }
.adp-laposte__success strong { color: var(--adp-green); }

.adp-laposte__another { margin-top: 14px; }
.adp-laposte__another > summary { cursor: pointer; color: var(--adp-blue); font-weight: 700; }
.adp-laposte__another[open] > summary { margin-bottom: 12px; }

.adp-laposte__managed { margin-bottom: 20px; padding: 22px; border: 1px solid #b9d4c6; border-radius: 12px; background: #f6fcf8; }
.adp-laposte__managed-top { display: flex; justify-content: space-between; gap: 16px; }
.adp-laposte__managed-top span { color: var(--adp-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.adp-laposte__managed h3 { margin: 4px 0 0; font: 700 1.05rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; }
.adp-laposte__managed-email { color: var(--adp-muted); font-size: .9rem; }
.adp-laposte__device-access { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 16px 0 4px; padding: 14px 16px; border: 1px solid #b8d2ed; border-radius: 10px; background: #f4f9ff; }
.adp-laposte__device-access p { margin: 4px 0 0; color: var(--adp-muted); font-size: .86rem; line-height: 1.45; }
.adp-laposte__device-access form { flex: 0 0 auto; }
.adp-laposte__forget { min-height: 40px !important; padding: 8px 13px !important; border: 1px solid var(--adp-blue) !important; background: #fff !important; color: var(--adp-blue) !important; font-size: .86rem !important; white-space: nowrap; }
.adp-laposte__danger-zone { margin-top: 16px; padding-top: 12px; border-top: 1px solid #d9dfe8; }
.adp-laposte__danger-zone summary { cursor: pointer; color: var(--adp-muted); font-size: .84rem; }
.adp-laposte__danger-zone p { margin: 8px 0 4px; color: var(--adp-muted); font-size: .82rem; }
.adp-laposte__legacy { margin-top: 24px; padding: 18px; border: 1px solid var(--adp-line); border-radius: 10px; }
.adp-laposte__legacy > summary { cursor: pointer; font-weight: 700; }
.adp-laposte__legacy[open] > summary { margin-bottom: 16px; }

.adp-laposte__check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 14px;
  color: var(--adp-muted);
  font-size: .94rem;
}

.adp-laposte__message {
  min-height: 1.5em;
  margin: 14px 0;
}

.adp-laposte__list {
  border-top: 1px solid var(--adp-line);
}

.adp-laposte__shipment {
  padding: 26px 0;
  border-bottom: 1px solid var(--adp-line);
}

.adp-laposte__shipment-top,
.adp-laposte__actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.adp-laposte__shipment h3 {
  margin: 0;
  font: 700 1.05rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .02em;
}

.adp-laposte__product {
  margin: 4px 0 0;
  font-size: .9rem;
}

.adp-laposte__state {
  padding: 5px 9px;
  border: 1px solid #9fb7d1;
  color: var(--adp-blue);
  font-size: .8rem;
  font-weight: 700;
}

.adp-laposte__state.is-final {
  border-color: #9ac6b3;
  color: var(--adp-green);
}

.adp-laposte__latest {
  display: grid;
  gap: 5px;
  margin: 20px 0;
  padding: 16px 18px;
  background: var(--adp-soft);
}

.adp-laposte__latest span {
  color: var(--adp-muted);
  font-size: .88rem;
}

.adp-laposte__warning {
  margin: 8px 0 0;
  color: #8a3b12;
  font-size: .88rem;
}

.adp-laposte__timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.adp-laposte__timeline li {
  position: relative;
  display: grid;
  grid-template-rows: 20px auto;
  gap: 7px;
  padding-right: 12px;
  color: var(--adp-muted);
  font-size: .78rem;
}

.adp-laposte__timeline li::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 10px;
  right: -2px;
  height: 2px;
  background: var(--adp-line);
}

.adp-laposte__timeline li:last-child::before {
  display: none;
}

.adp-laposte__marker {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  border: 2px solid #aeb7c5;
  border-radius: 50%;
  background: #fff;
}

.adp-laposte__timeline .is-done {
  color: var(--adp-ink);
}

.adp-laposte__timeline .is-done .adp-laposte__marker {
  border-color: var(--adp-green);
  background: var(--adp-green);
  box-shadow: inset 0 0 0 3px #fff;
}

.adp-laposte__history {
  margin: 22px 0;
}

.adp-laposte__history h4 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.adp-laposte__events {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--adp-line);
}

.adp-laposte__events li {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--adp-line);
}

.adp-laposte__events span,
.adp-laposte__history-empty {
  color: var(--adp-muted);
  font-size: .86rem;
}

.adp-laposte__remove {
  min-height: auto !important;
  padding: 4px 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #9b2c2c !important;
  font-size: .86rem !important;
}

.adp-laposte__empty {
  padding: 28px 0;
  color: var(--adp-muted);
}

.adp-laposte__lookup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.adp-laposte__lookup-form .adp-laposte__submit-row {
  display: grid;
  gap: 6px;
}

.adp-laposte__notify-card {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #b8d2ed;
  border-radius: 12px;
  background: #f4f9ff;
}

.adp-laposte__lookup-status {
  display: grid;
  gap: 5px;
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 5px solid var(--adp-blue);
  border-radius: 10px;
  background: #eef6ff;
}

.adp-laposte__lookup-status span,
.adp-laposte__lookup-status time { color: var(--adp-muted); font-size: .82rem; }
.adp-laposte__lookup-status strong { font-size: 1.05rem; line-height: 1.4; }
.adp-laposte__lookup-final { margin-top: 16px; margin-bottom: 0; }
.adp-laposte__lookup-status + .adp-laposte__notify-card { margin-top: 14px; }

.adp-laposte__notify-card > div > span {
  color: var(--adp-blue);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.adp-laposte__notify-card h3 { margin: 5px 0 6px; font-size: 1.35rem; }
.adp-laposte__notify-card p { margin: 0; color: var(--adp-muted); }
.adp-laposte__notify-card .adp-laposte__field { grid-column: 1 / -1; }

.adp-laposte__report {
  margin-top: 24px;
  padding: 26px;
  border: 1px solid var(--adp-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(23, 32, 51, .07);
}

.adp-laposte__report-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--adp-ink);
}

.adp-laposte__report-header span { color: #8b7531; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.adp-laposte__report-header h3 { margin: 5px 0 0; font-size: 1.55rem; }
.adp-laposte__report-header > strong { align-self: center; padding: 6px 10px; border: 1px solid #9ac6b3; color: var(--adp-green); font-size: .82rem; }

.adp-laposte__report-period {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.adp-laposte__report-period > div { min-width: 0; padding: 14px; border: 1px solid var(--adp-line); background: #f8fafc; }
.adp-laposte__report-period span { display: block; color: var(--adp-muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.adp-laposte__report-period strong { display: block; margin-top: 5px; color: var(--adp-ink); font-size: 1rem; }
.adp-laposte__report-period small { display: block; margin-top: 4px; color: var(--adp-muted); font-size: .72rem; line-height: 1.35; }

.adp-laposte__report-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0;
  background: var(--adp-line);
  border: 1px solid var(--adp-line);
}

.adp-laposte__report-grid > div { min-width: 0; padding: 11px 12px; background: #fff; }
.adp-laposte__report-grid dt { color: var(--adp-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.adp-laposte__report-grid dd { margin: 4px 0 0; overflow-wrap: anywhere; font-weight: 700; }
.adp-laposte__report-current { display: grid; gap: 3px; padding: 15px 17px; border-left: 4px solid var(--adp-blue); background: #eef6ff; }
.adp-laposte__report-current span, .adp-laposte__report-current time { color: var(--adp-muted); font-size: .8rem; }
.adp-laposte__report-history { margin-top: 18px; }
.adp-laposte__report-history h4 { margin: 0 0 10px; }
.adp-laposte__report-history ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--adp-line); }
.adp-laposte__report-history li { display: grid; grid-template-columns: 145px 1fr; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--adp-line); }
.adp-laposte__report-history time, .adp-laposte__report-history span { color: var(--adp-muted); font-size: .8rem; }
.adp-laposte__report-history li div { display: grid; gap: 2px; }
.adp-laposte__report-footer { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--adp-line); }
.adp-laposte__report-footer p { margin: 0; color: var(--adp-muted); font-size: .75rem; line-height: 1.45; }
.adp-laposte__report-actions { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.adp-laposte__report-actions span { color: var(--adp-muted); font-size: .8rem; }

.adp-laposte button:focus-visible,
.adp-laposte input:focus-visible,
.adp-laposte summary:focus-visible {
  outline: 3px solid rgba(22, 94, 168, .3);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .adp-laposte__lookup-form { grid-template-columns: 1fr; padding: 18px; }
  .adp-laposte__public-form { grid-template-columns: 1fr; padding: 18px; }
  .adp-laposte__public-form .adp-laposte__check,
  .adp-laposte__public-form .adp-laposte__submit-row { grid-column: auto; }
  .adp-laposte__submit-row { align-items: stretch; flex-direction: column; }
  .adp-laposte__managed-top { flex-wrap: wrap; }
  .adp-laposte__device-access { align-items: stretch; flex-direction: column; }
  .adp-laposte__forget { width: 100%; white-space: normal; }
  .adp-laposte__report { padding: 18px; }
  .adp-laposte__report-header { flex-direction: column; }
  .adp-laposte__report-header > strong { align-self: flex-start; }
  .adp-laposte__report-period { grid-template-columns: 1fr; }
  .adp-laposte__report-grid { grid-template-columns: 1fr; }
  .adp-laposte__report-history li { grid-template-columns: 1fr; gap: 3px; }
  .adp-laposte__report-actions { align-items: stretch; flex-direction: column; }
  .adp-laposte__input-row {
    grid-template-columns: 1fr;
  }

  .adp-laposte__shipment-top,
  .adp-laposte__actions {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .adp-laposte__timeline {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .adp-laposte__timeline li {
    grid-template-columns: 22px 1fr;
    grid-template-rows: auto;
    align-items: center;
  }

  .adp-laposte__timeline li::before {
    top: 14px;
    bottom: -13px;
    left: 7px;
    width: 2px;
    height: auto;
  }
}

@page {
  size: A4 portrait;
  margin: 12mm;
}

@media print {
  html,
  body { width: auto !important; min-width: 0 !important; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; background: #fff !important; }
  body.adp-laposte-is-printing > *:not(.adp-laposte__print-root) { display: none !important; }
  body.adp-laposte-is-printing > .adp-laposte__print-root { display: block !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
  .adp-laposte__print-root .adp-laposte__report {
    position: static !important;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #000;
    font: 9pt/1.25 Arial, sans-serif;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .adp-laposte__no-print { display: none !important; }
  .adp-laposte__report-header { padding-bottom: 7mm; }
  .adp-laposte__report-header h3 { font-size: 18pt; }
  .adp-laposte__report-period { gap: 2mm; margin: 4mm 0; }
  .adp-laposte__report-period > div { padding: 2.5mm 3mm; }
  .adp-laposte__report-period strong { font-size: 10pt; }
  .adp-laposte__report-period small { font-size: 7pt; }
  .adp-laposte__report-grid { margin: 4mm 0; }
  .adp-laposte__report-grid > div { padding: 2.5mm 3mm; }
  .adp-laposte__report-current { padding: 3mm 4mm; }
  .adp-laposte__report-history { margin-top: 4mm; }
  .adp-laposte__report-history li { grid-template-columns: 36mm 1fr; gap: 3mm; padding: 1.5mm 0; break-inside: avoid; }
  .adp-laposte__report-footer { margin-top: 4mm; padding-top: 3mm; }
}
