:root {
  color-scheme: light;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #17201b;
  background: #f5f1e8;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100dvh;
  background: radial-gradient(circle at 100% 0, #d8c28b55, transparent 34rem), #f5f1e8;
}

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

.shell {
  width: min(100%, 48rem);
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
    max(1.5rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 8vw, 5rem);
}

.header-actions,
.actions,
.item-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.text-button {
  border: 0;
  padding: 0.6rem;
  color: #315846;
  background: transparent;
  font-weight: 700;
}

.brand {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 50%;
  color: #f5f1e8;
  background: #17201b;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  text-decoration: none;
}

.language {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #566158;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language select {
  min-height: 2.5rem;
  border: 1px solid #17201b33;
  border-radius: 999px;
  padding: 0 0.8rem;
  color: inherit;
  background: #ffffff99;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: #8a702e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.5rem, 12vw, 5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.door {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid #17201b1c;
  border-radius: 1.25rem;
  background: #ffffff88;
}

.door-mark {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  color: #f5f1e8;
  background: #315846;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.door p,
.section > p:not(.eyebrow) {
  margin: 0.35rem 0 0;
  color: #566158;
  line-height: 1.5;
}

.primary {
  width: 100%;
  min-height: 3.25rem;
  margin-top: 0.8rem;
  border: 0;
  border-radius: 999px;
  color: #f5f1e8;
  background: #17201b;
  font-weight: 700;
  cursor: pointer;
}

.notice,
.error,
.loading {
  margin: 1rem 0;
  color: #566158;
  line-height: 1.5;
}

.error {
  color: #a52b2b;
}

.narrow {
  max-width: 34rem;
}

.form {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.form label {
  display: grid;
  gap: 0.45rem;
  color: #566158;
  font-size: 0.78rem;
  font-weight: 700;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  min-height: 3rem;
  border: 1px solid #17201b33;
  border-radius: 0.75rem;
  padding: 0.75rem;
  color: #17201b;
  background: #fff;
}

.form textarea {
  min-height: 7rem;
  resize: vertical;
}
.panel {
  padding: 1rem;
  border-radius: 1rem;
  background: #ffffff99;
}
.panel h2 {
  margin: 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 2rem 0 1rem;
}

.metrics article {
  min-width: 0;
  padding: 1rem;
  border-radius: 1rem;
  background: #fff9;
}

.metrics span,
.metrics strong {
  display: block;
}
.metrics span {
  color: #566158;
  font-size: 0.75rem;
}
.metrics strong {
  margin-top: 0.4rem;
  font-size: clamp(1.1rem, 5vw, 1.7rem);
}

.feed-list,
.guide-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.feed-item,
.guide-item,
.empty-state {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #17201b22;
  border-radius: 1rem;
  background: #ffffff88;
}

.feedback-open {
  display: block;
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.feedback-conversation {
  margin-top: 1.5rem;
}

.feedback-message {
  margin: 0.75rem 0;
  padding: 0.75rem;
  border-left: 3px solid #8a702e;
  background: #fff9;
}

.feedback-consent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
}

.feed-item.unread {
  border-left: 4px solid #8a702e;
}
.feed-item h2,
.guide-item h2 {
  margin: 0.6rem 0;
  font-family: Georgia, serif;
  font-size: 1.35rem;
}
.feed-item p,
.guide-item p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.55;
}
.item-meta {
  justify-content: space-between;
  color: #566158;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.history {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}
.history li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #17201b22;
}

.cards {
  display: grid;
  gap: 0.7rem;
  margin-top: 2rem;
}

.card {
  display: flex;
  min-width: 0;
  min-height: 4.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #17201b22;
  color: inherit;
  font-weight: 650;
  text-decoration: none;
}

.card b {
  color: #8a702e;
  font-size: 1.25rem;
}

.section {
  padding-top: clamp(1rem, 8vw, 4rem);
}

.section > p:not(.eyebrow) {
  max-width: 32rem;
  margin-top: 1.5rem;
}

.back {
  display: inline-block;
  margin-top: 2rem;
  color: #315846;
  font-weight: 700;
  text-decoration: none;
}

@media (min-width: 42rem) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .card {
    padding: 0 1rem;
    border: 1px solid #17201b22;
    border-radius: 1rem;
    background: #ffffff55;
  }
}

@media (max-width: 30rem) {
  .language > span {
    display: none;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero,
  .cards,
  .section {
    animation: appear 300ms ease-out both;
  }

  @keyframes appear {
    from {
      opacity: 0;
      transform: translateY(0.5rem);
    }
  }
}

.terms-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.65;
}
.terms-facts {
  padding: 0;
  list-style: none;
}
.terms-facts li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #17201b22;
}
.terms-facts span {
  flex: 1;
  min-width: 0;
}
.terms-facts strong {
  max-width: 55%;
  white-space: normal;
  text-align: right;
  overflow-wrap: anywhere;
}
.form .terms-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.form .terms-consent input[type='checkbox'] {
  width: 1.25rem;
  height: 1.25rem;
  min-height: 1.25rem;
  padding: 0;
  flex: 0 0 auto;
  margin-top: 0.2rem;
}
.programme-terms pre {
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.referral-sharing {
  margin-top: 1.5rem;
}
.referral-link {
  display: block;
  margin: 1rem 0;
  color: #315846;
  overflow-wrap: anywhere;
}
.referral-qr {
  display: block;
  width: min(100%, 13rem);
  height: auto;
  margin: 1rem auto 0;
}

.guest-media-items {
  display: grid;
  gap: 0.75rem;
}
.guest-media-items img {
  display: block;
  width: 100%;
  max-height: 24rem;
  object-fit: contain;
  border-radius: 0.75rem;
}

.auth-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
.auth-options .text-button {
  min-height: 2.75rem;
}

.form .auth-error {
  margin: 0;
  border: 1px solid #cf8c86;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  color: #922727;
  background: #fff0ed;
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
  scroll-margin-block: 1rem;
}

.auth-error:focus {
  outline: 2px solid #922727;
  outline-offset: 2px;
}

.portal {
  --forest: #16362f;
  --paper: #fffdf9;
  --cream: #f5f0e7;
  --line: #e1e6df;
  color: var(--forest);
  background: var(--cream);
  min-height: 100dvh;
  font-size: 15px;
  line-height: 1.5;
}
.portal * {
  min-width: 0;
}
.portal-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
}
.portal-quick .portal-icon {
  margin: auto;
  color: #aa8444;
}
.portal .feedback-types,
.portal .feedback-stars {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.portal .feedback-types {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.portal .feedback-types legend,
.portal .feedback-stars legend {
  padding: 0 0 8px;
  font-weight: 700;
}
.portal .feedback-types label,
.portal .feedback-stars label {
  position: relative;
}
.portal .feedback-types input,
.portal .feedback-stars input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  height: 1px;
  padding: 0;
  opacity: 0;
}
.portal .feedback-types span {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.portal .feedback-types input:checked + span {
  border-color: #16362f;
  background: #eaf1eb;
  font-weight: 700;
}
.portal .feedback-types input:focus-visible + span,
.portal .feedback-stars input:focus-visible + span {
  outline: 3px solid #aa8444;
  outline-offset: 3px;
}
.portal .feedback-stars {
  grid-template-columns: repeat(5, 44px);
  margin-bottom: 16px;
}
.portal .feedback-stars span {
  display: grid;
  min-height: 44px;
  place-items: center;
  font-size: 28px;
  color: #607069;
  border-radius: 8px;
}
.portal .feedback-stars input:checked + span {
  color: #16362f;
  background: #eaf1eb;
}
.portal .modern-feedback-form details label {
  margin-top: 12px;
}
.portal .modern-feedback-form summary {
  cursor: pointer;
  min-height: 44px;
}
.portal a {
  color: inherit;
  text-decoration: none;
}
.portal button,
.portal a,
.portal input,
.portal select {
  min-height: 44px;
}
.portal a:focus-visible,
.portal button:focus-visible {
  outline: 3px solid #aa8444;
  outline-offset: 3px;
}
.portal-header {
  height: 78px;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #102b25;
  color: #fffdf9;
  gap: 12px;
}
.portal-header > div {
  display: flex;
  align-items: center;
  gap: 20px;
}
.portal-brand {
  display: flex;
  align-items: center;
}
.portal-brand img {
  max-width: 154px;
  width: 100%;
  height: auto;
}
.portal-header .text-button,
.portal-header .language {
  color: #fffdf9;
}
.portal-header .language > span {
  display: none;
}
.portal-header .language select {
  color: #fffdf9;
  background: #16362f;
}
.portal-header .language option {
  color: #16362f;
  background: #fffdf9;
}
.portal-site {
  display: inline-flex;
  align-items: center;
}
.portal-sidebar {
  width: 242px;
  position: absolute;
  top: 78px;
  bottom: 0;
  min-height: calc(100dvh - 78px);
  background: var(--paper);
  border-right: 1px solid var(--line);
  padding: 24px 16px;
}
.portal-sidebar nav {
  display: grid;
  gap: 8px;
}
.portal-sidebar a {
  padding: 12px 16px;
  border-radius: 12px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.portal [aria-current='page'] {
  background: #eaf1eb;
  font-weight: 700;
  box-shadow: inset 3px 0 var(--forest);
}
.portal-main {
  margin-left: 242px;
  padding: 28px 32px 48px;
  max-width: 1500px;
}
.portal h1 {
  max-width: none;
  font:
    500 32px/1.2 Georgia,
    serif;
  margin: 0 0 20px;
  letter-spacing: -0.6px;
}
.portal h2 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
}
.portal h3 {
  font-size: 16px;
}
.portal p {
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.portal .muted,
.portal-subtitle,
.portal dt,
.portal time {
  color: #607069;
}
.portal-subtitle {
  margin-top: -10px !important;
  margin-bottom: 20px !important;
}
.portal-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}
.portal-request-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}
.portal-actions .portal-card,
.portal-actions .portal-quick {
  margin: 0;
}
.portal-actions {
  grid-column: 2;
  display: grid;
  gap: 14px;
}
.portal-feed {
  grid-column: 1;
  grid-row: 1;
}
.portal-card,
.portal .panel,
.portal .feed-item {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  margin: 0;
}
.portal-card + .portal-card {
  margin-top: 14px;
}
.portal-card a {
  display: block;
  padding: 10px 0;
}
.portal-kicker {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #607069;
}
.portal-stay dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin: 16px 0;
}
.portal dd {
  margin: 0;
  font-weight: 700;
}
.portal dt {
  font-size: 12px;
}
.portal-link > * {
  display: block;
}
.portal-link span {
  color: #607069;
  font-size: 13px;
  margin-top: 4px;
}
.portal-actions .portal-bonus {
  background: #fff0e8;
}
.portal-quick {
  margin: 14px 0;
}
.portal-quick > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.portal-quick a {
  display: grid;
  gap: 6px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 8px;
  font-size: 22px;
}
.portal-quick span {
  font-size: 13px;
}
.portal-outline,
.portal-primary,
.portal .primary {
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 11px 18px !important;
  border-radius: 10px;
  gap: 8px;
  font-weight: 700;
  border: 1px solid var(--line);
}
.portal-primary,
.portal .primary {
  background: #f26b38;
  color: #102b25;
  border-color: #f26b38;
}
.portal-outline {
  background: var(--paper);
  color: var(--forest);
}
.portal-stay .portal-outline {
  width: 100%;
}
.portal-stays {
  display: grid;
  gap: 20px;
  max-width: 900px;
}
.portal-bottom {
  display: none;
}
.portal .section {
  padding: 0;
}
.portal .section > .eyebrow {
  display: none;
}
.portal .feed-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.portal .feed-item {
  width: 100%;
  text-align: left;
  color: inherit;
}
.portal .feed-item p,
.portal .feedback-message p {
  white-space: pre-wrap;
}
.portal .item-meta {
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 12px;
}
.portal .feedback-open:hover {
  border-color: #607069;
}
.portal-status {
  display: inline-block;
  border-radius: 99px;
  padding: 4px 12px;
  background: #eaf1eb;
  color: var(--forest);
  font-size: 12px;
}
.portal .form {
  gap: 16px;
  max-width: 760px;
  margin-top: 20px;
}
.portal .form select,
.portal .form input,
.portal .form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #bdc8bd;
  border-radius: 10px;
  padding: 12px;
  background: #fffdf9;
  font-size: 16px;
}
.portal .form textarea {
  min-height: 130px;
}
.portal .form label {
  font-size: 14px;
}
.portal .feedback-conversation {
  max-width: 980px;
}
.portal .feedback-original {
  background: var(--cream);
  padding: 16px;
  border-radius: 12px;
  white-space: pre-wrap;
}
.portal .feedback-message {
  margin: 16px 0;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  max-width: 90%;
  background: #eaf1eb;
}
.portal .feedback-message.from-guest {
  margin-left: auto;
  background: #fff0e8;
}
.portal .feedback-message-list {
  padding: 8px 0;
}
.portal .attachment-preview > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px;
  border: 1px solid var(--line);
}
.portal .attachment-preview span {
  overflow-wrap: anywhere;
}
.portal .auth-error {
  color: #922727;
  background: #fff0ed;
  border: 1px solid #cf8c86;
  padding: 12px;
}
.portal .guest-media img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.portal .error button {
  display: block;
  margin-top: 16px;
}
@media (max-width: 1100px) {
  .portal-request-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .portal-request-context {
    display: none;
  }
  .portal-home-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 16px;
  }
  .portal-main {
    padding: 24px 20px;
    margin-left: 210px;
  }
  .portal-sidebar {
    width: 210px;
  }
}
@media (max-width: 800px) {
  .portal-main > .section > .portal-primary {
    display: flex !important;
    width: 100%;
  }
  .portal .feedback-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portal {
    font-size: 14px;
  }
  .portal-header {
    height: 67px;
    padding: 10px 16px;
  }
  .portal-header > div {
    gap: 4px;
  }
  .portal-brand img {
    max-width: 125px;
  }
  .portal-header .text-button {
    font-size: 12px;
    padding: 4px;
  }
  .portal-header .language select {
    padding: 0 8px;
  }
  .portal-site,
  .portal-sidebar {
    display: none !important;
  }
  .portal-main {
    margin: 0;
    padding: 22px 16px calc(100px + env(safe-area-inset-bottom));
  }
  .portal h1 {
    font-size: 25px;
  }
  .portal-home-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .portal-actions,
  .portal-feed {
    width: 100%;
  }
  .portal-actions {
    gap: 12px;
  }
  .portal-card,
  .portal .panel,
  .portal .feed-item {
    padding: 16px;
    border-radius: 16px;
  }
  .portal-card + .portal-card {
    margin-top: 0;
  }
  .portal-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    z-index: 10;
  }
  .portal-bottom a {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    font-size: 11px;
    min-height: 52px;
    text-align: center;
  }
  .portal-bottom span {
    font-size: 22px;
    line-height: 24px;
  }
  .portal-bottom [aria-current] {
    box-shadow: none;
    border-radius: 10px;
  }
  .portal .feedback-message {
    max-width: 100%;
  }
}
