.history-overview{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:0 0 14px;padding:17px 19px;border:1px solid var(--line);border-radius:10px;background:#fff}.history-overview h2{margin:4px 0 4px;font-size:20px}.history-overview p{margin:0}.history-overview-totals{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px}.history-overview-total{min-width:145px;padding:11px 13px;border-radius:8px;background:#f5edf6;border:1px solid #e1cde4}.history-overview-total strong{display:block;color:var(--deep);font-size:17px}.history-overview-total small{display:block;margin-top:4px;color:var(--muted)}.history-filters-improved{grid-template-columns:minmax(220px,2fr) repeat(5,minmax(120px,1fr)) auto}.history-list-improved{gap:10px}.history-row-improved{grid-template-columns:24px minmax(180px,1.25fr) minmax(155px,1.1fr) minmax(180px,1.45fr) 130px 130px auto}.history-row-improved.is-void{background:#fbf9fa;border-color:#d8cbd8}.history-status-badge{display:inline-flex;align-items:center;margin-left:5px;padding:2px 7px;border-radius:999px;font-size:10px;font-weight:700;line-height:1.2;vertical-align:2px}.history-status-formal{background:#e6f3ed;color:#176c45}.history-status-draft{background:#fff1d4;color:#84551a}.history-status-void{background:#f6dfe1;color:#8d2934}.history-expiry{display:inline-block;margin-top:3px}.history-expiry-expired{color:#a13035!important;font-weight:700}.history-expiry-soon{color:#9a6518!important;font-weight:700}.history-expiry-valid{color:#317151!important}.history-expiry-missing{color:var(--muted)!important}.history-empty{padding:34px 20px;text-align:center;border:1px dashed #ccb8ce;border-radius:10px;background:#fff}.history-empty p{margin:4px 0}.history-empty .actions{justify-content:center;margin-top:15px}.history-void-notice{border-color:#d79aa0;background:#fff1f2;color:#7f202b}.history-void-document{position:relative}.history-void-stamp{position:absolute;z-index:3;top:26px;right:26px;padding:10px 15px;border:3px solid #a93441;border-radius:7px;color:#a93441;background:#fff8f8;font-size:19px;font-weight:800;letter-spacing:1px;transform:rotate(7deg);opacity:.92}.history-void-disclaimer{margin:0;padding:10px 13px;border:1px solid #d79aa0;background:#fff1f2;color:#7f202b;font-weight:700;text-align:center}.history-row-improved .actions{align-items:flex-end}.history-row-improved .actions small{width:100%;text-align:right}.history-row-improved .history-lock{font-size:14px;opacity:.7;text-align:center}@media(max-width:1250px){.history-filters-improved{grid-template-columns:repeat(3,1fr)}.history-row-improved{grid-template-columns:24px 1.25fr 1.1fr 1.4fr 125px auto}.history-row-improved .history-date{display:none}}@media(max-width:900px){.history-overview{flex-direction:column}.history-overview-totals{justify-content:flex-start}}@media(max-width:760px){.history-filters-improved{grid-template-columns:1fr 1fr}.history-row-improved{grid-template-columns:24px 1fr auto}.history-row-improved .history-client,.history-row-improved .history-item-summary{grid-column:2/4}.history-row-improved .actions{grid-column:2/4;justify-content:flex-start;align-items:flex-start}.history-row-improved .actions small{text-align:left}.history-void-stamp{top:12px;right:12px;font-size:14px;padding:7px 10px}}
