/* Homepage (FE-HOME). Loaded only on "/" after site.css. Every class here is home-* (or a
   short scr-/wk-/dz-/kt-/bc- prefix inside a home-* mock). Section themes set local --h-*
   properties so the same component reads correctly on dark and light sections. */

/* ---- Section themes ------------------------------------------------------------------ */
.home-sec {
  --h-bg: #090B0F; --h-text: #FFFFFF; --h-text-2: #A7ADB7; --h-text-3: #8B929D;
  --h-line: #262C35; --h-card: #15191F; --h-card-line: #262C35; --h-surface: #161A21;
  --h-acc: #FF8A3D; --h-focus: #FF8A3D; --h-tile: rgb(255 106 0 / .12); --h-tile-ink: #FF8A3D;
  --h-live: #4ADE80; --h-stale: #FBBF24; --h-off: #F87171; --h-idle: #9CA3AF;
  --h-ease: cubic-bezier(.2, .7, .2, 1);
  position: relative;
  padding-block: clamp(72px, 9vw, 128px);
  background: var(--h-bg);
  color: var(--h-text);
  overflow-x: clip;
}
.home-sec.theme-dark-2 { --h-bg: #101319; }
.home-sec.theme-white, .home-sec.theme-light {
  --h-bg: #FFFFFF; --h-text: #111318; --h-text-2: #5F6672; --h-text-3: #5F6672;
  --h-line: #E5E7EB; --h-card: #FFFFFF; --h-card-line: #E5E7EB; --h-surface: #F7F8FA;
  --h-acc: #C2410C; --h-focus: #C2410C; --h-tile: #FFF1E6; --h-tile-ink: #C2410C;
  --h-live: #15803D; --h-stale: #8A5A00; --h-off: #B91C1C; --h-idle: #4B5563;
}
.home-sec.theme-light { --h-bg: #F7F8FA; --h-surface: #FFFFFF; }
.home-sec a:not(.btn):focus-visible, .home-sec .btn:focus-visible { outline: 3px solid var(--h-focus); outline-offset: 3px; border-radius: 6px; }

/* ---- Type ------------------------------------------------------------------------------ */
.home-eyebrow { display: block; margin: 0 0 18px; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--h-acc); }
.home-eyebrow::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #FF6A00; vertical-align: .15em; }
.home-h1 { margin: 0; font-size: clamp(2.5rem, 1.2rem + 4.2vw, 4.75rem); font-weight: 700; line-height: 1.03; letter-spacing: -.035em; color: var(--h-text); text-wrap: balance; }
.home-h2 { margin: 0; font-size: clamp(2rem, 1.3rem + 2.2vw, 3.25rem); font-weight: 700; line-height: 1.08; letter-spacing: -.028em; color: var(--h-text); text-wrap: balance; }
.home-h2-sm, .home-h3 { font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; margin: 0; color: var(--h-text); text-wrap: balance; }
.home-sub { margin: 20px 0 0; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--h-text-2); max-width: 62ch; }
.home-sub strong, .home-body strong { color: var(--h-text); font-weight: 600; }
.home-body { margin: 18px 0 0; font-size: 1.0625rem; line-height: 1.6; color: var(--h-text-2); max-width: 60ch; }
.home-head { max-width: 760px; }
.home-head > .home-more { margin-top: 24px; }
.home-head-center { margin-inline: auto; text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.home-head-center .home-sub { margin-inline: auto; }
.home-center { text-align: center; margin-top: 40px; }

.home-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 1rem; color: var(--h-acc); text-decoration: none; }
.home-more svg { width: 18px; height: 18px; transition: transform .16s var(--h-ease); }
.home-more:hover { color: var(--h-acc); text-decoration: underline; text-underline-offset: .2em; }
.home-more:hover svg { transform: translateX(2px); }
.home-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 24px 0 0; }

.home-i { width: 24px; height: 24px; flex: none; }
.home-tile { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--h-tile); color: var(--h-tile-ink); flex: none; }
.home-tile svg { width: 20px; height: 20px; }
.home-tile-lg { width: 52px; height: 52px; border-radius: 12px; }
.home-tile-lg svg { width: 26px; height: 26px; }

.home-checks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.home-checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--h-text-2); line-height: 1.5; }
.home-checks .home-i { width: 20px; height: 20px; color: var(--h-acc); margin-top: 2px; }
.home-checks-muted .home-i { color: var(--h-text-3); }

.home-split { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 1000px) {
  .home-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .home-split-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .home-split-flip > :first-child { order: 2; }
}
.home-split + .home-split { margin-top: clamp(72px, 9vw, 128px); }

