html { scroll-behavior: smooth; scroll-padding-top: 124px }
    body { background: #050505; color: #fff; font-family: Manrope, Arial, sans-serif; overflow-x: hidden }
    .container-x { width: min(1360px, calc(100% - 96px)); margin: 0 auto }
    @media (max-width: 1279px) { .container-x { width: calc(100% - 56px) } }
    @media (max-width: 767px) { .container-x { width: calc(100% - 40px) } }
    .mono { font-family: "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase }
    .section { padding: 88px 0 }
    @media (max-width: 767px) { .section { padding: 60px 0 } }
    .h1 { font-size: clamp(34px, 4vw, 56px); line-height: 1.08; letter-spacing: -.035em }
    .h2 { font-size: clamp(27px, 2.7vw, 38px); line-height: 1.16; letter-spacing: -.03em }
    .grid-bg {
      background-image: linear-gradient(rgba(36, 36, 36, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 36, 36, .5) 1px, transparent 1px);
      background-size: 48px 48px
    }
    .cross { position: absolute; width: 17px; height: 17px; opacity: .55; pointer-events: none }
    .cross:before, .cross:after { content: ""; position: absolute; background: #666 }
    .cross:before { width: 17px; height: 1px; top: 8px; left: 0 }
    .cross:after { width: 1px; height: 17px; left: 8px; top: 0 }
    .corners { position: relative }
    .corners:before, .corners:after { content: ""; position: absolute; width: 12px; height: 12px; border-color: #666; pointer-events: none }
    .corners:before { left: -1px; top: -1px; border-left: 1px solid; border-top: 1px solid }
    .corners:after { right: -1px; bottom: -1px; border-right: 1px solid; border-bottom: 1px solid }
    .ticks { height: 5px; background-image: repeating-linear-gradient(90deg, #404040 0 1px, transparent 1px 10px) }
    *:focus-visible { outline: 1px solid #C6FF00; outline-offset: 2px }

    /* ---- diagram (nodes + connectors), shared by hero / overview / architecture */
    .dg-row { display: grid }
    .dg-row > * { margin: 0 5px }
    .dg-node { position: relative; display: block; width: calc(100% - 10px); border: 1px solid #242424; background: #050505; color: #A3A3A3; padding: 10px 6px; font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; text-align: center; line-height: 1.35 }
    .dg-node:after { content: ""; position: absolute; top: -3px; right: -3px; width: 5px; height: 5px; background: #666 }
    .dg-strong { border-color: #fff; color: #fff }
    button.dg-node { cursor: pointer }
    button.dg-node:hover { border-color: #404040; color: #fff }
    button.dg-node[aria-pressed="true"] { border-color: #fff; color: #fff; background: #111 }
    button.dg-node[aria-pressed="true"]:after { background: #C6FF00 }
    .dg-c { position: relative }
    .dg-straight { height: 26px }
    .dg-straight:before, .dg-stem:before, .dg-stubs span:before, .dg-m:before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: #404040 }
    .dg-stem { position: relative; height: 12px }
    .dg-stubs { display: grid; height: 12px }
    .dg-stubs span { position: relative }
    .dg-busline { position: absolute; top: 12px; height: 1px; background: #404040 }
    .dg-m { display: none; position: relative; height: 20px }
    @media (max-width: 639px) {
      .dg-wide { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; row-gap: 8px }
      .dg-bus > :not(.dg-m) { display: none }
      .dg-m { display: block }
    }

    .cap-row[aria-expanded="true"] .cap-icon { transform: rotate(45deg) }
    .cap-row[aria-expanded="true"] { background: #0B0B0B }
    details > summary { list-style: none }
    details > summary::-webkit-details-marker { display: none }
    details[open] .faq-icon { transform: rotate(45deg) }
    .ind-chip[aria-current="true"] { background: #fff; color: #050505; border-color: #fff }
    .ind-card.is-active { border-color: #fff }
    .subnav a[aria-current="true"] { color: #fff; border-color: #fff }
    .desktop-nav-sm { display: none }
    @media (max-width: 1179px) {
      .desktop-nav { display: none !important }
      .desktop-nav-sm { display: flex !important }
    }
    /* ---- floor map (Intelligent Navigation hero + demo; SVG built by public/js/navigation-demo.js) */
    .nm-svg { display: block; width: 100%; height: auto; overflow: hidden; user-select: none; -webkit-user-select: none; font-family: "IBM Plex Mono", monospace }
    .nm-scroll { overflow-x: auto; overscroll-behavior-x: contain }
    .nm-scroll .nm-svg { touch-action: pan-x pan-y }
    .nm-scroll .nm-svg.is-zoomed { touch-action: none; cursor: grab }
    .nm-scroll .nm-svg.is-panning { cursor: grabbing }
    @media (max-width: 639px) { .nm-scroll .nm-svg { min-width: 680px } }
    .nm-map:focus-visible { outline-offset: -2px }
    .nm-map [hidden] { display: none !important }
    .nm-grid-line { fill: none; stroke: #141414; stroke-width: 1 }
    .nm-hatch-line { stroke: #1A1A1A; stroke-width: 3 }
    .nm-ruler text { fill: #666; font-size: 11px; letter-spacing: .08em }
    .nm-floor-tag { fill: #A3A3A3; font-size: 11px; letter-spacing: .08em }
    .nm-outline { fill: none; stroke: #383838; stroke-width: 2 }
    .nm-corridor { fill: #111 }
    .nm-room-box { fill: #0B0B0B; stroke: #242424; stroke-width: 1.5 }
    .nm-hall .nm-room-box { fill: #080808; stroke-dasharray: 4 4 }
    .nm-area .nm-room-box { fill: #070707 }
    .nm-core .nm-room-box { stroke: #383838 }
    .nm-code { fill: #8A8A8A; font-size: 12px; letter-spacing: .08em; pointer-events: none }
    .nm-name { fill: #fff; font-family: Manrope, Arial, sans-serif; font-size: 15px; font-weight: 700; pointer-events: none }
    .nm-room.is-target, .nm-entrance, .nm-transition { cursor: pointer }
    .nm-room.is-target:hover .nm-room-box { stroke: #666; fill: #111 }
    .nm-room:focus, .nm-entrance:focus, .nm-transition:focus { outline: none }
    .nm-room.is-target:focus-visible .nm-room-box { stroke: #C6FF00; stroke-width: 2.5 }
    .nm-room.is-from .nm-room-box { stroke: #A3A3A3 }
    .nm-room.is-to .nm-room-box { stroke: #fff; stroke-width: 2 }
    .nm-room.is-to .nm-code { fill: #fff }
    .nm-entrance-gap { fill: #050505 }
    .nm-entrance-arrow { fill: none; stroke: #fff; stroke-width: 2 }
    .nm-entrance:focus-visible .nm-entrance-arrow { stroke: #C6FF00 }
    .nm-route { fill: none; stroke: #C6FF00; stroke-width: 4; stroke-linejoin: round; stroke-linecap: round }
    .nm-pin-start { fill: #050505; stroke: #C6FF00; stroke-width: 3 }
    .nm-pin-dot { fill: #C6FF00 }
    .nm-pin-end { fill: #C6FF00; stroke: #050505; stroke-width: 2 }
    .nm-pin-label-bg { fill: #050505; stroke: #383838 }
    .nm-pin-label { fill: #fff; font-size: 11px; letter-spacing: .08em }
    .nm-transition-node { fill: #050505; stroke: #C6FF00; stroke-width: 2 }
    .nm-transition-box { fill: #C6FF00 }
    .nm-transition-text { fill: #050505; font-size: 11px; font-weight: 600; letter-spacing: .06em }
    .nm-transition:hover .nm-transition-box, .nm-transition:focus-visible .nm-transition-box { fill: #fff }
    .nm-closed { stroke: #F87171; stroke-width: 3; stroke-dasharray: 6 5 }
    .nm-closed-x { fill: none; stroke: #F87171; stroke-width: 3 }
    .nm-focus { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 4 3 }
    .nm-floor-btn[aria-pressed="true"] { border-color: #fff; color: #fff; background: #111 }

    /* ---- schedule builder (AI Schedule Planner demo; calendar built by public/js/schedule-demo.js) */
    .sp-scroll { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain }
    .sp-cal { padding-bottom: 12px }
    .sp-block.is-short { padding-top: 2px; padding-bottom: 2px; justify-content: center }
    .sp-block.is-short .sp-block-time, .sp-block.is-short .sp-block-flag { display: none }
    .sp-block.is-short .sp-block-title { -webkit-line-clamp: 1; font-size: 11px }
    .sp-scroll:focus { outline: none }
    .sp-frame [hidden] { display: none !important }
    .sp-cal { display: grid; grid-template-columns: 52px repeat(var(--cols), minmax(var(--col-min), 1fr)); min-width: calc(52px + var(--cols) * var(--col-min)) }
    .sp-corner, .sp-dayhead { height: 36px; border-bottom: 1px solid #242424; font-family: "IBM Plex Mono", monospace; font-size: 9px; letter-spacing: .08em; color: #8A8A8A; display: flex; align-items: center }
    .sp-corner { padding-left: 8px; color: #666 }
    .sp-dayhead { border-left: 1px solid #242424; padding: 0 10px; gap: 6px; text-align: left }
    button.sp-dayhead:hover { background: #111; color: #fff }
    .sp-axis { position: relative }
    .sp-hour { position: absolute; right: 8px; transform: translateY(-50%); font-size: 9px; color: #666 }
    .sp-hour:first-child { transform: none }
    .sp-col { position: relative; border-left: 1px solid #242424; background-image: repeating-linear-gradient(to bottom, #1A1A1A 0 1px, transparent 1px var(--hour)) }
    .sp-break { position: absolute; left: 0; right: 0; border-top: 1px dashed #383838; border-bottom: 1px dashed #383838; background: repeating-linear-gradient(45deg, #0E0E0E 0 3px, transparent 3px 8px); font-size: 8px; color: #666; padding: 3px 6px; overflow: hidden; pointer-events: none }
    .sp-transfer { position: absolute; left: 12px; right: 12px; border-left: 1px dashed #666; padding-left: 6px; font-size: 8px; color: #8A8A8A; overflow: hidden; pointer-events: none; line-height: 10px }
    .sp-block { position: absolute; display: flex; flex-direction: column; gap: 2px; overflow: hidden; background: #111; border: 1px solid #383838; border-left: 3px solid #A3A3A3; padding: 4px 6px; text-align: left; color: #fff; z-index: 2; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none }
    .sp-block[data-priority="high"] { border-left-color: #C6FF00 }
    .sp-block[data-priority="low"] { border-left-color: #666 }
    .sp-block:hover { border-color: #666 }
    .sp-block.is-fixed { background: repeating-linear-gradient(45deg, #0B0B0B 0 4px, #151515 4px 8px); border-color: #383838; border-left-color: #fff; cursor: default; touch-action: auto }
    .sp-block.is-selected { border-color: #fff }
    .sp-block.is-conflict { border-color: #F87171; border-left-color: #F87171 }
    .sp-block.is-dragging { opacity: .35 }
    .sp-block:focus { outline: none }
    .sp-block:focus-visible { outline: 1px solid #C6FF00; outline-offset: 1px }
    .sp-block-time { font-family: "IBM Plex Mono", monospace; font-size: 9px; letter-spacing: .06em; color: #A3A3A3; white-space: nowrap }
    .sp-block-title { font-size: 12px; line-height: 1.3; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }
    .sp-block-flag { font-family: "IBM Plex Mono", monospace; font-size: 9px; color: #F87171 }
    .sp-ghost { position: absolute; left: 3px; right: 3px; z-index: 5; border: 1px dashed #C6FF00; background: rgba(198, 255, 0, .06); color: #C6FF00; font-family: "IBM Plex Mono", monospace; font-size: 9px; line-height: 1.35; padding: 3px 5px; overflow: hidden; pointer-events: none }
    .sp-ghost.is-invalid { border-color: #F87171; background: rgba(248, 113, 113, .08); color: #F87171 }
    [data-plan-scenario][aria-pressed="true"], [data-plan-view][aria-pressed="true"] { border-color: #fff; color: #fff; background: #111 }

    /* ---- decision engine (Next Best Action demo; panels built by public/js/decision-demo.js) */
    .nba-frame [hidden] { display: none !important }
    [data-nba-scenario][aria-pressed="true"], .nba-toggle[aria-pressed="true"] { border-color: #fff; color: #fff; background: #111 }
    [data-nba-explain][aria-pressed="true"] { border-color: #fff; color: #fff }

    /* ---- recommendation lab (Content Recommendation demo; panels built by public/js/recommendation-demo.js) */
    .rec-frame [hidden] { display: none !important }
    [data-rec-profile][aria-pressed="true"], [data-rec-save][aria-pressed="true"], [data-rec-explain][aria-pressed="true"] { border-color: #fff; color: #fff; background: #111 }
    .rec-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 64px); margin: auto; padding: 0; border: 1px solid #383838; background: #0B0B0B; color: #fff }
    .rec-dialog::backdrop { background: rgba(5, 5, 5, .82) }

    /* ---- product advisor (Product & Service Recommendation demo; panels built by public/js/advisor-demo.js) */
    .adv-frame [hidden] { display: none !important }
    [data-adv-compare][aria-pressed="true"], [data-adv-explain][aria-pressed="true"] { border-color: #fff; color: #fff; background: #111 }
    .adv-matrix:focus { outline: none }
    .adv-matrix:focus-visible { outline: 1px solid #C6FF00; outline-offset: 2px }

    /* ---- matching lab (Intelligent Matching Engine demo; panels and graph built by public/js/matching-demo.js) */
    .mtc-frame [hidden] { display: none !important }
    [data-mat-details][aria-pressed="true"], [data-mat-choose][aria-pressed="true"] { border-color: #fff; color: #fff; background: #111 }
    .mg-scroll { overflow-x: auto; overscroll-behavior-x: contain }
    .mg-svg { display: block; width: 100%; max-width: 900px; margin: 0 auto; height: auto; min-width: 640px; overflow: hidden; font-family: "IBM Plex Mono", monospace; user-select: none; -webkit-user-select: none }
    .mg-head { fill: #666; font-size: 10px; letter-spacing: .1em }
    .mg-edge { fill: none; stroke-width: 1.5; transition: opacity .15s }
    .mg-edge.is-strong { stroke: #C6FF00; stroke-width: 2 }
    .mg-edge.is-moderate { stroke: #A3A3A3 }
    .mg-edge.is-weak { stroke: #666; stroke-dasharray: 2 4 }
    .mg-edge.is-ineligible { stroke: #383838; stroke-dasharray: 5 5 }
    .mg-edge.is-selected { stroke-width: 3.5 }
    .mg-edge.is-chosen { stroke: #fff; stroke-width: 3.5 }
    .mg-edge.is-assigned { stroke: #C6FF00; stroke-width: 2.5 }
    .mg-edge.is-greedy { stroke: #A3A3A3; stroke-dasharray: 6 5 }
    .mg-edge.is-dim { opacity: .18 }
    .mg-score { fill: #A3A3A3; font-size: 10px; pointer-events: none }
    .mg-node { cursor: pointer }
    .mg-node:focus { outline: none }
    .mg-box { fill: #0B0B0B; stroke: #242424; stroke-width: 1 }
    .mg-label { fill: #D4D4D4; font-family: Manrope, Arial, sans-serif; font-size: 12px; font-weight: 600; pointer-events: none }
    .mg-meta { fill: #8A8A8A; font-size: 10px; pointer-events: none }
    .mg-node:hover .mg-box { stroke: #666 }
    .mg-node:focus-visible .mg-box { stroke: #C6FF00; stroke-width: 2 }
    .mg-node.is-active .mg-box { stroke: #fff; fill: #111 }
    .mg-node.is-active .mg-label { fill: #fff }
    .mg-node.is-muted .mg-label { fill: #8A8A8A }
    .mg-node.is-ineligible .mg-box { stroke-dasharray: 4 3 }
    .mg-node.is-ineligible .mg-label { fill: #666 }
    .mg-node.is-matched .mg-box { stroke: #C6FF00 }
    .mg-node.is-unmatched .mg-label { fill: #666 }
    .mtc-hero-svg { display: block; width: 100%; height: auto; font-family: "IBM Plex Mono", monospace }

    /* ---- meeting scheduler (AI Appointment & Meeting Planner demo; matrix and panels built by public/js/meeting-demo.js) */
    .mtg-frame [hidden] { display: none !important }
    [data-mtg-duration][aria-pressed="true"], [data-mtg-day][aria-pressed="true"], [data-mtg-select][aria-pressed="true"] { border-color: #fff; color: #fff; background: #111 }
    .mtg-scroll { overflow-x: auto; overscroll-behavior-x: contain }
    .mtg-matrix th, .mtg-matrix td { padding: 0 }
    .mtg-matrix .mtg-sticky { position: sticky; left: 0; z-index: 1; background: #050505; min-width: 148px; max-width: 168px; padding: 3px 8px; border-right: 1px solid #242424 }
    @media (max-width: 639px) { .mtg-matrix .mtg-sticky { min-width: 104px; max-width: 112px; padding: 3px 6px } }
    .mtg-col { min-width: 23px; height: 20px; text-align: left; vertical-align: bottom; padding-left: 2px !important }
    .mtg-td { padding: 2px 1px !important }
    .mtg-cell { display: flex; align-items: center; justify-content: center; width: 21px; height: 21px; border: 1px solid #383838; font-family: "IBM Plex Mono", monospace; font-size: 10px; line-height: 1; color: #666 }
    .mtg-cell.is-busy { background: #1C1C1C; border-color: #383838; color: #8A8A8A }
    .mtg-cell.is-booked { background: #fff; border-color: #fff; color: #050505; font-weight: 700 }
    .mtg-cell.is-break { border-style: dashed; border-color: #242424 }
    .mtg-cell.is-outside { border-color: transparent; color: #383838 }
    .mtg-cell.is-unfit { border-style: dashed }
    .mtg-cell.is-valid { border-color: #A3A3A3; color: #fff }
    .mtg-cell.is-recommended { background: #C6FF00; border-color: #C6FF00; color: #050505; font-weight: 700 }
    .mtg-cell.is-blocked { color: #F87171 }
    .mtg-cell.is-current { border-color: #fff; color: #fff }
    .mtg-cell.is-span { box-shadow: inset 0 0 0 1px #fff }
    button.mtg-cell { cursor: pointer }
    button.mtg-cell:hover { border-color: #fff }
    button.mtg-cell.is-selected { outline: 2px solid #fff; outline-offset: 1px }
    button.mtg-cell:focus-visible { outline: 2px solid #C6FF00; outline-offset: 1px }
    .mtg-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100% - 64px); margin: auto; padding: 0; border: 1px solid #383838; background: #0B0B0B; color: #fff }
    .mtg-dialog::backdrop { background: rgba(5, 5, 5, .82) }
    .mtg-hero td, .mtg-hero th { padding: 6px 4px; text-align: center }
    .mtg-hero .mtg-box { display: inline-block; width: 14px; height: 14px; border: 1px solid #383838; vertical-align: middle }
    .mtg-hero .mtg-box.is-busy { background: #383838 }
    /* ---- flow simulation lab (Smart Traffic & Flow Optimization demo; map and panels built by public/js/flow-demo.js) */
    .fl-frame [hidden] { display: none !important }
    .fl-frame [data-fl-pause][aria-pressed="true"], .fl-frame [data-fl-bn][aria-pressed="true"] { border-color: #fff; color: #fff }
    .fl-map { position: relative; overflow: hidden; touch-action: pan-y }
    .fl-svg { display: block; width: 100%; height: auto; font-family: "IBM Plex Mono", monospace; user-select: none; -webkit-user-select: none }
    .fl-svg.is-zoomed { cursor: grab; touch-action: none }
    @media (max-width: 639px) { .fl-map { overflow-x: auto; overscroll-behavior-x: contain; touch-action: auto } .fl-map .fl-svg { min-width: 620px } }
    .fl-grid { fill: none; stroke: #131313; stroke-width: 1 }
    .fl-area { fill: none; stroke: #242424; stroke-dasharray: 4 4 }
    .fl-area-label { fill: #555; font-size: 9px; letter-spacing: .1em }
    .fl-arrow { fill: #666 }
    .fl-edge { fill: none; stroke: #2A2A2A; stroke-linejoin: round; transition: stroke .2s }
    .fl-edge.is-used { stroke: #3A3A3A }
    .fl-edge.is-busy { stroke: #8A8A8A }
    .fl-edge.is-saturated { stroke: #F87171 }
    .fl-edge.is-closed { stroke: #1E1E1E; stroke-dasharray: 3 5 }
    .fl-closed { fill: #555; font-size: 8px; letter-spacing: .08em }
    .fl-box { fill: #0B0B0B; stroke: #383838; stroke-width: 1 }
    .fl-node { cursor: pointer }
    .fl-node:focus { outline: none }
    .fl-node:hover .fl-box, .fl-node:focus-visible .fl-box { stroke: #fff }
    .fl-node.is-selected .fl-box { stroke: #C6FF00; stroke-width: 2 }
    .fl-node.is-entry .fl-box, .fl-node.is-exit .fl-box { stroke: #666; stroke-dasharray: 2 2 }
    .fl-node.is-junction .fl-box { fill: #111 }
    .fl-density { fill: #fff; pointer-events: none }
    .fl-label { fill: #D4D4D4; font-size: 9px; letter-spacing: .06em; pointer-events: none }
    .fl-meta { fill: #8A8A8A; font-size: 8px; letter-spacing: .04em; pointer-events: none }
    .fl-entity { stroke: none }
    .fl-entity.is-moving { fill: #fff }
    .fl-entity.is-waiting { fill: #F87171 }
    .fl-entity.is-queued { fill: #A3A3A3 }
    .fl-entity.is-processing { fill: #C6FF00 }
    .fl-marker { cursor: pointer }
    .fl-marker:focus { outline: none }
    .fl-marker-shape { fill: #050505; stroke: #F87171; stroke-width: 1.5 }
    .fl-marker.is-selected .fl-marker-shape, .fl-marker:focus-visible .fl-marker-shape { fill: #F87171 }
    .fl-marker-text { fill: #F87171; font-size: 10px; font-weight: 700; pointer-events: none }
    .fl-marker.is-selected .fl-marker-text, .fl-marker:focus-visible .fl-marker-text { fill: #050505 }
    .fl-tooltip { position: absolute; z-index: 5; width: 220px; pointer-events: none; border: 1px solid #383838; background: #0B0B0B; padding: 8px 10px; font-family: "IBM Plex Mono", monospace; font-size: 10px; line-height: 1.6 }
    .fl-chart { display: block; width: 100%; height: auto; font-family: "IBM Plex Mono", monospace }
    .fl-chart-label { fill: #666; font-size: 9px; letter-spacing: .06em }
    .fl-chart-value { fill: #fff; font-size: 10px }
    .fl-chart-axis { stroke: #242424 }
    .fl-chart-band { fill: #F87171; opacity: .07 }
    .fl-chart-line { fill: none; stroke-width: 1.5 }
    .fl-chart-line.is-queue { stroke: #C6FF00 }
    .fl-chart-line.is-active { stroke: #fff }
    .fl-chart-line.is-thr { stroke: #A3A3A3 }
    .fl-chart-line.is-wait { stroke: #F87171 }
    .fl-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50% }

    /* ---- notification orchestration lab (Intelligent Notification System demo; panels built by public/js/notification-demo.js) */
    .nt-frame [hidden] { display: none !important }
    .nt-stream { max-height: 520px; overflow-y: auto; overscroll-behavior: contain }
    .nt-hero-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, 1.2fr) minmax(0, .9fr); gap: 8px; align-items: center }

    /* ---- speech intelligence studio (AI Speech & Content Summarization demo; panels built by public/js/speech-demo.js) */
    .sx-frame [hidden] { display: none !important }
    .sx-frame [data-sp-type][aria-pressed="true"], .sx-frame [data-sp-length][aria-pressed="true"], .sx-frame [data-sp-source][aria-pressed="true"], .sx-frame [data-sp-speaker-toggle][aria-pressed="true"] { border-color: #fff; color: #fff; background: #111 }
    .sx-frame [role="tab"][aria-selected="true"] { color: #fff; border-bottom-color: #C6FF00 }
    .sx-transcript { position: relative; max-height: 560px; overflow-y: auto; overscroll-behavior: contain }
    .sx-seg.is-selected { outline: 1px solid #fff; outline-offset: -1px }
    .sx-hl { border-bottom: 1px solid #C6FF00 }
    .sx-cite { background: #242424; color: #fff; box-shadow: 0 0 0 1px #383838 }
    .sx-match { background: #C6FF00; color: #050505 }
    .sx-insights { max-height: 640px; overflow-y: auto; overscroll-behavior: contain }
    .sx-insight-on { box-shadow: inset 2px 0 0 #C6FF00; padding-left: 10px }
    .sx-export { max-height: 360px; overflow: auto; white-space: pre-wrap; word-break: break-word; tab-size: 2 }
    .sx-wave { display: flex; align-items: flex-end; gap: 2px; height: 56px }
    .sx-wave span { flex: 1 1 0; min-width: 1px; background: #383838 }
    .sx-wave span.is-on { background: #C6FF00 }

    /* ---- activity intelligence lab (Personal Activity Intelligence demo; charts built by public/js/activity-demo.js) */
    .ac-frame [hidden] { display: none !important }
    .ac-frame [data-ac-range][aria-pressed="true"] { border-color: #fff; color: #fff; background: #111 }
    .ac-svg { display: block; width: 100%; height: auto; font-family: "IBM Plex Mono", monospace; user-select: none; -webkit-user-select: none }
    .ac-grid { stroke: #1C1C1C; stroke-width: 1 }
    .ac-axis { fill: #666; font-size: 9px; letter-spacing: .06em }
    .ac-block { cursor: pointer }
    .ac-block:hover { stroke: #fff; stroke-width: 1 }
    .ac-scroll { overflow-x: auto; overscroll-behavior-x: contain }
    .ac-timeline-svg { min-width: 640px }
    .ac-panel-scroll { max-height: 420px; overflow-y: auto; overscroll-behavior: contain }
    .ac-hero-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; align-items: center }

    /* ---- follow-up workflow lab (AI Follow-up Automation demo; canvas built by public/js/followup-demo.js) */
    .fu-frame [hidden] { display: none !important }
    .fu-svg { display: block; width: 100%; height: auto; font-family: "IBM Plex Mono", monospace; user-select: none; -webkit-user-select: none }
    .fu-canvas-scroll { overflow-x: auto; overscroll-behavior-x: contain }
    .fu-canvas-scroll .fu-svg { min-width: 600px }
    .fu-timeline-svg { min-width: 560px }
    .fu-edge { stroke: #383838; stroke-width: 1.2 }
    .fu-edge.is-event { stroke-dasharray: 4 3 }
    .fu-edge.is-on { stroke: #A3A3A3 }
    .fu-edge.is-last { stroke: #C6FF00; stroke-width: 1.6; stroke-dasharray: 6 4; animation: fu-flow 1s linear infinite }
    @keyframes fu-flow { to { stroke-dashoffset: -20 } }
    .fu-edge-label-bg { fill: #050505 }
    .fu-edge-label { fill: #666; font-size: 8px; letter-spacing: .06em }
    .fu-edge-label.is-on { fill: #D4D4D4 }
    .fu-node { cursor: pointer; outline: none }
    .fu-node rect { fill: #0B0B0B; stroke: #383838; stroke-width: 1; transition: stroke .3s, fill .3s }
    .fu-node-tag { fill: #666; font-size: 7.5px; letter-spacing: .08em }
    .fu-node-label { fill: #A3A3A3; font-size: 10px; letter-spacing: .04em }
    .fu-node:hover rect, .fu-node:focus-visible rect, .fu-node.is-inspect rect { stroke: #fff }
    .fu-node.is-active rect { stroke: #C6FF00; stroke-width: 2; fill: #111 }
    .fu-node.is-active .fu-node-tag { fill: #C6FF00 }
    .fu-node.is-active .fu-node-label, .fu-node.is-completed .fu-node-label { fill: #fff }
    .fu-node.is-completed rect { stroke: #A3A3A3; fill: #111 }
    .fu-node.is-completed .fu-node-tag { fill: #A3A3A3 }
    .fu-node.is-skipped rect { stroke-dasharray: 3 3; fill: none }
    .fu-node.is-skipped .fu-node-label { fill: #555 }
    .fu-node.is-stopped rect { stroke: #F87171 }
    .fu-node.is-stopped .fu-node-tag, .fu-node.is-stopped .fu-node-label { fill: #F87171 }
    .fu-axis { stroke: #383838 }
    .fu-tick { fill: #666; font-size: 8px }
    .fu-tick.is-now { fill: #C6FF00 }
    .fu-now { stroke: #C6FF00; stroke-dasharray: 2 2 }
    .fu-mark-sent { fill: #fff }
    .fu-mark-pending { fill: none; stroke: #C6FF00; stroke-width: 1.5 }
    .fu-mark-done { fill: #666 }
    .fu-mark-cancel { stroke: #666; stroke-width: 1.5 }
    .fu-mark-event { fill: #A3A3A3 }
    @media (prefers-reduced-motion: reduce) { .fu-edge.is-last { animation: none } }

    /* ---- lead intelligence lab (Predictive Lead Scoring demo; panels built by public/js/leadscore-demo.js) */
    .ls-frame [hidden] { display: none !important }
    .ls-frame input[type="range"] { width: 100%; accent-color: #C6FF00 }
    .ls-sort { font: inherit; color: inherit; letter-spacing: inherit }
    .ls-sort:hover, .ls-sort[aria-sort="ascending"], .ls-sort[aria-sort="descending"] { color: #fff }
    .ls-scroll { max-height: 520px; overflow: auto; overscroll-behavior: contain }
    .sc-frame [hidden] { display: none !important }
    .sc-frame input[type="range"] { width: 100%; accent-color: #C6FF00 }
    .sc-scroll { max-height: 420px; overflow-y: auto; overscroll-behavior: contain }
    .fc-frame [hidden] { display: none !important }
    .fc-frame input[type="range"] { width: 100%; accent-color: #C6FF00 }
    .fc-svg { display: block; width: 100%; height: auto; font-family: "IBM Plex Mono", monospace; user-select: none; -webkit-user-select: none }
    .fc-grid { stroke: #1C1C1C; stroke-width: 1 }
    .fc-limit { stroke: #F87171; stroke-width: 1; stroke-dasharray: 3 3 }
    .fc-axis { fill: #666; font-size: 9px; letter-spacing: .06em }
    .fc-hit { cursor: pointer }
    .fc-wide { overflow-x: auto; overscroll-behavior-x: contain }
    @media (max-width: 639px) { .fc-wide > .fc-svg { min-width: 600px } }
    .fc-scroll { max-height: 320px; overflow: auto; overscroll-behavior: contain }
    .oc-frame [hidden] { display: none !important }
    .oc-frame input[type="range"] { width: 100%; accent-color: #C6FF00 }
    .oc-scroll { max-height: 380px; overflow: auto; overscroll-behavior: contain }
    .cl-frame [hidden] { display: none !important }
    .cl-scroll { max-height: 380px; overflow: auto; overscroll-behavior: contain }
    .cl-export { max-height: 260px; overflow: auto; white-space: pre-wrap; word-break: break-word }
    .an-frame [hidden] { display: none !important }
    .an-frame select:disabled, .an-frame button:disabled { cursor: not-allowed }
    .an-svg { display: block; width: 100%; height: auto; user-select: none; -webkit-user-select: none }
    .an-wide { overflow-x: auto; overscroll-behavior-x: contain }
    @media (max-width: 639px) { .an-wide > .an-svg { min-width: 600px } }
    .an-scroll { max-height: 420px; overflow: auto; overscroll-behavior: contain }
    .an-plan { max-height: 300px; overflow: auto; white-space: pre-wrap; word-break: break-word }

    /* ---- communication studio (AI Communication Assistant demo; panels built by public/js/communication-demo.js) */
    .cm-frame [hidden] { display: none !important }
    .cm-frame [data-cm-channel][aria-pressed="true"], .cm-frame [data-cm-tone][aria-pressed="true"], .cm-frame [data-cm-language][aria-pressed="true"], .cm-frame [data-cm-pick][aria-pressed="true"] { border-color: #fff; color: #fff; background: #111 }
    .cm-editor { font-family: Manrope, Arial, sans-serif; line-height: 1.7; tab-size: 2 }
    .cm-del { color: #F87171; text-decoration: line-through; text-decoration-thickness: 1px }
    .cm-ins { color: #050505; background: #C6FF00; text-decoration: none; padding: 0 2px }
    .cm-compare:focus { outline: none }
    .cm-compare:focus-visible { outline: 1px solid #C6FF00; outline-offset: 2px }
    .cm-tone-bar { display: inline-block; width: 18px; height: 4px; background: #242424 }
    .cm-tone-bar.is-on { background: #C6FF00 }
    .mtg-hero .mtg-box.is-pick { background: #C6FF00; border-color: #C6FF00; color: #050505; font-size: 10px; line-height: 12px; font-weight: 700 }

    .scroll-x { overflow-x: auto; scrollbar-width: none }
    .scroll-x::-webkit-scrollbar { display: none }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto }
      *, *:before, *:after { transition: none !important; animation: none !important }
    }
