/* 14 · ETC 通行费核对 ——「通行费审计台」：墨绿账本 / 等宽数字 / 票据录入 / 红绿差额 */
.gl12[data-page="etc-fee-audit"] {
    --a1: #1c6b5a;
    --a1-deep: #114a3e;
    --a1-soft: #e2f1ec;
    --a2: #b4592d;
    --a2-soft: #faece2;
    --font-display: var(--gl-serif);
    --font-num: var(--gl-mono);
    --page-bg: linear-gradient(180deg, #edf4f0 0%, #f7f9f7 320px), #f7f9f7;
}
:root[data-theme="dark"] .gl12[data-page="etc-fee-audit"] {
    --a1: #6fd0b0;
    --a1-deep: #9ae3ca;
    --a1-soft: rgba(111, 208, 176, .14);
    --a2: #f0a76b;
    --a2-soft: rgba(240, 167, 107, .14);
    --page-bg: linear-gradient(180deg, #10201b 0%, #0d1117 320px), #0d1117;
}

.etc-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: 30px; padding: 28px 0 30px; align-items: start; }
.etc-hero-copy { padding-top: 14px; }
.etc-hero .gl-h1 { font-size: clamp(32px, 4vw, 46px); letter-spacing: -.035em; }
.etc-hero .gl-h1 em { font-size: .74em; color: var(--a1); }
.etc-hero .gl-sub { max-width: 44ch; }
.etc-hero .gl-value { background: rgba(255,255,255,.7); border-radius: 5px; font-family: var(--font-num); font-size: 12px; }
:root[data-theme="dark"] .etc-hero .gl-value { background: rgba(255,255,255,.04); }
.etc-hero-strip { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 12.5px; color: var(--gl-mute); font-family: var(--font-num); }
.etc-hero-strip i { width: 22px; height: 1px; background: var(--gl-line); }

/* 票据式录入卡 */
.etc-ticket {
    position: relative; background: var(--gl-card); border: 1px solid var(--gl-line);
    border-radius: 4px 4px 18px 18px; padding: 24px 24px 16px; box-shadow: var(--gl-shadow-2);
}
.etc-ticket::before {
    content: ''; position: absolute; left: 0; right: 0; top: -6px; height: 7px;
    background: repeating-linear-gradient(90deg, var(--a1) 0 12px, transparent 12px 20px);
    opacity: .55;
}
.etc-ticket::after {
    content: 'AUDIT'; position: absolute; right: 20px; bottom: 12px; font: 800 30px/1 var(--font-num);
    letter-spacing: .18em; color: var(--a1); opacity: .07; pointer-events: none;
}
.etc-ticket-top { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed var(--gl-line); padding-bottom: 12px; margin-bottom: 16px; }
.etc-ticket-top b { font-size: 18px; font-weight: 800; font-family: var(--font-display); }
.etc-ticket-top span { font-size: 12px; color: var(--gl-mute); font-family: var(--font-num); }
.etc-ticket-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.etc-ticket-grid .gl-input { padding: 9px 10px; font-family: var(--font-num); font-size: 13.5px; }
.etc-ticket-grid #eaName { font-family: var(--gl-font); }
.etc-free { justify-content: flex-end; }
.etc-free .gl-check { height: 41px; border: 1px solid var(--gl-line); border-radius: 10px; padding: 0 10px; background: var(--gl-card-2); }
.etc-ticket-foot { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; margin-top: 16px; }
.etc-ticket-foot .gl-btn-main { height: 41px; }
.etc-ticket .gl-msg { margin-top: 12px; }

/* 工作区 */
.etc-workbench { padding: 22px 24px; }
.etc-wb-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.etc-wb-tools { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.etc-wb-tools .gl-select { min-width: 160px; }
.etc-wb-tools .gl-input { min-width: 118px; }
.etc-wb-tools .gl-btn-main { height: 41px; }
.etc-batch { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(230px, .55fr); gap: 14px; align-items: stretch; background: var(--gl-card-2); border: 1px dashed var(--gl-line); border-radius: 14px; padding: 14px; }
.etc-batch .gl-ta { min-height: 86px; background: var(--gl-card); }
.etc-batch-actions { flex-direction: column; align-items: stretch; justify-content: center; }
.etc-batch-actions .gl-btn { width: 100%; }
.etc-batch-actions .gl-hint { margin-top: 4px; text-align: center; }
.etc-table-wrap { margin-top: 16px; border-radius: 8px; }
.etc-table { min-width: 860px; font-size: 13px; }
.etc-table th { font-family: var(--font-num); font-size: 11.5px; letter-spacing: .04em; }
.etc-table td { padding: 7px 8px; }
.etc-table tbody tr:nth-child(even) { background: var(--gl-card-2); }
.etc-cell {
    width: 100%; min-width: 52px; border: 1px solid transparent; background: transparent;
    color: var(--gl-ink); font: 13px var(--font-num); padding: 4px 6px; border-radius: 6px;
}
.etc-cell:hover { border-color: var(--gl-line); }
.etc-cell:focus { outline: none; border-color: var(--a1); background: var(--gl-card); }
.etc-cell.w-name { min-width: 130px; font-family: var(--gl-font); }
.etc-cell.w-date { min-width: 118px; }
.etc-del { border: 0; background: transparent; color: var(--gl-mute); cursor: pointer; font-size: 15px; padding: 3px 7px; border-radius: 6px; }
.etc-del:hover { color: var(--gl-bad); background: var(--gl-bad-soft); }
.etc-table-hint { margin-top: 10px; }

/* 结果：账本式汇总条 */
.etc-sticky {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-bottom: 18px;
    background: var(--gl-card); border: 1px solid var(--gl-line); border-radius: 14px;
    box-shadow: var(--gl-shadow); overflow: hidden;
}
.etc-sticky > div { padding: 14px 16px; border-right: 1px solid var(--gl-line-2); }
.etc-sticky > div:last-child { border-right: 0; }
.etc-sticky span { display: block; font-size: 11.5px; color: var(--gl-mute); }
.etc-sticky b { display: block; font-family: var(--font-num); font-size: 21px; letter-spacing: -.02em; }
.etc-sticky-main { background: var(--a1-soft); }
.etc-sticky-main b { color: var(--a1); }
.etc-sticky-main.is-bad { background: var(--gl-bad-soft); }
.etc-sticky-main.is-bad b { color: var(--gl-bad); }
#eaDiffTable td:nth-child(3), #eaDiffTable td:nth-child(4), #eaDiffTable td:nth-child(5) { font-family: var(--font-num); }
.etc-final { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--gl-line); }

@media (max-width: 1000px) {
    .etc-hero { grid-template-columns: 1fr; }
    .etc-hero-copy { padding-top: 0; }
    .etc-ticket { max-width: 720px; }
    .etc-sticky { grid-template-columns: repeat(3, 1fr); }
    .etc-sticky > div:nth-child(3) { border-right: 0; }
}
@media (max-width: 680px) {
    .etc-ticket-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .etc-ticket-foot { grid-template-columns: 1fr; }
    .etc-batch { grid-template-columns: 1fr; }
    .etc-batch-actions { flex-direction: row; flex-wrap: wrap; }
    .etc-batch-actions .gl-btn { width: auto; flex: 1 1 120px; }
    .etc-sticky { grid-template-columns: repeat(2, 1fr); }
}
