:root {
  --black: #050505;
  --ink: #111111;
  --panel: #141414;
  --panel-soft: #1d1b18;
  --gold: #c98a2e;
  --gold-soft: #f3c35b;
  --sun: #d89a32;
  --solar: #b87524;
  --bronze: #7a3f15;
  --divine: #f7d276;
  --white: #f8f6ef;
  --muted: #b9b3a6;
  --line: rgba(217, 191, 47, 0.34);
  --frame-yellow: rgba(215, 191, 47, 0.72);
  --wall-blue: #526b73;
  --wall-blue-soft: #78929a;
  --room-yellow: #d7bf2f;
  --tile-warm: #b8956a;
  --leaf: #4f9f67;
  --green: #32b56a;
  --amber: #e0a52e;
  --shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
  --warm-glow: 0 0 40px rgba(201, 138, 46, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  color: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 4%, rgba(201, 138, 46, 0.34), transparent 19rem),
    radial-gradient(circle at 12% 48%, rgba(82, 107, 115, 0.22), transparent 22rem),
    radial-gradient(circle at 90% 10%, rgba(82, 107, 115, 0.16), transparent 20rem),
    linear-gradient(120deg, rgba(184, 149, 106, 0.13), transparent 32%),
    linear-gradient(160deg, #050505 0%, #191006 46%, #071012 78%, #070707 100%);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

a.account-card {
  display: block;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.app-shell {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 18px 14px 38px;
}

.hero,
.panel,
.admin-modal {
  border: 1px solid var(--frame-yellow);
  background:
    linear-gradient(155deg, rgba(215, 191, 47, 0.07), transparent 28%),
    linear-gradient(22deg, rgba(82, 107, 115, 0.09), transparent 48%),
    rgba(10, 10, 10, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero {
  border-radius: 28px;
  padding: 22px 18px;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.92) 0 38%, rgba(0, 0, 0, 0.44) 70%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.54), transparent 52%),
    radial-gradient(circle at 16% 18%, rgba(255, 215, 0, 0.42), transparent 17rem),
    repeating-linear-gradient(
      135deg,
      rgba(255, 210, 56, 0.1) 0 1px,
      transparent 1px 14px
    );
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./assets/sessionplus-visual.png");
  background-position: 68% center;
  background-size: cover;
  filter: saturate(1.14) contrast(1.06);
  opacity: 0.64;
  z-index: 0;
}

.poster-hero {
  display: block;
  min-height: 0;
  padding: 0;
  border-radius: 26px;
  background: #050505;
}

.poster-hero::before,
.poster-hero::after {
  display: none;
}

.hero-poster {
  display: block;
  width: 100%;
  aspect-ratio: 1122 / 1402;
  border-radius: inherit;
  object-fit: cover;
}

.admin-entry {
  display: flex;
  justify-content: flex-end;
  margin: 8px 2px 0;
}

.brand-row,
.hero-copy,
.hero-stats,
.hero-center {
  position: relative;
  z-index: 2;
}

.brand-row,
.section-heading,
.modal-header,
.form-actions,
.two-cols,
.week-tools,
.admin-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-row,
.modal-header {
  justify-content: space-between;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--sun);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(3.2rem, 15vw, 6.7rem);
  line-height: 0.86;
  letter-spacing: 0;
  color: var(--sun);
  background: linear-gradient(180deg, #f7d276 0%, #e3ae54 28%, #c98a2e 56%, #8a4918 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 0 30px rgba(201, 138, 46, 0.38),
    0 0 10px rgba(247, 210, 118, 0.28),
    0 6px 22px rgba(0, 0, 0, 0.5);
}

h1 span {
  color: var(--room-yellow);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  text-shadow:
    0 0 22px rgba(215, 191, 47, 0.38),
    0 6px 18px rgba(0, 0, 0, 0.62);
}

h2 {
  margin-bottom: 0;
  font-size: 1.45rem;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
}

.hero-copy {
  max-width: 30rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.hero-center {
  margin: 28px 0;
}

.hero-tag {
  margin-bottom: 12px;
  color: #fff1b3;
  font-size: clamp(1.8rem, 8vw, 3.5rem);
  line-height: 0.95;
  font-weight: 950;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hero-motto {
  position: relative;
  z-index: 2;
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(201, 138, 46, 0.44);
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  font-style: italic;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.64);
}

.hero-stats span,
.chip,
.tab,
.badge,
.status-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 10px;
  background: linear-gradient(180deg, rgba(255, 210, 56, 0.11), rgba(255, 255, 255, 0.035));
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.hero-stats span {
  position: relative;
  overflow: hidden;
  border-color: rgba(201, 138, 46, 0.72);
  background: linear-gradient(135deg, rgba(65, 34, 11, 0.92), rgba(184, 117, 36, 0.72), rgba(247, 210, 118, 0.22));
  color: #fff8dc;
  box-shadow: 0 10px 22px rgba(201, 138, 46, 0.18);
}

.hero-stats span::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: var(--room-yellow);
}

.panel {
  margin-top: 14px;
  border-radius: 24px;
  padding: 18px;
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(215, 191, 47, 0.12),
    0 0 24px rgba(215, 191, 47, 0.08);
}

.section-heading {
  justify-content: space-between;
  margin-bottom: 16px;
}

.week-tools,
.admin-tabs,
.quick-nav,
.home-actions {
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 16px;
}

.quick-nav,
.home-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  overflow: visible;
}

.home-actions {
  grid-template-columns: 1fr;
  margin: 12px 0 0;
}

.chip,
.tab {
  white-space: nowrap;
  color: var(--muted);
}

.chip.active,
.tab.active {
  background: linear-gradient(135deg, var(--divine), var(--gold-soft) 34%, var(--sun) 58%, var(--solar) 82%, var(--bronze));
  color: #120a05;
  border-color: rgba(247, 210, 118, 0.72);
  box-shadow: 0 10px 24px rgba(201, 138, 46, 0.22);
}

.chip:hover,
.tab:hover,
.account-card:hover,
.secondary-button:hover,
.ghost-button:hover {
  border-color: rgba(215, 191, 47, 0.72);
  background:
    linear-gradient(135deg, rgba(82, 107, 115, 0.34), rgba(215, 191, 47, 0.2)),
    rgba(255, 255, 255, 0.06);
  color: var(--divine);
  box-shadow: 0 10px 24px rgba(82, 107, 115, 0.2);
}

.chip:active,
.tab:active,
.account-card:active,
.quiet-link:active,
.secondary-button:active,
.ghost-button:active,
.primary-button:active,
.reserve-cta:active,
.reserve-tab:active,
.danger-button:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.36);
}

