/* =========================================================
   STAY | PULS
   CONTROL CENTER
   DESIGN SYSTEM 1.4
   ========================================================= */


/* =========================================================
   TOKENS
   ========================================================= */

:root {

  --sp-gold: #B0A06D;
  --sp-taupe: #7D7866;
  --sp-dark: #4A463A;
  --sp-ink: #332E1E;

  --sp-white: #FFFFFF;
  --sp-cream: #F7F4EC;
  --sp-page: #FBFAF7;

  --sp-text: #332E1E;
  --sp-text-secondary: #7D7866;
  --sp-text-muted: #A09B90;

  --sp-border: #ECE7DC;
  --sp-border-strong: #DCD5C7;

  --sp-success: #64745F;
  --sp-error: #9B4C43;

  --font-headline: "acumin-pro", sans-serif;
  --font-body: "Apercu Pro", sans-serif;

  --radius-xs: 4px;
  --radius-sm: 7px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --ease:
    cubic-bezier(.22, .61, .36, 1);

}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}


html {
  min-height: 100%;

  margin: 0;

  background:
    var(--sp-page);
}


body {
  min-height: 100vh;

  margin: 0;

  font-family:
    var(--font-body);

  font-size: 16px;
  font-weight: 400;

  line-height: 1.45;

  color:
    var(--sp-text);

  background:
    var(--sp-page);

  -webkit-font-smoothing:
    antialiased;

  -moz-osx-font-smoothing:
    grayscale;
}


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


button {
  cursor: pointer;
}


a {
  color: inherit;
}


img {
  display: block;

  max-width: 100%;
}


[hidden] {
  display: none !important;
}


::selection {
  color:
    var(--sp-ink);

  background:
    rgba(176, 160, 109, .22);
}


/* =========================================================
   LOGO
   ========================================================= */

.logo {
  display: inline-flex;

  align-items: center;

  font-family:
    var(--font-headline);

  line-height: 1;

  color:
    var(--sp-ink);

  white-space:
    nowrap;
}


.logo-stay {
  font-weight: 400;
}


.logo-line {
  margin:
    0 12px;

  font-weight: 300;
}


