:root {
  color-scheme: dark;
  --paper: #f6f1e9;
  --ink: #171310;
  --charcoal: #12100e;
  --muted: rgba(246, 241, 233, 0.68);
  --line: rgba(246, 241, 233, 0.16);
  --accent: #d88742;
  --accent-strong: #f2b15e;
  --ember: #ff9f2e;
  --danger: #ffb1a4;
  --success: #bde6c7;
  --font-display: "Outfit", "Satoshi", "Segoe UI", system-ui, sans-serif;
  --font-body: "Geist", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--charcoal);
  color: var(--paper);
  font-family: var(--font-body);
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

#shader-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #12100e;
  touch-action: none;
}

.page-shell {
  position: relative;
  min-height: 100dvh;
  background:
    linear-gradient(90deg, rgba(18, 16, 14, 0.96) 0%, rgba(18, 16, 14, 0.84) 44%, rgba(18, 16, 14, 0.46) 100%),
    linear-gradient(180deg, rgba(18, 16, 14, 0.08) 0%, rgba(18, 16, 14, 0.92) 100%);
}

.page-shell::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image: radial-gradient(rgba(246, 241, 233, 0.14) 0.7px, transparent 0.7px);
  background-size: 5px 5px;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: start;
  gap: 12px;
  width: min(1420px, calc(100% - 48px));
  margin: 0 auto;
  padding: 6px 0;
}

.topbar-brand-system {
  display: grid;
  grid-template-columns: auto minmax(420px, 560px);
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
  min-width: 0;
  color: var(--paper);
  text-decoration: none;
}

.brand-wordmark {
  display: grid;
  min-width: auto;
  color: var(--paper);
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
}

.brand-wordmark-img {
  display: block;
  width: clamp(188px, 14vw, 238px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.24));
}

.topbar-muse-family {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(560px, 41vw);
  min-width: 0;
  height: 70px;
  margin: 0;
  padding: 8px 18px;
  border: 1px solid rgba(246, 241, 233, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(246, 241, 233, 0.08), rgba(246, 241, 233, 0.02)),
    rgba(18, 16, 14, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.topbar-family-rail {
  position: absolute;
  top: 7px;
  left: 44px;
  right: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 241, 233, 0.72), transparent);
  opacity: 0.84;
}

.topbar-family-set {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding-top: 3px;
}

.topbar-family-logo {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: center;
  min-width: 0;
}

.topbar-family-logo-img {
  display: block;
  width: 100px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.22));
}

.topbar-nav {
  position: relative;
  z-index: 25;
  display: flex;
  justify-content: flex-end;
  justify-self: end;
  margin-left: 0;
}

.topbar-menu-trigger {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(255, 190, 93, 0.58);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 164, 35, 0.56) 0 13%, rgba(22, 16, 12, 0.94) 14% 48%, transparent 49%),
    conic-gradient(from 120deg, rgba(255, 214, 126, 0.88), rgba(120, 73, 29, 0.64), rgba(255, 190, 81, 0.92), rgba(55, 31, 16, 0.86), rgba(255, 214, 126, 0.88));
  color: var(--paper);
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 231, 175, 0.2);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.topbar-menu-trigger::before {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 218, 144, 0.28);
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 168, 45, 0.18), transparent 31%),
    rgba(15, 12, 10, 0.64);
  content: "";
}

.topbar-menu-trigger::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.2), transparent 38%, rgba(255, 176, 68, 0.16) 72%, transparent);
  content: "";
  opacity: 0.82;
}

.topbar-menu-trigger:hover {
  border-color: rgba(255, 217, 142, 0.78);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 231, 175, 0.28);
}

.topbar-menu-trigger:active {
  transform: translateY(1px) scale(0.99);
}

.topbar-menu-eclipse {
  position: absolute;
  inset: 14px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(7, 6, 5, 0.92) 0 58%, rgba(255, 178, 64, 0.26) 60% 100%);
  box-shadow: 0 0 0 1px rgba(255, 202, 112, 0.18);
}

.topbar-menu-lines {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
  width: 22px;
}

.topbar-menu-lines span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffb23f, #ffe1a2);
  box-shadow: 0 0 12px rgba(255, 177, 63, 0.28);
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.topbar-menu-trigger[aria-expanded="true"] .topbar-menu-lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.topbar-menu-trigger[aria-expanded="true"] .topbar-menu-lines span:nth-child(2) {
  opacity: 0;
}

.topbar-menu-trigger[aria-expanded="true"] .topbar-menu-lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.topbar-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  gap: 7px;
  width: min(330px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid rgba(216, 135, 66, 0.46);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 177, 65, 0.12), rgba(40, 23, 15, 0.42)),
    rgba(18, 14, 11, 0.97);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 233, 185, 0.08);
  transform-origin: top right;
}

.topbar-menu-panel[hidden] {
  display: none;
}

.topbar-nav.is-open .topbar-menu-panel {
  animation: menuReveal 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.topbar-link {
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid rgba(216, 135, 66, 0.28);
  border-radius: 8px;
  background: rgba(246, 241, 233, 0.04);
  color: var(--paper);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.topbar-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  font-weight: 800;
}

.topbar-link:hover {
  border-color: rgba(255, 190, 93, 0.52);
  background: rgba(216, 135, 66, 0.15);
}

.topbar-link:active {
  transform: translateY(1px) scale(0.99);
}

.quote-nav-link {
  display: flex;
  align-items: center;
}

.quote-nav-link.has-quote-signal {
  border-color: rgba(189, 230, 199, 0.46);
  background: rgba(35, 70, 45, 0.18);
}

.quote-nav-badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--success);
  color: #112015;
  font-size: 11px;
  font-weight: 900;
  padding: 0 6px;
}

.quote-nav-badge[hidden] {
  display: none;
}

.topbar-menu-flags {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.topbar-new-badge {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 20px;
  padding: 0 7px;
  border: 1px solid rgba(255, 214, 127, 0.46);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 195, 85, 0.9), rgba(255, 145, 37, 0.66)),
    rgba(45, 26, 12, 0.78);
  color: #211309;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255, 243, 205, 0.44);
  animation: newBadgePulse 2600ms ease-in-out infinite;
}

.topbar-new-badge[hidden] {
  display: none;
}

.topbar-platform-icon {
  display: block;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  color: #ffd876;
  overflow: visible;
  filter:
    drop-shadow(0 0 7px rgba(255, 183, 55, 0.34))
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.32));
  transition: transform 180ms ease, color 180ms ease, filter 180ms ease;
}

.topbar-menu-link:hover .topbar-platform-icon,
.topbar-menu-link:focus-visible .topbar-platform-icon {
  color: #ffe6a2;
  transform: translateY(-1px) scale(1.04);
  filter:
    drop-shadow(0 0 10px rgba(255, 192, 72, 0.48))
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.32));
}

.topbar-platform-icon-windows path {
  fill: currentColor;
  stroke: rgba(255, 246, 205, 0.35);
  stroke-width: 0.28;
  vector-effect: non-scaling-stroke;
}

.topbar-platform-icon-android path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.topbar-platform-icon-android path:nth-child(3),
.topbar-platform-icon-android path:nth-child(4) {
  fill: rgba(255, 216, 118, 0.18);
}

.topbar-platform-icon-android circle {
  fill: currentColor;
}

.topbar-android-soon-link {
  font: inherit;
  cursor: not-allowed;
  opacity: 0.72;
}

.topbar-android-soon-link:disabled {
  color: rgba(246, 241, 233, 0.72);
}

.topbar-android-soon-link:hover {
  border-color: rgba(216, 135, 66, 0.28);
  background: rgba(246, 241, 233, 0.04);
}

.topbar-soon-badge {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 22px;
  padding: 0 9px;
  border: 1px solid rgba(189, 230, 199, 0.42);
  border-radius: 999px;
  background: rgba(29, 52, 36, 0.72);
  color: #bde6c7;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.04em;
}

@keyframes menuReveal {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes newBadgePulse {
  0%,
  100% {
    opacity: 0.86;
  }

  50% {
    opacity: 1;
  }
}

.quote-alert-toast {
  position: fixed;
  z-index: 34;
  right: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: min(430px, calc(100vw - 44px));
  min-height: 96px;
  border: 1px solid rgba(255, 190, 84, 0.56);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 177, 64, 0.14), rgba(87, 40, 18, 0.2)),
    rgba(20, 15, 11, 0.96);
  color: var(--paper);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.46), inset 0 1px rgba(255, 225, 150, 0.12);
  padding: 14px 16px;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.quote-alert-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.quote-alert-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 52%, rgba(16, 12, 9, 0.98) 0 45%, transparent 46%),
    conic-gradient(from 16deg, #ffe0a1, #7a5526, #f5c66a, #5f3a1d, #ffbf54, #ffe0a1);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.38),
    0 0 30px rgba(246, 177, 63, 0.26),
    inset 0 1px 0 rgba(255, 235, 176, 0.28);
}

.quote-alert-mark::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 212, 125, 0.2);
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 37%, rgba(255, 174, 45, 0.18), transparent 30%),
    rgba(10, 8, 7, 0.76);
}

.quote-alert-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(132deg, rgba(255, 255, 255, 0.24), transparent 36%, rgba(255, 173, 54, 0.16) 72%, transparent);
  pointer-events: none;
}

