:root {
  --gold: #fec524;
  --navy: #071b2d;
  --cream: #f5f2ea;
  --ink: #111820;
  --muted: #68727a;
  --line: #dce0e2;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Inter", Arial, sans-serif;
}
html, body { overflow-anchor: none; }
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
}
button,
input,
select {
  font: inherit;
}
.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  background: #fff;
  padding: 10px;
  z-index: 200;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip:focus {
  clip-path: none;
  width: auto;
  height: auto;
  overflow: visible;
}
.prototype {
  height: 28px;
  background: var(--gold);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
#header {
  height: 82px;
  padding: 0 5vw;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
.brand i,
.user i {
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold);
  font: 800 23px var(--display);
  font-style: normal;
}
.brand i {
  width: 48px;
  height: 48px;
  border: 3px solid var(--gold);
  transform: skew(-5deg);
}
.brand span b,
.brand span small,
.user span b,
.user span small {
  display: block;
}
.brand span b {
  font: 800 34px/27px var(--display);
}
.brand span small {
  font-size: 12px;
  letter-spacing: 0.25em;
}
.official-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.official-brand span {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  padding-left: 12px;
}
.portal-brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  image-rendering: auto;
  filter: drop-shadow(0 5px 10px rgba(7, 27, 45, 0.12));
}
.admin-side .portal-brand img {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.28));
}
#header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
#header nav a,
#header .link {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}
button {
  cursor: pointer;
}
.link {
  border: 0;
  background: none;
}
.btn {
  min-height: 46px;
  border: 0;
  padding: 12px 20px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.btn:hover {
  transform: translateY(-1px);
}
.gold {
  background: var(--gold);
  color: var(--navy);
}
.navy {
  background: var(--navy);
  color: #fff;
}
.light {
  background: #fff;
  color: var(--navy);
}
.outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.full {
  width: 100%;
}
#menu {
  display: none;
}
.view {
  display: none;
}
.view.active {
  display: block;
}
.hero {
  height: calc(100vh - 110px);
  min-height: 620px;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}
.shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(4, 20, 34, 0.96),
      rgba(4, 20, 34, 0.66) 48%,
      rgba(4, 20, 34, 0.12)
    ),
    linear-gradient(0deg, rgba(4, 20, 34, 0.35), transparent);
}
.hero-copy {
  position: relative;
  padding-left: 8vw;
  max-width: 820px;
}
.affiliation {
  margin-bottom: 24px;
  width: min(610px, 82vw);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 22px 16px 18px;
  background: rgba(7, 27, 45, 0.82);
  border-left: 3px solid var(--gold);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(4px);
}
.affiliation img {
  display: block;
  flex: 0 0 auto;
  width: 112px;
  height: 70px;
  object-fit: contain;
}
.affiliation span {
  min-width: 0;
}
.affiliation small,
.affiliation strong {
  display: block;
  color: #fff;
  font-family: var(--display);
  font-style: normal;
  text-transform: uppercase;
}
.affiliation small {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.1;
}
.affiliation strong {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
}
.eyebrow {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
}
.eyebrow.ink {
  color: #876800;
}
.hero h1,
.section h2,
.workspace h1,
.modal h2,
.panel h2 {
  font-family: var(--display);
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 0.78;
  margin: 15px 0 25px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  color: #dbe1e5;
  font-size: 19px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}
