/* Platform site (portal) only: hotel websites use templates/base.html and their own themes.
   Look: warm paper background, ink text, a deep green accent with brass details, serif headlines. */
:root {
  --p-bg: #faf7f2;
  --p-surface: #f2ede4;
  --p-card: #ffffff;
  --p-text: #1d1b17;
  --p-muted: #6b655b;
  --p-line: rgba(29, 27, 23, .12);
  --p-accent: #1f4d3a;
  --p-accent-hover: #163a2b;
  --p-link: #1f5c45;
  --p-brass: #a8742c;
  --p-nav: rgba(250, 247, 242, .92);
  --p-ink: #1d1b17;
  --p-ink-text: #d9d3c8;
  --p-shadow: 0 1px 2px rgba(29, 27, 23, .05), 0 8px 24px rgba(29, 27, 23, .06);
  --p-shadow-hover: 0 2px 4px rgba(29, 27, 23, .06), 0 24px 48px rgba(29, 27, 23, .14);
  --p-radius: 14px;
  --p-danger: #b42318;
  --p-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --p-serif: "Fraunces", Georgia, "Times New Roman", serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --p-bg: #12110f;
    --p-surface: #1a1916;
    --p-card: #22201c;
    --p-text: #f2ede4;
    --p-muted: #a8a196;
    --p-line: rgba(255, 255, 255, .12);
    --p-accent: #2f7a59;
    --p-accent-hover: #398a66;
    --p-link: #7cc4a1;
    --p-brass: #d9a55a;
    --p-nav: rgba(18, 17, 15, .92);
    --p-ink: #0b0a09;
    --p-danger: #ff8a80;
    --p-shadow: 0 0 0 1px rgba(255, 255, 255, .06);
    --p-shadow-hover: 0 0 0 1px rgba(255, 255, 255, .14), 0 24px 48px rgba(0, 0, 0, .5);
  }
}

body.portal {
  font-family: var(--p-font);
  background: var(--p-bg);
  color: var(--p-text);
  -webkit-font-smoothing: antialiased;
}
.portal a { color: var(--p-link); text-decoration: none; }
.portal a:hover { text-decoration: underline; text-underline-offset: 3px; }
.portal :focus-visible { outline: 3px solid color-mix(in srgb, var(--p-accent) 50%, transparent); outline-offset: 2px; }

/* --- Navigation ---------------------------------------------------------------------------- */
.p-nav {
  position: sticky; top: 0; z-index: 1030;
  background: var(--p-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--p-line);
}
.p-nav-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; gap: 24px; }
.portal .p-brand {
  font-family: var(--p-serif); font-weight: 600; font-size: 1.5rem; letter-spacing: -.01em;
  color: var(--p-text); display: flex; align-items: center; gap: 10px;
}
.portal .p-brand:hover { text-decoration: none; }
.p-brand-mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  color: #fff; background: var(--p-accent); font-size: 1.15rem; font-weight: 600; line-height: 1;
}
.p-nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 1rem; font-weight: 500; white-space: nowrap; }
.p-nav-links a:not(.p-btn), .p-nav-links button { color: var(--p-text); background: none; border: 0; padding: 0; font: inherit; }
.p-nav-links a:not(.p-btn):hover, .p-nav-links button:hover { color: var(--p-link); text-decoration: none; }
@media (max-width: 767px) { .p-nav-links .p-hide-md { display: none; } }
@media (max-width: 575px) { .p-nav-links .p-hide-sm { display: none; } .p-nav-links { gap: 18px; } }

/* --- Buttons ------------------------------------------------------------------------------- */
.p-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; border: 1px solid transparent; font-weight: 500; line-height: 1.2;
  padding: 13px 24px; font-size: 1rem; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .1s ease, opacity .2s;
}
.portal .p-btn:hover { text-decoration: none; }
.p-btn:active { transform: translateY(1px); }
.p-btn-primary { background: var(--p-accent); color: #fff !important; }
.p-btn-primary:hover { background: var(--p-accent-hover); }
.p-btn-secondary { background: transparent; color: var(--p-text) !important; border-color: color-mix(in srgb, var(--p-text) 30%, transparent); }
.p-btn-secondary:hover { border-color: var(--p-text); }
.p-btn-sm { padding: 9px 16px; font-size: .95rem; }
.p-btn[disabled] { opacity: .6; cursor: progress; }

/* --- Sections and type ----------------------------------------------------------------------- */
.p-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.p-narrow { max-width: 760px; }
.p-section { padding: 96px 0; scroll-margin-top: 68px; }
.p-section-alt { background: var(--p-surface); }
.p-eyebrow {
  font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  color: var(--p-brass); margin-bottom: 14px;
}
.p-headline, .p-title, .p-auth-title, .p-group-title {
  font-family: var(--p-serif); font-weight: 500; letter-spacing: -.02em; font-optical-sizing: auto;
}
.p-headline { font-size: clamp(2.75rem, 6vw, 4.75rem); line-height: 1.02; margin: 0; }
.p-title { font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.08; margin: 0; }
.p-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--p-muted); line-height: 1.55; font-weight: 400; }
.p-muted { color: var(--p-muted); }
/* Highlighted headline words: italic serif in the accent colour */
.p-accent-text { font-style: italic; color: var(--p-accent); }
@media (prefers-color-scheme: dark) { .p-accent-text { color: var(--p-link); } }

