@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root {
  --red: #8c1d18;
  --black: #0f1113;
  --ink: #202226;
  --muted: #656a70;
  --line: #e2e3e5;
  --paper: #f3f4f5;
  --radius: 16px;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #c25b52;
  outline-offset: 3px;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
}
h1 {
  font-size: clamp(1.85rem, 3.3vw, 2.7rem);
  letter-spacing: -1.3px;
  margin: 9px 0 12px;
  line-height: 1.2;
}
h2 {
  font-size: 1.35rem;
  letter-spacing: -0.4px;
  margin: 0 0 23px;
}
h3 {
  font-size: 1rem;
}
p {
  line-height: 1.6;
}
small,
.small {
  font-size: 0.8125rem;
  line-height: 1.6;
}
.muted {
  color: var(--muted);
}
.skip {
  position: fixed;
  top: -100px;
  z-index: 10;
  background: white;
  padding: 20px;
}
.skip:focus {
  top: 0;
}
.demo-bar {
  min-height: 29px;
  background: #251918;
  color: #e1c3c0;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.7px;
  padding: 7px 16px;
}
.demo-bar span {
  letter-spacing: 0;
  color: #d0b6b3;
}
.header {
  height: 94px;
  background: #000;
  color: #d1d3d5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(6vw, 24px);
  border-bottom: 1px solid #2e3032;
}
.brand {
  display: block;
  width: 142px;
  height: 74px;
}
.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 0.875rem;
}
.header nav a {
  padding: 12px 0;
}
.header nav a[aria-current='page'] {
  color: white;
  border-bottom: 2px solid #b24b44;
}
.header .account-link {
  padding: 11px 18px;
  border: 1px solid #4a4c4e;
  border-radius: 7px;
}
.account-link span {
  margin-left: 20px;
}
main {
  max-width: 1320px;
  margin: auto;
  padding: 43px 48px 55px;
  min-height: calc(100vh - 205px);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 32px;
}
.page-heading p {
  margin: 0;
  color: var(--muted);
}
.page-heading .eyebrow {
  color: var(--red);
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
}
.edition {
  font-size: 0.6875rem;
  letter-spacing: 2px;
  color: #797d83;
  writing-mode: vertical-rl;
  white-space: nowrap;
}
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: start;
}
.panel {
  background: white;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps {
  display: flex;
  gap: 17px;
  font-size: 0.75rem;
  color: #73777c;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  margin-bottom: 29px;
}
.steps span {
  flex: 1;
}
.steps .active {
  color: var(--red);
  font-weight: 700;
}
.steps .complete {
  color: #373a3e;
}
.segmented {
  display: flex;
  background: #f0f1f2;
  border-radius: 9px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 24px;
}
.segmented button {
  flex: 1;
  background: none;
  padding: 12px 8px;
  color: var(--muted);
  border-radius: 6px;
  font-size: 0.875rem;
}
.segmented .selected {
  background: white;
  color: var(--red);
  box-shadow: 0 1px 5px #00000012;
  font-weight: 700;
}
label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin: 17px 0;
}
input,
select,
textarea {
  width: 100%;
  background: #fbfbfc;
  border: 1px solid #d9dce0;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  margin-top: 8px;
  min-width: 0;
}
input::placeholder,
textarea::placeholder {
  color: #858990;
}
textarea {
  resize: vertical;
  min-height: 86px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.row label {
  margin: 8px 0;
}
.route-fields {
  position: relative;
  padding-left: 23px;
}
.route-fields:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 45px;
  bottom: 45px;
  border-left: 1px dashed #c2c4c6;
}
.route-fields label:before {
  content: '';
  position: absolute;
  left: 0;
  margin-top: 44px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--red);
  background: white;
  border-radius: 50%;
}
.route-fields label:last-child:before {
  border-radius: 1px;
  background: var(--red);
}
.primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: var(--red);
  color: white;
  padding: 16px 21px;
  width: 100%;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-top: 25px;
  min-height: 53px;
}
.primary:hover {
  background: #741713;
}
.primary span {
  font-size: 1.25rem;
}
.secondary {
  border: 1px solid #d4d6da;
  background: white;
  color: var(--ink);
  border-radius: 8px;
  padding: 12px 17px;
  font-size: 0.875rem;
  min-height: 45px;
}
.text-button {
  padding: 7px 0;
  background: none;
  color: var(--red);
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.back {
  background: none;
  color: var(--muted);
  padding: 0 0 22px;
  font-size: 0.875rem;
}
.chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 12px 0 21px;
}
.chip {
  border: 1px solid var(--line);
  background: white;
  border-radius: 30px;
  padding: 8px 12px;
  font-size: 0.75rem;
  color: #565b61;
}
.chip:hover {
  border-color: var(--red);
  color: var(--red);
}
.journey {
  background: var(--black);
  border-radius: var(--radius);
  padding: 32px;
  color: white;
  overflow: hidden;
  position: sticky;
  top: 25px;
}
.journey .eyebrow {
  color: #c18b86;
}
.journey h2 {
  font-size: 1.75rem;
  line-height: 1.45;
  font-weight: 500;
  margin-top: 15px;
  letter-spacing: -0.8px;
}
.brand-art {
  background: black;
  border-radius: 10px;
  margin: 25px 0 30px;
  overflow: hidden;
  aspect-ratio: 2.05;
}
.brand-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.journey-footer {
  border-top: 1px solid #36383b;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  letter-spacing: 1.5px;
  color: #a6a9ad;
}
.price-label {
  font-size: 0.8125rem;
  color: #c0c3c7;
}
.price {
  font-family: Manrope, sans-serif;
  font-size: 2.65rem;
  letter-spacing: -1.5px;
  font-weight: 600;
  margin: 8px 0;
}
.journey .small {
  color: #acb0b5;
}
.estimate-meta {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}
.estimate-meta span {
  background: #24272b;
  border: 1px solid #373a3e;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.8125rem;
}
.receipt {
  border-top: 1px solid #393c40;
  margin-top: 21px;
  padding-top: 14px;
}
.receipt div,
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 12px 0;
  font-size: 0.875rem;
}
.receipt div {
  color: #c4c7cb;
}
.receipt strong {
  color: white;
}
.summary-line {
  border-bottom: 1px solid var(--line);
  padding: 0 0 14px;
  line-height: 1.6;
}
.summary-line span {
  color: var(--muted);
  flex-shrink: 0;
}
.summary-line strong {
  text-align: right;
  overflow-wrap: anywhere;
  font-weight: 500;
}
.note {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 15px;
}
.notice {
  border-left: 3px solid var(--red);
  padding: 12px 15px;
  background: #f8efee;
  color: #6b332e;
  font-size: 0.8125rem;
  line-height: 1.6;
  border-radius: 0 7px 7px 0;
}
.error {
  color: #96211b;
  background: #fbece9;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.error:empty {
  display: none;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  line-height: 1.6;
  font-weight: 400;
}
.check input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin: 3px 0;
  accent-color: var(--red);
}
details {
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
summary {
  font-size: 0.8125rem;
  cursor: pointer;
  color: #60666c;
}
.footer {
  max-width: 1224px;
  border-top: 1px solid #dcdee1;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 0;
  font-size: 0.75rem;
  color: var(--muted);
}
.footer > span:first-child {
  letter-spacing: 2px;
  color: #4f5358;
  font-weight: 700;
}
.footer .text-button {
  font-size: 0.75rem;
  color: #5d6268;
}
.success-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: #e6efea;
  color: #335c47;
  border-radius: 50%;
  font-size: 1.6rem;
  margin-bottom: 22px;
}
.success-panel {
  max-width: 760px;
  margin: auto;
}
.success-panel h1 {
  font-size: 2rem;
}
.confirmation-ref {
  font-family: monospace;
  font-size: 1rem;
  color: var(--red);
  letter-spacing: 1px;
}
.actions {
  display: flex;
  gap: 13px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.actions .primary {
  width: auto;
  margin: 0;
}
.history {
  display: grid;
  gap: 16px;
}
.booking-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.booking-card h2 {
  font-size: 1.1rem;
  margin: 13px 0;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.badge {
  display: inline-block;
  font-size: 0.75rem;
  border-radius: 5px;
  padding: 6px 9px;
  background: #f8edeb;
  color: var(--red);
}
.badge.cancelled {
  background: #ebecee;
  color: #60656a;
}
.card-price {
  font-size: 1.5rem;
  font-family: Manrope, sans-serif;
  text-align: right;
}
.empty {
  padding: 50px 28px;
  text-align: center;
}
.empty .primary {
  max-width: 280px;
  margin: 25px auto 0;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
}
.save-status {
  font-size: 0.875rem;
  color: #355d46;
  margin-top: 12px;
}
.danger {
  color: #8c1d18;
}
.wide-title {
  margin-bottom: 30px;
}
.filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}
.filter-bar button[aria-pressed='true'] {
  background: var(--black);
  color: white;
  border-color: var(--black);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  width: calc(100% - 32px);
  max-width: 540px;
  color: var(--ink);
}
dialog::backdrop {
  background: #0f1113a6;
  backdrop-filter: blur(3px);
}
dialog p {
  color: var(--muted);
}
.offline {
  background: #fff1d9;
  color: #754711;
  padding: 12px;
  text-align: center;
  font-size: 0.875rem;
}
@media (min-width: 1500px) {
  main {
    padding-top: 54px;
  }
}
@media (max-width: 950px) {
  main {
    padding: 30px 24px 40px;
  }
  .booking-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 1fr);
    gap: 20px;
  }
  .panel,
  .journey {
    padding: 24px;
  }
  .header {
    padding: 0 24px;
  }
  .footer {
    margin: 0 24px;
  }
  .steps {
    gap: 8px;
    font-size: 0.6875rem;
  }
  .edition {
    display: none;
  }
  .journey h2 {
    font-size: 1.5rem;
  }
  .profile-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .demo-bar {
    font-size: 0.6875rem;
    letter-spacing: 0;
  }
  .header {
    height: 83px;
    padding: 0 18px;
    gap: 15px;
  }
  .brand {
    width: 104px;
    height: 68px;
    flex-shrink: 0;
  }
  .header nav {
    gap: 17px;
    font-size: 0.75rem;
  }
  .header .account-link {
    border: 0;
    padding: 12px 0;
  }
  .account-link span {
    display: none;
  }
  main {
    padding: 28px 18px 35px;
  }
  .page-heading {
    margin-bottom: 25px;
  }
  .page-heading p:not(.eyebrow) {
    font-size: 0.875rem;
  }
  .eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 1.5px;
  }
  h1 {
    letter-spacing: -0.8px;
  }
  .booking-layout,
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 24px 20px;
  }
  .steps {
    font-size: 0.75rem;
    gap: 10px;
    line-height: 1.6;
  }
  .journey {
    position: static;
    padding: 25px;
  }
  .journey .brand-art {
    max-height: 155px;
  }
  .journey h2 {
    font-size: 1.6rem;
  }
  .footer {
    flex-wrap: wrap;
    margin: 0 18px;
    gap: 13px;
  }
  .footer > span:nth-child(2) {
    order: 3;
    flex-basis: 100%;
  }
  .row {
    gap: 12px;
  }
  .booking-card {
    grid-template-columns: 1fr;
  }
  .card-price {
    text-align: left;
  }
  .filter-bar {
    flex-wrap: wrap;
  }
  .summary-line {
    gap: 12px;
  }
  .success-panel h1 {
    font-size: 1.75rem;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .panel,
  .journey,
  .booking-card {
    animation: appear 0.3s ease-out;
  }
  @keyframes appear {
    from {
      opacity: 0.5;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

#main:focus {
  outline: none;
}

.days {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 18px;
}
.days label {
  margin: 4px 0;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 15px;
  padding: 10px 14px;
}
legend {
  font-size: 0.875rem;
  color: var(--red);
}
#settings-form .profile-grid {
  align-items: start;
}
#settings-form .panel {
  margin-top: 20px;
}
/* Agenda et espace administrateur */
[hidden] {
  display: none !important;
}
.admin-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  margin: 28px 0;
  overflow-x: auto;
  padding-bottom: 12px;
}
.admin-tabs button {
  flex-shrink: 0;
  padding: 14px 20px;
  background: transparent;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.admin-tabs button[aria-selected='true'] {
  background: #0f1113;
  color: #fff;
}
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.admin-metrics > div {
  border: 1px solid var(--line);
  background: #fff;
  padding: 22px;
  border-radius: 12px;
}
.admin-metrics strong {
  display: block;
  font:
    600 1.6rem Manrope,
    sans-serif;
  margin-bottom: 8px;
}
.admin-metrics span {
  font-size: 0.875rem;
  color: var(--muted);
}
.admin-metrics .metric-muted {
  font-size: 1rem;
  line-height: 2.1;
  color: var(--muted);
}
.admin-agenda {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.calendar-panel {
  padding: 22px;
}
.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.calendar-head h3 {
  margin: 0;
  text-transform: capitalize;
  font-size: 1.05rem;
}
.calendar-arrow {
  background: #f0f1f2;
  border-radius: 8px;
  height: 40px;
  width: 40px;
  font-size: 1.5rem;
  color: #25272b;
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.weekday {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
  padding: 8px 0;
}
.calendar-day {
  min-width: 0;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 0.875rem;
  padding: 6px 0 0;
}
.day-mark {
  height: 13px;
  font-size: 0.8rem;
  color: var(--red);
  line-height: 10px;
}
.calendar-day:hover:not(:disabled) {
  background: #f6e9e8;
}
.calendar-day.today {
  border-color: #999;
}
.calendar-day.selected {
  background: var(--red);
  color: white;
  border-color: var(--red);
}
.calendar-day.selected .day-mark {
  color: white;
}
.calendar-day.closed {
  background: #f0f1f2;
  color: #777;
}
.calendar-day:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.calendar-day.closed.selected {
  background: var(--red);
  color: white;
}
.calendar-legend {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 16px 0;
}
.availability-box {
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 12px;
  margin: 20px 0;
}
.availability-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.availability-title h2,
.availability-title h3 {
  margin: 0;
}
.availability-title .badge {
  font-size: 0.8125rem;
}
.availability-title .eyebrow {
  margin: 0 0 10px;
}
.slots-heading {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 20px;
}
.slots-heading h4 {
  font-size: 0.9375rem;
  margin: 8px 0 14px;
  text-transform: capitalize;
}
.periods {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}
.periods button {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 0.875rem;
}
.periods button[aria-pressed='true'] {
  background: #0f1113;
  color: #fff;
  border-color: #0f1113;
}
.time-slots {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  max-height: 250px;
  overflow-y: auto;
  padding: 3px;
}
.time-slot {
  border: 1px solid #d1d7d3;
  background: #fff;
  color: #2e5141;
  padding: 10px 2px;
  border-radius: 6px;
  font-size: 0.8125rem;
  min-height: 42px;
}
.time-slot.selected {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.time-slot:disabled {
  background: #f0f1f2;
  color: #85888c;
  border-color: #e7e8e9;
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: 0.75;
}
.slot-status {
  padding: 14px;
  border-radius: 8px;
  margin-top: 15px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.slot-status span {
  display: block;
  margin-top: 4px;
}
.slot-status.available {
  background: #edf3ef;
  color: #315442;
}
.slot-status.unavailable {
  background: #faeeec;
  color: #842e26;
}
.alternatives {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.alternatives .secondary {
  font-size: 0.8125rem;
}
.agenda-event {
  display: flex;
  gap: 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  padding: 20px;
  border-radius: 8px;
  margin: 14px 0;
  background: #fff;
}
.agenda-event.confirmed {
  border-left-color: #486d57;
}
.agenda-event.blocked {
  border-left-color: #4d5258;
  background: #f7f8f9;
}
.agenda-event.cancelled,
.agenda-event.declined {
  border-left-color: #a1a5aa;
}
.event-time {
  font-family: Manrope, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 58px;
  padding-top: 3px;
}
.event-time small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 7px;
}
.event-body {
  min-width: 0;
}
.event-body h3 {
  margin: 12px 0 5px;
}
.event-body p {
  margin: 8px 0;
  overflow-wrap: anywhere;
  font-size: 0.9375rem;
}
.event-body .note {
  font-size: 0.8125rem;
}
.event-body .badge {
  font-size: 0.8125rem;
}
.agenda-empty {
  text-align: center;
  color: var(--muted);
  padding: 35px 15px;
  border: 1px dashed #d4d6d8;
  border-radius: 10px;
  margin: 25px 0;
}
.agenda-empty h3 {
  font-size: 1rem;
  color: var(--ink);
}
.admin-dialog {
  max-width: 660px;
}
.settings-tab > .panel {
  min-width: 0;
}
.settings-tab[data-wide] {
  grid-template-columns: 1fr;
}
.day-agenda h2 {
  text-transform: capitalize;
  font-size: 1.2rem;
}
.admin-bookings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.admin-bookings .agenda-event {
  margin: 0;
}
.admin-tabs + div .note {
  line-height: 1.65;
}
@media (max-width: 1050px) {
  .admin-agenda {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .admin-bookings {
    grid-template-columns: 1fr;
  }
  .admin-metrics {
    gap: 10px;
  }
  .admin-metrics > div {
    padding: 16px;
  }
}
@media (max-width: 760px) {
  .admin-agenda {
    grid-template-columns: 1fr;
  }
  .admin-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .calendar-panel {
    max-width: 100%;
    width: 100%;
  }
  .calendar-day {
    min-height: 48px;
  }
  .time-slots {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .availability-box {
    padding: 14px;
  }
  .admin-tabs button {
    padding: 12px 14px;
  }
  .agenda-event {
    padding: 15px;
    gap: 13px;
  }
  .day-agenda {
    padding: 20px;
  }
  .admin-metrics strong {
    font-size: 1.35rem;
  }
  .event-body p {
    font-size: 0.875rem;
  }
}
.journey {
  background: #000;
}
.brand-art {
  border-radius: 0;
}
.address-control {
  position: relative;
}
.address-control label {
  margin-bottom: 5px;
}
.address-suggestions {
  position: absolute;
  top: 88px;
  left: 0;
  right: 0;
  z-index: 5;
  background: #fff;
  box-shadow: 0 8px 26px #0002;
  border-radius: 8px;
  overflow: hidden;
}
.address-suggestions:empty {
  display: none;
}
.address-suggestions button {
  display: block;
  text-align: left;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  width: 100%;
  font-size: 0.9375rem;
  color: var(--ink);
}
.address-suggestions button:hover,
.address-suggestions button:focus {
  background: #f8edeb;
}
.address-status {
  margin: 4px 0 14px;
  min-height: 20px;
}
.auth-choice {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.auth-choice .primary {
  margin: 0;
  width: auto;
}
.auth-landing {
  max-width: 760px;
  margin: auto;
}
.portal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wallet-amount {
  font:
    600 2.5rem Manrope,
    sans-serif;
  margin: 20px 0;
}
.wallet-ledger .summary-line {
  font-size: 0.875rem;
}
.wallet-ledger span {
  flex-shrink: 1;
}
.table-scroll {
  overflow-x: auto;
}
.clients-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}
.clients-table th {
  padding: 15px 12px;
  background: #f3f4f5;
  font-weight: 600;
  white-space: nowrap;
}
.clients-table td {
  padding: 18px 12px;
  border-bottom: 1px solid var(--line);
  line-height: 1.65;
}
.loyalty {
  min-height: 260px;
  max-width: 900px;
}
.legal-placeholder {
  max-width: 900px;
}
.footer {
  align-items: flex-start;
  padding: 28px 0;
}
.footer nav {
  display: flex;
  gap: 14px 20px;
  flex-wrap: wrap;
  max-width: 800px;
}
.footer nav a {
  font-size: 0.8125rem;
  line-height: 1.8;
}
.footer p {
  margin: 10px 0;
}
.footer .text-button {
  padding: 0;
}
.package-editor {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  margin: 12px 0;
  background: #fbfbfc;
}
.package-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
}
.package-toolbar strong {
  flex: 1;
}
.package-toolbar .secondary {
  padding: 8px 13px;
  min-height: 36px;
}
.drag-handle {
  font-size: 1.7rem;
  cursor: grab;
  color: var(--muted);
}
#view-tariffs {
  display: block;
}
#view-tariffs > .panel {
  border-radius: 0;
  border-bottom: 0;
  margin: 0;
}
#view-tariffs > .panel:first-child {
  border-radius: 12px 12px 0 0;
}
#view-tariffs > .panel:last-child {
  border-radius: 0 0 12px 12px;
  border-bottom: 1px solid var(--line);
}
.external {
  display: inline-block;
}
.admin-tabs {
  scrollbar-width: thin;
}
.address-suggestions button:focus-visible {
  outline-offset: -3px;
}
button:disabled {
  cursor: not-allowed;
}
.journey .price-label {
  font-size: 1rem;
}
@media (max-width: 720px) {
  .portal-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer {
    flex-direction: column;
  }
  .footer nav {
    gap: 10px 15px;
  }
  .package-editor {
    padding: 12px;
  }
  .package-toolbar {
    gap: 6px;
  }
  .wallet-amount {
    font-size: 2rem;
  }
}

.admin-operations {
  display: flex;
  gap: 10px;
  align-self: flex-start;
  flex-wrap: wrap;
}
.operation-button {
  border: 1px solid #c9cdd0;
  background: white;
  border-radius: 12px;
  min-width: 115px;
  padding: 13px 16px;
  cursor: pointer;
  text-align: left;
}
.operation-button strong,
.operation-button span {
  display: block;
}
.operation-button span {
  font-size: 12px;
  margin-top: 5px;
  color: #656b70;
}
.operation-button.is-active {
  background: #8c1d18;
  color: white;
  border-color: #8c1d18;
}
.operation-button.is-active span {
  color: #fff;
}
.danger {
  color: #8c1d18;
}
.maintenance-hidden {
  display: none !important;
}
.maintenance-page {
  max-width: 720px;
  margin: 60px auto;
  text-align: center;
}
.page-heading:has(.admin-operations) {
  gap: 24px;
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .admin-operations {
    width: 100%;
  }
  .operation-button {
    flex: 1;
    min-width: 90px;
    padding: 12px 10px;
  }
}

.service-notice {
  width: min(860px, calc(100% - 48px));
  margin: 32px auto 0;
  display: grid;
  gap: 20px;
}
.service-card {
  box-sizing: border-box;
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
  padding: 36px 44px 30px;
  text-align: center;
  background: #0f1113;
  color: #fff;
  border: 1px solid #0f1113;
  border-top: 4px solid #8c1d18;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(15, 17, 19, 0.1);
}
.service-card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: #8c1d18;
  border-radius: 50%;
  margin: 0 auto 18px;
  color: #fff;
}
.service-card-icon svg {
  width: 26px;
  height: 26px;
}
.service-card .service-card-label {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 13px;
  background: #fff;
  color: #8c1d18;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  border-radius: 5px;
}
.service-card h1,
.service-card h2 {
  color: #fff;
  margin: 0 auto 14px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.6px;
}
.service-card .service-card-message {
  color: #fff;
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 15px;
}
.service-card-signature {
  display: block;
  border-top: 1px solid #8c1d18;
  padding-top: 18px;
  margin: 24px auto 0;
  color: #fff;
  font-size: 10px;
  letter-spacing: 2px;
  width: fit-content;
  max-width: 100%;
}
.service-card--maintenance {
  margin: 12px auto 0;
  padding-top: 44px;
  padding-bottom: 38px;
}
@media (max-width: 700px) {
  .service-notice {
    width: calc(100% - 36px);
    margin-top: 24px;
  }
  .service-card {
    padding: 28px 22px 24px;
  }
  .service-card .service-card-message {
    font-size: 14px;
  }
}
.count-bubble {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 20px;
  background: #8c1d18;
  color: white;
  font-size: 12px;
  padding: 0 6px;
  margin-left: 8px;
}
.filter-bar {
  flex-wrap: wrap;
}
.content-editors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.content-editors textarea {
  min-height: 280px;
  line-height: 1.6;
}
.blocked-record {
  border-top: 1px solid #d9dce0;
  padding: 20px 0;
}
.blocked-clients {
  margin: 24px 0;
}
.legal-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.8;
  margin: 28px 0;
}
.legal-update {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 14px;
}
.deletion-checks {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.copyright {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.contact-number {
  font-size: 24px;
}
.contact-options {
  max-width: 760px;
  overflow-wrap: anywhere;
}
.contact-options .whatsapp-link {
  margin-top: 28px;
}
.content-editors .text-button {
  display: block;
  margin-top: 16px;
}
@media (max-width: 800px) {
  .content-editors {
    grid-template-columns: 1fr;
  }
}

.more-label {
  display: flex;
  align-items: center;
  gap: 14px;
}
.more-label svg {
  width: 24px;
  height: 24px;
  flex: none;
}
.booking-reference,
.client-app .back[data-step] {
  color: #8c1d18;
  font-weight: 700;
}
.client-app .header nav {
  gap: 12px;
}
.client-app .header nav button.profile-button {
  background: transparent;
  color: inherit;
}
.inline-location {
  float: right;
  margin: 0 0 8px 12px;
  font-size: 13px;
}
.inline-location svg {
  width: 16px;
  height: 16px;
}
.address-divider {
  margin: 18px 0;
}
.address-control label {
  margin-bottom: 4px;
}
.address-status:empty {
  display: none;
}
.favorite-select {
  margin-top: 4px;
}

.format-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rich-editor {
  min-height: 240px;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 16px;
  background: white;
  color: #202124;
  overflow-wrap: anywhere;
}
.rich-editor ul {
  padding-left: 24px;
}
.text-justified {
  text-align: justify;
}
.legal-text {
  white-space: normal;
}
.legal-text ul {
  padding-left: 24px;
}

.service-settings {
  display: grid;
  gap: 24px;
}
.messages {
  max-height: 45vh;
  overflow: auto;
}
.message {
  padding: 16px;
  border: 1px solid #454545;
  border-radius: 12px;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.message.owner {
  border-color: #8c1d18;
}
.message time {
  display: block;
  font-size: 12px;
  color: #888;
}
.message-list {
  display: grid;
  gap: 12px;
}
.message-list button {
  display: grid;
  gap: 8px;
  text-align: left;
}

.ride-entry {
  display: grid;
  gap: 10px;
}
.ride-vehicle {
  font-size: 14px;
}
.ride-vehicle svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
.return-offers {
  margin-top: 24px;
}
.return-offers article + article {
  margin-top: 24px;
}

.bag-sizes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.bag-total {
  font-size: 14px;
  padding-top: 8px;
}
.bag-total p {
  margin-top: 8px;
}
.bag-sizes label {
  font-size: 13px;
}

.address-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.address-heading label {
  margin: 17px 0 0;
}
.address-heading .location-button {
  margin: 17px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
}
.address-heading .location-button svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.address-control + .favorite-choice {
  margin-top: 4px;
}
.google-map {
  width: 100%;
  height: 320px;
  min-width: 0;
  border: 1px solid #34373b;
  border-radius: 20px;
  overflow: hidden;
  background: #101113;
  margin: 16px 0;
}
.google-map > p {
  padding: 24px;
}
.journey .google-map {
  height: 280px;
}
@media (max-width: 600px) {
  .google-map {
    height: 280px;
  }
}
.admin-price-detail {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid #d9dde1;
  border-radius: 16px;
  background: #fff;
  color: #0f1113;
  color-scheme: light;
}
.admin-price-detail table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}
.admin-price-detail th,
.admin-price-detail td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid #d9dde1;
}
.admin-price-detail th:last-child,
.admin-price-detail td:last-child {
  text-align: right;
  white-space: nowrap;
}
.admin-price-detail .price-subtotal {
  font-weight: 600;
}
.admin-price-detail .price-total {
  color: #8c1d18;
  font-weight: 700;
  background: #faf4f3;
}
.admin-price-detail h3 {
  margin-top: 0;
}

.admin-price-detail thead {
  background: #f4f5f6;
}
.admin-price-detail p,
.admin-price-detail .note {
  color: #50565d;
}
.admin-price-detail h3,
.admin-price-detail h4 {
  color: #0f1113;
}

.footer nav[hidden] {
  display: none;
}

.ride-progress {
  background: linear-gradient(145deg, #161b1d, #0f1113);
  border: 1px solid #303739;
  color: #f8f8f6;
  padding: 26px;
  border-radius: 22px;
}
.ride-progress-eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #a5afad;
  margin-bottom: 10px;
}
.ride-progress-heading h2 {
  color: #fff;
  margin: 0 0 24px;
}
.ride-progress-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ride-progress-step {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: center;
  min-height: 76px;
  padding: 10px 12px;
  margin: 0;
  border-radius: 14px;
}
.ride-progress-step:not(:last-child):after {
  content: '';
  position: absolute;
  width: 1px;
  left: 27px;
  top: 48px;
  bottom: -28px;
  background: #343d3e;
  z-index: 0;
}
.ride-progress-dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1px solid #495253;
  border-radius: 50%;
  background: #14191b;
  z-index: 1;
}
.ride-progress-dot span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #667371;
}
.ride-progress-step strong {
  display: block;
  font-size: 15px;
  color: #8e9996;
  font-weight: 500;
}
.ride-progress-caption {
  display: block;
  margin-top: 5px;
  color: #667571;
  font-size: 12px;
}
.ride-progress-step.is-complete strong {
  color: #e0e6e3;
}
.is-complete .ride-progress-dot {
  border-color: #8c9693;
}
.is-complete .ride-progress-dot span {
  background: #dce4e0;
}
.ride-progress-step.is-current {
  background: linear-gradient(120deg, #8c1d1838, #8c1d1809);
  box-shadow: inset 0 0 0 1px #8c1d1860;
}
.is-current .ride-progress-dot {
  border-color: #b83c34;
  background: #8c1d18;
  box-shadow: 0 0 0 5px #8c1d1822;
}
.is-current .ride-progress-dot span {
  background: #fff;
}
.ride-progress-step.is-current strong {
  color: #fff;
  font-weight: 650;
}
.is-current .ride-progress-caption {
  color: #e6a69e;
}
.ride-progress .ride-progress-note {
  color: #929f99;
  font-size: 12px;
  line-height: 1.6;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid #303739;
}
@media (max-width: 480px) {
  .ride-progress {
    padding: 20px;
  }
  .ride-progress-step {
    gap: 14px;
  }
}

/* Consistent spacing between administration panels. */
#view-clients > .panel + .panel,
#view-parameters > .panel + .panel {
  margin-top: 24px;
}
#view-connections p,
#view-content p {
  text-align: justify;
  hyphens: auto;
}
.footer[hidden],
.demo-bar[hidden] {
  display: none !important;
}