.slot-list,
.admin-list,
.plans-grid,
.ritual-list,
.info-grid,
.advice-grid,
.practice-grid,
.rules-grid {
  display: grid;
  gap: 12px;
}

.slot-card,
.plan-card,
.request-card,
.admin-slot-card,
.participant-card,
.credit-summary-card,
.tool-card,
.daily-card,
.ritual-card,
.account-card,
.info-card,
.ritual-teaser,
.rules-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(215, 191, 47, 0.1), transparent 34%),
    linear-gradient(25deg, rgba(82, 107, 115, 0.08), transparent 52%),
    linear-gradient(160deg, rgba(184, 149, 106, 0.055), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.028));
}

.slot-card,
.plan-card,
.daily-card,
.info-card,
.rules-card {
  position: relative;
  overflow: hidden;
}

.slot-card::before,
.plan-card::before,
.daily-card::before,
.info-card::before,
.rules-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--divine), var(--sun), var(--bronze), transparent);
  opacity: 0.82;
}

.daily-card:nth-of-type(2)::before,
.info-card:nth-child(2n)::before,
.plan-card:nth-child(2n)::before,
.slot-card:nth-child(2n)::before,
.rules-card:nth-child(2n)::before {
  background: linear-gradient(180deg, var(--wall-blue-soft), var(--room-yellow), transparent);
}

