/*
    Guest-info site. Copied from GuestAppMvc (WebSites\GuestApp) on 2026-09-30 and trimmed: the
    guest-info sites have no per-hotel theme, so the values in :root are the look of every site
    (the same green on off-white the Flutter viewer was hard-coded to).

    Text colours are relative to what they stand on: --ink / --muted / --line are redefined inside
    a card and inside the white surfaces (dialog, menu), so the same rules work everywhere.

    Screen sizes follow the Flutter app: small < 630px, medium 630-899px, large >= 900px.
*/

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope.woff") format("woff");
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: "Cormorant Garamond";
    src: url("../fonts/cormorant-garamond.woff") format("woff");
    font-weight: 500 700;
    font-display: swap;
}

:root {
    --header-bg: #1f4a3c;
    --header-text: #fff;
    --accent: #1f4a3c;
    --on-accent: #fff;
    --surface: #f6f2ec;
    --panel-bg: #fff;
    --card-bg: #fff;
    --card-ink: #1d2622;
    --card-muted: rgba(29, 38, 34, 0.66);
    --card-line: rgba(29, 38, 34, 0.12);
    --header-height: 56px;
    --hero-height: 420px;
    --card-gap: 24px;
    --cards-small: 1;
    --cards-medium: 3;
    --cards-large: 4;

    --ink: #1d2622;
    --muted: rgba(29, 38, 34, 0.66);
    --line: rgba(29, 38, 34, 0.12);
    --danger: #b3261e;
    --radius: 20px;
    --radius-small: 12px;
    --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
    --body: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

    --cols: var(--cards-small);
    --side: 16px;

    /* names used by the widget styles */
    --primary: var(--accent);
    --text: var(--ink);
    --card-button-bg: var(--accent);
    --card-button-text: var(--on-accent);
}

@media (min-width: 630px) {
    :root {
        --cols: var(--cards-medium);
        --side: 24px;
    }
}

@media (min-width: 900px) {
    :root {
        --cols: var(--cards-large);
        --side: 32px;
    }
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

a {
    color: var(--accent);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.shell {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--side);
}

.page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px 16px;
}

.notice {
    font-size: 20px;
    text-align: center;
}

/* ---- header bar ---- */

.bar {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: var(--header-height);
    padding: 0 8px 0 var(--side);
    background: var(--header-bg);
    color: var(--header-text);
}

.bar--pinned {
    position: sticky;
    top: 0;
}

.bar__logo {
    width: auto;
    height: 40px;
    margin-right: 4px;
}

.bar__title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: inherit;
    font-family: var(--display);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.1;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bar :focus-visible {
    outline-color: var(--header-text);
}

.bar__chat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
    padding: 8px 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.bar__chat:hover {
    background: rgba(127, 127, 127, 0.22);
}

.bar__chat-text {
    display: none;
}

.bar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.bar__icon:hover {
    background: rgba(127, 127, 127, 0.22);
}

.bar__form {
    display: inline-flex;
    margin: 0;
}

.bar__user {
    display: none;
    flex: none;
    max-width: 240px;
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bar__icon--login {
    display: none;
}

@media (min-width: 630px) {
    .bar__user {
        display: inline;
    }

    .bar__icon--login {
        display: inline-flex;
    }
}

/* ---- language menu ---- */

.lang {
    position: relative;
}

.lang summary {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: var(--header-height);
    padding: 0 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
}

.lang summary::-webkit-details-marker {
    display: none;
}

.lang img {
    display: block;
    flex: none;
    width: 22px;
    height: 22px;
}

.lang__name {
    display: none;
}

@media (min-width: 630px) {
    .lang__name {
        display: inline;
    }
}

.lang ul {
    position: absolute;
    top: calc(100% - 4px);
    right: 8px;
    min-width: 210px;
    max-height: 70vh;
    margin: 0;
    padding: 8px;
    overflow-y: auto;
    border-radius: var(--radius-small);
    background: #fff;
    box-shadow: 0 12px 32px rgba(29, 38, 34, 0.22);
    list-style: none;

    /* a white surface: dark text whatever the page colour is */
    --ink: #1d2622;
    --muted: rgba(29, 38, 34, 0.66);
    --line: rgba(29, 38, 34, 0.12);
}

.lang li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--ink);
    font-size: 15px;
    text-decoration: none;
}