.quote-alert-logo {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 78px;
  object-fit: contain;
  transform: translateY(8px) scale(1.26);
  filter: drop-shadow(0 0 12px rgba(255, 171, 42, 0.42));
}

.quote-alert-toast small,
.quote-alert-toast em {
  display: block;
  color: rgba(246, 241, 233, 0.64);
  font-style: normal;
  line-height: 1.3;
}

.quote-alert-toast small {
  margin-bottom: 3px;
  color: var(--accent-strong);
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-alert-toast strong {
  display: block;
  margin-bottom: 2px;
  overflow-wrap: anywhere;
  font-size: 19px;
  line-height: 1.1;
}

.quote-alert-toast em {
  font-size: 13px;
}

.auth-console {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  justify-self: end;
  min-width: 0;
  max-width: 318px;
}

.auth-button,
.auth-logout {
  min-height: 38px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 220px;
  border: 1px solid rgba(216, 135, 66, 0.42);
  background: rgba(18, 16, 14, 0.24);
  color: rgba(246, 241, 233, 0.9);
  padding: 9px 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.auth-button:hover {
  border-color: rgba(216, 135, 66, 0.58);
  background: rgba(216, 135, 66, 0.16);
}

.auth-button:active {
  transform: translateY(1px) scale(0.99);
}

.auth-button.is-authenticated {
  min-height: 32px;
  max-width: 154px;
  border-color: rgba(216, 135, 66, 0.28);
  background: rgba(18, 16, 14, 0.18);
  color: rgba(246, 241, 233, 0.76);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.auth-button.is-authenticated:hover {
  border-color: rgba(216, 135, 66, 0.42);
  background: rgba(216, 135, 66, 0.1);
  color: rgba(246, 241, 233, 0.86);
}

.auth-button [data-auth-button-label] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-button-mark {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(216, 135, 66, 0.52);
}

.auth-button.is-authenticated .auth-button-mark {
  width: 7px;
  height: 7px;
  background: var(--accent-strong);
  box-shadow: 0 0 7px rgba(242, 177, 94, 0.36);
}

.auth-logout {
  border: 1px solid rgba(246, 241, 233, 0.16);
  background: rgba(246, 241, 233, 0.045);
  color: rgba(246, 241, 233, 0.7);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.auth-logout:hover {
  background: rgba(246, 241, 233, 0.075);
  color: rgba(246, 241, 233, 0.86);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(470px, 0.62fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
  width: min(1240px, calc(100% - 48px));
  min-height: calc(100dvh - 58px);
  margin: 0 auto;
  padding: 6px 0 14px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  max-width: 690px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: rgba(246, 241, 233, 0.62);
}

.hero-lead {
  max-width: 55ch;
  margin: 10px 0 0;
  color: rgba(246, 241, 233, 0.78);
  font-size: 15px;
  line-height: 1.38;
}

.hotel-system {
  position: relative;
  max-width: 700px;
  margin: 10px 0 0;
  padding: 8px 10px 10px;
  border: 1px solid rgba(246, 241, 233, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 2%, rgba(255, 185, 64, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(246, 241, 233, 0.08), rgba(246, 241, 233, 0.02)),
    rgba(18, 16, 14, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.management-sun {
  position: relative;
  z-index: 0;
  display: grid;
  place-items: center;
  width: min(220px, 100%);
  min-height: 46px;
  margin: 0 auto 8px;
  padding: 8px 28px;
  border: 1px solid rgba(255, 204, 111, 0.72);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 221, 143, 0.3), rgba(216, 135, 66, 0.1) 54%, rgba(18, 16, 14, 0.92) 56%),
    linear-gradient(90deg, rgba(255, 159, 46, 0.52), rgba(246, 241, 233, 0.12), rgba(255, 159, 46, 0.46));
  box-shadow:
    0 0 22px rgba(255, 159, 46, 0.38),
    0 0 42px rgba(242, 177, 94, 0.18),
    inset 0 0 18px rgba(255, 229, 170, 0.18);
}

.management-sun::before {
  position: absolute;
  inset: -9px -18px;
  z-index: -1;
  content: "";
  border-radius: inherit;
  background:
    radial-gradient(ellipse at center, rgba(255, 220, 136, 0.8), rgba(255, 159, 46, 0.44) 42%, transparent 64%);
  filter: blur(5px);
  opacity: 0.95;
}

.management-sun::after {
  position: absolute;
  inset: 8px 18px;
  z-index: -1;
  content: "";
  border-radius: inherit;
  background: rgba(30, 25, 20, 0.44);
  box-shadow:
    0 0 16px rgba(18, 16, 14, 0.42),
    inset 0 0 20px rgba(246, 241, 233, 0.06);
}

.management-sun span {
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
}

.management-logo-img {
  display: block;
  width: 128px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.26));
}

.hotel-rays {
  display: block;
  width: 100%;
  height: 32px;
  margin: 0 0 1px;
  overflow: visible;
  pointer-events: none;
}

.hotel-rays path {
  fill: none;
  stroke: rgba(255, 204, 111, 0.58);
  stroke-width: 1.15;
  stroke-linecap: round;
  filter: drop-shadow(0 0 7px rgba(255, 185, 64, 0.26));
}

.hotel-rays polygon {
  fill: rgba(255, 204, 111, 0.74);
  filter: drop-shadow(0 0 7px rgba(255, 185, 64, 0.28));
}

.hotel-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 3px;
}

.hotel-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 126px;
  padding: 8px;
  border: 1px solid rgba(246, 241, 233, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(246, 241, 233, 0.075), rgba(246, 241, 233, 0.024)),
    rgba(18, 16, 14, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hotel-card.is-closed {
  align-content: center;
  gap: 0;
  border-color: rgba(255, 185, 64, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 185, 64, 0.1), rgba(246, 241, 233, 0.02)),
    rgba(18, 16, 14, 0.46);
}

.hotel-logo {
  display: grid;
  grid-template-rows: 58px 17px;
  align-content: center;
  align-items: center;
  justify-items: center;
  row-gap: 6px;
  width: 100%;
  min-height: 108px;
  padding: 9px 7px 8px;
  border: 1px solid rgba(246, 241, 233, 0.1);
  border-radius: 8px;
  background: rgba(246, 241, 233, 0.045);
  color: var(--paper);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, filter 180ms ease, transform 180ms ease;
}

.hotel-logo--stars {
  grid-template-rows: 58px 17px;
  align-content: center;
}

.hotel-logo--stars::after {
  display: block;
  grid-row: 2;
  width: 1px;
  height: 15px;
  content: "";
}

.hotel-logo:hover {
  border-color: rgba(242, 177, 94, 0.38);
  background: rgba(246, 241, 233, 0.065);
  filter: drop-shadow(0 0 12px rgba(255, 185, 64, 0.22));
  transform: translateY(-1px);
}

.hotel-logo:active {
  transform: translateY(0) scale(0.99);
}

.hotel-card.is-closed .hotel-logo {
  min-height: 108px;
  padding: 9px 7px 8px;
}

.hotel-brand-logo {
  display: block;
  grid-row: 1;
  justify-self: center;
  align-self: center;
  width: min(136px, 94%);
  max-height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.24));
}

.hotel-brand-logo--stars {
  width: min(136px, 94%);
}

.hotel-place-name {
  display: block;
  grid-row: 2;
  align-self: end;
  margin-top: 0;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-style: italic;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.36);
}

.hotel-place-name--long {
  font-size: 13px;
}

.closed-badge {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  max-width: 100%;
  padding: 3px 5px;
  border: 1px solid rgba(255, 185, 64, 0.38);
  border-radius: 999px;
  background: rgba(18, 16, 14, 0.88);
  color: rgba(255, 218, 148, 0.96);
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.product-lockup {
  max-width: 700px;
  margin: 8px 0 0;
  height: 120px;
  padding: 8px 12px 6px;
  border: 1px solid rgba(246, 241, 233, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(246, 241, 233, 0.07), rgba(246, 241, 233, 0.02)),
    rgba(18, 16, 14, 0.32);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.branch-label {
  color: rgba(255, 218, 148, 0.92);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-shadow:
    0 0 10px rgba(255, 185, 64, 0.42),
    0 0 22px rgba(242, 177, 94, 0.22);
  text-transform: uppercase;
}

.product-link {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0;
  width: min(186px, 100%);
  height: 100%;
  margin: 0 auto;
  color: var(--paper);
  text-decoration: none;
  transform: translateY(-8px);
  transition: transform 180ms ease, filter 180ms ease;
}

.product-link:hover {
  filter: drop-shadow(0 12px 24px rgba(242, 177, 94, 0.16));
  transform: translateY(-9px);
}

.product-link:active {
  transform: translateY(-8px) scale(0.99);
}

.product-arrow {
  width: 1px;
  height: 12px;
  background: rgba(246, 241, 233, 0.76);
  position: relative;
}

.product-arrow::after {
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 10px;
  height: 10px;
  content: "";
  border-right: 2px solid rgba(246, 241, 233, 0.76);
  border-bottom: 2px solid rgba(246, 241, 233, 0.76);
  transform: translateX(-50%) rotate(45deg);
}

.product-link img {
  display: block;
  width: 158px;
  height: auto;
  max-height: 82px;
  object-fit: contain;
}

.quote-panel {
  position: relative;
  border: 1px solid rgba(246, 241, 233, 0.2);
  border-radius: 8px;
  background: rgba(28, 24, 20, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  padding: 10px;
}

.soltari-badge {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 7px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 159, 46, 0.26);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 42%, rgba(255, 159, 46, 0.22), transparent 36%),
    linear-gradient(90deg, rgba(19, 11, 7, 0.72), rgba(59, 27, 12, 0.34));
  overflow: hidden;
}

.soltari-badge img {
  display: block;
  width: 160px;
  height: 104px;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 24px rgba(255, 149, 38, 0.16));
}

