/* V1.5 stage 2: compact shipment views, explicit charges and responsive tracking. */
.shipment-detail17 .pagehead{margin-bottom:12px;align-items:center;gap:18px}
.shipment-detail17 .pagehead h1{font-size:1.55rem;overflow-wrap:anywhere}
.shipment-detail17 .pagehead p{margin-top:3px;font-size:.8rem}
.shipment-detail17 .head-actions{gap:8px;align-items:center;flex-wrap:wrap}
.shipment-detail17 .record-status{margin:0 0 14px;gap:10px;flex-wrap:wrap;font-size:.78rem}
.shipment-detail17 .panel{margin-bottom:14px}
.shipment-detail17 .panel-body{padding:18px 20px}
.shipment-detail17 h2,.invoice-charges17 h2{font-size:.98rem;margin:0 0 14px}
.view-load17{display:inline-flex;align-items:center;gap:7px;min-height:40px}
.view-load17 svg{width:17px;height:17px}
.record-actions17{position:relative}
.record-actions17>summary{list-style:none;cursor:pointer}
.record-actions17>summary::-webkit-details-marker{display:none}
.record-actions17>div{position:absolute;right:0;top:calc(100% + 6px);min-width:190px;display:grid;gap:7px;padding:10px;background:white;border:1px solid #dce7e1;border-radius:10px;box-shadow:0 12px 35px #15352824;z-index:15}
.shipment-tabs17{display:flex;border-bottom:1px solid #d8e5dd;margin:0 0 18px;gap:8px;overflow:auto}
.shipment-tabs17 button{border:0;border-radius:0;background:transparent;color:#698273;font-size:.8rem;padding:12px 14px;white-space:nowrap;border-bottom:2px solid transparent}
.shipment-tabs17 button[aria-selected=true]{color:#087d45;border-bottom-color:#087d45;font-weight:700}
.shipment-pane17[hidden]{display:none!important}
.shipment-columns17{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);gap:16px;align-items:start}
.shipment-columns17>*{min-width:0}
.facts17{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px;margin:0}
.facts17>div{min-width:0}
.facts17 dt{font-size:.73rem;color:#6a8273;margin-bottom:4px;line-height:1.4}
.facts17 dd{margin:0;font-size:.84rem;overflow-wrap:anywhere;line-height:1.6}
.facts17 a{color:#087d45;text-decoration:none}
.facts17 a:hover{text-decoration:underline}
.facts17 .table-scroll{max-width:100%}
.summary-total17{margin-bottom:12px}
.summary-total17 small{font-size:.74rem;color:#6a8273;display:block}
.summary-total17 strong{display:block;font-size:1.35rem;margin-top:4px}
.mini-totals17{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0}
.mini-totals17 dt{font-size:.74rem;color:#6a8273;margin-bottom:4px}
.mini-totals17 dd{font-size:.94rem;font-weight:700;margin:0}
.compact-record17{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e4ece6;padding:10px 0;font-size:.78rem;text-decoration:none;color:#176b43}
.compact-record17:last-child{border-bottom:0}
.compact-record17 span:first-child{overflow-wrap:anywhere;min-width:0}
.coverage-mini17{padding:12px 0;margin-top:6px;border-top:1px solid #e4ece6}
.coverage-mini17>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:.78rem;margin-bottom:8px}
.coverage-mini17>strong{display:block;font-size:1.05rem}
.coverage-mini17>small{display:block;font-size:.74rem;color:#6a8273;margin-top:6px}
.coverage-state17{border:1px solid #e1e9e4;background:#f8faf9;border-radius:10px;padding:16px}
.coverage-state17.active{border-color:#bddbc9;background:#f4faf6}
.coverage-title17{display:flex;align-items:center;gap:12px}
.coverage-state17>p{font-size:.78rem;margin:10px 0 14px}
.coverage-state17 a{color:#146d43;text-decoration:none}
.coverage-state17 .facts17{gap:16px 24px}
.coverage-state17 .facts17 small{font-size:.72rem;color:#6a8273}
.protection-panel15>.btn{margin-top:14px}
.shipment-detail17 .protection-summary15{gap:12px}
.shipment-detail17 .protection-summary15 strong{font-size:1rem}
.shipment-detail17 .protection-summary15>div{padding:12px}
.cargo-extra17{margin-top:16px;border-top:1px solid #e4ece6;padding-top:12px}
.cargo-extra17>summary,.costs17 summary,.journey-details17>summary{cursor:pointer;font-size:.8rem;color:#21704a}
.cargo-extra17>.facts17{margin-top:14px;grid-template-columns:1fr}
.shipment-schedule17>summary{cursor:pointer;font-size:.88rem;font-weight:600}
.shipment-schedule17[open]>summary{margin-bottom:16px}
.shipment-finance-grid17{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr);gap:16px;align-items:start}
.shipment-finance-grid17>*{min-width:0}
.shipment-finance-grid17 .coverage-state17 .facts17{grid-template-columns:1fr}
.shipment-finance-grid17 .charge17>summary{grid-template-columns:1fr auto 12px;gap:10px}
.shipment-finance-grid17 .charge-rate17{grid-column:1;grid-row:2}
.shipment-finance-grid17 .charge17>summary>strong{grid-column:2;grid-row:1/3}
.shipment-finance-grid17 .charge17>summary>span:last-child{grid-column:3;grid-row:1/3}
.costs17 .panel-head{padding:16px 20px}
.costs17 .panel-head h2{margin:0}
.costs17 h2 small{font-size:.7rem;font-weight:400;color:#6a8273;margin-left:7px}
.costs17 .mini-totals17{margin-top:0;grid-template-columns:repeat(4,minmax(0,1fr))}
.costs17 details>summary{padding:10px 0}
.history17{list-style:none;padding:0;margin:0}
.history17 li{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #e3ece6;align-items:start}
.history17 li:last-child{border-bottom:0}
.history17 b,.history17 time{font-size:.8rem}
.history17 time{color:#6a8273;white-space:nowrap}
.history17 small{display:block;font-size:.74rem;margin-top:5px;color:#6a8273}
.journey-card17{overflow:hidden}
.journey-heading17{padding:18px 20px 0;display:flex;justify-content:space-between;align-items:start;gap:16px}
.journey-heading17 h2{font-size:1.1rem;margin:3px 0 5px}
.journey-heading17 small,.journey-heading17 p{font-size:.75rem;color:#6a8273;margin:0}
.journey17{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none;padding:20px;margin:0;gap:12px}
.journey17 li{display:flex;gap:8px;align-items:start;position:relative;min-width:0}
.journey-step17{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#edf2ef;color:#789080;font-size:.74rem;flex-shrink:0}
.journey17 .done .journey-step17{background:#ddf0e4;color:#087d45}
.journey17 .current .journey-step17{background:#087d45;color:white}
.journey17 strong{font-size:.78rem;font-weight:600;display:block;line-height:1.5}
.journey17 time{font-size:.71rem;color:#698171;display:block;margin-top:3px;line-height:1.4}
.journey17 .current strong{color:#087d45}
.journey-details17{border-top:1px solid #e3ece6;padding:12px 20px}
.journey-details17>summary{list-style:none;display:flex;justify-content:space-between}
.journey-details17>summary:after{content:'⌄'}
.journey-details17[open]>summary{margin-bottom:15px}
.journey-details17 p{font-size:.78rem}
.journey-details17 details{margin-top:15px}
.charges17{border:1px solid #e1e9e4;border-radius:9px;overflow:hidden}
.charge17{border-bottom:1px solid #e1e9e4}
.charge17>summary{display:grid;grid-template-columns:minmax(170px,1.4fr) minmax(170px,1fr) auto 12px;gap:14px;align-items:center;list-style:none;cursor:pointer;padding:14px 16px}
.charge17>summary::-webkit-details-marker{display:none}
.charge-name17 b{display:block;font-size:.83rem}
.charge-name17 small{display:block;font-size:.7rem;color:#6a8273;margin-top:5px;line-height:1.5}
.charge-name17 a{color:#21704a;text-decoration:none}
.charge-rate17{font-size:.77rem;color:#5b7765;line-height:1.5}
.charge17>summary>strong{font-size:.88rem;text-align:right;white-space:nowrap}
.charge17>summary>span:last-child{color:#7b9382}
.charge17[open]>summary{background:#f7faf8}
.charge-body17{padding:4px 16px 16px;font-size:.8rem}
.charge-body17 .facts17{margin:14px 0}
.formula17{padding:10px 12px;background:#eef6f1;border-radius:6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.charge-total17{display:flex;justify-content:space-between;gap:16px;font-size:.9rem;padding:14px 16px;background:#f3f8f5}
.charges17>.help{padding:0 16px}
.invoice-charges17{margin-top:20px}
.filters17{display:flex;gap:18px;align-items:end;flex-wrap:wrap}
.filters17 .search13{flex:1;min-width:220px}
.filters17>label{min-width:180px;font-size:.73rem;display:grid;gap:6px;margin:0}
.invoice-state17{display:flex;gap:5px;flex-wrap:wrap;margin-left:auto}
.invoice-state17 button.active{color:#087d45;background:#e8f4ed;border-color:#a9d2bc}
.readonly17 input{background:#f1f5f2;color:#55715e;cursor:default}
.readonly17 .help{font-size:.72rem}
@media(min-width:1500px){.shipment-columns17{grid-template-columns:minmax(0,1.75fr) minmax(340px,1fr)}}
@media(max-width:1100px){.shipment-columns17{grid-template-columns:minmax(0,1fr) minmax(260px,.85fr)}.charge17>summary{grid-template-columns:minmax(160px,1fr) minmax(130px,.9fr) auto 12px;gap:10px}.journey17{gap:8px;padding:18px 16px}.journey17 li{gap:6px}.journey17 strong{font-size:.73rem}.journey-step17{width:22px;height:22px}}
@media(max-width:820px){.shipment-columns17{grid-template-columns:1fr}.shipment-columns17 aside{grid-row:1}.charge17>summary{grid-template-columns:1fr auto 12px}.charge-rate17{grid-column:1;grid-row:2}.charge17>summary>strong{grid-column:2;grid-row:1/3}.charge17>summary>span:last-child{grid-column:3;grid-row:1/3}.journey17{grid-template-columns:1fr;gap:14px}.journey17 li{gap:12px}.journey17 li:not(:last-child):after{content:'';position:absolute;top:26px;left:11px;bottom:-12px;width:1px;background:#dfe9e2}.journey17 strong{font-size:.82rem}.journey17 time{font-size:.75rem}.journey17 li>div{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%}.journey17 time{margin:0;text-align:right}.journey-step17{width:24px;height:24px}.shipment-detail17 .pagehead h1{font-size:1.32rem}.shipment-detail17 .head-actions .btn,.shipment-detail17 .head-actions button{padding:8px 11px;font-size:.75rem}.shipment-detail17 .head-actions{justify-content:flex-start}.shipment-detail17 .pagehead{flex-wrap:wrap}.costs17 .mini-totals17{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.shipment-detail17 .panel-body{padding:16px}.shipment-tabs17{gap:0}.shipment-tabs17 button{padding:11px 10px;font-size:.75rem}.shipment-list17 .filters17{display:grid;grid-template-columns:1fr;gap:12px}.filters17 .search13{min-width:0}.filters17>label{min-width:0}.facts17{gap:12px 16px}.coverage-state17 .facts17{grid-template-columns:1fr}.charge17>summary{padding:12px;gap:8px}.charge-name17 b{font-size:.78rem}.charge-name17 small{font-size:.66rem}.charge17>summary>strong{font-size:.8rem}.charge-rate17{font-size:.71rem}.charge-body17{padding:0 12px 12px}.charge-body17 .facts17{grid-template-columns:1fr}.coverage-state17{padding:13px}.invoice-state17{margin-left:0}.journey-heading17{padding:16px 16px 0}.journey-heading17 h2{overflow-wrap:anywhere}.record-actions17>div{right:0}.history17{font-size:.75rem}.history17 li{gap:10px}.shipment-detail17 .protection-summary15{grid-template-columns:1fr}}

@media(max-width:820px){.shipment-finance-grid17{grid-template-columns:1fr}}
@media(max-width:520px){.shipment-tabs17{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.shipment-tabs17 button{padding:10px 8px;text-align:left;white-space:normal;min-width:0}.shipment-tabs17 button[aria-selected=true]{background:#edf6f0}.shipment-finance-grid17 .charge17>summary{gap:8px}}

/* V1.5.2 stage 2: connected journeys and customer records. */
.journey-connected17{grid-template-columns:repeat(var(--journey-columns),minmax(0,1fr));gap:0;padding:18px 16px}
.journey-connected17 li{display:block;position:relative;min-width:0}
.journey-connected17 li:not(:last-child):after{content:'';position:absolute;top:14px;left:calc(50% + 18px);right:calc(-50% + 18px);bottom:auto;width:auto;height:2px;background:#dce7df;pointer-events:none}
.journey-connected17 li.connected-done:after{background:#6fb08a}
.journey-stage17>summary{list-style:none;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;cursor:pointer;border-radius:8px;padding:0 5px;position:relative;z-index:1}
.journey-stage17>summary::-webkit-details-marker{display:none}
.journey-stage17>summary:focus-visible{outline:2px solid #087d45;outline-offset:4px}
.journey-connected17 .journey-step17{width:28px;height:28px;border:2px solid white;box-shadow:0 0 0 1px #dce7df;font-size:.75rem}
.journey-connected17 .current .journey-step17{box-shadow:0 0 0 2px #a9d4b9}
.journey-stage-label17{min-width:0;display:block;overflow-wrap:anywhere}
.journey-connected17 strong{font-size:.8rem;line-height:1.4}
.journey-phase17{font-size:.65rem;color:#6a8273;display:block;margin:2px 0}
.journey-connected17 .done .journey-phase17{color:#087d45}
.journey-connected17 .current .journey-phase17{font-weight:700;color:#087d45}
.journey-connected17 time{margin:3px 0 0;font-size:.7rem;text-align:inherit}
.journey-open17{display:block;font-size:.65rem;color:#367650;margin-top:5px}
.journey-stage-body17{padding:12px;margin:10px 5px 0;background:#f5f8f6;border:1px solid #e1e9e4;border-radius:8px;position:relative;z-index:1}
.journey-stage-body17 .facts17{grid-template-columns:1fr;gap:9px}
.journey-stage-body17 dt,.journey-stage-body17 .help,.journey-stage-body17 p,.journey-eta17{font-size:.7rem}
.journey-stage-body17 dd{font-size:.78rem}
.journey-stage-body17 p:last-child{margin-bottom:0}
.journey-stage-body17 .facts17:empty{display:none}
.customer-detail17 .pagehead,.customer-profile17 .pagehead{align-items:center;gap:14px;margin-bottom:12px;flex-wrap:wrap}
.customer-detail17 .pagehead h1,.customer-profile17 .pagehead h1{font-size:1.5rem;overflow-wrap:anywhere}
.customer-detail17 .pagehead p,.customer-profile17 .pagehead p{font-size:.8rem}
.customer-detail17 .head-actions,.customer-profile17 .head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.customer-identity17{padding:16px 18px;background:white;border:1px solid #dfe8e2;border-radius:12px;margin-bottom:14px}
.customer-identity-status17{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:.75rem;margin-bottom:10px;color:#678171}
.customer-masked17{font-size:.7rem;border-radius:5px;padding:3px 6px;background:#f4f0e3;color:#7b672d}
.customer-markings17{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:12px}
.customer-marking17{display:inline-flex;gap:7px;align-items:center;padding:5px 9px;border:1px solid #dfe8e2;border-radius:6px;font-size:.75rem;max-width:100%;overflow-wrap:anywhere}
.customer-marking17 a{color:#176b43;text-decoration:none}
.customer-marking17 .badge{font-size:.62rem;padding:2px 5px;flex-shrink:0}
.customer-markings17>details{font-size:.73rem;max-width:100%}
.customer-markings17>details>div{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.customer-contacts17{grid-template-columns:1fr 1.1fr 1.5fr;gap:12px 20px}
.customer-contacts17 dd{font-size:.8rem}
.customer-tabs17{display:flex;border-bottom:1px solid #d8e5dd;margin-bottom:16px;gap:4px}
.customer-tabs17 button{display:flex;align-items:center;gap:5px;border:0;border-bottom:2px solid transparent;background:transparent;border-radius:0;padding:11px 10px;color:#698273;font-size:.8rem;white-space:nowrap}
.customer-tabs17 button[aria-selected=true]{color:#087d45;border-bottom-color:#087d45;font-weight:700}
.customer-tabs17 button:focus-visible{outline:2px solid #087d45;outline-offset:-2px}
.customer-pane17[hidden]{display:none!important}
.customer-overview17{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.customer-stat17{display:grid;gap:8px;padding:14px 16px;text-align:left;border:1px solid #dfe8e2;border-radius:10px;background:white;color:#264d37;min-width:0}
.customer-stat17:hover{background:#f1f8f3;border-color:#a2c7af}
.customer-stat17>span{font-size:.75rem;color:#678171}
.customer-stat17>strong{font-size:1.5rem}
.customer-stat17>small{font-size:.69rem;color:#367650}
.customer-summary17{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(230px,1fr);gap:14px}
.customer-section17{margin-bottom:14px;min-width:0}
.customer-section17 .panel-head{padding:13px 18px;gap:10px;flex-wrap:wrap}
.customer-section17 h2{font-size:.95rem;margin:0}
.customer-section17 .panel-head .btn,.customer-section17 .panel-head button{font-size:.75rem}
.customer-info17,.customer-balance17,.customer-profile-info17{padding:16px 18px}
.customer-balance17>strong{font-size:1.4rem;color:#264d37}
.customer-empty17{margin:0;padding:18px;font-size:.8rem}
.customer-finance-total17{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:14px;font-size:.8rem}
.customer-finance-total17 strong{color:#087d45;font-size:1.1rem}
.customer-table17 th{font-size:.7rem;white-space:nowrap}
.customer-table17 td{font-size:.78rem;overflow-wrap:anywhere}
.customer-table17 td a{color:#176b43;text-decoration:none}
.customer-table17 td a:hover{text-decoration:underline}
.customer-table17 td small{font-size:.7rem;color:#698273;margin-top:3px}
.customer-profile-info17>h2{font-size:1.1rem;margin-bottom:8px}
.customer-profile-info17 .customer-contacts17{margin-top:14px}
#profile-markings17:focus-visible{outline:2px solid #087d45;outline-offset:3px}
@media(max-width:1100px){.customer-tabs17{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.customer-tabs17 button{font-size:.75rem;padding:10px 8px;white-space:normal}.customer-contacts17{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-contacts17>div:last-child{grid-column:1/-1}}
@media(max-width:820px){.journey-connected17{grid-template-columns:1fr;gap:14px;padding:18px}.journey-stage17>summary{flex-direction:row;align-items:flex-start;text-align:left;gap:12px;padding:0}.journey-connected17 .journey-step17{width:28px;height:28px}.journey-connected17 .journey-stage-label17{flex:1}.journey-connected17 li:not(:last-child):after{top:32px;left:14px;right:auto;bottom:-10px;width:2px;height:auto}.journey-connected17 strong{font-size:.82rem}.journey-connected17 time{text-align:left;margin-top:3px}.journey-open17{display:inline-block;margin-top:4px}.journey-stage-body17{margin:10px 0 0 40px}.journey-stage-body17 .facts17{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-tabs17{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.customer-tabs17 button{white-space:normal;justify-content:flex-start}.customer-tabs17 button[aria-selected=true]{background:#edf6f0}.customer-summary17{grid-template-columns:1fr}.customer-overview17{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-detail17 .head-actions .btn,.customer-detail17 .head-actions button{font-size:.75rem;padding:8px 11px}}
@media(max-width:520px){.journey-stage-body17 .facts17{grid-template-columns:1fr}.customer-identity17{padding:14px}.customer-contacts17{grid-template-columns:1fr;gap:10px}.customer-detail17 .pagehead h1,.customer-profile17 .pagehead h1{font-size:1.25rem}.customer-stat17{padding:12px}.customer-section17 .panel-head{padding:12px 14px}.customer-info17,.customer-balance17,.customer-profile-info17{padding:14px}.customer-tabs17 button{font-size:.71rem;padding:10px 7px;gap:3px}.customer-tabs17 .attachment-count13{font-size:.6rem;padding:2px 5px}.customer-table17 td{font-size:.76rem}}
@media(max-width:820px){
 .journey-connected17{gap:10px;padding:16px 18px}
 .journey-connected17 .journey-stage-label17 strong{display:inline}
 .journey-connected17 .journey-phase17{display:inline-block;margin:0 0 0 8px}
 .customer-table17 table,.customer-table17 tbody{display:block;width:100%}
 .customer-table17 tbody{padding:0}
 .customer-table17 thead{display:none}
 .customer-table17 tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;padding:12px 14px;margin:0;border-bottom:1px solid #e3ece6;border-radius:0}
 .customer-table17 tbody tr:last-child{border-bottom:0}
 .customer-table17 td{display:block;min-width:0;min-height:0;padding:0!important;border:0}
 .customer-table17 td:before{content:attr(data-label);display:block;float:none;min-width:0;max-width:none;font-size:.66rem;font-weight:400;color:#678171;margin:0 0 4px}
 .customer-table17 td:first-child{grid-column:1/-1}
 .customer-table17 td:first-child:before{display:none}
 .customer-profile17 .customer-table17 td:first-child{grid-column:auto}
 .customer-table17 .pdf-download15{padding:4px 7px;margin-left:5px;min-height:0;font-size:.69rem}
}
.finance-detail17{max-width:1160px;margin:0 auto;color:#17372d}
.finance-detail17 .panel{margin:16px 0;overflow:hidden}
.finance-back17{display:inline-block;font-size:.8rem;margin-bottom:18px}
.finance-heading17{display:flex;align-items:center;justify-content:space-between;gap:16px}
.finance-heading17 h1{font-size:1.6rem;line-height:1.25;margin:5px 0;overflow-wrap:anywhere}
.finance-heading17 small{font-size:.68rem;letter-spacing:.1em;color:#60796e}
.finance-heading17 p{font-size:.8rem;color:#60796e;margin:6px 0}
.finance-actions17{margin-top:14px;display:flex;flex-wrap:wrap;gap:8px}
.finance-status17{display:flex;gap:20px;flex-wrap:wrap;font-size:.8rem;margin:16px 0}
.finance-totals17{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:20px 22px;border-bottom:1px solid #e5ece7;gap:16px}
.finance-totals17 div+div{border-left:1px solid #e5ece7;padding-left:22px}
.finance-totals17 dt{font-size:.75rem;color:#60796e;margin-bottom:7px}
.finance-totals17 dd{font-size:1.35rem;font-weight:700;margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.coverage-evidence17{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:20px 22px}
.coverage-evidence17 div{display:flex;flex-direction:column;gap:5px;font-size:.8rem}
.coverage-evidence17 small{color:#60796e;font-size:.72rem}
.coverage-evidence17 span{color:#60796e;font-size:.75rem}
.coverage-response17{padding:14px 18px;background:#eaf5ee;border:1px solid #d6e8dc;border-radius:10px;display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:.82rem}
.coverage-response17>div{display:flex;gap:8px}
.invoice-source17{padding:13px 22px;border-bottom:1px solid #e5ece7;font-size:.8rem;overflow-wrap:anywhere}
.invoice-source17 small{color:#60796e;margin-right:8px}
.finance-table17 table{width:100%;table-layout:fixed}
.finance-table17 th:first-child{width:40%}.finance-table17 th:nth-child(2){width:12%}.finance-table17 th:nth-child(3){width:24%}.finance-table17 th:nth-child(4){width:24%}
.finance-detail17 td,.finance-detail17 th{padding:13px 18px;font-size:.8rem;vertical-align:top;overflow-wrap:anywhere}
.finance-table17 td:last-child,.finance-table17 th:last-child{text-align:right}
.invoice-formula17{font-size:.72rem;color:#60796e;margin-top:6px}
.invoice-formula17 summary{cursor:pointer;width:fit-content}
.invoice-formula17>div{padding:8px 0;font-size:.74rem;color:#17372d}
.invoice-formula17 p{margin:5px 0;overflow-wrap:anywhere}.invoice-formula17 small{display:block;margin:5px 0}
.invoice-formula17 dl{margin:9px 0}.invoice-formula17 dl div{display:flex;justify-content:space-between;gap:10px;padding:4px 0;border-bottom:1px solid #e8efe9}.invoice-formula17 dd{margin:0;text-align:right}
.payment-history17 .panel-head{padding:15px 22px}.payment-history17 h2{font-size:.9rem}.payment-empty17{margin:0;padding:0 22px 18px}
.finance-docs17 summary{padding:14px 20px;cursor:pointer;font-size:.82rem;font-weight:600}.finance-docs17 summary span{color:#60796e;margin-left:5px}
.finance-docs17 ul{list-style:none;padding:0 20px;margin:0}.finance-docs17 li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #e5ece7;font-size:.8rem;overflow-wrap:anywhere}
.jtt-costs17 .panel-head{padding:16px 20px}.jtt-costs17 h2{font-size:1rem}
.jtt-summary17{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:17px 20px;border-bottom:1px solid #e5ece7;gap:16px}
.jtt-summary17 div{display:flex;flex-direction:column;gap:5px}.jtt-summary17 small{color:#60796e;font-size:.73rem}.jtt-summary17 strong{font-size:1.1rem;font-variant-numeric:tabular-nums}
.jtt-cost-table17 th,.jtt-cost-table17 td{padding:12px 20px;font-size:.8rem;vertical-align:top}.jtt-cost-table17 td:last-child,.jtt-cost-table17 th:last-child{text-align:right;white-space:nowrap}
.jtt-cost-table17 small{font-size:.69rem;color:#60796e;margin-top:5px}.jtt-cost-table17 tfoot td{font-weight:700;background:#f4f8f5}
.jtt-calculation17{padding:14px 20px;border-top:1px solid #e5ece7;font-size:.8rem}.jtt-calculation17 summary{cursor:pointer}.jtt-calculation17 dl{margin-top:15px}
.jtt-missing17{margin:0;padding:12px 20px;background:#fff6e3;color:#735c25;font-size:.8rem}
.cost-drawer17{width:min(1100px,96vw)}.cost-drawer17 .drawer-body{padding:18px 24px}
.jtt-editor17{width:100%;min-width:0}.cost-editor-top17,.cost-editor-footer17{display:flex;justify-content:space-between;align-items:center;gap:12px}
.jtt-editor17 table{width:100%;min-width:730px;table-layout:fixed}.jtt-editor17 th,.jtt-editor17 td{padding:10px 7px;font-size:.8rem;vertical-align:top}
.jtt-editor17 th:first-child{width:29%}.jtt-editor17 th:nth-child(2){width:15%}.jtt-editor17 th:nth-child(3){width:12%}.jtt-editor17 th:nth-child(4){width:16%}.jtt-editor17 th:nth-child(5){width:23%}.jtt-editor17 th:last-child{width:5%}
.jtt-editor17 input,.jtt-editor17 select{width:100%;min-width:0;padding:8px;font-size:.82rem}.jtt-editor17 input[readonly]{background:#f2f6f3}
.jtt-editor17 small.block{font-size:.7rem;color:#60796e;margin-top:6px}.jtt-editor17 output{display:block;padding:9px 0;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.jtt-editor17 tfoot td{background:#f4f8f5;font-weight:600}.cost-remove17{padding:8px 3px;color:#a53d32}.cost-row-error17{display:block;color:#a53d32;font-size:.72rem;margin-top:5px}
.cost-preview17{display:flex;flex-wrap:wrap;gap:10px 28px;padding:14px 2px;font-size:.8rem}.cost-preview17 small{width:100%;color:#735c25}
.cost-notes17{display:block;font-size:.8rem}.cost-notes17 textarea{width:100%;margin-top:6px}
.cost-editor-footer17{padding-top:16px;border-top:1px solid #e5ece7;margin-top:16px}.cost-editor-footer17>div{display:flex;gap:8px}.cost-editor-footer17 p{font-size:.75rem;color:#60796e;margin:0}
@media(max-width:700px){.finance-heading17{align-items:flex-start;flex-direction:column;gap:10px}.finance-heading17 h1{font-size:1.35rem}.finance-heading17 .head-actions{justify-content:flex-start}.finance-status17{gap:8px 14px}.finance-totals17{padding:17px 14px;gap:9px}.finance-totals17 div+div{padding-left:10px}.finance-totals17 dd{font-size:1rem}.finance-totals17 dt{font-size:.68rem}.coverage-evidence17{grid-template-columns:1fr;padding:17px 14px;gap:16px}.coverage-evidence17 div+div{border-top:1px solid #e5ece7;padding-top:14px}.coverage-response17{flex-direction:column;align-items:flex-start}.finance-detail17 td,.finance-detail17 th{padding:10px 8px;font-size:.72rem}.finance-table17 th:first-child{width:32%}.finance-table17 th:nth-child(2){width:12%}.finance-table17 th:nth-child(3){width:27%}.finance-table17 th:nth-child(4){width:29%}.invoice-formula17{font-size:.67rem}.invoice-source17{padding:12px 14px}.finance-docs17 li{align-items:flex-start}.jtt-summary17{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.jtt-cost-table17 table{min-width:570px}.cost-drawer17 .drawer-body{padding:16px 12px}.cost-editor-top17{align-items:flex-start;flex-direction:column}.cost-editor-footer17{align-items:flex-start;flex-direction:column}.cost-editor-footer17>div{width:100%;justify-content:flex-end}}
.finance-number17{white-space:nowrap}.finance-table17 th:nth-child(2){white-space:nowrap;letter-spacing:0;text-transform:none}
@media(max-width:700px){.invoice-detail17 .finance-currency17{display:block;font-size:.68rem;color:#60796e;font-weight:400}.invoice-detail17 .finance-number17{font-size:.82rem}.coverage-detail17 .finance-totals17,.finance-totals17.finance-totals-wide17{grid-template-columns:1fr;gap:9px}.coverage-detail17 .finance-totals17>div,.finance-totals-wide17>div{display:flex;justify-content:space-between;align-items:center;gap:12px;border:0;padding:0}.coverage-detail17 .finance-totals17 dt,.finance-totals-wide17 dt{margin:0;font-size:.75rem}.coverage-detail17 .finance-totals17 dd{font-size:1rem}.finance-totals-wide17 .finance-currency17{display:inline}.finance-totals-wide17 .finance-number17{font-size:1rem}.payment-history17 table{width:100%;table-layout:fixed}.payment-history17 th{letter-spacing:0;text-transform:none;white-space:nowrap;padding:10px 7px}.payment-history17 .btn{font-size:.68rem;padding:7px 8px}.payment-history17 .badge{font-size:.65rem}.finance-table17 th:first-child{width:30%}.finance-table17 th:nth-child(2){width:15%}.finance-table17 th:nth-child(3){width:27%}.finance-table17 th:nth-child(4){width:28%}}
