:root{--bg:#0c0e12;--panel:#14171c;--panel2:#191d24;--line:#292e37;--text:#f0f2f5;--muted:#9ba4b2;--green:#c4ee91;--teal:#78c6b0;--purple:#aa9bed;--orange:#e6b782;--red:#f299a0;--radius:14px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button,.button{border:1px solid var(--line);background:var(--panel2);color:var(--text);border-radius:8px;padding:10px 16px;font-size:.875rem;font-weight:550;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover,.button:hover{background:#252b33}button.primary,.button.primary{background:var(--green);color:#172111;border-color:var(--green)}button.primary:hover{background:#d3f6aa}button.ghost{background:transparent;border-color:transparent;padding:7px 0;color:var(--muted)}h1,h2,h3,p{margin-top:0}h1{font-size:2.15rem;letter-spacing:-1.2px;line-height:1.2;margin-bottom:10px;font-weight:600}h2{font-size:1.06rem;font-weight:550;letter-spacing:-.2px;margin:0}h3{font-size:1rem;font-weight:550}p{color:var(--muted);font-size:.94rem}small{display:block;color:var(--muted);font-size:.78rem}.muted-text{color:var(--muted)}#sidebar{position:fixed;inset:0 auto 0 0;width:246px;padding:31px 20px 18px;border-right:1px solid var(--line);background:#101216;display:flex;flex-direction:column;z-index:5}.wordmark{font-size:1.45rem;font-weight:650;letter-spacing:-1px;display:flex;align-items:center;gap:10px}.brand{width:32px;height:32px;background:var(--green);color:#182011;display:inline-flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:900;border-radius:8px;position:relative;line-height:1}.brand span{font-size:.7rem;position:absolute;bottom:1px;right:3px}.brand-dot{color:var(--green);margin-left:-9px}.workspace{border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;gap:10px;padding:12px;margin:33px 0 27px;font-size:.81rem}.workspace>span:last-child{margin-left:auto}.workspace small{font-size:.73rem}.avatar{border:1px solid #3a4149;background:#282e37;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-size:.8rem;color:#dededb;flex-shrink:0}.workspace .avatar{border-radius:8px;color:var(--green);background:#293224}nav{display:flex;flex-direction:column;gap:5px}.nav-label{font-size:.68rem;text-transform:uppercase;letter-spacing:1.5px;color:#747e8d;margin:20px 12px 10px}.nav-label:first-child{margin-top:0}.nav-link{display:flex;align-items:center;gap:13px;padding:10px 13px;border-radius:8px;color:var(--muted);font-size:.875rem}.nav-link svg{width:19px;height:19px;flex-shrink:0}.nav-link:hover{background:var(--panel2);color:var(--text)}.nav-link.active{background:#252c21;color:var(--green)}.side-bottom{margin-top:auto;display:flex;gap:9px;padding:24px 8px 20px;font-size:.75rem;color:#c2c8d0}.side-bottom small{font-size:.7rem}.private-dot{width:7px;height:7px;background:var(--green);border-radius:50%;margin-top:6px}.user-chip{width:100%;border-radius:0;background:none;border:none;border-top:1px solid var(--line);justify-content:flex-start;padding:20px 4px 0;text-align:left;gap:12px}.user-chip>span:last-child{margin-left:auto}.user-chip small{font-size:.7rem}.shell{margin-left:246px}.topbar{height:77px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;font-size:.8rem;color:#aab1bb}.topbar #breadcrumb>span{margin:0 14px;color:#505964}.top-actions{display:flex;align-items:center;gap:17px}.icon-button{background:none;border:0;padding:5px 8px;font-size:1.2rem;color:var(--muted)}main#content{max-width:1560px;margin:auto;padding:36px 38px;min-height:calc(100vh - 132px)}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:29px}.page-head p{font-size:.875rem;margin:0}.head-actions{display:flex;align-items:center;gap:10px}.eyebrow{font-size:.72rem;letter-spacing:1.5px;text-transform:uppercase;color:var(--green);margin-bottom:10px}.toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:14px;flex-wrap:wrap}.segmented{background:#15181d;border:1px solid var(--line);border-radius:8px;display:flex;padding:3px;gap:3px}.segmented button{border:0;background:none;color:var(--muted);padding:6px 12px;font-size:.8rem}.segmented button.active{background:#30353d;color:var(--text)}.date-controls{display:flex;align-items:center;gap:8px;font-size:.8rem;color:var(--muted)}.date-controls input{padding:7px 9px;width:145px;font-size:.8rem}.grid{display:grid;gap:20px}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:22px}.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:22px;min-width:0}.metric .label{color:var(--muted);display:flex;justify-content:space-between;align-items:center;font-size:.82rem}.metric .label svg{width:18px;height:18px;color:#8b949f}.metric .value{font-size:1.95rem;line-height:1.3;letter-spacing:-1px;margin:18px 0 12px;font-variant-numeric:tabular-nums;font-weight:550}.metric small{font-size:.73rem}.metric.featured{background:linear-gradient(125deg,#242d23,#19231c);border-color:#3c4d36}.metric.featured .value{color:var(--green)}.badge{display:inline-flex;align-items:center;gap:5px;font-size:.7rem;border:1px solid #3c4e33;background:#24311f;color:var(--green);border-radius:5px;padding:3px 7px;white-space:nowrap}.badge.muted{color:#b4bbc5;border-color:var(--line);background:#1b1f25}.badge.orange{color:var(--orange);background:#362c22;border-color:#504032}.badge.red{color:var(--red);background:#38252a;border-color:#55353e}.badge.purple{color:var(--purple);background:#2b263a;border-color:#453b5f}.main-grid{grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr);margin-bottom:22px}.card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:12px}.card-head small{font-size:.72rem}.chart-summary{display:flex;gap:30px;margin-bottom:18px}.chart-summary strong{font-size:1.25rem;font-weight:500;display:block}.legend{font-size:.72rem;color:var(--muted);display:flex;align-items:center;gap:6px}.legend:before{content:'';width:7px;height:7px;border-radius:2px;background:var(--green)}.legend.out:before{background:var(--purple)}.chart{height:180px;position:relative;border-bottom:1px solid var(--line);display:flex;align-items:end;justify-content:space-around;padding:10px 20px 0;margin-top:12px;background:repeating-linear-gradient(to top,transparent 0,transparent 44px,#242831 45px)}.chart-col{height:100%;display:flex;align-items:end;justify-content:center;gap:5px;flex:1;position:relative}.bar{width:16px;min-height:2px;border-radius:3px 3px 0 0;background:var(--green);opacity:.9}.bar.out{background:var(--purple);opacity:.7}.chart-axis{display:flex;justify-content:space-around;font-size:.68rem;color:var(--muted);margin-top:10px}.chart-empty{position:absolute;inset:25% 0 auto;text-align:center;background:#14171ce8;padding:15px;font-size:.84rem;color:var(--muted)}.row-list{display:flex;flex-direction:column}.list-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line);font-size:.875rem}.list-row:last-child{border:0;padding-bottom:0}.list-row:first-child{padding-top:0}.list-row strong{font-size:.91rem;font-weight:500}.list-row small{margin-top:4px}.list-row .num{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}.mini-icon{width:36px;height:36px;border-radius:9px;border:1px solid #383c47;background:#252832;display:flex;align-items:center;justify-content:center;color:var(--purple);flex-shrink:0}.row-title{display:flex;gap:12px;align-items:center}.notice{border:1px solid #3c4433;background:#1a2018;border-radius:10px;padding:15px 18px;display:flex;align-items:center;gap:13px;margin-bottom:24px;font-size:.83rem;color:#c3d4b3}.notice small{color:#a4b599}.notice .button{margin-left:auto;flex-shrink:0;background:#2c3826;border-color:#46563b;color:var(--green)}.notice.neutral{background:#171b22;border-color:#303a4a;color:#aebccd}.table-card{padding:0;overflow:hidden}.table-card .card-head{padding:22px;margin:0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:.84rem}th{font-weight:400;color:var(--muted);background:#171a20;font-size:.73rem;padding:12px 22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{padding:17px 22px;border-bottom:1px solid #252a32}tr:last-child td{border-bottom:0}td small{font-size:.72rem}td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}.table-empty{text-align:center;padding:38px;color:var(--muted);white-space:normal}.empty-symbol{width:47px;height:47px;border:1px solid var(--line);border-radius:12px;margin:0 auto 15px;display:flex;align-items:center;justify-content:center;color:var(--green);font-size:1.4rem}.empty{padding:35px 20px;text-align:center}.empty h3{margin-bottom:7px}.empty p{max-width:400px;margin:0 auto 18px;font-size:.83rem}.two-col{grid-template-columns:1fr 1fr}.three-col{grid-template-columns:repeat(3,minmax(0,1fr))}.connection{display:flex;flex-direction:column;gap:14px}.connection p{font-size:.85rem;margin:0}.connection .badge{align-self:flex-start}.connection .connect-icon{font-size:1.4rem;background:#252b32;border-radius:10px;width:44px;height:44px;display:grid;place-items:center;margin-bottom:3px}.progress-track{height:6px;background:#30363e;border-radius:8px;overflow:hidden;margin:12px 0}.progress-fill{height:100%;background:var(--green);max-width:100%}.app-footer{display:flex;justify-content:space-between;padding:8px 38px 22px;font-size:.7rem;color:#6e7887}.app-footer .muted-text{margin:0 8px}.loading{padding:60px;color:var(--muted)}dialog{background:var(--panel);border:1px solid #3c444e;border-radius:16px;color:var(--text);padding:26px;width:min(660px,calc(100% - 30px));max-height:90vh;box-shadow:0 30px 100px #0008}dialog::backdrop{background:#050609b8;backdrop-filter:blur(5px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.modal-head h2{font-size:1.3rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .full{grid-column:1/-1}label{font-size:.8rem;color:#bac1cb;display:flex;flex-direction:column;gap:7px}input,select,textarea{width:100%;background:#0f1217;color:var(--text);border:1px solid #353c47;border-radius:7px;padding:10px 12px;font-size:.875rem}textarea{min-height:84px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--green);outline:1px solid var(--green)}.form-actions{margin-top:24px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:19px}.form-note{font-size:.78rem;color:var(--muted);margin:15px 0}.form-error{color:var(--red);font-size:.85rem;margin-top:14px}.line-item{border:1px solid var(--line);border-radius:9px;padding:14px;margin-bottom:12px}.line-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-top:12px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#d1eeaf;color:#192411;padding:12px 24px;border-radius:8px;box-shadow:0 10px 50px #0008;z-index:100;display:none;font-size:.875rem;max-width:90vw}.search{max-width:300px}.inline-actions{display:flex;gap:7px}.inline-actions button{padding:5px 10px;font-size:.75rem}.search-results{padding-top:16px}.big-total{font-size:2.5rem;letter-spacing:-1.5px;margin:15px 0}.detail-stats{display:flex;gap:30px;margin-bottom:22px}.detail-stats strong{display:block;font-size:1.3rem}.full{grid-column:1/-1}.stack{display:flex;flex-direction:column;gap:20px}.danger{color:var(--red)}.mobile-menu{display:none}.skip{position:absolute;top:-80px;left:260px;background:var(--green);color:#000;padding:10px;z-index:50}.skip:focus{top:10px}.login{display:grid;place-items:center;min-height:100vh}.login-card{border:1px solid var(--line);background:var(--panel);padding:55px;border-radius:18px;text-align:center}.login-card .brand{margin-bottom:22px}.login-card small{margin-top:22px}.invoice-page{background:#e8ebed;color:#19232b;padding:30px}.invoice-paper{max-width:850px;margin:0 auto;background:white;padding:60px;border-radius:4px}.invoice-paper header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.invoice-paper p,.invoice-paper small{color:#566271}.invoice-paper h1{margin-top:40px}.invoice-paper th{background:#f3f5f6;color:#596575}.invoice-paper td,.invoice-paper th{border-color:#ddd;padding:14px 10px}.invoice-totals{max-width:330px;margin:30px 0 30px auto}.invoice-totals p,.invoice-totals h2{display:flex;justify-content:space-between}.invoice-paper footer{margin-top:50px;color:#87909a;font-size:.8rem}
@media(min-width:1500px){main#content{padding:42px 50px}.topbar{padding:0 50px}.metric .value{font-size:2.3rem}}@media(max-width:1100px){#sidebar{width:210px;padding:26px 14px}.shell{margin-left:210px}main#content{padding:26px 24px}.topbar{padding:0 24px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.main-grid{grid-template-columns:1fr}.three-col{grid-template-columns:1fr 1fr}.metric .value{margin:12px 0}.wordmark{font-size:1.25rem}}@media(max-width:700px){#sidebar{display:none;width:246px;box-shadow:40px 0 80px #0009;top:70px}.nav-open #sidebar{display:flex}.shell{margin-left:0}.mobile-menu{display:inline-flex}.topbar{height:70px;padding:0 16px}.topbar #breadcrumb{display:none}main#content{padding:25px 16px}.page-head{flex-direction:column;gap:17px}h1{font-size:1.8rem}.head-actions{width:100%}.head-actions>*{flex:1}.card{padding:17px}.table-card{padding:0}.metrics{gap:10px}.metric .value{font-size:1.6rem}.metric .label{font-size:.72rem}.metric small{font-size:.7rem}.two-col,.three-col{grid-template-columns:1fr}.notice{align-items:flex-start;flex-wrap:wrap}.notice .button{margin:0}.date-controls{width:100%;justify-content:space-between}.date-controls input{width:42%}.app-footer{padding:10px 16px 22px;flex-direction:column;gap:7px}.form-grid{grid-template-columns:1fr}.line-fields{grid-template-columns:1fr 1fr 1fr}.invoice-page{padding:0}.invoice-paper{padding:25px}.chart{padding:5px 0 0}.bar{width:12px}.badge{white-space:normal}}
.history-mark{border:1px solid #425a34;background:#27381e;color:var(--green);border-radius:8px;font-size:1.05rem;font-weight:650;padding:8px;flex-shrink:0}.history-notice small{color:var(--muted);margin-top:4px;line-height:1.6}.history-metrics .value{font-size:1.65rem}.history-section-heading{margin:32px 0 18px}.history-section-heading small{margin-top:6px}.history-coverage{padding:0 4px 22px;font-size:.8rem;color:var(--muted)}.history-coverage summary,.history-provenance summary{cursor:pointer;color:var(--text)}.history-coverage p{font-size:.8rem;margin:12px 0 8px}.history-coverage ul{margin:8px 0;padding-left:20px;max-width:1080px}.history-coverage li{margin:7px 0}.history-tabs{margin-top:8px}.history-filters,.history-report-controls{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin:0 0 20px}.history-filters label{flex:1;min-width:130px}.history-filters .history-search-label,.history-report-controls .history-search-label{flex:2;min-width:250px}.history-filters button{min-height:42px}.history-contact-filters{align-items:end;justify-content:space-between}.history-contact-filters .history-search-label{max-width:440px;min-width:220px}.history-report-controls label{min-width:220px}.history-report-controls .history-search-label{max-width:420px}.history-pager{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 22px;border-top:1px solid var(--line);color:var(--muted);font-size:.78rem;flex-wrap:wrap}.history-pager>div{display:flex;align-items:center;gap:12px}.history-pager button{padding:7px 12px;font-size:.78rem}.history-text-cell{white-space:normal;min-width:210px;max-width:360px;overflow-wrap:anywhere}.history-text-cell small{margin-top:4px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.history-address,.history-preline{white-space:pre-line}.history-report-totals{display:flex;gap:26px;flex-wrap:wrap;margin:8px 0 24px}.history-report-totals strong{font-size:1.4rem;font-weight:550;font-variant-numeric:tabular-nums;display:block;margin-top:5px}.history-report-label{white-space:normal;min-width:250px}.history-total-row td{font-weight:600;background:#1d241d;border-top:1px solid #3c4b35}.history-group-row td:first-child{color:var(--muted);font-weight:500}.history-source-button{font-size:.73rem;padding:5px 9px;font-weight:400;white-space:nowrap}.history-modal{width:min(1080px,calc(100% - 30px))}.history-modal .detail-stats{flex-wrap:wrap}.history-line-text{white-space:normal;min-width:250px;max-width:570px;overflow-wrap:anywhere}.history-line-text small{margin-top:5px}.history-provenance{margin-top:20px;padding:16px;background:#101318;border:1px solid var(--line);border-radius:8px;font-size:.8rem}.history-provenance dl,.history-contact-details{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px 20px}.history-provenance dt,.history-contact-details dt{color:var(--muted)}.history-provenance dd,.history-contact-details dd{margin:0;overflow-wrap:anywhere}.history-contact-details{font-size:.87rem;margin:24px 0}.history-linked-invoices{margin:20px 0 0;flex-wrap:wrap}.history-source-cell{white-space:normal;min-width:200px;max-width:850px}.history-source-cell pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.78rem;line-height:1.6}.history-source-identity{margin-top:18px;overflow-wrap:anywhere}.history-source-identity small{margin-top:6px}#history-panel{scroll-margin-top:20px}#sidebar{overflow-y:auto}.history-modal tfoot th{font-weight:600}@media(max-width:700px){.history-filters label,.history-filters .history-search-label,.history-report-controls label,.history-report-controls .history-search-label{min-width:0;flex:1 1 calc(50% - 14px);max-width:none}.history-filters .history-search-label,.history-contact-filters .history-search-label{flex-basis:100%}.history-contact-filters .segmented{width:100%;overflow-x:auto}.history-contact-filters .segmented button{font-size:.73rem;flex:1;padding:6px}.history-tabs .segmented{width:100%}.history-tabs .segmented button{flex:1;padding:8px;font-size:.74rem}.history-metrics .value{font-size:1.35rem}.history-pager{padding:16px;gap:12px}.history-pager>div{width:100%;justify-content:space-between;gap:6px}.history-report-totals{gap:16px 24px}.history-report-totals strong{font-size:1.2rem}.history-provenance dl,.history-contact-details{grid-template-columns:1fr;gap:4px}.history-provenance dd,.history-contact-details dd{margin-bottom:10px}.history-modal .detail-stats{gap:15px}.history-modal .detail-stats strong{font-size:1.1rem}}
.history-back{margin-bottom:18px}.history-table-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.history-table-actions .button{font-size:.75rem;padding:7px 11px}@media(max-width:700px){#history-results .card-head{align-items:flex-start;flex-wrap:wrap}.history-table-actions{width:100%;justify-content:space-between}}
.history-native-notice{margin-bottom:14px}.history-native-notice small{line-height:1.6;margin-top:4px;color:var(--muted)}.history-audit-counts{display:flex;gap:12px 22px;flex-wrap:wrap;margin:12px 0}.history-audit-counts strong{color:var(--text);font-weight:500}.history-native{margin-top:22px;padding:16px;border:1px solid #3b4936;border-radius:9px;background:#141a13}.history-native>summary{cursor:pointer;color:var(--green);font-size:.92rem}.history-native-line{margin-top:24px}.history-native-line h3{margin-bottom:12px}.history-native-line h3 small{display:inline;margin-left:10px;font-weight:400}.history-original-fields th:first-child{width:32%}.history-original-fields td:first-child{white-space:pre-wrap;overflow-wrap:anywhere;min-width:120px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.77rem;color:var(--muted)}.history-original-fields .history-exact-value{white-space:pre-wrap;overflow-wrap:anywhere;min-width:190px;max-width:620px;font-variant-numeric:tabular-nums}.history-audit-filters label:first-child{min-width:240px}.history-tabs .segmented{flex-wrap:wrap}@media(max-width:700px){.history-tabs .segmented button{flex-basis:calc(50% - 6px)}.history-audit-filters label:first-child{flex-basis:100%;min-width:0}.history-native{padding:12px}.history-native-line h3 small{display:block;margin:4px 0 0}.history-native .history-contact-details{grid-template-columns:1fr}}
.history-open-sales-notice{background:#1c261a!important;border-color:#42533a!important;color:var(--green)!important}.history-open-sales-notice small{color:var(--muted);margin-top:5px;line-height:1.6}.history-status-cell{white-space:pre-wrap;min-width:100px;max-width:210px}.history-open-journals{margin:26px 0;color:var(--muted);font-size:.85rem}.history-open-journals>summary{color:var(--text);cursor:pointer;padding:15px 18px;border:1px solid var(--line);border-radius:8px;background:var(--panel)}.history-open-journals[open]>summary{margin-bottom:14px}.history-open-limitations{margin-top:24px}.history-open-invoice{border:1px solid #465c3a;border-radius:10px;background:#1b2618;padding:18px;margin:20px 0 24px}.history-open-invoice .card-head{margin-bottom:16px;align-items:baseline}.history-open-invoice h3{margin:0}.history-open-invoice .detail-stats{margin-bottom:14px}.history-open-invoice .detail-stats strong{font-size:1.15rem}.history-source-status{display:flex;gap:14px;align-items:baseline;flex-wrap:wrap;font-size:.82rem}.history-source-status strong{color:var(--text);white-space:pre-wrap}.history-open-invoice .history-coverage{padding-bottom:0}.history-open-invoice .history-coverage summary{font-size:.78rem}@media(max-width:700px){.history-open-invoice{padding:14px}.history-open-invoice .card-head{flex-wrap:wrap;gap:6px}.history-open-journals>summary{padding:12px;font-size:.8rem}}
.history-catalogue-summary{margin-bottom:22px}.history-catalogue-summary p{font-size:.85rem;margin-bottom:12px}.history-catalogue-filters label:not(.history-search-label){max-width:240px}.history-catalogue-price{white-space:pre-wrap;overflow-wrap:anywhere;min-width:120px;max-width:260px}@media(max-width:700px){.history-catalogue-summary .history-table-actions{gap:8px}.history-catalogue-summary .history-table-actions .button{flex:1;font-size:.72rem;text-align:center}.history-catalogue-filters label:not(.history-search-label){max-width:none}.history-catalogue-price{font-size:.78rem}}
.history-catalogue-coverage{margin-top:20px}
@media print{body{background:white;color:black}.invoice-page{padding:0}.invoice-paper{padding:20px;max-width:none}.invoice-paper .button{display:none}}

.invoice-source-note{padding:0 22px;margin:0 0 18px}#invoice-source-results .card-head{align-items:flex-start;flex-wrap:wrap}

.history-backup-file{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;flex-wrap:wrap}.history-backup-file .form-note{flex:1;min-width:250px}.history-backup-invoice{margin:24px 0}.history-backup-original-rows{margin-top:24px}.history-original-fields td small{margin-top:6px;color:var(--muted);font-family:inherit}.history-backup-invoice th,.history-backup-invoice td{white-space:normal}.history-backup-invoice .card-head{flex-wrap:wrap}

.history-related-attachments{margin:24px 0}.history-attachment-checksum{margin-top:8px;font-size:.74rem;color:var(--muted)}.history-attachment-checksum summary{cursor:pointer}.history-attachment-checksum small{display:block;overflow:visible;-webkit-line-clamp:unset;overflow-wrap:anywhere}

.invoice-register-table th,.invoice-register-table td{padding:14px 12px}.invoice-register-table .history-text-cell{min-width:170px}.invoice-register-table td:last-child .button,.invoice-register-table td:last-child button{padding:8px 10px}

.history-evidence-json{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;font-size:.78rem;line-height:1.6;padding:18px;border:1px solid var(--line);border-radius:8px;background:var(--bg)}

.ledger-date-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ledger-date-tools>button{padding:7px 10px;font-size:.8rem}.ledger-period{margin:0 0 20px}.ledger-stack{margin-top:22px}.ledger-table-note{padding:0 22px;margin:16px 0 20px}.ledger-card-actions{padding:0 22px 22px}.ledger-coverage{margin-top:22px}.ledger-coverage li{margin:9px 0}.ledger-lower .card-head{align-items:flex-start;gap:10px;flex-wrap:wrap}@media(max-width:900px){.ledger-lower{grid-template-columns:1fr}}@media(max-width:700px){.ledger-date-tools{width:100%}.ledger-date-tools .date-controls{flex-basis:100%}.ledger-table-note{padding:0 16px}.ledger-card-actions{padding:0 16px 16px}}

.ledger-metrics .value{font-size:1.7rem;white-space:nowrap}@media(max-width:1250px){.ledger-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.ledger-metrics{grid-template-columns:1fr}.ledger-metrics .value{font-size:2rem}}
