/* MS Shipments v2.9.6 — local/scoped improvements; no global typography resets. */
.page-dashboard .ops-kpis b,.page-dashboard .dashboard-kpis b,.page-dashboard .dashboard-kpis strong{font-size:clamp(23px,2.15vw,37px);line-height:1.22;font-variant-numeric:tabular-nums}
.page-list .shipments-list-shell .kpis b,.page-list .shipments-list-shell .list-summary b{font-size:clamp(21px,2vw,32px);line-height:1.2}
.page-list .shipments-list-shell .grid thead th{font-size:14px;font-weight:800}
.page-list .shipments-list-shell .grid tbody td{font-size:14px;line-height:1.6}
.page-form .formgrid>label,.page-form .card>h3{font-size:15px}
.page-form .formgrid input,.page-form .formgrid select,.page-form .formgrid textarea{font-size:16px;min-height:38px}
.page-form #itemtable thead th,.page-form #exptable thead th{font-size:14px;line-height:1.45}
.page-form #itemtable tbody :is(input:not([type=checkbox]),select),.page-form #exptable tbody :is(input:not([type=checkbox]),select){font-size:15px;min-height:35px;line-height:1.4}
.page-form #itemtable tbody :is(input:not([type=checkbox]),select),.page-form #exptable tbody :is(input:not([type=checkbox]),select){text-align:center}
.page-form #itemtable tbody input[name$="[name]"],.page-form #exptable tbody input[name$="[label]"]{text-align:right}
.page-form .tablewrap{overflow-x:auto}
.page-form #itemtable,.page-form #exptable{min-width:1100px}
.page-form .v296-freight-legacy{background:#2b2d24;border:1px solid #8a7041;border-radius:7px;padding:10px;grid-column:span 2;color:#f3d998}
.page-form .v296-freight-legacy>label{display:flex;gap:8px;align-items:center;margin-top:8px}
.page-form #freight_total_sar{background:#163e4b;color:#84f0dd;font-weight:800;direction:ltr;text-align:center}
.page-reports .v290-kpis{grid-template-columns:repeat(7,minmax(0,1fr))}
.page-reports .v296-alloc strong{color:#e1bfff}
/* Header: avoid enlarging secondary menus or breaking narrow screens. */
header.top .primary-nav>a,header.top .primary-nav>.nav-more>summary{font-size:14.5px;line-height:1.35;gap:7px}
header.top .primary-nav .nav-svg{width:19px;height:19px}
@media(max-width:1200px){.page-reports .v290-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:800px){.page-reports .v290-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.page-form .tablewrap{overflow-x:auto}
.page-form #itemtable,.page-form #exptable{min-width:1100px}
.page-form .v296-freight-legacy{grid-column:1/-1}}

/* #1, #3 actual dashboard KPI structure and #4 actual shipment list structure. */
.page-dashboard .ops-kpis :is(.kpi-value,strong,b){font-size:clamp(24px,2vw,35px);line-height:1.22; font-variant-numeric:tabular-nums}
.page-list .shipments-list-shell>.kpis b{font-size:clamp(24px,2vw,34px);line-height:1.2}
.page-list .shipments-list-wrap .shipments-list-table :is(th,th.sortable a){font-size:16px!important;line-height:1.5}
.page-list .shipments-list-wrap .shipments-list-table td{font-size:16px!important;line-height:1.58}
.page-form .v296-freight-copy-notice{background:#26313c;border:1px solid #6994a3;border-radius:6px;padding:9px;grid-column:span 2}
@media(max-width:800px){.page-form .v296-freight-copy-notice{grid-column:1/-1}}

/* Override Balance2 *only* where the user explicitly requested larger values. */
.page-dashboard .ops-kpis.v260b-kpis > :is(div,a) > b{font-size:clamp(27px,2.3vw,38px)!important;line-height:1.18!important}
.page-list .shipments-list-shell > .kpis b{font-size:clamp(26px,2.1vw,35px)!important;line-height:1.2!important}
.top .primary-nav>a,.top .primary-nav>.nav-more>summary{font-size:14.5px!important}
.page-form .formgrid>label{font-size:15px!important}
.page-form .formgrid :is(input,select,textarea){font-size:16px!important}
/* Do not center the actual descriptive text in row name/expense label inputs. */
.page-form #itemtable tbody input[name$="[name]"],.page-form #exptable tbody input[name$="[label]"]{text-align:right!important}
.page-form #itemtable tbody :is(input:not([type=checkbox]),select),.page-form #exptable tbody :is(input:not([type=checkbox]),select){font-size:15px!important}
@media(max-width:800px){.page-dashboard .ops-kpis.v260b-kpis > :is(div,a) > b{font-size:25px!important}.page-list .shipments-list-shell > .kpis b{font-size:26px!important}}