.bar-calculator-trigger {
  min-height: 48px;
  border: 1px solid rgba(255, 211, 128, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 200, 93, 0.2), rgba(58, 35, 18, 0.62));
  color: #ffe0a1;
  cursor: pointer;
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  padding: 10px 12px;
  text-align: left;
  text-transform: uppercase;
  transition: border-color 160ms ease, transform 160ms ease, filter 160ms ease;
}

.bar-calculator-trigger:hover {
  border-color: rgba(255, 218, 143, 0.72);
  filter: brightness(1.06);
}

.bar-calculator-trigger:active {
  transform: translateY(1px);
}

.panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
}

.panel-heading p,
.panel-heading strong {
  margin: 0;
}

.panel-heading p {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.panel-heading strong {
  font-family: var(--font-display);
  font-size: 20px;
}

form {
  display: grid;
  gap: 4px;
}

.split-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.agent-volume-fields {
  grid-template-columns: minmax(0, 1fr) minmax(72px, 0.42fr) minmax(0, 1.08fr);
}

.rooms-field input {
  text-align: center;
}

.rate-fields.is-net {
  grid-template-columns: 1fr;
}

.request-fields.is-for-quotation {
  grid-template-columns: 1fr;
}

.auxiliary-fields {
  grid-template-columns: 1fr 1fr;
}

.commission-field[hidden] {
  display: none;
}

.quotation-type-field[hidden] {
  display: none;
}

.field {
  display: grid;
  gap: 2px;
}

label {
  color: rgba(246, 241, 233, 0.82);
  font-size: 12px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 31px;
  border: 1px solid rgba(246, 241, 233, 0.18);
  border-radius: 8px;
  background: rgba(246, 241, 233, 0.08);
  color: var(--paper);
  outline: none;
  padding: 6px 10px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

select option {
  color: var(--ink);
}

input:focus,
select:focus {
  border-color: rgba(242, 177, 94, 0.78);
  background: rgba(246, 241, 233, 0.12);
}

input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: rgba(255, 177, 164, 0.82);
}

.field-error {
  min-height: 0;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.25;
}

.submit-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 2px;
  border: 0;
  border-radius: 8px;
  background: var(--accent-strong);
  color: #1d1309;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, filter 180ms ease;
}

.submit-button:hover {
  filter: brightness(1.04);
}

.submit-button:active {
  transform: translateY(1px) scale(0.99);
}

.submit-button[disabled] {
  cursor: wait;
  opacity: 0.76;
}

.button-loader {
  position: absolute;
  right: 18px;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(29, 19, 9, 0.22);
  border-top-color: #1d1309;
  border-radius: 999px;
  opacity: 0;
  animation: spin 800ms linear infinite;
}

.submit-button.is-loading .button-loader {
  opacity: 1;
}

.form-status {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

.bar-calculator-dialog {
  width: min(560px, calc(100% - 28px));
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--paper);
}

.bar-calculator-dialog::backdrop {
  background: rgba(12, 9, 7, 0.74);
  backdrop-filter: blur(7px);
}

.bar-calculator-surface {
  position: relative;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 202, 112, 0.26);
  border-radius: 8px;
  background: rgba(27, 21, 16, 0.96);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.bar-dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(246, 241, 233, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(246, 241, 233, 0.86);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.bar-calculator-heading {
  display: grid;
  gap: 3px;
  padding-right: 40px;
}

.bar-calculator-heading p {
  margin: 0;
  color: rgba(255, 207, 128, 0.72);
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bar-calculator-heading h2 {
  margin: 0;
  font-size: 19px;
  letter-spacing: 0;
}

.bar-calculator-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 10px;
}

.bar-fetch-button,
.bar-apply-button,
.bar-cancel-button {
  min-height: 38px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.bar-fetch-button,
.bar-apply-button {
  border: 0;
  background: linear-gradient(135deg, #f7c15a, #d9822b);
  color: #211309;
}

.bar-fetch-button[disabled],
.bar-apply-button[disabled] {
  cursor: wait;
  opacity: 0.62;
}

.bar-cancel-button {
  border: 1px solid rgba(246, 241, 233, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(246, 241, 233, 0.84);
}

.bar-rate-result {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(246, 241, 233, 0.14);
  border-radius: 8px;
}

.bar-rate-result div,
.bar-final-rate {
  display: grid;
  gap: 5px;
  min-width: 0;
  background: rgba(255, 255, 255, 0.055);
  padding: 10px;
}

.bar-rate-result span,
.bar-final-rate span {
  color: rgba(246, 241, 233, 0.58);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.bar-rate-result strong,
.bar-final-rate strong {
  min-width: 0;
  color: #fff3d2;
  font-size: 18px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.bar-discount-row {
  display: grid;
  grid-template-columns: minmax(100px, 0.55fr) minmax(0, 1fr);
  gap: 10px;
}

.bar-final-rate {
  border: 1px solid rgba(246, 241, 233, 0.14);
  border-radius: 8px;
}

.bar-rate-meta {
  color: rgba(246, 241, 233, 0.68);
  font-size: 12px;
  line-height: 1.35;
}

.bar-calculator-status {
  min-height: 18px;
  margin: 0;
  color: rgba(246, 241, 233, 0.68);
  font-size: 13px;
  line-height: 1.35;
}

.bar-calculator-status.error {
  color: var(--danger);
}

.bar-calculator-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.auth-dialog {
  width: min(520px, calc(100% - 28px));
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--paper);
}

.auth-dialog::backdrop {
  background:
    linear-gradient(180deg, rgba(2, 10, 12, 0.68), rgba(13, 8, 6, 0.86)),
    rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(8px);
}

.auth-surface {
  position: relative;
  display: grid;
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(118, 226, 207, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(118, 226, 207, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(118, 226, 207, 0.08) 1px, transparent 1px),
    linear-gradient(145deg, rgba(10, 26, 25, 0.98), rgba(26, 18, 14, 0.98));
  background-size: 44px 44px, 44px 44px, auto;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 20px;
}

.auth-surface::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(246, 241, 233, 0.05), rgba(246, 241, 233, 0.05) 1px, transparent 1px, transparent 6px);
  opacity: 0.24;
}

.auth-gridline {
  position: absolute;
  left: 0;
  right: 0;
  top: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(118, 226, 207, 0.72), transparent);
}

.auth-dialog-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(118, 226, 207, 0.24);
  border-radius: 8px;
  background: rgba(3, 18, 18, 0.68);
  color: rgba(216, 255, 246, 0.88);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.auth-heading,
.auth-form {
  position: relative;
  z-index: 1;
}

.auth-heading {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding-right: 38px;
}

.auth-heading img {
  display: block;
  width: 140px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.34));
}

.auth-heading p {
  margin: 0 0 4px;
  color: rgba(118, 226, 207, 0.78);
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-heading h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-field {
  display: grid;
  gap: 6px;
}

.auth-field label {
  color: rgba(216, 255, 246, 0.74);
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-field input {
  min-height: 44px;
  border-color: rgba(118, 226, 207, 0.28);
  background: rgba(4, 17, 17, 0.74);
  color: #eafff9;
  font-family: "JetBrains Mono", "Consolas", monospace;
}

.auth-field input:focus {
  border-color: rgba(118, 226, 207, 0.86);
  background: rgba(4, 24, 24, 0.86);
}

.auth-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.auth-submit,
.auth-forgot {
  min-height: 40px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.auth-submit {
  border: 0;
  background: linear-gradient(135deg, #76e2cf, #f2b15e);
  color: #11110d;
}

.auth-submit[disabled] {
  cursor: wait;
  opacity: 0.68;
}

.auth-forgot {
  border: 1px solid rgba(246, 241, 233, 0.16);
  background: rgba(246, 241, 233, 0.06);
  color: rgba(246, 241, 233, 0.84);
  padding: 0 12px;
}

.auth-status {
  min-height: 18px;
  margin: 0;
  color: rgba(216, 255, 246, 0.72);
  font-size: 13px;
  line-height: 1.4;
}

.auth-status.error {
  color: var(--danger);
}

.auth-status.success {
  color: var(--success);
}

.access-toast {
  position: fixed;
  z-index: 20;
  right: 20px;
  bottom: 20px;
  max-width: min(360px, calc(100vw - 40px));
  border: 1px solid rgba(255, 177, 164, 0.42);
  border-radius: 8px;
  background: rgba(26, 13, 12, 0.94);
  color: #ffd8d2;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  padding: 13px 16px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.access-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ops-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 1px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--line);
}

.ops-band div {
  min-height: 130px;
  padding: 22px;
  background: rgba(18, 16, 14, 0.78);
}

.metric {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 13px;
}

.ops-band p {
  max-width: 34ch;
  margin: 0;
  color: rgba(246, 241, 233, 0.76);
  line-height: 1.5;
}

.privacy-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0 88px;
}

.privacy-strip h2 {
  max-width: 640px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.05;
}

.privacy-strip p {
  max-width: 68ch;
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.ops-body {
  min-width: 0;
  min-height: 100dvh;
  background:
    linear-gradient(135deg, rgba(18, 16, 14, 0.98), rgba(36, 23, 16, 0.92) 52%, rgba(18, 16, 14, 0.98)),
    #12100e;
}

.ops-body::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(246, 241, 233, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 241, 233, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 86%);
}

.ops-shell {
  position: relative;
  width: min(1440px, calc(100% - 36px));
  min-height: 100dvh;
  margin: 0 auto;
  padding: 12px 0 32px;
}

.quotation-desk {
  display: flex;
  flex-direction: column;
}

.ops-topbar {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(220px, 420px) minmax(260px, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
}

.ops-brand,
.ops-muse-strip,
.ops-nav {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  border: 1px solid rgba(216, 135, 66, 0.28);
  border-radius: 8px;
  background: rgba(18, 16, 14, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ops-brand {
  display: grid;
  place-items: center;
  padding: 8px 14px;
}

.ops-brand img {
  display: block;
  width: min(180px, 100%);
  height: auto;
  object-fit: contain;
}

.ops-muse-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
}

.ops-muse-strip img {
  display: block;
  width: 100%;
  max-height: 34px;
  object-fit: contain;
}

.ops-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px;
}

.ops-nav a {
  min-height: 34px;
  border: 1px solid rgba(246, 241, 233, 0.12);
  border-radius: 8px;
  color: rgba(246, 241, 233, 0.84);
  text-decoration: none;
  padding: 8px 12px;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.ops-nav a:hover {
  border-color: rgba(242, 177, 94, 0.5);
  background: rgba(216, 135, 66, 0.14);
}

.ops-nav a:active {
  transform: translateY(1px);
}

.ops-hero {
  position: relative;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
  border: 1px solid rgba(255, 159, 46, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(18, 16, 14, 0.72), rgba(53, 28, 15, 0.48)),
    rgba(18, 16, 14, 0.52);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  padding: 22px;
}

.ops-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 190, 92, 0.72), transparent);
}

.solar-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 128px;
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(18, 16, 14, 0.94) 0 46%, transparent 47%),
    conic-gradient(from 40deg, rgba(255, 159, 46, 0.1), rgba(255, 205, 118, 0.72), rgba(216, 135, 66, 0.18), rgba(255, 205, 118, 0.66), rgba(255, 159, 46, 0.1));
  box-shadow: 0 0 42px rgba(255, 159, 46, 0.18);
}

.solar-mark img {
  display: block;
  width: 72px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 182, 89, 0.28));
}