.hero-copy a {
  color: #fff;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}
.section {
  padding: 8vw;
}
.section h2 {
  color: var(--navy);
  font-size: clamp(3.5rem, 6vw, 6rem);
  line-height: 0.9;
  margin: 10px 0 25px;
}
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 7vw;
  align-items: center;
}
.lead {
  font-size: 17px;
  line-height: 1.75;
  color: #4d5860;
}
.split ul {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.split li {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  font-size: 13px;
  font-weight: 700;
}
.team-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--navy);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 5px;
}
.images {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-rows: 210px 210px;
  gap: 12px;
}
.images figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
}
.images .tall {
  grid-row: span 2;
}
.images .wide {
  grid-column: span 2;
}
.images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.images figure:hover img {
  transform: scale(1.025);
}
.images figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 9px 12px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.dark {
  background: var(--navy);
  color: #fff;
}
.dark h2 {
  color: #fff;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 45px;
  border: 1px solid #314455;
}
.days button {
  text-align: center;
  padding: 27px;
  color: #fff;
  background: transparent;
  border: 0;
  border-right: 1px solid #314455;
}
.days button:hover,
.days button:focus-visible {
  background: #102d44;
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}
.days span,
.days small {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.days b {
  display: block;
  font: 700 50px var(--display);
  margin: 8px;
}
.days small {
  color: #aab5bd;
}
.days .chosen {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.04);
}
.days .chosen small {
  color: var(--navy);
}
.privacy {
  text-align: center;
  color: #9cabb5;
  font-size: 12px;
  margin-top: 28px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 40px;
}
.steps article {
  background: var(--cream);
  padding: 40px;
}
.steps span {
  border-bottom: 2px solid var(--gold);
  font: 800 14px var(--display);
}
.steps h3,
.selection h3 {
  font: 700 29px var(--display);
  text-transform: uppercase;
}
.steps p,
.selection p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}
.portal.active {
  display: grid;
  grid-template-columns: 116px 1fr;
  min-height: calc(100vh - 28px);
  background: #f4f5f6;
}
.portal > aside {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 20px 8px;
  display: flex;
  align-items: center;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: calc(100vh - 28px);
}
.portal > aside nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 55px;
}
.portal > aside button {
  border: 0;
  background: none;
  min-height: 48px;
  font-size: 10px;
  color: var(--muted);
}
.portal > aside nav button.active {
  background: #fff5ce;
  color: var(--navy);
  border-left: 3px solid var(--gold);
}
.portal > aside > button {
  margin-top: auto;
}
.portal .admin-side {
  background: var(--navy);
  border: 0;
}
.portal .admin-side button {
  color: #a5b2bb;
}
.portal .admin-side nav button.active {
  background: #112f47;
  color: var(--gold);
}
.workspace {
  padding: 0 4vw 60px;
  min-width: 0;
}
.workspace > header {
  min-height: 120px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.workspace h1 {
  font-size: 42px;
  margin: 0;
  color: var(--navy);
}
.user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 16px;
}
.user span small {
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.panel {
  display: none;
}
.panel.active {
  display: block;
}
.toolbar,
.dashboard-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0;
}
.toolbar > div {
  display: flex;
  gap: 12px;
  align-items: center;
}
.toolbar button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: #fff;
}
.toolbar p {
  font-size: 11px;
}
.open-dot,
.busy-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin: 0 5px 0 14px;
}
.open-dot {
  background: var(--gold);
}
.busy-dot {
  background: #aeb5ba;
}
.booking {
  display: grid;
  grid-template-columns: minmax(650px, 1fr) 300px;
  gap: 20px;
}
.calendar,
.selection,
.card,
.metrics article {
  background: #fff;
  border: 1px solid #e1e4e6;
}
.calendar-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 22px 0 10px;
}
.calendar-nav,
.calendar-options,
.view-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}
.calendar-nav button,
.view-switch button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
}
.calendar-nav b {
  margin-left: 8px;
  font-family: var(--display);
  font-size: 24px;
  text-transform: uppercase;
}
.calendar-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
}
.calendar-options select {
  min-height: 38px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--line);
  background: #fff;
}
.sticky-duration {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  margin: 0 0 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid var(--line);
  box-shadow: 0 5px 16px rgba(5, 31, 48, .08);
  backdrop-filter: blur(8px);
}
.sticky-duration label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.sticky-duration select {
  min-width: 230px;
  min-height: 48px;
  padding: 0 42px 0 16px;
  border: 2px solid var(--navy);
  background: #fff;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
}
.view-switch button.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.calendar-range-note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 11px;
}
.calendar-range-note small {
  float: right;
  font-size: 10px;
}
.flexible-calendar {
  min-width: 0;
  overflow: hidden;
}
.calendar-day-head,
.calendar-week-head {
  display: grid;
  background: var(--navy);
  color: #fff;
}
.calendar-day-head {
  grid-template-columns: 1fr;
}
.calendar-week-head {
  grid-template-columns: 68px repeat(7, minmax(86px, 1fr));
}
.calendar-day-head span,
.calendar-week-head span {
  padding: 14px 8px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.day-slots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 14px;
}
.day-slot,
.week-slot {
  min-height: 52px;
  border: 1px solid var(--line);
  background: #eff1f2;
  color: #8c9398;
  font-size: 10px;
  font-weight: 700;
}
.day-slot.open,
.week-slot.open {
  background: #fff8db;
  color: #6e5600;
  box-shadow: inset 0 0 0 2px var(--gold);
}
.day-slot.open:hover,
.day-slot.selected,
.week-slot.open:hover,
.week-slot.selected {
  background: var(--gold);
  color: var(--navy);
}
.week-scroll {
  overflow-x: auto;
}
.week-hint {
  display: none;
}
.week-grid {
  min-width: 760px;
}
.week-row {
  display: grid;
  grid-template-columns: 68px repeat(7, minmax(86px, 1fr));
}
.week-time {
  display: grid;
  place-items: center;
  min-height: 52px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  width: 100%;
  overflow: hidden;
}
.month-weekday {
  padding: 12px 4px;
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}
.month-day {
  min-height: 92px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  text-align: left;
}
.month-day strong,
.month-day small {
  display: block;
}
.month-day small {
  margin-top: 20px;
  color: #6e5600;
  font-size: 9px;
}
.month-day.outside,
.month-day:disabled {
  background: #f0f2f3;
  color: #aeb5ba;
}
.month-day:not(:disabled):hover,
.month-day.selected-day {
  background: #fff3bf;
  box-shadow: inset 0 0 0 2px var(--gold);
}
.cal-head,
.cal-row {
  display: grid;
  grid-template-columns: 70px repeat(5, 1fr);
}
.cal-head {
  background: var(--navy);
  color: #fff;
}
.cal-head span {
  padding: 15px;
  text-align: center;
  font-size: 10px;
}
.cal-row > span {
  padding: 20px 5px;
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  border: 1px solid var(--line);
}
.slot {
  min-height: 58px;
  border: 1px solid var(--line);
  background: #f0f2f3;
  color: #8c9398;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 700;
}
.slot.open {
  background: #fff8db;
  color: #6e5600;
  box-shadow: inset 0 0 0 2px var(--gold);
}
.slot.open:hover,
.slot.selected {
  background: var(--gold);
  color: var(--navy);
}
.selection {
  padding: 24px;
  height: max-content;
  position: sticky;
  top: 20px;
}
.selection dl div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.selection dt {
  color: var(--muted);
}
.admin-calendar-head,
.admin-calendar-controls,
.admin-calendar-controls > div,
.admin-legend,
.admin-editor-actions {
  display: flex;
  align-items: center;
}
.admin-calendar-head,
.admin-calendar-controls {
  justify-content: space-between;
  gap: 18px;
}
.admin-calendar-head {
  margin-top: 22px;
}
.admin-calendar-head h2 {
  margin: 2px 0;
}
.admin-calendar-head p:not(.eyebrow) {
  margin: 4px 0;
  color: var(--muted);
  font-size: 12px;
}
.admin-calendar-controls {
  margin: 18px 0 0;
}
.admin-calendar-controls > div,
.admin-legend {
  gap: 8px;
}
.admin-calendar-controls button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.admin-calendar-controls b {
  margin-left: 8px;
  font-family: var(--display);
  font-size: 22px;
  text-transform: uppercase;
}
.admin-legend {
  color: var(--muted);
  font-size: 10px;
}
.admin-legend span {
  width: 10px;
  height: 10px;
  margin-left: 8px;
  border-radius: 2px;
}
.admin-booked-key { background: #dcebf5; }
.admin-blocked-key { background: #f8dfdf; }
.admin-open-key { background: #fff3bf; }
.admin-calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
}
.admin-side-panels {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-width: 0;
  margin-top: 14px;
}
.admin-booking-info h3,
.admin-booking-info h4 { margin: 0 0 .75rem; }
.booking-info-details { margin: 0 0 1rem; }
.booking-info-details > div {
  display: grid;
  grid-template-columns: minmax(8rem, .8fr) minmax(0, 1.4fr);
  gap: .75rem;
  padding: .55rem 0;
  border-bottom: 1px solid #e4e6e8;
}
.booking-info-details dt { color: #5d6570; font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.booking-info-details dd { margin: 0; overflow-wrap: anywhere; }
.booking-info-remaining { margin: 0; padding-left: 1.1rem; }
.booking-info-remaining li + li { margin-top: .4rem; }
.admin-calendar,
.admin-editor {
  margin-top: 14px;
}
.admin-week-head,
.admin-week-row {
  display: grid;
  grid-template-columns: 64px repeat(7, minmax(0, 1fr));
}
.admin-week-head {
  background: var(--navy);
  color: #fff;
}
.admin-week-head span,
.admin-time {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 5px;
  border: 1px solid var(--line);
  text-align: center;
  font-size: 9px;
  text-transform: uppercase;
}
.admin-calendar-scroll { width: 100%; overflow-x: hidden; }
.admin-week-hint { display: none; }
.admin-week-grid { width: 100%; min-width: 0; }
.admin-slot {
  min-width: 0;
  min-height: 54px;
  padding: 5px;
  border: 1px solid var(--line);
  background: #fff3bf;
  color: var(--navy);
  font-size: 9px;
  overflow: hidden;
}
.admin-slot strong,
.admin-slot small { display: block; }
.admin-slot.booking strong { font-size: 10px; font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
.admin-slot small { margin-top: 3px; font-size: 8px; }
.admin-slot.booking { display: block; background: #dcebf5; box-shadow: inset 3px 0 #2e78a6; }
.admin-slot.blocked { background: #f8dfdf; box-shadow: inset 3px 0 #b84b4b; }
.admin-slot.closed { background: #eff1f2; color: #8c9398; }
.admin-slot.selected { outline: 3px solid var(--gold); outline-offset: -3px; }
.admin-editor { position: sticky; top: 14px; height: max-content; }
.admin-editor h3 { margin: 6px 0; font: 700 28px var(--display); text-transform: uppercase; }
.admin-editor label { display: block; margin: 12px 0; font-size: 11px; font-weight: 700; }
.admin-editor input,
.admin-editor select,
.admin-editor textarea { width: 100%; margin-top: 6px; padding: 10px; border: 1px solid var(--line); background: #fff; }
.admin-editor .compact { gap: 10px; }
.admin-editor-actions { gap: 8px; margin: 14px 0; }
.admin-editor-actions { display: flex; flex-wrap: wrap; }
.admin-editor-actions .danger { color: #9b1c1c; border-color: #d8a4a4; }
.admin-conflict { display: flex !important; gap: 8px; align-items: flex-start; padding: 10px; color: #7a1515; background: #fff1f1; border: 1px solid #d8a4a4; }
.admin-conflict[hidden] { display: none !important; }
.admin-conflict input { width: auto; margin: 2px 0 0; }
.admin-conflict-details { position: relative; overflow-anchor: none; display: grid; gap: 14px; width: 100%; margin: 18px 0 0; padding: 18px; border: 4px solid #b43325; border-radius: 4px; background: #fff; color: #261713; font-size: 14px; line-height: 1.45; box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.admin-conflict-details.open { animation: conflict-reveal .25s ease-out; }
@keyframes conflict-reveal { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
.admin-conflict-details[hidden] { display: none !important; }
.admin-conflict-details h2 { margin: 0; color: var(--navy); font-size: 30px; }
.admin-conflict-details > p { margin: 0; }
.conflict-dialog-eyebrow { color: #a72f20; font-weight: 900; letter-spacing: .14em; }
.admin-conflict-details ul { display: grid; gap: 8px; margin: 0; padding: 14px 14px 14px 34px; border-left: 5px solid #b43325; background: #fff2ef; font-weight: 800; }
.admin-conflict-actions { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.admin-conflict-actions button { padding: 7px 10px; border: 1px solid var(--navy); background: #fff; color: var(--navy); font-weight: 800; }
.admin-conflict-editor { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; padding-top: 10px; border-top: 1px solid #e2bbb3; }
.admin-conflict-editor > strong { grid-column: 1 / -1; }
.admin-conflict-editor label { display: grid; gap: 4px; font-weight: 700; }
.admin-conflict-editor input,.admin-conflict-editor select { width: 100%; padding: 8px; border: 1px solid #c9b1ab; background: #fff; }
.admin-conflict-editor button { min-height: 38px; padding: 8px 11px; border: 1px solid var(--navy); background: var(--navy); color: #fff; font-weight: 800; }
.admin-conflict-footer { display: flex; gap: 10px; justify-content: flex-end; padding-top: 14px; border-top: 1px solid #ddd; }
.admin-conflict-footer button { padding: 12px 14px; font-weight: 900; }
.conflict-cancel { border: 1px solid var(--navy); background: #fff; color: var(--navy); }
.conflict-override { border: 1px solid #9f271b; background: #9f271b; color: #fff; }
.conflict-progress { position: sticky; top: -26px; z-index: 2; margin: 0; padding: 12px; background: var(--navy); color: #fff; font-weight: 900; text-align: center; }
.conflict-resolution-list { display: grid; gap: 12px; }
.conflict-resolution-card { display: grid; gap: 8px; padding: 14px; border: 2px solid #d8a4a4; background: #fff8f6; }
.conflict-resolution-card.resolved { border-color: #2a7a4b; background: #f2fbf5; }
.conflict-resolution-card h3,.conflict-resolution-card p { margin: 0; }
.conflict-resolution-card label { display: grid; gap: 5px; font-weight: 800; }
.conflict-resolution-card select { width: 100%; padding: 10px; border: 1px solid #9d827b; background: #fff; }
.conflict-decision-status { color: #9f271b; }
.conflict-resolution-card.resolved .conflict-decision-status { color: #17643a; }
.conflict-apply { border: 1px solid #17643a; background: #17643a; color: #fff; }
.conflict-apply:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 600px) { .admin-conflict-details { position: relative; inset: auto; width: 100%; max-height: none; margin: 18px 0 0; padding: 14px; overflow: visible; } .admin-conflict-editor { grid-template-columns: 1fr; } .admin-conflict-editor > strong { grid-column: auto; } .admin-conflict-footer { display: grid; } }
.admin-toast { position: fixed; z-index: 1000; right: 24px; bottom: 24px; max-width: min(420px, calc(100vw - 32px)); padding: 14px 18px; border-left: 5px solid var(--gold); background: var(--navy); color: #fff; box-shadow: 0 14px 40px rgba(0,0,0,.28); font-weight: 800; }
.admin-toast[hidden] { display: none !important; }
.selection-conflict-hidden { display: none !important; }
.admin-editor-actions .btn { flex: 1; }
.admin-editor > small { display: block; color: var(--muted); line-height: 1.5; }
.card {
  padding: 30px;
  margin-top: 22px;
}
.card h2,
.panel h2 {
  font: 700 38px var(--display);
  text-transform: uppercase;
}
.ticket {
  border: 1px solid var(--line);
  padding: 16px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 20px;
  align-items: center;
}
.ticket > strong {
  background: var(--navy);
  color: var(--gold);
  font: 700 30px var(--display);
  text-align: center;
  padding: 10px;
}
.ticket > strong small {
  display: block;
  color: #fff;
  font: 700 9px var(--body);
}
.ticket h3,
.ticket p {
  margin: 4px;
}
.status {
  display: inline-block;
  width: max-content;
  padding: 5px 8px;
  border-radius: 15px;
  text-transform: uppercase;
  font-size: 8px;
  font-weight: 800;
}
.good {
  background: #dff3e7;
  color: #126a3a;
}
.pending {
  background: #fff1b8;
  color: #6e5700;
}
.access {
  background: #f6f8f8;
  border-left: 4px solid var(--gold);
  margin-top: 12px;
  padding: 20px;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 25px;
}
.access > div > strong {
  display: block;
  font: 700 38px var(--display);
  color: var(--navy);
}
.access p,
.access li {
  font-size: 12px;
  line-height: 1.6;
}
.access > p {
  grid-column: 1/-1;
  background: #fff0b9;
  padding: 10px;
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}
.form label,
.modal label {
  font-size: 11px;
  font-weight: 700;
}
.form input,
.form select,
.modal input {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  margin-top: 5px;
  background: #fff;
}
.operating-days-field { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; }
.operating-days-field legend { margin-bottom: 8px; font-size: 11px; font-weight: 700; }
.operating-day-selector { display: grid; grid-template-columns: repeat(7, minmax(52px, 1fr)); gap: 8px; }
.operating-day-selector label { position: relative; cursor: pointer; }
.operating-day-selector input { position: absolute; opacity: 0; pointer-events: none; }
.operating-day-selector span { display: grid; place-items: center; min-height: 44px; border: 2px solid var(--line); background: #fff; color: var(--muted); font-size: 11px; font-weight: 800; }
.operating-day-selector input:checked + span { border-color: var(--gold); background: var(--gold); color: var(--navy); box-shadow: inset 0 0 0 2px #fff; }
.operating-day-selector input:focus-visible + span { outline: 3px solid rgba(5,49,77,.25); outline-offset: 2px; }
.operating-days-field small { display: block; margin-top: 8px; color: var(--muted); font-size: 9px; }
.ranges {
  background: #e2e5e7;
  padding: 3px;
}
.ranges button {
  padding: 9px 15px;
  border: 0;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
}
.ranges button.active {
  background: #fff;
}
.reporting-controls { display: flex; align-items: end; gap: 12px; }
.report-period-field { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.report-period-field span { display: block; margin-bottom: 5px; }
.report-period-field select { min-width: 230px; height: 39px; padding: 8px 34px 8px 10px; border: 1px solid var(--line); background: #fff; color: var(--navy); font: 700 11px var(--sans); }
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.metrics article {
  padding: 22px;
}
.metrics span,
.metrics small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.metrics b {
  display: block;
  font: 700 38px var(--display);
  color: var(--navy);
  margin: 9px 0;
}
.metrics article:first-child small,
.metrics article:nth-child(2) small { color: #168247; }
#admin-rate-wrap small { display: block; margin-top: 6px; color: var(--muted); font-weight: 400; line-height: 1.4; }
.admin-revenue-impact { margin: 10px 0; padding: 11px 12px; background: #fff8dc; border-left: 3px solid var(--gold); color: var(--navy); font-size: 11px; line-height: 1.45; }
.dashboard {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 15px;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}
.card-head span,
.card-head b {
  display: block;
}
.card-head span {
  font-size: 10px;
  color: var(--muted);
}
.chart {
  height: 240px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 25px 8px 30px;
}
.chart.revenue-visual { display:block; height:auto; min-height:300px; padding:22px 0 0; min-width:0; }
.rv-title { margin:0 0 8px; font-size:18px; color:var(--navy); }
.rv-note { margin:0; font-size:12px; line-height:1.6; color:var(--muted); }
.rv-legend { display:flex; gap:16px; flex-wrap:wrap; margin:18px 0 12px; font-size:11px; }
.rv-key { display:inline-flex; align-items:center; gap:6px; }
.rv-key:before { content:""; width:18px; border-top:3px solid var(--navy); }
.rv-key.unrealized:before { border-color:#9b6600; border-top-style:dotted; }
.rv-key.projected:before { border-color:#007f78; border-top-width:4px; }
.revenue-visual[data-range="week"] .rv-key.unrealized:before,
.revenue-visual[data-range="day"] .rv-key.unrealized:before { border-top:8px solid #d69b23; }
.revenue-visual[data-range="week"] .rv-key.projected:before { border:0; width:8px; height:8px; border-radius:50%; background:#007f78; }
.rv-plot { width:100%; height:auto; display:block; overflow:visible; }
.rv-grid { stroke:#e7ebee; stroke-width:1; }
.rv-zero { stroke:#8796a0; stroke-width:1; }
.rv-axis { font-size:12px; fill:#516675; font-family:inherit; }
.rv-line { fill:none; stroke-width:2.5; stroke-linejoin:round; vector-effect:non-scaling-stroke; }
.rv-line.projected { stroke:#007f78; stroke-width:5; opacity:.7; }
.rv-line.realized { stroke:var(--navy); stroke-dasharray:6 3; }
.rv-line.unrealized { stroke:#9b6600; stroke-dasharray:2 4; }
.rv-column.realized { fill:var(--navy); }
.rv-column.unrealized { fill:#d69b23; }
.rv-point.projected { fill:#007f78; stroke:white; stroke-width:1.5; }
.rv-cursor { stroke:#7e8d96; stroke-dasharray:3 3; pointer-events:none; }
.rv-hit { fill:transparent; cursor:pointer; }
.rv-hit:focus { outline:none; fill:#007f7812; stroke:#007f78; stroke-width:1; }
.rv-detail { min-height:46px; font-size:12px; line-height:1.7; color:var(--navy); background:#f2f6f6; padding:12px; margin:0 0 14px; overflow-wrap:anywhere; border-left:3px solid #007f78; }
.rv-empty { font-size:13px; color:var(--muted); padding:12px; background:#f5f7f8; }
.rv-mix { display:grid; gap:24px; margin:28px 0; }
.rv-mix-row { display:grid; grid-template-columns:1fr auto; gap:10px; font-size:13px; }
.rv-track { grid-column:1/-1; height:18px; background:#eef1f3; border-radius:4px; overflow:hidden; }
.rv-fill { height:100%; background:var(--navy); }
.rv-fill.unrealized { background:repeating-linear-gradient(135deg,#d69b23,#d69b23 6px,#e8bd68 6px,#e8bd68 9px); }
.rv-total { font-size:18px; font-weight:700; border-top:1px solid var(--line); padding-top:20px; color:#006d67; }
.rv-data { border-top:1px solid var(--line); padding-top:12px; overflow-x:auto; }
.rv-data summary { cursor:pointer; font-size:12px; padding:8px 0; color:var(--navy); }
.rv-data table { border-collapse:collapse; width:100%; font-size:11px; font-variant-numeric:tabular-nums; }
.rv-data caption { text-align:left; padding:10px 0; }
.rv-data th,.rv-data td { padding:10px 6px; border-bottom:1px solid var(--line); text-align:right; }
.rv-data th:first-child { text-align:left; }
.rv-data tfoot { font-weight:700; }
@media(max-width:600px) { .rv-legend { gap:10px; font-size:10px; } .rv-plot { min-height:200px; } .rv-data th,.rv-data td { padding:8px 3px; font-size:10px; } }
.admin-booking {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.admin-booking div small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}
.overview-empty {
  color: var(--muted);
  padding: 28px 0;
  margin: 0;
}
.overview-updated {
  display: block;
  color: var(--muted);
  font-size: 9px;
  padding-top: 14px;
  text-align: right;
}
.facility-clock { margin-left: auto; text-align: right; color: var(--navy); }
.facility-clock strong,.facility-clock span,.facility-clock small { display:block; }
.facility-clock strong { font: 700 24px var(--display); }
.facility-clock span,.facility-clock small { color:var(--muted); font-size:9px; margin-top:2px; }
.table {
  overflow: auto;
}
.table > div {
  min-width: 720px;
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 0.7fr 0.7fr 0.7fr;
  gap: 15px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 12, 21, 0.82);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 15px;
}
.backdrop[hidden] {
  display: none;
}
.modal {
  background: #fff;
  width: min(500px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 40px;
  position: relative;
}
.modal.wide {
  width: min(640px, 100%);
}
.modal h2 {
  font-size: 42px;
  margin: 8px 0;
}
.modal > p,
.modal div > p {
  color: var(--muted);
  line-height: 1.6;
}
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  border: 0;
  background: none;
  font-size: 28px;
}
.portal-choice {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 18px;
  text-align: left;
  border: 1px solid var(--line);
  background: #f7f8f8;
}
.portal-choice:hover {
  border-color: var(--gold);
}
.portal-choice b,
.portal-choice span {
  display: block;
}
.portal-choice span {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.progress {
  display: flex;
  gap: 8px;
  margin-bottom: 25px;
}
.progress span {
  flex: 1;
  border-top: 3px solid var(--line);
  padding-top: 7px;
  color: var(--muted);
  font-size: 9px;
}
.progress span.active {
  border-color: var(--gold);
  color: var(--ink);
}
.waiver {
  background: #f3f5f5;
  padding: 22px;
  margin: 15px 0;
  border: 1px solid var(--line);
  max-height: 46vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.waiver h3 {
  margin: 24px 0 8px;
  font-size: 18px;
  line-height: 1.25;
  text-transform: uppercase;
}
.waiver p,
.waiver li {
  font-size: 13px;
  line-height: 1.55;
}
.waiver ul {
  padding-left: 22px;
}
.waiver-acceptance {
  align-items: flex-start;
  padding: 14px;
  border: 2px solid var(--ink);
  background: #fff9df;
  line-height: 1.45;
}
.waiver-acceptance input {
  margin-top: 3px;
  flex: 0 0 auto;
}
.check {
  display: flex;
  gap: 8px;
  margin: 15px 0;
}
.check input {
  width: auto;
  margin: 0;
}
.summary {
  display: flex;
  justify-content: space-between;
  background: #f1f3f3;
  padding: 15px;
  margin: 15px 0;
}
.success {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #dff3e7;
  color: #168247;
  display: grid;
  place-items: center;
  font-size: 30px;
}
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.no-scroll {
  overflow: hidden;
}
@media (max-width: 900px) {
  #header nav {
    display: none;
    position: absolute;
    top: 110px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px;
    z-index: 10;
    flex-direction: column;
    align-items: stretch;
  }
  #header nav.open {
    display: flex;
  }
  #menu {
    display: block;
    background: transparent;
    color: #fff;
    border: 1px solid #557080;
    padding: 10px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .booking {
    grid-template-columns: 1fr;
    overflow: auto;
  }
  .calendar {
    min-width: 680px;
  }
  .selection {
    position: static;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard {
    grid-template-columns: 1fr;
  }
  .admin-calendar-layout {
    grid-template-columns: 1fr;
  }
  .admin-calendar { min-width: 0; }
  .admin-calendar-scroll { overflow-x: auto; }
  .admin-week-grid { min-width: 760px; }
  .admin-week-head,
  .admin-week-row { grid-template-columns: 64px repeat(7, minmax(86px, 1fr)); }
  .admin-week-hint {
    display: block;
    margin: -8px -8px 10px;
    padding: 9px 12px;
    background: #fff3bf;
    color: #604b00;
    font-size: 10px;
    font-weight: 700;
  }
  .admin-editor { position: static; }
}
@media (max-width: 600px) {
  .operating-day-selector { grid-template-columns: repeat(4, 1fr); }
  .dashboard-tools { align-items: stretch; gap: 12px; }
  .reporting-controls { align-items: stretch; flex-direction: column; gap: 8px; }
  .ranges { display: grid; grid-template-columns: repeat(3, 1fr); }
  .report-period-field select { width: 100%; min-width: 0; }
  .prototype span {
    display: none;
  }
  #header {
    height: 70px;
  }
  .official-brand img {
    width: 44px;
    height: 44px;
  }
  .official-brand span b {
    font-size: 26px;
    line-height: 22px;
  }
  .hero {
    height: calc(100svh - 98px);
    min-height: 640px;
  }
  .hero-photo {
    object-position: center;
  }
  .hero-copy {
    padding: 20px;
  }
  .affiliation {
    width: min(380px, 100%);
    gap: 13px;
    padding: 10px 12px;
    margin-bottom: 20px;
  }
  .affiliation img {
    width: 78px;
    height: 50px;
  }
  .affiliation small {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
  .affiliation strong {
    font-size: 20px;
  }
  .hero h1 {
    font-size: 4.5rem;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .section {
    padding: 70px 20px;
  }
  .split ul {
    grid-template-columns: 1fr;
  }
  .images {
    grid-template-columns: 1fr;
    grid-template-rows: 260px repeat(4, 180px);
  }
  .images .tall {
    grid-row: auto;
  }
  .images .wide {
    grid-column: auto;
  }
  .heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .days {
    grid-template-columns: repeat(5, 125px);
    overflow-x: auto;
    overflow-y: hidden;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .portal.active {
    display: block;
  }
  .portal > aside {
    position: fixed;
    z-index: 20;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 62px;
    flex-direction: row;
    padding: 4px;
    box-sizing: border-box;
  }
  .portal > aside > .brand,
  .portal > aside > button {
    display: none;
  }
  .portal > aside nav {
    margin: 0;
    flex-direction: row;
    min-width: 0;
    flex: 1 1 auto;
  }
  .portal > aside nav button {
    flex: 1;
    min-width: 0;
    padding-inline: 2px;
  }
  .workspace {
    padding: 0 12px 75px;
  }
  .workspace > header {
    min-height: 100px;
  }
  .workspace h1 {
    font-size: 30px;
  }
  .user span {
    display: none;
  }
  .toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .calendar-controls,
  .calendar-options {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-calendar-head,
  .admin-calendar-controls {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-calendar-controls > div {
    flex-wrap: wrap;
  }
  .admin-calendar-controls b {
    flex: 1 0 100%;
    margin: 4px 0 0;
  }
  .admin-legend { flex-wrap: wrap; }
  .calendar-nav {
    flex-wrap: wrap;
  }
  .calendar-nav b {
    flex: 1 0 100%;
    margin: 4px 0 0;
    font-size: 21px;
  }
  .calendar-options label,
  .view-switch {
    width: 100%;
  }
  .calendar-options select,
  .view-switch button {
    flex: 1;
  }
  .sticky-duration { margin-left: -12px; margin-right: -12px; padding: 10px 12px; }
  .sticky-duration label { width: 100%; gap: 10px; font-size: 18px; }
  .sticky-duration select { flex: 1; min-width: 0; min-height: 46px; font-size: 15px; }
  .calendar-range-note small {
    display: block;
    float: none;
    margin-top: 8px;
  }
  .booking {
    grid-template-columns: 1fr;
    overflow: visible;
  }
  .flexible-calendar {
    min-width: 0;
  }
  .week-hint {
    display: block;
    margin: 0;
    padding: 9px 12px;
    background: #fff3bf;
    color: #604b00;
    font-size: 10px;
    font-weight: 700;
  }
  .day-slots {
    grid-template-columns: 1fr;
  }
  .month-day {
    min-height: 64px;
    min-width: 0;
    padding: 7px 4px;
  }
  .month-day small {
    margin-top: 9px;
    font-size: 7px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metrics b {
    font-size: 29px;
  }
  .ticket {
    grid-template-columns: 60px 1fr;
  }
  .ticket .btn {
    grid-column: 1/-1;
  }
  .access {
    grid-template-columns: 1fr;
  }
  .form {
    grid-template-columns: 1fr;
  }
  .modal {
    padding: 32px 18px;
  }
  .modal h2 {
    font-size: 34px;
  }
}
@media (max-width: 360px) {
  .month-day { min-height: 50px; padding: 5px 2px; text-align: center; }
  .month-day small { display: none; }
  .month-weekday { padding: 9px 1px; font-size: 8px; }
}
.customer-records { display:grid; gap:10px; margin-top:20px; }
.customer-records article { display:flex; justify-content:space-between; gap:20px; padding:16px; border:1px solid var(--line); background:#fff; }
.customer-records strong,.customer-records small { display:block; }
.customer-records span { text-align:right; font-size:12px; color:var(--muted); }
.admin-validation { margin:10px 0; color:#2e6844; font-size:12px; font-weight:700; }
.admin-validation.error { color:#9e2f24; }
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.settings-status { min-height: 1.5em; margin-top: 14px; color: #17643a; font-weight: 700; }
.cancellation-policy-card { margin-top: 32px; padding-top: 28px; border-top: 2px solid #e2e6eb; }
.cancellation-policy-card form { display: grid; gap: 18px; }
.policy-tier { display: grid; grid-template-columns: minmax(180px,1.3fr) repeat(3,minmax(120px,1fr)); gap: 14px; align-items: end; padding: 16px; border: 1px solid #d9dee5; border-radius: 10px; background: #f8fafc; min-width:0; max-width:100%; box-sizing:border-box; }
.policy-tier b { align-self: center; }
.policy-tier label { display: grid; gap: 6px; font-size: .88rem; font-weight: 700; min-width:0; }
.policy-tier input,.policy-tier select{box-sizing:border-box;max-width:100%;min-width:0;width:100%}
.policy-preview { padding: 18px; border-left: 4px solid #fec524; background: #fff9df; }
.policy-preview p { margin: 0 0 9px; }
.policy-preview p:last-child { margin-bottom: 0; }
.policy-validation,.policy-warning { color: #8a1c1c; font-weight: 700; }
.policy-warning { padding: 16px; border: 2px solid #c43b3b; border-radius: 10px; background: #fff1f1; }
.policy-examples { overflow-x: auto; max-height: 360px; }
.policy-examples table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.policy-examples th,.policy-examples td { padding: 8px 10px; border-bottom: 1px solid #d9dee5; text-align: right; white-space: nowrap; }
.policy-examples th:first-child,.policy-examples td:first-child { text-align: left; }
@media (max-width: 800px) { .policy-tier { grid-template-columns: 1fr 1fr; } .policy-tier b { grid-column: 1 / -1; } }
@media (max-width: 480px) { .policy-tier { grid-template-columns: minmax(0,1fr); } .policy-tier b { grid-column: auto; } }
.cancellation-review { margin: 18px 0; padding: 16px; border: 1px solid #d8dbe2; background: #f7f8fa; }
.cancellation-review h3 { margin-top: 0; }
.facility-address { margin: 18px 0; line-height: 1.55; }
.facility-address a { color: inherit; font-weight: 600; }
.guest-booking.active { display: block; min-height: calc(100vh - 28px); background: #f4f5f6; }
.guest-booking .workspace { max-width: 1500px; margin: 0 auto; }
.guest-back { min-height: 48px; padding: 0 18px; border: 2px solid var(--navy); background: #fff; color: var(--navy); font-weight: 800; font-size: 14px; }
.guest-fields { margin: 18px 0 24px; padding: 18px; background: #f7f8f8; border: 1px solid var(--line); }
.guest-fields h3,.booking-options h3 { margin: 0 0 12px; }
.booking-options { margin: 18px 0; padding: 16px; background: #f7f8f8; border: 1px solid var(--line); }
.booking-options > label { display: block; margin-top: 10px; font-size: 11px; font-weight: 700; }
.booking-options select,.booking-options input { display: block; width: 100%; margin-top: 5px; padding: 11px; border: 1px solid var(--line); background: #fff; }
.selection-list { display: grid; gap: 7px; margin: 14px 0; }
.selection-item { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 9px; background: #fff; border: 1px solid var(--line); font-size: 11px; }
.selection-item button,.conflict-item button { padding: 7px 9px; border: 1px solid var(--navy); background: #fff; color: var(--navy); font-weight: 700; }
.conflict-review { display: grid; gap: 9px; margin-top: 12px; }
.conflict-ok { color: #17643a !important; font-weight: 700; }
.conflict-alert { color: #8a2f1f !important; font-weight: 700; }
.conflict-item { display: grid; gap: 6px; padding: 10px; border-left: 3px solid #c4492d; background: #fff; }
.guest-conflict-backdrop { z-index: 2200; }
.guest-conflict-modal { width: min(900px, 100%); }
.guest-conflict-modal h2 { font-size: 36px; }
#guest-conflict-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.guest-conflict-day { min-width: 0; border: 1px solid var(--line); background: #f7f8f8; }
.guest-conflict-day h3 { margin: 0; padding: 12px; background: var(--navy); color: #fff; font-size: 14px; }
.guest-conflict-times { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; max-height: 420px; overflow-y: auto; padding: 10px; }
.guest-conflict-times button { min-height: 42px; border: 2px solid var(--gold); background: #fff8db; color: var(--navy); font-size: 11px; font-weight: 800; }
.guest-conflict-times button:hover,.guest-conflict-times button:focus-visible { background: var(--gold); }
.guest-conflict-times p { grid-column: 1 / -1; color: var(--muted); font-size: 11px; }
.form-status { min-height: 20px; color: #8a2f1f !important; font-weight: 700; }
.admin-side > button[data-view="public"] { min-height: 54px; padding: 8px; border: 2px solid var(--gold) !important; color: #fff !important; font-size: 12px !important; font-weight: 800; }
.admin-side .portal-brand img { width: 76px; height: 76px; }
@media (max-width: 700px) {
  .guest-conflict-modal { padding: 26px 14px 18px; }
  .guest-conflict-modal h2 { font-size: 28px; }
  #guest-conflict-days { grid-template-columns: 1fr; }
  .guest-conflict-times { grid-template-columns: repeat(3, 1fr); max-height: none; }
  .guest-booking .workspace { padding-bottom: 35px; }
  .guest-back { width: 100%; margin-top: 12px; }
  .guest-fields .form { grid-template-columns: 1fr; }
  .admin-side > button[data-view="public"] { display:block !important; position:static; flex:0 0 64px; width:64px; min-width:0; min-height:44px; margin:4px; padding:3px !important; font-size:9px !important; background:var(--navy) !important; }
  #admin .workspace > header { min-height:112px; padding-top:18px; padding-bottom:12px; align-items:stretch; flex-direction:column; gap:10px; }
  #admin .workspace > header .eyebrow { display: none; }
  #admin .workspace > header h1 { font-size: 27px; }
  .facility-clock { max-width: 155px; flex: 0 0 auto; }
  .facility-clock strong { font-size: 21px; }
  .facility-clock span,.facility-clock small { font-size: 8px; }
}
@media (max-width:700px){.admin-identity{margin-left:0;max-width:100%;min-width:0;align-self:flex-end;flex-wrap:wrap}.admin-identity .btn{min-width:0}.facility-clock{align-self:flex-end}}
/* Authenticated administrator identity controls. */
.admin-identity { display:flex; align-items:center; justify-content:flex-end; gap:12px; margin-left:auto; font-size:12px; font-weight:700; }
.admin-identity[hidden] { display:none; }
.freeze-banner { background:#0c2340; color:#fff; padding:13px 20px; text-align:center; font-weight:800; letter-spacing:.02em; }
.freeze-banner[hidden] { display:none; }
@media (max-width:480px){.cancellation-policy-card{min-width:0;max-width:100%;width:100%;box-sizing:border-box;overflow:hidden}.cancellation-policy-card form,.policy-tier,.cancellation-policy-card form>*{min-width:0;max-width:100%;width:100%;box-sizing:border-box}.policy-tier input,.policy-tier select,.policy-tier button{min-height:44px}.policy-examples{display:block;width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain}.policy-examples table{min-width:480px}.refund-resolution{display:grid;width:100%;min-width:0;gap:10px}.refund-resolution input,.refund-resolution select,.refund-resolution button{width:100%;max-width:100%;min-height:44px;box-sizing:border-box}}
.booking-mode-control { display:flex !important; align-items:center; justify-content:space-between; gap:20px; padding:16px; border:2px solid var(--gold); background:#fff8dc; }
.booking-mode-control span { display:grid; gap:4px; }
.booking-mode-control small { color:var(--muted); }
.booking-mode-control input { width:24px; height:24px; flex:0 0 auto; }
.order-access-admin{margin-top:2rem;border-top:1px solid #d8dce5;padding-top:1.5rem}.order-access-row{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1rem 0;border-bottom:1px solid #e2e5eb}.order-access-row small{display:block;margin-top:.3rem}.order-access-row>div:last-child{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}@media(max-width:600px){.order-access-row{align-items:flex-start;flex-direction:column}}
.cancellation-preview-admin{margin-top:2rem;padding-top:1.5rem;border-top:1px solid #d8d8d8;min-width:0;max-width:100%}.preview-only-warning{padding:.85rem 1rem;background:#fff4cc;border-left:4px solid #ad7b00}.cancellation-preview-admin fieldset{margin:1rem 0;padding:1rem;min-width:0}.cancellation-preview-admin #preview-items{display:grid;gap:.6rem;overflow-wrap:anywhere}.cancellation-preview-admin input,.cancellation-preview-admin select,.cancellation-preview-admin textarea{box-sizing:border-box;max-width:100%}.cancellation-preview-admin #preview-result{margin-top:1rem;padding:1rem;background:#f6f7f8;border-radius:.5rem;overflow-wrap:anywhere}.cancellation-preview-admin #preview-result article{border-bottom:1px solid #ddd;padding:.6rem 0}.cancellation-preview-admin dl{display:grid;grid-template-columns:1fr auto;gap:.4rem 1rem}.cancellation-preview-admin dt,.cancellation-preview-admin dd{margin:0}@media(max-width:480px){#admin-settings,#facility-settings-form{min-width:0;max-width:100%}.cancellation-preview-admin .form{grid-template-columns:1fr}.cancellation-preview-admin dl{grid-template-columns:1fr}.cancellation-preview-admin dd{font-weight:700;margin-bottom:.5rem}}
