/* 16 · 加油费月度核对 ——「车库仪表盘」：深蓝仪表 / 琥珀指针 / 月度柱状 / 数据密集 */
.gl12[data-page="fuel-cost-monthly"] {
    --a1: #1f5b9a;
    --a1-deep: #143c6d;
    --a1-soft: #e4eff9;
    --a2: #d98521;
    --a2-soft: #fcf0de;
    --font-display: var(--gl-font);
    --font-num: var(--gl-mono);
    --page-bg: linear-gradient(180deg, #e9f0f8 0, #f5f8fc 340px), #f5f8fc;
}
:root[data-theme="dark"] .gl12[data-page="fuel-cost-monthly"] {
    --a1: #7fb2ef;
    --a1-deep: #a9cdfa;
    --a1-soft: rgba(127, 178, 239, .15);
    --a2: #f0b060;
    --a2-soft: rgba(240, 176, 96, .15);
    --page-bg: linear-gradient(180deg, #101c2c 0, #0d1117 340px), #0d1117;
}

.fc-hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr); gap: 30px; padding: 28px 0 28px; align-items: start; }
.fc-hero-copy { padding-top: 12px; }
.fc-hero .gl-h1 { font-size: clamp(33px, 4.2vw, 48px); font-weight: 850; letter-spacing: -.04em; }
.fc-hero .gl-h1 em { font-size: .68em; color: var(--a2); }
.fc-hero .gl-sub { max-width: 47ch; }
.fc-hero .gl-value { border-radius: 6px; font-family: var(--font-num); font-size: 12px; }
.fc-hero-badges { display: flex; gap: 18px; margin-top: 24px; font-family: var(--font-num); font-size: 12.5px; color: var(--gl-mute); }
.fc-hero-badges span { padding: 8px 12px; border: 1px solid var(--gl-line); border-radius: 10px; background: var(--gl-card); }

.fc-console { background: var(--gl-card); border: 1px solid var(--gl-line); border-radius: 20px; padding: 22px; box-shadow: var(--gl-shadow-2); }
.fc-console-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.fc-console-h b { font-size: 18px; font-weight: 800; }
.fc-console-h span { font-size: 12px; color: var(--gl-mute); }
.fc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.fc-grid .gl-input { font-family: var(--font-num); font-size: 13.5px; }
.fc-full { justify-content: flex-end; }
.fc-full .gl-check { height: 41px; border: 1px solid var(--gl-line); border-radius: 10px; padding: 0 10px; background: var(--gl-card-2); }
.fc-console-actions { margin: 14px 0; }
.fc-console-actions .gl-btn-main { flex: 1 1 140px; }
.fc-batch-field { margin-bottom: 12px; }
.fc-console .gl-ta { min-height: 76px; background: var(--gl-card-2); }
.fc-console .gl-msg { border-top: 1px dashed var(--gl-line); padding-top: 10px; margin-top: 13px; }

/* 仪表盘 */
.fc-dash { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: 16px; margin-bottom: 18px; }
.fc-gauge-card { display: flex; flex-direction: column; }
.fc-month { min-width: 130px; font-family: var(--font-num); font-size: 13px; padding: 7px 10px; }
.fc-gauge {
    --pct: 0;
    width: 190px; height: 190px; border-radius: 50%; margin: 8px auto 4px;
    background: conic-gradient(var(--a2) 0 calc(var(--pct) * 1%), var(--a1-soft) calc(var(--pct) * 1%) 100%);
    display: grid; place-items: center; position: relative;
}
.fc-gauge::before { content: ''; position: absolute; inset: 17px; border-radius: 50%; background: var(--gl-card); }
.fc-gauge::after {
    content: ''; position: absolute; inset: -9px; border-radius: 50%;
    border: 1px dashed var(--gl-line); pointer-events: none;
}
.fc-gauge-in { position: relative; z-index: 1; text-align: center; font-family: var(--font-num); }
.fc-gauge-in span { display: block; font-size: 32px; font-weight: 800; color: var(--gl-ink); letter-spacing: -.03em; }
.fc-gauge-in small { font-size: 13px; color: var(--gl-mute); }
.fc-gauge-foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--gl-mute); font-family: var(--font-num); padding-top: 8px; border-top: 1px dashed var(--gl-line); }
.fc-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fc-kpis .gl-kpi { display: flex; flex-direction: column; justify-content: center; }
.fc-kpis .gl-kpi .v { font-size: 26px; }

.fc-chart { display: flex; align-items: flex-end; gap: 12px; min-height: 168px; padding: 12px 6px 0; border-bottom: 2px solid var(--gl-line); overflow-x: auto; }
.fc-bar { flex: 1 1 58px; min-width: 58px; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.fc-bar-col {
    width: 100%; max-width: 62px; border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, var(--a1), var(--a1-deep)); min-height: 3px;
    transition: height .3s, background .2s;
}
.fc-bar.is-active .fc-bar-col { background: linear-gradient(180deg, var(--a2), #b4660e); }
.fc-bar b { font-family: var(--font-num); font-size: 12px; color: var(--gl-ink); }
.fc-bar span { font-size: 11.5px; color: var(--gl-mute); font-family: var(--font-num); }

.fc-table { min-width: 860px; font-size: 13px; }
.fc-table td.num { font-variant-numeric: tabular-nums; }
.fc-del { border: 0; background: transparent; color: var(--gl-mute); cursor: pointer; }
.fc-del:hover { color: var(--gl-bad); }
.fc-final { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--gl-line); }

@media (max-width: 980px) {
    .fc-hero { grid-template-columns: 1fr; }
    .fc-hero-copy { padding-top: 0; }
    .fc-console { max-width: 720px; }
    .fc-dash { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .fc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fc-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fc-hero .gl-h1 { font-size: 31px; }
}