.lang li a:hover,
.lang li a:focus {
    background: #f1ede6;
}

/* ---- header pictures with the hotel's name ---- */

.hero {
    position: relative;
    height: clamp(230px, 42vw, var(--hero-height));
    margin: 0 calc(var(--side) * -1);
    overflow: hidden;
    border-radius: 0 0 28px 28px;
    background: var(--header-bg);
}

@media (min-width: 630px) {
    .hero {
        margin: 0;
    }
}

.hero__track {
    display: flex;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.hero__track::-webkit-scrollbar {
    display: none;
}

.hero__track img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
}

/* the name has to be readable on any photo */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.62) 100%);
    pointer-events: none;
}

.hero__text {
    position: absolute;
    right: 24px;
    bottom: 26px;
    left: 24px;
    z-index: 1;
    color: #fff;
    pointer-events: none;
}

@media (min-width: 630px) {
    .hero__text {
        right: 48px;
        bottom: 40px;
        left: 48px;
    }
}

.hero__name {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(38px, 6.4vw, 72px);
    font-weight: 500;
    line-height: 1.02;
    text-wrap: balance;
}

.hero__welcome {
    margin: 8px 0 0;
    font-size: 16px;
    font-weight: 500;
    opacity: 0.92;
}

.hero__dots {
    position: absolute;
    right: 24px;
    bottom: 12px;
    z-index: 2;
    display: flex;
    gap: 6px;
}

@media (min-width: 630px) {
    .hero__dots {
        right: 48px;
        bottom: 20px;
    }
}

.hero__dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.hero__dots button[aria-current="true"] {
    width: 22px;
    border-radius: 4px;
    background: #fff;
}

.hero__dots :focus-visible {
    outline-color: #fff;
}

/* ---- panels: the open card, the message to the guest ---- */

.panel {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel-bg);
}

@media (min-width: 630px) {
    .panel {
        padding: 28px 32px;
    }
}

.message h2 {
    margin: 0 0 8px;
    font-family: var(--display);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.15;
}

.message p {
    max-width: 75ch;
    margin: 8px 0 0;
}

.message__files {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* a card link ends in #card: the card lands just under the bar, with a strip of the picture above it */
#card {
    scroll-margin-top: calc(var(--header-height) + 74px);
}

/* ---- an open card: a panel over the page (card_detail.dart) ---- */

.slide__backdrop {
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(29, 38, 34, 0.45);
}

.slide {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 31;
    width: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    box-shadow: -12px 0 40px rgba(29, 38, 34, 0.25);

    /* a white surface: dark text whatever the page colour is */
    --ink: #1d2622;
    --muted: rgba(29, 38, 34, 0.66);
    --line: rgba(29, 38, 34, 0.12);
    color: var(--ink);
}

@media (min-width: 630px) {
    .slide {
        width: min(600px, 92vw);
    }
}

.slide__banner {
    position: relative;
    height: 280px;
    background: var(--accent);
    color: #fff;
}

.slide__banner--plain {
    height: 130px;
}

.slide__banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide__banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0) 60%);
}