.admin-booking-heading h2:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Administration: consistent block spacing and page selection. */
.settings-tab,
.content-page-grid {
  gap: 24px;
}
.settings-tab > .panel {
  margin: 0;
}
.content-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.content-page-card {
  color: inherit;
  text-align: left;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 24px;
  margin: 0;
}
.content-page-card:hover {
  border-color: #9b2824;
}
.admin-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.content-editors {
  margin-top: 24px;
}

/* White administrator access, matching the centered Elyx brand layout. */
.admin-access-card {
  max-width: 1100px;
  margin: 30px auto 60px;
  padding: 64px 48px 44px;
  border: 1px solid #d7d9dc;
  border-radius: 32px;
  background: linear-gradient(135deg, #fff, #fafafa);
  text-align: center;
  box-shadow: 0 12px 32px #19202608;
}
.admin-access-card .eyebrow,
.admin-access-dialog .eyebrow {
  color: #aa635c;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: center;
  margin: 0 0 22px;
}
.admin-access-card h1 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.3;
  letter-spacing: -0.035em;
  margin: 0 auto;
  max-width: 850px;
}
.admin-access-description {
  max-width: 760px;
  margin: 32px auto 44px;
  color: #656a70;
  font-size: 18px;
  line-height: 1.7;
}
.admin-access-buttons {
  display: grid;
  gap: 18px;
  max-width: 580px;
  margin: auto;
}
.admin-access-card .admin-elixir-button,
.admin-access-dialog .admin-elixir-button,
.admin-access-dialog .admin-green-button {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 16px;
  border-width: 2px !important;
  box-shadow:
    inset 0 2px 0 #ffffff20,
    0 8px 18px #0000000b;
  font-size: 17px;
  line-height: 1.4;
  padding: 18px 22px;
  cursor: pointer;
}
.admin-access-return {
  display: inline-block;
  margin-top: 28px;
}
dialog.admin-access-dialog {
  box-sizing: border-box;
  width: min(700px, calc(100vw - 32px));
  max-width: 700px;
  max-height: calc(100dvh - 48px);
  padding: 38px 40px 28px;
  border: 1px solid #d7d9dc;
  border-radius: 28px;
  background: #fff;
  color: #202327;
  overflow-y: auto;
}
.admin-access-dialog h2 {
  text-align: center;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.25;
  margin: 0 0 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid #d7d9dc;
  outline: none !important;
  box-shadow: none !important;
}
.admin-access-dialog form {
  display: grid;
  gap: 20px;
  margin: 0 0 18px;
}
.admin-access-dialog label {
  text-align: center;
  color: #656a70;
  font-weight: 600;
  display: grid;
  gap: 10px;
  margin: 0;
}
.admin-access-dialog input {
  box-sizing: border-box;
  width: 100%;
  min-height: 56px;
  margin: 0;
  border: 1px solid #ccd0d4;
  border-radius: 14px;
  background: #fafafa;
  color: #202327;
  padding: 14px 16px;
}
.admin-access-login-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 6px;
}
.admin-access-dialog > [data-forgot],
.admin-access-dialog > [data-verify] {
  width: 100%;
  margin: 0 0 16px;
  min-height: 56px;
  text-align: center;
}
.admin-access-dialog .admin-access-secondary {
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}
.admin-access-dialog .admin-access-close {
  display: block;
  margin: 4px auto 0;
  padding: 10px 16px;
}
.admin-access-dialog .error:empty {
  display: none;
}
@media (max-width: 600px) {
  .admin-access-card {
    padding: 38px 22px 28px;
    margin: 20px 0 40px;
    border-radius: 24px;
  }
  .admin-access-description {
    font-size: 16px;
    margin: 24px auto 30px;
  }
  .admin-access-dialog {
    padding: 28px 22px !important;
  }
  .admin-access-login-actions {
    grid-template-columns: 1fr;
  }
  .admin-access-card .admin-elixir-button,
  .admin-access-dialog .admin-elixir-button {
    font-size: 16px;
  }
}