/* --- Hero: copy on the left, a sample booking on the right ------------------------------------ */
.p-hero { padding: 88px 0 104px; }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
@media (max-width: 991px) { .p-hero-grid { grid-template-columns: 1fr; gap: 56px; } .p-hero { padding: 56px 0 72px; } }
.p-hero .p-lead { max-width: 540px; margin: 24px 0 36px; }
.p-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.p-hero .p-actions { justify-content: flex-start; }
.p-facts { display: flex; gap: 40px; flex-wrap: wrap; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--p-line); }
.p-facts dt { font-family: var(--p-serif); font-size: 2rem; font-weight: 500; line-height: 1; }
.p-facts dd { margin: 6px 0 0; color: var(--p-muted); font-size: .95rem; }

.p-mock { position: relative; width: 100%; max-width: 440px; justify-self: end; }
@media (max-width: 991px) { .p-mock { justify-self: center; } }
.p-mock-card { background: var(--p-card); border-radius: 18px; overflow: hidden; box-shadow: var(--p-shadow-hover); }
.p-mock-photo { height: 190px; background: var(--p-surface) center / cover no-repeat; }
.p-mock-body { padding: 22px 24px 24px; }
.p-mock-hotel { font-family: var(--p-serif); font-size: 1.4rem; font-weight: 500; margin: 0; }
.p-mock-place { color: var(--p-muted); font-size: .9rem; margin: 2px 0 18px; }
.p-mock-place i { color: var(--p-brass); }
.p-mock-dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--p-line); border-radius: 10px; margin-bottom: 16px; }
.p-mock-dates div { padding: 10px 14px; }
.p-mock-dates div + div { border-left: 1px solid var(--p-line); }
.p-mock-dates small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--p-muted); }
.p-mock-dates strong { font-weight: 600; font-size: .95rem; }
.p-mock-row { display: flex; justify-content: space-between; font-size: .92rem; padding: 4px 0; color: var(--p-muted); }
.p-mock-total { color: var(--p-text); font-weight: 600; border-top: 1px solid var(--p-line); margin-top: 8px; padding-top: 12px; font-size: 1rem; }
.p-mock-pay { width: 100%; margin-top: 16px; pointer-events: none; }
.p-mock-note {
  position: absolute; left: -40px; bottom: -26px; display: flex; align-items: center; gap: 10px;
  background: var(--p-card); border-radius: 12px; padding: 12px 16px; box-shadow: var(--p-shadow-hover); font-size: .88rem;
}
.p-mock-note i { color: #fff; background: var(--p-accent); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.p-mock-note small { display: block; color: var(--p-muted); }
@media (max-width: 575px) { .p-mock-note { left: 12px; bottom: -44px; } }
@media (prefers-reduced-motion: no-preference) {
  .p-rise { animation: p-rise .7s cubic-bezier(.2, .8, .2, 1) both; }
  .p-rise-2 { animation-delay: .08s; }
  .p-rise-3 { animation-delay: .16s; }
  @keyframes p-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* --- Hotel sites: an editorial list ----------------------------------------------------------- */
.p-sites-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.p-sites-head p { margin: 10px 0 0; color: var(--p-muted); font-size: 1.05rem; }
.p-search { position: relative; width: min(100%, 300px); }
.p-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--p-muted); }
.p-search input {
  width: 100%; border-radius: 10px; border: 1px solid var(--p-line); background: var(--p-card); color: var(--p-text);
  padding: 11px 16px 11px 40px; font-size: 1rem;
}
.p-search input:focus { outline: none; border-color: var(--p-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--p-accent) 18%, transparent); }
.p-sites { border-top: 1px solid var(--p-text); }
.portal a.p-site {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: 24px; align-items: center;
  padding: 26px 8px; border-bottom: 1px solid var(--p-line); color: var(--p-text);
  transition: background-color .2s ease, padding .25s ease;
}
.portal a.p-site[hidden] { display: none; }
.portal a.p-site:hover { text-decoration: none; background: var(--p-card); padding-left: 20px; padding-right: 20px; }
.p-site-num { font-family: var(--p-serif); color: var(--p-brass); font-size: 1.1rem; }
.p-site-name { display: block; font-family: var(--p-serif); font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.2; }
.p-site-domain { display: block; color: var(--p-muted); font-size: .92rem; margin-top: 4px; word-break: break-all; }
.p-site-go { color: var(--p-link); font-weight: 500; white-space: nowrap; }
.p-site-go i { display: inline-block; transition: transform .2s ease; }
.p-site:hover .p-site-go i { transform: translate(2px, -2px); }
@media (max-width: 575px) {
  .portal a.p-site { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
  .p-site-num, .p-site > span:empty { display: none; }
  .p-site .p-badge { grid-row: 2; }
}

.p-badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 980px; background: var(--p-surface); color: var(--p-muted); white-space: nowrap; }
.p-badge-active { background: color-mix(in srgb, #2f7a59 16%, transparent); color: #1f6b4a; }
.p-badge-trial { background: color-mix(in srgb, var(--p-brass) 18%, transparent); color: #8a5d1f; }
.p-badge-closed { background: color-mix(in srgb, #d92d20 14%, transparent); color: #b42318; }

.p-empty { text-align: center; padding: 56px 24px; background: var(--p-card); border-radius: var(--p-radius); box-shadow: var(--p-shadow); color: var(--p-muted); }
.p-empty i { font-size: 2.5rem; display: block; margin-bottom: 10px; }

/* --- Features: heading on the left, numbered list on the right -------------------------------- */
.p-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
@media (max-width: 991px) { .p-split { grid-template-columns: 1fr; gap: 32px; } }
.p-split-head { position: sticky; top: 108px; }
.p-split-head .p-lead { margin-top: 18px; }
.p-points { list-style: none; margin: 0; padding: 0; counter-reset: point; }
.p-points li { counter-increment: point; display: grid; grid-template-columns: 56px minmax(0, 1fr); padding: 28px 0; border-top: 1px solid var(--p-line); }
.p-points li:last-child { border-bottom: 1px solid var(--p-line); }
.p-points li::before { content: counter(point, decimal-leading-zero); font-family: var(--p-serif); color: var(--p-brass); font-size: 1.1rem; padding-top: 3px; }
.p-points h3 { font-family: var(--p-serif); font-size: 1.45rem; font-weight: 500; margin: 0 0 6px; }
.p-points p { color: var(--p-muted); margin: 0; font-size: 1.02rem; line-height: 1.6; }

/* --- Closing call to action ------------------------------------------------------------------- */
.p-cta { background: var(--p-accent); color: #fff; border-radius: 20px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.p-cta .p-title { color: #fff; max-width: 560px; }
.p-cta p { color: rgba(255, 255, 255, .8); margin: 12px 0 0; font-size: 1.1rem; }
.portal .p-cta .p-btn { background: #fff; color: var(--p-accent) !important; }
.portal .p-cta .p-btn:hover { background: #f2ede4; }
@media (max-width: 575px) { .p-cta { padding: 36px 28px; } }

/* --- Messages ------------------------------------------------------------------------------ */
.p-messages { max-width: 1024px; margin: 20px auto 0; padding: 0 22px; }
.p-message {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; margin-bottom: 10px;
  background: var(--p-surface); font-size: .95rem; word-break: break-word;
}
.p-message i { font-size: 1.1rem; line-height: 1.3; }
.p-message-success i { color: #34c759; }
.p-message-warning i { color: #ff9f0a; }
.p-message-error i { color: #ff3b30; }
.p-message-info i { color: var(--p-accent); }
.p-message .btn-close { margin-left: auto; font-size: .7rem; }

/* --- Launch form: grouped settings panels -------------------------------------------------- */
.p-form-head { text-align: center; padding: 64px 0 40px; }
.p-form-head .p-lead { max-width: 560px; margin: 14px auto 0; font-size: 1.15rem; }
.p-form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
@media (max-width: 991px) { .p-form-layout { grid-template-columns: 1fr; } .p-preview-col { order: -1; } }
.p-group-title { font-size: 1.45rem; font-weight: 500; margin: 0 0 4px; padding-left: 4px; }
.p-group-note { color: var(--p-muted); font-size: .9rem; margin: 0 0 12px; padding-left: 4px; }
.p-group { background: var(--p-card); border-radius: var(--p-radius); padding: 22px 22px 6px; box-shadow: var(--p-shadow); margin-bottom: 36px; }
.portal .form-label { font-size: .85rem; font-weight: 500; color: var(--p-muted); margin-bottom: 6px; }
.portal .form-control, .portal .form-select {
  border-radius: 12px; border: 1px solid var(--p-line); background-color: var(--p-surface); color: var(--p-text);
  padding: 11px 14px; font-size: 1rem; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.portal .form-select { padding-right: 36px; }
.portal .form-control:focus, .portal .form-select:focus {
  background-color: var(--p-card); border-color: var(--p-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--p-accent) 20%, transparent);
}
.portal .form-control-color { width: 100%; height: 46px; padding: 6px; }
.portal .input-group-text { border-radius: 0 12px 12px 0; border: 1px solid var(--p-line); background: var(--p-surface); color: var(--p-muted); }
.portal .input-group > .form-control { border-radius: 12px 0 0 12px; }
.portal .form-control::placeholder { color: var(--p-muted); opacity: .8; }
.portal .form-text { color: var(--p-muted); font-size: .8rem; }
.portal .is-invalid, .portal .is-invalid:focus { border-color: #ff3b30; }
.p-field-error { color: var(--p-danger); font-size: .82rem; margin-top: 4px; }
.p-form-error { background: color-mix(in srgb, #ff3b30 10%, transparent); color: var(--p-danger); border-radius: 14px; padding: 14px 18px; margin-bottom: 24px; }
.p-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 8px 0 80px; }
.p-submit small { color: var(--p-muted); }
.p-spinner { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; animation: p-spin .8s linear infinite; display: none; }
.p-btn.is-loading .p-spinner { display: inline-block; }
@keyframes p-spin { to { transform: rotate(360deg); } }

/* Live preview of the new site */
.p-preview { position: sticky; top: 84px; }
.p-preview-label { font-size: .8rem; font-weight: 600; color: var(--p-muted); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px 4px; }
.p-browser { border-radius: var(--p-radius); overflow: hidden; background: var(--p-card); box-shadow: var(--p-shadow-hover); }
.p-browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--p-surface); border-bottom: 1px solid var(--p-line); }
.p-browser-bar span.dot { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.p-browser-bar span.dot:nth-child(2) { background: #febc2e; }
.p-browser-bar span.dot:nth-child(3) { background: #28c840; }
.p-browser-url { flex: 1; margin-left: 8px; font-size: .72rem; color: var(--p-muted); background: var(--p-card); border-radius: 6px; padding: 3px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-preview-hero { padding: 36px 20px; color: #fff; text-align: center; transition: background-color .3s; }
.p-preview-hero strong { display: block; font-size: 1.25rem; letter-spacing: -.02em; overflow-wrap: anywhere; }
.p-preview-hero small { opacity: .85; overflow-wrap: anywhere; }
.p-preview-body { padding: 16px 20px 20px; }
.p-preview-line { height: 8px; border-radius: 4px; background: var(--p-surface); margin-bottom: 8px; }
.p-preview-cta { display: inline-block; margin-top: 8px; padding: 6px 14px; border-radius: 980px; color: #fff; font-size: .75rem; }

/* --- Sign in ------------------------------------------------------------------------------ */
.p-auth { flex: 1; display: grid; place-items: center; padding: 64px 22px; background: var(--p-surface); }
.p-auth-card { width: 100%; max-width: 420px; text-align: center; }
.p-auth-mark {
  width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 18px; display: grid; place-items: center;
  color: #fff; font-size: 1.75rem; background: var(--p-accent); box-shadow: var(--p-shadow-hover);
}
.p-auth-mark-accent { background: var(--p-brass); }
.p-auth-mark-success { background: #2f7a59; }
.p-auth-help { color: var(--p-muted); font-size: .82rem; margin: -6px 4px 20px; }
.p-auth-help ul { padding-left: 18px; margin: 0; }
.p-auth .p-actions { margin-top: 8px; }
.p-auth-title { font-size: 2.25rem; font-weight: 500; margin: 0 0 8px; }
.p-auth-sub { color: var(--p-muted); margin: 0 0 32px; }
.p-auth-form { text-align: left; }
/* Email and password stacked as one rounded field, like Apple's sign-in */
.p-auth-fields { border-radius: 14px; box-shadow: var(--p-shadow); margin-bottom: 20px; }
.portal .p-auth-fields .form-control { background-color: var(--p-card); padding: 15px 16px; font-size: 1.05rem; position: relative; }
.portal .p-auth-fields .form-control:focus { z-index: 1; }
.portal .p-auth-fields input:first-of-type { border-radius: 14px 14px 0 0; }
.portal .p-auth-fields input:last-of-type { border-radius: 0 0 14px 14px; margin-top: -1px; }
.p-auth-foot { margin: 24px 0 0; font-size: .92rem; }

/* --- How it works: step list beside a mock screen that plays each step -------------------------
   Elements in a panel start their animation when the panel is shown (it loses [hidden]); the default
   styles are each animation's end state, so with reduced motion every panel simply shows its result. */
.p-how-head { max-width: 640px; margin-bottom: 48px; }
.p-demo { --p-step-time: 6s; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
@media (max-width: 991px) { .p-demo { grid-template-columns: 1fr; gap: 28px; } .p-demo-screen { order: -1; } }
.p-demo-steps { display: flex; flex-direction: column; }
.p-demo-step {
  position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); text-align: left;
  background: none; border: 0; border-top: 1px solid var(--p-line); padding: 20px 0 22px; color: var(--p-muted); cursor: pointer;
  transition: color .2s ease;
}
.p-demo-step:last-child { border-bottom: 1px solid var(--p-line); }
.p-demo-step:hover, .p-demo-step[aria-selected="true"] { color: var(--p-text); }
.p-demo-num { font-family: var(--p-serif); color: var(--p-brass); font-size: 1.05rem; padding-top: 2px; }
.p-demo-title { display: block; font-family: var(--p-serif); font-size: 1.35rem; font-weight: 500; line-height: 1.25; }
.p-demo-text { display: block; margin-top: 4px; color: var(--p-muted); font-size: .98rem; line-height: 1.55; }
.p-demo-bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; }
.p-demo-bar i { display: block; height: 100%; width: 0; background: var(--p-accent); }
.p-demo-step[aria-selected="true"] .p-demo-bar i { width: 100%; }
.p-demo-screen { background: var(--p-card); border-radius: 18px; overflow: hidden; box-shadow: var(--p-shadow-hover); }
.p-demo-panel { padding: 28px 30px 30px; min-height: 470px; }
.p-demo-h { font-family: var(--p-serif); font-size: 1.4rem; font-weight: 500; margin: 0 0 18px; }
.p-demo-label { display: block; font-size: .8rem; font-weight: 500; color: var(--p-muted); margin: 0 0 6px; }
.p-demo-field { border: 1px solid var(--p-line); background: var(--p-surface); border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; min-height: 45px; }
.p-demo-type { display: inline-block; vertical-align: bottom; white-space: nowrap; overflow: hidden; border-right: 2px solid transparent; padding-right: 2px; max-width: 18ch; }
.p-demo-swatches { display: flex; gap: 10px; margin-bottom: 22px; }
.p-demo-swatches span { width: 34px; height: 34px; border-radius: 50%; }
.p-demo-swatches .is-picked { box-shadow: 0 0 0 3px var(--p-card), 0 0 0 5px var(--p-text); }
.p-demo-btn { position: relative; display: grid; place-items: center; background: var(--p-accent); color: #fff; border-radius: 10px; padding: 12px; font-weight: 500; }
.p-demo-btn > span { grid-area: 1 / 1; }
.p-demo-swap-a { opacity: 0; }
.p-demo-toast {
  margin-top: 18px; display: flex; gap: 10px; align-items: center;
  background: var(--p-ink); color: #fff; border-radius: 10px; padding: 12px 16px; font-size: .92rem;
}
.p-demo-toast i { color: #c9a063; }
.p-demo-table { border: 1px solid var(--p-line); border-radius: 10px; overflow: hidden; margin-bottom: 16px; }
.p-demo-tr { display: grid; grid-template-columns: minmax(0, 1fr) 70px 110px; padding: 12px 14px; border-top: 1px solid var(--p-line); font-size: .95rem; }
.p-demo-tr span:not(:first-child) { text-align: right; }
.p-demo-tr i { color: var(--p-brass); margin-right: 6px; }
.p-demo-th { border-top: 0; background: var(--p-surface); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--p-muted); }
.p-demo-option { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--p-line); border-radius: 10px; padding: 12px 14px; font-size: .95rem; }
.p-demo-switch { position: relative; width: 40px; height: 24px; border-radius: 12px; background: var(--p-accent); }
.p-demo-switch::after { content: ""; position: absolute; top: 3px; left: 19px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.p-demo-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 18px; }
.p-demo-cal span { text-align: center; padding: 8px 0; border-radius: 8px; font-size: .92rem; }
.p-demo-cal .p-demo-start, .p-demo-cal .p-demo-end { background: var(--p-accent); color: #fff; font-weight: 600; }
.p-demo-cal .p-demo-mid { background: color-mix(in srgb, var(--p-accent) 15%, transparent); }
.p-demo-room { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; border: 2px solid var(--p-accent); border-radius: 12px; padding: 10px; margin-bottom: 12px; }
.p-demo-room-img { height: 48px; border-radius: 8px; background: url("img/hero-pool.fbcb13e0ab6e.jpg") center / cover, var(--p-surface); }
.p-demo-room strong, .p-demo-guest strong { display: block; }
.p-demo-price { font-weight: 600; }
.p-demo-sum { display: flex; justify-content: space-between; padding: 10px 2px 14px; color: var(--p-muted); }
.p-demo-sum strong { color: var(--p-text); font-size: 1.1rem; }
.p-demo-pay { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: center; }
@media (max-width: 575px) { .p-demo-pay { grid-template-columns: 1fr; } .p-demo-panel { padding: 22px 20px 24px; min-height: 0; } }
.p-demo-qr { position: relative; display: grid; place-items: center; width: 150px; height: 150px; border-radius: 14px; border: 1px solid var(--p-line); font-size: 6.5rem; line-height: 1; overflow: hidden; }
.p-demo-scan { position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; background: var(--p-brass); box-shadow: 0 0 12px var(--p-brass); opacity: 0; }
.p-demo-upload { position: relative; border: 1px dashed var(--p-line); border-radius: 10px; padding: 12px 14px 18px; font-size: .92rem; }
.p-demo-upload > i { color: var(--p-brass); margin-right: 4px; }
.p-demo-progress { position: absolute; left: 14px; right: 14px; bottom: 9px; height: 4px; border-radius: 2px; background: var(--p-surface); overflow: hidden; }
.p-demo-progress i { display: block; height: 100%; background: var(--p-accent); }
.p-demo-guest { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; margin-bottom: 22px; }
.p-demo-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--p-surface); font-weight: 600; color: var(--p-brass); }
.p-demo-timeline { list-style: none; margin: 0; padding: 0 0 0 4px; }
.p-demo-timeline li { position: relative; display: flex; gap: 14px; align-items: center; padding: 0 0 22px; font-weight: 500; }
.p-demo-timeline li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: color-mix(in srgb, var(--p-accent) 35%, transparent); }
.p-demo-timeline i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--p-accent); color: #fff; font-size: .9rem; }

@media (prefers-reduced-motion: no-preference) {
  .p-demo-step[aria-selected="true"] .p-demo-bar i { width: 0; animation: p-demo-fill var(--p-step-time) linear forwards; }
  .p-demo-panel .p-a { animation: p-demo-in .5s cubic-bezier(.2, .8, .2, 1) var(--d, 0s) both; }
  .p-demo-type { border-color: var(--p-text); animation: p-demo-type 1.1s steps(16, end) .2s both, p-demo-caret .7s step-end 0s 6 forwards; }
  .p-demo-swap-a { animation: p-demo-hide .3s ease var(--d) both; }
  .p-demo-swap-b { animation: p-demo-in .4s ease var(--d) both; }
  .p-demo-switch { animation: p-demo-switch-bg .3s ease var(--d) both; }
  .p-demo-switch::after { animation: p-demo-knob .3s ease 2.9s both; }
  .p-demo-cal span[style] { animation: p-demo-pop .35s ease var(--d) both; }
  .p-demo-scan { animation: p-demo-scan 1.1s ease-in-out .5s 2 both; }
  .p-demo-progress i { animation: p-demo-grow 1.4s ease var(--d) both; }
  .p-demo.is-paused, .p-demo.is-paused * { animation-play-state: paused !important; }
}
@keyframes p-demo-fill { from { width: 0; } to { width: 100%; } }
@keyframes p-demo-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes p-demo-hide { from { opacity: 1; } to { opacity: 0; } }
@keyframes p-demo-type { from { max-width: 0; } }
@keyframes p-demo-caret { 50%, 100% { border-color: transparent; } }
@keyframes p-demo-switch-bg { from { background: var(--p-line); } }
@keyframes p-demo-knob { from { left: 3px; } }
@keyframes p-demo-pop { from { background: transparent; color: inherit; transform: scale(.8); } }
@keyframes p-demo-scan { 0% { opacity: 1; transform: translateY(-60px); } 50% { opacity: 1; transform: translateY(60px); } 100% { opacity: 0; transform: translateY(-60px); } }
@keyframes p-demo-grow { from { width: 0; } }

/* --- For your staff: a mock of the hotel admin panel, one sidebar item per screen ------------------- */
.p-adm { display: grid; grid-template-columns: 250px minmax(0, 1fr); background: var(--p-card); border-radius: 18px; overflow: hidden; box-shadow: var(--p-shadow-hover); }
@media (max-width: 991px) { .p-adm { grid-template-columns: minmax(0, 1fr); } }
.p-adm-side { background: var(--p-ink); color: var(--p-ink-text); padding: 22px 14px; }
.p-adm-hotel { display: flex; gap: 10px; align-items: center; padding: 0 8px 18px; margin-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 600; }
.p-adm-hotel small { display: block; font-weight: 400; font-size: .78rem; opacity: .6; }
.p-adm-group { margin: 16px 8px 6px; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: #c9a063; }
.p-adm-menu button {
  display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; border: 0; border-radius: 8px;
  background: none; color: var(--p-ink-text); padding: 8px 10px; font-size: .95rem; transition: background-color .15s, color .15s;
}
.p-adm-menu button:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.p-adm-menu button[aria-selected="true"] { background: rgba(255, 255, 255, .12); color: #fff; }
.p-adm-menu button i { opacity: .8; }
@media (max-width: 991px) {
  .p-adm-side { padding: 16px; }
  .p-adm-hotel { border: 0; padding-bottom: 10px; }
  .p-adm-menu { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .p-adm-menu .p-adm-group { display: none; }
  .p-adm-menu button { width: auto; flex: none; white-space: nowrap; background: rgba(255, 255, 255, .06); }
}
.p-adm-main { min-width: 0; }
.p-adm-panel { padding: 26px 30px 30px; min-height: 560px; }
@media (max-width: 575px) { .p-adm-panel { padding: 20px 18px 24px; min-height: 0; } }
.p-adm-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.p-adm-head h3 { font-family: var(--p-serif); font-size: 1.5rem; font-weight: 500; margin: 0; }
.p-adm-head h3 span { font-family: var(--p-font); font-size: .95rem; color: var(--p-muted); margin-left: 8px; }
.p-adm-btn { display: inline-flex; gap: 8px; align-items: center; background: var(--p-accent); color: #fff; border-radius: 8px; padding: 8px 14px; font-size: .9rem; font-weight: 500; }
.p-adm-btn-ghost { background: none; color: var(--p-text); border: 1px solid var(--p-line); }
.p-adm-search { border: 1px solid var(--p-line); border-radius: 8px; padding: 8px 14px; color: var(--p-muted); font-size: .9rem; min-width: 240px; }
.p-adm-search i { margin-right: 6px; }
.p-adm-sub { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--p-muted); margin: 22px 0 10px; }
.p-adm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 767px) { .p-adm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.p-adm-stats div { background: var(--p-surface); border-radius: 12px; padding: 14px 16px; }
.p-adm-stats small, .p-adm-stats span { display: block; color: var(--p-muted); font-size: .8rem; }
.p-adm-stats strong { display: block; font-family: var(--p-serif); font-size: 1.75rem; font-weight: 500; line-height: 1.2; margin: 4px 0 2px; }
.p-adm-list { border: 1px solid var(--p-line); border-radius: 12px; }
.p-adm-row { display: flex; gap: 14px; align-items: center; padding: 12px 16px; }
.p-adm-row + .p-adm-row { border-top: 1px solid var(--p-line); }
.p-adm-row > span:nth-child(1):not(.p-demo-avatar), .p-adm-row > span:nth-child(2):last-child { flex: 1; min-width: 0; }
.p-adm-row small { display: block; color: var(--p-muted); font-size: .82rem; }
.p-adm-amt { font-weight: 600; }
.p-adm-actions { display: flex; gap: 6px; font-size: .82rem; }
.p-adm-actions span { border: 1px solid var(--p-line); border-radius: 6px; padding: 4px 10px; }
.p-adm-actions .p-adm-ok { background: var(--p-accent); border-color: var(--p-accent); color: #fff; }
@media (max-width: 575px) { .p-adm-row { flex-wrap: wrap; } .p-adm-row > span:first-child:not(.p-demo-avatar) { flex-basis: 100%; } .p-adm-actions { margin-left: auto; } }
.p-adm-tag { display: inline-block; font-style: normal; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 980px; background: var(--p-surface); color: var(--p-muted); white-space: nowrap; }
.p-adm-tag-ok { background: color-mix(in srgb, #2f7a59 16%, transparent); color: #1f6b4a; }
.p-adm-tag-warn { background: color-mix(in srgb, var(--p-brass) 20%, transparent); color: #8a5d1f; }
.p-adm-tag-in { background: color-mix(in srgb, #0e7490 15%, transparent); color: #0e6a83; }
@media (prefers-color-scheme: dark) { .p-adm-tag-ok { color: #7cc4a1; } .p-adm-tag-warn { color: #d9a55a; } .p-adm-tag-in { color: #67c3db; } }
.p-adm-table { border: 1px solid var(--p-line); border-radius: 12px; overflow-x: auto; }
.p-adm-tr { display: grid; grid-template-columns: 110px minmax(110px, 1fr) 110px 90px 140px; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--p-line); font-size: .92rem; min-width: 600px; }
.p-adm-th { border-top: 0; background: var(--p-surface); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--p-muted); }
.p-adm-tr span:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }
.p-adm-th span:first-child { font-family: inherit; font-size: inherit; }
.p-adm-cal { display: grid; grid-template-columns: 150px repeat(7, minmax(38px, 1fr)); gap: 6px; font-size: .85rem; overflow-x: auto; }
.p-adm-cal > span { color: var(--p-muted); text-align: center; font-size: .78rem; }
.p-adm-cal .p-adm-room { text-align: left; color: var(--p-text); font-size: .88rem; align-self: center; }
.p-adm-cal i, .p-adm-legend i { font-style: normal; text-align: center; border-radius: 6px; padding: 9px 0; background: color-mix(in srgb, var(--p-accent) 12%, transparent); font-weight: 500; }
.p-adm-cal i.is-full, .p-adm-legend i.is-full { background: color-mix(in srgb, #d92d20 14%, transparent); color: #b42318; }
.p-adm-cal i.is-stop, .p-adm-legend i.is-stop { background: repeating-linear-gradient(135deg, var(--p-surface) 0 6px, var(--p-line) 6px 12px); color: var(--p-muted); font-size: .75rem; }
.p-adm-legend { display: flex; gap: 18px; margin: 12px 0 0; font-size: .82rem; color: var(--p-muted); }
.p-adm-legend span { display: flex; gap: 6px; align-items: center; }
.p-adm-legend i { display: inline-block; width: 14px; height: 14px; padding: 0; border-radius: 4px; }
.p-adm-chart { display: flex; gap: 16px; align-items: end; height: 130px; padding: 0 4px; border-bottom: 1px solid var(--p-line); }
.p-adm-chart span { position: relative; flex: 1; height: var(--h); background: var(--p-accent); border-radius: 6px 6px 0 0; }
.p-adm-chart b { position: absolute; top: -22px; left: 0; right: 0; text-align: center; font-size: .78rem; font-weight: 600; }
.p-adm-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 767px) { .p-adm-offers { grid-template-columns: 1fr; } }
.p-adm-offers > div { border: 1px solid var(--p-line); border-radius: 12px; padding: 16px; }
.p-adm-offers strong { display: block; margin: 10px 0 4px; }
.p-adm-offers small { display: block; color: var(--p-muted); font-size: .82rem; }
.p-adm-meter { display: block; height: 5px; border-radius: 3px; background: var(--p-surface); margin: 14px 0 6px; overflow: hidden; }
.p-adm-meter i { display: block; height: 100%; width: var(--w); background: var(--p-brass); }
.p-adm-brand { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 767px) { .p-adm-brand { grid-template-columns: 1fr; } }
.p-adm-brand > div { border: 1px solid var(--p-line); border-radius: 12px; padding: 16px; }
.p-adm-brand small { display: block; color: var(--p-muted); font-size: .8rem; margin: 0 0 8px; }
.p-adm-brand small:not(:first-child) { margin-top: 14px; }
.p-adm-designs { display: flex; gap: 6px; flex-wrap: wrap; }
.p-adm-designs span { border: 1px solid var(--p-line); border-radius: 8px; padding: 6px 12px; font-size: .88rem; }
.p-adm-designs .is-on { border-color: var(--p-accent); background: color-mix(in srgb, var(--p-accent) 10%, transparent); font-weight: 500; }
.p-adm-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.p-adm-photos span { height: 62px; border-radius: 8px; background: url("img/hero-pool.fbcb13e0ab6e.jpg") center / cover; }
.p-adm-photos span:nth-child(2) { background-position: left; }
.p-adm-photos span:nth-child(3) { background-position: right; }
.p-adm-photos .p-adm-add { background: var(--p-surface); display: grid; place-items: center; color: var(--p-muted); font-size: 1.2rem; }
.p-adm-can { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--p-line); }
@media (max-width: 767px) { .p-adm-can { grid-template-columns: 1fr; } }
.p-adm-can li { position: relative; padding-left: 26px; font-size: .95rem; line-height: 1.45; }
.p-adm-can li::before { content: "\2713"; position: absolute; left: 2px; top: 0; color: var(--p-accent); font-weight: 700; }
@media (prefers-color-scheme: dark) { .p-adm-can li::before { color: var(--p-link); } }
@media (prefers-reduced-motion: no-preference) {
  .p-adm-panel .p-a { animation: p-demo-in .45s cubic-bezier(.2, .8, .2, 1) var(--d, 0s) both; }
  .p-adm-panel .p-adm-chart span { animation: p-adm-grow .6s cubic-bezier(.2, .8, .2, 1) var(--d) both; transform-origin: bottom; }
  .p-adm-panel .p-adm-meter i { animation: p-demo-grow .8s ease .3s both; }
}
@keyframes p-adm-grow { from { transform: scaleY(0); } }

/* --- Footer -------------------------------------------------------------------------------- */
.p-footer { background: var(--p-ink); color: var(--p-ink-text); padding: 64px 0 28px; font-size: 1rem; }
.p-footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 767px) { .p-footer-grid { grid-template-columns: 1fr 1fr; } .p-footer-about { grid-column: 1 / -1; } }
.portal .p-footer .p-brand { color: #fff; font-size: 1.5rem; }
.p-footer-about p { margin: 16px 0 0; max-width: 340px; color: var(--p-ink-text); opacity: .8; line-height: 1.6; }
.p-footer h2 { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: #c9a063; margin: 6px 0 18px; }
.p-footer ul { list-style: none; margin: 0; padding: 0; }
.p-footer li + li { margin-top: 12px; }
.portal .p-footer a, .p-footer button { color: #fff; font-size: 1.05rem; background: none; border: 0; padding: 0; font-family: inherit; }
.portal .p-footer a:hover, .p-footer button:hover { color: #c9a063; text-decoration: none; }
.p-footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .92rem; opacity: .7;
}