.slide__banner h1 {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 14px;
    z-index: 1;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 500;
    line-height: 1.1;
    overflow-wrap: anywhere;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.slide__close {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #1d2622;
    font-size: 28px;
    line-height: 1;
    text-decoration: none;
}

.slide__body {
    padding: 20px;
}

@media (min-width: 630px) {
    .slide__body {
        padding: 24px 28px 32px;
    }
}

/* the page behind an open panel does not scroll on phones */
@media (max-width: 629px) {
    body:has(.slide) {
        overflow: hidden;
    }
}

/* ---- buttons ---- */

.button {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
}

.button--outline {
    border-color: var(--muted);
    background: transparent;
    color: var(--ink);
}

.button--outline:hover {
    background: var(--line);
}

/* ---- titles ---- */

.titles {
    padding: 40px 0 8px;
}

.titles h2 {
    margin: 0 0 6px;
    font-family: var(--display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.1;
}

.titles p {
    max-width: 70ch;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

/* ---- card text (DeltaHtmlRenderer) ---- */

.content {
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.content p {
    padding: 3px 0;
}

.content p,
.content h2,
.content h3,
.content h4,
.content blockquote,
.content pre,
.content ul,
.content ol {
    margin: 0;
}

.content h2,
.content h3,
.content h4 {
    font-family: var(--display);
}

.content h2 {
    margin-top: 16px;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.15;
}

.content h3 {
    margin-top: 8px;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.2;
}

.content h4 {
    margin-top: 8px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
}

.content blockquote {
    margin: 6px 0;
    padding-left: 16px;
    border-left: 4px solid var(--line);
    opacity: 0.8;
}

.content pre,
.content code {
    font-family: ui-monospace, Consolas, "Courier New", monospace;
    font-size: 14px;
}

.content pre {
    padding: 8px;
    overflow-x: auto;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.05);
    white-space: pre-wrap;
}

.content ul,
.content ol {
    padding-left: 24px;
}

.content img {
    display: block;
    height: auto;
    border-radius: var(--radius-small);
}

.content .align-center {
    text-align: center;
}

.content .align-right {
    text-align: right;
}

.content .align-justify {
    text-align: justify;
}

.content .rtl {
    direction: rtl;
}

.content .indent-1 { padding-left: 32px; }
.content .indent-2 { padding-left: 64px; }
.content .indent-3 { padding-left: 96px; }
.content .indent-4 { padding-left: 128px; }
.content .indent-5 { padding-left: 160px; }
.content .indent-6 { padding-left: 192px; }
.content .indent-7 { padding-left: 224px; }
.content .indent-8 { padding-left: 256px; }

.content .size-small {
    font-size: 10px;
}

.content .size-large {
    font-size: 18px;
}

.content .size-huge {
    font-size: 22px;
}

/* The editor's fonts. A font file is only downloaded when a text on the page uses it. */
/* ---- forms, dialogs and messages ---- */

.button--large {
    padding: 12px 24px;
}

.button:disabled {
    opacity: 0.45;
    cursor: default;
}

.inline-form {
    display: inline-flex;
    align-items: flex-end;
    gap: 8px;
    margin: 6px 0;
}

.field {
    display: block;
    margin-bottom: 10px;
}

.field span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.field input,
.field select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid rgba(29, 38, 34, 0.28);
    border-radius: var(--radius-small);
    background: #fff;
    color: #1d2622;
    font: inherit;
}

.field input:focus,
.field select:focus {
    border-color: var(--accent);
    outline: 1px solid var(--accent);
}

.field--pin {
    width: 180px;
    margin-bottom: 0;
}

.field--pin input {
    letter-spacing: 3px;
    text-align: center;
}

.check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.check input {
    width: 20px;
    height: 20px;
}

.dialog {
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    padding: 28px;
    overflow-y: auto;
    border: 0;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 24px 60px rgba(29, 38, 34, 0.3);

    /* a white surface: dark text whatever the page colour is */
    --ink: #1d2622;
    --muted: rgba(29, 38, 34, 0.66);
    --line: rgba(29, 38, 34, 0.12);
    color: var(--ink);
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    text-align: left;
}

.dialog::backdrop {
    background: rgba(29, 38, 34, 0.55);
}

.dialog__message {
    margin: 0 0 16px;
    white-space: pre-line;
}

.dialog__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}

.flash {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 560px;
    margin: 0 auto;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--ink);
    box-shadow: 0 12px 32px rgba(29, 38, 34, 0.3);
    color: #fff;
    font-weight: 500;
}

.flash--error {
    background: var(--danger);
}

.flash span {
    flex: 1;
}

.flash button {
    border: 0;
    background: none;
    color: inherit;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.stay {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 4px 0;
}

.stay .button {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
}

.stay p {
    margin: 4px 0 0;
    text-align: center;
}

.room-guests__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.button--small {
    padding: 6px 16px;
    font-size: 14px;
}

.guest-list {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.guest-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.guest-list__who {
    display: flex;
    flex-direction: column;
    flex: 1 1 180px;
    min-width: 0;
    overflow-wrap: break-word;
}

.guest-list__who span {
    color: var(--muted);
    font-size: 14px;
}

.guest-list__actions {
    display: flex;
    flex: none;
    gap: 8px;
}

.thermostats__list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.thermostat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 340px;
    max-width: 100%;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
}

.thermostat input[type="range"] {
    width: 100%;
    margin-top: 12px;
    accent-color: var(--accent);
}

.thermostat__scale {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    opacity: 0.7;
}

.thermostat p {
    margin: 0;
    text-align: center;
}

/* ---- pages with one job: breakfast, parking, review, newsletter ---- */

.sheet {
    max-width: 760px;
    margin: 24px auto 64px;
}

.sheet--narrow {
    max-width: 520px;
}

.sheet h1 {
    margin: 0 0 20px;
    font-family: var(--display);
    font-size: clamp(30px, 5vw, 42px);
    font-weight: 600;
    line-height: 1.1;
}

.sheet__empty,
.sheet__done {
    margin: 32px 0;
    font-size: 18px;
    text-align: center;
}

.sheet__done::before {
    content: "";
    display: block;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--accent)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
        center / 30px no-repeat;
}

