body.operations-screen-route {
  height: 100dvh;
  margin: 0;
  overflow: hidden;
  background: #080705;
  color: #f7efe0;
}

body.operations-screen-route #app {
  display: none;
}

#operations-screen-root {
  position: relative;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ops-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    url('/assets/operations-wawel.webp') center 14% / cover;
}

.ops-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 79% 13%, rgba(244, 183, 94, .10), transparent 34%),
    linear-gradient(90deg, rgba(3, 4, 7, .84) 0%, rgba(3, 4, 7, .64) 28%, rgba(3, 4, 7, .20) 56%, rgba(3, 4, 7, .04) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .06) 0%, rgba(0, 0, 0, .14) 34%, rgba(3, 4, 7, .58) 58%, rgba(3, 4, 7, .92) 82%, rgba(3, 4, 7, .98) 100%);
}

.ops-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 18px 28px;
  color: rgba(247, 239, 224, .78);
}

.ops-topbar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 4;
  padding-top: 16px;
  background: linear-gradient(180deg, rgba(3, 4, 6, .34), rgba(3, 4, 6, 0));
  pointer-events: none;
}

.ops-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  opacity: .28;
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: auto;
}

.operations-controls-hidden .ops-topbar-actions {
  opacity: 0;
  transform: translateY(-5px);
  pointer-events: none;
}

.ops-topbar-actions:hover,
.ops-topbar:focus-within .ops-topbar-actions {
  opacity: 1;
  transform: translateY(1px);
}

.ops-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: rgba(247, 239, 224, .76);
  font-size: 12px;
}

.ops-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(247, 239, 224, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #f8f0df;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.ops-btn--gold {
  border-color: rgba(221, 184, 113, .52);
  background: linear-gradient(135deg, rgba(195, 139, 52, .34), rgba(255, 255, 255, .08));
}

.ops-shell {
  width: min(100% - clamp(24px, 2.5vw, 48px), 1840px);
  margin: 0 auto;
  height: 100dvh;
  box-sizing: border-box;
  padding: clamp(14px, 3dvh, 38px) 0 clamp(12px, 2dvh, 22px);
  display: grid;
  grid-template-rows: clamp(128px, 17dvh, 184px) clamp(66px, 7.2dvh, 78px) minmax(0, 1fr);
  gap: clamp(8px, 1.2dvh, 12px);
}

.ops-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(420px, .48fr) minmax(0, .52fr);
  align-items: end;
  gap: 24px;
  min-height: 0;
  min-width: 0;
  padding: 0;
}

.ops-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -30px;
  right: -42px;
  bottom: -12px;
  width: min(1120px, 66vw);
  background: url('/assets/operations-wawel.webp') center 48% / cover no-repeat;
  opacity: .92;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .58) 18%, #000 34%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .58) 18%, #000 34%, #000 100%);
}

.ops-hero-main {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  min-width: 0;
  height: 100%;
}

.ops-clock-card {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  text-align: left;
}

.ops-clock-card strong {
  display: block;
  color: #fff8ea;
  font-variant-numeric: tabular-nums;
  font-size: clamp(70px, min(8.6vw, 14dvh), 156px);
  font-weight: 430;
  line-height: .88;
  letter-spacing: .01em;
  text-shadow: 0 22px 72px rgba(0, 0, 0, .38);
}

.ops-clock-card span,
.ops-hero-status span {
  display: block;
  color: rgba(247, 239, 224, .66);
  font-size: clamp(13px, min(1vw, 1.8dvh), 19px);
}

.ops-clock-card > span {
  padding-left: clamp(4px, .32vw, 6px);
}

.ops-hero-status {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  max-width: min(440px, 100%);
  margin-top: clamp(1px, .25dvh, 4px);
  margin-left: clamp(4px, .32vw, 6px);
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 999px;
  background: rgba(0, 0, 0, .14);
  backdrop-filter: blur(10px);
}