.info-card:nth-child(3n)::before,
.plan-card:nth-child(3n)::before,
.slot-card:nth-child(3n)::before,
.rules-card:nth-child(3n)::before {
  background: linear-gradient(180deg, var(--room-yellow), var(--wall-blue-soft), var(--tile-warm), transparent);
}

.daily-panel {
  display: grid;
  gap: 12px;
}

.booking-guidance {
  margin-bottom: 14px;
  border: 1px solid rgba(247, 210, 118, 0.34);
  border-radius: 20px;
  padding: 17px;
  background:
    linear-gradient(145deg, rgba(215, 191, 47, 0.16), transparent 44%),
    rgba(255, 255, 255, 0.045);
}

.booking-guidance h3 {
  margin: 3px 0 10px;
}

.booking-guidance p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.guidance-steps {
  margin: 12px 0;
  padding-left: 22px;
}

.guidance-steps li + li {
  margin-top: 7px;
}

.booking-help-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.slot-course {
  margin-top: 4px;
  color: var(--text);
  font-weight: 760;
  line-height: 1.28;
}

.advice-panel .quote-line {
  margin-bottom: 16px;
}

.advice-panel .tiny-note {
  margin-top: 12px;
}

.featured-boost {
  margin: 12px 0;
  border: 0;
  border-radius: 20px;
  padding: 16px 16px 17px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.42), transparent 8rem),
    linear-gradient(135deg, #f8df85 0%, var(--room-yellow) 46%, #b89531 100%);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.2),
    0 0 24px rgba(215, 191, 47, 0.16);
}

.featured-boost::before {
  display: none;
}

.featured-boost .eyebrow {
  color: rgba(17, 17, 17, 0.7);
}

.daily-card.featured-boost p:last-child {
  color: #17120a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.34;
}

.daily-card p:last-child,
.ritual-card p:last-child,
.info-card p:last-child,
.ritual-teaser p:last-child {
  margin-bottom: 0;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.45;
}

.connected-home .daily-card:not(.featured-boost) {
  border-color: rgba(82, 107, 115, 0.58);
  background:
    linear-gradient(135deg, rgba(82, 107, 115, 0.24), rgba(255, 255, 255, 0.035)),
    rgba(8, 8, 8, 0.76);
}

.connected-home .daily-card:not(.featured-boost)::before {
  background: linear-gradient(180deg, var(--wall-blue-soft), var(--room-yellow), transparent);
}

.connected-home .daily-card:not(.featured-boost) .eyebrow {
  color: var(--wall-blue-soft);
}

.connected-home .daily-card:not(.featured-boost) p:last-child {
  color: #f2ead3;
  font-size: 0.95rem;
}

.info-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-soft);
}

.info-card span,
.info-card p {
  color: var(--muted);
  line-height: 1.45;
}

.room-edge {
  border-left: 4px solid var(--room-yellow);
  background:
    linear-gradient(135deg, rgba(82, 107, 115, 0.16), rgba(215, 191, 47, 0.12)),
    rgba(255, 255, 255, 0.035);
}

.quote-line {
  border-left: 4px solid var(--gold);
  padding-left: 12px;
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.35;
}

.focus-quote {
  border: 1px solid rgba(215, 191, 47, 0.5);
  border-left: 4px solid var(--room-yellow);
  border-radius: 18px;
  padding: 14px;
  background:
    radial-gradient(circle at 8% 0%, rgba(247, 210, 118, 0.18), transparent 9rem),
    linear-gradient(135deg, rgba(82, 107, 115, 0.14), rgba(215, 191, 47, 0.12)),
    rgba(255, 255, 255, 0.035);
}

.focus-quote span {
  display: block;
  margin-bottom: 7px;
  color: var(--room-yellow);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.focus-quote strong {
  display: block;
  color: var(--white);
  font-size: 1.04rem;
  line-height: 1.34;
}

.quiet-link {
  margin-top: 12px;
  border: 1px solid rgba(215, 191, 47, 0.42);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--divine);
  background: rgba(82, 107, 115, 0.18);
  font-size: 0.84rem;
  font-weight: 900;
}

.quiet-link:hover {
  border-color: rgba(247, 210, 118, 0.72);
  background: rgba(215, 191, 47, 0.12);
}

