    /* USE CASES */
    .use-cases {
      background: var(--bg);
      border-bottom: 1px solid var(--border);
    }

    .use-cases .split-header {
      margin-bottom: 48px;
      padding-bottom: 48px;
    }

    .use-case-list {
      display: flex;
      flex-direction: column;
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
    }

    .uc-card {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      background: var(--surface);
      transition: background 0.25s;
    }

    .uc-card:hover {
      background: var(--bg2);
    }

    .uc-card:nth-child(even) .uc-content {
      order: 2;
    }

    .uc-card:nth-child(even) .uc-demo {
      order: 1;
      border-left: none;
      border-right: 1px solid var(--border);
    }

    .uc-content {
      padding: 40px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .uc-index {
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--text-dim);
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .uc-index::before {
      content: '';
      display: block;
      width: 16px;
      height: 1px;
      background: var(--text-dim);
    }

    .uc-title {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: 24px;
      letter-spacing: -0.01em;
      margin-bottom: 16px;
      color: var(--text);
      line-height: 1.25;
    }

    .uc-body {
      font-size: 14.5px;
      font-weight: 300;
      color: var(--text-muted);
      line-height: 1.8;
    }

    .uc-tag {
      display: inline-block;
      margin-top: 24px;
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      padding: 5px 14px;
      background: var(--accent-soft);
      color: var(--accent);
      border: 1px solid rgba(26, 82, 224, 0.18);
      border-radius: 1px;
      align-self: flex-start;
    }

    .uc-demo {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 40px;
      background: var(--bg2);
      border-left: 1px solid var(--border);
      min-height: 320px;
      position: relative;
      overflow: hidden;
    }

    .uc-demo-placeholder {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 12px;
      width: 100%;
      height: 100%;
      min-height: 240px;
      border: 1px dashed var(--border-mid);
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.5);
    }

    .uc-demo-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--accent-soft);
      border: 1px solid rgba(26, 82, 224, 0.12);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .uc-demo-icon svg {
      width: 16px;
      height: 16px;
      stroke: var(--accent);
      fill: none;
      stroke-width: 1.5;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .uc-demo-label {
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--text-dim);
    }

    /* ── Brief Demo Widget ──────────────────────────────────────────── */
    .uc-demo-brief {
      align-items: stretch;
      align-self: flex-start;
      padding: 0 !important;
      height: 380px;
      min-height: 0;
      overflow: hidden;
    }

    .bd {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      font-family: var(--font-body);
      font-size: 11px;
      transition: opacity 0.5s;
      overflow: hidden;
    }

    .bd-chat {
      flex: 1;
      overflow-y: scroll;
      scrollbar-width: none;
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding: 14px 14px 6px;
    }

    .bd-chat::-webkit-scrollbar {
      display: none;
    }

    .bd-inputbar {
      display: flex;
      align-items: flex-end;
      gap: 8px;
      padding: 7px 12px 11px;
      border-top: 1px solid var(--border);
      background: var(--surface);
      flex-shrink: 0;
    }

    .bd-input-wrap {
      flex: 1;
      background: var(--bg);
      border: 1px solid var(--border-mid);
      border-radius: 8px;
      padding: 7px 10px;
      font-size: 11px;
      color: var(--text);
      line-height: 1.5;
      white-space: pre-wrap;
      min-height: 32px;
      max-height: 72px;
      overflow: hidden;
    }

    .bd-cursor {
      display: inline-block;
      width: 1.5px;
      height: 11px;
      background: var(--accent);
      margin-left: 1px;
      vertical-align: text-bottom;
      animation: bdCursorBlink 0.9s step-end infinite;
    }

    @keyframes bdCursorBlink {
      50% {
        opacity: 0;
      }
    }

    .bd-send {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: var(--accent);
      color: #fff;
      font-size: 11px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      opacity: 0.22;
      transition: opacity 0.3s, transform 0.12s;
    }

    /* Message rows */
    .bd-user-row {
      display: flex;
      justify-content: flex-end;
    }

    .bd-user-bubble {
      max-width: 78%;
      background: var(--surface2);
      border-radius: 10px 10px 2px 10px;
      padding: 7px 10px;
      font-size: 10.5px;
      color: var(--text);
      line-height: 1.55;
      word-break: break-word;
    }

    .bd-agent-row {
      display: flex;
      align-items: flex-start;
      gap: 7px;
    }

    .bd-noav-row {
      display: flex;
      padding-left: 27px;
    }

    .bd-avatar {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      flex-shrink: 0;
      margin-top: 1px;
      background: linear-gradient(135deg, #1A52E0, #6B4FCC);
      color: #fff;
      font-size: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .bd-bubble {
      flex: 1;
      min-width: 0;
      background: var(--surface);
      border: 1px solid var(--border-mid);
      border-radius: 2px 10px 10px 10px;
      padding: 8px 10px;
      font-size: 10.5px;
      color: var(--text);
      line-height: 1.55;
    }

    .bd-noav-row .bd-bubble {
      border-radius: 10px;
    }

    /* Thinking dots */
    .bd-dots {
      display: flex;
      gap: 4px;
      align-items: center;
      height: 14px;
    }

    .bd-dots i {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: #bbb;
      display: block;
      animation: bdDot 1.2s ease-in-out infinite;
    }

    .bd-dots i:nth-child(2) {
      animation-delay: 0.18s;
    }

    .bd-dots i:nth-child(3) {
      animation-delay: 0.36s;
    }

    @keyframes bdDot {

      0%,
      80%,
      100% {
        transform: scale(0.6);
        opacity: 0.4;
      }

      40% {
        transform: scale(1);
        opacity: 1;
      }
    }

    /* Q&A */
    .bd-q-text {
      font-size: 10.5px;
      line-height: 1.5;
      color: var(--text);
      margin-bottom: 6px;
    }

    .bd-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
    }

    .bd-chip {
      font-size: 9.5px;
      padding: 3px 9px;
      border-radius: 99px;
      border: 1px solid var(--border-mid);
      background: var(--bg);
      color: var(--text-muted);
      cursor: default;
      transition: background 0.2s, color 0.2s, border-color 0.2s;
    }

    .bd-chip.selected {
      background: rgba(26, 82, 224, 0.08);
      color: var(--accent);
      border-color: rgba(26, 82, 224, 0.3);
      font-weight: 500;
    }

    /* Campaign overview */
    .bd-campaign {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .bd-c-title {
      font-size: 10.5px;
      font-weight: 600;
      color: var(--text);
      letter-spacing: -0.01em;
      margin-bottom: 2px;
    }

    .bd-ov-table {
      display: flex;
      flex-direction: column;
      gap: 0;
      border: 1px solid var(--border);
      border-radius: 5px;
      overflow: hidden;
    }

    .bd-ov-row {
      display: flex;
      gap: 8px;
      padding: 4px 8px;
      border-bottom: 1px solid var(--border);
    }

    .bd-ov-row:last-child {
      border-bottom: none;
    }

    .bd-ov-label {
      font-size: 9px;
      font-weight: 500;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      width: 68px;
      flex-shrink: 0;
      padding-top: 1px;
    }

    .bd-ov-val {
      font-size: 10px;
      font-weight: 400;
      color: var(--text);
      flex: 1;
    }

    /* DSP sections */
    .bd-dsp-section {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 5px;
      overflow: hidden;
    }

    .bd-dsp-hdr {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 5px 8px;
      border-bottom: 1px solid var(--border);
      background: var(--surface);
    }

    .bd-dsp-hdr-name {
      font-size: 10px;
      font-weight: 500;
      color: var(--text);
      flex: 1;
    }

    .bd-dsp-bgt {
      font-size: 9.5px;
      font-weight: 600;
      color: var(--text);
    }

    .bd-dsp-details {
      padding: 5px 8px;
      display: flex;
      flex-direction: column;
      gap: 3px;
    }

    .bd-dsp-li-row {
      font-size: 9.5px;
      color: var(--text-muted);
      line-height: 1.4;
    }

    .bd-badge {
      font-size: 7.5px;
      font-weight: 700;
      letter-spacing: 0.05em;
      padding: 2px 5px;
      border-radius: 3px;
      flex-shrink: 0;
    }

    .bd-badge-ttd {
      background: rgba(26, 82, 224, 0.10);
      color: #1A52E0;
    }

    .bd-badge-dv360 {
      background: rgba(15, 155, 62, 0.10);
      color: #0F9B3E;
    }

    /* Pre-flight */
    .bd-preflight-bubble {
      background: rgba(220, 38, 38, 0.05) !important;
      border-color: rgba(220, 38, 38, 0.2) !important;
    }

    .bd-pf-title {
      font-size: 9px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: #C53030;
      margin-bottom: 5px;
    }

    .bd-pf-item {
      font-size: 10px;
      line-height: 1.5;
    }

    .bd-pf-fail {
      color: #C53030;
    }

    .bd-pf-pass {
      color: #2D7D52;
    }

    /* DSP Warnings */
    .bd-warn-bubble {
      background: rgba(217, 119, 6, 0.05) !important;
      border-color: rgba(217, 119, 6, 0.2) !important;
    }

    .bd-warn-title {
      font-size: 9px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: #B45309;
      margin-bottom: 5px;
    }

    .bd-warn-item {
      font-size: 9.5px;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* Success */
    .bd-success-bubble {
      background: rgba(16, 185, 129, 0.06) !important;
      border-color: rgba(16, 185, 129, 0.25) !important;
      color: #0D6B41 !important;
    }

    /* Traffic button */
    .bd-action-row {
      padding-left: 27px;
    }

    .bd-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #1A8A5A;
      color: #fff;
      border-radius: 5px;
      padding: 5px 11px;
      font-size: 10px;
      font-weight: 500;
      font-family: var(--font-body);
    }

    .bd-spinner {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      border: 1.5px solid rgba(255, 255, 255, 0.3);
      border-top-color: #fff;
      animation: bdSpin 0.7s linear infinite;
      display: inline-block;
    }

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

    /* Replay bar */
    .bd-replay {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 12px;
      border-top: 1px solid var(--border);
      background: var(--surface);
      flex-shrink: 0;
      height: 0;
      overflow: hidden;
      transition: height 0.3s;
    }

    .bd-replay.visible {
      height: 38px;
    }

    .bd-replay-btn {
      display: flex;
      align-items: center;
      gap: 7px;
      background: none;
      border: none;
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 500;
      color: var(--accent);
      cursor: pointer;
      padding: 0;
      transition: opacity 0.2s;
    }

    .bd-replay-btn:hover {
      opacity: 0.7;
    }

    /* ── UC-02 Budget Reallocation ── */
    .uc-demo-br {
      align-items: stretch;
      align-self: flex-start;
      padding: 0 !important;
      height: 380px;
      min-height: 0;
      overflow: hidden;
    }

    .br {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      font-family: var(--font-body);
      font-size: 11px;
      overflow: hidden;
    }

    .br-header {
      display: flex;
      align-items: center;
      gap: 7px;
      padding: 9px 13px 8px;
      border-bottom: 1px solid var(--border);
      flex-shrink: 0;
    }

    .br-title {
      font-size: 10.5px;
      font-weight: 600;
      color: var(--text);
      letter-spacing: 0.01em;
    }

    .br-live {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 9px;
      font-weight: 600;
      color: #16a34a;
      letter-spacing: 0.06em;
    }

    .br-live-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: #16a34a;
      animation: brPulse 1.4s ease-in-out infinite;
    }

    @keyframes brPulse {

      0%,
      100% {
        opacity: 1
      }

      50% {
        opacity: 0.25
      }
    }

    .br-mode {
      font-size: 8.5px;
      font-weight: 500;
      background: rgba(26, 82, 224, 0.08);
      color: var(--accent);
      padding: 2px 7px;
      border-radius: 20px;
      margin-left: auto;
      letter-spacing: 0.03em;
    }

    .br-bars-section {
      padding: 9px 13px 8px;
      border-bottom: 1px solid var(--border);
      flex-shrink: 0;
    }

    .br-bars-lbl {
      font-size: 8.5px;
      font-weight: 500;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 7px;
    }

    .br-bar-row {
      display: flex;
      align-items: center;
      gap: 7px;
      margin-bottom: 6px;
    }

    .br-bar-row:last-child {
      margin-bottom: 0;
    }

    .br-dsp-lbl {
      width: 32px;
      font-size: 9px;
      font-weight: 600;
      color: var(--text-muted);
      text-align: right;
      flex-shrink: 0;
    }

    .br-bar-track {
      flex: 1;
      height: 9px;
      background: var(--bg2);
      border-radius: 3px;
      overflow: hidden;
    }

    .br-bar {
      height: 100%;
      border-radius: 3px;
      transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .br-bar-ttd {
      background: #6366f1;
    }

    .br-bar-dv {
      background: #22c55e;
    }

    .br-bar-amzn {
      background: #f97316;
    }

    .br-bar-ttd-init {
      width: 60%;
    }

    .br-bar-dv-init {
      width: 28%;
    }

    .br-bar-amzn-init {
      width: 12%;
    }

    .br-bar-pct {
      width: 26px;
      font-size: 9px;
      font-weight: 500;
      color: var(--text-muted);
      flex-shrink: 0;
      transition: color 0.4s;
    }

    .br-bar-pct.changed {
      color: var(--accent);
    }

    .br-feed-section {
      flex: 1;
      overflow-y: scroll;
      scrollbar-width: none;
      padding: 8px 13px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .br-feed-section::-webkit-scrollbar {
      display: none;
    }

    /* intro line */
    .br-intro {
      font-size: 9.5px;
      color: var(--text-dim);
      padding: 2px 0 4px;
      border-bottom: 1px solid var(--border);
      margin-bottom: 2px;
    }

    /* signal card */
    .br-signal {
      background: var(--bg2);
      border-radius: 5px;
      padding: 6px 8px;
    }

    .br-signal-hdr {
      display: flex;
      align-items: center;
      gap: 5px;
      margin-bottom: 3px;
    }

    .br-signal-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .br-dot-ttd {
      background: #6366f1;
    }

    .br-dot-dv {
      background: #22c55e;
    }

    .br-dot-amzn {
      background: #f97316;
    }

    .br-signal-src {
      font-size: 8.5px;
      font-weight: 600;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.07em;
    }

    .br-signal-ts {
      font-size: 8.5px;
      color: var(--text-dim);
      margin-left: auto;
    }

    .br-signal-txt {
      font-size: 9.5px;
      color: var(--text);
      line-height: 1.4;
    }

    /* thinking */
    .br-thinking {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 3px 0;
      color: var(--text-dim);
      font-size: 9.5px;
    }

    .br-tdots {
      display: flex;
      gap: 3px;
    }

    .br-tdots i {
      display: inline-block;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--accent);
      opacity: 0.4;
      animation: brTDot 1s ease-in-out infinite;
    }

    .br-tdots i:nth-child(2) {
      animation-delay: 0.15s;
    }

    .br-tdots i:nth-child(3) {
      animation-delay: 0.30s;
    }

    @keyframes brTDot {

      0%,
      80%,
      100% {
        transform: translateY(0);
        opacity: 0.3
      }

      40% {
        transform: translateY(-3px);
        opacity: 1
      }
    }

    /* decision card */
    .br-decision {
      border-radius: 5px;
      padding: 6px 8px;
      display: flex;
      align-items: flex-start;
      gap: 6px;
    }

    .br-dec-icon {
      font-size: 12px;
      flex-shrink: 0;
      line-height: 1.2;
    }

    .br-dec-body {
      flex: 1;
    }

    .br-dec-action {
      font-size: 9.5px;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 2px;
    }

    .br-dec-rationale {
      font-size: 9px;
      color: var(--text-muted);
      line-height: 1.45;
    }

    .br-decision.shift {
      background: rgba(99, 102, 241, 0.07);
    }

    .br-decision.scale {
      background: rgba(34, 197, 94, 0.07);
    }

    .br-decision.recover {
      background: rgba(249, 115, 22, 0.07);
    }

    /* ── UC-03 Dashboard wrapper ── */
    .cc-dashboard {
      display: flex;
      flex-direction: column;
      flex: 1;
      min-height: 0;
      overflow: hidden;
    }

    .cc-kpi-sub {
      font-size: 6.5px;
      color: var(--text-dim);
      margin-top: 1px;
    }

    .cc-charts-row {
      display: flex;
      height: 95px;
      border-bottom: 1px solid var(--border);
      flex-shrink: 0;
    }

    .cc-chart-card {
      flex: 1;
      padding: 5px 8px 3px;
      border-right: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .cc-chart-card:last-child {
      border-right: none;
    }

    .cc-chart-lbl {
      font-size: 7px;
      font-weight: 500;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.07em;
      flex-shrink: 0;
      margin-bottom: 3px;
    }

    .cc-bar-chart, .cc-line-chart {
      flex: 1;
      width: 100%;
      min-height: 0;
    }

    .cc-section-hdr {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 5px 10px;
      border-bottom: 1px solid var(--border);
      flex-shrink: 0;
      background: var(--bg);
    }

    .cc-section-title {
      font-size: 9.5px;
      font-weight: 600;
      color: var(--text);
    }

    .cc-section-count {
      font-size: 8px;
      color: var(--text-dim);
    }

    .cc-live-push {
      margin-left: auto;
    }

    /* ── UC-03 Command Center ── */
    .uc-demo-cc {
      align-items: stretch;
      align-self: flex-start;
      padding: 0 !important;
      height: 380px;
      min-height: 0;
      overflow: hidden;
    }


    .cc {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      font-family: var(--font-body);
      font-size: 11px;
      overflow: hidden;
    }

    .cc-header {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 8px 12px 7px;
      border-bottom: 1px solid var(--border);
      flex-shrink: 0;
    }

    .cc-title {
      font-size: 10.5px;
      font-weight: 600;
      color: var(--text);
    }

    .cc-sep {
      color: var(--text-dim);
      font-size: 9px;
    }

    .cc-meta {
      font-size: 8.5px;
      color: var(--text-dim);
    }

    .cc-kpi-strip {
      display: flex;
      border-bottom: 1px solid var(--border);
      flex-shrink: 0;
    }

    .cc-kpi-card {
      flex: 1;
      padding: 7px 10px;
      border-right: 1px solid var(--border);
    }

    .cc-kpi-card:last-child {
      border-right: none;
    }

    .cc-kpi-lbl {
      font-size: 7.5px;
      font-weight: 500;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.09em;
      margin-bottom: 3px;
    }

    .cc-kpi-val {
      font-size: 14px;
      font-weight: 600;
      color: var(--text);
      line-height: 1.1;
    }

    .cc-kpi-card.cc-alert .cc-kpi-val {
      color: #DC2626;
    }

    .cc-table-wrap {
      flex: 1;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .cc-thead {
      display: grid;
      grid-template-columns: 12px minmax(0,3fr) minmax(0,1fr) minmax(0,2fr) minmax(0,2fr) minmax(0,1.5fr) minmax(0,1fr);
      gap: 8px;
      align-items: center;
      padding: 0 10px;
      height: 22px;
      border-bottom: 1px solid var(--border);
      flex-shrink: 0;
      background: var(--bg2);
    }

    .cc-th {
      font-size: 7px;
      font-weight: 600;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.07em;
      white-space: nowrap;
    }

    .cc-tbody {
      flex: 1;
      overflow: hidden;
    }

    .cc-col-bgt {
      display: flex;
      flex-direction: column;
      gap: 3px;
    }

    .cc-col-st {
      display: flex;
      justify-content: flex-end;
    }

    .cc-row {
      display: grid;
      grid-template-columns: 12px minmax(0,3fr) minmax(0,1fr) minmax(0,2fr) minmax(0,2fr) minmax(0,1.5fr) minmax(0,1fr);
      gap: 8px;
      align-items: center;
      padding: 0 10px;
      height: 42px;
      border-bottom: 1px solid var(--border);
      transition: background 0.15s;
      flex-shrink: 0;
    }

    .cc-row.press {
      background: rgba(26, 82, 224, 0.11);
    }

    .cc-row.expanded {
      background: rgba(0, 0, 0, 0.015);
    }

    .cc-arrow {
      font-size: 7px;
      color: var(--text-dim);
      transition: transform 0.3s;
      display: inline-block;
      text-align: center;
    }

    .cc-arrow.open {
      transform: rotate(90deg);
    }

    .cc-camp-name {
      font-size: 9.5px;
      color: var(--text);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .cc-dsps {
      display: flex;
      gap: 2px;
      align-items: center;
      flex-wrap: nowrap;
    }

    .cc-pac-track {
      width: 26px;
      height: 4px;
      background: var(--bg2);
      border-radius: 2px;
      overflow: hidden;
      flex-shrink: 0;
    }

    .cc-pac-fill {
      height: 100%;
      border-radius: 2px;
    }

    .cc-pac-ok {
      background: #059669;
    }

    .cc-pac-warn {
      background: #D97706;
    }

    .cc-pac-bad {
      background: #DC2626;
    }

    .cc-pac-over {
      background: #D97706;
    }

    .cc-pac-pct {
      font-size: 9px;
      font-weight: 600;
      white-space: nowrap;
    }

    .cc-geo {
      font-size: 8px;
      color: var(--text-muted);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .cc-bgt-amounts {
      display: flex;
      gap: 3px;
      align-items: baseline;
    }

    .cc-bgt-spent {
      font-size: 9px;
      font-weight: 600;
      color: var(--text);
    }

    .cc-bgt-total {
      font-size: 8px;
      color: var(--text-dim);
    }

    .cc-bgt-bar {
      height: 3px;
      background: var(--surface2);
      border-radius: 2px;
      overflow: hidden;
    }

    .cc-bgt-fill {
      height: 100%;
      background: var(--accent);
      border-radius: 2px;
    }

    .cc-perf {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .cc-perf-cpa {
      font-size: 9px;
      font-weight: 600;
      color: var(--text);
      white-space: nowrap;
    }

    .cc-perf-tgt {
      font-size: 7.5px;
      color: var(--text-dim);
      white-space: nowrap;
    }

    .cc-perf-tgt-bad {
      color: #DC2626;
    }

    .cc-pac {
      display: flex;
      flex-direction: column;
      gap: 3px;
    }

    .cc-pac-top {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .cc-pac-spark {
      width: 28px;
      height: 12px;
      flex-shrink: 0;
    }

    .cc-pac-days {
      font-size: 7.5px;
      color: var(--text-dim);
      white-space: nowrap;
    }

    .cc-spill {
      font-size: 7px;
      font-weight: 600;
      padding: 2px 5px;
      border-radius: 3px;
      white-space: nowrap;
    }

    .cc-st-ok {
      background: rgba(5, 150, 105, 0.10);
      color: #065F46;
    }

    .cc-st-bad {
      background: rgba(239, 68, 68, 0.10);
      color: #991B1B;
    }

    .cc-st-warn {
      background: rgba(217, 119, 6, 0.10);
      color: #92400E;
    }

    .cc-st-over {
      background: rgba(217, 119, 6, 0.10);
      color: #92400E;
    }

    .cc-badge {
      font-size: 6.5px;
      font-weight: 700;
      letter-spacing: 0.04em;
      padding: 1px 3px;
      border-radius: 2px;
      flex-shrink: 0;
    }

    .cc-badge-ttd {
      background: rgba(26, 82, 224, 0.10);
      color: #1A52E0;
    }

    .cc-badge-dv {
      background: rgba(15, 155, 62, 0.10);
      color: #0F9B3E;
    }

    .cc-badge-amzn {
      background: rgba(234, 88, 12, 0.10);
      color: #C2410C;
    }

    .cc-li-group {
      overflow: hidden;
      height: 0;
      transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .cc-li-hdr {
      display: grid;
      grid-template-columns: minmax(0,3fr) minmax(0,1fr) minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.5fr) minmax(0,1.5fr);
      gap: 8px;
      align-items: center;
      padding: 0 10px 0 30px;
      height: 20px;
      border-bottom: 1px solid var(--border);
      background: var(--bg);
      flex-shrink: 0;
    }

    .cc-li-hth {
      font-size: 6.5px;
      font-weight: 500;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      white-space: nowrap;
    }

    .cc-li-row {
      display: grid;
      grid-template-columns: minmax(0,3fr) minmax(0,1fr) minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.5fr) minmax(0,1.5fr);
      gap: 8px;
      align-items: center;
      padding: 0 10px 0 30px;
      height: 24px;
      border-bottom: 1px solid var(--border);
      flex-shrink: 0;
    }

    .cc-li-row.li-bad {
      background: rgba(239, 68, 68, 0.06);
    }

    .cc-li-name {
      font-size: 8.5px;
      color: var(--text-muted);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .cc-li-bgt {
      font-size: 8px;
      color: var(--text-dim);
      text-align: right;
    }

    .cc-li-kpi {
      font-size: 8.5px;
      font-weight: 600;
      text-align: right;
      color: var(--text);
    }

    .cc-li-kpi.bad {
      color: #DC2626;
    }

    .cc-li-roas {
      font-size: 8.5px;
      color: var(--text);
      text-align: right;
    }

    .cc-li-pool {
      font-size: 8.5px;
      font-weight: 500;
      color: var(--text-muted);
      text-align: right;
    }

    .cc-li-dsp-col {
      display: flex;
    }

    .cc-li-st-col {
      display: flex;
      justify-content: flex-start;
    }

    .cc-pac-pct.cc-pac-ok  { color: #059669; }
    .cc-pac-pct.cc-pac-bad { color: #DC2626; }
    .cc-pac-pct.cc-pac-warn { color: #D97706; }
    .cc-pac-pct.cc-pac-over { color: #D97706; }

    /* ── Creative Intelligence Widget ── */
    .uc-demo-ci { align-items: stretch; align-self: flex-start; padding: 0 !important; height: 380px; min-height: 0; overflow: hidden; }
    .ci { width: 100%; height: 100%; display: flex; flex-direction: column; font-family: var(--font-body); font-size: 11px; overflow: hidden; }
    .ci-table-wrap { height: 136px; flex-shrink: 0; overflow: hidden; border-bottom: 1px solid var(--border); padding-bottom: 6px; }
    .ci-table { width: 100%; border-collapse: collapse; font-size: 11px; background: var(--surface); }
    .ci-table th { text-align: left; padding: 4px 12px; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); background: var(--bg2); border-bottom: 1px solid var(--border); }
    .ci-table td { padding: 4px 12px; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: middle; font-size: 10.5px; }
    .ci-tr { transition: opacity 0.5s, background 0.4s; opacity: 0; }
    .ci-tr.fatigued { background: rgba(217,119,6,0.07); animation: ciRowPulse 1.6s ease-in-out infinite; }
    .ci-tr.paused { opacity: 0.28; animation: none; }
    .ci-tr.scaling { background: rgba(34,197,94,0.07); }
    .ci-td-ctr { font-weight: 600; }
    .ci-td-muted { color: var(--text-muted); }
    .ci-pill { display: inline-block; font-size: 9px; font-weight: 600; padding: 2px 6px; border-radius: 4px; }
    .ci-pill-run  { background: rgba(99,102,241,0.1);  color: #6366f1; }
    .ci-pill-fat  { background: rgba(217,119,6,0.13);  color: #D97706; }
    .ci-pill-pause{ background: rgba(100,116,139,0.12); color: var(--text-muted); }
    .ci-pill-scale{ background: rgba(34,197,94,0.13);  color: #16A34A; }
    @keyframes ciRowPulse { 0%,100% { background: rgba(217,119,6,0.07); } 50% { background: rgba(217,119,6,0.16); } }
    .ci .br-feed-section { min-height: 0; background: var(--surface); }

    /* ── UC-05 Alert Analysis ── */
    .uc-demo-al { align-items: stretch; align-self: flex-start; height: 380px; padding: 0 !important; overflow: hidden; }
    .al { width: 100%; height: 100%; display: flex; flex-direction: column; font-family: var(--font-body); font-size: 11px; overflow: hidden; }
    .al-header { display: flex; align-items: center; gap: 6px; padding: 7px 12px 6px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
    .al-pills { margin-left: auto; display: flex; gap: 4px; align-items: center; }
    .al-body { display: flex; flex: 1; overflow: hidden; min-height: 0; }
    .al-sidebar { width: 130px; flex-shrink: 0; border-right: 1px solid var(--border); overflow-y: auto; padding: 6px 0; background: var(--bg); }
    .al-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
    .al-queue-item { padding: 6px 8px; cursor: default; border-left: 2px solid transparent; transition: background 0.2s, opacity 0.3s, border-color 0.2s; }
    .al-queue-item.active { background: rgba(26,82,224,0.05); border-left-color: var(--accent); }
    .al-queue-item.dimmed { opacity: 0.35; }
    .al-queue-sev { display: flex; align-items: center; gap: 4px; margin-bottom: 2px; }
    .al-queue-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
    .al-queue-sev-lbl { font-size: 6.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
    .al-queue-dot-high { background: #DC2626; }
    .al-queue-dot-med  { background: #D97706; }
    .al-queue-sev-high { color: #991B1B; }
    .al-queue-sev-med  { color: #92400E; }
    .al-queue-title { font-size: 8px; font-weight: 600; color: var(--text); line-height: 1.3; margin-bottom: 1px; }
    .al-queue-sub { font-size: 7.5px; color: var(--text-muted); line-height: 1.3; }
    .al-queue-dsp { display: inline-block; margin-top: 3px; font-size: 6px; font-weight: 700; padding: 1px 4px; border-radius: 2px; }
    .al-queue-dsp-ttd  { background: rgba(0,143,189,0.12); color: #00608A; }
    .al-queue-dsp-dv   { background: rgba(66,133,244,0.12); color: #1A56C4; }
    .al-queue-dsp-amzn { background: rgba(255,153,0,0.12);  color: #B35A00; }
    .al-queue-divider { height: 1px; background: var(--border); margin: 3px 0; }
    .al-pill { display: inline-flex; align-items: center; gap: 3px; font-size: 7px; font-weight: 600; padding: 1px 6px; border-radius: 99px; }
    .al-pill-high { background: rgba(220,38,38,0.1); color: #991B1B; }
    .al-pill-med  { background: rgba(217,119,6,0.1);  color: #92400E; }
    .al-pill-dot  { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
    .al-dot-high  { background: #DC2626; }
    .al-dot-med   { background: #D97706; }
    /* inline cards inside bd-bubble */
    .al-camp-card { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin-top: 6px; }
    .al-camp-hdr { display: flex; justify-content: space-between; align-items: flex-start; padding: 7px 10px 5px; border-bottom: 1px solid var(--border); }
    .al-camp-name { font-size: 10px; font-weight: 600; color: var(--text); }
    .al-camp-sub { font-size: 7.5px; color: var(--text-muted); margin-top: 1px; }
    .al-badge-under { font-size: 6.5px; font-weight: 700; padding: 2px 5px; border-radius: 3px; background: rgba(220,38,38,0.1); color: #991B1B; white-space: nowrap; }
    .al-metrics { display: flex; border-bottom: 1px solid var(--border); }
    .al-metric { flex: 1; padding: 6px 8px; border-right: 1px solid var(--border); }
    .al-metric:last-child { border-right: none; }
    .al-metric-lbl { font-size: 7.5px; color: var(--text-dim); margin-bottom: 2px; }
    .al-metric-val { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.1; }
    .al-metric-val.bad { color: #DC2626; }
    .al-metric-val.warn { color: #D97706; }
    .al-alert-banner { padding: 5px 10px; background: rgba(220,38,38,0.04); font-size: 8px; color: #991B1B; }
    .al-li-section { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin-top: 6px; }
    .al-li-hdr-bar { padding: 4px 10px; border-bottom: 1px solid var(--border); font-size: 7.5px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; background: var(--bg2); }
    .al-li-grid { display: grid; grid-template-columns: minmax(0,3fr) 1fr 1fr 1fr minmax(0,2fr); gap: 4px; align-items: center; }
    .al-li-thead { padding: 3px 10px; border-bottom: 1px solid var(--border); background: var(--bg2); }
    .al-li-th { font-size: 6.5px; font-weight: 600; color: var(--text-dim); text-transform: uppercase; }
    .al-li-row { padding: 4px 10px; border-bottom: 1px solid var(--border); }
    .al-li-row:last-child { border-bottom: none; }
    .al-li-row.hl { background: rgba(220,38,38,0.04); }
    .al-li-cell { font-size: 8.5px; color: var(--text); }
    .al-li-cell.bad { color: #DC2626; font-weight: 600; }
    .al-li-name-wrap { display: flex; align-items: center; gap: 4px; }
    .al-li-marker { font-size: 7px; color: #DC2626; }
    .al-raw-link { font-size: 8px; color: var(--accent); padding: 4px 10px; display: block; }
    .al-analyse-btn { display: inline-block; font-size: 9px; font-weight: 600; padding: 5px 14px; border-radius: 20px; border: 1.5px solid var(--accent); color: var(--accent); background: transparent; cursor: default; margin-top: 5px; transition: background 0.3s, color 0.3s; }
    .al-analyse-btn.pressed { background: var(--accent); color: white; }
    .al-analysis-card { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin-top: 6px; }
    .al-section-hdr { padding: 5px 10px; border-bottom: 1px solid var(--border); font-size: 7.5px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; background: var(--bg2); }
    .al-weight-row { display: flex; align-items: center; gap: 6px; padding: 3px 10px; }
    .al-weight-lbl { font-size: 8px; color: var(--text-muted); flex: 1; min-width: 0; }
    .al-weight-track { width: 60px; height: 4px; background: var(--bg2); border-radius: 2px; flex-shrink: 0; overflow: hidden; }
    .al-weight-fill { height: 100%; background: var(--accent); border-radius: 2px; width: 0; transition: width 0.9s ease; }
    .al-weight-num { font-size: 8px; font-weight: 600; color: var(--text); width: 18px; text-align: right; }
    .al-alt-row { display: flex; justify-content: space-between; align-items: center; padding: 3px 10px; }
    .al-alt-txt { font-size: 8.5px; color: var(--text-muted); }
    .al-alt-rej { font-size: 6.5px; font-weight: 700; color: #DC2626; background: rgba(220,38,38,0.08); padding: 1px 5px; border-radius: 3px; }
    .al-card-title { font-size: 7px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); padding: 6px 10px 4px; border-bottom: 1px solid var(--border); margin-bottom: 2px; }
    .al-signal-para { font-size: 8.5px; color: var(--text-muted); line-height: 1.55; padding: 3px 10px 4px; }
    .al-root-item { padding: 3px 10px; font-size: 8.5px; line-height: 1.5; color: var(--text-muted); }
    .al-root-label { font-weight: 700; color: var(--text); }
    .al-option-item { padding: 3px 10px; font-size: 8.5px; line-height: 1.5; color: var(--text-muted); }
    .al-option-label { font-weight: 700; color: var(--text); }
    .al-rejected-label { color: #DC2626; }
    .al-rec-wrap { padding: 6px 10px 8px; border-top: 1px solid var(--border); }
    .al-rec-lbl { font-size: 7px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 3px; }
    .al-rec-text { font-size: 8.5px; color: var(--text); font-weight: 500; line-height: 1.55; white-space: pre-line; padding: 4px 10px; }
    .al-confidence { font-size: 8px; font-weight: 700; color: var(--accent); margin-top: 5px; padding: 0 10px 6px; }
    .al-cta-btn { display: block; font-size: 9px; font-weight: 600; padding: 7px 14px; border-radius: 6px; background: var(--accent); color: white; border: none; cursor: default; width: 100%; margin-top: 6px; text-align: center; }