.ops-hero-status span {
  color: rgba(247, 239, 224, .58);
  font-size: clamp(11px, .72vw, 13px);
  white-space: nowrap;
}

.ops-metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 0;
}

.ops-card,
.ops-panel {
  border: 1px solid rgba(255, 255, 255, .13);
  background: linear-gradient(155deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .055));
  box-shadow: 0 24px 72px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px);
}

.ops-metric {
  display: grid;
  grid-template-rows: clamp(11px, 1.55dvh, 18px) minmax(24px, 1fr) clamp(11px, 1.55dvh, 18px);
  align-items: start;
  min-height: 0;
  padding: clamp(5px, .75dvh, 10px) clamp(10px, .75vw, 14px);
  border-radius: 16px;
  overflow: hidden;
}

.ops-metric span,
.ops-panel header span {
  color: rgba(247, 239, 224, .62);
  font-size: clamp(10px, .7vw, 12px);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ops-metric strong {
  display: block;
  align-self: center;
  margin-top: 0;
  color: #fff8ea;
  font-size: clamp(22px, min(1.9vw, 3.6dvh), 40px);
  line-height: 1;
  font-weight: 590;
  letter-spacing: 0;
}

.ops-metric small {
  display: block;
  align-self: end;
  margin-top: 0;
  color: rgba(247, 239, 224, .66);
  font-size: clamp(10px, .72vw, 12px);
  line-height: 1.35;
}

.ops-metric--green { border-left: 4px solid #34d399; }
.ops-metric--blue { border-left: 4px solid #38bdf8; }
.ops-metric--amber { border-left: 4px solid #f4b75e; }
.ops-metric--red { border-left: 4px solid #fb7185; }
.ops-metric--neutral { border-left: 4px solid rgba(247, 239, 224, .24); }

.ops-board {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  grid-template-areas:
    "arrivals occupancy cleaning"
    "attention important weather";
  grid-template-rows: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(9px, 1.35dvh, 14px);
  min-height: 0;
  min-width: 0;
}

.ops-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  min-width: 0;
  padding: clamp(9px, 1.25dvh, 14px);
  border-radius: 20px;
  overflow: hidden;
}

.ops-panel--arrivals { grid-area: arrivals; }
.ops-panel--occupancy {
  grid-area: occupancy;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.ops-panel--cleaning { grid-area: cleaning; }
.ops-panel--attention { grid-area: attention; }
.ops-panel--important { grid-area: important; }
.ops-panel--weather {
  grid-area: weather;
  grid-template-rows: auto minmax(0, 1fr);
}

.ops-panel header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(10px, 1vw, 16px);
  min-height: 0;
  margin-bottom: clamp(6px, 1dvh, 12px);
}

.ops-panel h2 {
  margin: 4px 0 0;
  color: #fff8ea;
  font-size: clamp(17px, min(1.2vw, 2.5dvh), 26px);
  line-height: 1.1;
}

.ops-panel header small {
  color: rgba(247, 239, 224, .52);
  font-size: clamp(10px, .72vw, 12px);
  text-align: right;
}

.ops-list {
  display: grid;
  align-content: start;
  gap: clamp(5px, .78dvh, 8px);
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.ops-list--ambient {
  display: block;
  position: relative;
  height: 100%;
  min-height: 0;
}

.ops-list-track {
  display: grid;
  align-content: start;
  gap: clamp(5px, .78dvh, 8px);
  min-height: var(--ops-visible-list-height, 0);
  will-change: transform;
}

.ops-list--ambient.is-ticking {
  height: var(--ops-visible-list-height, 100%);
}

.ops-list--ambient.is-reduced {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(5px, .78dvh, 8px);
}

.ops-list--ambient.is-reduced .ops-list-track {
  overflow: hidden;
}

.ops-row {
  display: grid;
  gap: clamp(2px, .45dvh, 4px);
  min-height: 0;
  min-width: 0;
  padding: clamp(6px, .85dvh, 9px) clamp(8px, .7vw, 11px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: rgba(4, 5, 6, .28);
}

.ops-row--split {
  grid-template-columns: minmax(0, 1fr) minmax(min-content, auto);
  align-items: center;
  gap: 8px;
}

.ops-row strong {
  color: #fff8ea;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(13px, .82vw, 15px);
}

.ops-row span {
  color: rgba(247, 239, 224, .6);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(11px, .72vw, 13px);
  line-height: 1.35;
}

.ops-panel--attention .ops-row,
.ops-panel--important .ops-row {
  grid-template-rows: minmax(0, auto) auto;
  min-height: clamp(48px, 6.2dvh, 64px);
  padding: clamp(6px, .75dvh, 7px) 10px;
  gap: 2px;
  overflow: hidden;
}

.ops-panel--attention .ops-row strong,
.ops-panel--important .ops-row strong {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: clamp(12px, .76vw, 14px);
  line-height: 1.18;
}

.ops-panel--attention .ops-row-title,
.ops-panel--important .ops-row-title {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.ops-panel--attention .ops-row-title > span,
.ops-panel--important .ops-row-title > span {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: #fff8ea;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: clamp(12px, .76vw, 14px);
  font-weight: 900;
  line-height: 1.18;
}

.ops-panel--attention .ops-row span,
.ops-panel--important .ops-row span {
  display: block;
  font-size: clamp(10px, .68vw, 12px);
  line-height: 1.25;
  white-space: nowrap;
}

.ops-row em {
  color: rgba(247, 239, 224, .58);
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(10px, .68vw, 12px);
  font-style: normal;
  font-weight: 800;
}

.ops-row em.is-attention {
  color: #f9bd65;
}

.ops-status {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(247, 239, 224, .09);
}

.ops-status--green {
  color: #9ef0c5;
  background: rgba(52, 211, 153, .14);
}

.ops-status--amber {
  color: #f9d39a;
  background: rgba(244, 183, 94, .16);
}

.ops-more {
  min-height: clamp(22px, 3dvh, 28px);
  padding: clamp(5px, .75dvh, 7px) 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: rgba(247, 239, 224, .65);
  font-size: clamp(10px, .7vw, 12px);
  font-weight: 800;
  text-align: center;
}

.ops-row--tone {
  border-left: 4px solid rgba(247, 239, 224, .18);
}

.ops-row--red { border-left-color: #fb7185; }
.ops-row--amber { border-left-color: #f4b75e; }
.ops-row--blue { border-left-color: #38bdf8; }
.ops-row--green { border-left-color: #34d399; }
.ops-row--violet { border-left-color: #f6a8b8; }

.ops-row--badged {
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
}

.ops-row-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.ops-row-badge {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  justify-self: center;
  min-width: 25px;
  height: 20px;
  padding: 0 6px;
  border: 1px solid rgba(246, 168, 184, .7);
  border-radius: 999px;
  background: rgba(246, 168, 184, .14);
  color: #ffd7df;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
}

.ops-row-badge--invoice {
  border-color: rgba(246, 168, 184, .78);
  background: rgba(190, 70, 95, .18);
  color: #ffe1e7;
}

.ops-empty {
  display: grid;
  place-items: center;
  min-height: clamp(72px, 13dvh, 118px);
  padding: clamp(10px, 1.3dvh, 14px);
  border: 1px dashed rgba(247, 239, 224, .18);
  border-radius: 18px;
  color: rgba(247, 239, 224, .58);
  text-align: center;
}

.ops-weather-body {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(5px, .75dvh, 8px);
  min-height: 0;
  overflow: hidden;
}

.ops-weather-main {
  position: relative;
  display: grid;
  grid-template-columns: clamp(58px, 4.5vw, 86px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, .9vw, 15px);
  min-height: 0;
  padding: clamp(10px, 1.25dvh, 14px) clamp(11px, .9vw, 16px);
  border: 1px solid rgba(247, 239, 224, .16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 18%, rgba(244, 183, 94, .20), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .055));
  overflow: hidden;
}

.ops-weather-main > div > strong {
  color: #fff8ea;
  font-size: clamp(38px, min(3.4vw, 7dvh), 64px);
  font-weight: 720;
  line-height: 1;
}

.ops-weather-main > div > span {
  display: block;
  margin-top: 5px;
  color: rgba(247, 239, 224, .74);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.45;
}

.ops-weather-main > div > small {
  display: block;
  margin-top: 4px;
  color: rgba(247, 239, 224, .54);
}

.ops-weather-days {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(4px, .6dvh, 6px);
  min-height: 0;
  margin-top: 0;
}

.ops-weather-days--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ops-weather-days div {
  display: grid;
  grid-template-columns: clamp(32px, 2.4vw, 38px) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: start;
  column-gap: clamp(7px, .55vw, 10px);
  row-gap: 3px;
  min-height: clamp(44px, 5.6dvh, 56px);
  padding: clamp(5px, .7dvh, 7px) 8px;
  border-radius: 12px;
  background: rgba(4, 5, 6, .26);
  color: rgba(247, 239, 224, .62);
  overflow: hidden;
}

.ops-weather-days b {
  grid-column: 2;
  grid-row: 1;
  color: rgba(247, 239, 224, .78);
  font-size: clamp(9px, .62vw, 11px);
  line-height: 1.1;
  text-transform: uppercase;
}

.ops-weather-days > div > span:not(.ops-weather-icon) {
  grid-column: 2;
  grid-row: 2;
  font-size: clamp(11px, .72vw, 13px);
  font-weight: 850;
  line-height: 1;
}

.ops-shell--compact .ops-weather-main {
  grid-template-columns: 54px minmax(0, 1fr);
  padding: 8px 10px;
}

.ops-shell--compact .ops-weather-main > div > strong {
  font-size: clamp(34px, 5.2dvh, 46px);
}

.ops-shell--compact .ops-weather-main > div > span {
  margin-top: 2px;
  font-size: 12px;
}

.ops-shell--compact .ops-weather-main > div > small {
  margin-top: 2px;
  font-size: 11px;
}

.ops-shell--compact .ops-weather-days div {
  grid-template-columns: 30px minmax(0, 1fr);
  min-height: 42px;
  padding: 5px 7px;
}

.ops-weather-icon {
  position: relative;
  display: block;
  width: clamp(54px, 4.1vw, 78px);
  height: clamp(54px, 4.1vw, 78px);
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .26));
}

.ops-weather-icon--sm {
  grid-column: 1;
  grid-row: 1 / span 2;
  justify-self: center;
  width: clamp(30px, 2vw, 36px);
  height: clamp(30px, 2vw, 36px);
  filter: none;
  overflow: hidden;
}

.ops-weather-sun,
.ops-weather-cloud,
.ops-weather-rain {
  display: none;
  position: absolute;
}

.ops-weather-sun {
  inset: 13px;
  border-radius: 999px;
  background: radial-gradient(circle at 36% 30%, #fff7d6 0%, #f8d879 36%, #d9902e 76%);
  box-shadow:
    0 0 26px rgba(248, 216, 121, .42),
    0 0 58px rgba(217, 144, 46, .20);
  animation: opsSun 38s linear infinite;
}

.ops-weather-cloud {
  width: 50px;
  height: 22px;
  left: 16px;
  bottom: 19px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 248, 234, .94), rgba(196, 208, 222, .82));
  animation: opsCloudDrift 18s ease-in-out infinite;
}

.ops-weather-cloud::before,
.ops-weather-cloud::after {
  content: "";
  position: absolute;
  bottom: 8px;
  border-radius: 999px;
  background: inherit;
}

.ops-weather-cloud::before {
  width: 25px;
  height: 25px;
  left: 8px;
}

.ops-weather-cloud::after {
  width: 30px;
  height: 30px;
  right: 7px;
}

.ops-weather-cloud--two {
  left: 25px;
  bottom: 27px;
  width: 38px;
  height: 17px;
  opacity: .52;
  animation-duration: 22s;
  animation-delay: -7s;
}

.ops-weather-rain {
  top: 53px;
  width: 2px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(125, 211, 252, 0), rgba(125, 211, 252, .85));
  animation: opsRain 1.9s ease-in-out infinite;
}

.ops-weather-rain--one { left: 26px; }
.ops-weather-rain--two { left: 39px; animation-delay: .24s; }
.ops-weather-rain--three { left: 52px; animation-delay: .48s; }

.ops-weather-icon--sun .ops-weather-sun,
.ops-weather-icon--partly .ops-weather-sun,
.ops-weather-icon--partly .ops-weather-cloud,
.ops-weather-icon--cloud .ops-weather-cloud,
.ops-weather-icon--rain .ops-weather-cloud,
.ops-weather-icon--rain .ops-weather-rain,
.ops-weather-icon--snow .ops-weather-cloud,
.ops-weather-icon--snow .ops-weather-rain {
  display: block;
}

.ops-weather-icon--partly .ops-weather-sun {
  inset: 9px 24px 25px 8px;
}

.ops-weather-icon--sm .ops-weather-sun {
  inset: 6px;
}

.ops-weather-icon--sm .ops-weather-cloud {
  left: 6px;
  bottom: 8px;
  width: 25px;
  height: 11px;
}

.ops-weather-icon--sm .ops-weather-cloud::before {
  width: 13px;
  height: 13px;
  left: 4px;
  bottom: 3px;
}

.ops-weather-icon--sm .ops-weather-cloud::after {
  width: 15px;
  height: 15px;
  right: 3px;
  bottom: 3px;
}

.ops-weather-icon--sm .ops-weather-rain {
  top: 25px;
  height: 8px;
}

.ops-weather-icon--sm .ops-weather-rain--one { left: 11px; }
.ops-weather-icon--sm .ops-weather-rain--two { left: 17px; }
.ops-weather-icon--sm .ops-weather-rain--three { left: 23px; }

.ops-weather-icon--snow .ops-weather-rain {
  height: 5px;
  width: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
}

@keyframes opsSun {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.025); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes opsCloudDrift {
  0%, 100% { transform: translateX(-2px); }
  50% { transform: translateX(3px); }
}

@keyframes opsRain {
  0%, 100% { transform: translateY(-2px); opacity: .28; }
  50% { transform: translateY(4px); opacity: .86; }
}

.ops-occupancy-strip {
  display: grid;
  grid-template-columns: repeat(31, minmax(8px, 1fr));
  gap: clamp(2px, .22vw, 4px);
  align-items: end;
  min-height: 0;
  padding: clamp(8px, 1.1dvh, 12px);
  border-radius: 18px;
  background: rgba(4, 5, 6, .28);
}

.ops-occupancy-day {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  height: 100%;
  min-height: clamp(76px, 12dvh, 116px);
  border-radius: 999px 999px 10px 10px;
  background: rgba(247, 239, 224, .08);
  overflow: hidden;
}

.ops-occupancy-day::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--occ, 0%);
  min-height: 3px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(56, 189, 248, .96), rgba(29, 78, 216, .92));
}

.ops-occupancy-day i {
  position: relative;
  z-index: 1;
  display: block;
  padding-bottom: 7px;
  color: rgba(255, 248, 234, .54);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.ops-occupancy-day.is-busy {
  background: rgba(247, 239, 224, .08);
}

.ops-occupancy-day.is-full::before {
  background: linear-gradient(180deg, #f4b75e, #b45309);
}

.ops-occupancy-day.is-today {
  outline: 2px solid rgba(255, 248, 234, .82);
  outline-offset: 2px;
}

.ops-occupancy-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: clamp(6px, .8dvh, 10px);
  color: rgba(247, 239, 224, .68);
}

.ops-occupancy-summary strong {
  color: #fff8ea;
  font-size: clamp(23px, 1.6vw, 30px);
}

.ops-occupancy-average {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.ops-occupancy-delta {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: clamp(10px, .68vw, 12px);
  font-weight: 900;
  letter-spacing: 0;
}

.ops-occupancy-delta--green {
  color: #9ef0c5;
  background: rgba(52, 211, 153, .16);
}

.ops-occupancy-delta--red {
  color: #fda4af;
  background: rgba(251, 113, 133, .16);
}

.ops-occupancy-delta--neutral {
  color: rgba(247, 239, 224, .72);
  background: rgba(247, 239, 224, .10);
}

.ops-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 18px rgba(52, 211, 153, .55);
}

.ops-dot--amber { background: #f4b75e; box-shadow: 0 0 18px rgba(244, 183, 94, .55); }
.ops-dot--red { background: #fb7185; box-shadow: 0 0 18px rgba(251, 113, 133, .55); }
.ops-dot--blue { background: #38bdf8; box-shadow: 0 0 18px rgba(56, 189, 248, .55); }
.ops-dot--neutral { background: rgba(247, 239, 224, .42); box-shadow: none; }

.ops-loading {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 58vh;
  text-align: center;
}

.ops-loading strong {
  color: #fff8ea;
  font-size: clamp(28px, 4vw, 60px);
}

.ops-loading span {
  color: rgba(247, 239, 224, .65);
  font-size: 16px;
}

.ops-access-denied {
  align-content: center;
  justify-items: center;
  margin: auto;
  width: min(620px, 100%);
  min-height: min(58vh, 560px);
  padding: clamp(28px, 4vw, 56px);
  box-sizing: border-box;
  border: 1px solid rgba(247, 239, 224, .16);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(12, 13, 18, .46), rgba(255, 255, 255, .055));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .30);
  backdrop-filter: blur(16px);
}

.ops-access-denied strong {
  font-size: clamp(28px, 3.2vw, 52px);
  font-weight: 520;
  line-height: 1.05;
}

.ops-access-denied span {
  max-width: 460px;
  line-height: 1.55;
}

.ops-toast {
  position: fixed;
  right: 24px;
  bottom: 64px;
  z-index: 5;
  max-width: min(520px, calc(100vw - 48px));
  padding: 14px 16px;
  border: 1px solid rgba(244, 183, 94, .42);
  border-radius: 16px;
  background: rgba(55, 39, 20, .94);
  color: #ffe5b0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

@media (max-width: 1100px) {
  .ops-metrics-grid {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .ops-board {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "arrivals cleaning"
      "occupancy occupancy"
      "attention important"
      "weather weather";
  }
}

@media (max-width: 820px) {
  .ops-topbar {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ops-shell {
    width: min(100% - 28px, 1840px);
  }

  .ops-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .ops-hero-main {
    display: grid;
  }

  .ops-hero-status {
    align-self: start;
  }

  .ops-board {
    grid-template-columns: 1fr;
    grid-template-areas:
      "arrivals"
      "occupancy"
      "cleaning"
      "attention"
      "important"
      "weather";
  }

  .ops-occupancy-strip {
    grid-template-columns: repeat(16, minmax(8px, 1fr));
  }

  .ops-topbar-actions {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ops-weather-sun,
  .ops-weather-cloud,
  .ops-weather-rain,
  .ops-topbar-actions,
  .ops-list-track {
    animation: none !important;
    transition: none !important;
  }

  .operations-controls-hidden .ops-topbar-actions {
    transition: none !important;
  }
}