.public-rules-link {
  display: block;
  margin: 14px auto 0;
  border: 0;
  border-bottom: 1px solid rgba(215, 191, 47, 0.42);
  border-radius: 0;
  padding: 4px 2px;
  color: var(--muted);
  background: transparent;
  box-shadow: none;
  font-size: 0.86rem;
  font-weight: 800;
}

.public-rules-link:hover {
  color: var(--divine);
  border-color: var(--room-yellow);
}

.rules-inline-link {
  margin-top: 2px;
  justify-self: start;
}

.connected-home {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.session-photo-card {
  margin: 0;
  min-height: 210px;
  border: 1px solid rgba(215, 191, 47, 0.38);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: #090909;
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(82, 107, 115, 0.18),
    var(--warm-glow);
}

.session-photo-card img {
  width: 100%;
  height: 270px;
  display: block;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(1.06) contrast(1.04) brightness(0.95);
}

.session-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 58%),
    linear-gradient(100deg, rgba(82, 107, 115, 0.28), transparent 48%),
    radial-gradient(circle at 24% 22%, rgba(215, 191, 47, 0.18), transparent 14rem);
  pointer-events: none;
}

.session-photo-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: grid;
  gap: 5px;
}

.session-photo-card figcaption span {
  color: var(--room-yellow);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.session-photo-card figcaption strong {
  max-width: 22rem;
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.25;
}

.ritual-teaser {
  border-color: rgba(82, 107, 115, 0.52);
}

.success-ritual {
  margin: 16px 0;
  text-align: left;
}

.panel-copy {
  color: var(--muted);
  line-height: 1.45;
}

.format-intro {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  border-left: 3px solid var(--room-yellow);
  padding-left: 12px;
  color: var(--gold-soft);
  font-weight: 850;
  line-height: 1.42;
}

.session-identity-card {
  display: grid;
  gap: 5px;
}

.session-identity-card em {
  color: var(--gold-soft);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 800;
}

.session-identity-card span,
.practical-card span {
  line-height: 1.48;
}

.slot-top,
.slot-meta,
.request-actions,
.admin-slot-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.slot-day {
  margin-bottom: 3px;
  color: #fff1b3;
  font-size: 1.12rem;
  font-weight: 900;
}

.slot-format {
  margin-top: 5px;
  color: var(--gold-soft);
  font-size: 0.86rem;
  font-weight: 750;
}

.slot-meta {
  margin: 14px 0;
  color: var(--muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.place-row {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.place-square {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(215, 191, 47, 0.45);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.place-square.taken {
  border-color: rgba(247, 210, 118, 0.88);
  background: linear-gradient(135deg, var(--divine), var(--gold-soft), var(--sun), var(--solar));
  box-shadow:
    0 6px 14px rgba(201, 138, 46, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.place-label {
  margin-left: 4px;
  color: var(--gold-soft);
  font-size: 0.84rem;
  font-weight: 850;
}

.slot-note,
.recovery-note {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.45;
}

.recovery-note {
  border-left: 3px solid var(--room-yellow);
  padding-left: 10px;
  color: var(--gold-soft);
  font-weight: 800;
}

.badge {
  color: var(--black);
  background: linear-gradient(135deg, var(--sun), var(--solar));
  border-color: rgba(255, 210, 56, 0.6);
  border-radius: 10px;
  padding: 7px 9px;
}

.status-pill.available {
  border-color: rgba(50, 181, 106, 0.35);
  color: var(--green);
}

.status-pill.almost {
  border-color: rgba(224, 165, 46, 0.45);
  color: var(--amber);
}

.status-pill.full {
  border-color: rgba(82, 107, 115, 0.58);
  color: var(--room-yellow);
}

.primary-button,
.secondary-button,
.ghost-button,
.danger-button,
.icon-button {
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  color: #120a05;
  background: linear-gradient(135deg, #f7d276 0%, var(--gold-soft) 25%, var(--sun) 52%, var(--solar) 78%, var(--bronze) 100%);
  font-weight: 900;
  box-shadow:
    0 12px 28px rgba(201, 138, 46, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

a.primary-button,
a.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.tool-card .form-actions {
  flex-wrap: wrap;
}

.tool-card .form-actions a {
  flex: 1 1 210px;
  width: auto;
}

.ecosystem-panel {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(247, 210, 118, 0.13), transparent 55%),
    linear-gradient(160deg, rgba(201, 138, 46, 0.12), rgba(7, 16, 18, 0.82));
}

.ecosystem-panel p:not(.eyebrow) {
  max-width: 34rem;
  margin: 12px auto 18px;
  color: var(--muted);
  line-height: 1.55;
}

.ecosystem-link {
  display: inline-flex;
  width: auto;
}

.primary-button {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.secondary-button,
.ghost-button {
  background: linear-gradient(135deg, rgba(82, 107, 115, 0.24), rgba(215, 191, 47, 0.1));
  color: var(--divine);
  border: 1px solid rgba(82, 107, 115, 0.52);
  box-shadow: none;
}

.primary-button:hover,
.reserve-cta:hover,
.reserve-tab:hover {
  border-color: rgba(247, 210, 118, 0.9);
  background: linear-gradient(135deg, #ffe19b 0%, var(--gold-soft) 24%, var(--sun) 52%, var(--solar) 78%, #92521b 100%);
  box-shadow:
    0 15px 34px rgba(201, 138, 46, 0.34),
    0 0 28px rgba(215, 191, 47, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.full-width {
  width: 100%;
}

.danger-button {
  background: linear-gradient(135deg, rgba(82, 107, 115, 0.32), rgba(215, 191, 47, 0.12));
  color: var(--divine);
  border: 1px solid rgba(82, 107, 115, 0.58);
}

.icon-button {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  font-size: 1.5rem;
}

.ghost-button {
  width: auto;
  padding-inline: 16px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 13px;
  color: var(--gold-soft);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  outline: none;
}

select option {
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.password-field {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
}

.password-field input {
  min-width: 0;
}

.password-field button,
.text-button {
  border: 0;
  background: transparent;
  color: var(--gold);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.password-field button {
  border: 1px solid rgba(228, 174, 65, 0.55);
  border-radius: 999px;
  padding: 10px 12px;
}

.text-button {
  margin: -2px 0 14px;
  padding: 0;
  text-align: left;
}

.password-field button:hover,
.text-button:hover {
  color: var(--place-yellow);
}

.form-actions {
  align-items: stretch;
}

.form-actions > * {
  flex: 1;
}

.success-panel {
  text-align: center;
}

.success-mark {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 8px 12px;
  color: #06210f;
  background: linear-gradient(135deg, #a8ffbf, var(--leaf));
  font-weight: 900;
}

.plan-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-soft);
}

.plan-card span {
  color: var(--muted);
}

.plan-card small {
  display: block;
  margin-top: 8px;
  color: var(--gold-soft);
  font-size: 0.82rem;
  line-height: 1.35;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.user-panel > .focus-quote {
  margin: 12px 0;
}

.account-card {
  color: var(--white);
  font-weight: 900;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(215, 191, 47, 0.11), rgba(82, 107, 115, 0.16)),
    rgba(255, 255, 255, 0.035);
}

.reserve-tab {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  border-color: rgba(247, 210, 118, 0.72);
  background:
    linear-gradient(135deg, rgba(65, 34, 11, 0.95), var(--bronze) 36%, var(--solar) 74%, var(--gold-soft)),
    rgba(255, 255, 255, 0.04);
  color: #fff8dc;
  font-size: 1.02rem;
  box-shadow: 0 14px 32px rgba(201, 138, 46, 0.26);
}

.liberfit-card {
  display: grid;
  gap: 5px;
  text-decoration: none;
}

.liberfit-card span {
  color: #251409;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.liberfit-card strong {
  color: inherit;
  font-size: 1rem;
}

.liberfit-notice {
  margin: 12px 0;
}

.account-card.active {
  background: linear-gradient(135deg, var(--divine), var(--gold-soft), var(--sun), var(--solar), var(--bronze));
  color: #120a05;
  border-color: rgba(247, 210, 118, 0.74);
  box-shadow: 0 12px 28px rgba(201, 138, 46, 0.22);
}

.rules-tab {
  border-color: rgba(82, 107, 115, 0.58);
}

.guides-tab {
  border-color: rgba(201, 146, 75, 0.62);
  background:
    linear-gradient(145deg, rgba(201, 146, 75, 0.16), rgba(82, 107, 115, 0.1)),
    rgba(255, 255, 255, 0.035);
}

.guides-panel .panel-copy {
  margin-bottom: 16px;
}

.guide-list {
  display: grid;
  gap: 12px;
}

.guide-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(201, 146, 75, 0.1), transparent 38%),
    rgba(255, 255, 255, 0.035);
}

.guide-card[open] {
  border-color: rgba(201, 146, 75, 0.64);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.guide-card summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 12px 14px;
  color: var(--white);
  cursor: pointer;
  list-style: none;
}

.guide-card summary::-webkit-details-marker {
  display: none;
}

.guide-card summary::after {
  content: "+";
  margin-left: auto;
  color: var(--gold-soft);
  font-size: 1.45rem;
  font-weight: 900;
}

.guide-card[open] summary::after {
  content: "−";
}

.guide-card summary span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bronze), var(--gold-soft));
  color: #160e08;
  font-size: 0.78rem;
  font-weight: 950;
}

.guide-card summary strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.guide-card img {
  display: block;
  width: 100%;
  height: auto;
  border-top: 1px solid rgba(201, 146, 75, 0.26);
  background: #080b0d;
}

.rythme-plus {
  display: grid;
  gap: 14px;
  margin: 12px 0;
  border: 1px solid rgba(215, 191, 47, 0.42);
  border-left: 5px solid var(--room-yellow);
  border-radius: 20px;
  padding: 16px;
  background:
    radial-gradient(circle at 92% 8%, rgba(215, 191, 47, 0.22), transparent 8rem),
    linear-gradient(135deg, rgba(82, 107, 115, 0.28), rgba(20, 20, 20, 0.84) 48%, rgba(201, 138, 46, 0.12)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.rythme-plus h3 {
  margin: 2px 0 7px;
  color: var(--gold-soft);
  font-size: clamp(1.35rem, 6vw, 1.85rem);
  letter-spacing: 0.02em;
}

.rythme-plus p:not(.eyebrow) {
  margin: 0;
  color: #f2ead3;
  font-size: 0.96rem;
  line-height: 1.48;
}

.rythme-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(247, 210, 118, 0.7);
  border-radius: 14px;
  padding: 12px 14px;
  color: #130d07;
  background: linear-gradient(135deg, var(--divine), var(--gold-soft), var(--sun), var(--solar));
  box-shadow: 0 14px 30px rgba(201, 138, 46, 0.24);
  font-weight: 950;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.rythme-link:hover,
.rythme-link:focus-visible {
  filter: brightness(1.06);
  box-shadow: 0 18px 38px rgba(201, 138, 46, 0.32);
}

.rythme-link:active {
  transform: translateY(1px) scale(0.99);
}

.reserve-cta {
  position: relative;
  overflow: hidden;
  min-height: 58px;
  border: 1px solid rgba(247, 210, 118, 0.72);
  background:
    linear-gradient(135deg, var(--divine) 0%, var(--gold-soft) 25%, var(--sun) 54%, var(--solar) 78%, var(--bronze) 100%);
  color: #120a05;
  box-shadow:
    0 16px 38px rgba(201, 138, 46, 0.32),
    0 0 30px rgba(247, 210, 118, 0.22);
  font-size: 1.02rem;
}

.home-back-button {
  width: auto;
  flex-shrink: 0;
  padding: 10px 12px;
  font-size: 0.82rem;
}

#adminOpenButton,
#logoutButton,
.home-back-button {
  border: 1px solid rgba(120, 146, 154, 0.7);
  background:
    linear-gradient(135deg, rgba(82, 107, 115, 0.72), rgba(120, 146, 154, 0.36)),
    rgba(255, 255, 255, 0.04);
  color: var(--divine);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

#adminOpenButton:hover,
#logoutButton:hover,
.home-back-button:hover {
  border-color: rgba(215, 191, 47, 0.74);
  background:
    linear-gradient(135deg, rgba(120, 146, 154, 0.82), rgba(215, 191, 47, 0.18)),
    rgba(255, 255, 255, 0.06);
  color: #fff7d2;
}

.small-heading {
  margin-top: 22px;
}

.form-note,
.compact-info {
  margin: -2px 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.transition-note {
  border-left: 3px solid var(--room-yellow);
  padding-left: 11px;
  color: var(--gold-soft);
}

.rules-panel .panel-copy {
  margin-bottom: 16px;
}

.rules-card {
  padding-left: 16px;
}

.rules-card h3 {
  margin: 0 0 8px;
  color: var(--gold-soft);
  font-size: 1rem;
}

.rules-card p {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.rules-card p:last-child {
  margin-bottom: 0;
}

.acceptance-card {
  border-color: rgba(215, 191, 47, 0.58);
  background:
    linear-gradient(135deg, rgba(215, 191, 47, 0.15), rgba(82, 107, 115, 0.12)),
    rgba(255, 255, 255, 0.04);
}

.reservation-rules {
  margin: 2px 0 14px;
  border: 1px solid rgba(215, 191, 47, 0.42);
  border-left: 4px solid var(--room-yellow);
  border-radius: 18px;
  padding: 13px;
  background:
    linear-gradient(135deg, rgba(215, 191, 47, 0.12), rgba(82, 107, 115, 0.12)),
    rgba(255, 255, 255, 0.035);
}

.reservation-rules p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 0;
  color: var(--white);
  font-size: 0.92rem;
  line-height: 1.35;
}

.check-line input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--room-yellow);
}

.compact-info {
  margin: 0;
  text-align: center;
}

.admin-modal {
  width: min(94vw, 720px);
  max-height: 88vh;
  overflow: auto;
  border-radius: 24px;
  padding: 18px;
  color: var(--white);
}

.admin-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.admin-section {
  padding-top: 4px;
}

.two-cols {
  align-items: end;
}

.two-cols label {
  flex: 1;
}

.request-card p,
.admin-slot-card p,
.participant-card p,
.credit-summary-card p,
.tool-card p {
  color: var(--muted);
}

.request-actions,
.admin-slot-actions,
.participant-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.request-actions button,
.admin-slot-actions button,
.participant-actions button {
  flex: 1 1 120px;
}

.participant-card,
.credit-summary-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(82, 107, 115, 0.16), rgba(215, 191, 47, 0.08)),
    rgba(255, 255, 255, 0.035);
}

.participant-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.participant-top h3,
.credit-summary-card h3 {
  margin-bottom: 4px;
}

.participant-stats,
.credit-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.participant-stats span,
.credit-lines span {
  border: 1px solid rgba(82, 107, 115, 0.36);
  border-radius: 12px;
  padding: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.82rem;
  line-height: 1.25;
}

.participant-stats strong,
.credit-lines strong {
  color: var(--gold-soft);
}

.credit-history {
  margin-top: 12px;
}

.credit-history .eyebrow {
  margin-top: 12px;
}

.credit-history ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.request-card[data-status="validated"] {
  border-color: rgba(50, 181, 106, 0.45);
}

.request-card[data-status="waitlist"] {
  border-color: rgba(224, 165, 46, 0.45);
}

.request-card[data-status="refused"] {
  opacity: 0.72;
}

.tiny-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.account-diagnostic {
  color: var(--gold-soft);
}

code {
  color: var(--gold-soft);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 10;
  width: min(calc(100vw - 28px), 460px);
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 13px 15px;
  background: #111;
  color: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
  font-weight: 800;
}

@media (min-width: 760px) {
  .app-shell {
    padding-top: 32px;
  }

  .hero,
  .panel {
    padding: 24px;
  }

  .plans-grid,
  .daily-panel,
  .info-grid,
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-actions {
    grid-template-columns: repeat(3, 1fr);
  }

  .slot-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