.ops-kicker {
  margin: 0 0 7px;
  color: rgba(255, 205, 118, 0.72);
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ops-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
}

.ops-lead {
  max-width: 68ch;
  margin: 10px 0 0;
  color: rgba(246, 241, 233, 0.72);
  line-height: 1.5;
}

.quote-signal {
  display: grid;
  place-items: center;
  min-width: 116px;
  min-height: 86px;
  border: 1px solid rgba(189, 230, 199, 0.28);
  border-radius: 8px;
  background: rgba(19, 44, 31, 0.34);
  color: var(--success);
}

.quote-signal span {
  color: rgba(246, 241, 233, 0.66);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.quote-signal strong {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}

.quote-toolbar,
.manager-stats-panel,
.quote-stats-panel {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.quote-toolbar {
  grid-template-columns: 210px minmax(220px, 1fr) 44px;
}

.quote-mobile-switcher {
  display: none;
}

.quote-toolbar label,
.manager-stats-panel div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.quote-toolbar input,
.quote-toolbar select,
.quote-stats-panel select,
.quote-response-form input,
.quote-response-form select,
.quote-response-form textarea {
  min-height: 38px;
  border-color: rgba(216, 135, 66, 0.24);
  background: rgba(246, 241, 233, 0.075);
}

.quote-stats-panel {
  order: 5;
  border: 1px solid rgba(255, 159, 46, 0.22);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 159, 46, 0.08), transparent 42%),
    rgba(18, 16, 14, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.quote-stats-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.72fr);
  gap: 18px;
  align-items: end;
}

.quote-stats-head span {
  display: block;
  color: rgba(255, 205, 118, 0.72);
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-stats-head strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
}

.quote-stats-head p {
  margin: 0;
  color: rgba(246, 241, 233, 0.64);
  font-size: 13px;
  line-height: 1.45;
}

.quote-stats-controls {
  display: grid;
  grid-template-columns: 170px minmax(180px, 1fr) 112px minmax(180px, 1fr) 112px;
  gap: 10px;
  align-items: end;
}

.quote-stats-controls label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: rgba(246, 241, 233, 0.58);
  font-size: 12px;
  font-weight: 700;
}

.quote-report-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid rgba(255, 190, 92, 0.36);
  border-radius: 8px;
  background: rgba(255, 159, 46, 0.12);
  color: rgba(255, 239, 210, 0.9);
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.quote-report-button:hover {
  border-color: rgba(255, 205, 118, 0.7);
  background: rgba(255, 159, 46, 0.2);
}

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

.icon-download {
  position: relative;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 3px 3px;
}

.icon-download::before,
.icon-download::after {
  position: absolute;
  left: 50%;
  content: "";
}

.icon-download::before {
  top: -9px;
  width: 2px;
  height: 11px;
  background: currentColor;
  transform: translateX(-50%);
}

.icon-download::after {
  top: -1px;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}

.quote-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quote-stats-grid div {
  border: 1px solid rgba(246, 241, 233, 0.1);
  border-radius: 8px;
  padding: 12px;
  background: rgba(246, 241, 233, 0.055);
}

.quote-stats-grid span,
.quote-stats-grid small {
  display: block;
  color: rgba(246, 241, 233, 0.6);
  font-size: 12px;
}

.quote-stats-grid strong {
  display: block;
  margin: 6px 0 4px;
  color: rgba(255, 236, 197, 0.96);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
}

.quote-response-form textarea {
  width: 100%;
  resize: vertical;
}

.icon-button {
  display: grid;
  place-items: center;
  align-self: end;
  width: 44px;
  height: 38px;
  border: 1px solid rgba(216, 135, 66, 0.36);
  border-radius: 8px;
  background: rgba(216, 135, 66, 0.12);
  color: var(--accent-strong);
  cursor: pointer;
}

.icon-refresh {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-left-color: transparent;
  border-radius: 999px;
}

