/* Spese: reference list within the shared vehicle management layout. */
#raExactHistory[data-ledger-view=spese] .exact-expense-total{position:relative;margin:0 0 12px;padding:14px 70px 14px 15px;border:1px solid #e6edf4;border-radius:14px;background:linear-gradient(120deg,#fff,#f4faff);box-shadow:var(--ra-screen-shadow)}
#raExactHistory[data-ledger-view=spese] .exact-expense-total .title-line{display:block;margin:0}
#raExactHistory[data-ledger-view=spese] .exact-expense-total h3{font-size:15px;line-height:22px;font-weight:500;margin:0 0 3px}
#raExactHistory[data-ledger-view=spese] #costOverview{display:block;font-size:33px;line-height:40px;font-weight:750!important;color:#081839!important;letter-spacing:-.03em}
#raExactHistory[data-ledger-view=spese] .exact-expense-total p{font-size:13px!important;line-height:20px;color:#526781;margin:2px 0 0!important}
#raExactHistory[data-ledger-view=spese] .exact-expense-wallet{position:absolute;right:15px;top:22px;width:52px;height:56px;display:grid;place-items:center;border-radius:15px;background:#e6f2ff;color:#006be6}
#raExactHistory[data-ledger-view=spese] .exact-expense-wallet svg{width:29px;height:29px}
#raExactHistory[data-ledger-view=spese] .exact-expense-add{margin:0 0 12px}
#raExactHistory[data-ledger-view=spese] .ra-history-register{display:none!important}
#raExactHistory[data-ledger-view=interventi] .exact-expense-add{display:none!important}
#raExactHistory[data-ledger-view=spese] .ra-maint-filters{display:flex;gap:6px;margin:0 0 12px;padding:0;overflow-x:auto}
#raExactHistory[data-ledger-view=spese] .ra-maint-filter{flex:none;border:1px solid #e3edf7;border-radius:20px;background:#f3f8ff;color:#102242;font-size:12px;font-weight:400;min-height:36px;padding:8px 12px}
#raExactHistory[data-ledger-view=spese] .ra-maint-filter[aria-pressed=true]{background:#006be6;border-color:#006be6;color:white}
#raExactHistory[data-ledger-view=spese] .ra-maint-entry{margin:0;border:0;border-top:1px solid #e0e8f1;border-radius:0;box-shadow:none;background:white}
#raExactHistory[data-ledger-view=spese] .ra-maint-entry-top{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr) auto;column-gap:12px;row-gap:2px;align-items:center;padding:12px 18px 12px 0;list-style:none}
#raExactHistory[data-ledger-view=spese] .ra-maint-entry-top::-webkit-details-marker{display:none}
#raExactHistory[data-ledger-view=spese] .ra-expense-icon{grid-column:1;grid-row:1/3;display:grid;place-items:center;width:44px;height:44px;border-radius:11px;background:#e6f2ff;color:#006be6}
#raExactHistory[data-ledger-view=spese] .ra-expense-icon svg{width:25px;height:25px}
#raExactHistory[data-ledger-view=spese] [data-expense-category=carburante] .ra-expense-icon{background:#fff2dc;color:#e88b00}
#raExactHistory[data-ledger-view=spese] [data-expense-category=pneumatici] .ra-expense-icon{background:#f0eaff;color:#8354e5}
#raExactHistory[data-ledger-view=spese] .ra-maint-entry-title{grid-column:2;grid-row:1;font-size:15px;line-height:20px;font-weight:600;overflow-wrap:anywhere}
#raExactHistory[data-ledger-view=spese] .ra-maint-entry-date{grid-column:2;grid-row:2;font-size:13px;line-height:19px;color:#526781}
#raExactHistory[data-ledger-view=spese] .ra-maint-entry-amount{grid-column:3;grid-row:1/3;font-size:15px;line-height:21px;font-weight:700;white-space:nowrap;color:#081839}
#raExactHistory[data-ledger-view=spese] .ra-maint-entry-top:after{content:'›';display:block!important;position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:23px;line-height:23px;color:#526781}
#raExactHistory[data-ledger-view=spese] .ra-maint-entry[open]>.ra-maint-entry-top:after{transform:translateY(-50%) rotate(90deg)}
#raExactHistory[data-ledger-view=spese] .ra-maint-entry-body{padding:8px 0;border:0;background:#f8fbff}
#raExactHistory[data-ledger-view=spese] .ra-maint-entry-actions{display:flex;flex-wrap:wrap;padding:8px 0;gap:8px;background:none;border:0}
#raExactHistory[data-ledger-view=spese] .ra-maint-entry-actions button{min-height:44px;border:0;background:none;color:#006be6;padding:8px;font-size:13px}
#raExactHistory[data-ledger-view=spese] .ra-maint-entry-actions [data-maintenance-delete]{color:#a33d41}
#raExactHistory[data-ledger-view=spese] .ra-concept-cost-chart{margin-top:18px}
#raExactHistory[data-ledger-view=spese] .ra-cost-no-data{display:none}
@media(max-width:370px){#raExactHistory[data-ledger-view=spese] .ra-maint-entry-top{column-gap:9px;grid-template-columns:40px minmax(0,1fr) auto}#raExactHistory[data-ledger-view=spese] .ra-expense-icon{width:40px;height:42px}#raExactHistory[data-ledger-view=spese] .ra-maint-filter{padding:8px 10px}}

/* Final compact footer and readable, equal-height category controls. */
#raExactHistory[data-ledger-view=spese] .ra-maint-filters{display:grid;grid-template-columns:.75fr 1.65fr 1.35fr .75fr;gap:6px;overflow:visible}
#raExactHistory[data-ledger-view=spese] .ra-maint-filter{min-width:0;min-height:44px;padding:8px 4px;font-size:14px;line-height:20px;border-radius:12px}
#raExactHistory .exact-expense-tools{display:none}
#raExactHistory[data-ledger-view=spese] .exact-expense-tools{display:block;margin:12px 0 0;padding:0;border:0;border-top:1px solid #e0e8f1;background:white}
#raExactHistory[data-ledger-view=spese] .exact-expense-tools>summary{display:flex;justify-content:space-between;align-items:center;min-height:44px;padding:10px 0;list-style:none;font-size:14px;font-weight:500;color:#526781;cursor:pointer}
#raExactHistory[data-ledger-view=spese] .exact-expense-tools>summary::-webkit-details-marker{display:none}
#raExactHistory[data-ledger-view=spese] .exact-expense-tools>summary:after{content:'⌄';font-size:20px}
#raExactHistory[data-ledger-view=spese] .exact-expense-tools[open]>summary:after{transform:rotate(180deg)}
#raExactHistory[data-ledger-view=spese] .exact-expense-tools .ra-faithful-search>summary,#raExactHistory[data-ledger-view=spese] .exact-expense-tools .ra-concept-cost-chart>summary{font-size:13px;min-height:44px;padding:12px 0}
#raExactHistory[data-ledger-view=spese] .exact-expense-tools .ra-concept-cost-chart{margin:0}
#raExactHistory[data-ledger-view=spese]>.ra-faithful-local-note{font-size:13px!important;line-height:20px;color:#526781;margin:12px 0 0!important}
@media(max-width:370px){#raExactHistory[data-ledger-view=spese] .ra-maint-filter{font-size:13px}}