.sheet__note {
    margin: 24px 0 8px;
    color: var(--muted);
    white-space: pre-line;
}

.sheet__form {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.sheet__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
}

.rows {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rows li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.rows__main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.rows__main span {
    color: var(--muted);
    font-size: 14px;
}

.rows input[type="time"] {
    flex: none;
    width: 124px;
    padding: 9px 12px;
    border: 1px solid rgba(29, 38, 34, 0.28);
    border-radius: var(--radius-small);
    background: #fff;
    color: #1d2622;
    font: inherit;
    font-variant-numeric: tabular-nums;
}

.plate {
    font-size: 18px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.06em;
}

.question {
    margin: 0 0 28px;
    padding: 0;
    border: 0;
}

.question legend {
    margin-bottom: 10px;
    padding: 0;
    font-weight: 700;
}

.question textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid rgba(29, 38, 34, 0.28);
    border-radius: var(--radius-small);
    background: #fff;
    color: #1d2622;
    font: inherit;
    resize: vertical;
}

.check--top {
    align-items: flex-start;
}

.check--top input {
    flex: none;
    margin-top: 2px;
}

/* the stars are in reverse order in the page and turned round here, so that choosing one can
   light up the ones before it */
.stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.stars input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.stars label {
    width: 36px;
    height: 36px;
    background: var(--muted);
    opacity: 0.45;
    cursor: pointer;
    -webkit-mask: var(--star) center / contain no-repeat;
    mask: var(--star) center / contain no-repeat;
    --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
}

.stars input:checked ~ label,
.stars label:hover,
.stars label:hover ~ label {
    background: #e0a100;
    opacity: 1;
}

.stars input:focus-visible + label {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---- cards ---- */

.cards {
    display: grid;
    grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
    gap: var(--card-gap);
    padding: 32px 0 64px;
}

.card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card-bg);
    text-decoration: none;

    /* text colours for the card's own background */
    --ink: var(--card-ink);
    --muted: var(--card-muted);
    --line: var(--card-line);
    color: var(--ink);
}

.card:hover {
    border-color: var(--muted);
    box-shadow: 0 10px 28px rgba(29, 38, 34, 0.12);
}

/* the card that is open above the grid */
.card[aria-current="page"] {
    border-color: var(--accent);
    box-shadow: inset 0 0 0 1px var(--accent);
}

/* an icon is shown whole on a light tint of the accent colour */
.card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 168px;
    padding: 22px;
    background: #f1ede6;
    background: color-mix(in srgb, var(--accent) 8%, var(--card-bg));
}

.card__media img {
    max-height: 100%;
    object-fit: contain;
}

/* a photo fills the picture area */
.card--photo .card__media {
    padding: 0;
}

.card--photo .card__media img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
}

.card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px 20px;
}

