    *{margin:0;padding:0;box-sizing:border-box}
    body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',
         'Noto Sans KR',sans-serif;background:#fff;color:#333;
         max-width:800px;margin:0 auto}
    .hdr{padding:12px 16px;border-bottom:1px solid #e0e0e0;
         display:flex;justify-content:space-between;align-items:center}
    .hdr h2{font-size:15px;font-weight:700}
    .hdr .dt{font-size:11px;color:#888}
    .hdr .warn{color:#f9ab00;font-size:11px;margin-left:6px}
    .tabs{display:flex;border-bottom:1px solid #e0e0e0}
    .tab{flex:1;padding:8px;text-align:center;font-size:13px;
         cursor:pointer;border-bottom:2px solid transparent;
         transition:all .2s}
    .tab:hover{background:#f8f9fa}
    .tab.on{color:var(--tab-color,#0057b8);border-bottom-color:var(--tab-color,#0057b8);font-weight:600}
    .legend{display:flex;gap:10px;flex-wrap:wrap;padding:8px 16px 4px;
            border-bottom:1px solid #f3f4f6}
    .legend-item{display:flex;align-items:center;gap:8px;font-size:11px;color:#555}
    .legend-line{
      width:22px;height:0;border-top-style:solid;
      border-top-width:var(--legend-width,3px);
      border-top-color:var(--legend-color,#0057b8)
    }
    .legend-note{font-size:10px;color:#888}
    .chart{width:100%;height:300px}
    .cards{display:grid;grid-template-columns:repeat(3,1fr);
           gap:8px;padding:12px 16px}
    .card{background:#f8f9fa;border-radius:8px;padding:10px;
          text-align:center;position:relative;border:1px solid transparent}
    .card.t20{border-color:#f59e0b;background:#fff9eb;box-shadow:0 10px 22px rgba(245,158,11,.14)}
    .card.t10{border-color:#dc2626;background:#fff1f2;box-shadow:0 12px 24px rgba(220,38,38,.16)}
    .card .v{font-size:22px;font-weight:700;color:var(--value-color,inherit)}
    .card .l{font-size:11px;color:#666;margin-top:2px}
    .card .detail{font-size:11px;color:#5f6368;margin-top:4px}
    .card .note{font-size:10px;color:#b26a00;margin-top:4px}
    .card .basis{font-size:10px;color:#9aa0a6;margin-top:6px}
    .card .thresholds{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin-bottom:6px}
    .card .threshold-badge{display:inline-flex;align-items:center;padding:2px 8px;
      border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.01em}
    .card .threshold-badge.enter20{background:#f59e0b;color:#fff}
    .card .threshold-badge.enter10{background:#dc2626;color:#fff}
    .card .threshold-badge.below20{background:#fff7ed;color:#c2410c;border:1px solid #fdba74}
    .card .threshold-badge.below10{background:#fff1f2;color:#be123c;border:1px solid #fda4af}
    .card .ci{height:4px;background:#e0e0e0;border-radius:2px;
              margin-top:6px;position:relative;overflow:hidden}
    .card .ci-f{
      height:100%;border-radius:2px;position:absolute;
      left:var(--ci-left,0%);width:var(--ci-width,0%);background:var(--ci-bg,#e0e0e0)
    }
    .card .tip{display:none;position:absolute;bottom:calc(100% + 6px);
               left:50%;transform:translateX(-50%);background:#333;
               color:#fff;padding:4px 8px;border-radius:4px;
               font-size:10px;white-space:nowrap;z-index:10}
    .card:hover .tip{display:block}
    .bull{color:#0d904f} .bear{color:#d93025} .neut{color:#f9ab00}
    .extra{padding:4px 16px;font-size:12px;color:#555}
    .sig{padding:8px 16px;display:flex;gap:8px;flex-wrap:wrap}
    .badge{display:inline-block;padding:2px 10px;border-radius:10px;
           font-size:11px;font-weight:600}
    .b-long{background:#e6f4ea;color:#0d904f}
    .b-short{background:#fce8e6;color:#d93025}
    .b-neut{background:#fef7e0;color:#f9ab00}
    .b-off{background:#f1f3f4;color:#5f6368}
    .msg{margin:0 16px 8px;padding:8px 10px;border-radius:8px;
         font-size:12px;line-height:1.4}
    .msg.warn{background:#fef7e0;color:#8d6e00}
    .msg.err{background:#fce8e6;color:#b3261e}
    .range{
      padding:2px 16px 8px;
      font-size:11px;
      color:#6b7280;
      font-weight:600;
    }
    .ftr{padding:8px 16px;font-size:10px;color:#aaa;text-align:right;
         border-top:1px solid #f0f0f0}
    .ftr a{color:#0057b8;text-decoration:none}