.logo-puls {
  font-weight: 700;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

.section-eyebrow {
  margin-bottom: 7px;

  font-family:
    var(--font-body);

  font-size: 10px;
  font-weight: 500;

  line-height: 1.2;

  color:
    var(--sp-gold);

  letter-spacing:
    .11em;

  text-transform:
    uppercase;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.primary-button {
  width: 100%;

  min-height: 48px;

  padding:
    0 28px;

  border:
    1px solid
    var(--sp-ink);

  border-radius:
    var(--radius-xs);

  color:
    var(--sp-white);

  background:
    var(--sp-ink);

  font-size: 12px;
  font-weight: 500;

  letter-spacing:
    .08em;

  text-transform:
    uppercase;

  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}


.primary-button:hover {
  background:
    var(--sp-dark);

  border-color:
    var(--sp-dark);
}


.primary-button:active {
  transform:
    translateY(1px);
}


.primary-button:disabled {
  cursor: wait;

  opacity: .55;
}


/* =========================================================
   LOGIN
   ========================================================= */

.login-view {
  position: relative;

  min-height: 100vh;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(420px, 540px);

  overflow: hidden;

  background:
    var(--sp-white);
}


.login-brand {
  min-height: 100vh;

  padding:
    56px
    clamp(44px, 6vw, 92px);

  display: flex;

  flex-direction: column;
}


.login-brand .logo {
  font-size: 36px;
}


.brand-message {
  max-width: 720px;

  margin:
    auto 0;
}


.brand-kicker {
  margin-bottom: 22px;

  font-size: 11px;
  font-weight: 500;

  color:
    var(--sp-gold);

  letter-spacing:
    .10em;

  text-transform:
    uppercase;
}


.brand-message h1 {
  margin:
    0 0 28px;

  font-family:
    var(--font-headline);

  font-size:
    clamp(48px, 5.4vw, 78px);

  font-weight: 700;

  line-height: .98;

  letter-spacing:
    -.025em;

  color:
    var(--sp-ink);
}


.brand-message p {
  max-width: 520px;

  margin: 0;

  font-size: 16px;

  line-height: 1.65;

  color:
    var(--sp-taupe);
}


.brand-footer {
  font-size: 11px;

  color:
    var(--sp-text-muted);
}


/* =========================================================
   LOGIN PANEL
   ========================================================= */

.login-panel {
  margin: 18px;

  padding:
    64px
    clamp(42px, 4vw, 68px);

  display: flex;

  align-items: center;

  background:
    var(--sp-cream);

  border:
    1px solid
    rgba(176, 160, 109, .12);

  border-radius:
    var(--radius-lg);
}


.login-form {
  width: 100%;

  max-width: 390px;

  margin: auto;
}


.login-form .eyebrow {
  margin-bottom: 16px;

  font-size: 11px;
  font-weight: 500;

  color:
    var(--sp-gold);

  letter-spacing:
    .09em;

  text-transform:
    uppercase;
}


.login-form h2 {
  margin:
    0 0 14px;

  font-family:
    var(--font-headline);

  font-size: 32px;
  font-weight: 600;

  line-height: 1.12;

  color:
    var(--sp-ink);
}


.login-intro {
  margin:
    0 0 34px;

  font-size: 14px;

  line-height: 1.6;

  color:
    var(--sp-taupe);
}


/* =========================================================
   LOGIN FIELDS
   ========================================================= */

.field {
  margin-bottom: 18px;
}


.field label {
  display: block;

  margin-bottom: 8px;

  font-size: 12px;
  font-weight: 500;

  color:
    var(--sp-dark);
}


.field input {
  width: 100%;

  height: 52px;

  padding:
    0 15px;

  border:
    1px solid
    rgba(125, 120, 102, .24);

  border-radius:
    var(--radius-xs);

  outline: none;

  font-size: 15px;

  color:
    var(--sp-ink);

  background:
    rgba(255, 255, 255, .72);

  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}


.field input:hover {
  border-color:
    rgba(125, 120, 102, .40);
}


.field input:focus {
  background:
    var(--sp-white);

  border-color:
    var(--sp-gold);

  box-shadow:
    0 0 0 3px
    rgba(176, 160, 109, .10);
}


.login-error {
  min-height: 21px;

  margin-top: 14px;

  font-size: 12px;

  color:
    var(--sp-error);
}


/* =========================================================
   LOGIN PULSE
   ========================================================= */

.login-pulse {
  position: absolute;

  width: 290px;
  height: 290px;

  top: -108px;
  right: -88px;

  z-index: 10;

  pointer-events: none;
}


.login-pulse::before {
  content: "";

  position: absolute;

  inset: 64px;

  border:
    1px solid
    rgba(51, 46, 30, .10);

  border-radius:
    50%;
}


.pulse-ring {
  position: absolute;

  inset: 56px;

  border-radius:
    50%;

  border:
    1px solid
    rgba(176, 160, 109, .32);

  opacity: 0;

  transform:
    scale(.58);

  animation:
    staypuls-login-ring
    4.4s
    var(--ease)
    2
    forwards;
}


.pulse-ring-1 {
  animation-delay: 0s;
}


.pulse-ring-2 {
  animation-delay: .62s;
}


.pulse-ring-3 {
  animation-delay: 1.24s;
}


.pulse-ring-4 {
  animation-delay: 1.86s;
}


@keyframes staypuls-login-ring {

  0% {
    transform:
      scale(.52);

    opacity: 0;
  }

  15% {
    opacity: .62;
  }

  48% {
    opacity: .26;
  }

  100% {
    transform:
      scale(1.82);

    opacity: 0;
  }

}


/* =========================================================
   CONTROL CENTER
   ========================================================= */

.app-view {
  display: none;

  min-height: 100vh;

  background:
    var(--sp-page);
}


.app-shell {
  position: relative;

  min-height: 100vh;

  display: grid;

  grid-template-columns:
    244px
    minmax(0, 1fr);
}


/* =========================================================
   SYSTEM BAR
   ========================================================= */

.system-bar {
  position: absolute;

  top: 28px;
  right: 38px;

  z-index: 120;

  display: flex;

  align-items: center;

  justify-content:
    flex-end;
}


/*
   Desktop:
   Hotellogo bleibt in der Systembar verborgen.
   Mobil wird es sichtbar.
*/

.system-hotel-brand {
  display: none;
}


.system-hotel-logo {
  width: auto;
  height: auto;

  max-width: 132px;
  max-height: 36px;

  object-fit: contain;
}


/* =========================================================
   TOP ACTIONS
   ========================================================= */

.top-actions {
  display: flex;

  align-items: center;

  gap: 7px;
}


.top-action-wrap {
  position: relative;
}


.top-action-button,
.profile-button {
  position: relative;

  width: 39px;
  height: 39px;

  padding: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  border:
    1px solid
    var(--sp-border);

  border-radius:
    6px;

  color:
    var(--sp-taupe);

  background:
    var(--sp-white);

  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}


.top-action-button:hover,
.profile-button:hover {
  color:
    var(--sp-ink);

  border-color:
    var(--sp-border-strong);

  background:
    var(--sp-cream);
}


.top-action-button[aria-expanded="true"],
.profile-button[aria-expanded="true"] {
  color:
    var(--sp-gold);

  background:
    var(--sp-cream);

  border-color:
    rgba(176, 160, 109, .40);
}


.top-action-button svg {
  width: 18px;
  height: 18px;

  fill: none;

  stroke:
    currentColor;

  stroke-width: 1.25;

  stroke-linecap:
    round;

  stroke-linejoin:
    round;
}


.profile-button {
  font-size: 11px;
  font-weight: 500;

  color:
    var(--sp-ink);

  letter-spacing:
    .04em;
}


.notification-dot {
  position: absolute;

  width: 6px;
  height: 6px;

  top: 7px;
  right: 7px;

  border-radius:
    50%;

  background:
    var(--sp-gold);

  box-shadow:
    0 0 0 2px
    var(--sp-white);
}


/* =========================================================
   DROPDOWNS
   ========================================================= */

.top-dropdown {
  position: absolute;

  top:
    calc(100% + 10px);

  right: 0;

  width: 294px;

  z-index: 300;

  padding: 10px;

  visibility: hidden;

  opacity: 0;

  transform:
    translateY(-5px);

  pointer-events: none;

  background:
    var(--sp-white);

  border:
    1px solid
    var(--sp-border);

  border-radius:
    8px;

  box-shadow:
    0 16px 45px
    rgba(51, 46, 30, .08);

  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
}


.top-dropdown.is-open {
  visibility: visible;

  opacity: 1;

  transform:
    translateY(0);

  pointer-events: auto;
}


.dropdown-head {
  padding:
    13px
    13px
    15px;
}


.dropdown-head strong {
  display: block;

  margin-top: 5px;

  font-family:
    var(--font-headline);

  font-size: 19px;
  font-weight: 500;

  color:
    var(--sp-ink);
}


.dropdown-eyebrow {
  font-size: 9px;
  font-weight: 500;

  color:
    var(--sp-gold);

  letter-spacing:
    .12em;
}


.dropdown-nav {
  display: grid;
}


.dropdown-nav a {
  min-height: 42px;

  padding:
    0 12px;

  display: flex;

  align-items: center;

  justify-content:
    space-between;

  border-radius:
    5px;

  text-decoration: none;

  font-size: 13px;

  color:
    var(--sp-taupe);
}


.dropdown-nav a:hover {
  color:
    var(--sp-ink);

  background:
    var(--sp-cream);
}


.dropdown-nav a span {
  color:
    var(--sp-gold);
}


.dropdown-separator {
  height: 1px;

  margin:
    6px 0;

  background:
    var(--sp-border);
}


/* =========================================================
   PROFILE DROPDOWN
   ========================================================= */

.profile-dropdown {
  width: 300px;
}


.profile-dropdown-user {
  padding: 12px;

  display: flex;

  align-items: center;

  gap: 12px;
}


.profile-avatar {
  width: 40px;
  height: 40px;

  flex:
    0 0 40px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius:
    6px;

  background:
    var(--sp-cream);

  font-size: 11px;
  font-weight: 500;

  color:
    var(--sp-ink);
}


.profile-dropdown-user strong {
  display: block;

  font-size: 13px;
  font-weight: 500;

  color:
    var(--sp-ink);
}


.profile-dropdown-user span {
  display: block;

  margin-top: 3px;

  font-size: 11px;

  color:
    var(--sp-text-muted);
}


.dropdown-logout {
  width: 100%;

  min-height: 42px;

  padding:
    0 12px;

  border: 0;

  border-radius:
    5px;

  background:
    transparent;

  text-align: left;

  font-size: 12px;
  font-weight: 500;

  color:
    var(--sp-taupe);

  letter-spacing:
    .04em;

  text-transform:
    uppercase;
}


.dropdown-logout:hover {
  color:
    var(--sp-ink);

  background:
    var(--sp-cream);
}


/* =========================================================
   NOTIFICATIONS
   ========================================================= */

.notification-empty {
  padding:
    28px
    20px
    26px;

  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;
}


.notification-empty-icon {
  width: 32px;
  height: 32px;

  margin-bottom: 13px;

  color:
    var(--sp-gold);
}


.notification-empty-icon svg {
  width: 100%;
  height: 100%;

  fill: none;

  stroke:
    currentColor;

  stroke-width: 1.2;

  stroke-linecap:
    round;

  stroke-linejoin:
    round;
}


.notification-empty strong {
  margin-bottom: 5px;

  font-family:
    var(--font-headline);

  font-size: 17px;
  font-weight: 500;
}


.notification-empty > span:last-child {
  max-width: 200px;

  font-size: 11px;

  line-height: 1.5;

  color:
    var(--sp-text-muted);
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {
  position: sticky;

  top: 0;

  height: 100vh;

  padding:
    30px 18px 24px;

  display: flex;

  flex-direction: column;

  overflow-y: auto;

  background:
    var(--sp-white);

  border-right:
    1px solid
    var(--sp-border);
}


.sidebar-logo {
  margin:
    4px 12px 42px;

  font-size: 25px;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.nav {
  display: flex;

  flex-direction: column;

  gap: 26px;
}


.nav-group {
  display: grid;

  gap: 3px;
}


.nav-group-label {
  padding:
    0 14px 8px;

  font-size: 10px;
  font-weight: 500;

  color:
    var(--sp-gold);

  letter-spacing:
    .12em;

  text-transform:
    uppercase;
}


.nav-item {
  position: relative;

  min-height: 44px;

  padding:
    0 12px;

  display: flex;

  align-items: center;

  gap: 12px;

  border-radius:
    6px;

  text-decoration: none;

  font-size: 14px;
  font-weight: 400;

  color:
    var(--sp-taupe);

  transition:
    color 160ms ease,
    background 160ms ease;
}


.nav-item:hover {
  color:
    var(--sp-ink);

  background:
    rgba(247, 244, 236, .66);
}


.nav-item.active {
  color:
    var(--sp-ink);

  font-weight: 500;

  background:
    var(--sp-cream);
}


.nav-item.active::before {
  content: "";

  position: absolute;

  left: 0;

  top: 10px;
  bottom: 10px;

  width: 2px;

  border-radius:
    3px;

  background:
    var(--sp-gold);
}


.nav-icon {
  width: 19px;
  height: 19px;

  flex:
    0 0 19px;

  display: flex;

  align-items: center;

  justify-content: center;

  color:
    var(--sp-taupe);
}


.nav-icon svg {
  width: 18px;
  height: 18px;

  fill: none;

  stroke:
    currentColor;

  stroke-width: 1.35;

  stroke-linecap:
    round;

  stroke-linejoin:
    round;
}


.nav-item:hover .nav-icon,
.nav-item.active .nav-icon {
  color:
    var(--sp-gold);
}


.sidebar-bottom {
  margin-top: auto;

  padding:
    22px 12px 4px;

  border-top:
    1px solid
    var(--sp-border);

  font-size: 11px;

  color:
    var(--sp-text-muted);
}


/* =========================================================
   MAIN
   ========================================================= */

.main {
  width: 100%;

  max-width: 1600px;

  margin:
    0 auto;

  padding:
    44px
    clamp(34px, 4vw, 66px)
    72px;

  overflow:
    visible;
}


/* =========================================================
   OVERVIEW HEADER
   ========================================================= */

.overview-header {
  min-height: 150px;

  padding-right: 160px;

  display: flex;

  align-items: center;

  justify-content:
    space-between;

  gap: 40px;
}


.overview-intro {
  min-width: 0;
}


.overview-header h1 {
  margin:
    0 0 11px;

  font-family:
    var(--font-headline);

  font-size: 38px;
  font-weight: 600;

  line-height: 1.08;

  color:
    var(--sp-ink);
}


.overview-hotel {
  display: flex;

  align-items: center;

  gap: 10px;

  font-size: 14px;

  line-height: 1.5;

  color:
    var(--sp-taupe);
}


.overview-hotel #hotelName {
  color:
    var(--sp-dark);
}


.overview-separator {
  color:
    var(--sp-gold);
}


.overview-divider {
  height: 1px;

  margin-bottom: 36px;

  background:
    var(--sp-border);
}


/* =========================================================
   HOTELPULS
   ========================================================= */

.hotel-pulse {
  position: relative;

  width: 210px;
  height: 130px;

  flex:
    0 0 210px;

  display: flex;

  align-items: center;

  justify-content: center;
}


.hotel-pulse-content {
  position: relative;

  z-index: 5;

  text-align: center;
}


.hotel-pulse-label {
  margin-bottom: 8px;

  font-size: 10px;
  font-weight: 500;

  color:
    var(--sp-gold);

  letter-spacing:
    .13em;
}


.hotel-pulse-state {
  max-width: 160px;

  font-family:
    var(--font-headline);

  font-size: 16px;

  line-height: 1.25;

  color:
    var(--sp-ink);
}


.pulse-state-mobile {
  display: none;
}


/* =========================================================
   DASHBOARD MOTION
   ========================================================= */

.dashboard-pulse {
  position: absolute;

  width: 180px;
  height: 180px;

  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -50%);

  pointer-events: none;

  z-index: 1;
}


.dashboard-ring {
  position: absolute;

  inset: 38px;

  border-radius:
    50%;

  border:
    1px solid
    rgba(176, 160, 109, .32);

  opacity: 0;

  transform:
    scale(.46);
}


.dashboard-pulse.is-animating
.dashboard-ring {
  animation:
    staypuls-dashboard-ring
    3.8s
    var(--ease)
    forwards;
}


.dashboard-ring-1 {
  animation-delay:
    0s !important;

  border-color:
    rgba(176, 160, 109, .48);
}


.dashboard-ring-2 {
  animation-delay:
    .50s !important;

  border-color:
    rgba(125, 120, 102, .31);
}


.dashboard-ring-3 {
  animation-delay:
    1s !important;

  border-color:
    rgba(176, 160, 109, .24);
}


.dashboard-ring-4 {
  animation-delay:
    1.50s !important;

  border-color:
    rgba(51, 46, 30, .12);
}


@keyframes staypuls-dashboard-ring {

  0% {
    transform:
      scale(.46);

    opacity: 0;
  }

  14% {
    opacity: .72;
  }

  50% {
    opacity: .28;
  }

  100% {
    transform:
      scale(1.92);

    opacity: 0;
  }

}


/* =========================================================
   KPI
   ========================================================= */

.kpi-strip {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  margin-bottom: 54px;

  background:
    var(--sp-white);

  border-top:
    1px solid
    var(--sp-border);

  border-bottom:
    1px solid
    var(--sp-border);
}


.kpi-item {
  position: relative;

  min-height: 168px;

  padding: 28px;
}


.kpi-item:not(:last-child)::after {
  content: "";

  position: absolute;

  right: 0;

  top: 28px;
  bottom: 28px;

  width: 1px;

  background:
    var(--sp-border);
}


.kpi-icon {
  width: 23px;
  height: 23px;

  margin-bottom: 24px;

  color:
    var(--sp-gold);
}


.kpi-icon svg {
  width: 100%;
  height: 100%;

  fill: none;

  stroke:
    currentColor;

  stroke-width: 1.25;

  stroke-linecap:
    round;

  stroke-linejoin:
    round;
}


.kpi-label {
  margin-bottom: 8px;

  font-size: 11px;
  font-weight: 500;

  line-height: 1.3;

  color:
    var(--sp-taupe);

  letter-spacing:
    .08em;

  text-transform:
    uppercase;
}


.kpi-value {
  font-family:
    var(--font-headline);

  font-size: 32px;
  font-weight: 600;

  line-height: 1;

  color:
    var(--sp-ink);
}


.kpi-note {
  margin-top: 9px;

  font-size: 11px;

  line-height: 1.45;

  color:
    var(--sp-text-muted);
}


/* =========================================================
   DASHBOARD GRID
   ========================================================= */

.dashboard-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(320px, .65fr);

  gap: 24px;

  align-items:
    stretch;
}


.dashboard-section {
  background:
    var(--sp-white);

  border:
    1px solid
    var(--sp-border);

  border-radius:
    var(--radius-md);
}


.dashboard-section-head {
  margin-bottom: 20px;

  display: flex;

  align-items: flex-end;

  justify-content:
    space-between;
}


.dashboard-section-head h2,
.active-section h2 {
  margin: 0;

  font-family:
    var(--font-headline);

  font-size: 24px;
  font-weight: 500;

  color:
    var(--sp-ink);
}


.today-section {
  padding:
    30px
    30px
    12px;
}


/* =========================================================
   TASK LIST
   ========================================================= */

.task-list {
  border-top:
    1px solid
    var(--sp-border);
}


.task-row {
  min-height: 80px;

  display: grid;

  grid-template-columns:
    26px
    minmax(0, 1fr)
    24px;

  gap: 16px;

  align-items: center;

  text-decoration:
    none;

  border-bottom:
    1px solid
    var(--sp-border);

  transition:
    padding-left 180ms ease;
}


.task-row:last-child {
  border-bottom: 0;
}


.task-row:hover {
  padding-left: 4px;
}


.task-icon {
  width: 22px;
  height: 22px;

  color:
    var(--sp-gold);
}


.task-icon svg {
  width: 100%;
  height: 100%;

  fill: none;

  stroke:
    currentColor;

  stroke-width: 1.25;

  stroke-linecap:
    round;

  stroke-linejoin:
    round;
}


.task-content {
  display: flex;

  flex-direction: column;

  gap: 5px;
}


.task-content strong {
  font-size: 14px;
  font-weight: 500;

  line-height: 1.35;

  color:
    var(--sp-ink);
}


.task-content small {
  font-size: 12px;

  line-height: 1.45;

  color:
    var(--sp-text-muted);
}


.task-arrow {
  font-family:
    var(--font-headline);

  font-size: 20px;

  color:
    var(--sp-gold);

  transition:
    transform 180ms ease;
}


.task-row:hover
.task-arrow {
  transform:
    translateX(3px);
}


/* =========================================================
   PULS AI
   ========================================================= */

.ai-card {
  position: relative;

  min-height: 390px;

  overflow: hidden;

  padding: 32px;

  background:
    var(--sp-cream);

  border:
    1px solid
    rgba(176, 160, 109, .20);

  border-radius:
    var(--radius-md);
}


.ai-card-content {
  position: relative;

  z-index: 3;
}


.ai-icon {
  width: 30px;
  height: 30px;

  margin-bottom: 48px;

  color:
    var(--sp-gold);
}


.ai-icon svg {
  width: 100%;
  height: 100%;

  fill: none;

  stroke:
    currentColor;

  stroke-width: 1.15;

  stroke-linecap:
    round;

  stroke-linejoin:
    round;
}


.ai-card h2 {
  max-width: 330px;

  margin:
    10px 0 18px;

  font-family:
    var(--font-headline);

  font-size: 28px;
  font-weight: 500;

  line-height: 1.12;

  color:
    var(--sp-ink);
}


.ai-card p {
  max-width: 390px;

  margin:
    0 0 34px;

  font-size: 14px;

  line-height: 1.65;

  color:
    var(--sp-taupe);
}


.text-action {
  padding: 0;

  display: inline-flex;

  align-items: center;

  gap: 12px;

  border: 0;

  background:
    transparent;

  font-size: 11px;
  font-weight: 500;

  color:
    var(--sp-ink);

  letter-spacing:
    .08em;

  text-transform:
    uppercase;
}


.text-action span {
  font-size: 18px;

  color:
    var(--sp-gold);
}


.ai-rings {
  position: absolute;

  width: 320px;
  height: 320px;

  right: -165px;
  bottom: -160px;

  pointer-events: none;
}


.ai-rings span {
  position: absolute;

  inset: 0;

  border-radius:
    50%;

  border:
    1px solid
    rgba(176, 160, 109, .18);
}


.ai-rings span:nth-child(2) {
  inset: 42px;
}


.ai-rings span:nth-child(3) {
  inset: 84px;
}


/* =========================================================
   MODULES
   ========================================================= */

.active-section {
  margin-top: 50px;
}


.module-list {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 12px;
}


.module {
  min-height: 90px;

  padding:
    18px 20px;

  display: flex;

  align-items: center;

  justify-content:
    space-between;

  gap: 20px;

  background:
    var(--sp-white);

  border:
    1px solid
    var(--sp-border);

  border-radius:
    var(--radius-sm);

  transition:
    border-color 180ms ease,
    background 180ms ease;
}


.module:hover {
  border-color:
    var(--sp-border-strong);

  background:
    #FFFEFC;
}


.module-name {
  font-size: 15px;
  font-weight: 500;

  line-height: 1.35;

  color:
    var(--sp-ink);
}


.module-desc {
  margin-top: 5px;

  font-size: 12px;

  line-height: 1.5;

  color:
    var(--sp-text-muted);
}


.status {
  flex:
    0 0 auto;

  padding:
    6px 9px;

  border-radius:
    999px;

  font-size: 10px;

  color:
    var(--sp-taupe);

  background:
    #F3F0E9;

  text-transform:
    uppercase;

  letter-spacing:
    .07em;
}


.status.active {
  color:
    var(--sp-ink);

  background:
    rgba(176, 160, 109, .20);
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline:
    2px solid
    rgba(176, 160, 109, .72);

  outline-offset:
    3px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1180px) {

  .app-shell {
    grid-template-columns:
      216px
      minmax(0, 1fr);
  }


  .overview-header {
    padding-right: 135px;
  }


  .dashboard-grid {
    grid-template-columns:
      1fr;
  }


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

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 820px) {


  /* =======================================================
     LOGIN
     ======================================================= */

  .login-view {
    display: block;

    min-height: 100vh;
  }


  .login-brand {
    min-height: auto;

    padding:
      30px
      22px
      44px;
  }


  .login-brand .logo {
    font-size: 27px;
  }


  .brand-message {
    margin:
      72px 0 22px;
  }


  .brand-message h1 {
    font-size: 42px;
  }


  .brand-message p {
    font-size: 15px;
  }


  .brand-footer {
    display: none;
  }


  .login-panel {
    margin:
      0 12px 12px;

    padding:
      38px
      22px
      42px;
  }


  .login-form h2 {
    font-size: 30px;
  }


  .login-pulse {
    width: 170px;
    height: 170px;

    top: -62px;
    right: -54px;
  }


  .login-pulse::before {
    inset: 40px;
  }


  .pulse-ring {
    inset: 36px;
  }


  /* =======================================================
     APP
     ======================================================= */

  .app-shell {
    display: block;
  }


  .sidebar {
    display: none;
  }


  /* =======================================================
     MOBILE SYSTEM BAR
     ======================================================= */

  .system-bar {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    width: 100%;

    height:
      calc(
        66px +
        env(safe-area-inset-top)
      );

    padding:
      env(safe-area-inset-top)
      15px
      0;

    z-index: 500;

    display: flex;

    align-items: center;

    justify-content:
      space-between;

    gap: 12px;

    background:
      rgba(255, 255, 255, .98);

    border-bottom:
      1px solid
      var(--sp-border);

    -webkit-backdrop-filter:
      blur(12px);

    backdrop-filter:
      blur(12px);
  }


  /* =======================================================
     HOTEL LOGO IN APP BAR
     ======================================================= */

  .system-hotel-brand {
    min-width: 0;

    flex:
      1 1 auto;

    display: flex;

    align-items: center;
  }


  .system-hotel-logo {
    width: auto;
    height: auto;

    max-width: 125px;
    max-height: 38px;

    object-fit:
      contain;

    object-position:
      left center;
  }


  /* =======================================================
     MOBILE ACTIONS
     ======================================================= */

  .top-actions {
    flex:
      0 0 auto;

    gap: 4px;
  }


  .top-action-button,
  .profile-button {
    width: 35px;
    height: 35px;

    border: 0;

    border-radius:
      6px;

    background:
      transparent;
  }


  .top-action-button:hover,
  .profile-button:hover,
  .top-action-button[aria-expanded="true"],
  .profile-button[aria-expanded="true"] {
    border: 0;

    color:
      var(--sp-ink);

    background:
      var(--sp-cream);
  }


  .top-action-button svg {
    width: 18px;
    height: 18px;
  }


  .profile-button {
    font-size: 11px;
  }


  /* =======================================================
     MOBILE DROPDOWNS
     ======================================================= */

  .top-dropdown {
    position: fixed;

    top:
      calc(
        74px +
        env(safe-area-inset-top)
      );

    left: 14px;
    right: 14px;

    width: auto;

    max-height:
      calc(
        100vh -
        94px -
        env(safe-area-inset-top)
      );

    overflow-y:
      auto;

    z-index: 700;
  }


  .dropdown-nav a {
    min-height: 45px;

    font-size: 14px;
  }


  .dropdown-head strong {
    font-size: 20px;
  }


  /* =======================================================
     MOBILE MAIN
     ======================================================= */

  .main {
    width: 100%;

    max-width: none;

    margin: 0;

    padding:
      calc(
        104px +
        env(safe-area-inset-top)
      )
      18px
      90px;
  }


  /* =======================================================
     MOBILE OVERVIEW
     ======================================================= */

  .overview-header {
    min-height: auto;

    padding: 0;

    display: block;
  }


  .overview-intro {
    width: 100%;
  }


  .overview-intro
  .section-eyebrow {
    margin-bottom: 19px;

    font-size: 10px;

    letter-spacing:
      .13em;
  }


  .overview-header h1 {
    margin:
      0 0 13px;

    font-size: 34px;
    font-weight: 600;

    line-height: 1.04;

    letter-spacing:
      -.015em;
  }


  /* =======================================================
     MOBILE HOTEL TEXT
     ======================================================= */

  .overview-hotel {
    width: 100%;

    display: block;

    font-size: 14px;

    line-height: 1.55;
  }


  .overview-hotel #hotelName {
    display: block;

    margin-bottom: 3px;

    font-weight: 400;

    color:
      var(--sp-dark);
  }


  .overview-separator {
    display: none;
  }


  #currentDate {
    display: block;

    font-size: 12px;

    line-height: 1.5;

    color:
      var(--sp-text-muted);
  }


  /* =======================================================
     MOBILE HOTELPULS
     ======================================================= */

  .hotel-pulse {
    position: relative;

    width: 100%;
    height: 116px;

    margin-top: 31px;

    display: flex;

    align-items: center;

    justify-content:
      flex-start;

    border-top:
      1px solid
      var(--sp-border);

    border-bottom:
      1px solid
      var(--sp-border);
  }


  .hotel-pulse-content {
    text-align:
      left;
  }


  .hotel-pulse-label {
    margin-bottom: 8px;

    font-size: 9px;

    letter-spacing:
      .13em;
  }


  .pulse-state-desktop {
    display: none;
  }


  .pulse-state-mobile {
    display: block;
  }


  .hotel-pulse-state {
    max-width: none;

    font-size: 18px;

    line-height: 1.2;

    color:
      var(--sp-ink);
  }


  .hotel-pulse
  .dashboard-pulse {
    width: 118px;
    height: 118px;

    left: auto;
    right: -8px;

    top: 50%;

    transform:
      translateY(-50%);
  }


  .hotel-pulse
  .dashboard-ring {
    inset: 28px;
  }


  .overview-divider {
    display: none;
  }


  /* =======================================================
     MOBILE KPI
     ======================================================= */

  .kpi-strip {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    margin:
      30px
      0
      42px;

    background:
      var(--sp-white);

    border:
      1px solid
      var(--sp-border);

    border-radius:
      8px;

    overflow:
      hidden;
  }


  .kpi-item {
    min-height: 136px;

    padding:
      20px
      17px;
  }


  .kpi-item:not(:last-child)::after {
    display: none;
  }


  .kpi-item:nth-child(odd) {
    border-right:
      1px solid
      var(--sp-border);
  }


  .kpi-item:nth-child(-n+2) {
    border-bottom:
      1px solid
      var(--sp-border);
  }


  .kpi-icon {
    width: 20px;
    height: 20px;

    margin-bottom: 17px;
  }


  .kpi-label {
    margin-bottom: 7px;

    font-size: 10px;

    line-height: 1.3;
  }


  .kpi-value {
    font-size: 27px;
  }


  .kpi-note {
    margin-top: 7px;

    font-size: 10px;

    line-height: 1.4;
  }


  /* =======================================================
     MOBILE CONTENT
     ======================================================= */

  .dashboard-grid {
    display:
      block;
  }


  .today-section {
    margin-bottom:
      16px;

    padding:
      26px
      20px
      9px;
  }


  .dashboard-section-head {
    margin-bottom:
      18px;
  }


  .dashboard-section-head h2,
  .active-section h2 {
    font-size:
      23px;
  }


  .task-row {
    min-height:
      76px;

    grid-template-columns:
      22px
      minmax(0, 1fr)
      18px;

    gap:
      13px;
  }


  .task-icon {
    width: 20px;
    height: 20px;
  }


  .task-content strong {
    font-size:
      14px;

    line-height:
      1.35;
  }


  .task-content small {
    font-size:
      11px;

    line-height:
      1.45;
  }


  /* =======================================================
     MOBILE AI
     ======================================================= */

  .ai-card {
    min-height:
      auto;

    padding:
      29px
      22px
      33px;

    border-radius:
      8px;
  }


  .ai-icon {
    width: 25px;
    height: 25px;

    margin-bottom:
      32px;
  }


  .ai-card h2 {
    max-width:
      280px;

    font-size:
      25px;
  }


  .ai-card p {
    font-size:
      13px;

    line-height:
      1.65;
  }


  .text-action {
    font-size:
      11px;
  }


  /* =======================================================
     MOBILE MODULES
     ======================================================= */

  .active-section {
    margin-top:
      40px;
  }


  .module-list {
    grid-template-columns:
      1fr;
  }


  .module {
    min-height:
      80px;

    padding:
      17px
      18px;
  }


  .module-name {
    font-size:
      15px;
  }


  .module-desc {
    font-size:
      12px;
  }


  .status {
    font-size:
      9px;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

  .system-bar {
    padding-left:
      14px;

    padding-right:
      10px;
  }


  .system-hotel-logo {
    max-width:
      112px;

    max-height:
      34px;
  }


  .top-actions {
    gap:
      2px;
  }


  .top-action-button,
  .profile-button {
    width:
      33px;

    height:
      33px;
  }


  .main {
    padding-left:
      16px;

    padding-right:
      16px;
  }


  .overview-header h1 {
    font-size:
      32px;
  }


  .overview-hotel {
    font-size:
      13px;
  }


  #currentDate {
    font-size:
      12px;
  }


  .hotel-pulse-state {
    font-size:
      17px;
  }


  .kpi-item {
    min-height:
      132px;

    padding:
      19px
      14px;
  }


  .kpi-label {
    font-size:
      9px;
  }


  .kpi-note {
    font-size:
      10px;
  }


  .task-content strong {
    font-size:
      13px;
  }


  .task-content small {
    font-size:
      11px;
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration:
      .001ms !important;

    animation-iteration-count:
      1 !important;

    transition-duration:
      .001ms !important;
  }

}