.card__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.card__teaser {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

/* narrow cards: picture and title only */
@media (max-width: 629.98px) {
    .cards {
        gap: min(var(--card-gap), 14px);
        padding: 24px 0 48px;
    }

    .card__media {
        height: 118px;
        padding: 16px;
    }

    .card__body {
        padding: 12px 14px 14px;
    }

    .card__title {
        font-size: 15px;
    }

    .card__teaser {
        display: none;
    }
}

/* ---- footer ---- */

.footer {
    padding: 28px var(--side) 36px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

/* ---- diagnostics page ---- */

.diag table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.diag th, .diag td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.diag .notice {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-size: 16px;
    text-align: left;
}

.diag .ok {
    color: #1b7a3d;
    font-weight: 600;
    white-space: nowrap;
}

.diag .fail {
    color: var(--danger);
    font-weight: 600;
    white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
    .hero__track {
        scroll-behavior: smooth;
    }

    .card {
        transition: box-shadow 0.18s ease, border-color 0.18s ease;
    }
}

/* ---- AI chat ---- */

.chat {
    width: min(440px, calc(100vw - 32px));
    height: min(640px, calc(100vh - 32px));
    max-width: none;
    max-height: none;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 24px 60px rgba(29, 38, 34, 0.3);

    /* a white surface: dark text whatever the page colour is */
    --ink: #1d2622;
    --muted: rgba(29, 38, 34, 0.66);
    --line: rgba(29, 38, 34, 0.12);
    color: var(--ink);
    font-size: 15px;
}

.chat[open] {
    display: flex;
    flex-direction: column;
}

.chat::backdrop {
    background: rgba(29, 38, 34, 0.55);
}

@media (max-width: 629px) {
    .chat {
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        border-radius: 0;
    }
}

.chat__head {
    display: flex;
    align-items: center;
    flex: none;
    min-height: 52px;
    padding: 0 8px 0 20px;
    background: var(--header-bg);
    color: var(--header-text);
    font-weight: 700;
}

.chat__head span {
    flex: 1;
}

.chat__head button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.chat__head :focus-visible {
    outline-color: var(--header-text);
}

.chat__log {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    padding: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.chat__empty {
    margin: auto;
    padding: 0 16px;
    color: var(--muted);
    text-align: center;
}

.chat__bubble {
    max-width: 86%;
    padding: 9px 14px;
    border-radius: 16px;
    overflow-wrap: anywhere;
}

.chat__bubble--guest {
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    background: var(--accent);
    color: var(--on-accent);
    white-space: pre-wrap;
}

.chat__bubble--hotel {
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    background: #f1eee9;
}

.chat__bubble--error {
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    background: #fbeae8;
    color: var(--danger);
}

.chat__bubble p,
.chat__bubble ul,
.chat__bubble ol {
    margin: 0 0 8px;
}

.chat__bubble ul,
.chat__bubble ol {
    padding-left: 20px;
}

.chat__bubble > :last-child {
    margin-bottom: 0;
}

.chat__bubble code {
    font-size: 0.92em;
}

.chat__dots {
    display: inline-flex;
    gap: 4px;
    padding: 6px 2px;
}

.chat__dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--muted);
    animation: chat-dot 1.2s infinite ease-in-out;
}

.chat__dots i:nth-child(2) {
    animation-delay: 0.15s;
}

.chat__dots i:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes chat-dot {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: none;
    }

    30% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .chat__dots i {
        animation: none;
    }
}

.chat__form {
    display: flex;
    align-items: flex-end;
    flex: none;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid var(--line);
}

.chat__form textarea {
    flex: 1;
    min-width: 0;
    max-height: 120px;
    padding: 10px 14px;
    border: 1px solid rgba(29, 38, 34, 0.28);
    border-radius: var(--radius-small);
    background: #fff;
    color: #1d2622;
    font: inherit;
    /* 16px: a phone does not zoom in when the field gets the focus */
    font-size: 16px;
    resize: none;
}

.chat__form textarea:focus {
    border-color: var(--accent);
    outline: 1px solid var(--accent);
}

.chat__send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: var(--on-accent);
    cursor: pointer;
}

.chat__send:disabled {
    opacity: 0.45;
    cursor: default;
}

/* ---- the AI chat: the pill in the header picture, the round button, the bar under a card ---- */

.hero__ask {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(420px, 100%);
    margin-top: 18px;
    padding: 6px 6px 6px 18px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #1d2622;
    font: inherit;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    /* the text block above it lets clicks through to the picture; the button must not */
    pointer-events: auto;
}

.hero__ask:hover {
    background: #fff;
}

.hero__ask svg {
    flex: none;
    color: var(--accent);
}

.hero__ask span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: rgba(29, 38, 34, 0.7);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero__ask i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--on-accent);
    font-style: normal;
}

.services {
    margin: 20px 0 0;
    padding: 0 4px;
}

.chatfab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: var(--on-accent);
    box-shadow: 0 10px 28px rgba(29, 38, 34, 0.3);
    cursor: pointer;
}

/* not over the open card's panel */
body:has(.slide) .chatfab {
    display: none;
}