/* ---- Status pills and dots (never orange) ------------------------------------------------ */
.home-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 7px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.35; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; background: rgb(34 197 94 / .12); color: var(--h-live); }
.home-pill i { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; flex: none; }
.home-pill.is-live i { animation: home-pulse 2.4s ease-out infinite; }
.home-pill.is-stale { background: rgb(245 185 66 / .14); color: var(--h-stale); }
.home-pill.is-stale i { background: #F5B942; }
.home-pill.is-off { background: rgb(239 68 68 / .13); color: var(--h-off); }
.home-pill.is-off i { background: #EF4444; }
.home-pill.is-idle { background: rgb(107 114 128 / .16); color: var(--h-idle); }
.home-pill.is-idle i { background: #6B7280; }
@keyframes home-pulse { 0% { box-shadow: 0 0 0 0 rgb(34 197 94 / .55); } 70%, 100% { box-shadow: 0 0 0 6px rgb(34 197 94 / 0); } }

.home-chip, .home-chips > span { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 13px; font-weight: 500; border: 1px solid var(--h-line); color: var(--h-text-2); background: transparent; white-space: nowrap; }
.home-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.home-chips > .is-on { background: #111318; border-color: #111318; color: #fff; }

/* ---- Window frame (browser bar) ---------------------------------------------------------- */
.home-win-bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; background: #101319; border-bottom: 1px solid #262C35; }
.home-win-dots { display: flex; gap: 6px; }
.home-win-dots i { width: 9px; height: 9px; border-radius: 50%; background: #343A44; }
.home-win-url { flex: 1; min-width: 0; max-width: 360px; margin-inline: auto; padding: 3px 10px; border-radius: 6px; background: #161A21; color: #A7ADB7; font-size: 12px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- Screen art: small CSS "content" used inside mini TVs ------------------------------- */
.s-lobby { background: radial-gradient(120% 90% at 85% 10%, rgb(255 138 0 / .55), transparent 55%), linear-gradient(160deg, #1F2530, #0B0D11 70%); }
.s-room { background: linear-gradient(90deg, #15803D 0 42%, #161A21 42%); }
.s-cafe { background: linear-gradient(180deg, #7A3A12 0 30%, #F7F3EE 30% 88%, #C2410C 88%); }
.s-ops { background: linear-gradient(90deg, transparent 6%, #262C35 6% 46%, transparent 46% 54%, #262C35 54% 94%, transparent 94%) 0 22% / 100% 30% no-repeat, linear-gradient(90deg, transparent 6%, #262C35 6% 46%, transparent 46% 54%, #262C35 54% 94%, transparent 94%) 0 82% / 100% 30% no-repeat, linear-gradient(90deg, transparent 6%, #FF6A00 6% 46%, transparent 46% 54%, #FF6A00 54% 94%, transparent 94%) 0 12.5% / 100% 3% no-repeat, #0E1116; }
.s-desk { background: radial-gradient(90% 90% at 20% 20%, #3B4A6B, transparent 60%), linear-gradient(160deg, #1B2233, #0C0F16); }
.s-off { background: #050608; }

/* ---- 1. Hero ------------------------------------------------------------------------------ */
.home-hero { padding-bottom: clamp(64px, 8vw, 112px); isolation: isolate; }
.home-hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 42%; width: min(1200px, 120vw); height: 900px; transform: translateX(-50%); background: radial-gradient(closest-side, rgb(255 106 0 / .16), rgb(255 106 0 / 0)); pointer-events: none; }
.home-hero-text { max-width: 920px; margin-inline: auto; text-align: center; }
.home-lede { margin: 24px auto 0; max-width: 64ch; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.55; color: #A7ADB7; }
.home-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 36px 0 0; }
.home-note { margin: 18px 0 0; font-size: .9375rem; color: #A7ADB7; }

.home-hub { position: relative; margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 28px; }
.home-hub-lines { display: none; }

.home-admin { position: relative; border-radius: 14px; overflow: hidden; background: #0E1116; border: 1px solid #262C35; box-shadow: 0 40px 100px -30px rgb(0 0 0 / .85), 0 0 0 1px rgb(255 255 255 / .03), 0 0 80px -20px rgb(255 106 0 / .25); display: flex; flex-direction: column; }
.home-admin-body { display: flex; flex: 1; min-height: 0; }
.home-admin-rail { width: 52px; flex: none; background: #0B0D11; border-right: 1px solid #1C212A; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 0; }
.home-admin-rail img { width: 24px; height: 24px; margin-bottom: 8px; }
.home-admin-rail span { width: 22px; height: 6px; border-radius: 3px; background: #262C35; }
.home-admin-rail span.is-on { background: #FF6A00; }
.home-admin-main { flex: 1; min-width: 0; padding: 20px 22px; background: #101319; display: flex; flex-direction: column; }
.home-admin-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.home-admin-h { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.home-admin-sum { margin: 2px 0 0; font-size: 14px; color: #A7ADB7; }
.home-admin-sum b { color: #4ADE80; }
.home-admin-btn { flex: none; padding: 7px 12px; border-radius: 8px; background: #FF6A00; color: #111318; font-size: 13px; font-weight: 600; }
.home-admin-bar { height: 4px; border-radius: 2px; background: #262C35; margin: 14px 0 16px; overflow: hidden; }
.home-admin-bar i { display: block; height: 100%; width: 100%; background: #22C55E; }
.home-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; flex: 1; }
.home-mini { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr) auto; gap: 10px 8px; align-items: center; padding: 10px; border-radius: 10px; background: #161A21; border: 1px solid #262C35; min-width: 0; min-height: 0; }
.home-mini-scr { grid-column: 1 / -1; aspect-ratio: 16 / 9; border-radius: 5px; border: 3px solid #050608; }
@media (min-width: 1100px) { .home-mini-scr { aspect-ratio: auto; height: 100%; min-height: 60px; } .home-admin-grid { grid-template-rows: 1fr 1fr; min-height: 0; } }
.home-mini p { margin: 0; min-width: 0; font-size: 13px; line-height: 1.3; display: flex; flex-direction: column; }
.home-mini b { color: #fff; font-weight: 600; }
.home-mini p span { color: #A7ADB7; font-size: 12px; }

/* TVs */
.home-tv { margin: 0; min-width: 0; }
.home-bezel { position: relative; padding: 2.4% 2.4% 3.4%; border-radius: 10px; background: linear-gradient(180deg, #262C35, #050608 28%); box-shadow: 0 30px 60px -28px rgb(0 0 0 / .9), 0 0 0 1px rgb(255 255 255 / .05); }
.home-bezel::after { content: ""; position: absolute; left: 50%; bottom: 1.1%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #22C55E; }
.home-glass { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; background: #101319; container-type: inline-size; }
.home-tv-portrait .home-bezel { padding: 4% 4% 6%; }
.home-tv-portrait .home-glass { aspect-ratio: 9 / 16; }
.home-tv figcaption { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.home-tv figcaption b { color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-tv figcaption > span { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.home-tv figcaption time { color: #A7ADB7; font-variant-numeric: tabular-nums; font-size: 14px; }

/* TV content (sized to the glass with container units, never below 12px) */
.scr-lobby { position: absolute; inset: 0; padding: 6cqi 8cqi 5cqi; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: radial-gradient(90% 120% at 100% 0%, rgb(255 138 0 / .6), transparent 55%), radial-gradient(60% 80% at 90% 100%, rgb(233 75 0 / .45), transparent 60%), linear-gradient(160deg, #1C212A, #0B0D11 70%); }
.scr-brand { font-size: max(12px, 4.2cqi); font-weight: 700; letter-spacing: .12em; color: #FFD2B0; }
.scr-mid { display: flex; flex-direction: column; }
.scr-kicker { font-size: max(12px, 5cqi); color: #FFD2B0; font-weight: 500; }
.scr-title { font-size: max(15px, 10cqi); font-weight: 700; line-height: 1.02; letter-spacing: -.03em; margin-top: 1cqi; }
.scr-foot { display: flex; justify-content: space-between; gap: 8px; font-size: max(12px, 4.4cqi); color: #E5E7EB; white-space: nowrap; }
.scr-foot > span { overflow: hidden; text-overflow: ellipsis; }
.scr-foot time { font-weight: 700; font-variant-numeric: tabular-nums; }

.scr-room { position: absolute; inset: 0; display: grid; grid-template-columns: 46% 54%; color: #fff; }
.scr-room-free { background: #15803D; padding: 7cqi 6cqi; display: flex; flex-direction: column; justify-content: center; gap: 1cqi; font-size: max(12px, 4.6cqi); }
.scr-room-free b { font-size: max(15px, 9cqi); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.scr-room-next { position: relative; background: #161A21; padding: 7cqi 6cqi; display: flex; flex-direction: column; justify-content: center; gap: 1cqi; font-size: max(12px, 4.6cqi); color: #C9CED6; }
.scr-room-next b { color: #fff; font-size: max(13px, 6.4cqi); font-weight: 600; line-height: 1.1; }
.scr-room-next time { position: absolute; top: 5cqi; right: 6cqi; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.scr-room-next > span:first-child { text-transform: uppercase; letter-spacing: .08em; font-size: max(12px, 3.8cqi); color: #A7ADB7; }

.scr-menu { position: absolute; inset: 0; display: flex; flex-direction: column; background: #FBF8F4; color: #111318; }
.scr-menu-hero { height: 26%; background: radial-gradient(40% 60% at 30% 40%, rgb(255 190 120 / .7), transparent 70%), radial-gradient(35% 50% at 75% 60%, rgb(255 138 0 / .6), transparent 70%), linear-gradient(160deg, #5A2A0E, #2A1507); }
.scr-menu > b { font-size: max(14px, 12cqi); font-weight: 700; letter-spacing: -.03em; margin: 8cqi 9cqi 4cqi; }
.scr-menu-row { display: flex; justify-content: space-between; gap: 6px; margin: 0 9cqi; padding: 3.2cqi 0; border-bottom: 1px dotted #C9CED6; font-size: max(12px, 8cqi); font-weight: 600; white-space: nowrap; }
.scr-menu-row span:first-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.scr-menu-row span:last-child { color: #C2410C; font-weight: 700; font-variant-numeric: tabular-nums; }
.scr-menu-foot { margin-top: auto; padding: 6cqi 9cqi; background: #C2410C; color: #fff; font-size: max(12px, 7cqi); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.scr-kpi { position: absolute; inset: 0; padding: 6cqi 6cqi 5cqi; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr 1fr; gap: 3cqi; background: linear-gradient(160deg, #161A21, #0B0D11); color: #fff; }
.scr-kpi-h { grid-column: 1 / -1; font-size: max(12px, 4.4cqi); font-weight: 600; color: #A7ADB7; }
.scr-kpi-c { display: flex; flex-direction: column; justify-content: center; padding: 0 4cqi; border-radius: 1.4cqi; background: #1C212A; border-top: 2px solid #FF6A00; min-width: 0; }
.scr-kpi-c small { font-size: max(12px, 3.8cqi); color: #A7ADB7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr-kpi-c b { font-size: max(14px, 8.4cqi); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }

/* Hub layouts */
.home-hub-ldn, .home-hub-chi { display: none; }
@media (max-width: 699px) {
  .home-hub { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px 14px; align-items: end; }
  .home-admin { grid-column: 1 / -1; }
  .home-admin-rail, .home-admin-bar, .home-admin-btn { display: none; }
  .home-admin-main { padding: 14px; }
  .home-admin-grid { gap: 8px; }
  .home-mini { padding: 7px; grid-template-columns: 1fr; }
  .home-mini p span { display: none; }
  .home-mini .home-pill { justify-self: start; }
  .home-tv figcaption { font-size: 13px; }
  .home-tv figcaption b { white-space: normal; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .home-hub { grid-template-columns: 1fr 1fr .56fr 1fr; align-items: end; gap: 32px 20px; }
  .home-admin { grid-column: 1 / -1; max-width: 860px; width: 100%; justify-self: center; }
  .home-hub-ldn, .home-hub-chi { display: block; }
  .home-hub-ny { order: 1; } .home-hub-ldn { order: 2; } .home-hub-sg { order: 3; } .home-hub-chi { order: 4; }
  .home-tv figcaption b { white-space: normal; }
}
@media (min-width: 1100px) {
  .home-hub { display: block; aspect-ratio: 1000 / 560; margin-top: 72px; }
  .home-hub > * { position: absolute; }
  .home-hub-lines { display: block; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 2; pointer-events: none; }
  .home-admin { left: 29%; width: 42%; top: 4%; bottom: 6%; z-index: 1; }
  .home-hub-ldn, .home-hub-chi { display: block; }
  .home-tv { z-index: 1; }
  .home-hub-ny  { left: 0; top: 6%; width: 21.5%; }
  .home-hub-ldn { left: 0; top: 55%; width: 21.5%; }
  .home-hub-sg  { left: 80.5%; top: 0; width: 13.5%; }
  .home-hub-chi { left: 78.5%; top: 55%; width: 21.5%; }
}
.home-hub-lines path { fill: none; }
.home-lines-ports circle { fill: #FF6A00; }
.home-lines-base path { stroke: rgb(255 106 0 / .75); stroke-width: 1.8; stroke-dasharray: 100; stroke-dashoffset: 0; animation: home-draw 1.2s var(--h-ease) .3s both; }
.home-lines-flow path { stroke: #FFB36B; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 8 92; stroke-dashoffset: 100; opacity: .9; animation: home-flow 4.8s linear 1.5s infinite; }
.home-lines-flow path:nth-child(2) { animation-delay: 2.7s; }
.home-lines-flow path:nth-child(3) { animation-delay: 2.1s; }
.home-lines-flow path:nth-child(4) { animation-delay: 3.3s; }
@keyframes home-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes home-flow { 0% { stroke-dashoffset: 100; opacity: 0; } 8% { opacity: .9; } 50% { stroke-dashoffset: 0; opacity: .9; } 58%, 100% { stroke-dashoffset: 0; opacity: 0; } }

/* ---- 2. Benefits -------------------------------------------------------------------------- */
.home-benefits { padding-block: clamp(40px, 5vw, 64px); border-block: 1px solid #1C2028; }
.home-ben { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px 32px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-ben li { display: flex; gap: 14px; align-items: flex-start; }
.home-ben .home-i { color: #FF8A3D; margin-top: 2px; }
.home-ben h3 { margin: 0; font-size: 1.0625rem; font-weight: 600; color: #fff; }
.home-ben p { margin: 4px 0 0; font-size: .9375rem; line-height: 1.5; color: #A7ADB7; }
@media (max-width: 1099px) { .home-ben { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .home-ben { grid-template-columns: 1fr; } }

/* ---- 3. Everything ------------------------------------------------------------------------- */
.home-feat { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 32px; padding: clamp(24px, 3vw, 40px); border-radius: 20px; background: #F7F8FA; border: 1px solid #E5E7EB; }
@media (min-width: 1000px) { .home-feat { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; } }
.home-feat-text h3 { margin: 18px 0 0; font-size: 1.625rem; font-weight: 700; letter-spacing: -.02em; color: #111318; }
.home-feat-text p { margin: 12px 0 20px; color: #5F6672; line-height: 1.6; }
.home-feat-ui { display: grid; gap: 16px; min-width: 0; }
@media (min-width: 1200px) { .home-feat-ui { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } }
.home-lib, .home-pl { background: #fff; border: 1px solid #E5E7EB; border-radius: 14px; padding: 16px; box-shadow: 0 1px 2px rgb(17 19 24 / .04), 0 8px 24px -12px rgb(17 19 24 / .12); min-width: 0; }
.home-lib-top { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.home-lib-top > b, .home-pl-top > b { font-size: 15px; color: #111318; }
.home-lib-top .home-chips > span { height: 26px; font-size: 12px; padding: 0 9px; }
.home-lib-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.home-lib-grid > span { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4 / 3.3; padding: 8px; border-radius: 9px; color: #fff; min-width: 0; }
.home-lib-grid i { align-self: flex-start; font-style: normal; font-size: 12px; font-weight: 600; padding: 1px 7px; border-radius: 5px; background: rgb(9 11 15 / .6); }
.home-lib-grid b { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgb(0 0 0 / .6); }
.m-img { background: radial-gradient(70% 70% at 70% 30%, #FFB36B, transparent 60%), linear-gradient(150deg, #C2410C, #3A1B07); }
.m-vid { background: linear-gradient(150deg, #1F2937, #0B0D11); }
.m-pdf { background: linear-gradient(150deg, #4B5563, #1F2937); }
.m-web { background: linear-gradient(150deg, #1E3A5F, #0B1220); }
.m-ppt { background: linear-gradient(150deg, #7C2D12, #2A1507); }
.m-yt { background: linear-gradient(150deg, #262C35, #0B0D11); }
.home-pl-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.home-pl-top span { font-size: 13px; color: #5F6672; }
.home-pl ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.home-pl li { display: grid; grid-template-columns: 18px minmax(0, 1fr) 70px 40px; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; border: 1px solid #E5E7EB; background: #fff; font-size: 14px; color: #111318; }
.home-pl li .home-i { width: 16px; height: 16px; color: #8B929D; }
.home-pl li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.home-pl li > i { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #FF6A00, #FF9A00); width: calc(var(--w) / 60 * 100%); }
.home-pl li em { font-style: normal; font-size: 13px; color: #5F6672; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 559px) { .home-pl li { grid-template-columns: 16px minmax(0, 1fr) 40px; } .home-pl li > i { display: none; } }
.home-pl li.is-drag { border-color: #FF6A00; box-shadow: 0 10px 24px -12px rgb(255 106 0 / .55); transform: translateX(6px) rotate(-.4deg); }

.home-groups { margin-top: 24px; display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
@media (max-width: 1099px) { .home-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .home-groups { grid-template-columns: 1fr; } }
.home-group { border: 1px solid #E5E7EB; border-radius: 16px; padding: 22px 14px 12px; background: #fff; box-shadow: 0 1px 2px rgb(17 19 24 / .04), 0 8px 24px -12px rgb(17 19 24 / .12); }
.home-group-h { margin: 0 10px 10px; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #5F6672; }
.home-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.home-group a { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 10px; color: #111318; text-decoration: none; transition: background .16s; }
.home-group a:hover { background: #F7F8FA; }
.home-group a:hover strong { color: #C2410C; }
.home-group strong { display: block; font-size: 1rem; font-weight: 600; }
.home-group small { display: block; margin-top: 2px; font-size: .875rem; line-height: 1.45; color: #5F6672; }

/* ---- 4. Monitoring ------------------------------------------------------------------------- */
.home-split-head { align-items: end; }
@media (min-width: 1000px) { .home-split-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.home-head-side p { margin: 0; color: #A7ADB7; line-height: 1.6; font-size: 1.0625rem; }
.home-head-side strong { color: #fff; font-weight: 600; }
.home-mon { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 24px; }
@media (min-width: 1100px) { .home-mon { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } }
.home-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 20px; border-radius: 18px; background: #101319; border: 1px solid #262C35; }
.home-wtv { min-width: 0; padding: 10px; border-radius: 12px; background: #161A21; border: 1px solid #262C35; }
.home-wtv-scr { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; border: 4px solid #050608; }
.home-wtv-scr.is-off { filter: grayscale(1) brightness(.45); }
.home-wtv-scr.is-stale { filter: saturate(.6) brightness(.8); }
.home-led { position: absolute; left: 50%; bottom: -4px; width: 4px; height: 3px; margin-left: -2px; border-radius: 1px; background: #22C55E; }
.home-led.is-stale { background: #F5B942; } .home-led.is-off { background: #EF4444; } .home-led.is-idle { background: #6B7280; }
.home-wtv-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; min-width: 0; }
.home-wtv-row b { font-size: 14px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-wtv-meta { margin-top: 4px; font-size: 13px; color: #A7ADB7; }
.home-wtv-meta time { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.home-wtv-seen { margin: 6px 0 0; font-size: 12px; color: #8B929D; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1299px) and (min-width: 1100px) { .home-wtv .home-pill { font-size: 12px; padding-inline: 6px; letter-spacing: 0; } }
@media (max-width: 899px) { .home-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; gap: 10px; } }
@media (max-width: 699px) {
  .home-wtv { padding: 8px; }
  .home-wtv-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .home-wtv-meta { flex-direction: row; align-items: center; }
  .home-wtv-seen { white-space: normal; }
}
.home-mon-side { display: grid; gap: 16px; }
@media (min-width: 700px) and (max-width: 1099px) { .home-mon-side { grid-template-columns: 1fr 1fr; align-items: start; } }
.home-card-float { border-radius: 14px; background: #161A21; border: 1px solid #262C35; box-shadow: 0 24px 64px -16px rgb(0 0 0 / .6); padding: 16px; }
.home-detail-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.home-detail-top b { display: block; font-size: 16px; color: #fff; }
.home-detail-top span:not(.home-pill) { display: block; font-size: 13px; color: #A7ADB7; margin-top: 2px; }
.home-detail-live { margin-top: 14px; }
.home-detail-scr { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; border: 5px solid #050608; }
.home-lv { position: absolute; left: 10px; top: 10px; padding: 3px 8px; border-radius: 6px; background: rgb(9 11 15 / .75); color: #fff; font-size: 12px; font-weight: 600; }
.home-detail-live p { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 13px; color: #A7ADB7; }
.home-detail-live time { margin-left: auto; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.home-dot-live { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; animation: home-pulse 2.4s ease-out infinite; flex: none; }
.home-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.home-actions > span { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 9px 4px; border-radius: 9px; border: 1px solid #262C35; background: #101319; font-size: 12px; color: #D1D5DB; text-align: center; line-height: 1.25; }
.home-actions svg { width: 18px; height: 18px; color: #FF8A3D; }
.home-alert { border-left: 3px solid #EF4444; }
.home-alert-top { display: flex; gap: 12px; }
.home-alert-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: rgb(239 68 68 / .14); color: #F87171; flex: none; }
.home-alert-ico svg { width: 20px; height: 20px; }
.home-alert-top b { display: block; color: #fff; font-size: 15px; }
.home-alert-top span { display: block; font-size: 13px; color: #A7ADB7; margin-top: 2px; }
.home-alert-btns { display: flex; gap: 8px; margin: 14px 0 12px; }
.home-mbtn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; font-size: 13px; font-weight: 600; border: 1px solid #343A44; color: #fff; }
.home-mbtn.is-primary { background: #FF6A00; border-color: #FF6A00; color: #111318; }
.home-mbtn svg { width: 16px; height: 16px; }
.home-mbtn-light { border-color: #D1D5DB; color: #111318; background: #fff; }
.home-alert-ch { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 12px; border-top: 1px solid #262C35; font-size: 12px; color: #8B929D; }
.home-alert-ch .home-chip { height: 24px; font-size: 12px; padding: 0 8px; color: #D1D5DB; }
@media (max-width: 699px) { .home-detail { display: none; } }

/* ---- 5. Designer and brand kit ------------------------------------------------------------ */
.home-designer { border-radius: 14px; overflow: hidden; border: 1px solid #E5E7EB; background: #fff; box-shadow: 0 30px 80px -40px rgb(17 19 24 / .45); min-width: 0; }
.home-des-body { display: grid; grid-template-columns: 116px minmax(0, 1fr) 150px; min-height: 340px; }
.home-des-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #5F6672; margin-bottom: 4px; }
.home-des-tools { display: flex; flex-direction: column; gap: 3px; padding: 14px 10px; border-right: 1px solid #E5E7EB; background: #F9FAFB; }
.home-des-tools > span:not(.home-des-label) { font-size: 12px; padding: 4px 8px; border-radius: 6px; color: #2E333B; border: 1px solid transparent; }
.home-des-tools > span:nth-child(5) { background: #FFF1E6; color: #C2410C; border-color: #FFD2B0; font-weight: 600; }
.home-des-canvas { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px 16px; background: #EEF0F3; }
.home-des-tv { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 6px solid #050608; border-radius: 6px; container-type: inline-size; display: grid; grid-template-columns: 1fr 30%; grid-template-rows: 1fr 1fr auto; background: #0B0D11; color: #fff; }
.dz { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 4cqi; outline: 1px dashed rgb(255 255 255 / .18); outline-offset: -1px; }
.dz-main { grid-row: 1 / 3; background: radial-gradient(80% 90% at 90% 10%, rgb(255 138 0 / .55), transparent 60%), linear-gradient(160deg, #1C212A, #0B0D11); }
.dz-clock b { white-space: nowrap; font-size: max(12px, 4.2cqi); font-weight: 700; font-variant-numeric: tabular-nums; }
.dz-clock.is-sel { outline: 2px solid #FF6A00; outline-offset: -2px; }
.dz-h { position: absolute; width: 7px; height: 7px; background: #fff; border: 2px solid #FF6A00; border-radius: 2px; }
.dz-h1 { left: -3px; top: -3px; } .dz-h2 { right: -3px; top: -3px; } .dz-h3 { left: -3px; bottom: -3px; } .dz-h4 { right: -3px; bottom: -3px; }
.dz-weather b { font-size: max(13px, 5.6cqi); font-weight: 700; }
.dz-weather span { font-size: max(12px, 3cqi); color: #C9CED6; }
.dz-tick { grid-column: 1 / -1; padding: 1.6cqi 3cqi; font-size: max(12px, 2.6cqi); background: #FF6A00; color: #111318; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.home-des-tv .scr-kicker { font-size: max(12px, 3.2cqi); }
.home-des-tv .scr-title { font-size: max(15px, 7cqi); }
.home-des-orient { display: inline-flex; padding: 3px; border-radius: 8px; background: #fff; border: 1px solid #E5E7EB; }
.home-des-orient span { font-size: 12px; padding: 4px 10px; border-radius: 6px; color: #5F6672; }
.home-des-orient .is-on { background: #111318; color: #fff; }
.home-des-props { display: flex; flex-direction: column; gap: 10px; padding: 14px 12px; border-left: 1px solid #E5E7EB; background: #F9FAFB; }
.home-des-props label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #5F6672; }
.home-des-props label span { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 6px; background: #fff; border: 1px solid #D1D5DB; color: #111318; font-size: 12px; }
.home-des-props .sw { width: 12px; height: 12px; border-radius: 3px; background: #FF6A00; }
@media (max-width: 699px) {
  .home-des-body { grid-template-columns: 1fr; min-height: 0; }
  .home-des-tools { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid #E5E7EB; }
  .home-des-tools .home-des-label { width: 100%; }
  .home-des-tools > span:nth-child(n+8) { display: none; }
  .home-des-props { display: none; }
}

.home-brand { --demo: #FF6A00; --demo-ink: #111318; }
.home-brand-ui { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); min-width: 0; }
@media (min-width: 700px) and (max-width: 999px), (min-width: 1200px) { .home-brand-ui { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.home-kit { background: #fff; border: 1px solid #E5E7EB; border-radius: 14px; padding: 18px; box-shadow: 0 1px 2px rgb(17 19 24 / .04), 0 8px 24px -12px rgb(17 19 24 / .12); }
.home-kit-h { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: #111318; }
.home-kit-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid #EEF0F3; }
.home-kit-l { font-size: 13px; color: #5F6672; }
.home-kit-v { font-size: 13px; font-weight: 600; color: #111318; }
.home-kit-logo { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 7px; background: #F7F8FA; border: 1px solid #E5E7EB; font-size: 13px; font-weight: 700; color: #111318; }
.home-kit-logo.is-alt { background: #111318; border-color: #111318; color: #fff; }
.kit-mark { width: 12px; height: 12px; border-radius: 3px; background: var(--demo); transition: background .6s; }
.home-swatches { display: flex; gap: 6px; }
.home-swatches i { width: 24px; height: 24px; border-radius: 7px; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .1); transition: box-shadow .2s; }
.home-swatches i.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #111318; }
.home-kit-tvs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.home-kit-tvs .home-ktv:first-child { grid-column: 1 / -1; }
.home-ktv { container-type: inline-size; border: 5px solid #050608; border-radius: 7px; box-shadow: 0 16px 32px -18px rgb(17 19 24 / .6); overflow: hidden; }
.kt { position: relative; aspect-ratio: 16 / 9; display: flex; flex-direction: column; justify-content: center; gap: 2cqi; padding: 6cqi 7cqi; color: #fff; transition: background .6s; }
.kt b { font-size: max(13px, 9cqi); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.kt span { font-size: max(12px, 5cqi); }
.kt-ann { background: var(--demo); color: var(--demo-ink); }
.kt-ann i { position: absolute; right: 7cqi; top: 50%; width: 22cqi; height: 22cqi; margin-top: -11cqi; border-radius: 3cqi; background: repeating-conic-gradient(#111318 0 25%, #fff 0 50%) 0 0 / 20% 20%; border: 3px solid #fff; }
.kt-hours { background: #111318; }
.kt-hours i { position: absolute; left: 0; right: 0; bottom: 0; height: 4cqi; background: var(--demo); transition: background .6s; }
.kt-menu { background: #FBF8F4; color: #111318; }
.kt-menu i { position: absolute; left: 0; top: 0; bottom: 0; width: 5cqi; background: var(--demo); transition: background .6s; }

/* ---- 6. Scheduling -------------------------------------------------------------------------- */
.home-sched { display: grid; gap: 20px; }
@media (min-width: 1100px) { .home-sched { grid-template-columns: minmax(0, 1fr) 320px; align-items: stretch; } }
.home-week { display: flex; flex-direction: column; padding: 20px; border-radius: 18px; background: #161A21; border: 1px solid #262C35; min-width: 0; }
.home-week-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.home-week-top b { color: #fff; font-size: 16px; }
.home-week-top span { font-size: 13px; color: #A7ADB7; }
.home-week-grid { flex: 1; display: grid; grid-template-columns: 84px repeat(7, minmax(0, 1fr)); grid-template-rows: auto repeat(4, minmax(64px, 1fr)); gap: 0; position: relative; }
.wk-day, .wk-row, .wk-corner { font-size: 13px; color: #A7ADB7; }
.wk-day { padding: 0 0 10px 10px; font-weight: 600; grid-row: 1; }
.wk-day:nth-child(2) { grid-column: 2; } .wk-day:nth-child(3) { grid-column: 3; } .wk-day:nth-child(4) { grid-column: 4; } .wk-day:nth-child(5) { grid-column: 5; } .wk-day:nth-child(6) { grid-column: 6; } .wk-day:nth-child(7) { grid-column: 7; } .wk-day:nth-child(8) { grid-column: 8; }
.wk-row { grid-column: 1; display: flex; align-items: center; border-top: 1px solid #262C35; }
.home-week-grid::after { content: ""; grid-column: 2 / -1; grid-row: 2 / -1; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 7 - 1px), #20252E calc(100% / 7 - 1px) calc(100% / 7)); border-top: 1px solid #262C35; }
.wk-blk { grid-column: 2 / -1; margin: 6px 4px; border-radius: 9px; padding: 8px 12px; display: flex; flex-direction: column; justify-content: center; gap: 2px; background: rgb(255 106 0 / .14); border: 1px solid rgb(255 138 0 / .45); border-left: 4px solid #FF6A00; z-index: 1; transform-origin: left center; transition: transform .7s var(--h-ease), opacity .7s; }
.wk-blk b { font-size: 14px; color: #fff; font-weight: 600; }
.wk-blk span { font-size: 13px; color: #FFC79E; font-variant-numeric: tabular-nums; }
.wk-b2 { background: rgb(255 106 0 / .2); transition-delay: .12s; }
.wk-b3 { background: rgb(255 106 0 / .1); transition-delay: .24s; }
.wk-mark { grid-column: 2 / -1; align-self: start; height: 0; border-top: 2px dashed #FF8A3D; position: relative; z-index: 2; margin-top: -1px; }
.wk-mark i { position: absolute; right: 8px; top: -12px; font-style: normal; font-size: 12px; font-weight: 700; color: #111318; background: #FF8A3D; padding: 2px 8px; border-radius: 999px; }
.home-week.is-pre .wk-blk { transform: scaleX(.04); opacity: 0; }
.home-day { list-style: none; padding: 0; margin: 0; display: none; gap: 8px; }
.home-day li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; background: rgb(255 106 0 / .12); border-left: 4px solid #FF6A00; font-size: 14px; }
.home-day b { color: #fff; font-weight: 600; } .home-day span { color: #FFC79E; }
@media (max-width: 699px) { .home-week-grid { display: none; } .home-day { display: grid; } .home-week { padding: 16px; } }
.home-cities { display: grid; gap: 12px; }
@media (min-width: 700px) and (max-width: 1099px) { .home-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.home-city { padding: 18px; border-radius: 14px; background: #161A21; border: 1px solid #262C35; }
.home-city-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.home-city-top b { font-size: 16px; color: #fff; }
.home-city-time { font-size: 24px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em; white-space: nowrap; }
.home-city-now { margin: 10px 0 0; font-size: 14px; color: #A7ADB7; }
.home-city-now span { display: block; margin-top: 2px; font-size: 16px; font-weight: 600; color: #FF8A3D; }
.home-city-sw { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid #262C35; font-size: 13px; color: #A7ADB7; }
.home-city-sw .home-i { width: 16px; height: 16px; color: #FF8A3D; }
.home-sched-foot { margin-top: 32px; display: grid; gap: 20px; align-items: center; justify-items: start; }
@media (min-width: 1200px) { .home-sched-foot { grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; } }
.home-tagline { margin: 0; font-size: clamp(1.25rem, 1rem + .8vw, 1.625rem); font-weight: 700; letter-spacing: -.02em; color: #fff; }
.home-offmini { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px dashed #343A44; }
.home-offmini .home-i { color: #FBBF24; }
.home-offmini p { margin: 0; font-size: 14px; line-height: 1.5; color: #A7ADB7; }
.home-offmini strong { color: #fff; }

/* ---- 7. Dashboards and rooms ------------------------------------------------------------- */
.home-duo { display: grid; gap: clamp(64px, 8vw, 96px); }
@media (min-width: 1000px) { .home-duo { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }
.home-duo-col { min-width: 0; display: flex; flex-direction: column; }
.home-duo-col > .home-head { min-height: 0; }
@media (min-width: 1000px) { .home-duo-col > .home-head { min-height: 300px; } }
.home-dash, .home-room { margin-top: 32px; }
.home-dash { display: grid; gap: 14px; }
.home-dash-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.home-dash-tabs span { font-size: 13px; padding: 5px 11px; border-radius: 999px; border: 1px solid #E5E7EB; color: #5F6672; background: #fff; }
.home-dash-tabs .is-on { background: #111318; border-color: #111318; color: #fff; }
.home-tv-flat { padding: 10px 10px 14px; border-radius: 10px; background: linear-gradient(180deg, #262C35, #050608 28%); box-shadow: 0 30px 60px -30px rgb(17 19 24 / .7); }
.home-dash-scr { aspect-ratio: 16 / 8.2; border-radius: 3px; background: #0E1116; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; container-type: inline-size; color: #fff; }
.dsh-top { display: flex; justify-content: space-between; gap: 8px; font-size: max(12px, 2.4cqi); }
.dsh-top b { font-weight: 600; } .dsh-top span { color: #A7ADB7; }
.dsh-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dsh-kpis span { padding: 10px 12px; border-radius: 8px; background: #161A21; border: 1px solid #262C35; min-width: 0; }
.dsh-kpis small { display: block; font-size: max(12px, 2.1cqi); color: #A7ADB7; }
.dsh-kpis b { font-size: max(16px, 4.6cqi); font-weight: 700; letter-spacing: -.02em; }
.dsh-chart { flex: 1; width: 100%; min-height: 40px; }
.dsh-area { fill: rgb(255 106 0 / .16); }
.dsh-line { fill: none; stroke: #FF8A3D; stroke-width: 2; vector-effect: non-scaling-stroke; }
.home-opts { display: grid; gap: 10px; }
.home-opts > div { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.home-opts-l { font-size: 13px; color: #5F6672; width: 92px; }
.home-seg { display: inline-flex; padding: 3px; border-radius: 9px; background: #F1F2F4; border: 1px solid #E5E7EB; }
.home-seg > span { font-size: 13px; padding: 4px 10px; border-radius: 6px; color: #5F6672; white-space: nowrap; }
.home-seg > .is-on { background: #fff; color: #111318; font-weight: 600; box-shadow: 0 1px 2px rgb(17 19 24 / .12); }
.home-keys { border: 1px solid #E5E7EB; border-radius: 12px; overflow: hidden; background: #fff; }
.home-key-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; border-top: 1px solid #EEF0F3; }
.home-key-row:first-child { border-top: 0; }
.home-key-l { padding: 10px 12px; font-size: 13px; color: #5F6672; background: #F9FAFB; align-self: stretch; display: flex; align-items: center; }
.home-key-v { padding: 10px 12px; font-size: 13px; color: #111318; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; gap: 8px; align-items: center; }
.home-key-v .home-i { width: 15px; height: 15px; color: #5F6672; }
.home-room { display: grid; gap: 20px; justify-items: center; }
.home-door { width: min(300px, 100%); padding: 12px 12px 18px; border-radius: 14px; background: linear-gradient(180deg, #262C35, #050608 20%); box-shadow: 0 30px 60px -30px rgb(17 19 24 / .7); }
.home-door-scr { aspect-ratio: 9 / 14; border-radius: 4px; background: #15803D; color: #fff; padding: 24px 22px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.home-door-scr::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36%; background: #0E1116; }
.door-name { font-size: 15px; font-weight: 600; }
.door-state { margin-top: 18px; font-size: 32px; font-weight: 800; letter-spacing: .01em; line-height: 1; }
.door-until { margin-top: 6px; font-size: 16px; color: #DCFCE7; }
.door-next-l { margin-top: auto; position: relative; z-index: 1; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #A7ADB7; }
.door-next { position: relative; z-index: 1; margin-top: 4px; font-size: 18px; font-weight: 700; }
.door-next-t { position: relative; z-index: 1; font-size: 14px; color: #C9CED6; }
.door-later { position: relative; z-index: 1; margin-top: 12px; font-size: 13px; color: #A7ADB7; }
.door-later b { color: #fff; margin-right: 6px; }
.home-feeds { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.home-feeds-h { width: 100%; text-align: center; margin: 0 0 2px; font-size: 13px; color: #5F6672; }
.home-feeds .home-chip { background: #fff; border-color: #D1D5DB; color: #111318; }
.home-duo-col .home-links { margin-top: 28px; }

/* ---- 8. Broadcasts (the only red outside status) -------------------------------------------- */
.home-bc { display: grid; gap: 20px; min-width: 0; }
@media (min-width: 700px) { .home-bc { grid-template-columns: minmax(0, 1fr) minmax(0, 230px); align-items: center; gap: 28px; } }
.home-bc-dialog { padding: 20px; border-radius: 16px; background: #161A21; border: 1px solid #262C35; box-shadow: 0 24px 64px -16px rgb(0 0 0 / .6); display: grid; gap: 14px; }
.home-bc-h { margin: 0; font-size: 17px; font-weight: 700; color: #fff; }
.home-bc-field { display: grid; gap: 6px; }
.home-bc-field > span:first-child { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #A7ADB7; }
.home-bc-field b { font-size: 18px; color: #fff; padding: 10px 12px; border-radius: 9px; background: #101319; border: 1px solid #343A44; }
.home-bc-field em { font-style: normal; font-size: 14px; color: #C9CED6; padding: 10px 12px; border-radius: 9px; background: #101319; border: 1px solid #343A44; line-height: 1.45; }
.home-bc-field .home-bc-sm { font-size: 14px; font-weight: 500; }
.home-seg-dark { background: #101319; border-color: #343A44; flex-wrap: wrap; }
.home-seg-dark > span { color: #A7ADB7; }
.home-seg-dark > .is-on { background: #262C35; color: #fff; box-shadow: none; }
.home-bc-go { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 9px; background: #DC2626; color: #fff; font-weight: 700; font-size: 16px; box-shadow: 0 10px 28px -12px rgb(220 38 38 / .7); transition: transform .15s, box-shadow .15s; }
.home-bc.is-press .home-bc-go { transform: scale(.97); box-shadow: 0 0 0 4px rgb(220 38 38 / .35); }
.home-bc-tvs { display: grid; gap: 14px; }
@media (max-width: 699px) { .home-bc-tvs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
.home-bc-tv { min-width: 0; }
.home-bc-scr { position: relative; aspect-ratio: 16 / 9; border: 5px solid #050608; border-radius: 6px; overflow: hidden; container-type: inline-size; }
.bc-normal { position: absolute; inset: 0; }
.bc-alert { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5cqi; background: #B91C1C; color: #fff; text-align: center; padding: 4cqi; transition: opacity .45s ease calc(var(--d) * .18s), transform .45s var(--h-ease) calc(var(--d) * .18s); }
.bc-alert .home-i { width: max(16px, 12cqi); height: max(16px, 12cqi); }
.bc-alert b { font-size: max(12px, 8cqi); font-weight: 700; line-height: 1.1; }
.bc-alert small { font-size: max(12px, 5cqi); color: #FEE2E2; }
.home-bc.is-pre .bc-alert { opacity: 0; transform: scale(1.04); }
.home-bc-cap { display: block; margin-top: 8px; font-size: 13px; color: #A7ADB7; }
@media (max-width: 699px) { .bc-alert small { display: none; } .bc-alert b { font-size: 12px; } .home-bc-cap { font-size: 12px; } }

/* ---- 9. Proof of play and team ----------------------------------------------------------- */
.home-report, .home-team-ui { background: #fff; border: 1px solid #E5E7EB; border-radius: 16px; padding: 20px; box-shadow: 0 30px 80px -40px rgb(17 19 24 / .35); min-width: 0; }
.home-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.home-stats > span { padding: 14px; border-radius: 12px; background: #F7F8FA; border: 1px solid #EEF0F3; min-width: 0; }
.home-stats small { display: block; font-size: 12px; color: #5F6672; }
.home-stats b { display: block; margin-top: 4px; font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -.02em; color: #111318; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 699px) { .home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.home-rep-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 0 12px; }
.home-tabs { display: inline-flex; gap: 2px; border-bottom: 1px solid #E5E7EB; }
.home-tabs > span { font-size: 13px; padding: 8px 12px; color: #5F6672; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.home-tabs > .is-on { color: #111318; font-weight: 600; border-bottom-color: #FF6A00; }
.home-table, .home-users { border: 1px solid #EEF0F3; border-radius: 10px; overflow: hidden; }
.home-table .tr { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr .7fr .8fr; gap: 10px; padding: 10px 12px; border-top: 1px solid #EEF0F3; font-size: 13px; color: #2E333B; }
.home-table .tr > span, .home-users .tr > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.home-table .th, .home-users .th { border-top: 0; background: #F9FAFB; color: #5F6672; font-weight: 600; font-size: 12px; }
@media (max-width: 1299px) { .home-table .c-loc { display: none; } .home-table .tr { grid-template-columns: 1.3fr 1fr 1.4fr .7fr .8fr; } }
@media (max-width: 599px) { .home-table .c-why, .home-table .c-date { display: none; } .home-table .tr { grid-template-columns: 1fr 1.4fr .6fr; } }
.home-users .tr { display: grid; grid-template-columns: 1.4fr 1.4fr .8fr .9fr; gap: 10px; align-items: center; padding: 10px 12px; border-top: 1px solid #EEF0F3; font-size: 13px; color: #2E333B; }
.home-users .tr > span:first-child { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #111318; }
.av { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: hsl(var(--h) 50% 30%); }   /* 30% lightness: white text passes 4.5:1 for every hue */
.home-role { justify-self: start; padding: 2px 8px; border-radius: 6px; background: #F1F2F4; font-size: 12px; font-weight: 600; color: #2E333B; }
@media (max-width: 599px) { .home-users .c-mail { display: none; } .home-users .tr { grid-template-columns: 1.5fr .8fr .9fr; } }
.home-flow { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.home-flow li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #2E333B; font-weight: 500; }
.home-flow li:not(:last-child)::after { content: "→"; color: #8B929D; margin-left: 2px; }
.home-flow li:not(:has(.home-pill)) { padding: 4px 10px; border-radius: 999px; border: 1px solid #E5E7EB; background: #F9FAFB; }

/* ---- 10. Offline -------------------------------------------------------------------------- */
.home-split-off { align-items: center; }
@media (min-width: 1000px) { .home-split-off { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.home-offb { list-style: none; padding: 0; margin: 36px 0 32px; display: grid; gap: 24px 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 599px) { .home-offb { grid-template-columns: 1fr; } }
.home-offb li { display: flex; gap: 14px; align-items: flex-start; padding-top: 18px; border-top: 1px solid #262C35; }
.home-offb .home-i { color: #FF8A3D; }
.home-offb h3 { margin: 0; font-size: 1.0625rem; font-weight: 600; color: #fff; }
.home-offb p { margin: 4px 0 0; font-size: .9375rem; line-height: 1.5; color: #A7ADB7; }
.home-chain { display: flex; flex-direction: column; align-items: center; padding: 28px 20px; border-radius: 20px; background: radial-gradient(80% 60% at 50% 100%, rgb(255 106 0 / .12), transparent 70%), #0C0E13; border: 1px solid #262C35; }
.home-node { position: relative; display: flex; align-items: center; gap: 12px; width: min(300px, 100%); padding: 12px 14px; border-radius: 12px; background: #161A21; border: 1px solid #262C35; flex-wrap: wrap; }
.home-node b { font-size: 15px; color: #fff; font-weight: 600; }
.home-node small { width: 100%; padding-left: 52px; margin-top: -8px; font-size: 13px; color: #A7ADB7; }
.home-node-i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgb(255 106 0 / .12); color: #FF8A3D; }
.home-node-i .home-i { width: 22px; height: 22px; }
.home-node-net { transition: opacity .5s, border-color .5s; border-color: rgb(245 185 66 / .5); }
.home-node-net .home-node-i { background: rgb(245 185 66 / .12); color: #FBBF24; transition: color .5s, background .5s; }
.home-cut { width: 100%; display: flex; align-items: center; gap: 6px; padding-left: 52px; margin-top: -8px; font-size: 13px; font-weight: 600; color: #FBBF24; transition: opacity .5s; }
.home-cut .home-i { width: 16px; height: 16px; }
.home-link-v { position: relative; width: 2px; height: 34px; background: #FF6A00; }
.home-link-v.is-cut { background: repeating-linear-gradient(180deg, #F5B942 0 5px, transparent 5px 10px); }
.home-link-v.is-cut::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px; background: #F5B942; transform: rotate(-35deg); transition: opacity .4s; }
.home-link-v.is-local { background: linear-gradient(#FF6A00, #FF9A00); }
.home-chain.is-pre .home-link-v.is-cut { background: #FF6A00; }
.home-chain.is-pre .home-link-v.is-cut::after, .home-chain.is-pre .home-cut { opacity: 0; }
.home-chain.is-pre .home-node-net { border-color: #262C35; }
.home-chain.is-pre .home-node-net .home-node-i { background: rgb(255 106 0 / .12); color: #FF8A3D; }
.home-chain-tv { width: min(320px, 100%); }
.home-chain-scr { position: relative; aspect-ratio: 16 / 9; border: 7px solid #050608; border-radius: 8px; box-shadow: 0 20px 50px -24px rgb(0 0 0 / .9); padding: 7%; display: flex; flex-direction: column; justify-content: center; color: #fff; container-type: inline-size; }
.home-chain-scr .scr-kicker { font-size: max(12px, 5cqi); }
.home-chain-scr .scr-title { font-size: max(16px, 11cqi); }
.home-chain-cap { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }
.home-chain-cap b { color: #fff; font-size: 14px; }

/* ---- 11. Hardware -------------------------------------------------------------------------- */
.home-hw { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1099px) { .home-hw { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .home-hw { grid-template-columns: 1fr; } }
.home-hw li { padding: 26px; border-radius: 16px; border: 1px solid #E5E7EB; background: #fff; box-shadow: 0 1px 2px rgb(17 19 24 / .04), 0 8px 24px -12px rgb(17 19 24 / .12); }
.home-hw h3 { margin: 18px 0 6px; font-size: 1.1875rem; font-weight: 600; color: #111318; }
.home-hw p { margin: 0; font-size: .9375rem; line-height: 1.55; color: #5F6672; }
@media (max-width: 559px) {
  .home-hw li, .home-sec-cards li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; padding: 20px; }
  .home-hw li > :not(.home-tile), .home-sec-cards li > :not(.home-tile) { grid-column: 2; }
  .home-hw .home-tile, .home-sec-cards .home-tile { grid-row: 1 / span 2; }
  .home-hw h3, .home-sec-cards h3 { margin-top: 0; }
  .home-ind-tv { display: none; }
  .home-ind a { padding: 18px 16px; }
}
.home-cmp { margin-top: 24px; display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 699px) { .home-cmp { grid-template-columns: 1fr; } }
.home-cmp-card { padding: 26px 28px; border-radius: 16px; background: #F7F8FA; border: 1px solid #E5E7EB; }
.home-cmp-card.is-rec { background: #fff; border-color: rgb(255 106 0 / .45); box-shadow: 0 0 0 1px rgb(255 106 0 / .15), 0 20px 50px -30px rgb(255 106 0 / .45); }
.home-cmp-card h3 { margin: 0; font-size: 1.1875rem; font-weight: 700; color: #111318; }
.home-cmp-card .home-checks { margin: 16px 0 0; }
@media (min-width: 1000px) { .home-cmp-card.is-rec .home-checks { display: block; columns: 2; column-gap: 24px; } .home-cmp-card.is-rec .home-checks li { break-inside: avoid; margin-bottom: 10px; } }
.home-cmp-note { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; color: #111318; }

/* ---- 12. Steps ---------------------------------------------------------------------------- */
.home-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 999px) { .home-steps { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }
.home-steps li { padding: 30px 28px; border-radius: 18px; background: #15191F; border: 1px solid #262C35; display: flex; flex-direction: column; }
.home-step-n { font-size: 3.5rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: #FF8A3D; font-variant-numeric: tabular-nums; }
.home-steps h3 { margin: 18px 0 8px; font-size: 1.375rem; font-weight: 600; color: #fff; }
.home-steps p { margin: 0; color: #A7ADB7; line-height: 1.6; }
.home-steps .home-chips { margin-top: 20px; }
.home-chips-dark > span { border-color: #343A44; color: #D1D5DB; }
.home-code { display: flex; gap: 6px; margin-top: 22px; }
.home-code span { flex: 1; max-width: 48px; aspect-ratio: 4 / 5; display: grid; place-items: center; border-radius: 9px; background: rgb(255 106 0 / .07); border: 1.5px solid rgb(255 138 0 / .55); box-shadow: 0 0 18px rgb(255 106 0 / .14); font-size: 24px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.home-steps-cta { margin: 40px 0 0; text-align: center; }

/* ---- 13. Industries ------------------------------------------------------------------------ */
.home-ind { list-style: none; padding: 0; margin: clamp(32px, 4vw, 48px) 0 0; display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1099px) { .home-ind { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .home-ind { grid-template-columns: 1fr; } }
.home-ind a { height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 20px; border-radius: 16px; background: #fff; border: 1px solid #E5E7EB; color: #111318; text-decoration: none; box-shadow: 0 1px 2px rgb(17 19 24 / .04), 0 8px 24px -12px rgb(17 19 24 / .12); transition: transform .16s var(--h-ease), box-shadow .16s; }
.home-ind a:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgb(17 19 24 / .06), 0 18px 36px -16px rgb(17 19 24 / .22); }
.home-ind a:hover strong { color: #C2410C; }
.home-ind-tv { display: block; margin-bottom: 10px; padding: 5px; border-radius: 9px; background: #0B0D11; }
.home-ind-tv img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.home-ind strong { padding-inline: 4px; font-size: 1.125rem; font-weight: 600; }
.home-ind-ex { padding-inline: 4px; font-size: .9375rem; line-height: 1.5; color: #5F6672; }
.home-ind-all a { justify-content: center; background: #111318; border-color: #111318; color: #fff; padding: 28px 22px; }
.home-ind-all .home-ind-ex { color: #A7ADB7; }
.home-ind-all a:hover strong { color: #FF8A3D; }
.home-ind-arrow { color: #FF8A3D; margin: 10px 4px 0; }

/* ---- 14. Security -------------------------------------------------------------------------- */
.home-sec-cards { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.home-sec-cards li { flex: 1 1 280px; max-width: 400px; padding: 26px; border-radius: 16px; background: #15191F; border: 1px solid #262C35; }
/* Five cards wrap 3 + 2 (centred) at desktop widths: in one row of five, the titles broke after "Protected". */
.home-sec-cards h3 { margin: 18px 0 6px; font-size: 1.125rem; font-weight: 600; color: #fff; }
.home-sec-cards p { margin: 0; font-size: .9375rem; line-height: 1.55; color: #A7ADB7; }

/* ---- Quotes (only when real ones are configured) -------------------------------------------- */
.home-quotes { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.home-quotes li { padding: 26px; border-radius: 16px; border: 1px solid #E5E7EB; }
.home-quotes blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.6; }
.home-quote-by { margin: 14px 0 0; font-size: .9375rem; color: #5F6672; }

/* ---- 16. Final CTA -------------------------------------------------------------------------- */
.home-cta.home-sec { background: radial-gradient(60% 80% at 50% 110%, rgb(255 106 0 / .28), transparent 70%), #090B0F; border-top: 1px solid #1C2028; padding-block: clamp(88px, 11vw, 160px); }
.home-cta .home-cta-in { text-align: center; max-width: 820px; }
.home-cta .home-cta-in .home-sub { margin: 20px auto 0; max-width: 56ch; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: #A7ADB7; }
.home-cta .home-ctas { margin: 36px 0 0; max-width: none; }
.home-cta .home-cta-plat { margin: 28px auto 0; font-size: .9375rem; color: #A7ADB7; letter-spacing: .02em; }

/* ---- Reveal (JS adds .is-pre only to off-screen blocks, only when motion is allowed) --------- */
.home-reveal { transition: opacity .6s var(--h-ease), transform .6s var(--h-ease); }
.home-reveal.is-pre { opacity: 0; transform: translateY(12px); }

@media (prefers-reduced-motion: reduce) {
  .home-sec *, .home-sec *::before, .home-sec *::after { animation: none !important; transition: none !important; }
  .home-reveal.is-pre, .home-bc.is-pre .bc-alert { opacity: 1; transform: none; }
  .home-week.is-pre .wk-blk { transform: none; opacity: 1; }
  .home-lines-flow { display: none; }
  .home-ind a:hover { transform: none; }
}
