/* V20.2 isolated Jenny Transport Expenses UI.
   Palette: Slate Blue main rows (#E3EBF5), Pearl White details (#FAFBFD).
   All selectors are rooted under .t-v20-shell; Core Delivery styles untouched. */
.t-v20-shell{
 --t-v20-slate:#E3EBF5;--t-v20-pearl:#FAFBFD;--t-v20-accent:#526F96;
 --t-v20-line:#DCE4ED;--t-v20-text:#344D70;--t-v20-muted:#64748B;
 --t-v20-due:#A36526;--t-v20-settled:#27775B;
 --t-v20-c1:116px;--t-v20-c2:165px;--t-v20-c3:144px;
 --t-v20-c4:88px;--t-v20-c5:94px;--t-v20-c6:136px;
 --t-v20-c7:131px;--t-v20-c8:137px;
 color:var(--t-v20-text);width:100%;max-width:100%;box-sizing:border-box;
 font-family:inherit;font-size:13px;
}
.t-v20-shell *{box-sizing:border-box}
.t-v20-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.t-v20-heading h2{font-size:22px;line-height:1.28;margin:0;font-weight:750;color:#263B59}
.t-v20-heading p{font-size:12px;color:var(--t-v20-muted);margin:6px 0 0}
.t-v20-privacy{font-size:10px;color:#526891;background:#EDF2F9;padding:6px 10px;border-radius:8px;font-weight:700;white-space:nowrap}
.t-v20-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}
.t-v20-kpi{background:#FFF;border:1px solid var(--t-v20-line);border-top:2px solid var(--t-v20-accent);
 border-radius:10px;display:grid;grid-template-columns:110px 1fr;align-items:center;gap:8px;padding:12px 14px;min-width:0}
.t-v20-kpi-container{border-top-color:#3C96A5}
.t-v20-kpi>b{font-size:13px;white-space:nowrap}
.t-v20-kpi>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.t-v20-meta{min-width:0}
.t-v20-meta small{display:block;color:#8592A5;font-size:10px;font-weight:650;margin-bottom:4px}
.t-v20-meta strong{display:block;color:#354863;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}
.t-v20-meta:last-child strong{color:var(--t-v20-due)}
.t-v20-workspace{background:#fff;border:1px solid var(--t-v20-line);border-radius:10px;overflow:hidden;min-width:0}
.t-v20-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border-bottom:1px solid var(--t-v20-line)}
.t-v20-toolbar strong{font-size:13px;color:#344D70}
.t-v20-top-actions{margin-left:auto;display:flex;gap:6px;align-items:center}
.t-v20-top-actions button{background:#E7EDF7;color:#36577C;border-color:#AFC3DB;font-weight:700}
.t-v20-tabs{display:flex;align-items:center;gap:2px;background:#F1F3F7;border-radius:8px;padding:3px;min-width:0}
.t-v20-shell button{cursor:pointer;font:inherit;border:1px solid #CBDAE9;background:#fff;color:#526783;padding:6px 9px;border-radius:6px;min-height:30px;white-space:nowrap}
.t-v20-shell button:hover{background:#ECF2FA;border-color:#99B1D0}
.t-v20-shell button:focus-visible{outline:2px solid #55749B;outline-offset:1px}
.t-v20-shell button:disabled{opacity:.5;cursor:default}
.t-v20-tabs button{border-color:transparent;background:transparent;font-weight:600;font-size:12px}
.t-v20-tabs button[aria-selected="true"]{border-color:#D6DFED;background:#fff;color:#3F5D84;box-shadow:0 1px 3px #34415B15}
.t-v20-filters{display:grid;grid-template-columns:minmax(0,1fr) 180px max-content;gap:8px;align-items:center;padding:9px 12px}
.t-v20-filters input,.t-v20-filters select,.t-v20-modal input{font:inherit;min-width:0;max-width:100%;border:1px solid #D2DDEA;border-radius:6px;background:#fff;color:#344D70;padding:7px 9px;min-height:34px}
.t-v20-filters input:focus,.t-v20-filters select:focus,.t-v20-modal input:focus{outline:2px solid #B9CCE3;outline-offset:0}
.t-v20-hint{display:flex;justify-content:space-between;gap:12px;padding:5px 12px;margin:0;color:#8A98AC;background:#F7F9FC;font-size:11px}
.t-v20-records{width:100%;overflow:hidden;min-width:0}
.t-v20-table-head,.t-v20-master-scroll{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.t-v20-table-head::-webkit-scrollbar,.t-v20-master-scroll::-webkit-scrollbar{height:0}
.t-v20-grid{width:100%;min-width:1011px;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:12px;font-variant-numeric:tabular-nums}
.t-v20-cols .t-v20-c1{width:var(--t-v20-c1)}
.t-v20-cols .t-v20-c2{width:var(--t-v20-c2)}
.t-v20-cols .t-v20-c3{width:var(--t-v20-c3)}
.t-v20-cols .t-v20-c4{width:var(--t-v20-c4)}
.t-v20-cols .t-v20-c5{width:var(--t-v20-c5)}
.t-v20-cols .t-v20-c6{width:var(--t-v20-c6)}
.t-v20-cols .t-v20-c7{width:var(--t-v20-c7)}
.t-v20-cols .t-v20-c8{width:var(--t-v20-c8)}
.t-v20-grid th{background:#F1F4F8;color:#63738D;padding:7px 7px;text-align:left;border-bottom:1px solid var(--t-v20-line);white-space:nowrap;font-weight:750;font-size:11px}
.t-v20-grid td{padding:7px 7px;border-right:1px solid #E5EAF1;border-bottom:1px solid #DDE5EE;text-align:left;min-width:0;vertical-align:middle}
.t-v20-grid td:last-child,.t-v20-grid th:last-child{border-right:0;padding-right:16px}
.t-v20-grid .t-v20-sticky{position:sticky;left:0;z-index:2;background:inherit;box-shadow:2px 0 5px #6B7D9511}
.t-v20-grid thead th.t-v20-sticky{z-index:4}
.t-v20-grid td small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:10px;color:#72839C;margin-top:3px}
.t-v20-grid td>strong,.t-v20-grid td>span{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.t-v20-grid td>b{font-weight:750}
.t-v20-book{font-weight:650;color:#526A91}
.t-v20-grid .t-v20-count,.t-v20-grid th:nth-child(4),.t-v20-grid th:nth-child(5){text-align:center}
.t-v20-grid .t-v20-amt,.t-v20-grid th:nth-child(n+6){text-align:right}
.t-v20-settled b{color:var(--t-v20-settled)}
.t-v20-pending b{color:var(--t-v20-due)}
.t-v20-group{width:100%;min-width:0}
.t-v20-master{cursor:pointer;color:#344D70}
.t-v20-master>td,.t-v20-master>td.t-v20-sticky{background:var(--t-v20-slate)}
.t-v20-master:hover>td,.t-v20-master:hover>td.t-v20-sticky{background:#DCE6F2}
.t-v20-master.is-expanded>td,.t-v20-master.is-expanded>td.t-v20-sticky{background:#D9E5F2}
.t-v20-master>td:first-child{box-shadow:inset 3px 0 #91ABC8}
.t-v20-master.is-expanded>td:first-child{box-shadow:inset 4px 0 #678CB6}
.t-v20-master:focus-visible{outline:2px solid #698BB4;outline-offset:-2px}
.t-v20-detail-shell{background:var(--t-v20-pearl);width:100%;overflow:hidden;border-bottom:1px solid var(--t-v20-line);box-shadow:inset 4px 0 #C1D0E2}
.t-v20-detail{background:var(--t-v20-pearl);width:100%;min-width:0}
.t-v20-detail-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;border-bottom:1px solid var(--t-v20-line)}
.t-v20-detail-head>div:first-child{min-width:0;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.t-v20-detail-head b{font-size:12px;color:#425D7B}
.t-v20-detail-head small{font-size:10px;color:#74859B}
.t-v20-detail-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.t-v20-detail-actions button,.t-v20-local-heading button{font-size:11px;padding:5px 8px;min-height:30px}
.t-v20-local{background:var(--t-v20-pearl);border-bottom:1px solid #DCE5EE;max-width:100%;overflow:hidden}
.t-v20-local-heading{display:flex;align-items:center;gap:12px;padding:7px 12px;min-height:38px}
.t-v20-local-heading b{font-size:12px}
.t-v20-local-heading span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:#77869D}
.t-v20-child-scroll{width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.t-v20-runs>thead th{background:var(--t-v20-pearl)}
.t-v20-runs>tbody tr td,.t-v20-runs>tbody tr td.t-v20-sticky{background:var(--t-v20-pearl)}
.t-v20-runs>tbody tr:hover td,.t-v20-runs>tbody tr:hover td.t-v20-sticky{background:#F0F4F9}
.t-v20-action-col{text-align:center!important}
.t-v20-action-col button{font-size:11px;padding:5px 7px}
.t-v20-empty{padding:16px;color:#8391A4;background:var(--t-v20-pearl)}
.t-v20-loading,.t-v20-error{padding:28px 14px;text-align:center;color:#718198;background:#FAFBFD;border-radius:8px}
.t-v20-error{color:#A45A48}
.t-v20-overlay{position:fixed;inset:0;background:#17253A8A;z-index:1010;display:flex;justify-content:center;align-items:center;padding:16px}
.t-v20-modal{background:#fff;border:1px solid #D8E1ED;box-shadow:0 18px 55px #1A2A4066;border-radius:12px;width:min(650px,100%);max-height:min(88vh,850px);display:flex;flex-direction:column;overflow:hidden}
.t-v20-modal-title{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;border-bottom:1px solid var(--t-v20-line)}
.t-v20-modal-title strong{font-size:15px}
.t-v20-modal-title button{border:0;min-width:32px;min-height:32px}
.t-v20-modal-body{padding:12px 16px;overflow-y:auto;min-height:0}
.t-v20-modal-body form{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.t-v20-modal-body form label{display:flex;flex-direction:column;gap:4px;color:#637388;font-size:12px}
.t-v20-modal-body form label:nth-child(3){grid-column:span 2}
.t-v20-modal-body form button{grid-column:span 2}
.t-v20-modal .t-v20-primary{color:#fff;background:#5578A6;border-color:#5578A6;font-weight:650}
.t-v20-history-row,.t-v20-proof-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--t-v20-line);padding:10px 0}
.t-v20-history-row span{min-width:90px;color:#60728A}
.t-v20-history-row b{min-width:110px}
.t-v20-history-row small{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8190A2}
.t-v20-proof-row strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.t-v20-full-img{background:#131C29;border-radius:6px;display:flex;justify-content:center;align-items:center;padding:12px}
.t-v20-full-img img{max-width:100%;max-height:70vh;object-fit:contain}
.t-v20-upload-label{display:flex;flex-direction:column;gap:8px;margin-top:12px;
 border-top:1px solid #E2E7ED;padding-top:12px;font-weight:650;font-size:12px;color:#526783}
.t-v20-upload-label input{max-width:100%;font:inherit;font-size:12px}
.t-v20-upload-review{display:grid;gap:10px;justify-items:center;background:#FAFBFD;padding:10px;border-radius:8px}
.t-v20-upload-review img{max-width:100%;max-height:54vh;object-fit:contain;border-radius:4px}
.t-v20-upload-review small{color:#64748B}
.t-v20-modal-buttons{display:flex;gap:9px;justify-content:flex-end;margin-top:13px}
.t-v20-modal .t-v20-quote-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.t-v20-inherited{grid-column:span 2;padding:8px 10px;background:#FAFBFD;border:1px solid #D8E1ED;border-radius:7px;display:grid;gap:5px}
.t-v20-inherited b{font-size:11px;color:#59708B}
.t-v20-inherited small{font-size:11px;color:#687C95}
.t-v20-modal .t-v20-quote-form fieldset{grid-column:span 2;display:flex;flex-wrap:wrap;gap:7px;border:1px solid #D8E1ED;border-radius:7px;padding:9px}
.t-v20-modal .t-v20-quote-form fieldset legend{font-size:12px;color:#526783}
.t-v20-modal .t-v20-book-check{display:inline-flex;flex-direction:row;align-items:center;gap:5px;
 border:1px solid #DDE5F0;background:#FAFBFD;border-radius:6px;padding:5px 8px}
.t-v20-modal .t-v20-book-check input{min-height:auto}
.t-v20-modal .t-v20-wide{grid-column:span 2}
.t-v20-modal .t-v20-quote-form textarea{min-width:0;max-width:100%;min-height:55px;resize:vertical;border:1px solid #D2DDEA;border-radius:6px;font:inherit;padding:7px}
.t-v20-modal .t-v20-quote-form label{font-size:12px;font-weight:600}
.t-v20-modal .t-v20-quote-form select{min-width:0;max-width:100%;border:1px solid #D2DDEA;border-radius:6px;
 font:inherit;padding:7px;min-height:34px;background:#fff;color:#344D70}
.t-v20-variance{margin:0;padding:5px 12px;color:#936632;font-size:10.5px;line-height:1.45;border-bottom:1px solid #E9E1D3}
.t-v20-variance>span{display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:750;
 margin-right:3px;width:13px;height:13px;border:1px solid #E0C9A5;border-radius:50%;color:#A87639}
.t-v20-modal #t-v20-void-run{display:grid;grid-template-columns:1fr;gap:9px}
.t-v20-modal #t-v20-void-run>label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#5D6F87}
.t-v20-modal #t-v20-void-run textarea{width:100%;min-height:67px;font:inherit;padding:8px;
 border:1px solid #D2DDEA;border-radius:6px;resize:vertical}
/* S3-B finance history: one quiet list, actions separated from numeric content. */
.t-v20-history-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;
 padding:7px 10px;margin-bottom:6px;color:#63768D;border-bottom:1px solid #DFE7EF;font-size:11px}
.t-v20-history-summary b{color:#405978;font-variant-numeric:tabular-nums}
.t-v20-history-list{display:grid;gap:0}
.t-v20-history-row,.t-v20-proof-row{display:flex;align-items:center;justify-content:space-between;
 gap:10px;border-bottom:1px solid #E4EAF1;padding:10px 2px;background:#FFF}
.t-v20-history-row:last-child,.t-v20-proof-row:last-child{border-bottom:0}
.t-v20-history-row.is-voided{background:#FAFBFD}
.t-v20-history-data{display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px;min-width:0;flex:1 1 210px}
.t-v20-history-data>b{font-size:14px;min-width:0;font-weight:750;color:#344D70;white-space:nowrap}
.t-v20-history-data>time{font-size:11px;color:#64748B;white-space:nowrap}
.t-v20-history-data>small{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;
 font-size:10px;color:#8290A4;white-space:nowrap}
.t-v20-history-row.is-voided .t-v20-history-data>b{color:#8494A7;text-decoration:line-through}
.t-v20-void-label{display:inline-flex;align-items:center;min-width:auto!important;font-size:10px;
 color:#8B6470;background:#F7EBEF;border:1px solid #E5CFD6;padding:2px 5px;border-radius:5px}
.t-v20-history-ops,.t-v20-proof-ops{display:flex;gap:5px;flex:0 0 auto;align-items:center;justify-content:flex-end}
.t-v20-btn-quiet{background:#F8FAFD!important;border:1px solid #D9E3EE!important;
 color:#58708C!important;min-height:30px!important;font-size:11px!important;padding:5px 7px!important}
.t-v20-btn-quiet:hover,.t-v20-btn-quiet:focus-visible{background:#EBF1F8!important;border-color:#A8BDD4!important}
.t-v20-btn-danger{background:transparent!important;color:#98616C!important;
 border:1px solid #E9D8DE!important;font-size:11px!important;padding:5px 7px!important;min-height:30px!important}
.t-v20-btn-danger:hover,.t-v20-btn-danger:focus-visible{background:#FCF1F3!important;border-color:#D9ABB7!important}
.t-v20-confirm-danger{background:#A75A68!important;color:white!important;
 border-color:#A75A68!important;font-weight:700!important}
.t-v20-modal-caption{font-size:11px;line-height:1.55;color:#6D7F96;margin:0 0 12px}
.t-v20-payment-form,.t-v20-modal #t-v20-void-payment,.t-v20-modal #t-v20-remove-proof{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.t-v20-payment-form textarea,.t-v20-modal #t-v20-void-payment textarea,
.t-v20-modal #t-v20-remove-proof textarea{min-width:0;width:100%;min-height:66px;font:inherit;
 border:1px solid #D2DDEA;border-radius:6px;padding:7px;resize:vertical}
.t-v20-payment-form .t-v20-wide,.t-v20-modal #t-v20-void-payment>label,
.t-v20-modal #t-v20-remove-proof>label{grid-column:1/-1}
.t-v20-modal-buttons{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;
 gap:8px;margin-top:8px;flex-wrap:wrap}
.t-v20-modal-buttons button{min-height:34px}
.t-v20-void-notice{border-left:3px solid #D59CA7;padding:6px 11px;margin:2px 0 14px;background:#FCF8F9}
.t-v20-void-notice b{font-size:12px;color:#885261}
.t-v20-void-notice p{font-size:11px;line-height:1.55;color:#755E69;margin:5px 0 0}
.t-v20-proof-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;
 padding:4px 0 9px;border-bottom:1px solid #E3EAF2}
.t-v20-proof-toolbar>b{font-size:12px;color:#506782}
.t-v20-proof-list{display:grid;gap:0;max-width:100%}
.t-v20-proof-index{width:25px;min-width:25px!important;font-size:10px;color:#8191A4}
.t-v20-proof-info{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}
.t-v20-proof-info strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#405873}
.t-v20-proof-info small{font-size:10px;color:#8391A2}
.t-v20-proof-row .t-v20-proof-ops{gap:4px}
 /* Desktop-only noninteractive receipt peek; Jenny ACL still protects every image. */
 .t-v20-hover-preview{position:fixed;z-index:1030;pointer-events:none;
  width:min(278px,calc(100vw - 16px));height:216px;padding:9px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid #CFDDEC;border-radius:10px;background:#fff;
  box-shadow:0 12px 36px #14263D45}
 .t-v20-hover-preview img{display:block;max-width:100%;max-height:100%;
  width:auto;height:auto;object-fit:contain;border-radius:4px}
 @media(hover:none),(max-width:760px){.t-v20-hover-preview{display:none}}
.t-v20-upload-label{display:flex;flex-direction:column;gap:7px;margin:12px 0 0;padding:9px;
 border:1px dashed #CCD8E8;border-radius:7px;background:#FAFBFD;font-size:11px;color:#58718C}
.t-v20-upload-label input{max-width:100%;font-size:11px}
.t-v20-upload-review{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:9px;
 padding:7px;background:#FAFBFD;border-radius:7px}
.t-v20-upload-item{display:flex;flex-direction:column;align-items:center;gap:5px;
 border:1px solid #E0E7F0;border-radius:7px;padding:7px;background:#FFF;min-width:0}
.t-v20-upload-item img{max-width:100%;max-height:150px;width:100%;object-fit:contain}
.t-v20-upload-item small{color:#6E8094;font-size:10px;max-width:100%;
 white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.t-v20-limit-note{font-size:11px;color:#8A7280;margin:12px 0 0}
@media(max-width:760px){
 .t-v20-history-row{align-items:flex-start;flex-wrap:wrap;gap:4px 8px;padding:10px 0}
 .t-v20-history-data{flex:1 1 100%;gap:6px 10px}
 .t-v20-history-ops{width:100%;justify-content:flex-end;gap:7px}
 .t-v20-history-ops button,.t-v20-proof-ops button{min-height:36px!important}
 .t-v20-proof-row{align-items:flex-start;flex-wrap:wrap;gap:7px}
 .t-v20-proof-info{flex:1 1 calc(100% - 35px)}
 .t-v20-proof-ops{width:100%;justify-content:flex-end}
 .t-v20-payment-form,.t-v20-modal #t-v20-void-payment,.t-v20-modal #t-v20-remove-proof{
  grid-template-columns:repeat(2,minmax(0,1fr))
 }
 .t-v20-upload-review{grid-template-columns:repeat(2,minmax(0,1fr))}
 .t-v20-upload-item img{max-height:125px}
}
@media(max-width:900px){
 .t-v20-kpi{grid-template-columns:1fr;gap:10px}
 .t-v20-meta strong{font-size:13px}
 .t-v20-grid{width:1011px}
}
@media(max-width:760px){
 .t-v20-shell{
  --t-v20-c1:108px;--t-v20-c2:142px;--t-v20-c3:129px;
  --t-v20-c4:82px;--t-v20-c5:90px;--t-v20-c6:121px;--t-v20-c7:116px;--t-v20-c8:127px;
 }
 .t-v20-heading h2{font-size:18px}
 .t-v20-heading p{font-size:11px}
 .t-v20-kpis{grid-template-columns:1fr;gap:7px}
 .t-v20-kpi{grid-template-columns:100px 1fr;gap:4px;padding:9px 10px}
 .t-v20-kpi>div{gap:6px}
 .t-v20-meta strong{font-size:12px}
 .t-v20-toolbar{flex-wrap:wrap;padding:9px 8px}
 .t-v20-tabs{width:100%;justify-content:stretch}
 .t-v20-tabs button{flex:1;min-width:0;font-size:11px;padding:8px 4px}
 .t-v20-filters{grid-template-columns:minmax(0,1fr) max-content;padding:8px;gap:6px}
 .t-v20-filters input{font-size:16px}
 .t-v20-filters select{grid-column:1;grid-row:2}
 .t-v20-filters>button{grid-column:2;grid-row:2}
 .t-v20-hint{font-size:10px}
 .t-v20-grid{width:915px;min-width:915px}
 .t-v20-grid .t-v20-sticky{background:#E3EBF5}
 .t-v20-runs .t-v20-sticky{background:#FAFBFD}
 .t-v20-detail-head{flex-wrap:wrap;align-items:flex-start;padding:7px 9px;gap:6px}
 .t-v20-detail-actions{flex:1;justify-content:flex-end}
 .t-v20-local-heading{flex-wrap:wrap;padding:7px 9px;gap:5px}
 .t-v20-local-heading span{flex:1 1 100px}
 .t-v20-child-scroll{scrollbar-width:thin}
 .t-v20-modal{align-self:flex-end;border-radius:14px 14px 0 0;max-height:85vh;width:100%}
 .t-v20-overlay{padding:0;align-items:flex-end}
 .t-v20-modal-body{padding:10px}
 .t-v20-history-row{flex-wrap:wrap;gap:7px}
 .t-v20-history-row span{min-width:80px}
 .t-v20-history-row b{min-width:100px}
}
@media(prefers-reduced-motion:reduce){
 .t-v20-shell *, .t-v20-shell *::before,.t-v20-shell *::after{
  scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:0s!important;
 }
}

/* V20.2.1 Jenny-only polish: four actionable controls fit each truck row
   without growing the eight-column table or overflowing mobile modals. */
.t-v20-action-col{white-space:normal!important;line-height:1.25}
.t-v20-action-col button{display:inline-flex;align-items:center;justify-content:center;
 min-height:32px;margin:2px 1px;vertical-align:middle;white-space:nowrap}
.t-v20-detail-head,.t-v20-local-heading{flex-wrap:wrap;min-width:0}
.t-v20-local-heading>span{flex:1 1 170px}
.t-v20-modal #t-v20-pay-form label:nth-child(4),
.t-v20-modal #t-v20-pay-form .t-v20-upload-label,
.t-v20-modal #t-v20-pay-form [data-t-payment-upload-status],
.t-v20-modal #t-v20-pay-form>button{grid-column:1/-1}
.t-v20-modal #t-v20-pay-form textarea{min-height:58px;max-width:100%;
 width:100%;resize:vertical;border:1px solid #D2DDEA;border-radius:6px;padding:7px;font:inherit}
.t-v20-modal #t-v20-permanent-delete{display:block;width:100%}
.t-v20-modal #t-v20-permanent-delete .t-v20-modal-buttons{display:flex;
 justify-content:flex-end;align-items:center;gap:9px;flex-wrap:wrap}
.t-v20-modal #t-v20-permanent-delete button{min-height:40px}
@media(max-width:760px){
 .t-v20-detail-head{align-items:flex-start}
 .t-v20-detail-actions{width:100%;justify-content:flex-start}
 .t-v20-local-heading{align-items:flex-start;gap:7px}
 .t-v20-action-col button{font-size:10px;padding:5px 6px;min-height:36px}
 .t-v20-modal #t-v20-pay-form{grid-template-columns:repeat(2,minmax(0,1fr))}
 .t-v20-modal #t-v20-pay-form [name="amount"],
 .t-v20-modal #t-v20-pay-form [name="paidOn"]{width:100%}
 .t-v20-modal #t-v20-pay-form [name="proofFiles"]{max-width:100%;font-size:12px}
 .t-v20-modal #t-v20-permanent-delete .t-v20-modal-buttons button{flex:1 1 auto}
}

/* Existing textbook catalog: mobile-friendly Bidding-scoped multi-select. */
.t-v20-book-tools{display:flex;align-items:center;flex-wrap:wrap;gap:6px;
 flex:1 1 100%;width:100%;min-width:0;margin-bottom:5px}
.t-v20-book-tools input{flex:1 1 165px;min-width:0;max-width:100%;
 font:inherit;padding:7px;border:1px solid #D2DDEA;border-radius:6px}
.t-v20-book-tools button{flex:0 0 auto;min-height:34px}
.t-v20-book-check[hidden]{display:none!important}
.t-v20-modal .t-v20-quote-form fieldset{min-width:0}
@media(max-width:430px){
 .t-v20-book-tools input{flex-basis:100%}
 .t-v20-book-tools button{flex:1}
 .t-v20-modal-body{padding:12px}
 .t-v20-modal .t-v20-quote-form{grid-template-columns:1fr 1fr;gap:8px}
 .t-v20-modal .t-v20-quote-form>label{min-width:0}
 .t-v20-detail-actions button{min-height:36px}
}

/* Jenny's original Bidding/Region/Textbook filtering and CSV controls. */
.t-v20-filters{display:flex;flex-wrap:wrap;align-items:stretch;gap:7px}
.t-v20-filters>[data-t-filter="search"]{flex:2 1 200px}
.t-v20-filters>select{flex:1 1 120px;min-width:0;max-width:100%}
.t-v20-filters>.t-v20-book-filter{flex:1 1 155px;min-width:0;position:relative;
 border:1px solid #D2DDEA;background:#fff;border-radius:6px}
.t-v20-book-filter summary{list-style:none;cursor:pointer;padding:9px 10px;
 font-size:12px;min-height:34px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.t-v20-book-filter summary::-webkit-details-marker{display:none}
.t-v20-filter-book-list{max-height:210px;overflow:auto;display:grid;gap:7px;
 padding:9px;border-top:1px solid #DCE4ED;background:#fff}
.t-v20-filter-book-list label{display:flex;align-items:center;gap:6px;
 color:#506884;font-size:11px;min-width:0}
.t-v20-filter-book-list input{width:16px;height:16px;min-height:16px;flex:0 0 auto}
.t-v20-filters>button[data-t-action="reload"]{flex:0 0 auto}
@media(max-width:760px){
 .t-v20-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .t-v20-filters>[data-t-filter="search"]{grid-column:1/-1;grid-row:auto}
 .t-v20-filters>select,.t-v20-filters>.t-v20-book-filter,
 .t-v20-filters>button[data-t-action="reload"]{grid-column:auto;grid-row:auto;width:100%}
 .t-v20-filter-book-list{max-height:185px}
 .t-v20-top-actions{flex-wrap:wrap}
}

/* V20.2.2 Jenny transport mobile hierarchy. Everything stays module-scoped.
   Financial figures still come exclusively from the original server overview. */
.t-v20-shell .t-v20-svg{width:17px;height:17px;flex:0 0 auto;display:inline-block}
.t-v20-shell .t-v20-kpi{
  display:flex;flex-direction:column;align-items:stretch;gap:9px;
  min-width:0;padding:11px 13px
}
.t-v20-shell .t-v20-kpi-title{
  display:flex;align-items:center;gap:8px;color:#3E587C;min-width:0
}
.t-v20-shell .t-v20-kpi-title .t-v20-svg{width:19px;height:19px}
.t-v20-shell .t-v20-kpi-title b{font-size:13px;font-weight:750;line-height:1.3}
.t-v20-shell .t-v20-kpi-container .t-v20-kpi-title{color:#247D88}
.t-v20-shell .t-v20-money-strip{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;
  min-width:0;padding:10px 12px;background:#fff
}
.t-v20-shell .t-v20-kpi-values{padding:0;background:transparent;gap:8px 12px}
.t-v20-shell .t-v20-money-strip .t-v20-meta{min-width:0}
.t-v20-shell .t-v20-money-strip .t-v20-meta small{
  color:#75879C;font-size:10px;line-height:1.35;margin-bottom:3px
}
.t-v20-shell .t-v20-money-strip .t-v20-meta strong{
  display:block;font-size:clamp(11px,1.05vw + 9px,15px);line-height:1.4;
  white-space:nowrap;letter-spacing:-.02em;min-width:0;
  font-variant-numeric:tabular-nums;font-feature-settings:"tnum";
  color:#2F4868
}
.t-v20-shell .t-v20-money-strip .t-v20-money-payable{
  grid-column:1/-1;padding-bottom:8px;border-bottom:1px solid #E5ECF4
}
.t-v20-shell .t-v20-kpi .t-v20-money-payable strong{font-size:clamp(14px,1vw + 12px,17px)}
.t-v20-shell .t-v20-money-strip .t-v20-money-paid strong{color:#26765C}
.t-v20-shell .t-v20-money-strip .t-v20-money-due strong{color:#A56A2B}
.t-v20-shell .t-v20-money-strip .t-v20-money-due{
  border-left:1px solid #E5ECF4;padding-left:12px
}
.t-v20-shell .t-v20-icon-btn{
  display:inline-flex;align-items:center;justify-content:center;flex-direction:column;
  gap:2px;min-width:37px;min-height:37px;padding:4px 6px;border-radius:7px;
  font-weight:600;line-height:1.1;border-color:#CFDBEA;background:#FFF;
  color:#496987
}
.t-v20-shell .t-v20-icon-btn .t-v20-svg{width:17px;height:17px}
.t-v20-shell .t-v20-icon-caption{font-size:9px;font-weight:650;line-height:1.15;white-space:nowrap}
.t-v20-shell .t-v20-detail-actions{
  display:flex;align-items:center;justify-content:flex-end;
  flex:0 0 auto;gap:5px;flex-wrap:wrap;min-width:0
}
.t-v20-shell .t-v20-detail-actions .t-v20-icon-btn{
  min-height:38px;min-width:38px;padding:7px
}
.t-v20-shell .t-v20-detail-actions .t-v20-icon-caption{display:none}
.t-v20-shell .t-v20-action-col{white-space:normal!important}
.t-v20-shell .t-v20-run-actions{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:4px;max-width:115px;margin-inline:auto
}
.t-v20-shell .t-v20-action-col .t-v20-icon-btn{
  display:flex;min-height:40px;min-width:0;width:100%;
  padding:4px 2px;margin:0;white-space:nowrap
}
.t-v20-shell .t-v20-action-col .t-v20-icon-btn .t-v20-svg{width:16px;height:16px}
.t-v20-shell .t-v20-detail-identity{
  display:flex;align-items:center;gap:8px;flex:1 1 170px;min-width:0
}
.t-v20-shell .t-v20-detail-identity>div{min-width:0;display:grid;gap:3px}
.t-v20-shell .t-v20-detail-identity small{display:block}
.t-v20-shell .t-v20-heading-symbol{
  display:flex;align-items:center;justify-content:center;
  width:28px;height:28px;flex:0 0 28px;
  color:#51739B;background:#E7EFFB;border-radius:8px
}
.t-v20-shell .t-v20-container-symbol{color:#267F8B;background:#E1F4F2}
.t-v20-shell .t-v20-ordinary-detail .t-v20-detail-head{
  align-items:center;gap:10px;padding:10px 12px
}
.t-v20-shell .t-v20-combined-detail{
  padding:10px;display:grid;gap:10px;background:#FAFBFD
}
.t-v20-shell .t-v20-container-panel,.t-v20-shell .t-v20-local-panel{
  min-width:0;max-width:100%;overflow:hidden;
  background:#fff;border:1px solid #DCE4EE;border-radius:9px
}
.t-v20-shell .t-v20-container-panel{border-color:#CEE4E6}
.t-v20-shell .t-v20-container-panel .t-v20-panel-heading{background:#F0F9F9}
.t-v20-shell .t-v20-panel-heading,.t-v20-shell .t-v20-local-panel-heading{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:8px;padding:9px 11px;border-bottom:1px solid #E2EBF3;min-width:0
}
.t-v20-shell .t-v20-local-panel-heading{background:#F1F3FB}
.t-v20-shell .t-v20-panel-title{
  display:flex;align-items:center;gap:8px;flex:1 1 145px;min-width:0
}
.t-v20-shell .t-v20-panel-title>div{display:grid;gap:3px;min-width:0}
.t-v20-shell .t-v20-panel-title b{font-size:12px;font-weight:750;color:#3C5575}
.t-v20-shell .t-v20-panel-title small{
  display:block;font-size:10px;color:#72849B;line-height:1.35;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
.t-v20-shell .t-v20-parent-money,.t-v20-shell .t-v20-local-money{padding:10px 12px}
.t-v20-shell .t-v20-local-panel{padding-bottom:7px}
.t-v20-shell .t-v20-local{
  border:1px solid #DFE6F2;border-radius:8px;margin:8px 9px 0;
  max-width:calc(100% - 18px);background:#fff;overflow:hidden
}
.t-v20-shell .t-v20-local-heading{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:7px;padding:6px 9px;background:#F5F7FC;min-height:46px
}
.t-v20-shell .t-v20-local-heading .t-v20-local-toggle{
  display:flex;flex:1 1 145px;align-items:center;gap:6px;
  border:0;background:transparent;padding:4px 0;color:#405D7E;
  min-width:0;white-space:normal;text-align:left
}
.t-v20-shell .t-v20-local-heading .t-v20-local-toggle:hover{background:transparent}
.t-v20-shell .t-v20-local-heading .t-v20-panel-title{min-width:0;flex:1 1 auto}
.t-v20-shell .t-v20-local-label{display:grid;gap:3px;min-width:0}
.t-v20-shell .t-v20-local-label b{display:block;font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.t-v20-shell .t-v20-local-label small{
  font-size:10px;font-weight:450;color:#7789A1;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis
}
.t-v20-shell .t-v20-local-chevron{display:flex;align-items:center;color:#6A80A0}
.t-v20-shell .t-v20-local-toggle[aria-expanded="true"] .t-v20-local-chevron{
  transform:rotate(180deg)
}
.t-v20-shell .t-v20-local-body[hidden]{display:none!important}
.t-v20-shell .t-v20-local-body{min-width:0;max-width:100%}
.t-v20-shell .t-v20-local-body .t-v20-variance{
  border-top:1px solid #EEE4D6
}
.t-v20-shell .t-v20-local-body .t-v20-child-scroll{border-top:1px solid #E8EEF5}
.t-v20-shell .t-v20-ordinary-detail>.t-v20-money-strip{border-bottom:1px solid #E5ECF4}

@media(max-width:760px){
  .t-v20-shell .t-v20-kpis{grid-template-columns:1fr;gap:9px}
  .t-v20-shell .t-v20-kpi{padding:11px 13px;gap:8px}
  .t-v20-shell .t-v20-money-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .t-v20-shell .t-v20-money-strip .t-v20-meta strong{font-size:clamp(11px,3.15vw,14px)}
  .t-v20-shell .t-v20-money-strip .t-v20-money-payable strong{font-size:clamp(15px,4.1vw,18px)}
  .t-v20-shell .t-v20-detail-head,.t-v20-shell .t-v20-panel-heading,
  .t-v20-shell .t-v20-local-panel-heading{
    align-items:flex-start;padding:9px;gap:7px
  }
  .t-v20-shell .t-v20-detail-actions{
    min-width:0;width:auto;flex:1 1 140px;justify-content:flex-end
  }
  .t-v20-shell .t-v20-detail-head>.t-v20-detail-actions{
    justify-content:flex-start
  }
  .t-v20-shell .t-v20-local-heading .t-v20-detail-actions{
    flex:0 1 auto;justify-content:flex-end
  }
  .t-v20-shell .t-v20-local-heading .t-v20-local-toggle{
    flex:1 1 100%;width:100%;justify-content:space-between
  }
  .t-v20-shell .t-v20-local-heading .t-v20-detail-actions{
    width:100%;flex:1 1 100%
  }
  .t-v20-shell .t-v20-combined-detail{padding:8px;gap:9px}
  .t-v20-shell .t-v20-container-panel .t-v20-detail-actions{
    flex:1 1 100%;justify-content:flex-end
  }
  .t-v20-shell .t-v20-local-panel-heading .t-v20-detail-actions{
    flex:1 1 100%;justify-content:flex-end
  }
  .t-v20-shell .t-v20-action-col .t-v20-icon-btn{
    padding:3px 1px;font-size:9px;min-height:40px
  }
  .t-v20-shell .t-v20-run-actions{gap:4px}
}
@media(max-width:360px){
  .t-v20-shell .t-v20-money-strip{gap:7px 8px;padding-inline:9px}
  .t-v20-shell .t-v20-money-strip .t-v20-money-due{padding-left:8px}
  .t-v20-shell .t-v20-money-strip .t-v20-meta strong{font-size:11px}
}

/* V20.2.3: Jenny finance mobile compact + lightweight, desktop remains unchanged.
   UI colors identify accounting owners; money still comes only from the API. */
.t-v20-shell .t-v23-mobile-title,
.t-v20-shell .t-v23-mobile-kpis,
.t-v20-shell .t-v23-mobile-hint,
.t-v20-shell .t-v23-tool-svg,
.t-v20-shell .t-v23-filter-tool{display:none}
.t-v20-shell .t-v23-zero-toggle{display:inline-flex}
.t-v20-shell .t-v23-kpi-bottom[hidden]{display:none!important}

@media(max-width:760px){
  .t-v20-shell{position:relative}
  .t-v20-shell .t-v20-heading{
    min-height:34px;align-items:center;padding-right:94px;
    margin-bottom:6px;gap:5px
  }
  .t-v20-shell .t-v20-heading h2{font-size:16px;line-height:1.25;margin:0}
  .t-v20-shell .t-v20-heading p,
  .t-v20-shell .t-v20-privacy,
  .t-v20-shell .t-v23-desktop-title{display:none}
  .t-v20-shell .t-v23-mobile-title{display:inline}
  .t-v20-shell .t-v20-kpis{display:none!important}
  .t-v20-shell .t-v23-mobile-kpis{display:grid;gap:6px;margin:0 0 7px}
  .t-v20-shell .t-v23-kpi{
    background:#fff;border:1px solid #dfe7f1;border-left:3px solid #6689b4;
    border-radius:8px;min-width:0;padding:7px 9px
  }
  .t-v20-shell .t-v23-kpi-container{border-left-color:#65a5a7}
  .t-v20-shell .t-v23-kpi-head{
    display:flex;align-items:center;gap:6px;min-height:24px;min-width:0
  }
  .t-v20-shell .t-v23-kpi-name{
    display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;
    color:#466a99;font-size:12px;font-weight:750;white-space:nowrap
  }
  .t-v20-shell .t-v23-kpi-container .t-v23-kpi-name{color:#388a8e}
  .t-v20-shell .t-v23-kpi-name .t-v20-svg{width:16px;height:16px;flex:0 0 16px}
  .t-v20-shell .t-v23-kpi-primary{
    display:flex;align-items:baseline;justify-content:flex-end;
    gap:6px;margin-left:auto;min-width:0
  }
  .t-v20-shell .t-v23-kpi-primary small,
  .t-v20-shell .t-v23-kpi-bottom small{
    font-size:10px;color:#8490a1;white-space:nowrap;font-weight:500
  }
  .t-v20-shell .t-v23-kpi-primary strong{
    display:block;font-size:clamp(12px,3.65vw,15px);font-weight:750;
    letter-spacing:-.035em;line-height:1.3;color:#304c6c;white-space:nowrap;
    font-variant-numeric:tabular-nums
  }
  .t-v20-shell .t-v23-kpi-bottom{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;margin-top:5px;padding-top:5px;border-top:1px solid #e7edf4
  }
  .t-v20-shell .t-v23-kpi-bottom>span{display:flex;align-items:baseline;gap:5px;min-width:0}
  .t-v20-shell .t-v23-kpi-bottom>span+span{
    padding-left:8px;border-left:1px solid #e8edf4
  }
  .t-v20-shell .t-v23-kpi-bottom b{
    font-size:clamp(10px,2.8vw,11.5px);white-space:nowrap;
    font-variant-numeric:tabular-nums;font-weight:700;letter-spacing:-.04em
  }
  .t-v20-shell .t-v23-paid{color:#29846a}
  .t-v20-shell .t-v23-due{color:#aa753e}
  .t-v20-shell .t-v23-zero-toggle{
    width:24px;min-width:24px;min-height:28px;height:28px;
    padding:0;background:transparent;border:0;color:#7990a6
  }
  .t-v20-shell .t-v23-zero-toggle .t-v20-svg{width:14px;height:14px}
  .t-v20-shell .t-v23-zero-toggle[aria-expanded="true"] .t-v20-svg{transform:rotate(180deg)}
  .t-v20-shell .t-v20-workspace{
    border:0;background:transparent;border-radius:0;overflow:visible
  }
  .t-v20-shell .t-v20-toolbar{
    border:0;background:transparent;padding:0;margin:0;display:block
  }
  .t-v20-shell .t-v20-toolbar>strong{display:none}
  .t-v20-shell .t-v20-top-actions{
    position:absolute;right:0;top:0;z-index:1;
    display:flex;gap:5px;align-items:center;flex-wrap:nowrap
  }
  .t-v20-shell .t-v20-top-actions button{
    display:inline-flex;align-items:center;justify-content:center;
    width:35px;min-width:35px;height:34px;min-height:34px;
    padding:0;border:1px solid #d5e0ee;background:#fff;
    border-radius:8px;color:#5175a3;box-shadow:none;font-size:12px
  }
  .t-v20-shell .t-v23-tool-caption{display:none}
  .t-v20-shell .t-v23-tool-svg{display:inline-flex;align-items:center;justify-content:center}
  .t-v20-shell .t-v23-tool-svg .t-v20-svg{width:17px;height:17px;flex:0 0 17px}
  .t-v20-shell .t-v20-tabs{
    margin:0 0 7px;padding:3px;width:100%;border-radius:8px;
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;
    background:#edf1f6
  }
  .t-v20-shell .t-v20-tabs button{
    width:100%;min-width:0;min-height:32px;height:32px;padding:5px 4px;
    font-size:11px;line-height:1.2;border-radius:6px;
    color:#657a95;white-space:nowrap
  }
  .t-v20-shell .t-v20-tabs button[aria-selected="true"]{
    background:#fff;color:#456e9d;border:1px solid #dae3ef
  }
  .t-v20-shell .t-v20-tabs button[data-t-mode="container"][aria-selected="true"]{
    color:#398c8e;background:#f5fbfa;border-color:#cfe5e4
  }
  .t-v20-shell .t-v20-filters{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) repeat(3,34px);
    align-items:center;gap:5px;padding:0 0 6px;margin:0;min-width:0
  }
  .t-v20-shell .t-v20-filters>select{
    min-width:0;width:100%;max-width:100%;height:34px;min-height:34px;
    padding:5px 5px;font-size:11px;grid-row:1;flex:none
  }
  .t-v20-shell .t-v20-filters>select[data-t-filter="bidding"]{grid-column:1}
  .t-v20-shell .t-v20-filters>select[data-t-filter="region"]{grid-column:2}
  .t-v20-shell .t-v20-filters>[data-t-filter="search"]{
    display:none;grid-column:1/-1;grid-row:2;min-width:0;
    width:100%;height:36px;min-height:36px;font-size:16px;
    padding:4px 10px;border-radius:7px
  }
  .t-v20-shell.t-v23-search-open .t-v20-filters>[data-t-filter="search"]{display:block}
  .t-v20-shell .t-v20-filters>.t-v23-filter-tool,
  .t-v20-shell .t-v20-filters>button[data-t-action="reload"]{
    display:inline-flex;align-items:center;justify-content:center;
    background:#fff;color:#587594;border:1px solid #d6e1ef;
    border-radius:7px;padding:0;width:34px;min-width:34px;max-width:34px;
    min-height:34px;height:34px;grid-row:1;flex:0 0 34px
  }
  .t-v20-shell .t-v20-filters>.t-v23-filter-tool .t-v20-svg{
    display:block;width:17px;height:17px;max-width:17px;max-height:17px;flex:0 0 17px
  }
  .t-v20-shell .t-v20-filters>button[data-t-action="toggle-search"]{grid-column:3}
  .t-v20-shell .t-v20-filters>button[data-t-action="toggle-advanced"]{grid-column:4}
  .t-v20-shell .t-v20-filters>button[data-t-action="reload"]{grid-column:5}
  .t-v20-shell .t-v20-filters>.t-v23-filter-tool.is-active{
    color:#3e70a5;background:#eef5ff;border-color:#a8c4e5
  }
  .t-v20-shell .t-v20-filters>.t-v20-book-filter,
  .t-v20-shell .t-v20-filters>select[data-t-filter="status"]{display:none;grid-row:auto}
  .t-v20-shell.t-v23-more-open .t-v20-filters>.t-v20-book-filter{
    display:block;grid-column:1/3;width:100%;min-width:0
  }
  .t-v20-shell.t-v23-more-open .t-v20-filters>select[data-t-filter="status"]{
    display:block;grid-column:3/6;width:100%;min-width:0
  }
  .t-v20-shell .t-v20-book-filter summary{
    font-size:11px;min-height:34px;padding:8px 7px
  }
  .t-v20-shell .t-v20-filter-book-list{
    max-height:185px;min-width:195px;position:relative;z-index:3
  }
  .t-v20-shell .t-v20-hint{
    display:block;margin:0;padding:5px 2px 6px;background:transparent;
    border:0;color:#677e9b
  }
  .t-v20-shell .t-v23-desktop-hint{display:none}
  .t-v20-shell .t-v23-mobile-hint{
    display:flex;justify-content:space-between;align-items:center;gap:8px
  }
  .t-v20-shell .t-v23-mobile-hint strong{
    font-size:12px;color:#3d5a7d;font-weight:730
  }
  .t-v20-shell .t-v23-mobile-hint small{font-size:10px;color:#7b8da4}
  .t-v20-shell .t-v20-records{
    background:#fff;border:1px solid #e0e8f1;border-radius:8px;overflow:hidden
  }
  .t-v20-shell .t-v20-grid th{padding-block:5px;font-size:10px}
  .t-v20-shell .t-v20-grid td{padding-block:6px;font-size:11px}
  .t-v20-shell .t-v20-detail-shell{border-color:#dce5ee}
  .t-v20-shell .t-v20-combined-detail{padding:7px;gap:7px}
  .t-v20-shell .t-v20-container-panel{border-color:#d7e7e6}
  .t-v20-shell .t-v20-container-panel .t-v20-panel-heading{background:#f6faf9}
  .t-v20-shell .t-v20-local-panel{border-color:#e4e2ee}
  .t-v20-shell .t-v20-local-panel-heading{background:#f8f7fc}
  .t-v20-shell .t-v20-local{
    border-color:#e5e3ef;max-width:calc(100% - 14px);margin:6px 7px 0;
    border-left:3px solid #aaa5c9
  }
  .t-v20-shell .t-v20-local-heading{background:#fbfafd;padding:6px 8px;gap:5px}
  .t-v20-shell .t-v20-panel-heading,
  .t-v20-shell .t-v20-local-panel-heading{padding:7px 9px;gap:6px}
  .t-v20-shell .t-v20-heading-symbol{
    background:#edf2f8;color:#627d9f;width:26px;height:26px;flex-basis:26px
  }
  .t-v20-shell .t-v20-container-symbol{background:#ebf6f4;color:#459094}
  .t-v20-shell .t-v20-money-strip{gap:5px 10px;padding:7px 9px}
  .t-v20-shell .t-v20-money-strip .t-v20-money-payable{padding-bottom:6px}
  .t-v20-shell .t-v20-money-strip .t-v20-meta small{font-size:10px;margin-bottom:2px}
  .t-v20-shell .t-v20-money-strip .t-v20-meta strong{font-size:12px}
  .t-v20-shell .t-v20-icon-btn{
    border-color:#dae3ee;background:#fff;color:#657b97;box-shadow:none
  }
  .t-v20-shell .t-v20-icon-btn[data-t-action="container-payment"],
  .t-v20-shell .t-v20-icon-btn[data-t-action="run-payment"]{
    color:#537da9;background:#f0f5fc;border-color:#d2e2f3
  }
  .t-v20-shell .t-v20-icon-btn[data-t-action="add-run"],
  .t-v20-shell .t-v20-icon-btn[data-t-action="new-local"],
  .t-v20-shell .t-v20-icon-btn[data-t-action="attach-local"]{
    color:#41846e;background:#f2f8f4;border-color:#d8e9df
  }
  .t-v20-shell .t-v20-icon-btn[data-t-action="delete-quote"],
  .t-v20-shell .t-v20-icon-btn[data-t-action="delete-run"]{
    color:#aa6977;background:#fffafb;border-color:#eddae0
  }
  .t-v20-shell .t-v20-run-actions{
    grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;
    max-width:138px;margin:0 auto
  }
  .t-v20-shell .t-v20-action-col .t-v20-icon-btn{
    min-height:37px;height:37px;width:100%;padding:0
  }
  .t-v20-shell .t-v20-action-col .t-v20-icon-caption{display:none}
  .t-v20-shell{--t-v20-c3:155px}
}
@media(max-width:360px){
  .t-v20-shell .t-v23-kpi{padding-inline:7px}
  .t-v20-shell .t-v23-kpi-bottom b{font-size:10px}
  .t-v20-shell .t-v23-kpi-primary{gap:4px}
}

/* V20.2.4 Jenny Transport: no duplicate master amounts, inline local quotation,
   compact desktop truck runs; all new rules are scoped to the finance view. */
.t-v20-shell .t-v20-ordinary-detail .t-v20-detail-head,
.t-v20-shell .t-v20-container-panel .t-v20-panel-heading{
  display:flex;align-items:center;flex-wrap:nowrap;justify-content:space-between;
  gap:8px;min-height:46px;padding:6px 9px
}
.t-v20-shell .t-v20-ordinary-detail .t-v20-detail-head{
  background:#fafbfd;border-left:3px solid #7597bf
}
.t-v20-shell .t-v20-container-panel{
  border-left:3px solid #6fa8a8
}
.t-v20-shell .t-v20-container-panel .t-v20-panel-heading{
  background:#f7fbfa;border-bottom:0
}
.t-v20-shell .t-v20-detail-identity,
.t-v20-shell .t-v20-container-panel .t-v20-panel-title{
  flex:1 1 auto;min-width:0;flex-wrap:nowrap
}
.t-v20-shell .t-v20-detail-identity>div,
.t-v20-shell .t-v20-container-panel .t-v20-panel-title>div{min-width:0}
.t-v20-shell .t-v20-detail-identity b,
.t-v20-shell .t-v20-container-panel .t-v20-panel-title b{
  display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
.t-v20-shell .t-v20-detail-head .t-v20-detail-actions,
.t-v20-shell .t-v20-container-panel .t-v20-detail-actions{
  flex:0 0 auto;width:auto;min-width:0;display:flex;flex-wrap:nowrap;gap:4px;
  justify-content:flex-end
}
.t-v20-shell .t-v20-ordinary-detail .t-v20-heading-symbol,
.t-v20-shell .t-v20-container-panel .t-v20-heading-symbol{
  width:26px;height:26px;flex:0 0 26px
}
.t-v20-shell .t-v20-detail-head .t-v20-icon-btn,
.t-v20-shell .t-v20-container-panel .t-v20-icon-btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:31px;height:31px;min-width:31px;width:31px;padding:5px
}
.t-v20-shell .t-v20-combined-detail{gap:7px;padding:7px}
.t-v20-shell .t-v20-local-panel{border-color:#e2e3ed}
.t-v20-shell .t-v20-local-panel-heading{padding:7px 9px;background:#f8f8fc}
.t-v20-shell .t-v20-local{
  border-left:3px solid #aaa4c8;border-color:#e5e3f0;
  margin:6px 7px 0;max-width:calc(100% - 14px)
}
.t-v20-shell .t-v20-local-heading{
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:nowrap;gap:9px;padding:6px 8px;min-height:46px;
  background:#fbfafd
}
.t-v20-shell .t-v20-local-heading .t-v20-local-toggle{
  flex:1 1 auto;min-width:0;width:auto;max-width:100%;white-space:nowrap;
  align-items:center;justify-content:flex-start;gap:5px;padding:0
}
.t-v20-shell .t-v20-local-heading .t-v20-local-label{
  min-width:0;max-width:100%;overflow:hidden
}
.t-v20-shell .t-v20-local-heading .t-v20-local-label b{
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
.t-v20-shell .t-v20-local-heading .t-v20-detail-actions{
  display:flex;align-items:center;flex-wrap:nowrap;gap:4px;
  flex:0 0 auto;min-width:0;width:auto;justify-content:flex-end
}
.t-v20-shell .t-v20-local-heading .t-v20-detail-actions .t-v20-icon-btn{
  min-height:30px;height:30px;min-width:30px;width:30px;padding:5px
}
/* Local Trucking is a different financial owner; never hide its three figures
   behind the Container master or with the truck-run accordion. */
.t-v20-shell .t-v20-local-heading .t-v24-local-money{
  display:grid;grid-template-columns:repeat(3,max-content);align-items:center;
  gap:10px;flex:0 0 auto;width:auto;min-width:0;max-width:100%;
  padding:0;margin:0;border:0;background:transparent
}
.t-v20-shell .t-v24-local-money .t-v24-local-figure{
  display:inline-flex;align-items:baseline;gap:4px;min-width:0;white-space:nowrap
}
.t-v20-shell .t-v24-local-figure small{
  display:inline;font-weight:500;color:#8492a5;font-size:10px;margin:0;
  line-height:1.25;white-space:nowrap
}
.t-v20-shell .t-v24-local-figure b{
  font-size:11px;font-weight:750;white-space:nowrap;
  font-variant-numeric:tabular-nums;letter-spacing:-.03em;color:#385371
}
.t-v20-shell .t-v24-local-figure.t-v24-paid b{color:#268166}
.t-v20-shell .t-v24-local-figure.t-v24-balance b{color:#aa7236}
.t-v20-shell .t-v20-local-body .t-v20-variance{margin:0;border-top:0}
.t-v20-shell .t-v20-local-body>.t-v20-child-scroll{border-top:1px solid #e8edf5}

/* Desktop: four actions in one horizontal row and denser table rows. */
@media(min-width:761px){
 .t-v20-shell .t-v20-runs{min-width:885px}
 .t-v20-shell .t-v20-runs .t-v20-c3{width:150px}
 .t-v20-shell .t-v20-runs .t-v20-c4{width:78px}
 .t-v20-shell .t-v20-runs .t-v20-c5{width:78px}
 .t-v20-shell .t-v20-runs>thead th{padding:5px 6px;font-size:10px}
 .t-v20-shell .t-v20-runs>tbody tr td{
   height:46px;padding:4px 6px;font-size:11px;line-height:1.25
 }
 .t-v20-shell .t-v20-run-actions{
   display:flex;align-items:center;justify-content:center;
   flex-wrap:nowrap;gap:4px;min-width:0;max-width:none;width:auto;margin:0
 }
 .t-v20-shell .t-v20-action-col .t-v20-icon-btn{
   display:inline-flex;align-items:center;justify-content:center;
   flex:0 0 29px;min-width:29px;width:29px;min-height:30px;height:30px;
   border-radius:6px;padding:4px 5px;white-space:nowrap
 }
 .t-v20-shell .t-v20-run-actions .t-v20-icon-caption{display:none}
 .t-v20-shell .t-v20-run-actions .t-v20-svg{width:16px;height:16px}
}
/* At laptop/narrow desktop widths the local amounts can occupy a second
   flexible row rather than clipping money or forcing horizontal page overflow. */
@media(min-width:761px) and (max-width:1100px){
 .t-v20-shell .t-v20-local-heading{flex-wrap:wrap}
 .t-v20-shell .t-v20-local-heading .t-v20-local-toggle{flex:1 1 170px}
 .t-v20-shell .t-v20-local-heading .t-v24-local-money{
   order:3;width:100%;justify-content:start;gap:12px;
   padding:5px 0 1px;border-top:1px solid #eae8f2
 }
 .t-v20-shell .t-v20-local-heading .t-v20-detail-actions{margin-left:auto}
}
@media(max-width:760px){
 .t-v20-shell .t-v20-ordinary-detail .t-v20-detail-head,
 .t-v20-shell .t-v20-container-panel .t-v20-panel-heading{
   display:flex;align-items:center;flex-wrap:nowrap;
   min-height:44px;padding:6px 7px;gap:5px
 }
 .t-v20-shell .t-v20-detail-head>.t-v20-detail-actions,
 .t-v20-shell .t-v20-container-panel .t-v20-detail-actions{
   flex:0 0 auto;width:auto;min-width:0;justify-content:flex-end;
   flex-wrap:nowrap;gap:3px
 }
 .t-v20-shell .t-v20-detail-head .t-v20-icon-btn,
 .t-v20-shell .t-v20-container-panel .t-v20-icon-btn{
   width:31px;min-width:31px;min-height:32px;height:32px;padding:4px
 }
 .t-v20-shell .t-v20-detail-identity{gap:5px;min-width:0;flex:1 1 auto}
 .t-v20-shell .t-v20-detail-identity>div{min-width:0}
 .t-v20-shell .t-v20-detail-identity b{font-size:11px}
 .t-v20-shell .t-v20-detail-identity small{font-size:10px}
 .t-v20-shell .t-v20-combined-detail{padding:6px;gap:6px}
 .t-v20-shell .t-v20-local{margin:5px 5px 0;max-width:calc(100% - 10px)}
 .t-v20-shell .t-v20-local-heading{
   display:grid;grid-template-columns:minmax(0,1fr) auto;
   grid-template-areas:"identity actions" "money money";
   align-items:center;gap:5px 6px;padding:6px 7px;min-height:0
 }
 .t-v20-shell .t-v20-local-heading .t-v20-local-toggle{
   grid-area:identity;min-width:0;max-width:none;width:100%;
   flex:initial;justify-content:flex-start;padding:0
 }
 .t-v20-shell .t-v20-local-heading .t-v20-detail-actions{
   grid-area:actions;justify-content:flex-end;flex:0 0 auto;
   flex-wrap:nowrap;width:auto;min-width:0;gap:3px
 }
 .t-v20-shell .t-v20-local-heading .t-v20-detail-actions .t-v20-icon-btn{
   min-width:30px;width:30px;min-height:32px;height:32px;padding:4px
 }
 .t-v20-shell .t-v20-local-heading .t-v24-local-money{
   grid-area:money;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
   justify-content:stretch;gap:4px;width:100%;max-width:100%;min-width:0;
   padding:6px 0 0;border-top:1px solid #eae8f1
 }
 .t-v20-shell .t-v24-local-money .t-v24-local-figure{
   display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0
 }
 .t-v20-shell .t-v24-local-figure b{
   font-size:clamp(9.5px,2.8vw,11px);letter-spacing:-.045em
 }
 .t-v20-shell .t-v20-local-body>.t-v20-child-scroll{border-top:0}
}
@media(max-width:360px){
 .t-v20-shell .t-v20-local-heading .t-v20-detail-actions .t-v20-icon-btn{
   min-width:28px;width:28px
 }
 .t-v20-shell .t-v24-local-figure b{font-size:9.5px}
}
