/* Pareto Analysis of Per-Feature Cost */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
    width: 100%; height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background: #f8fafc;
    color: #1f2937;
    overflow: hidden;
}
main {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 10px 14px;
    gap: 8px;
}

.header { display: flex; align-items: baseline; gap: 12px; }
.title { font-weight: 700; font-size: 16px; color: #37474f; }
.subtitle { font-size: 12px; color: #64748b; }

.controls {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    flex-wrap: wrap;
}
.control-block { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #475569; }
.control-block select { padding: 4px 6px; font-size: 12px; }

.status {
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 4px;
    background: #eff6ff;
    border-left: 3px solid #0277bd;
    color: #1e3a8a;
    min-height: 36px;
}

.chart-wrap {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 10px;
    flex: 1 1 auto;
    min-height: 0;
}
.chart-wrap canvas { height: 100% !important; width: 100% !important; }