.manager-stats-panel {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.manager-stats-panel div {
  min-height: 74px;
  border: 1px solid rgba(246, 241, 233, 0.12);
  border-radius: 8px;
  background: rgba(18, 16, 14, 0.46);
  padding: 13px 15px;
}

.manager-stats-panel span {
  color: rgba(246, 241, 233, 0.58);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.manager-stats-panel strong {
  color: var(--accent-strong);
  font-family: var(--font-display);
  font-size: 24px;
}

.quote-workspace {
  order: 4;
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.quote-list-column,
.quote-detail-panel {
  min-height: 560px;
  border: 1px solid rgba(246, 241, 233, 0.14);
  border-radius: 8px;
  background: rgba(18, 16, 14, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.quote-list-column {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.quote-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  border-bottom: 1px solid rgba(246, 241, 233, 0.1);
  padding: 13px 15px;
}

.quote-list-head span {
  color: rgba(246, 241, 233, 0.68);
  font-weight: 800;
  text-transform: uppercase;
}

.quote-list-head strong {
  color: var(--accent-strong);
  font-family: var(--font-display);
}

.quote-list {
  display: grid;
  align-content: start;
  gap: 8px;
  overflow: auto;
  padding: 10px;
}

.quote-card {
  position: relative;
  display: grid;
  grid-auto-rows: min-content;
  align-content: start;
  gap: 7px;
  width: 100%;
  min-height: 122px;
  height: auto;
  border: 1px solid rgba(246, 241, 233, 0.12);
  border-radius: 8px;
  background: rgba(246, 241, 233, 0.055);
  color: var(--paper);
  cursor: pointer;
  padding: 13px;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.quote-card:hover,
.quote-card.is-active {
  border-color: rgba(242, 177, 94, 0.6);
  background: rgba(216, 135, 66, 0.12);
}

.quote-card:active {
  transform: translateY(1px);
}

.quote-card.is-unread::before {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 18px rgba(189, 230, 199, 0.64);
  content: "";
}

.quote-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: auto;
  max-width: calc(100% - 28px);
}

.quote-card-status,
.quote-card-number {
  border: 1px solid rgba(255, 205, 118, 0.28);
  border-radius: 999px;
  color: rgba(255, 205, 118, 0.82);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  text-transform: uppercase;
}

.quote-card-number {
  border-color: rgba(216, 135, 66, 0.38);
  background: rgba(255, 159, 46, 0.1);
  color: rgba(255, 236, 197, 0.92);
  font-family: var(--font-display);
  letter-spacing: 0;
}

.quote-card strong {
  min-width: 0;
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.quote-card span {
  min-width: 0;
  color: rgba(246, 241, 233, 0.68);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.quote-card .quote-card-status {
  color: rgba(255, 205, 118, 0.82);
}

.quote-card .quote-card-number {
  color: rgba(255, 236, 197, 0.92);
}

.quote-card-request-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 205, 118, 0.72);
  font-size: 12px;
}

.quote-card-request-date .quote-icon {
  width: 14px;
  height: 14px;
}

.quote-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.quote-card-customer {
  display: block;
  max-width: 100%;
}

.quote-icon {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.quote-detail-panel {
  overflow: auto;
  padding: 16px;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 520px;
  color: rgba(246, 241, 233, 0.72);
  text-align: center;
}

.empty-state h2 {
  margin: 16px 0 8px;
  font-family: var(--font-display);
}

.empty-state p {
  max-width: 38ch;
  margin: 0;
  line-height: 1.5;
}

.empty-sun {
  width: 70px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 205, 118, 0.6);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(18, 16, 14, 0.94) 0 45%, transparent 46%),
    conic-gradient(rgba(216, 135, 66, 0.14), rgba(255, 205, 118, 0.74), rgba(216, 135, 66, 0.14));
}

.quote-detail-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(246, 241, 233, 0.11);
  padding-bottom: 14px;
}

.quote-detail-head h2,
.quote-detail-head p {
  margin: 0;
}

.quote-detail-head h2 {
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1.12;
}

.quote-detail-head span {
  color: rgba(255, 205, 118, 0.76);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.quote-detail-head p {
  margin-top: 8px;
  color: rgba(246, 241, 233, 0.68);
}

.quote-detail-head select {
  width: 190px;
  min-width: 150px;
}

.quote-facts-grid,
.response-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.quote-fact {
  display: grid;
  grid-template-columns: 22px minmax(90px, 0.75fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 48px;
  border: 1px solid rgba(246, 241, 233, 0.1);
  border-radius: 8px;
  background: rgba(246, 241, 233, 0.045);
  padding: 9px 11px;
}

.quote-fact .quote-icon {
  color: var(--accent-strong);
}

.quote-fact span {
  color: rgba(246, 241, 233, 0.58);
  font-size: 12px;
  font-weight: 800;
}

.quote-fact strong {
  min-width: 0;
  color: rgba(246, 241, 233, 0.92);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.latest-response {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid rgba(255, 205, 118, 0.42);
  border-radius: 8px;
  background:
    url("/yellow-shore.png?v=quote-response-sunframe-20260611b") right 16px center / auto calc(100% - 30px) no-repeat,
    linear-gradient(90deg, rgba(18, 16, 14, 0.94) 0%, rgba(54, 31, 14, 0.72) 42%, rgba(18, 16, 14, 0.2) 100%),
    radial-gradient(circle at 78% 52%, rgba(255, 205, 118, 0.22), transparent 42%),
    rgba(18, 16, 14, 0.66);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 178, 0.1),
    0 18px 52px rgba(0, 0, 0, 0.22);
  min-height: 246px;
  padding: 20px clamp(260px, 38%, 430px) 22px 20px;
}

.latest-response::before {
  display: none;
  content: "";
}

.latest-response::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 205, 118, 0.72), transparent);
  content: "";
}

.latest-response--waiting {
  border-color: rgba(255, 205, 118, 0.22);
  background: linear-gradient(135deg, rgba(72, 42, 18, 0.3), rgba(18, 16, 14, 0.4));
}

.latest-response span {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(255, 205, 118, 0.24);
  border-radius: 999px;
  background: rgba(255, 205, 118, 0.08);
  color: rgba(255, 218, 142, 0.86);
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 6px 10px;
  text-transform: uppercase;
}

.latest-response > strong {
  display: block;
  margin-top: 12px;
  color: #ffd678;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.02;
  overflow-wrap: normal;
  text-shadow: 0 0 22px rgba(255, 180, 72, 0.22);
  word-break: keep-all;
}

.latest-response--manager {
  min-height: 0;
  background:
    linear-gradient(135deg, rgba(70, 42, 22, 0.72), rgba(19, 15, 12, 0.94)),
    rgba(18, 16, 14, 0.72);
  padding: 18px 22px 20px;
}

.latest-response--manager .response-mini-grid {
  gap: 8px;
  margin-top: 14px;
}

.latest-response--manager .quote-fact {
  grid-template-columns: 18px minmax(72px, 0.58fr) minmax(0, 1fr);
  gap: 7px;
  min-height: 40px;
  padding: 7px 9px;
}

.latest-response--manager .quote-fact span {
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

.latest-response--manager .quote-fact strong {
  font-size: 13px;
  line-height: 1.18;
}

.latest-response p {
  max-width: 68ch;
  margin: 10px 0 0;
  color: rgba(255, 246, 226, 0.84);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.quote-response-form {
  display: grid;
  gap: 11px;
  margin-top: 14px;
  border-top: 1px solid rgba(246, 241, 233, 0.11);
  padding-top: 14px;
}

.quote-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quote-check {
  align-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid rgba(216, 135, 66, 0.24);
  border-radius: 8px;
  background: rgba(246, 241, 233, 0.075);
  padding: 8px 10px;
}

.quote-check input {
  width: 18px;
  min-height: 18px;
}

.quote-primary-button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--accent-strong);
  color: #1d1309;
  cursor: pointer;
  font-weight: 900;
}

.quote-primary-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.quote-detail-stats-slot {
  margin-top: 14px;
}

.quote-detail-panel .quote-stats-panel {
  order: initial;
  margin-top: 0;
  border-color: rgba(255, 190, 92, 0.3);
  background:
    linear-gradient(135deg, rgba(255, 159, 46, 0.1), transparent 36%),
    rgba(18, 16, 14, 0.48);
}

.quote-detail-panel .quote-stats-head {
  grid-template-columns: minmax(0, 0.82fr) minmax(220px, 1fr);
}

.quote-detail-panel .quote-stats-controls {
  grid-template-columns: minmax(150px, 0.85fr) minmax(220px, 1fr) 124px;
}

.quote-detail-panel .quote-stats-controls label:nth-of-type(3) {
  grid-column: 1 / span 2;
}

.quote-detail-panel .quote-stats-controls [data-company-report] {
  grid-column: 3;
}

.quote-detail-panel .quote-report-button {
  justify-self: end;
  width: 124px;
  min-width: 124px;
  max-width: 124px;
}

.quote-empty-row {
  border: 1px dashed rgba(246, 241, 233, 0.16);
  border-radius: 8px;
  color: rgba(246, 241, 233, 0.64);
  padding: 18px;
  text-align: center;
}

.ops-toast {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 20px;
  width: min(380px, calc(100vw - 40px));
  border: 1px solid rgba(255, 205, 118, 0.38);
  border-radius: 8px;
  background: rgba(21, 15, 10, 0.94);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  color: var(--paper);
  font-weight: 800;
  padding: 14px 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.ops-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.crm-desk {
  display: flex;
  flex-direction: column;
}

.crm-hero {
  background:
    radial-gradient(circle at 88% 30%, rgba(255, 205, 118, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(18, 16, 14, 0.78), rgba(53, 28, 15, 0.5)),
    rgba(18, 16, 14, 0.56);
}

.crm-logo-mark {
  display: grid;
  place-items: center;
  min-width: 128px;
}

.crm-logo-mark img {
  display: block;
  width: min(124px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(255, 176, 64, 0.36));
}

.crm-signal {
  border-color: rgba(255, 205, 118, 0.28);
  background: rgba(62, 38, 18, 0.34);
  color: rgba(255, 224, 158, 0.96);
}

.crm-manager-profile {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid rgba(255, 205, 118, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 94% 12%, rgba(255, 205, 118, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(42, 25, 14, 0.62), rgba(15, 14, 13, 0.74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  padding: 14px;
}

.crm-manager-profile[hidden] {
  display: none;
}

.crm-manager-profile > header,
.crm-manager-profile footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.crm-manager-profile > header span {
  color: rgba(255, 205, 118, 0.72);
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crm-manager-profile h2 {
  margin: 4px 0 0;
  color: rgba(255, 248, 235, 0.98);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.crm-manager-profile button {
  border: 1px solid rgba(255, 205, 118, 0.34);
  border-radius: 8px;
  background: rgba(255, 159, 46, 0.12);
  color: rgba(255, 224, 158, 0.96);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.crm-manager-profile > header button {
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
}

.crm-manager-profile footer button {
  min-height: 38px;
  padding: 9px 14px;
}

.crm-manager-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.crm-manager-stats div,
.crm-manager-stage-line span,
.crm-manager-deals article {
  border: 1px solid rgba(246, 241, 233, 0.1);
  border-radius: 8px;
  background: rgba(246, 241, 233, 0.052);
}

.crm-manager-stats div {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 11px;
}

.crm-manager-stats span {
  color: rgba(246, 241, 233, 0.54);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-manager-stats strong {
  color: rgba(255, 239, 210, 0.98);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  white-space: nowrap;
}

.crm-manager-stage-line {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.crm-manager-stage-line span {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  min-width: 120px;
  color: rgba(246, 241, 233, 0.72);
  font-size: 11px;
  font-weight: 850;
  padding: 8px;
}

.crm-manager-stage-line i {
  width: 9px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: var(--stage-color);
}

.crm-manager-stage-line strong {
  color: rgba(255, 224, 158, 0.96);
}

.crm-manager-deals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.crm-manager-deals article {
  display: grid;
  gap: 5px;
  padding: 10px;
}

.crm-manager-deals span {
  color: rgba(255, 205, 118, 0.72);
  font-size: 11px;
  font-weight: 900;
}

.crm-manager-deals strong {
  color: rgba(255, 248, 235, 0.96);
  font-size: 14px;
  line-height: 1.18;
}

.crm-manager-deals small,
.crm-manager-deals p {
  margin: 0;
  color: rgba(246, 241, 233, 0.58);
  line-height: 1.32;
}

.crm-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  border: 1px solid rgba(216, 135, 66, 0.22);
  border-radius: 8px;
  background: rgba(18, 16, 14, 0.42);
  padding: 6px;
  width: max-content;
  max-width: 100%;
}

.crm-tabs button {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(246, 241, 233, 0.74);
  cursor: pointer;
  font-weight: 850;
  padding: 8px 14px;
}

.crm-tabs button.is-active {
  border-color: rgba(255, 205, 118, 0.38);
  background: rgba(255, 159, 46, 0.13);
  color: rgba(255, 239, 210, 0.96);
}

.crm-toolbar {
  display: grid;
  grid-template-columns: 220px 260px minmax(240px, 1fr) 44px;
  gap: 10px;
  margin-top: 14px;
}

.crm-toolbar label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.crm-toolbar input,
.crm-toolbar select,
.crm-card select,
.crm-amounts input {
  min-height: 38px;
  border-color: rgba(216, 135, 66, 0.24);
  background: rgba(246, 241, 233, 0.075);
}

.crm-view {
  margin-top: 14px;
}

.crm-board {
  display: grid;
  grid-template-columns: repeat(9, minmax(260px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.crm-column {
  min-width: 260px;
  border: 1px solid rgba(246, 241, 233, 0.12);
  border-top-color: color-mix(in srgb, var(--stage-color), white 18%);
  border-radius: 8px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--stage-color), transparent 84%), transparent 38%),
    rgba(18, 16, 14, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.crm-column > header {
  display: grid;
  gap: 8px;
  min-height: 50px;
  border-bottom: 1px solid rgba(246, 241, 233, 0.1);
  padding: 12px;
}

.crm-column-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.crm-column-title span {
  color: rgba(246, 241, 233, 0.84);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.crm-column-title strong {
  display: grid;
  place-items: center;
  min-width: 28px;
  min-height: 28px;
  border: 1px solid rgba(255, 205, 118, 0.3);
  border-radius: 999px;
  color: rgba(255, 224, 158, 0.96);
}

.crm-stage-money {
  display: grid;
  gap: 3px;
  border: 1px solid color-mix(in srgb, var(--stage-color), transparent 62%);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--stage-color), transparent 88%), rgba(255, 205, 118, 0.055)),
    rgba(18, 16, 14, 0.44);
  padding: 8px 9px;
}

.crm-stage-money small {
  color: rgba(246, 241, 233, 0.48);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.crm-stage-money b {
  color: rgba(255, 239, 210, 0.98);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.crm-column-list {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 520px;
  max-height: 66dvh;
  overflow: auto;
  padding: 10px;
}

.crm-card {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(246, 241, 233, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 205, 118, 0.12), transparent 34%),
    rgba(246, 241, 233, 0.055);
  padding: 11px;
}

.crm-card[draggable="true"] {
  cursor: grab;
}

.crm-card.is-dragging {
  opacity: 0.58;
  transform: scale(0.985);
}

.crm-column.is-drop-target {
  border-color: color-mix(in srgb, var(--stage-color), white 42%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--stage-color), transparent 28%), 0 18px 48px rgba(0, 0, 0, 0.32);
}

.crm-column.is-drop-target .crm-column-list {
  background: color-mix(in srgb, var(--stage-color), transparent 92%);
}

.crm-card header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.crm-card header span {
  border: 1px solid rgba(255, 205, 118, 0.28);
  border-radius: 999px;
  color: rgba(255, 224, 158, 0.9);
  font-weight: 900;
  padding: 5px 9px;
}

.crm-card select {
  width: 100%;
  min-height: 32px;
  font-size: 12px;
  padding: 6px 8px;
}

.crm-card strong {
  color: rgba(255, 248, 235, 0.96);
  font-size: 16px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.crm-card p {
  margin: 0;
  color: rgba(246, 241, 233, 0.66);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.crm-card-facts {
  display: grid;
  gap: 6px;
}

.crm-card-facts span,
.crm-card-facts button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  border: 0;
  background: transparent;
  color: rgba(246, 241, 233, 0.68);
  font: inherit;
  font-size: 12px;
  padding: 0;
  text-align: left;
  overflow-wrap: anywhere;
}

.crm-card-facts button {
  cursor: pointer;
  color: rgba(255, 205, 118, 0.8);
  font-weight: 800;
}

.crm-card-money {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 205, 118, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 205, 118, 0.12), rgba(54, 31, 14, 0.22)),
    rgba(18, 16, 14, 0.38);
  padding: 8px 10px;
}

.crm-card-money span,
.crm-card-money small {
  color: rgba(246, 241, 233, 0.52);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-card-money strong {
  color: rgba(255, 224, 128, 0.98);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
}

.crm-card-money.is-fact {
  border-color: rgba(255, 219, 77, 0.5);
  background:
    linear-gradient(135deg, rgba(255, 219, 77, 0.18), rgba(74, 45, 10, 0.24)),
    rgba(18, 16, 14, 0.42);
}

.crm-card-money.is-lost {
  border-color: rgba(255, 132, 92, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 132, 92, 0.12), rgba(34, 21, 17, 0.26)),
    rgba(18, 16, 14, 0.38);
}

.crm-card-money small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: none;
}

.crm-card-money.is-empty strong {
  color: rgba(246, 241, 233, 0.46);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.2;
}

.crm-amounts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 42px;
  gap: 6px;
  align-items: end;
  border-top: 1px solid rgba(246, 241, 233, 0.1);
  padding-top: 8px;
}

.crm-amounts label {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: rgba(246, 241, 233, 0.58);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-amounts input {
  min-width: 0;
  min-height: 32px;
  font-size: 12px;
  padding: 7px 8px;
}

.crm-amounts label.is-disabled {
  opacity: 0.55;
}

.crm-amounts input:disabled {
  cursor: not-allowed;
  background: rgba(246, 241, 233, 0.05);
  color: rgba(246, 241, 233, 0.38);
}

.crm-amounts button {
  min-height: 32px;
  border: 1px solid rgba(255, 205, 118, 0.38);
  border-radius: 8px;
  background: rgba(255, 159, 46, 0.14);
  color: rgba(255, 224, 158, 0.96);
  cursor: pointer;
  font-weight: 900;
}

.crm-empty-column {
  display: grid;
  place-items: center;
  min-height: 86px;
  border: 1px dashed rgba(246, 241, 233, 0.12);
  border-radius: 8px;
  color: rgba(246, 241, 233, 0.38);
  font-family: var(--font-display);
  font-size: 24px;
}

.crm-profile-shell {
  border: 1px solid rgba(255, 205, 118, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 84% 14%, rgba(255, 205, 118, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(42, 25, 14, 0.58), rgba(15, 14, 13, 0.76));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  padding: 12px;
}

.crm-profile-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(250px, 0.72fr) minmax(240px, 0.52fr);
  align-items: start;
  gap: 10px;
}

.crm-profile-card,
.crm-access-card {
  border: 1px solid rgba(246, 241, 233, 0.11);
  border-radius: 8px;
  background: rgba(246, 241, 233, 0.055);
  padding: 12px;
}

.crm-profile-card--identity {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.crm-profile-photo {
  display: grid;
  place-items: center;
  width: 96px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 205, 118, 0.32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 205, 118, 0.26), transparent 40%),
    rgba(18, 16, 14, 0.72);
  color: rgba(255, 224, 158, 0.98);
  font-family: var(--font-display);
  font-size: 28px;
  overflow: hidden;
}

.crm-profile-photo img {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  object-fit: contain;
  padding: 4px;
}

.crm-profile-card h2 {
  margin: 0;
  color: rgba(255, 248, 235, 0.98);
  font-family: var(--font-display);
  font-size: clamp(30px, 2.65vw, 40px);
  line-height: 1;
}

.crm-profile-card p {
  margin: 8px 0 0;
  color: rgba(246, 241, 233, 0.64);
  line-height: 1.35;
}

.crm-position-pill {
  display: block;
  width: min(100%, 52ch);
  max-width: 52ch;
  border: 0;
  border-radius: 0;
  background: linear-gradient(92deg, #fff3c6 0%, #ffd447 35%, #ff9f2e 74%, #fff0b6 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: #ffd447;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-display);
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 950;
  line-height: 1.12;
  padding: 0;
  filter: drop-shadow(0 0 12px rgba(255, 177, 63, 0.24));
  text-wrap: balance;
}

.crm-photo-upload {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin-top: 12px;
  border: 1px solid rgba(255, 205, 118, 0.28);
  border-radius: 8px;
  background: rgba(255, 159, 46, 0.12);
  color: rgba(255, 224, 158, 0.96);
  cursor: pointer;
  font-weight: 900;
  padding: 8px 11px;
}

.crm-profile-card--contacts {
  display: grid;
  align-content: start;
  gap: 10px;
}

.crm-contact-head h3 {
  margin: 0;
  color: rgba(255, 248, 235, 0.96);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
}

.crm-contact-head .ops-kicker {
  margin-bottom: 6px;
}

.crm-profile-form {
  display: grid;
  gap: 9px;
}

.crm-profile-form label {
  display: grid;
  gap: 6px;
  color: rgba(246, 241, 233, 0.56);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-contact-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.crm-contact-label .quote-icon {
  width: 14px;
  height: 14px;
  color: rgba(255, 205, 118, 0.82);
}

.crm-profile-form input,
.crm-profile-form select {
  min-height: 36px;
  border-color: rgba(216, 135, 66, 0.24);
  background: rgba(246, 241, 233, 0.075);
}

.crm-profile-form textarea {
  min-height: 58px;
  border-color: rgba(216, 135, 66, 0.24);
  background: rgba(246, 241, 233, 0.075);
  resize: vertical;
}

.crm-profile-form button {
  min-height: 36px;
  border: 1px solid rgba(255, 205, 118, 0.36);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 205, 118, 0.22), rgba(216, 135, 66, 0.14));
  color: rgba(255, 239, 210, 0.98);
  cursor: pointer;
  font-weight: 900;
}

.crm-access-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  align-self: start;
  min-height: 150px;
  aspect-ratio: 1.58;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--access-a), var(--access-b)),
    rgba(18, 16, 14, 0.7);
}

.crm-access-card::before {
  position: absolute;
  inset: -34% auto auto 42%;
  width: 220px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  content: "";
  opacity: 0.58;
}

.crm-access-card--white {
  --access-a: rgba(246, 241, 233, 0.18);
  --access-b: rgba(246, 241, 233, 0.05);
}

.crm-access-card--green {
  --access-a: rgba(130, 221, 158, 0.2);
  --access-b: rgba(40, 92, 58, 0.18);
}

.crm-access-card--blue {
  --access-a: rgba(93, 158, 255, 0.22);
  --access-b: rgba(22, 62, 119, 0.22);
}

.crm-access-card--solar {
  --access-a: rgba(255, 230, 72, 0.52);
  --access-b: rgba(255, 168, 34, 0.34);
  border-color: rgba(255, 226, 84, 0.42);
  box-shadow: 0 0 36px rgba(255, 202, 45, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.crm-access-card > div {
  position: relative;
  z-index: 1;
}

.crm-access-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 239, 210, 0.78);
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.crm-access-card strong {
  display: block;
  margin-top: 12px;
  color: rgba(255, 248, 235, 0.98);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}

.crm-access-card p {
  margin: 8px 0 0;
  color: rgba(246, 241, 233, 0.66);
  font-weight: 800;
}

.crm-access-stripes {
  display: flex;
  gap: 5px;
  align-self: start;
}

.crm-access-stripes i {
  width: 8px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 239, 210, 0.84);
  box-shadow: 0 0 18px rgba(255, 205, 118, 0.18);
}

.crm-company-layout {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: 14px;
}

.crm-company-list-panel,
.crm-company-detail,
.crm-stage-analytics,
.crm-manager-analytics,
.crm-metric-card {
  border: 1px solid rgba(246, 241, 233, 0.12);
  border-radius: 8px;
  background: rgba(18, 16, 14, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.crm-company-list {
  display: grid;
  gap: 8px;
  max-height: 68dvh;
  overflow: auto;
  padding: 10px;
}

.crm-company-row {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(246, 241, 233, 0.12);
  border-radius: 8px;
  background: rgba(246, 241, 233, 0.055);
  color: rgba(246, 241, 233, 0.84);
  cursor: pointer;
  padding: 12px;
  text-align: left;
}

.crm-company-row.is-active,
.crm-company-row:hover {
  border-color: rgba(255, 205, 118, 0.48);
  background: rgba(255, 159, 46, 0.1);
}

.crm-company-row span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 900;
}

.crm-company-row strong {
  color: rgba(255, 224, 158, 0.96);
  font-family: var(--font-display);
  font-size: 24px;
}

.crm-company-row small {
  color: rgba(246, 241, 233, 0.58);
}

.crm-company-detail {
  min-height: 520px;
  overflow: auto;
  padding: 16px;
}

.crm-company-head {
  border-bottom: 1px solid rgba(246, 241, 233, 0.11);
  padding-bottom: 14px;
}

.crm-company-head span,
.crm-stage-analytics h2,
.crm-manager-analytics h2 {
  color: rgba(255, 205, 118, 0.72);
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crm-company-head h2 {
  margin: 6px 0;
  font-family: var(--font-display);
  font-size: 28px;
}

.crm-company-head p {
  margin: 0;
  color: rgba(246, 241, 233, 0.66);
}

.crm-company-history {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.crm-history-card {
  border: 1px solid rgba(246, 241, 233, 0.1);
  border-radius: 8px;
  background: rgba(246, 241, 233, 0.045);
  padding: 12px;
}

.crm-history-card span,
.crm-history-card small {
  color: rgba(255, 205, 118, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.crm-history-card strong {
  display: block;
  margin-top: 5px;
  font-size: 17px;
}

.crm-history-card p {
  margin: 6px 0;
  color: rgba(246, 241, 233, 0.66);
}

.crm-analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.crm-metric-card {
  min-height: 118px;
  padding: 16px;
}

.crm-metric-card span {
  color: rgba(246, 241, 233, 0.55);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-metric-card strong {
  display: block;
  margin-top: 12px;
  color: rgba(255, 239, 210, 0.98);
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  white-space: nowrap;
}

.crm-stage-analytics,
.crm-hotel-analytics,
.crm-manager-analytics {
  grid-column: span 2;
  padding: 16px;
}

.crm-stage-analytics h2,
.crm-hotel-analytics h2,
.crm-manager-analytics h2 {
  margin: 0 0 12px;
}

.crm-stage-analytics div,
.crm-hotel-analytics div,
.crm-manager-analytics div {
  display: grid;
  gap: 8px;
}

.crm-stage-analytics span,
.crm-hotel-analytics button,
.crm-manager-analytics button {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(246, 241, 233, 0.1);
  border-radius: 8px;
  background: rgba(246, 241, 233, 0.045);
  color: rgba(246, 241, 233, 0.78);
  padding: 10px;
}

.crm-stage-analytics i {
  width: 10px;
  aspect-ratio: 1;
  border-radius: 999px;
}

.crm-stage-analytics strong {
  color: rgba(255, 224, 158, 0.96);
}

.crm-hotel-analytics header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.crm-hotel-analytics .quote-report-button {
  width: auto;
  min-height: 34px;
  padding: 7px 11px;
  font-size: 13px;
}

.crm-hotel-analytics button {
  grid-template-columns: minmax(0, 1fr);
  cursor: pointer;
  font: inherit;
  text-align: left;
  align-items: stretch;
  padding: 12px;
}

.crm-hotel-analytics button .crm-hotel-name,
.crm-hotel-analytics button small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.crm-hotel-name {
  color: rgba(255, 248, 236, 0.9);
  font-size: 16px;
  font-weight: 650;
}

.crm-hotel-analytics button .crm-hotel-count {
  color: rgba(246, 241, 233, 0.58);
}

.crm-hotel-money-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 4px;
}

.crm-hotel-money {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid rgba(246, 241, 233, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.14);
  padding: 8px;
}

.crm-hotel-money em {
  color: rgba(246, 241, 233, 0.5);
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.crm-hotel-money strong {
  color: rgba(255, 238, 190, 0.92);
  font-size: 14px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.crm-hotel-money--portfolio {
  border-color: rgba(255, 190, 82, 0.34);
  background: linear-gradient(135deg, rgba(255, 183, 76, 0.18), rgba(255, 216, 122, 0.06));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}

.crm-hotel-money--portfolio strong {
  color: rgba(255, 216, 122, 0.98);
  font-size: 15px;
}

.crm-hotel-money--lost strong {
  color: rgba(255, 175, 142, 0.9);
}

.crm-manager-analytics button {
  grid-template-columns: minmax(0, 1fr) auto;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.crm-manager-analytics button span,
.crm-manager-analytics button small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.crm-manager-analytics button strong {
  color: rgba(255, 224, 158, 0.96);
  white-space: nowrap;
}

.crm-manager-analytics button small {
  grid-column: 1 / -1;
  color: rgba(246, 241, 233, 0.56);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .topbar-brand-system {
    grid-column: 1 / -1;
  }

  .topbar-nav {
    justify-content: flex-start;
    justify-self: start;
  }

  .auth-console {
    align-self: start;
  }
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: flex-start;
  }

  .topbar-brand-system {
    grid-template-columns: auto minmax(430px, 1fr);
    width: 100%;
  }

  .topbar-muse-family {
    width: min(520px, 100%);
    min-width: 430px;
  }

  .topbar-nav {
    justify-content: flex-start;
    justify-self: start;
    margin-left: 0;
  }

  .auth-console {
    margin-left: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
  }

  .quote-panel {
    max-width: 680px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .ops-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .topbar {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 16px;
    width: min(1240px, calc(100% - 28px));
  }

  .topbar-brand-system {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .brand {
    align-items: flex-start;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 6px;
  }

  .brand-wordmark {
    min-width: auto;
    text-align: left;
  }

  .brand-wordmark-img {
    width: 176px;
  }

  .topbar-link {
    padding: 10px 12px;
    font-size: 13px;
  }

  .topbar-nav {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 0;
    width: 100%;
    justify-content: flex-start;
    justify-self: start;
  }

  .topbar-menu-trigger {
    width: 54px;
    height: 54px;
  }

  .topbar-menu-panel {
    position: static;
    grid-column: 1 / -1;
    margin-top: 10px;
    left: 0;
    right: auto;
    width: 100%;
    transform-origin: top left;
  }

  .auth-console {
    width: 100%;
    max-width: none;
    justify-self: start;
    justify-content: flex-start;
  }

  .auth-button,
  .auth-logout {
    min-height: 36px;
    font-size: 12px;
  }

  .hero {
    width: min(1240px, calc(100% - 28px));
  }

  h1 {
    font-size: 34px;
  }

  .privacy-strip h2 {
    font-size: 34px;
  }

  .split-fields {
    grid-template-columns: 1fr;
  }

  .topbar-muse-family {
    min-width: 0;
    width: 100%;
    height: auto;
    min-height: 76px;
  }

  .topbar-family-set {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .topbar-family-logo-img {
    width: 128px;
  }

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

  .hotel-card {
    min-height: 136px;
  }

  .hotel-card.is-closed {
    grid-column: 1 / -1;
  }

  .management-sun {
    width: min(240px, 100%);
  }

  .soltari-badge img {
    width: min(150px, 100%);
    height: 118px;
  }

  .soltari-badge,
  .bar-calculator-grid,
  .bar-rate-result,
  .bar-discount-row,
  .bar-calculator-actions,
  .auth-heading,
  .auth-actions {
    grid-template-columns: 1fr;
  }

  .auth-heading {
    padding-right: 34px;
  }

  .bar-calculator-trigger {
    text-align: center;
  }
}

@media (max-width: 1060px) {
  .ops-topbar,
  .quote-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .ops-nav {
    justify-content: flex-start;
  }

  .quote-list-column,
  .quote-detail-panel {
    min-height: auto;
  }

  .quote-list {
    max-height: 420px;
  }
}

@media (max-width: 740px) {
  body {
    min-width: 0;
  }

  .ops-topbar > *,
  .ops-hero > *,
  .crm-desk > *,
  .crm-card,
  .crm-column,
  .crm-profile-shell,
  .crm-manager-profile {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ops-shell {
    width: min(100% - 24px, 1440px);
    padding-top: 10px;
  }

  .ops-muse-strip {
    gap: 7px;
    overflow: hidden;
    padding: 8px 10px;
  }

  .ops-muse-strip img {
    min-width: 0;
  }

  .ops-nav {
    justify-content: flex-start;
    overflow: hidden;
  }

  .ops-nav a {
    min-width: 0;
    white-space: nowrap;
  }

  .ops-hero,
  .quote-toolbar,
  .quote-stats-head,
  .quote-stats-controls,
  .quote-stats-grid,
  .manager-stats-panel,
  .quote-form-row,
  .quote-facts-grid,
  .response-mini-grid {
    grid-template-columns: 1fr;
  }

  .ops-hero {
    gap: 14px;
  }

  .ops-lead {
    overflow-wrap: anywhere;
  }

  .ops-hero h1 {
    font-size: 32px;
  }

  .solar-mark {
    width: 88px;
  }

  .solar-mark img {
    width: 52px;
  }

  .crm-logo-mark {
    min-width: 0;
    justify-content: start;
  }

  .crm-logo-mark img {
    width: 84px;
  }

  .quote-signal {
    justify-items: start;
    min-width: 0;
    min-height: 62px;
    padding: 10px 13px;
  }

  .quote-mobile-switcher {
    position: sticky;
    top: 8px;
    z-index: 30;
    display: grid;
    gap: 8px;
    margin-top: 12px;
    border: 1px solid rgba(255, 159, 46, 0.3);
    border-radius: 8px;
    padding: 8px;
    background:
      radial-gradient(circle at 16% 20%, rgba(255, 205, 118, 0.14), transparent 34%),
      linear-gradient(135deg, rgba(37, 22, 12, 0.96), rgba(17, 14, 12, 0.94));
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
  }

  .quote-mobile-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .quote-mobile-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    min-height: 42px;
    border: 1px solid rgba(255, 205, 118, 0.24);
    border-radius: 8px;
    background: rgba(246, 241, 233, 0.055);
    color: rgba(246, 241, 233, 0.76);
    font-weight: 800;
    cursor: pointer;
  }

  .quote-mobile-tabs button.is-active {
    border-color: rgba(255, 205, 118, 0.68);
    background: linear-gradient(135deg, rgba(255, 205, 118, 0.2), rgba(216, 135, 66, 0.16));
    color: var(--paper);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.045), 0 0 22px rgba(255, 159, 46, 0.16);
  }

  .quote-mobile-tabs strong {
    min-width: 22px;
    border-radius: 999px;
    background: rgba(189, 230, 199, 0.18);
    color: var(--success);
    font-family: var(--font-display);
    line-height: 22px;
    text-align: center;
  }

  .quote-mobile-summary {
    min-width: 0;
    border: 1px solid rgba(246, 241, 233, 0.1);
    border-radius: 8px;
    padding: 8px 10px;
    background: rgba(18, 16, 14, 0.46);
    color: rgba(255, 236, 197, 0.78);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .quotation-desk[data-mobile-view="list"] .quote-detail-panel,
  .quotation-desk[data-mobile-view="quote"] .quote-list-column,
  .quotation-desk[data-mobile-view="stats"] .quote-list-column {
    display: none;
  }

  .quotation-desk[data-mobile-view="quote"] .quote-detail-stats-slot {
    display: none;
  }

  .quotation-desk[data-mobile-view="stats"] .quote-detail-panel > :not(.quote-detail-stats-slot) {
    display: none;
  }

  .quotation-desk[data-mobile-view="stats"] .quote-detail-stats-slot {
    display: block;
  }

  .quotation-desk[data-mobile-view="stats"] .quote-detail-panel {
    min-height: 0;
  }

  .quote-list-column {
    overflow: visible;
  }

  .quote-list {
    max-height: none;
    overflow: visible;
    gap: 10px;
    padding: 10px 8px 12px;
  }

  .quote-card {
    min-height: 0;
    gap: 8px;
    padding: 12px;
  }

  .quote-card-head {
    max-width: 100%;
  }

  .quote-card strong {
    font-size: 15px;
  }

  .quote-card-request-date,
  .quote-card-meta {
    align-items: flex-start;
  }

  .quote-detail-head {
    display: grid;
  }

  .quote-detail-head select {
    width: 100%;
  }

  .quote-fact {
    grid-template-columns: 22px minmax(82px, 0.72fr) minmax(0, 1fr);
  }

  .quote-detail-panel .quote-report-button {
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .quote-detail-panel .quote-stats-head,
  .quote-detail-panel .quote-stats-controls {
    grid-template-columns: 1fr;
  }

  .quote-detail-panel .quote-stats-controls label:nth-of-type(3),
  .quote-detail-panel .quote-stats-controls [data-company-report] {
    grid-column: auto;
  }

  .crm-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
  }

  .crm-tabs button {
    min-width: 0;
    overflow: hidden;
    padding: 8px 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .crm-toolbar,
  .crm-company-layout,
  .crm-analytics-grid,
  .crm-profile-grid {
    grid-template-columns: 1fr;
  }

  .crm-manager-profile {
    padding: 12px;
  }

  .crm-manager-profile > header,
  .crm-manager-profile footer {
    align-items: flex-start;
  }

  .crm-manager-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crm-manager-stats strong {
    font-size: clamp(20px, 7vw, 24px);
  }

  .crm-manager-stage-line {
    grid-template-columns: repeat(7, minmax(132px, 1fr));
  }

  .crm-manager-deals {
    grid-template-columns: 1fr;
  }

  .crm-board {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .crm-column {
    min-width: 0;
  }

  .crm-column-list {
    min-height: 0;
    max-height: none;
    overflow: visible;
  }

  .crm-card {
    padding: 12px;
  }

  .crm-card header {
    grid-template-columns: 1fr;
  }

  .crm-card header span {
    width: max-content;
    max-width: 100%;
  }

  .crm-amounts {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 42px;
  }

  .crm-stage-money b,
  .crm-card-money strong {
    white-space: normal;
  }

  .crm-profile-card--identity {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
  }

  .crm-profile-photo {
    width: 78px;
    font-size: 24px;
  }

  .crm-photo-upload {
    width: 100%;
    justify-content: center;
  }

  .crm-access-card {
    min-height: 156px;
  }

  .crm-access-card strong {
    font-size: clamp(26px, 9vw, 32px);
  }

  .crm-company-detail {
    min-height: 0;
  }

  .crm-stage-analytics,
  .crm-manager-analytics {
    grid-column: auto;
  }

  .crm-metric-card {
    min-height: 96px;
  }

  .crm-metric-card strong {
    font-size: clamp(24px, 8vw, 30px);
  }

  .latest-response:not(.latest-response--manager) {
    min-height: 336px;
    background:
      url("/yellow-shore.png?v=quote-response-sunframe-20260611b") center bottom 16px / min(92%, 330px) auto no-repeat,
      linear-gradient(180deg, rgba(18, 16, 14, 0.95) 0%, rgba(54, 31, 14, 0.78) 48%, rgba(18, 16, 14, 0.34) 100%),
      radial-gradient(circle at 50% 74%, rgba(255, 205, 118, 0.18), transparent 44%),
      rgba(18, 16, 14, 0.66);
    padding: 16px 18px 178px;
  }

  .latest-response--manager {
    min-height: 0;
    padding: 16px;
  }

  .latest-response > strong {
    font-size: clamp(30px, 9vw, 34px);
  }
}
