/**
 * css/views/audit-panel.css
 * -------------------------
 * Column 2: Inauthenticity Radar & 5-Pillar Score Framework.
 * Radial SVG gauge (0-100% Risk Score & Grade A+ to F), 5-Pillar evaluation matrix,
 * health ratio distribution bars (Likes/Views, Comments/Views, Shares/Views),
 * and automated Moments of Question / Anomalies checklist.
 */

/* Column 2: Inauthenticity Radar & 5-Pillar Score */
    .radar-banner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 182, 212, 0.08));
      border: 1px solid var(--border-accent);
      border-radius: 16px;
      padding: 20px;
      margin-bottom: 20px;
    }

    .gauge-container {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .radial-gauge {
      width: 90px;
      height: 90px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .radial-gauge svg {
      transform: rotate(-90deg);
      width: 100%;
      height: 100%;
    }

    .radial-gauge circle {
      fill: none;
      stroke-width: 8;
    }

    .radial-gauge .bg-circle {
      stroke: rgba(255, 255, 255, 0.08);
    }

    .radial-gauge .val-circle {
      stroke: var(--accent-emerald);
      stroke-linecap: round;
      stroke-dasharray: 251.2;
      stroke-dashoffset: 60;
      transition: stroke-dashoffset 1s ease, stroke 0.5s ease;
    }

    .gauge-number {
      position: absolute;
      text-align: center;
    }

    .gauge-number .pct {
      font-size: 20px;
      font-weight: 800;
      font-family: var(--font-mono);
      line-height: 1;
    }

    .gauge-number .lbl {
      font-size: 9px;
      text-transform: uppercase;
      color: var(--text-dim);
      font-weight: 600;
    }

    .gauge-verdict h3 {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 4px;
    }

    .gauge-verdict p {
      font-size: 12px;
      color: var(--text-muted);
      max-width: 320px;
    }

    .badge-grade {
      background: rgba(16, 185, 129, 0.2);
      color: var(--accent-emerald);
      border: 1px solid rgba(16, 185, 129, 0.4);
      padding: 8px 16px;
      border-radius: 12px;
      font-size: 24px;
      font-weight: 800;
      font-family: var(--font-mono);
      text-align: center;
      min-width: 68px;
    }

    /* Ratios Health Table */
    .ratios-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-bottom: 20px;
    }

    .ratio-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 12px 14px;
    }

    .ratio-card .ratio-top {
      display: flex;
      justify-content: space-between;
      font-size: 11px;
      color: var(--text-dim);
      margin-bottom: 6px;
    }

    .ratio-card .ratio-val {
      font-size: 16px;
      font-weight: 700;
      font-family: var(--font-mono);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .ratio-card .ratio-benchmark {
      font-size: 11px;
      color: var(--text-muted);
      margin-top: 4px;
    }

    /* 5-Pillar Score Cards */
    .pillars-container {
      margin-bottom: 20px;
    }

    .pillars-container h3 {
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-dim);
      margin-bottom: 12px;
    }

    .pillar-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 14px;
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 10px;
      margin-bottom: 8px;
      font-size: 12px;
    }

    .pillar-name {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 600;
    }

    .pillar-score-bar-wrapper {
      flex: 1;
      max-width: 140px;
      height: 6px;
      background: rgba(255, 255, 255, 0.06);
      border-radius: 4px;
      margin: 0 16px;
      overflow: hidden;
    }

    .pillar-score-bar {
      height: 100%;
      border-radius: 4px;
      background: var(--accent-emerald);
      width: 90%;
    }

    .pillar-status {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 600;
      color: var(--accent-emerald);
    }

    /* Historical Chart Container */
    .trend-chart-card {
      margin-top: auto;
    }

    .chart-svg-box {
      width: 100%;
      height: 120px;
      background: rgba(0, 0, 0, 0.2);
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.04);
      display: flex;
      align-items: flex-end;
      padding: 10px 16px;
      position: relative;
    }