/* =========================================================
   STAY | PULS
   HOTEL PROFILE / SETTINGS
   ========================================================= */

.settings-page {
  width: 100%;
  max-width: 1220px;

  margin: 0 auto;
}


/* =========================================================
   SETTINGS HEADER
   ========================================================= */

.settings-page-head {
  min-height: 128px;

  margin-bottom: 30px;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 40px;

  border-bottom:
    1px solid
    var(--sp-border);
}


.settings-heading {
  display: flex;
  align-items: flex-start;

  gap: 18px;
}


.settings-back-button {
  width: 38px;
  height: 38px;

  margin-top: 2px;
  padding: 0;

  flex: 0 0 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid
    var(--sp-border);

  border-radius:
    6px;

  color:
    var(--sp-taupe);

  background:
    var(--sp-white);

  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}


.settings-back-button:hover {
  color:
    var(--sp-ink);

  background:
    var(--sp-cream);

  border-color:
    var(--sp-border-strong);
}


.settings-back-button svg {
  width: 18px;
  height: 18px;

  fill: none;

  stroke:
    currentColor;

  stroke-width: 1.3;

  stroke-linecap:
    round;

  stroke-linejoin:
    round;
}


.settings-page-title {
  margin: 0;

  font-family:
    var(--font-headline);

  font-size: 34px;
  font-weight: 600;

  line-height: 1.05;

  color:
    var(--sp-ink);
}


