@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;600;700;800&display=swap");
:root {
  font-family: "DM Sans", sans-serif;
  color: #20332e;
  background: #f5f7f3;
  --green: #185b43;
  --muted: #78867e;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 0;
}
a {
  color: var(--green);
}
.shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.sidebar {
  padding: 32px 24px;
  background: #fff;
  border-right: 1px solid #e4e9e1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.brand {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: 29px;
  letter-spacing: -1.5px;
  color: var(--green);
}
.brand span {
  color: #e69c43;
}
.tagline {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.nav button {
  text-align: left;
  padding: 13px;
  border-radius: 10px;
  color: #66776c;
  background: transparent;
}
.nav button.active {
  background: #edf5ee;
  color: var(--green);
  font-weight: 700;
}
.sidebar footer {
  margin-top: auto;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.main {
  padding: 28px 44px;
  max-width: 1450px;
  width: 100%;
  margin: auto;
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #e1e7df;
  padding-bottom: 22px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--muted);
}
.account {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.avatar {
  background: #e6eee5;
  color: var(--green);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
}
.notice {
  font-size: 12px;
  color: #85612d;
  background: #fff4df;
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 22px;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 32px 0;
}
.hero h1 {
  font-family: Manrope, sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 5px 0 12px;
}
.muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.primary,
.secondary {
  padding: 12px 18px;
  border-radius: 9px;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
}
.primary {
  background: var(--green);
  color: white;
}
.secondary {
  background: #edf2e9;
  color: var(--green);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.metric {
  background: white;
  border: 1px solid #e4e9e1;
  border-radius: 14px;
  padding: 22px;
}
.metric p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.metric strong {
  font-family: Manrope;
  font-size: 30px;
  display: block;
  margin: 10px 0 4px;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
}
.panel {
  background: white;
  border: 1px solid #e4e9e1;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 22px;
}
.panel h2 {
  font-family: Manrope;
  font-size: 18px;
  margin: 0 0 22px;
}
.delivery {
  border-top: 1px solid #edf0e9;
  padding: 20px 0;
}
.delivery:first-of-type {
  border-top: 0;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 30px;
  background: #eef3ff;
  color: #476aa6;
  white-space: nowrap;
}
.badge.livree {
  background: #eaf5eb;
  color: #267344;
}
.route {
  font-weight: 600;
  font-size: 15px;
  margin: 14px 0 5px;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.actions button,
.actions a {
  font-size: 12px;
  padding: 9px 12px;
}
.empty {
  text-align: center;
  padding: 40px 14px;
  color: var(--muted);
}
.invite {
  background: #ebf3e8;
  border-color: #d7e7d3;
}
.invite .code {
  font-family: Manrope;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 3px;
  margin: 22px 0;
}
.list-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #e9eee5;
}
.list-item p {
  margin: 0;
  font-size: 13px;
}
.list-item small {
  color: var(--muted);
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form label {
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form input,
.form select,
select {
  padding: 11px;
  border: 1px solid #dce4d8;
  border-radius: 8px;
  background: white;
  min-width: 0;
}
.form .wide {
  grid-column: 1/-1;
}
.tracking {
  max-width: 850px;
  margin: auto;
  padding: 28px 20px;
}
.tracking h1 {
  font-family: Manrope;
  font-size: 30px;
  letter-spacing: -1px;
}
.map {
  height: 330px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #e9eee5;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 24px 0;
}
.step {
  font-size: 11px;
  color: #94a092;
}
.step:before {
  content: "";
  display: block;
  height: 5px;
  background: #e9eee5;
  border-radius: 8px;
  margin-bottom: 10px;
}
.step.done {
  color: var(--green);
}
.step.done:before {
  background: var(--green);
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #20332e;
  color: white;
  padding: 13px 20px;
  border-radius: 10px;
  display: none;
  max-width: 90%;
  z-index: 10;
}
.phone-actions {
  display: flex;
  gap: 12px;
  margin: 18px 0;
}
dialog {
  border: 0;
  border-radius: 16px;
  padding: 28px;
  max-width: 90%;
  width: 600px;
  box-shadow: 0 30px 100px #20332e33;
}
dialog::backdrop {
  background: #20332e66;
}
.close {
  background: transparent;
  font-size: 20px;
}
.mobile-banner {
  display: none;
}
@media (max-width: 1000px) {
  .main {
    padding: 24px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 26px;
  }
}
@media (max-width: 700px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    padding: 16px 20px;
    border-right: 0;
    border-bottom: 1px solid #e4e9e1;
    gap: 12px;
  }
  .sidebar .tagline,
  .sidebar footer {
    display: none;
  }
  .nav {
    flex-direction: row;
    overflow: auto;
    gap: 4px;
  }
  .nav button {
    font-size: 12px;
    white-space: nowrap;
    padding: 10px;
  }
  .main {
    padding: 20px;
  }
  .hero {
    align-items: flex-start;
    margin: 24px 0;
  }
  .hero h1 {
    font-size: 24px;
  }
  .metrics {
    gap: 8px;
  }
  .metric {
    padding: 14px;
  }
  .metric strong {
    font-size: 23px;
  }
  .metric p {
    font-size: 11px;
  }
  .account span {
    display: none;
  }
  .form {
    grid-template-columns: 1fr;
  }
  .timeline {
    grid-template-columns: repeat(3, 1fr);
  }
  .top {
    padding-bottom: 15px;
  }
  .panel {
    padding: 18px;
  }
  .mobile-banner {
    display: block;
  }
}
.shell > * {
  min-width: 0;
}
.nav {
  min-width: 0;
}
.metric {
  min-width: 0;
}
.metric strong {
  overflow-wrap: anywhere;
}
.hero > div {
  min-width: 0;
}
@media (max-width: 700px) {
  .hero {
    flex-direction: column;
  }
  .hero > .primary {
    align-self: flex-start;
  }
  .nav button {
    flex-shrink: 0;
  }
  .grid > * {
    min-width: 0;
  }
  .row {
    flex-wrap: wrap;
  }
}

[hidden] {
  display: none !important;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.code {
  overflow-wrap: anywhere;
}
.admin-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.table-scroll {
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
.admin-table th {
  padding: 14px 12px;
  color: #78867e;
  font-weight: 500;
  border-bottom: 1px solid #e4e9e1;
  white-space: nowrap;
}
.admin-table td {
  padding: 18px 12px;
  border-bottom: 1px solid #edf0e9;
  vertical-align: top;
}
.admin-table small,
.admin-event-list small {
  display: block;
  color: #78867e;
  margin-top: 6px;
  line-height: 1.5;
}
.admin-table .actions {
  margin-top: 0;
}
.admin-table .secondary {
  font-size: 12px;
  padding: 9px 12px;
  white-space: nowrap;
}
.admin-table .badge.suspended {
  background: #f9eded;
  color: #a54747;
}
.danger {
  color: #a54747;
}
.admin-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.admin-toolbar input {
  flex: 1;
  min-width: 180px;
  padding: 12px;
  border: 1px solid #dce4d8;
  border-radius: 9px;
  background: white;
  font: inherit;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.admin-event-list {
  border-left: 3px solid #185b43;
  padding-left: 18px;
  margin: 24px 0;
}
@media (max-width: 1000px) {
  .admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-table {
    min-width: 650px;
  }
}
@media (max-width: 700px) {
  .admin-toolbar > * {
    flex: 1;
  }
  .admin-table td {
    padding: 14px 10px;
  }
}
.main {
  margin: 0 auto;
}
@media (max-width: 700px) {
  .shell {
    display: block;
  }
}
.form textarea {
  font: inherit;
  padding: 12px;
  border: 1px solid #dce4d8;
  border-radius: 8px;
  resize: vertical;
}

/* ColiOne — deep green, warm ivory and clear orange accents. */
:root {
  --green: #163f35;
  --muted: #62736b;
  --paper: #f8f7f2;
  --ink: #172d27;
  --line: #dde4de;
  background: var(--paper);
  color: var(--ink);
}
.sidebar {
  background: #153f35;
  color: #f8f7f2;
  border-right: 0;
  padding: 36px 24px;
}
.sidebar .brand {
  color: #fff;
}
.sidebar .brand span {
  color: #ffbb6b;
}
.sidebar .tagline,
.sidebar footer {
  color: #bacbc2;
}
.nav button {
  color: #d9e6de;
  min-height: 46px;
  border-radius: 12px;
}
.nav button.active {
  background: #fff4df;
  color: #163f35;
  box-shadow: inset 3px 0 #e9a14e;
}
.nav button:hover:not(.active) {
  background: #255449;
  color: white;
}
.main {
  padding: 30px 40px;
}
.top {
  padding-bottom: 20px;
  border-color: var(--line);
}
.hero {
  align-items: flex-end;
  margin: 34px 0;
}
.hero h1 {
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 1.22;
  max-width: 620px;
  letter-spacing: -1.1px;
}
.primary {
  background: #163f35;
  box-shadow: 0 3px 0 #0d2b23;
  min-height: 44px;
  transition: background 0.15s;
}
.primary:hover {
  background: #265d4c;
}
.secondary {
  background: #eaf0e9;
  min-height: 44px;
  color: #214e40;
}
.primary:focus-visible,
.secondary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav button:focus-visible {
  outline: 3px solid #ce7827;
  outline-offset: 3px;
}
.panel,
.metric {
  border-color: var(--line);
  border-radius: 16px;
  box-shadow: 0 5px 18px #183c2b05;
}
.metric {
  border-top: 3px solid #d8e5d8;
  padding: 24px;
}
.metric:first-child {
  border-top-color: #d79442;
}
.metric strong {
  letter-spacing: -1.4px;
}
.admin-table th {
  background: #f5f7f2;
  color: #53695e;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 15px;
}
.admin-table td {
  padding: 19px 15px;
}
.admin-table tbody tr:hover {
  background: #fbfcf8;
}
.admin-table .actions {
  gap: 8px;
  flex-wrap: wrap;
}
.badge {
  font-weight: 600;
}
.tracking h1 {
  font-size: clamp(28px, 4vw, 40px);
}
.form input,
.form select,
.form textarea {
  background: #fbfcf9;
  border-color: #cdd8cd;
  min-height: 46px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 100px #102c2530;
  max-height: 90vh;
  overflow-y: auto;
}
dialog::backdrop {
  background: #102d266b;
  backdrop-filter: blur(3px);
}
.company-dossier {
  width: min(820px, 94vw);
}
.dossier-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 12px 0 24px;
  font-size: 13px;
  color: var(--muted);
}
.dossier-section {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 24px;
}
.dossier-section > input {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 12px;
  font: inherit;
}
.access-screen {
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(380px, 1.05fr);
  min-height: 100vh;
}
.access-story {
  padding: 48px clamp(32px, 5vw, 80px);
  background: #153f35;
  color: #f8f7ee;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
}
.access-story .brand {
  color: #fff;
}
.access-story .eyebrow {
  color: #cbdbc9;
}
.access-story h2 {
  font:
    700 clamp(38px, 4vw, 62px)/1.12 Manrope,
    sans-serif;
  letter-spacing: -2px;
  margin: 24px 0;
}
.access-story h2 em {
  color: #ffc37b;
  font-style: normal;
}
.access-story p:not(.eyebrow) {
  color: #d1ded2;
  max-width: 360px;
  line-height: 1.8;
  font-size: 15px;
}
.access-route {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: #dce6d6;
}
.access-route i {
  flex: 1;
  border-top: 1px dashed #91ad95;
  max-width: 120px;
}
.access-form {
  align-self: center;
  padding: 50px clamp(28px, 5vw, 80px);
  width: 100%;
  max-width: 700px;
  margin: auto;
}
.access-form > .brand {
  display: none;
}
.access-form h1 {
  font-size: 30px;
  letter-spacing: -1px;
}
.access-form .panel {
  padding: 28px;
  margin-top: 25px;
}
@media (max-width: 1000px) {
  .main {
    padding: 24px;
  }
  .access-story {
    padding: 35px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    padding: 22px 20px;
    gap: 18px;
  }
  .sidebar footer {
    display: none;
  }
  .nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 6px;
  }
  .nav button {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .hero {
    align-items: flex-start;
    margin: 24px 0;
  }
  .hero h1 {
    font-size: 27px;
  }
  .main {
    padding: 22px 18px;
  }
  .access-screen {
    display: block;
  }
  .access-story {
    padding: 28px 24px;
    gap: 20px;
    min-height: auto;
  }
  .access-story h2 {
    font-size: 32px;
    letter-spacing: -1px;
    margin: 10px 0;
  }
  .access-story h2 br:nth-child(2),
  .access-story h2 br:nth-child(3) {
    display: none;
  }
  .access-story p:not(.eyebrow),
  .access-route {
    display: none;
  }
  .access-story > div:nth-child(2) {
    margin-top: 10px;
  }
  .access-form {
    padding: 26px 20px;
  }
  .access-form h1 {
    font-size: 25px;
  }
  .access-form .panel {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.access-story h2 > span {
  display: block;
}
.close {
  min-width: 44px;
  min-height: 44px;
}
.close:focus-visible {
  outline: 3px solid #ce7827;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .access-story h2 > span {
    display: inline;
  }
  .access-story h2 {
    font-size: 30px;
  }
}
