      body { font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; margin: 32px; }
      code { background: #f3f4f6; padding: 2px 6px; border-radius: 6px; }
      .box { border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px 18px; max-width: 1900px; }
      h1 { font-size: 18px; margin: 0 0 8px; }
      h2 { font-size: 14px; margin: 18px 0 8px; }
      p { margin: 8px 0; line-height: 1.5; color: #111827; }
      a { color: #2563eb; text-decoration: none; }
      a:hover { text-decoration: underline; }
      .muted { color: #6b7280; }
      .row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
      .pill { display: inline-flex; gap: 8px; align-items: center; border: 1px solid #e5e7eb; border-radius: 999px; padding: 6px 10px; background: #fff; }
      .pill.active { background:#111827; border-color:#111827; }
      .pill.active a, .pill.active span { color:#fff !important; }
      .k { color: #6b7280; font-size: 12px; }
      .v { font-weight: 700; color: #111827; }
      .err { color: #dc2626; font-weight: 700; }
      .pos { color: #16a34a; font-weight: 800; }
      .warn { color: #d97706; font-weight: 800; }
      .neg { color: #dc2626; font-weight: 800; }
      .inp { border: none; outline: none; background: transparent; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 12px; width: 64px; }
      table { border-collapse: collapse; width: 100%; margin-top: 8px; }
      th, td { border-top: 1px solid #f1f5f9; padding: 4px 6px; text-align: left; font-size: 12px; }
      th { color: #334155; font-weight: 800; background: #f8fafc; border-top: 1px solid #e2e8f0; }
      .th-wrap { display: inline-block; line-height: 1.1; white-space: normal; }
      td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
      .small { font-size: 12px; }
      .btn { border: 1px solid #e5e7eb; background: #fff; border-radius: 10px; padding: 6px 10px; cursor: pointer; font-size: 12px; font-weight: 700; }
      .btn:hover { background: #f8fafc; }
      .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
      .mono.bucket { width: 42px; }
      .mono.yesask { width: 40px; }
      .mono.noask { text-align: left; padding-left: 15px;}
      .deadRow { opacity: 0.55; }
      .deadRow input { background: #f3f4f6; }
      .tabs { display:flex; gap: 10px; margin-top: 12px; border-bottom: 1px solid #e5e7eb; padding-bottom: 10px; }
      .tabBtn { border: 1px solid #e5e7eb; background:#fff; border-radius: 999px; padding: 6px 12px; cursor:pointer; font-size: 12px; font-weight: 800; color:#111827; }
      .tabBtn:hover { background:#f8fafc; }
      .tabBtn.active { background:#111827; color:#fff; border-color:#111827; }
      .tabPane { display:none; }
      .tabPane.active { display:block; }
      /* 12-city market board */
      .boardControls { display:flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
      .boardGrid { display:grid; grid-template-columns: 1fr; gap: 14px; margin-top: 12px; }
      .cityBoard { border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px; background: #fff; }
      .cityBoardHead { font-weight: 900; color:#111827; margin-bottom: 8px; }
      .cityBoardTop { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
      .cityBoardBottom { display:grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
      .cityBoardBottom .card { width: auto; min-width: 0; }
      .cityBoardSlot { border: 1px dashed #e5e7eb; border-radius: 12px; background: #fafafa; display: flex; align-items: center; justify-content: center; min-height: 220px; }
      .cityBoardSlotReserved { color: #9ca3af; }
      .trendPanel { border: 1px solid #e5e7eb; border-radius: 10px; padding: 8px; background: #fff; }
      .trendTitle { font-weight: 800; color: #111827; font-size: 12px; }
      .trendSub { margin-top: 2px; font-size: 11px; }
      .trendLegend { display:flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; font-size: 11px; }
      .trendLegendItem { display:inline-flex; gap: 5px; align-items: center; color: #475569; }
      .trendLegendDot { width: 12px; height: 0; border-top: 2px solid #94a3b8; display: inline-block; }
      .trendLegendDot.trendLineObs { border-top-color: #be123c; }
      .trendLegendDot.trendLineRef { border-top-color: #0284c7; border-top-style: dashed; }
      .trendLegendDot.trendLineSnap { border-top-color: #7c3aed; }
      .trendLegendDot.trendLineWuRef { border-top-color: #f59e0b; border-top-style: dashed; }
      .trendLegendDot.trendLineWuLive { border-top-color: #f97316; }
      .trendSwatch { display:inline-block; width: 10px; height: 10px; border-radius: 2px; margin-left: 4px; vertical-align: -1px; }
      .trendSwatch.obs { background: #be123c; }
      .trendSwatch.snap { background: #7c3aed; }
      .trendSwatch.ref { background: transparent; border: 2px dashed #0284c7; box-sizing: border-box; }
      .trendSwatch.wu { background: transparent; border: 2px dashed #f59e0b; box-sizing: border-box; }
      .trendSwatch.wulive { background: #f97316; border: 1px solid #f97316; box-sizing: border-box; }
      .trendSvgWrap { margin-top: 6px; position: relative; }
      .trendSvgWrap svg { width: 100%; height: 240px; display: block; background: linear-gradient(to top, #f8fafc, #fff); border: 1px solid #f1f5f9; border-radius: 8px; }
      .trendGuide { stroke: #e5e7eb; stroke-width: 1; }
      .trendGrid { stroke: #e5e7eb; stroke-width: 1; opacity: .65; }
      .trendVGrid { stroke: #e5e7eb; stroke-width: 1; opacity: .35; }
      .trendAxis { stroke: #cbd5e1; stroke-width: 1; }
      .trendAxisLbl { fill: #64748b; font-size: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
      .trendAxisLeft { text-anchor: end; }
      .trendAxisRight { text-anchor: start; }
      .trendAxisUnit { fill: #475569; font-size: 14px; font-weight: 800; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; text-anchor: start; }
      .trendAxisUnitRight { text-anchor: end; }
      .trendXAxisLbl { fill: #64748b; font-size: 14px; text-anchor: middle; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
      .trendXAxisNote { fill: #94a3b8; font-size: 14px; text-anchor: start; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
      .trendCondIcon { fill: #334155; font-size: 16px; text-anchor: middle; dominant-baseline: middle; }
      .trendDotVis { pointer-events: none; stroke: none; }
      .trendDotVis.trendLineObs { fill: #be123c; }
      .trendDotVis.trendLineRef { fill: #0284c7; }
      .trendDotVis.trendLineSnap { fill: #7c3aed; }
      .trendDotVis.trendLineWuRef { fill: #f59e0b; }
      .trendDotVis.trendLineWuLive { fill: #f97316; }
      .trendDotHit { fill: rgba(15, 23, 42, 0.001) !important; stroke: transparent !important; pointer-events: all; cursor: crosshair; }
      .trendSolid { fill: none; stroke: #be123c; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
      .trendDashed { fill: none; stroke: #0284c7; stroke-width: 2.0; stroke-dasharray: 6 4; stroke-linecap: round; stroke-linejoin: round; opacity: .95; }
      .trendLineObs { fill: none; stroke: #be123c; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
      .trendLineRef { fill: none; stroke: #0284c7; stroke-width: 2.0; stroke-dasharray: 6 4; stroke-linecap: round; stroke-linejoin: round; opacity: .95; }
      .trendLineSnap { fill: none; stroke: #7c3aed; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
      .trendLineWuRef { fill: none; stroke: #f59e0b; stroke-width: 2.0; stroke-dasharray: 4 3; stroke-linecap: round; stroke-linejoin: round; opacity: .95; }
      .trendLineWuLive { fill: none; stroke: #f97316; stroke-width: 2.0; stroke-linecap: round; stroke-linejoin: round; opacity: .95; }
      .trendErrorWrap { display:grid; grid-template-columns: 1fr; gap: 8px; }
      .trendErrCard { border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px; background: #fff; }
      .trendErrTitle { font-size: 11px; color: #334155; font-weight: 800; }
      .trendErrMain { margin-top: 6px; font-size: 18px; font-weight: 900; }
      .trendErrSub { margin-top: 4px; font-size: 11px; line-height: 1.3; }
      .trendRange { margin-top: 4px; font-size: 11px; color: #6b7280; text-align: right; }
      .trendEmpty { margin-top: 8px; }
      .trendHoverTip { position: fixed; z-index: 9999; pointer-events: none; background: rgba(15,23,42,0.92); color: #fff; border-radius: 8px; padding: 6px 8px; font-size: 11px; line-height: 1.25; box-shadow: 0 8px 20px rgba(2,6,23,.25); max-width: 320px; white-space: nowrap; }
      @media (max-width: 1200px){
        .cityBoardTop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .cityBoardBottom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      }
      @media (max-width: 720px){
        .cityBoardTop { grid-template-columns: 1fr; }
        .cityBoardBottom { grid-template-columns: 1fr; }
      }
      .card { border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px 12px; background: #fff;  width: 420px;}
      .cardHead { display:flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
      .cardTitle { font-weight: 900; color:#111827; }
      .cardSub { margin-top: 4px; color:#6b7280; font-size: 12px; }
      .cardSub .wuLinks { margin-left: 8px; white-space: nowrap; }
      .cardSub .wuLinks a { color: #64748b; }
      .miniPills { display:flex; gap: 4px; flex-wrap: wrap; margin-top: 8px; }
      .miniPill { display:inline-flex; gap: 4px; align-items: center; padding: 4px; border: 1px solid #e5e7eb; border-radius: 999px; font-size: 12px; background:#fff; }
      .miniPill .k { font-size: 11px; }
      /* Forecast quantile coloring */
      .fcq { font-weight: 900; }
      .fcq.p02 { color: #1d4ed8; } /* blue-700 */
      .fcq.p05 { color: #2563eb; } /* blue-600 */
      .fcq.p10 { color: #0284c7; } /* sky-600 */
      .fcq.p15 { color: #0ea5e9; } /* sky-500 */
      .fcq.p20 { color: #14b8a6; } /* teal-500 */
      .fcq.p25 { color: #22c55e; } /* green-500 */
      .fcq.p30 { color: #16a34a; } /* green-600 */
      .fcq.p40 { color: #15803d; } /* green-700 */
      .fcq.p50 { color: #111827; } /* near-black */
      .fcq.p60 { color: #ca8a04; } /* yellow-600 */
      .fcq.p70 { color: #a16207; } /* amber-700 */
      .fcq.p80 { color: #b45309; } /* amber-800 */
      .fcq.p85 { color: #f59e0b; } /* amber-500 */
      .fcq.p90 { color: #f97316; } /* orange-500 */
      .fcq.p95 { color: #ef4444; } /* red-500 */
      .bucketQ { font-weight: 900; }
      .bucketQ.p02 { color: #1d4ed8; } /* match .fcq.p02 */
      .bucketQ.p05 { color: #2563eb; } /* match .fcq.p05 */
      .bucketQ.p10 { color: #0284c7; } /* match .fcq.p10 */
      .bucketQ.p15 { color: #0ea5e9; } /* match .fcq.p15 */
      .bucketQ.p20 { color: #14b8a6; } /* match .fcq.p20 */
      .boardTbl th, .boardTbl td { padding: 4px 6px; font-size: 12px; }
      .boardTbl th { background:#f8fafc; }
      .boardTbl tr.pickedRow td { background: rgba(59,130,246,0.10); }
      .boardTbl tr.pickedRow:hover td { background: rgba(59,130,246,0.14); }
      sub.askSz { color: #9ca3af; font-size: 10px; font-weight: 600; }
      /* board picked buckets */
      .boardPicked { border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px 12px; background: #fff; margin-top: 12px; }
      .boardPickedHead { display:flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
      .boardPickedTitle { font-weight: 900; color:#111827; }
      .pickedStats { display:flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
      .pickedStats .stat { color: #f97316; font-weight: 900; }
      .pickedDoneChk { width: 16px; height: 16px; cursor: pointer; }
      .doneRow td { opacity: 0.65; }
      .doneRow td a { opacity: 0.9; }
      .hiddenRow td { opacity: 0.35; }
      .boardPickedTblWrap { margin-top: 8px; overflow: auto; border-top: 1px solid #f1f5f9; }
      .boardPickedTbl { width: 100%; border-collapse: collapse; margin-top: 0; }
      .boardPickedTbl th, .boardPickedTbl td { border-top: 1px solid #f1f5f9; padding: 4px 6px; font-size: 12px; }
      .boardPickedTbl th { background:#f8fafc; border-top: 1px solid #e2e8f0; }
      .boardPickedTbl tr:hover td { background: rgba(15,23,42,0.03); }
      .pickedLinks a { color: #64748b; margin-right: 8px; white-space: nowrap; }
      .pickedShares { width: 70px; border: 1px solid #e5e7eb; border-radius: 10px; padding: 4px 8px; background:#fff; }
      .pickedShares2 { width: 70px; border: 1px solid #e5e7eb; border-radius: 10px; padding: 4px 8px; background:#fff; }
      .pickedHideBtn { padding: 3px 8px; border-radius: 10px; }
      /* error-stats source compare */
      .bestRow td { background: rgba(22,163,74,0.06); }
      .dist { width: 132px; height: 10px; position: relative; background: #f3f4f6; border-radius: 999px; overflow: hidden; }
      .dist .range { position: absolute; top: 2px; height: 6px; background: rgba(59,130,246,0.45); border-radius: 999px; }
      .dist .iqr { position: absolute; top: 2px; height: 6px; background: rgba(59,130,246,0.70); border-radius: 999px; }
      .dist .median { position: absolute; top: 0px; width: 2px; height: 10px; background: rgba(17,24,39,0.65); }