.settings-page-intro {
  max-width: 520px;

  margin:
    10px 0 0;

  font-size: 13px;

  line-height: 1.55;

  color:
    var(--sp-text-muted);
}


.settings-head-actions {
  min-height: 48px;

  display: flex;
  align-items: center;

  gap: 16px;
}


.profile-save-state {
  font-size: 11px;

  color:
    var(--sp-text-muted);
}


.profile-save-button {
  min-height: 44px;

  padding:
    0 20px;

  border:
    1px solid
    var(--sp-ink);

  border-radius:
    5px;

  background:
    var(--sp-ink);

  color:
    var(--sp-white);

  font-family:
    var(--font-body);

  font-size: 11px;
  font-weight: 500;

  letter-spacing:
    .06em;

  text-transform:
    uppercase;

  transition:
    background 160ms ease,
    border-color 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}


.profile-save-button:hover:not(:disabled) {
  background:
    var(--sp-dark);

  border-color:
    var(--sp-dark);
}


.profile-save-button:active:not(:disabled) {
  transform:
    translateY(1px);
}


.profile-save-button:disabled {
  cursor: default;

  opacity: .32;
}


.profile-readonly-badge {
  padding:
    7px 10px;

  border-radius:
    999px;

  background:
    var(--sp-cream);

  font-size: 9px;
  font-weight: 500;

  color:
    var(--sp-taupe);

  letter-spacing:
    .06em;

  text-transform:
    uppercase;
}


