:root {
  color-scheme: dark;
  --bg: #1b1e1c;
  --panel: #252c26;
  --raised: #2d372b;
  --ink: #eeeae2;
  --muted: #bdc5b6;
  --accent: #c4a373;
  --line: #4b5745;
  --danger: #f5b8a5;
  --heading: Manrope, Arial, sans-serif;
  --font: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--font);
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
button,
input,
select {
  min-height: 44px;
}
input,
select,
textarea {
  width: 100%;
  background: #1b231d;
  border: 1px solid #65715c;
  border-radius: 9px;
  padding: 11px;
  color: var(--ink);
  min-width: 0;
}
textarea {
  resize: vertical;
}
input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-height: 22px;
  accent-color: var(--accent);
}
input[type="file"] {
  max-width: 100%;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #d2d8ca;
  font-size: 0.9rem;
}
.check-label {
  flex-direction: row;
  align-items: center;
  min-height: 44px;
}
h1,
h2,
h3 {
  font-family: var(--heading);
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(2rem, 3vw, 3rem);
}
h2 {
  font-size: 1.4rem;
}
h3 {
  font-size: 1.1rem;
}
p {
  margin: 0 0 16px;
  color: var(--muted);
}
small {
  color: var(--muted);
}
:focus-visible {
  outline: 3px solid #dfbd89;
  outline-offset: 3px;
}
.skip {
  position: absolute;
  top: -80px;
  left: 10px;
  z-index: 100;
  background: var(--panel);
  padding: 15px;
}
.skip:focus {
  top: 5px;
}
.portal-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: #1b1e1cf5;
  position: sticky;
  top: 0;
  z-index: 20;
}
.portal-header > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.portal-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font: bold 14px var(--heading);
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.portal-brand:hover {
  text-decoration: none;
}
.portal-brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.13em;
  color: var(--accent);
  margin-top: 4px;
}
.logo-crop {
  position: relative;
  width: 36px;
  height: 48px;
  overflow: hidden;
}
.logo-crop img {
  position: absolute;
  width: 80px;
  height: 80px;
  max-width: none;
  left: -22px;
  top: -6px;
  filter: invert(1) grayscale(1);
  mix-blend-mode: screen;
}
.button,
.secondary,
.danger {
  border: 1px solid var(--accent);
  border-radius: 9px;
  padding: 10px 17px;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-weight: 600;
  background: var(--accent);
  color: #181e18;
  text-decoration: none;
  line-height: 1.35;
}
.button:hover {
  background: #dcc093;
  text-decoration: none;
}
.secondary {
  background: transparent;
  border-color: #68765e;
  color: var(--ink);
}
.secondary:hover {
  background: #354130;
  text-decoration: none;
}
.danger {
  background: #442d26;
  border-color: #936652;
  color: #ffd1bc;
}
.button:focus-visible,
.secondary:focus-visible {
  outline-offset: 4px;
}
.portal-sidebar {
  position: fixed;
  top: 84px;
  bottom: 0;
  left: 0;
  width: 218px;
  padding: 25px 16px;
  border-right: 1px solid var(--line);
  overflow-y: auto;
  background: #182019;
}
.portal-sidebar nav {
  display: grid;
  gap: 5px;
}
.portal-sidebar a {
  padding: 11px 16px;
  min-height: 44px;
  border-radius: 9px;
  color: #cdd4c5;
  font-size: 0.93rem;
}
.portal-sidebar a[aria-current="page"] {
  background: #3c4935;
  color: #f1d4a5;
}
.admin-portal #portal-main {
  margin-left: 218px;
  max-width: 1660px;
  padding: 38px 38px 90px;
}
.customer-portal #portal-main {
  max-width: 1060px;
  margin: auto;
  padding: 45px 25px 90px;
}
#nav-toggle {
  display: none;
}
.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d3ba91;
  margin-bottom: 12px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 22px;
  min-width: 0;
}
.narrow {
  max-width: 630px;
  margin: 25px auto;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}