.admin-operations .admin-logout-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 64px;
  padding: 12px;
  color: #8c1d18;
  flex: 0 0 52px;
}
.admin-logout-icon:hover {
  background: #faeeec;
}
.admin-access-card > .error:empty {
  display: none;
}

/* Compact administrator access: retain comfortable controls and fit the viewport. */
.admin-access-card {
  max-width: 1040px;
  margin: 18px auto 30px;
  padding: 44px 40px 30px;
}
.admin-access-card h1 {
  font-size: clamp(30px, 3.7vw, 50px);
}
.admin-access-card .eyebrow,
.admin-access-dialog .eyebrow {
  margin-bottom: 16px;
}
.admin-access-description {
  margin: 24px auto 30px;
}
.admin-access-buttons {
  gap: 14px;
}
.admin-access-return {
  margin-top: 20px;
}
dialog.admin-access-dialog {
  padding: 28px 34px 20px;
  max-height: calc(100dvh - 24px);
}
.admin-access-dialog h2 {
  font-size: clamp(26px, 2.8vw, 34px);
  margin-bottom: 20px;
  padding-bottom: 18px;
}
.admin-access-dialog form {
  gap: 16px;
  margin-bottom: 14px;
}
.admin-access-dialog label {
  gap: 8px;
}
.admin-access-dialog input {
  min-height: 50px;
  padding: 11px 14px;
}
.admin-access-login-actions {
  gap: 14px;
  margin-top: 2px;
}
.admin-access-card .admin-elixir-button,
.admin-access-dialog .admin-elixir-button,
.admin-access-dialog .admin-green-button {
  min-height: 56px;
  padding: 14px 18px;
}
.admin-access-dialog > [data-forgot],
.admin-access-dialog > [data-verify] {
  min-height: 50px;
  margin-bottom: 12px;
}
.admin-access-dialog .admin-access-secondary {
  padding: 11px 14px;
}
.admin-access-dialog .admin-access-close {
  margin-top: 0;
  padding: 8px 14px;
}
@media (max-width: 600px) {
  .admin-access-card {
    padding: 30px 20px 24px;
    margin: 12px 0 24px;
  }
  .admin-access-description {
    margin: 18px auto 24px;
  }
  .admin-access-dialog {
    padding: 22px 20px 16px !important;
  }
  .admin-access-dialog form {
    gap: 12px;
  }
  .admin-access-dialog h2 {
    margin-bottom: 16px;
    padding-bottom: 14px;
  }
  .admin-access-dialog .admin-access-login-actions {
    gap: 12px;
  }
  .admin-access-dialog .admin-elixir-button,
  .admin-access-dialog .admin-green-button {
    min-height: 50px;
    padding: 11px 14px;
  }
}

.chat-close { margin-top: 20px; }
.chat-close button:focus:not(:focus-visible) { outline: none; }

.favorite-delete { flex: 0 0 44px; width: 44px; min-height: 44px; padding: 10px; display: inline-flex; align-items: center; justify-content: center; }
.favorite-delete svg { width: 22px; height: 22px; margin: 0; }