/* =========================================================
   FORM
   ========================================================= */

.hotel-profile-form {
  display: grid;

  gap: 14px;
}


/* =========================================================
   PROFILE SECTION
   ========================================================= */

.profile-section {
  display: grid;

  grid-template-columns:
    250px
    minmax(0, 1fr);

  gap: 46px;

  padding:
    34px 36px;

  background:
    var(--sp-white);

  border:
    1px solid
    var(--sp-border);

  border-radius:
    9px;
}


.profile-section-heading {
  display: flex;
  align-items: flex-start;

  gap: 15px;
}


.profile-section-icon {
  width: 34px;
  height: 34px;

  flex: 0 0 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  color:
    var(--sp-gold);
}


.profile-section-icon svg {
  width: 22px;
  height: 22px;

  fill: none;

  stroke:
    currentColor;

  stroke-width: 1.2;

  stroke-linecap:
    round;

  stroke-linejoin:
    round;
}


.profile-section-heading h2 {
  margin:
    1px 0 7px;

  font-family:
    var(--font-headline);

  font-size: 20px;
  font-weight: 500;

  line-height: 1.2;

  color:
    var(--sp-ink);
}


.profile-section-heading p {
  max-width: 180px;

  margin: 0;

  font-size: 11px;

  line-height: 1.5;

  color:
    var(--sp-text-muted);
}


