@font-face {
  font-family: "Spark Sans";
  src: local("Inter"), local("Helvetica Neue");
  font-display: swap;
}

:root {
  --staff-cream: #f7f1e9;
  --staff-paper: #fffdfa;
  --staff-ink: #211d1a;
  --staff-muted: #776b63;
  --staff-line: #e6d8cc;
  --staff-orange: #f4512c;
  --staff-orange-dark: #d83c1b;
  --staff-soft-orange: #fff0e8;
  --staff-success: #276749;
}

.staff-app [hidden] { display: none !important; }

* { box-sizing: border-box; }

body.staff-body {
  margin: 0;
  min-width: 320px;
  color: var(--staff-ink);
  background: var(--staff-cream);
  font-family: "Spark Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button { touch-action: manipulation; }

.staff-app { min-height: 100vh; padding: 0 44px 64px; }

.staff-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  margin: 0 -44px;
  padding: 0 44px;
  border-bottom: 1px solid var(--staff-line);
  background: rgba(255, 253, 250, .86);
  backdrop-filter: blur(14px);
}

.staff-brand-line { display: flex; align-items: center; gap: 14px; }
.staff-wordmark { width: 174px; height: auto; }
.staff-product-pill {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--staff-ink);
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .14em;
}

.staff-view-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--staff-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(35, 27, 22, .08);
}
.staff-view-switch a,
.staff-view-switch span {
  display: grid;
  min-height: 38px;
  padding: 0 15px;
  place-items: center;
  border-radius: 999px;
  color: var(--staff-muted);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.staff-view-switch .is-active { background: var(--staff-ink); color: #fff; }

.staff-home { display: grid; height: 100dvh; min-height: 0; grid-template-rows: auto minmax(0, 1fr); padding-bottom: 0; overflow: hidden; }
.staff-home-frame-wrap { min-height: 0; margin: 0 -44px; overflow: hidden; }
.staff-home-frame { display: block; width: 100%; height: 100%; border: 0; }

.staff-header-meta { display: grid; gap: 3px; text-align: right; }
.staff-header-meta time { font: 500 25px/1 Georgia, serif; }
.staff-header-meta strong { color: var(--staff-muted); font-size: 13px; }

.staff-intro { max-width: 1280px; margin: 54px auto 31px; }
.staff-kicker { margin: 0 0 9px; color: var(--staff-orange); font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.staff-intro h1 { margin: 0; font: 500 clamp(42px, 5vw, 68px)/.98 Georgia, serif; letter-spacing: -.045em; }
.staff-intro > p:not(.staff-kicker) { margin: 18px 0 0; color: var(--staff-muted); font-size: 17px; }
.staff-intro > .staff-refresh-status { color: var(--staff-orange); }

.staff-cabin-list { display: grid; gap: 14px; max-width: 1280px; margin: 0 auto; }
.staff-cabin-card {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr) 190px;
  align-items: center;
  min-height: 170px;
  overflow: hidden;
  border: 1px solid var(--staff-line);
  border-radius: 20px;
  background: var(--staff-paper);
}

.staff-cabin-name { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 25px; border-right: 1px solid var(--staff-line); }
.staff-cabin-name strong { font: 600 27px/1.08 Georgia, serif; white-space: nowrap; }

.staff-video-copy { min-width: 0; padding: 20px 22px; }
.staff-slot-label { color: var(--staff-muted); font-size: 13px; }
.staff-video-copy time { color: var(--staff-orange); font: 650 25px/1 Georgia, serif; }
.staff-video-copy h2 { margin: 8px 0 8px; overflow: hidden; font: 600 25px/1.08 Georgia, serif; text-overflow: ellipsis; white-space: nowrap; }
.staff-video-copy p { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 0; color: var(--staff-muted); font-size: 14px; }
.staff-language { display: inline-grid; place-items: center; min-width: 32px; padding: 4px 7px; border: 1px solid var(--staff-line); border-radius: 7px; color: var(--staff-ink); font-size: 11px; font-weight: 850; }
.staff-empty-title { white-space: normal !important; }
.staff-modified-badge { display: none; width: max-content; margin-top: 12px; padding: 5px 8px; border-radius: 999px; background: #e7f4ec; color: var(--staff-success); font-size: 11px; font-weight: 800; }
.staff-modified-badge.is-visible { display: inline-flex; }

.staff-card-actions { display: grid; justify-items: stretch; gap: 10px; padding: 22px; }
.staff-change-button, .staff-primary-button, .staff-secondary-button {
  min-height: 52px;
  border-radius: 13px;
  font-weight: 800;
  cursor: pointer;
}
.staff-change-button, .staff-primary-button { border: 1px solid var(--staff-orange); background: var(--staff-orange); color: #fff; }
.staff-change-button:hover, .staff-primary-button:hover { background: var(--staff-orange-dark); }
.staff-primary-button:disabled { cursor: not-allowed; opacity: .42; }
.staff-secondary-button { border: 1px solid var(--staff-line); background: #fff; color: var(--staff-ink); }
.staff-cancel-link { display: none; padding: 0; border: 0; background: transparent; color: var(--staff-muted); font-size: 11px; text-decoration: underline; cursor: pointer; }
.staff-cancel-link.is-visible { display: block; }

.staff-drawer-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(25, 20, 17, .45); backdrop-filter: blur(3px); }
.staff-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 51;
  width: min(620px, 100%);
  height: 100dvh;
  overflow-y: auto;
  padding: 30px;
  border-left: 1px solid var(--staff-line);
  background: var(--staff-paper);
  box-shadow: -22px 0 60px rgba(35, 27, 22, .14);
  transform: translateX(102%);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.staff-drawer.is-open { transform: translateX(0); }
.staff-drawer-handle { display: none; }
.staff-drawer-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 8px 0 24px; }
.staff-drawer-header h2 { margin: 0; font: 600 35px/1.05 Georgia, serif; letter-spacing: -.025em; }
.staff-icon-button { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 auto; border: 1px solid var(--staff-line); border-radius: 50%; background: #fff; color: var(--staff-ink); font-size: 28px; cursor: pointer; }

.staff-language-filters { display: flex; gap: 8px; padding: 7px; border: 1px solid var(--staff-line); border-radius: 15px; background: var(--staff-cream); }
.staff-language-filters button { flex: 1; min-height: 43px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; color: var(--staff-muted); font-weight: 750; cursor: pointer; }
.staff-language-filters button.is-active { background: var(--staff-paper); color: var(--staff-ink); box-shadow: 0 2px 8px rgba(42, 31, 25, .07); }

.staff-alternatives { display: grid; gap: 10px; margin: 22px 0; }
.staff-alternative { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 82px; padding: 14px; border: 1px solid var(--staff-line); border-radius: 15px; background: #fff; cursor: pointer; }
.staff-alternative:hover { border-color: #f0a48f; }
.staff-alternative.is-selected { border-color: var(--staff-orange); background: var(--staff-soft-orange); }
.staff-alternative[hidden] { display: none; }
.staff-radio { display: grid; place-items: center; width: 24px; height: 24px; border: 2px solid #c6b8af; border-radius: 50%; }
.staff-alternative.is-selected .staff-radio { border-color: var(--staff-orange); background: var(--staff-orange); box-shadow: inset 0 0 0 5px var(--staff-soft-orange); }
.staff-alternative-copy { min-width: 0; }
.staff-alternative-copy strong { display: block; overflow: hidden; margin-bottom: 5px; font: 600 17px/1.15 Georgia, serif; text-overflow: ellipsis; white-space: nowrap; }
.staff-alternative-copy small { color: var(--staff-muted); font-size: 13px; }

.staff-drawer-actions { position: sticky; bottom: -30px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; margin: 18px -30px -30px; padding: 18px 30px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--staff-line); background: rgba(255, 253, 250, .96); backdrop-filter: blur(12px); }
.staff-inline-error { padding: 13px; border-radius: 10px; background: #fff0ed; color: #9f2e1e; font-weight: 700; }
.staff-no-results { padding: 34px 18px; border: 1px dashed var(--staff-line); border-radius: 14px; color: var(--staff-muted); text-align: center; }
.staff-skeleton { height: 82px; border-radius: 15px; background: linear-gradient(90deg, #eee5dd 25%, #f8f2ec 50%, #eee5dd 75%); background-size: 200% 100%; animation: staff-shimmer 1.1s infinite; }
@keyframes staff-shimmer { to { background-position: -200% 0; } }

.staff-success { display: grid; justify-items: center; padding: 70px 20px; text-align: center; }
.staff-success-icon { display: grid; place-items: center; width: 70px; height: 70px; margin-bottom: 22px; border-radius: 50%; background: var(--staff-orange); color: white; font-size: 35px; }
.staff-success h3 { margin: 0 0 16px; font: 600 32px/1.05 Georgia, serif; }
.staff-success strong { font-size: 16px; }
.staff-success p { margin: 10px 0 4px; font: 600 20px/1.2 Georgia, serif; }
.staff-success small { color: var(--staff-muted); font-size: 14px; }
.staff-toast { position: fixed; left: 50%; bottom: 26px; z-index: 60; padding: 14px 20px; border-radius: 999px; background: var(--staff-ink); color: #fff; font-weight: 750; opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: .22s ease; }
.staff-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.staff-login-shell { display: grid; min-height: 100vh; place-items: center; padding: 24px; }
.staff-login-card { width: min(460px, 100%); padding: 40px; border: 1px solid var(--staff-line); border-radius: 24px; background: var(--staff-paper); }
.staff-login-logo { width: 190px; margin-bottom: 38px; }
.staff-login-card h1 { margin: 0; font: 600 40px/1.05 Georgia, serif; }
.staff-login-card > p:not(.staff-kicker) { color: var(--staff-muted); }
.staff-login-form { display: grid; gap: 10px; margin-top: 28px; }
.staff-login-form label { margin-top: 8px; font-size: 12px; font-weight: 800; }
.staff-login-form input:not([type="submit"]) { min-height: 50px; padding: 0 14px; border: 1px solid var(--staff-line); border-radius: 11px; background: #fff; }
.staff-login-error { margin-top: 18px; padding: 12px; border-radius: 10px; background: #fff0ed; color: #9f2e1e; }
.staff-login-card a.staff-primary-button { display: grid; place-items: center; margin-top: 24px; text-decoration: none; }

@media (max-width: 900px) {
  .staff-app { padding-inline: 24px; }
  .staff-header { margin-inline: -24px; padding-inline: 24px; }
  .staff-home-frame-wrap { margin-inline: -24px; }
  .staff-cabin-card { grid-template-columns: 145px minmax(0, 1fr) 150px; }
  .staff-cabin-name { padding: 18px; }
  .staff-card-actions { padding: 16px; }
}

@media (max-width: 650px) {
  .staff-app { padding: 0 16px 40px; }
  .staff-header { min-height: 75px; margin: 0 -16px; padding: 0 16px; }
  .staff-home-frame-wrap { margin-inline: -16px; }
  .staff-wordmark { width: 132px; }
  .staff-product-pill { display: none; }
  .staff-header .staff-view-switch { position: fixed; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 20; box-shadow: 0 10px 30px rgba(35, 27, 22, .16); }
  .staff-view-switch a, .staff-view-switch span { min-height: 42px; padding-inline: 13px; font-size: 11px; }
  .staff-header-meta time { font-size: 20px; }
  .staff-header-meta strong { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .staff-intro { margin: 36px 0 24px; }
  .staff-intro h1 { font-size: 45px; }
  .staff-intro > p:not(.staff-kicker) { font-size: 15px; }
  .staff-cabin-card { grid-template-columns: minmax(0, 1fr) 108px; min-height: 132px; }
  .staff-cabin-name { grid-column: 1 / -1; align-self: auto; flex-direction: row; justify-content: flex-start; gap: 7px; padding: 14px 16px 0; border: 0; }
  .staff-cabin-name strong { font: 700 20px/1.15 Georgia, serif; }
  .staff-video-copy { padding: 8px 8px 14px; }
  .staff-video-copy time { font-size: 19px; }
  .staff-video-copy h2 { margin-block: 5px; font-size: 18px; }
  .staff-video-copy p { gap: 4px; font-size: 11px; }
  .staff-language { min-width: 27px; padding: 2px 4px; font-size: 9px; }
  .staff-modified-badge { margin-top: 7px; font-size: 9px; }
  .staff-card-actions { padding: 8px 12px 14px 4px; }
  .staff-change-button { min-height: 48px; font-size: 13px; }
  .staff-cancel-link { font-size: 9px; }
  .staff-drawer { top: auto; bottom: 0; width: 100%; height: min(88dvh, 820px); padding: 18px; border: 0; border-radius: 24px 24px 0 0; transform: translateY(102%); }
  .staff-drawer.is-open { transform: translateY(0); }
  .staff-drawer-handle { display: block; width: 44px; height: 4px; margin: 0 auto 17px; border-radius: 999px; background: #d4c7bd; }
  .staff-drawer-header h2 { font-size: 29px; }
  .staff-icon-button { width: 42px; height: 42px; }
  .staff-language-filters button { padding-inline: 6px; font-size: 12px; }
  .staff-drawer-actions { bottom: -18px; margin: 16px -18px -18px; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); }
  .staff-toast { width: calc(100% - 32px); border-radius: 14px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.staff-figures-content { max-width: 1280px; margin: 0 auto; padding-top: clamp(22px, 4vh, 48px); }
.staff-figures-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: clamp(16px, 3vh, 30px);
}
.staff-figures-source {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid var(--staff-line);
  border-radius: 999px;
  color: var(--staff-ink);
  background: var(--staff-paper);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.staff-figures-heading h1 {
  margin: 0;
  font: 500 clamp(38px, 5vw, 62px)/1 Georgia, serif;
  letter-spacing: -.045em;
}
.staff-figures-heading p { margin: 9px 0 0; color: var(--staff-muted); font-size: 15px; }
.staff-figures-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.staff-figure {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(15px, 2.2vw, 26px);
  min-height: clamp(128px, 18vh, 178px);
  border: 1px solid var(--staff-line);
  border-radius: 18px;
  background: var(--staff-paper);
}
.staff-figure--featured { border-top: 3px solid var(--staff-orange); }
.staff-figure dt { font-size: clamp(16px, 1.65vw, 22px); font-weight: 800; line-height: 1.2; }
.staff-figure dd { margin-inline-start: 0; }
.staff-figure-today { align-self: flex-end; margin-block: 4px 0; color: var(--staff-orange); font-size: 19px; font-weight: 800; }
.staff-figure-today small { font-size: 12px; }
.staff-figure-action { margin-block: 0; }
.staff-figure-action a { display: inline-flex; align-items: center; min-height: 44px; color: var(--staff-ink); font-weight: 700; }
.staff-figure-action a::after { position: absolute; inset: 0; content: ""; }
.staff-figure:has(.staff-figure-action a:focus-visible) { outline: 2px solid var(--staff-ink); outline-offset: 3px; }
.staff-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.staff-figure-value {
  margin-block: auto;
  padding-block: 7px;
  font: 500 clamp(38px, 5vw, 65px)/1 Georgia, serif;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.04em;
}
.staff-figure-unavailable { margin-block: auto; padding-block: 12px; color: var(--staff-muted); font-size: 15px; }
.staff-figure-detail { margin-block: 0; color: var(--staff-muted); font-size: clamp(13px, 1.5vw, 16px); line-height: 1.3; }

@media (max-width: 740px) {
  .staff-figures-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .staff-brand-line { flex-wrap: wrap; }
}

@media (min-width: 741px) and (max-height: 620px) {
  .staff-figures { padding-bottom: 18px; }
  .staff-figures .staff-header { min-height: 70px; }
  .staff-figure { min-height: 100px; padding-block: 10px; }
  .staff-figure-value { font-size: clamp(32px, 5vw, 42px); padding-block: 4px; }
}
@media (max-width: 650px) {
  .staff-figures { padding-bottom: 80px; }
  .staff-figures-heading { align-items: flex-start; flex-direction: column; }
}

@media (min-width: 741px) {
  .staff-figure {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: start;
    align-items: baseline;
    gap: 6px 10px;
  }
  .staff-figure-value, .staff-figure-unavailable { margin-block: 0; padding-block: 0; text-align: right; }
  .staff-figure-detail, .staff-figure-action, .staff-figure-today { grid-column: 1 / -1; }
  .staff-figure-action a { min-height: 23px; font-size: 13px; }
  .staff-figure-today { justify-self: end; }
}

.staff-orders { padding: 1rem 1.5rem; max-width: 56rem; margin: auto; overflow-y: auto; }
.staff-orders article { margin: 1rem 0; padding: 1.25rem; border: 1px solid #d5c9bd; border-radius: .75rem; background: white; }
.staff-orders form { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.staff-orders form label, .staff-orders textarea { flex-basis: 100%; }
.staff-orders button { padding: .6rem .9rem; }