.askbar {
    display: flex;
    align-items: center;
    gap: 12px;
    width: calc(100% - 40px);
    margin: 0 20px 24px;
    padding: 8px 8px 8px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}

.askbar svg {
    flex: none;
    color: var(--accent);
}

.askbar span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.askbar i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--on-accent);
    font-style: normal;
}

/* ---- the three tabs at the bottom: home, messages, account ---- */

body {
    padding-bottom: 72px;
}

.tabs {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 25;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
}

.tabs a {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    max-width: 160px;
    padding: 6px 4px;
    border-radius: 12px;
    color: #6b746f;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.tabs a[aria-current="page"] {
    color: var(--accent);
}

.tabs__badge {
    position: absolute;
    top: 2px;
    right: calc(50% - 26px);
    min-width: 18px;
    padding: 1px 5px;
    border-radius: 999px;
    background: #d23b2f;
    color: #fff;
    font-size: 11px;
    line-height: 16px;
    text-align: center;
}

.chatfab {
    bottom: 84px;
}

/* ---- messages ---- */

.sheet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.sheet__head h1 {
    margin: 0;
}

.msgs {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.msgs li + li {
    border-top: 1px solid var(--line);
}

.msgs__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 4px;
    color: inherit;
    text-decoration: none;
}

.msgs__item:hover {
    background: var(--line);
}

.msgs__icon {
    display: inline-flex;
    flex: none;
    color: var(--muted);
}

.msgs__item--unread .msgs__icon {
    color: #d23b2f;
}

.msgs__main {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.msgs__subject {
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.msgs__item--unread .msgs__subject {
    font-weight: 700;
}

.msgs__when {
    color: var(--muted);
    font-size: 13px;
}

.msgs__clip {
    flex: none;
    color: var(--muted);
}

.msg__back {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--muted);
    text-decoration: none;
}

.msg h1 {
    margin-bottom: 4px;
}

.msg__when {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 14px;
}

.msg__body {
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.msg__files {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 0;
}

/* a bookmark's link inside a message: a small button with the bookmark's text */
.linkbtn {
    display: inline-block;
    margin: 2px 0;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid rgba(29, 38, 34, 0.28);
    border-radius: var(--radius-small);
    background: #fff;
    color: #1d2622;
    font: inherit;
    resize: vertical;
}

textarea:focus {
    border-color: var(--accent);
    outline: 1px solid var(--accent);
}

/* ---- room service: groups, products, cart, payment ---- */

.shop {
    max-width: 900px;
}

.shop__groups {
    padding-top: 16px;
}

.shop__group .card__media {
    position: relative;
    height: 150px;
}

.shop__group-name {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.shop__products {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.shop__products li + li {
    border-top: 1px solid var(--line);
}

.shop__product {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 4px;
    color: inherit;
    text-decoration: none;
}

.shop__product:hover {
    background: var(--line);
}

.shop__product img {
    flex: none;
    width: 96px;
    height: 72px;
    border-radius: var(--radius-small);
    object-fit: cover;
}

.shop__product-main {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.shop__product-name {
    font-weight: 600;
}

.shop__product-text {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.shop__product-price {
    position: relative;
    flex: none;
    font-weight: 700;
    white-space: nowrap;
}

.shop__count {
    position: static;
    margin-left: 6px;
}

.product__image {
    display: block;
    width: 100%;
    max-height: 320px;
    margin-bottom: 16px;
    border-radius: var(--radius-small);
    object-fit: cover;
}

.product__text {
    color: var(--muted);
}

.product__price {
    font-size: 22px;
    font-weight: 700;
}

.product__buy {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.field--qty {
    width: 110px;
    margin: 0;
}

.cartlines {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.cartlines li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.cartlines li:first-child {
    border-top: 0;
}

.cartlines__main {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.cartlines__name {
    font-weight: 600;
}

.cartlines__price {
    color: var(--muted);
    font-size: 13px;
}

.cartlines__qty {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.cartlines__qty button {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    font-size: 16px;
    cursor: pointer;
}

.cartlines__qty b {
    min-width: 22px;
    text-align: center;
}

.cartlines__total {
    flex: none;
    min-width: 90px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.cartlines__sum {
    font-size: 17px;
}

.pay__window {
    min-height: 480px;
    margin: 8px 0 16px;
}