/* =========================================================
   PROFILE FIELDS
   ========================================================= */

.profile-fields {
  width: 100%;
}


.profile-fields-two {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap:
    22px 18px;
}


.profile-field {
  min-width: 0;
}


.profile-field-full {
  grid-column:
    1 / -1;
}


.profile-field label {
  display: block;

  margin-bottom: 8px;

  font-size: 11px;
  font-weight: 500;

  line-height: 1.3;

  color:
    var(--sp-dark);
}


.profile-field input,
.profile-field select {
  width: 100%;

  height: 50px;

  padding:
    0 14px;

  border:
    1px solid
    #DDD8CD;

  border-radius:
    5px;

  outline: none;

  background:
    #FEFDFC;

  color:
    var(--sp-ink);

  font-family:
    var(--font-body);

  font-size: 14px;

  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}


.profile-field input:hover,
.profile-field select:hover {
  border-color:
    #CFC8BA;
}


.profile-field input:focus,
.profile-field select:focus {
  border-color:
    var(--sp-gold);

  background:
    var(--sp-white);

  box-shadow:
    0 0 0 3px
    rgba(176, 160, 109, .09);
}


.profile-field input:disabled,
.profile-field select:disabled {
  cursor: default;

  color:
    var(--sp-taupe);

  background:
    #F8F6F1;

  opacity: 1;
}


