/* BOTDOT Analytics — styles extracted from the standalone project so this
   page renders standalone inside the Hub without needing BOTDOT's full
   stylesheet. Scoped to classes used by Pages/Analytics.razor.
   Tailwind utility classes (flex / grid / text-*) come from the
   Tailwind CDN script loaded in the page's <HeadContent>. */

.audit-table { width: 100%; font-size: 0.875rem; color: #e2e8f0; }
.audit-table th, .audit-table td {
    padding: 0.5rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #334155;
}
.audit-table th {
    background: #0f172a;
    font-weight: 600;
    color: #94a3b8;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.kpi-big {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
}
.kpi-big.kpi-danger  { background: rgba(127,29,29,0.25); border-color: rgba(153,27,27,0.5); }
.kpi-big.kpi-warning { background: rgba(120,53,15,0.25); border-color: rgba(180,83,9,0.5);  }
.kpi-big.kpi-success { background: rgba(6,78,59,0.25);   border-color: rgba(5,150,105,0.5); }

.kpi-big .kpi-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}
.kpi-big.kpi-danger  .kpi-label { color: #fca5a5; }
.kpi-big.kpi-warning .kpi-label { color: #fcd34d; }
.kpi-big.kpi-success .kpi-label { color: #6ee7b7; }

.kpi-big .kpi-value {
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 800;
    color: #f1f5f9;
    font-variant-numeric: tabular-nums;
}
.kpi-big.kpi-danger  .kpi-value { color: #fecaca; }
.kpi-big.kpi-warning .kpi-value { color: #fde68a; }
.kpi-big.kpi-success .kpi-value { color: #a7f3d0; }

.card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 0.75rem;
    padding: 1rem;
    color: #e2e8f0;
}
.card-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.75rem;
}

.word-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 9999px;
    font-size: 0.875rem;
    color: #93c5fd;
}
.word-chip .count {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

.hm-grid {
    display: grid;
    grid-template-columns: 60px repeat(24, minmax(20px, 1fr));
    gap: 2px;
    font-size: 0.7rem;
}
.hm-cell {
    aspect-ratio: 1;
    border-radius: 2px;
    background: #1e293b;
}
.hm-label-row {
    color: #94a3b8;
    text-align: right;
    padding-right: 0.5rem;
    align-self: center;
}
.hm-label-col {
    color: #64748b;
    text-align: center;
    font-size: 0.65rem;
}