.metric {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.metric span {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
}
.metric strong {
  display: block;
  font-size: 1.8rem;
  font-family: var(--heading);
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  gap: 24px;
}
.record-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.record {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 12px;
  background: #222b23;
  min-width: 0;
}
.record > div {
  min-width: 0;
}
.record strong,
.record small {
  display: block;
  overflow-wrap: anywhere;
}
.record strong {
  margin-bottom: 5px;
}
.record a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.status {
  display: inline-flex;
  padding: 4px 9px;
  border: 1px solid #788367;
  border-radius: 6px;
  text-transform: capitalize;
  font-size: 0.72rem;
  white-space: nowrap;
  color: #e2d9c7;
  background: #353f2f;
}
.status-paid,
.status-completed,
.status-accepted,
.status-succeeded {
  color: #dcf1cb;
  background: #354a2c;
}
.status-cancelled,
.status-declined,
.status-void,
.status-failed,
.status-expired {
  color: #ffd1b9;
  background: #4b332b;
  border-color: #98725e;
}
.status-processing,
.status-awaiting_approval,
.status-overdue {
  color: #ffe0a6;
  background: #514127;
}
.empty {
  text-align: center;
  border: 1px dashed #69725d;
  border-radius: 12px;
  padding: 35px 20px;
  color: var(--muted);
}
.search-row {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-bottom: 22px;
}
.search-row label {
  flex: 1;
}
.search-row input {
  max-width: 600px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.span-2 {
  grid-column: 1/-1;
}
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.form-error {
  color: #ffcab1;
  margin-top: 16px;
  white-space: pre-wrap;
}
.form-error:empty {
  display: none;
}
.error-panel {
  border-color: #96735c;
}
.error-panel p {
  color: #ffd1b9;
}
dialog {
  background: #222a23;
  color: var(--ink);
  border: 1px solid #718062;
  border-radius: 18px;
  width: min(850px, 94vw);
  max-height: 90dvh;
  padding: 0;
  box-shadow: 0 30px 100px #0009;
}
dialog::backdrop {
  background: #000b;
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #222a23;
  z-index: 2;
}
.dialog-heading h2 {
  margin: 0;
}
#dialog-body {
  padding: 25px;
}
.notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: calc(100vw - 48px);
  background: #354b2d;
  border: 1px solid #83976e;
  color: #eff6e8;
  border-radius: 12px;
  padding: 16px 23px;
  z-index: 100;
  box-shadow: 0 8px 35px #0008;
}
.notice.error {
  background: #4e3025;
  color: #ffddc7;
}
.loading {
  padding: 50px 20px;
  color: var(--muted);
}
.dev-label {
  font-size: 0.65rem;
  color: #eacb92;
  border: 1px solid #83704d;
  padding: 6px;
  border-radius: 5px;
}
.calendar-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.calendar-controls .actions > button[aria-pressed="true"] {
  background: var(--accent);
  color: #192119;
}
.block-guide h2 {
  margin-top: 0;
}
.block-guide p:last-child {
  margin-bottom: 0;
}
.block-guide summary {
  cursor: pointer;
  min-height: 44px;
  display: list-item;
  padding-block: 10px;
}
.block-guide summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.block-options {
  display: grid;
  gap: 14px;
}
.block-options button {
  text-align: left;
  white-space: normal;
  padding: 16px;
}
.block-options strong,
.block-options small {
  display: block;
}
.block-options small {
  font-weight: 400;
  margin-top: 6px;
}
.block-options [data-block-choice="open"] {
  background: #214c36;
  border-color: #75a784;
  color: #dcffe8;
}
.block-options [data-block-choice="booked"] {
  background: #542c2c;
  border-color: #b47a72;
  color: #ffe2da;
}
.block-key {
  display: inline-block;
  border-radius: 6px;
  padding: 4px 10px;
  margin: 0 6px 6px 0;
}
.block-key.open {
  background: #214c36;
  color: #dcffe8;
}
.block-key.closed {
  background: #542c2c;
  color: #ffe2da;
}
.block-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.block-day {
  min-width: 0;
}
.block-day h2 {
  font-size: 1rem;
  margin: 0 0 12px;
  text-align: center;
}
.block-day h2 span,
.block-day h2 small {
  display: block;
}
.block-day h2 small {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.85rem;
}
.week-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 145px;
  padding: 12px 6px;
  margin-bottom: 10px;
  border-radius: 12px;
  border: 1px solid #75a784;
  background: #214c36;
  color: #dcffe8;
  text-align: center;
}
.week-block:hover {
  filter: brightness(1.15);
}
.week-block .block-hours {
  font-size: 0.88rem;
  font-weight: 600;
}
.week-block strong {
  font-size: 1rem;
}
.week-block small {
  font-size: 0.73rem;
  line-height: 1.35;
}
.week-block.closed,
.week-block.booked,
.week-block.unavailable {
  background: #542c2c;
  color: #ffe2da;
  border-color: #b47a72;
}
.week-block.past {
  background: #303831;
  color: #c0c6bd;
  border-color: #626e61;
  cursor: default;
  opacity: 1;
}
.week-block:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
@media (max-width: 1100px) {
  .block-week {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .block-day {
    display: grid;
    grid-template-columns: 65px repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
  }
  .block-day h2 {
    align-self: center;
    margin: 0;
  }
  .week-block {
    min-height: 88px;
    margin: 0;
    gap: 3px;
  }
}
@media (max-width: 600px) {
  .block-day {
    grid-template-columns: 43px repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .block-day h2 {
    font-size: 0.86rem;
  }
  .block-day h2 small {
    font-size: 0.7rem;
  }
  .week-block {
    padding: 8px 3px;
    border-radius: 9px;
  }
  .week-block .block-hours {
    font-size: 0.72rem;
  }
  .week-block strong {
    font-size: 0.85rem;
  }
  .week-block small {
    font-size: 0.65rem;
  }
}
.calendar-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.calendar-day {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 12px;
  min-width: 0;
}
.calendar-day h2 {
  font-size: 0.85rem;
  letter-spacing: 0;
}
.calendar-day .record {
  padding: 10px;
  display: block;
  margin-bottom: 10px;
}
.calendar-day .record strong {
  font-size: 0.83rem;
}
.calendar-day .record small {
  font-size: 0.73rem;
}
.calendar-day .record .status {
  white-space: normal;
}
.calendar-week .calendar-day .record a {
  min-height: 44px;
  display: block;
}
.calendar-agenda {
  display: grid;
  gap: 18px;
}
.calendar-agenda .record {
  align-items: flex-start;
}
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9rem;
}
td,
th {
  text-align: left;
  padding: 13px 11px;
  border-bottom: 1px solid var(--line);
}
th {
  color: #d7d2c5;
  font-weight: 500;
  font-size: 0.8rem;
}
td {
  color: #cfd5c7;
}
td a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.money {
  text-align: right;
  white-space: nowrap;
}
.line-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 15px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
}
.line-item .description {
  grid-column: 1/-1;
}
.line-item label {
  font-size: 0.8rem;
}
.line-item .actions {
  grid-column: 1/-1;
  justify-content: space-between;
}
.totals {
  margin: 25px 0 0 auto;
  max-width: 380px;
}
.totals > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0;
}
.totals .grand-total {
  font-size: 1.35rem;
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 15px;
  font-weight: 600;
}
.document-head {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}
.document-head h1 {
  font-size: 2.1rem;
}
.document-address {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 28px;
}
.document-notes {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.print-document .logo-crop {
  display: none;
}
.print-document .portal-brand {
  margin-bottom: 24px;
}
.secure-note {
  font-size: 0.83rem;
  color: var(--muted);
  margin-top: 18px;
}
.booking-steps {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}
.booking-steps li {
  flex: 1;
  border-top: 3px solid var(--line);
  padding-top: 9px;
  color: var(--muted);
  font-size: 0.8rem;
}
.booking-steps li[aria-current="step"] {
  border-color: var(--accent);
  color: #f3deba;
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 15px 0;
}
.slot-grid button {
  min-height: 48px;
}
.slot-grid button[aria-pressed="true"] {
  background: var(--accent);
  color: #192019;
}
.slot-day {
  margin-bottom: 22px;
}
.booking-summary {
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  margin-bottom: 22px;
}
.success-mark {
  display: inline-grid;
  place-items: center;
  border: 1px solid #91a77f;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  color: #d1e8be;
  margin-bottom: 20px;
}
.hidden,
[hidden] {
  display: none !important;
}
.file-list {
  display: grid;
  gap: 10px;
}
.file-list a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.detail-grid p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.detail-grid dt {
  font-size: 0.8rem;
  color: #c4ad87;
  margin-bottom: 5px;
}
.detail-grid dd {
  margin: 0;
}
.pagination {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 20px;
}
.payment-area {
  max-width: 570px;
  margin: 30px 0 0 auto;
}
.lookup {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #202921;
}
.lookup .search-row {
  margin-bottom: 0;
}
.copy-link {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.copy-link input {
  flex: 1;
  min-width: 200px;
}
.mobile-only {
  display: none;
}
@media (min-width: 1650px) {
  .admin-portal #portal-main {
    padding-inline: 55px;
  }
  .panel {
    padding: 28px;
  }
}
@media (max-width: 1100px) {
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .calendar-week {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .admin-portal #portal-main {
    padding: 30px 24px 70px;
  }
  .portal-sidebar {
    width: 190px;
  }
  .admin-portal #portal-main {
    margin-left: 190px;
  }
}
@media (max-width: 760px) {
  .portal-header {
    height: 72px;
    padding: 0 17px;
  }
  .portal-brand {
    font-size: 12px;
  }
  .portal-brand small {
    font-size: 7px;
  }
  .portal-header .secondary {
    padding-inline: 10px;
    font-size: 0.82rem;
  }
  .portal-sidebar {
    display: none;
    top: 72px;
    width: 100%;
    bottom: auto;
    max-height: calc(100dvh - 72px);
    z-index: 25;
    border-bottom: 1px solid var(--line);
  }
  .portal-sidebar nav {
    grid-template-columns: 1fr 1fr;
  }
  .nav-open .portal-sidebar {
    display: block;
  }
  #nav-toggle {
    display: inline-flex;
  }
  .admin-portal #portal-main {
    margin-left: 0;
    padding: 26px 17px 70px;
  }
  .customer-portal #portal-main {
    padding: 30px 17px 70px;
  }
  .page-heading {
    flex-direction: column;
    gap: 10px;
  }
  h1 {
    font-size: 2rem;
  }
  .panel {
    padding: 20px 17px;
    border-radius: 13px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 17px 14px;
  }
  .metric strong {
    font-size: 1.5rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: auto;
  }
  .form-actions .button {
    flex: 1;
  }
  .search-row {
    flex-wrap: wrap;
  }
  .search-row label {
    min-width: 170px;
  }
  .record {
    padding: 13px;
    gap: 10px;
  }
  .record > .actions {
    justify-content: flex-end;
  }
  .record .secondary {
    padding-inline: 10px;
  }
  .calendar-week {
    grid-template-columns: 1fr;
  }
  .calendar-day {
    padding: 17px;
  }
  .calendar-day h2 {
    font-size: 1rem;
  }
  .calendar-day .record strong {
    font-size: 1rem;
  }
  .calendar-day .record small {
    font-size: 0.85rem;
  }
  .calendar-controls {
    gap: 12px;
  }
  .calendar-controls .actions {
    gap: 6px;
  }
  .calendar-controls button {
    padding-inline: 12px;
  }
  .calendar-controls input {
    max-width: 180px;
  }
  .line-item {
    grid-template-columns: 1fr 1fr;
    padding: 14px;
    gap: 12px;
  }
  .line-item label:first-child {
    grid-column: 1/-1;
  }
  .line-item label {
    min-width: 0;
  }
  #dialog-body {
    padding: 20px 17px;
  }
  .dialog-heading {
    padding: 17px;
  }
  .dialog-heading h2 {
    font-size: 1.2rem;
  }
  dialog {
    width: calc(100vw - 20px);
    max-height: 94dvh;
    border-radius: 14px;
  }
  .document-head {
    flex-direction: column;
    gap: 10px;
  }
  .document-head h1 {
    font-size: 1.65rem;
  }
  .document-address {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .document-table thead {
    display: none;
  }
  .document-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
  }
  .document-table td {
    border: 0;
    padding: 6px;
  }
  .document-table td:first-child {
    grid-column: 1/-1;
    font-weight: 600;
  }
  .document-table td:not(:first-child):before {
    content: attr(data-label) " ";
    color: var(--muted);
    font-size: 0.75rem;
  }
  .document-table .money {
    text-align: left;
  }
  .booking-steps li {
    font-size: 0.68rem;
  }
  .booking-steps {
    gap: 5px;
  }
  .slot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .dev-label {
    display: none;
  }
  .mobile-only {
    display: block;
  }
  .totals {
    max-width: 100%;
  }
  .notice {
    bottom: 15px;
    right: 15px;
    max-width: calc(100vw - 30px);
  }
  input,
  select,
  textarea {
    font-size: 16px;
  }
}
@media print {
  body {
    background: white !important;
    color: #111 !important;
    font:
      11pt/1.4 Arial,
      sans-serif;
  }
  .portal-header,
  .portal-sidebar,
  .actions,
  button,
  .no-print,
  .notice,
  .payment-area,
  #editor-dialog {
    display: none !important;
  }
  #portal-main,
  .admin-portal #portal-main,
  .customer-portal #portal-main {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none;
  }
  .panel {
    border: 0;
    background: white;
    padding: 0;
  }
  .print-document {
    background: white;
    color: #111;
  }
  .print-document p,
  .print-document small,
  .print-document td,
  .print-document th {
    color: #222;
  }
  .print-document .portal-brand {
    color: #111;
    display: block;
  }
  .print-document .portal-brand small {
    color: #555;
  }
  .status {
    background: white !important;
    color: #111 !important;
    border: 1px solid #888;
  }
  .document-table thead {
    display: table-header-group;
  }
  .document-table tr {
    display: table-row;
    break-inside: avoid;
  }
  .document-table td {
    display: table-cell;
  }
  .document-table td:before {
    content: none !important;
  }
  .document-address {
    grid-template-columns: 1fr 1fr;
  }
  .totals {
    max-width: 300px;
    break-inside: avoid;
  }
  .document-notes {
    break-inside: avoid;
  }
  @page {
    margin: 18mm;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !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;
}
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.choice input {
  width: 22px;
  height: 22px;
}
.choice:has(:checked) {
  border-color: #c5a273;
  background: #343b31;
}
.slot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.slot {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #747e6b;
  border-radius: 10px;
  background: #242b25;
  color: #f4f1eb;
}
.slot[aria-pressed="true"] {
  background: #c5a273;
  color: #191d19;
}
.check {
  display: flex;
  gap: 12px;
  align-items: center;
}
.check input {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.booking-steps {
  display: flex;
  gap: 12px;
  list-style: none;
  flex-wrap: wrap;
  padding: 0;
  color: #b9beb4;
}
.booking-steps [aria-current] {
  color: #edd3ac;
  font-weight: 700;
}
.confirmation {
  overflow-wrap: anywhere;
}
#payment-element {
  margin: 24px 0;
}

.form-grid .choice {
  flex-direction: row;
  justify-content: flex-start;
  min-height: 70px;
}
.choice input {
  margin: 0;
  flex: 0 0 22px;
}
.choice span {
  text-align: left;
}

.calendar-block {
  border: 1px dashed #c5a273;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
}
.calendar-block small,
.calendar-block strong {
  display: block;
}
.document-number {
  font-size: clamp(28px, 4vw, 42px);
}
@media print {
  .page-heading,
  .no-print {
    display: none !important;
  }
  .print-document {
    break-inside: auto;
  }
  .print-document .portal-brand img {
    filter: none;
  }
}