.profile-field select {
  appearance: none;

  -webkit-appearance: none;

  padding-right: 38px;

  background-image:
    linear-gradient(45deg, transparent 50%, #7D7866 50%),
    linear-gradient(135deg, #7D7866 50%, transparent 50%);

  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 13px) 21px;

  background-size:
    5px 5px,
    5px 5px;

  background-repeat:
    no-repeat;
}


/* =========================================================
   HOTEL BRANDING
   ========================================================= */

.hotel-branding-panel {
  min-height: 150px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  padding:
    26px;

  background:
    var(--sp-cream);

  border:
    1px solid
    rgba(176, 160, 109, .18);

  border-radius:
    7px;
}


.hotel-branding-preview {
  min-width: 0;

  display: flex;
  align-items: center;

  gap: 22px;
}


.hotel-logo-preview {
  width: 150px;
  height: 86px;

  flex:
    0 0 150px;

  padding:
    12px 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    var(--sp-white);

  border:
    1px solid
    var(--sp-border);

  border-radius:
    6px;
}


.hotel-logo-preview img {
  max-width: 100%;
  max-height: 58px;

  width: auto;
  height: auto;

  object-fit: contain;
}


.hotel-branding-preview strong {
  display: block;

  margin-bottom: 6px;

  font-family:
    var(--font-headline);

  font-size: 17px;
  font-weight: 500;

  color:
    var(--sp-ink);
}


.hotel-branding-preview span {
  display: block;

  max-width: 330px;

  font-size: 11px;

  line-height: 1.5;

  color:
    var(--sp-text-muted);
}


.hotel-branding-actions {
  flex:
    0 0 auto;

  display: flex;
  flex-direction: column;
  align-items: flex-end;

  gap: 9px;
}


.branding-hint {
  font-size: 9px;

  color:
    var(--sp-text-muted);
}


/* =========================================================
   SECONDARY BUTTON
   ========================================================= */

.profile-secondary-button {
  min-height: 40px;

  padding:
    0 16px;

  border:
    1px solid
    var(--sp-border-strong);

  border-radius:
    5px;

  background:
    var(--sp-white);

  color:
    var(--sp-ink);

  font-size: 11px;
  font-weight: 500;

  letter-spacing:
    .04em;

  transition:
    background 160ms ease,
    border-color 160ms ease;
}


.profile-secondary-button:hover {
  background:
    var(--sp-cream);

  border-color:
    var(--sp-gold);
}


/* =========================================================
   TOAST
   ========================================================= */

.profile-toast {
  position: fixed;

  right: 28px;
  bottom: 28px;

  z-index: 1000;

  min-width: 230px;
  max-width: 360px;

  padding:
    14px 17px;

  visibility: hidden;

  opacity: 0;

  transform:
    translateY(10px);

  border:
    1px solid
    var(--sp-border);

  border-radius:
    6px;

  background:
    var(--sp-white);

  box-shadow:
    0 16px 44px
    rgba(51, 46, 30, .09);

  font-size: 12px;

  color:
    var(--sp-ink);

  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}


.profile-toast.is-visible {
  visibility: visible;

  opacity: 1;

  transform:
    translateY(0);
}


.profile-toast.success {
  border-left:
    3px solid
    var(--sp-gold);
}


.profile-toast.error {
  border-left:
    3px solid
    var(--sp-error);
}


.profile-toast.info {
  border-left:
    3px solid
    var(--sp-taupe);
}


/* =========================================================
   LOADING
   ========================================================= */

.profile-loading {
  min-height: 380px;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  text-align: center;

  background:
    var(--sp-white);

  border:
    1px solid
    var(--sp-border);

  border-radius:
    9px;
}


.profile-loading strong {
  margin-top: 24px;

  font-family:
    var(--font-headline);

  font-size: 19px;
  font-weight: 500;

  color:
    var(--sp-ink);
}


.profile-loading > span:last-child {
  margin-top: 7px;

  font-size: 11px;

  color:
    var(--sp-text-muted);
}


.profile-loading-pulse {
  position: relative;

  width: 68px;
  height: 68px;
}


.profile-loading-pulse span {
  position: absolute;

  inset: 20px;

  border-radius: 50%;

  border:
    1px solid
    rgba(176,160,109,.45);

  animation:
    profile-pulse
    2.5s
    var(--ease)
    infinite;
}


.profile-loading-pulse span:nth-child(2) {
  animation-delay: .55s;
}


.profile-loading-pulse span:nth-child(3) {
  animation-delay: 1.1s;
}


@keyframes profile-pulse {

  0% {
    transform: scale(.45);
    opacity: 0;
  }

  20% {
    opacity: .65;
  }

  100% {
    transform: scale(2.1);
    opacity: 0;
  }

}


/* =========================================================
   PROFILE ERROR
   ========================================================= */

.profile-error-state {
  min-height: 360px;

  padding: 40px;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  text-align: center;

  background:
    var(--sp-white);

  border:
    1px solid
    var(--sp-border);

  border-radius:
    9px;
}


.profile-error-icon {
  width: 34px;
  height: 34px;

  margin-bottom: 18px;

  color:
    var(--sp-error);
}


.profile-error-icon svg {
  width: 100%;
  height: 100%;

  fill: none;

  stroke:
    currentColor;

  stroke-width: 1.2;
}


.profile-error-state strong {
  font-family:
    var(--font-headline);

  font-size: 20px;
  font-weight: 500;
}


.profile-error-state p {
  max-width: 420px;

  margin:
    9px 0 22px;

  font-size: 12px;

  line-height: 1.5;

  color:
    var(--sp-text-muted);
}


/* =========================================================
   PLACEHOLDER / ROUTE ERROR
   ========================================================= */

.placeholder-view,
.route-error {
  max-width: 720px;

  padding-top: 38px;
}


.placeholder-view h1,
.route-error h1 {
  margin:
    0 0 14px;

  font-family:
    var(--font-headline);

  font-size: 36px;
  font-weight: 600;

  line-height: 1.05;

  color:
    var(--sp-ink);
}


.placeholder-view p,
.route-error p {
  max-width: 530px;

  margin:
    0 0 28px;

  font-size: 14px;

  line-height: 1.6;

  color:
    var(--sp-taupe);
}


/* =========================================================
   SETTINGS TABLET
   ========================================================= */

@media (max-width: 1100px) {

  .profile-section {
    grid-template-columns:
      200px
      minmax(0, 1fr);

    gap: 30px;

    padding:
      30px 28px;
  }


  .profile-section-heading p {
    max-width: 160px;
  }

}


/* =========================================================
   SETTINGS MOBILE
   ========================================================= */

@media (max-width: 820px) {

  .settings-page {
    width: 100%;
  }


  .settings-page-head {
    min-height: auto;

    margin-bottom: 22px;
    padding-bottom: 20px;

    display: block;
  }


  .settings-heading {
    gap: 12px;
  }


  .settings-back-button {
    width: 34px;
    height: 34px;

    flex-basis: 34px;
  }


  .settings-page-title {
    font-size: 30px;
  }


  .settings-page-intro {
    margin-top: 8px;

    font-size: 12px;
  }


  .settings-head-actions {
    width: 100%;

    margin-top: 20px;

    justify-content:
      space-between;
  }


  .profile-save-state {
    max-width: 150px;

    font-size: 10px;
  }


  .profile-save-button {
    min-height: 42px;

    padding:
      0 15px;

    font-size: 10px;
  }


  .hotel-profile-form {
    gap: 12px;
  }


  .profile-section {
    display: block;

    padding:
      24px 20px;

    border-radius:
      8px;
  }


  .profile-section-heading {
    margin-bottom: 25px;
  }


  .profile-section-heading p {
    max-width: 250px;

    font-size: 11px;
  }


  .profile-section-icon {
    width: 30px;
    height: 30px;

    flex-basis: 30px;
  }


  .profile-section-icon svg {
    width: 20px;
    height: 20px;
  }


  .profile-section-heading h2 {
    font-size: 19px;
  }


  .profile-fields-two {
    grid-template-columns: 1fr;

    gap: 18px;
  }


  .profile-field-full {
    grid-column: auto;
  }


  .profile-field input,
  .profile-field select {
    height: 52px;

    font-size: 15px;
  }


  .profile-field label {
    font-size: 12px;
  }


  .hotel-branding-panel {
    display: block;

    padding: 20px;
  }


  .hotel-branding-preview {
    align-items: flex-start;

    gap: 15px;
  }


  .hotel-logo-preview {
    width: 108px;
    height: 68px;

    flex-basis: 108px;
  }


  .hotel-logo-preview img {
    max-height: 44px;
  }


  .hotel-branding-preview strong {
    font-size: 16px;
  }


  .hotel-branding-preview span {
    font-size: 10px;
  }


  .hotel-branding-actions {
    margin-top: 20px;

    align-items: flex-start;
  }


  .profile-secondary-button {
    min-height: 42px;

    font-size: 11px;
  }


  .profile-toast {
    left: 16px;
    right: 16px;
    bottom: 18px;

    min-width: 0;
    max-width: none;
  }

}


/* =========================================================
   SMALL SETTINGS MOBILE
   ========================================================= */

@media (max-width: 420px) {

  .settings-heading {
    gap: 10px;
  }


  .settings-page-title {
    font-size: 28px;
  }


  .settings-head-actions {
    align-items: flex-end;
  }


  .profile-save-state {
    font-size: 9px;
  }


  .profile-section {
    padding:
      22px 17px;
  }


  .hotel-branding-preview {
    display: block;
  }


  .hotel-logo-preview {
    width: 100%;
    height: 90px;

    margin-bottom: 16px;
  }

}

/* Light mobile navigation */
.mobile-bottom-nav { display:none; }
.integration-back-button { display:inline-flex; align-items:center; gap:9px; margin:0 0 20px; padding:9px 14px; border:1px solid rgba(74,70,58,.14); border-radius:99px; background:#fbfaf7; color:#7d7866; font:inherit; font-size:13px; cursor:pointer; }
.integration-back-button:hover { background:#f1eee5; }
@media(max-width:820px) {
 .mobile-bottom-nav { position:fixed; bottom:0; left:0; right:0; z-index:80; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px)); border-top:1px solid rgba(176,160,109,.22); background:rgba(251,250,247,.97); backdrop-filter:blur(16px); box-shadow:0 -6px 24px rgba(51,46,30,.045); }
 .mobile-route { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:6px; min-height:56px; padding:7px 2px; border:0; border-radius:14px; background:transparent; color:#898370; font:inherit; font-size:10px; cursor:pointer; }
 .mobile-route svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
 .mobile-route.is-active { color:#827447; background:#f1ecdd; }
 .mobile-route:focus-visible { outline:2px solid #b0a06d; outline-offset:-2px; }
 .main { padding-bottom:calc(110px + env(safe-area-inset-bottom,0px)); }
 .intelligence-tabs { overflow-x:auto; white-space:nowrap; }
}

.module-open { background:none; border:0; padding:0; font:inherit; color:inherit; text-align:left; cursor:pointer; }
.module-open span { color:var(--sp-gold, #b6a66c); margin-left:8px; }
.module-open:focus-visible { outline:2px solid #b6a66c; outline-offset:5px; border-radius:3px; }

/* One content boundary across the Control Center; form internals keep their own measure. */
.main > .settings-page,
.main > .cp-view,
.main > .intelligence-view,
.main > .integrations-view { width:100%; max-width:none; margin-left:0; margin-right:0; }
