@font-face{font-family:Montserrat;src:url('/assets/montserrat-variable.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
:root{font-family:Montserrat,'Segoe UI',Arial,sans-serif;color:#142936;background:#f5f8fa;font-size:14px;line-height:1.6;--blue:#0e679c;--deep:#0f5574;--teal:#00cec9;--purple:#6461e2;--muted:#607583;--line:#e1e9ef;--soft:#f0f5f8;--green:#1e654d}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}a{color:var(--blue)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1px;line-height:1.25;font-weight:720}h2{font-size:18px;letter-spacing:-.35px;line-height:1.5;font-weight:700}h3{font-size:14px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--purple);outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-60px;left:20px;z-index:100;padding:12px 20px;background:#fff;border:2px solid var(--purple);border-radius:6px}.skip-link:focus{top:12px}.eyebrow{font-size:11px;font-weight:650;letter-spacing:1.3px;color:var(--muted)}.button{display:inline-flex;gap:10px;align-items:center;justify-content:center;padding:11px 18px;min-height:44px;border-radius:24px;border:1px solid #cfdee7;background:#fff;color:var(--deep);font-weight:650;font-size:13px;line-height:1.5;text-decoration:none;white-space:nowrap;transition:background .15s}.button:hover{background:#eef5f9}.button.primary{background:var(--blue);color:#fff;border-color:var(--blue)}.button.primary:hover{background:#095782}.button.small{min-height:38px;padding:7px 13px;font-size:12px}.text-button{border:0;background:none;color:var(--blue);font-weight:650;padding:8px;min-height:44px}.text-button:hover{text-decoration:underline}.pill{display:inline-block;font-size:10px;letter-spacing:1px;font-weight:650;color:var(--deep);background:#edf5f9;border:1px solid #d7e6ef;border-radius:20px;padding:5px 11px}.accent-rule{height:3px;width:42px;background:var(--teal)}
.welcome{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.welcome-brand{background:linear-gradient(145deg,#0f5574ed,#0f5574 75%),url('/assets/utires-background.svg');background-size:cover;color:#fff;min-height:100vh;padding:52px 11%;display:flex;flex-direction:column}.welcome-logo{width:268px;max-width:100%;height:auto}.welcome-intro{margin:auto 0;padding:70px 0}.welcome-intro .eyebrow{color:#bce9ed}.welcome-intro h1{font-size:clamp(32px,3.3vw,52px);letter-spacing:-1.4px;line-height:1.22;margin:22px 0}.welcome-intro p{font-size:16px;color:#d2e6ef;line-height:1.9}.welcome-intro .accent-rule{margin-top:36px}.welcome-foot{font-size:11px;color:#c5dfe9}.welcome-content{display:flex;align-items:center;justify-content:center;padding:48px 10%}.welcome-card{max-width:395px;width:100%}.welcome-card h2{font-size:30px;margin:23px 0 12px;letter-spacing:-.8px}.welcome-card>p{color:var(--muted);font-size:14px}.welcome-card .button{margin-top:28px;width:100%;min-height:48px}.welcome-card .welcome-help{margin-top:35px;padding-top:24px;border-top:1px solid var(--line);font-size:12px;line-height:1.8}.noscript{position:fixed;bottom:0;background:#fff0d9;padding:20px;width:100%;text-align:center}
.sidebar{position:fixed;inset:0 auto 0 0;width:246px;overflow-y:auto;background:linear-gradient(180deg,#0f5574ed,#0f5574 80%),url('/assets/utires-background.svg');background-size:cover;color:#fff;padding:30px 20px 22px;display:flex;flex-direction:column}.brand{display:block;text-decoration:none;padding:0 2px}.brand img{max-width:100%;height:auto;display:block}.brand>span{display:block;color:#cfe5ef;font-size:10px;letter-spacing:1.9px;margin:15px 0 0 3px}.workspace{margin:28px 0 0;border-top:1px solid #ffffff24;border-bottom:1px solid #ffffff24;padding:20px 5px;display:flex;gap:11px;align-items:center}.workspace strong{display:block;font-size:13px;font-weight:600}.workspace small{display:block;color:#c8e0eb;font-size:11px;margin-top:3px}.workspace-dot{width:8px;height:8px;border-radius:50%;background:var(--teal);flex:none}.nav-heading{font-size:10px;font-weight:600;letter-spacing:1.3px;color:#c8e0eb;margin:26px 10px 12px}.report-link{width:100%;position:relative;text-align:left;border:1px solid transparent;background:none;padding:13px 12px;color:#e2edf3;display:block;border-radius:9px;margin-bottom:7px}.report-link strong{font-size:13px;font-weight:600;display:block}.report-link small{font-size:10px;color:#cde2ed;display:block;margin-top:5px;line-height:1.8}.report-link:hover{background:#ffffff0c}.report-link.active{background:#ffffff13;border-color:#ffffff1b;color:#fff}.report-link.active:before{content:'';position:absolute;left:-1px;top:14px;bottom:14px;width:3px;background:var(--teal);border-radius:3px}.sidebar button:focus-visible,.sidebar a:focus-visible{outline-color:var(--teal)}.sidebar-foot{margin-top:auto;padding:50px 10px 0}.sidebar-foot p{font-size:13px;line-height:1.9;color:#e0edf3;margin:18px 0}.sidebar-foot>span{font-size:10px;color:#bfdbe7}.app-shell{margin-left:246px}.topbar{height:69px;padding:0 34px;display:flex;justify-content:space-between;align-items:center;background:#fff;border-bottom:1px solid var(--line);gap:14px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{margin:0 11px;color:#96a6b0}.breadcrumb strong{font-weight:500;color:#263f50}.account{display:flex;gap:14px;align-items:center;font-size:12px}.account>span{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}main#main{padding:26px 34px 20px;max-width:1650px;margin:auto}.notice{border:1px solid #d8e7ef;border-radius:10px;padding:13px 17px;display:flex;align-items:flex-start;gap:12px;font-size:12px;margin-bottom:22px;line-height:1.75}.notice.sample{background:#edf6fa;color:#235c77}.notice p{margin-top:1px}.notice strong{font-weight:650}.notice-mark{border:1px solid #76a3b6;border-radius:50%;font-size:11px;width:18px;height:18px;line-height:17px;text-align:center;margin-top:2px;flex:none}.notice.error{color:#8e2b33;background:#fff0f2;border-color:#f1cdd1}.report-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:22px;border-top:3px solid var(--teal);border-image:linear-gradient(90deg,var(--teal),var(--blue),var(--purple)) 1}.report-heading h1{margin:7px 0 9px}.heading-sub{font-size:13px;color:var(--muted)}.report-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:16px;font-size:11px;color:var(--muted)}.status{display:inline-block;border-radius:5px;padding:3px 8px;line-height:1.6;font-size:11px;font-weight:550;color:#5a6671;background:#edf1f5;border:1px solid #dce4eb}.status.draft{color:#80501d;background:#fff4e7;border-color:#ecd8bd}.status.published{color:#1d654a;background:#eaf6ef;border-color:#c5e5d3}.tabs{display:flex;gap:25px;margin:23px 0 24px;border-bottom:1px solid var(--line)}.tab{background:none;border:0;border-bottom:3px solid transparent;padding:0 0 13px;color:var(--muted);font-size:13px;font-weight:550;min-height:44px}.tab.active{color:var(--deep);border-bottom-color:#e84343;font-weight:700}.tab-count{display:inline-block;font-size:10px;background:#e9f0f5;border-radius:4px;padding:1px 6px;margin-left:6px}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.kpi{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;box-shadow:0 5px 20px #173b5104;min-height:139px}.kpi-label{font-size:12px;color:var(--muted);font-weight:500}.kpi-value{font-size:27px;letter-spacing:-.8px;font-weight:700;margin-top:10px;line-height:1.2;font-variant-numeric:tabular-nums}.kpi-note{font-size:10px;color:var(--muted);margin-top:10px}.kpi.highlight{background:var(--deep);color:#fff;border-color:var(--deep);position:relative}.kpi.highlight:before{content:'';position:absolute;top:0;left:20px;background:var(--teal);width:38px;height:3px;border-radius:0 0 3px 3px}.kpi.highlight .kpi-label,.kpi.highlight .kpi-note{color:#d9eaf2}.overview-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 5px 20px #173b5104;min-width:0;overflow:hidden}.panel-heading{padding:21px 23px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-heading p{font-size:11px;color:var(--muted);margin-top:4px}.currency-label{font-size:10px;letter-spacing:.8px;color:var(--muted)}.cost-breakdown{margin:0;padding:6px 23px 14px}.cost-row{display:flex;justify-content:space-between;gap:24px;padding:11px 0;border-bottom:1px solid #edf1f5;font-size:12px}.cost-row dt{color:#516776}.cost-row dd{margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}.cost-row.total{border-bottom:0;border-top:2px solid #d7e6ef;font-weight:700;font-size:14px;margin-top:8px;padding-top:17px}.cost-row.total dt,.cost-row.total dd{color:var(--deep)}.container-list{padding:4px 23px 15px;max-height:545px;overflow:auto}.container-item{border-bottom:1px solid #edf1f5;padding:17px 0;font-size:12px}.container-item:last-child{border-bottom:0}.container-item strong{font-size:12px;display:block;font-weight:600;overflow-wrap:anywhere}.container-item small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.container-item button{margin-top:10px;padding:0;border:0;min-height:28px;background:none;color:var(--blue);font-size:11px;font-weight:650}.report-note{padding:18px 2px;color:var(--muted);font-size:12px;line-height:1.8}.filters{display:flex;align-items:flex-end;gap:14px;padding:20px 23px 16px}.filters>div{flex:1;min-width:170px}.filters .search-field{flex:1.3}.filters label,.page-actions label{font-size:11px;color:#4e6574;font-weight:600;display:block;margin-bottom:6px}input,select{border:1px solid #ccdce6;border-radius:8px;min-height:42px;padding:10px 12px;background:#fff;color:#274352;width:100%;font-size:12px}input::placeholder{color:#748896;opacity:1}select{padding-right:26px}.filters .button{min-height:42px;padding:9px 18px}.filter-summary{padding:0 23px 16px;color:var(--muted);font-size:11px}.filter-summary strong{font-weight:650;color:#315469}.table-scroll{overflow:auto;max-height:650px;border-top:1px solid var(--line)}table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px;white-space:nowrap}th{position:sticky;top:0;background:#eaf4ef;color:#305b49;font-size:11px;font-weight:650;padding:13px 15px;text-align:left;border-bottom:1px solid #d6e7dc;z-index:1}td{padding:15px;border-bottom:1px solid #e9eff3;vertical-align:top}.numeric{text-align:right;font-variant-numeric:tabular-nums}tbody tr:hover{background:#f5f9fc}.row-link{background:none;border:0;padding:0;text-align:left;color:var(--blue);font-size:12px;font-weight:650;line-height:1.6;max-width:240px;white-space:normal}.row-link:hover{text-decoration:underline}.subline{display:block;color:var(--muted);font-size:10px;line-height:1.6;margin-top:4px;max-width:250px;white-space:normal}.po-cell{max-width:215px;white-space:normal;overflow-wrap:anywhere;font-size:10px}.movement{font-size:10px;padding:3px 7px;border-radius:5px;background:#eef3f7;display:inline-block}.table-empty{text-align:center;color:var(--muted);padding:46px 20px;font-size:13px}.pagination{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:17px 23px;font-size:11px;color:var(--muted)}.page-actions{display:flex;align-items:center;gap:9px}.page-actions label{margin:0}.page-actions select{width:70px;min-height:38px;padding:7px 9px;font-size:11px}.page-foot{display:flex;justify-content:space-between;gap:12px;margin:29px 0 4px;color:#758a98;font-size:10px}.empty-state{padding:70px 20px;text-align:center}.empty-state h1{font-size:25px}.empty-state p{color:var(--muted);margin:16px 0 24px}.quant-dialog{border:0;border-radius:15px;padding:0;width:min(680px,calc(100vw - 28px));max-height:calc(100vh - 48px);color:#142936;box-shadow:0 30px 100px #102c4050}.quant-dialog::backdrop{background:#102c4077;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;padding:23px 26px;border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;gap:20px;z-index:2}.dialog-heading h2{margin-top:6px;font-size:21px}.icon-button{width:36px;height:36px;border:1px solid #d7e3eb;border-radius:50%;font-size:25px;line-height:1;background:#f6f9fb;color:var(--deep);flex:none}.detail-content{padding:22px 26px 28px}.detail-content h3{margin:22px 0 10px;color:var(--deep);font-size:13px}.detail-content h3:first-child{margin-top:0}.detail-fields{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.detail-field{padding:10px 0;border-bottom:1px solid #e9eff3;min-width:0}.detail-field dt{font-size:10px;color:var(--muted);margin-bottom:4px}.detail-field dd{font-size:12px;margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.detail-message{color:var(--muted);font-size:13px;padding:25px 0}.loading{opacity:.55;pointer-events:none}
@media(min-width:1550px){main#main{padding-top:34px}.kpi-value{font-size:31px}.kpi{padding:23px}}
@media(max-width:1180px){.sidebar{width:218px;padding-left:16px;padding-right:16px}.app-shell{margin-left:218px}.topbar{padding:0 24px}main#main{padding:24px}.kpis{gap:12px}.kpi{padding:17px}.kpi-value{font-size:23px}.overview-grid{gap:16px}.filters{flex-wrap:wrap}.filters>div{min-width:200px}.report-heading h1{font-size:28px}}
@media(max-width:900px){.sidebar{position:relative;width:100%;padding:20px 24px}.brand{width:196px}.brand>span{font-size:9px;margin-top:10px}.workspace,.nav-heading,.sidebar-foot{display:none}#report-nav{display:flex;gap:10px;overflow:auto;margin-top:20px}.report-link{flex:none;width:240px;margin-bottom:0;padding:9px 12px}.app-shell{margin-left:0}.topbar{height:58px}.overview-grid{grid-template-columns:1fr}.container-list{max-height:320px}.welcome-brand{padding:36px 9%}.welcome-content{padding:36px 8%}.welcome-logo{width:220px}.welcome-intro h1{font-size:34px}.welcome-intro p{font-size:13px}.welcome-card h2{font-size:27px}}
@media(max-width:600px){h1{font-size:25px}.welcome{display:block}.welcome-brand{min-height:0;padding:28px}.welcome-logo{width:215px}.welcome-intro{padding:36px 0 12px}.welcome-intro h1{font-size:33px;margin:14px 0}.welcome-intro p{font-size:13px}.welcome-intro .accent-rule,.welcome-foot{display:none}.welcome-content{padding:36px 28px 50px;align-items:start}.welcome-card{max-width:none}.welcome-card .welcome-help{margin-top:24px}.sidebar{padding:20px}.report-link{width:225px}.topbar{padding:0 20px}.breadcrumb{font-size:10px}.breadcrumb span{margin:0 6px}.account{font-size:10px;gap:2px}.account>span{max-width:92px}.text-button{font-size:11px;padding:7px}main#main{padding:20px 16px}.notice{font-size:11px;padding:12px}.report-heading{align-items:flex-start;flex-direction:column;gap:17px;padding-top:18px}.report-heading h1{font-size:26px}.report-heading .button{width:100%}.kpis{grid-template-columns:1fr 1fr;gap:10px}.kpi{padding:16px 14px;min-height:127px}.kpi-label{font-size:10px}.kpi-value{font-size:23px}.kpi-note{font-size:9px}.tabs{gap:22px;margin-top:20px}.tab{font-size:12px}.panel-heading{padding:18px}.panel-heading h2{font-size:16px}.panel-heading p{font-size:10px}.cost-breakdown{padding-left:18px;padding-right:18px}.container-list{padding-left:18px;padding-right:18px}.filters{padding:17px 18px 12px;gap:12px}.filters>div{min-width:100%;flex:auto}.filters .button{margin-left:auto;font-size:11px;min-height:34px;padding:5px 13px}.filter-summary{padding-left:18px;padding-right:18px}.pagination{flex-direction:column;align-items:flex-start;padding:15px 18px;gap:12px}.page-actions{width:100%;gap:7px}.page-actions .button{font-size:10px;padding:6px 9px}.page-actions label{font-size:10px}.page-actions select{width:59px}.page-actions #prev-page{margin-left:auto}.page-foot{font-size:9px;flex-wrap:wrap}.detail-fields{grid-template-columns:1fr}.dialog-heading{padding:20px}.detail-content{padding:18px 20px}.dialog-heading h2{font-size:18px}.quant-dialog{max-height:calc(100dvh - 24px)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.report-period-picker{padding:18px 22px;margin-bottom:24px}.period-field{min-width:0;max-width:760px}.period-field label{display:block;font-size:12px;font-weight:650;color:var(--deep);margin-bottom:8px}.period-field select{min-height:44px;padding:10px 12px;font-size:13px}.period-field select:disabled{background:#e6eef2;color:#536b78;opacity:1}#period-help{font-size:11px;color:var(--muted);margin-top:8px;min-height:18px;line-height:1.7}.empty-state h2{font-size:25px;line-height:1.3}.panel-heading #load-count{white-space:nowrap}.report-link[aria-pressed=true]{background:#ffffff13;border-color:#ffffff1b;color:#fff}
@media(max-width:900px){.sidebar .nav-heading{display:block;margin:20px 0 10px}#report-nav{margin-top:0;overflow:visible}#report-nav .report-link{flex:1;min-width:0;width:auto}}
@media(max-width:600px){.empty-state{padding:42px 10px}.empty-state h2{font-size:22px}.panel-heading #load-count{font-size:9px}}

.notice.review{background:#fff8ed;border-color:#e7d7b7;color:#755324}.pullout-panel{margin-top:22px}.review-text{color:#80501d}
.fees-intro{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}.fees-intro h2{font-size:22px}.fees-intro .heading-sub{margin-top:5px}.fees-message{color:var(--muted);font-size:13px}.fees-message:not(:empty){padding:24px 0}.labor-panel{margin-bottom:26px}.labor-schedule{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:22px}.labor-rate{padding:19px 21px;background:#f2f8fa;border:1px solid #d8e8ef;border-radius:10px}.labor-rate:last-child{border-top:3px solid var(--teal)}.labor-rate h3{font-size:25px;color:var(--deep);margin:12px 0 6px;letter-spacing:-.5px}.labor-effective{font-size:13px;font-weight:550}.fee-note{color:var(--muted);font-size:11px;line-height:1.8;margin-top:9px}.fees-section-heading{margin-bottom:16px}.fees-section-heading p{font-size:12px;color:var(--muted);margin-top:5px}.fee-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.fee-card{padding:22px;min-width:0}.fee-card h3{font-size:14px;color:var(--deep)}.fee-rate{font-size:21px;font-weight:650;line-height:1.5;letter-spacing:-.35px;margin:7px 0 17px;overflow-wrap:anywhere}.fee-meta{margin:0 0 14px}.fee-meta>div{display:grid;grid-template-columns:115px 1fr;gap:12px;margin:7px 0}.fee-meta dt{font-size:10px;color:var(--muted)}.fee-meta dd{font-size:11px;margin:0;overflow-wrap:anywhere}.fee-calculation{font-size:12px;line-height:1.8;border-top:1px solid var(--line);padding-top:12px}.fee-card>.status{margin-top:12px}#fees-notes p+p{margin-top:9px}
@media(max-width:600px){.tabs{gap:15px}.tab{font-size:11px}.tab-count{margin-left:3px}.fees-intro{align-items:flex-start}.fees-intro h2{font-size:20px}.fees-intro .pill{font-size:8px;white-space:nowrap}.labor-schedule,.fee-grid{grid-template-columns:1fr}.labor-schedule{padding:16px;gap:12px}.labor-rate,.fee-card{padding:18px}.fee-meta>div{grid-template-columns:100px 1fr;gap:8px}}
/* Payout-first summary and both partner/internal purchase-order references. */
.kpis{grid-template-columns:2fr 1fr 1fr}
.kpis.ten-percent-summary{grid-template-columns:2fr 1fr}
.kpis.ten-percent-summary .kpi.highlight{grid-column:auto}
.kpi.highlight .kpi-value{font-size:34px}
.external-po-cell{min-width:145px;max-width:235px;white-space:normal;overflow-wrap:anywhere;font-weight:550}
.po-cell{min-width:170px}
@media(max-width:900px){.kpis{grid-template-columns:1fr 1fr}.kpi.highlight{grid-column:1/-1}}
@media(max-width:600px){.kpis,.kpis.ten-percent-summary{grid-template-columns:1fr}.kpi.highlight .kpi-value{font-size:30px}.kpi{min-height:110px}}

/* User management shares the report shell; all account content loads after authorization. */
.report-downloads{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;flex-shrink:0}.report-downloads .button{white-space:nowrap}.admin-navigation{border-top:1px solid #ffffff18;margin-top:20px}.admin-navigation .nav-heading{margin-top:22px}.admin-message{font-size:12px;color:var(--muted);margin:0 0 20px;min-height:20px}.admin-grid{display:grid;grid-template-columns:minmax(240px,340px) minmax(0,1fr);gap:22px;align-items:start}.admin-grid .panel-heading{padding:20px;gap:12px}.admin-grid .panel-heading h2{font-size:18px}.admin-grid .panel-heading .small{white-space:nowrap}.user-list{padding:8px}.user-list-entry{display:block;text-align:left;width:100%;padding:15px 12px;border:1px solid transparent;border-radius:8px;background:none;color:var(--ink);cursor:pointer;overflow-wrap:anywhere}.user-list-entry:hover,.user-list-entry:focus-visible{background:#edf7f4;border-color:#cae5dc}.user-list-entry strong,.user-list-entry span,.user-list-entry small{display:block}.user-list-entry strong{font-size:13px}.user-list-entry .user-email{font-size:11px;margin:5px 0;color:var(--muted)}.user-list-entry small{font-size:10px;color:var(--deep);line-height:1.8}.user-form{padding:20px}.user-form fieldset{border:0;margin:0;padding:0;min-width:0}.user-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.user-form label{display:block;font-size:11px;font-weight:650;color:var(--deep);margin-bottom:7px}.user-form small{display:block;font-size:10px;line-height:1.6;color:var(--muted);margin-top:6px}.user-form input[readonly]{background:#f3f7f9;color:var(--muted)}.user-form input:disabled,.user-form select:disabled{opacity:.7}.permission-heading{margin:24px 0 14px}.permission-heading h3{font-size:14px;color:var(--deep)}.permission-heading p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:7px}.permission-row{padding:16px;border:1px solid #cee4db;background:#f5faf7;border-radius:9px;margin-bottom:12px}.permission-report strong{font-size:12px}.permission-options{display:flex;gap:12px 20px;flex-wrap:wrap;margin-top:12px}.user-form .permission-choice{display:flex;gap:8px;align-items:center;font-size:11px;margin:0;cursor:pointer}.permission-choice input{width:18px;height:18px;min-height:0;padding:0;margin:0;accent-color:#137961}.permission-choice input:disabled+span{color:var(--muted)}.user-form-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.user-email-actions{display:flex;flex-wrap:wrap;gap:15px;margin-top:20px}.user-email-actions:empty{display:none}#admin-auth .button{margin-top:12px}#admin-title:focus{outline:none}
@media(max-width:1180px){.admin-grid{grid-template-columns:1fr}.user-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.report-downloads{justify-content:flex-start}}
@media(max-width:600px){.report-downloads{width:100%;gap:8px}.report-downloads .button{flex:1;padding:11px 14px;font-size:11px}.user-form-grid,.user-list{grid-template-columns:1fr}.user-form{padding:16px}.admin-grid{gap:16px}.admin-grid .panel-heading{padding:16px}.permission-row{padding:14px}.user-form-actions .button{flex:1}.permission-options{gap:12px}.admin-navigation .nav-heading{margin-top:16px}}
.security-link{margin-top:10px}.security-dialog{border:1px solid var(--line);border-radius:16px;width:min(620px,calc(100% - 28px));max-height:calc(100dvh - 40px);padding:0;background:#fff;color:var(--ink);box-shadow:0 24px 80px #102f4050}.security-dialog::backdrop{background:#0b2439a6}.security-dialog .dialog-heading h2{font-size:23px}.security-content{padding:24px}.security-content>p{font-size:12px;line-height:1.85;color:var(--muted)}.security-content .security-message{color:var(--deep);font-weight:600;margin:20px 0}.security-setup-note{padding:14px 16px;background:#fff8ed;border:1px solid #e7d7b7;border-radius:8px;font-size:12px;line-height:1.8;color:#755324}.security-credentials h3{font-size:13px;margin:20px 0 10px}.security-credential{padding:12px 15px;margin-bottom:10px;border:1px solid #cee4db;border-radius:8px;background:#f5faf7}.security-credential strong{display:block;font-size:12px}.security-credential small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.security-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.security-device-help{margin-top:16px}.security-footer{display:flex;justify-content:flex-end;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}
.user-password-section{padding:22px 20px;border-top:1px solid var(--line)}.user-password-section h3{font-size:16px;color:var(--deep)}.user-password-section>p,.password-help,.password-message{font-size:11px;color:var(--muted);line-height:1.8;margin-top:7px}.password-email-option{padding:16px 0 20px;border-bottom:1px solid var(--line);margin-bottom:20px}.user-password-section fieldset{margin:0;padding:0;border:0;min-width:0}.user-password-section legend{font-size:13px;font-weight:650;color:var(--deep)}.user-password-section .user-form-grid{margin-top:16px}.user-password-section label{display:block;font-size:11px;font-weight:650;color:var(--deep);margin-bottom:7px}.user-password-section .password-confirmation{display:flex;gap:10px;align-items:flex-start;margin:17px 0 0;font-weight:500;line-height:1.75}.password-confirmation input{width:18px;height:18px;min-height:18px;flex:none;margin:1px 0 0;padding:0;accent-color:#137961}.password-message{color:var(--deep);font-weight:600}.password-message:empty{display:none}.user-password-section fieldset:disabled{opacity:.65}
.tax-policy-notice{margin-top:22px}.tax-policy-scroll{overflow-x:auto;max-height:65vh}.tax-policy-table{min-width:560px;white-space:normal}.tax-policy-table td{vertical-align:middle;width:75%}.tax-policy-table tbody th{position:static;vertical-align:middle;background:#fff;font-weight:700;color:var(--deep);width:25%;font-variant-numeric:tabular-nums;border-bottom:1px solid var(--line)}.tax-policy-table select{min-width:285px}.tax-rule-help{display:block;font-size:10px;color:var(--muted);line-height:1.75;margin-top:7px;max-width:560px}.tax-fixed-rate{display:flex;gap:12px;align-items:center;font-size:11px;font-weight:600;color:var(--deep);margin-top:12px}.tax-fixed-rate input{width:120px;min-height:38px}.tax-policy-footnote{font-size:11px;color:var(--muted);line-height:1.8;margin-top:15px}.tax-policy-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:20px}.tax-policy-actions p{font-size:12px;color:var(--deep);margin-right:auto}#tax-settings-title:focus{outline:none}
@media(max-width:600px){.tax-policy-actions{flex-wrap:wrap;gap:10px}.tax-policy-actions p{width:100%}.tax-policy-actions .button{flex:1}.tax-policy-table th,.tax-policy-table td{padding:13px 16px}}
.tax-policy-heading-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.tax-policy-table td:first-child{width:20%;vertical-align:top;padding-top:18px}.tax-policy-table td:nth-child(2){width:70%}.tax-policy-table td:last-child{width:10%;vertical-align:top}.tax-prefix-input{min-width:110px;max-width:180px;font-weight:650;color:var(--deep)}.tax-policy-table [aria-invalid=true]{border-color:#c03944;background:#fff7f7}
.tax-json-panel{margin-bottom:20px}.tax-json-panel summary{padding:20px 23px;color:var(--deep);font-size:13px;font-weight:650;cursor:pointer}.tax-json-panel[open] summary{border-bottom:1px solid var(--line)}.tax-json-content{padding:18px 23px 20px}.tax-json-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.tax-json-heading p,.tax-json-message{font-size:11px;color:var(--muted);line-height:1.8}.tax-json-heading .tax-policy-heading-actions{flex-shrink:0}.tax-json-code{margin:0;max-height:440px;overflow:auto;padding:20px;border:1px solid #d7e5ed;border-radius:8px;background:#f5f9fb;color:#203e50;font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:2}.tax-json-code code{font:inherit}.tax-json-message:empty{display:none}.tax-json-message{margin:12px 0 0}@media(max-width:600px){.tax-json-heading{align-items:flex-start;flex-direction:column}.tax-json-content{padding:16px}.tax-json-code{padding:14px;font-size:11px}}
@media(max-width:600px){.security-content{padding:18px}.security-dialog .dialog-heading h2{font-size:20px}.security-actions .button{flex:1}.security-dialog{max-height:calc(100dvh - 24px)}}
.dated-fee-comparison{margin:0 0 22px;grid-column:1/-1}.fee-grid .dated-fee-comparison{margin-bottom:0}.dated-fee-scroll{overflow-x:auto}.dated-fee-table{width:100%;min-width:540px;border-collapse:collapse}.dated-fee-table th,.dated-fee-table td{text-align:left;padding:15px 22px;vertical-align:top;white-space:normal}.dated-fee-table thead th{background:#e7f3ec;color:#23604d;font-size:11px}.dated-fee-table tbody th{font-size:12px;color:var(--deep);width:22%}.dated-fee-table td{width:39%}.dated-fee-table td strong{display:block;font-size:17px;color:var(--deep)}.dated-fee-table td small{display:block;font-size:10px;color:var(--muted);line-height:1.75;margin-top:5px}.dated-fee-note{font-size:11px;line-height:1.85;color:var(--muted);padding:15px 22px;border-top:1px solid var(--line)}
@media(max-width:600px){.dated-fee-comparison .panel-heading{padding:18px}.dated-fee-comparison h2{font-size:17px}.dated-fee-table{min-width:500px}.dated-fee-table th,.dated-fee-table td{padding:13px 16px}.dated-fee-note{padding:14px 18px}}
.tax-tire-fee{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}.tax-fee-toggle{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:650;color:var(--deep);cursor:pointer}.tax-fee-toggle input{width:18px;height:18px;min-height:18px;accent-color:var(--deep);margin:0}.tax-fee-fields{display:flex;gap:18px;margin-top:12px;flex-wrap:wrap}.tax-fee-fields label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:600;color:var(--deep)}.tax-fee-fields input{width:160px;min-height:38px}.tax-fee-fields[hidden]{display:none}

/* Owner report revisions: versioned calculations and explicit settlement controls. */
.revision-controls{display:grid;gap:10px;max-width:720px;margin:28px 0}.revision-controls select{width:100%;padding:14px;border:1px solid #cedee6;border-radius:8px;background:white;color:#173441;font:inherit}
.revision-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:20px 0}.revision-form-panel{padding:24px}.revision-form-panel h2{margin:0 0 12px}.revision-form-panel p{color:#617d8c;line-height:1.6}.revision-form-panel form{display:grid;gap:12px}.revision-form-panel label{font-weight:600;color:#285065}.revision-form-panel input:not([type=checkbox]),.revision-form-panel textarea,.revision-form-panel select{padding:12px;border:1px solid #cedee6;border-radius:8px;background:white;font:inherit;width:100%;box-sizing:border-box}.revision-form-panel button{justify-self:start}.revision-confirm{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6}.revision-confirm input[type="checkbox"]{width:18px;height:18px;min-height:18px;padding:0;margin:2px 0 0;flex:0 0 18px;accent-color:var(--deep)}.revision-confirm>span{min-width:0;overflow-wrap:anywhere}.revision-state{display:flex;gap:16px;flex-wrap:wrap;padding:18px 22px;background:#eaf5f1;border-radius:10px;color:#1b5a4b}.revision-history,.revision-comparison,.revision-audit{margin:22px 0}.revision-history td{white-space:pre-line;vertical-align:top}.revision-comparison-content{padding:24px}#revision-comparison-content{padding:22px}#revision-comparison-content h3{margin:26px 0 12px}.revision-integrity{padding:16px;background:#eaf5f1;color:#236348;border-radius:8px}.revision-audit{padding:22px}.revision-audit summary,.revision-json summary{cursor:pointer;font-weight:600}.revision-json{margin-top:22px}.revision-json pre{overflow:auto;max-height:380px;padding:18px;background:#f3f7fa;border-radius:8px;font-size:12px}.revision-audit p{font-size:13px;line-height:1.7}.revision-comparison .table-scroll{max-height:480px}.revision-comparison thead th,.revision-history thead th{position:sticky;top:0;background:#eaf5f1}.revision-form-panel button:disabled{opacity:.5;cursor:not-allowed}#revision-adjustments .revision-confirm{padding:10px 0;border-bottom:1px solid #edf2f5}
@media(max-width:1000px){.revision-grid{grid-template-columns:1fr}.revision-history td{min-width:130px}.revision-history .table-scroll{overflow-x:auto}}

/* Make version review selection and its destination clear. */
.revision-comparison{scroll-margin-top:24px}.revision-history tr.revision-selected{background:#edf7f4}.revision-history tr.revision-selected td:first-child{box-shadow:inset 3px 0 var(--teal)}

.profit-share-panel{margin:20px 0}.profit-share-rollforward{padding:0 24px 16px;max-width:780px}.profit-share-table{padding:0 24px 24px}.profit-share-table h3{margin:8px 0 14px}.profit-share-table th{white-space:normal;min-width:100px}.profit-share-table td{vertical-align:top}.profit-share-table .table-scroll{overflow:auto}
.profit-share-pool-note{padding:0 24px 16px;color:#617d8c;line-height:1.6}
.report-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}

/* Administrative source comparison content is loaded only from protected APIs. */
.source-checks-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:22px;padding:2px 6px;margin-left:8px;border-radius:12px;background:#ffefcf;color:#694011;font-size:11px;font-weight:750;vertical-align:middle}
.source-checks-badge[hidden]{display:none}.source-import{padding:20px 23px;border:1px solid #dce7ed;border-radius:10px;margin:20px 0;line-height:1.8;font-size:12px;overflow-wrap:anywhere}.source-import strong{font-size:14px}.source-import p+p{margin-top:5px}.source-import.verified{background:#eaf5f1;color:#1b5a4b;border-color:#cce6dc}.source-import.attention{background:#fff8ed;color:#755324;border-color:#e7d7b7}
.source-checks-panel{margin:22px 0;min-width:0}.source-checks-scroll{overflow:auto;max-height:540px}.source-checks-scroll table{min-width:760px;width:100%;border-collapse:collapse}.source-checks-scroll th{position:sticky;top:0;background:#eaf5f1;z-index:1}.source-checks-scroll td{white-space:pre-wrap;overflow-wrap:anywhere;min-width:125px;max-width:400px;vertical-align:top;line-height:1.7}.source-checks-scroll td:first-child{min-width:180px}.source-checks-scroll th{white-space:normal;min-width:120px}.source-muted{display:block;color:var(--muted);font-size:11px;line-height:1.8;margin-top:7px}.source-status{display:inline-block;padding:5px 9px;border-radius:7px;font-size:11px;font-weight:650;line-height:1.7;white-space:normal}.source-status.verified{background:#eaf5f1;color:#236348}.source-status.information{background:#eaf4fa;color:#225670}.source-status.attention{background:#fff2dc;color:#7b4d19}.source-warning{padding:14px 17px;background:#fff8ed;color:#755324;border-radius:8px;margin:16px 0;font-size:12px;line-height:1.8}.source-check-detail{scroll-margin-top:24px}.source-check-detail>.panel-heading{gap:20px;align-items:flex-start}.source-check-content{padding:22px;min-width:0}.source-check-content>.source-status{margin-bottom:18px}.source-check-content h3{font-size:15px;margin:25px 0 12px}.source-check-content .source-muted+.table-scroll{margin-top:16px}.source-check-form{display:grid;gap:12px;padding:22px;border-top:1px solid var(--line)}.source-check-form[hidden]{display:none}.source-check-form label{font-size:12px;color:var(--deep);font-weight:650}.source-check-form textarea{padding:13px;border:1px solid #cedee6;border-radius:8px;font:inherit;width:100%;box-sizing:border-box}.source-check-form p{font-size:11px;color:var(--muted);line-height:1.8}.source-check-form .button{justify-self:start}.source-check-form h3{font-size:16px}.source-empty{padding:24px;color:var(--muted);font-size:12px}.source-audit{margin-top:24px;font-size:12px;line-height:1.8}.source-audit summary{cursor:pointer;font-weight:650;color:var(--deep)}.source-audit p{margin-top:10px;overflow-wrap:anywhere}
.source-audit pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:360px;overflow:auto;padding:16px;background:#f3f7fa;border-radius:8px;font-size:11px}
.source-notification-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.source-notification .button{background:#fff}.source-notification[hidden]{display:none}
.source-decision-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.source-decision-actions .button{white-space:normal;text-align:center}.source-workflow{background:var(--surface-soft,#f2f7fa);border:1px solid var(--line,#dce8ee);border-radius:10px;padding:18px;margin:14px 0}.source-workflow h3{margin:0 0 10px}.source-workflow p{margin:8px 0}.source-decision-actions [hidden]{display:none}
.deal-assignment-notice{margin-top:22px}.deal-assignment-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:20px 0}.deal-assignment-stat{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px}.deal-assignment-stat strong{display:block;font-size:24px;color:var(--deep)}.deal-assignment-stat span{display:block;color:var(--muted);font-size:11px;margin-top:7px}.deal-assignment-nudge .button{margin:12px 10px 0 0}.deal-assignment-panel{margin:22px 0;scroll-margin-top:24px}.deal-assignment-filters{display:grid;grid-template-columns:minmax(180px,1.1fr) minmax(130px,.7fr) minmax(150px,.8fr) minmax(180px,1fr) auto;gap:18px;padding:22px;align-items:end}.deal-assignment-filters label,.deal-assignment-form label,.deal-group-form label{display:block;color:var(--deep);font-size:12px;font-weight:650;margin-bottom:8px}.deal-assignment-filters select,.deal-assignment-form select,.deal-assignment-form textarea,.deal-group-form input,.deal-group-form textarea{width:100%;min-width:0;padding:12px;border:1px solid #cedee6;border-radius:8px;background:#fff;color:var(--ink);font:inherit;box-sizing:border-box}.deal-assignment-po-field{grid-column:1/-1}.deal-assignment-inventory-note{padding:0 22px 16px;font-size:12px;color:var(--muted);line-height:1.7}.deal-assignment-stock{text-align:right;font-variant-numeric:tabular-nums}.deal-assignment-list-count{padding:0 22px 16px;font-size:11px;color:var(--muted)}.deal-assignment-scroll{max-height:520px;overflow:auto}.deal-assignment-scroll table{width:100%;min-width:860px;border-collapse:collapse}.deal-assignment-scroll th{position:sticky;top:0;background:#eaf5f1;white-space:normal}.deal-assignment-scroll td{vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;max-width:370px;min-width:120px}.deal-assignment-scroll td:first-child{min-width:260px}.deal-assignment-scroll td strong{font-size:12px}.deal-assignment-more{padding:16px 22px}.deal-assignment-more:has([hidden]){padding:0}.deal-assignment-editor-body{padding:22px}.deal-assignment-form{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.deal-assignment-form .button{justify-self:start}.deal-assignment-reason-field{grid-column:1/-1}.deal-assignment-form .text-button{margin-top:10px}.deal-assignment-form [hidden],.deal-group-form[hidden]{display:none}.deal-group-form{display:grid;gap:12px;background:#f4f8fa;border:1px solid var(--line);border-radius:10px;margin-top:22px;padding:22px;max-width:700px}.deal-group-form p{font-size:12px;color:var(--muted);line-height:1.7}.deal-assignment-history-title{font-size:16px;margin:30px 0 14px}.deal-assignment-history-entry{padding:15px 0;border-top:1px solid var(--line);font-size:12px;line-height:1.8;overflow-wrap:anywhere}.deal-assignment-history-entry p{color:var(--muted);margin-top:6px}#deal-assignment-po-detail{white-space:pre-wrap;overflow-wrap:anywhere}#deal-assignments-title:focus,#deal-assignment-po-title:focus{outline:none}
@media(max-width:1100px){.deal-assignment-filters{grid-template-columns:1fr 1fr}.deal-assignment-filters>.button{justify-self:start}.deal-assignment-form{grid-template-columns:1fr}.deal-assignment-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.deal-assignment-filters{grid-template-columns:1fr;padding:16px}.deal-assignment-summary{gap:10px}.deal-assignment-stat{padding:14px}.deal-assignment-stat strong{font-size:20px}.deal-assignment-editor-body,.deal-group-form{padding:16px}.deal-assignment-filters>.button,.deal-assignment-form>.button{width:100%}.deal-assignment-nudge .button{width:100%}}
@media(max-width:900px){.source-check-detail>.panel-heading{flex-direction:column;align-items:stretch}.source-checks-panel .panel-heading .report-downloads{justify-content:flex-start}}
@media(max-width:600px){.source-import,.source-check-content,.source-check-form{padding:16px}.source-check-content h3{font-size:14px}.source-checks-scroll{max-height:420px}.source-checks-scroll td{font-size:11px}.source-check-form .button{width:100%}}
/* Administration is a distinct area while report navigation keeps United Tires blue. */
.admin-navigation{background:#342d49;border:1px solid #5a4e74;border-radius:12px;padding:8px;margin-top:22px}.admin-navigation .nav-heading{color:#eadffb;margin:12px 10px 14px}.admin-navigation .report-link{color:#f7f3ff}.admin-navigation .report-link small{color:#ded4ef}.admin-navigation .report-link:hover{background:#514562}.admin-navigation .report-link.active,.admin-navigation .report-link[aria-pressed=true]{background:#5b4d73;border-color:#9281ad;color:#fff}.admin-navigation .report-link.active:before{background:#e2c5ff}.admin-navigation .report-link:focus-visible{outline-color:#e2c5ff}.admin-navigation .source-nav-badge{background:#f0e5ff;color:#342d49}
.overhead-notice{margin-top:22px}.overhead-panel{margin-top:22px}.overhead-filters{display:grid;grid-template-columns:minmax(200px,1fr) minmax(220px,1fr) auto;gap:18px;padding:22px;align-items:end}.overhead-filters label,.overhead-form label{display:block;font-size:12px;font-weight:650;color:var(--deep);margin-bottom:8px}.overhead-po-field,.overhead-form-wide{grid-column:1/-1}.overhead-list-info{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;color:var(--muted)}.overhead-editor-body{padding:22px}.overhead-current{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 22px}.overhead-current>div{padding:16px;background:#f5f8fa;border:1px solid var(--line);border-radius:9px}.overhead-current dt{font-size:11px;color:var(--muted);margin-bottom:6px}.overhead-current dd{margin:0;font-size:13px;overflow-wrap:anywhere}.overhead-form{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:end}.overhead-form .overhead-enable{display:flex;align-items:center;gap:10px;min-height:44px;margin:0}.overhead-enable input{width:18px;height:18px;min-height:0;padding:0;margin:0;flex:none;accent-color:#635178}.overhead-form textarea{width:100%;min-width:0;box-sizing:border-box;padding:12px;border:1px solid #cedee6;border-radius:8px;font:inherit;resize:vertical}.overhead-form-actions{display:flex;flex-wrap:wrap;gap:10px;grid-column:1/-1}.overhead-history-title{margin:26px 0 12px}.overhead-history-entry{padding:14px 0;border-top:1px solid var(--line);font-size:12px;line-height:1.8}.overhead-history-entry p{color:var(--muted);margin-top:5px}.overhead-json{padding:22px;margin:0;max-height:520px;overflow:auto;background:#f6f4fa;color:#342d49;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}#overhead-po-context{white-space:pre-wrap;overflow-wrap:anywhere}#overhead-settings-title:focus,#overhead-po-title:focus{outline:none}
@media(max-width:900px){.admin-navigation .report-link{width:100%;margin-bottom:7px}.admin-navigation .nav-heading{margin-top:10px}.overhead-filters{grid-template-columns:1fr 1fr}.overhead-filters>.button{justify-self:start}.overhead-form{grid-template-columns:1fr}}
@media(max-width:600px){.overhead-filters,.overhead-current{grid-template-columns:1fr}.overhead-filters,.overhead-editor-body,.overhead-json{padding:16px}.overhead-list-info{align-items:flex-start;flex-direction:column}.overhead-form-actions .button{width:100%}.overhead-panel>.panel-heading{align-items:flex-start;flex-direction:column}}
.settlement-loads-panel{margin:0 0 24px}.settlement-loads-content{padding:0 23px 16px;max-height:520px;overflow:auto}
@media(max-width:900px){#report-nav{flex-wrap:wrap}#report-nav .report-link{flex:1 1 170px}}
@media(max-width:600px){.settlement-loads-content{padding:0 18px 16px}}

.dh-panel{margin-bottom:20px}.dh-panel-body{padding:22px}.dh-settings-form{display:grid;grid-template-columns:minmax(150px,230px) minmax(240px,1fr);gap:20px;margin-bottom:24px}.dh-actions{display:flex;flex-wrap:wrap;gap:10px;grid-column:1/-1}.dh-settings-form input,.dh-settings-form textarea{width:100%;box-sizing:border-box}@media(max-width:650px){.dh-settings-form{grid-template-columns:1fr}.dh-panel-body{padding:18px}}

.dh-section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:20px 0 8px}.dh-section-heading h2{margin:0}.dh-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin:18px 0 24px}.dh-metric{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;min-width:0}.dh-metric strong{font-size:26px;display:block;margin-top:10px;color:#142936;overflow-wrap:anywhere}.dh-metric small{display:block;margin-top:10px;line-height:1.5;color:var(--muted)}.dh-metric.highlight{background:var(--deep);border-color:var(--deep);color:#fff}.dh-metric.highlight strong{color:#fff}.dh-metric.highlight small{color:#d2e8f0}.dh-window{display:flex;align-items:end;flex-wrap:wrap;gap:14px;margin-bottom:18px}.dh-window>div{flex:1 1 160px;max-width:240px}.dh-window input{width:100%;box-sizing:border-box}#dh-costs table{min-width:510px}#dh-costs th:not(:first-child),#dh-costs td:not(:first-child){text-align:right}#dh-analytics-caveats{white-space:pre-line;margin:0 0 24px}@media(max-width:650px){.dh-cards{grid-template-columns:1fr 1fr}.dh-metric{padding:15px}.dh-metric strong{font-size:22px}.dh-window>div{max-width:none}}@media(max-width:430px){.dh-cards{grid-template-columns:1fr}}

.dh-sales-costs table{min-width:520px}.dh-sales-costs td:nth-child(2),.dh-sales-costs th:nth-child(2){text-align:right}.dh-sales-costs td:nth-child(3){color:var(--muted);font-size:12px}

#dh-inventory-cards{grid-template-columns:repeat(6,minmax(0,1fr))}#dh-inventory-cards .dh-metric{grid-column:span 2}#dh-inventory-cards .dh-metric.highlight{grid-column:span 3}@media(max-width:650px){#dh-inventory-cards{grid-template-columns:1fr}#dh-inventory-cards .dh-metric,#dh-inventory-cards .dh-metric.highlight{grid-column:1/-1}}

.dh-stock-filters{display:grid;grid-template-columns:minmax(190px,1.2fr) minmax(220px,1.4fr) minmax(160px,1fr) auto;align-items:end;gap:14px}.dh-stock-filters input,.dh-stock-filters select{width:100%;min-width:0}.dh-age-legend{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 12px}.dh-age-legend span{padding:5px 11px;border:1px solid #b9c5cc;border-radius:6px;font-size:12px;font-weight:600}.dh-stock-table{max-height:650px;overflow:auto;border-top:1px solid var(--line)}.dh-stock-table>table{min-width:1420px}.dh-stock-table>table>thead>tr>th{position:sticky;top:0;z-index:2;box-shadow:0 1px 0 var(--line)}.dh-stock-table>table>tbody>tr>td{vertical-align:top}.dh-stock-table .dh-stock-identity{min-width:235px}.dh-stock-identity small{display:block;margin-top:5px;color:inherit;opacity:.88}.dh-stock-table .dh-stock-numeric{text-align:right;white-space:nowrap}.dh-stock-table .dh-age-badge.dh-age-up-to-30,.dh-age-legend .dh-age-up-to-30,#pull-outs-stock-table .pull-outs-age-badge.dh-age-up-to-30{background:#fff;color:#142936}.dh-stock-table .dh-age-badge.dh-age-over-30,.dh-age-legend .dh-age-over-30,#pull-outs-stock-table .pull-outs-age-badge.dh-age-over-30{background:#fff1df;color:#422f19}.dh-stock-table .dh-age-badge.dh-age-over-60,.dh-age-legend .dh-age-over-60,#pull-outs-stock-table .pull-outs-age-badge.dh-age-over-60{background:#ffd39a;color:#3c2811}.dh-stock-table .dh-age-badge.dh-age-over-90,.dh-age-legend .dh-age-over-90,#pull-outs-stock-table .pull-outs-age-badge.dh-age-over-90{background:#ffc5c5;color:#541717}.dh-stock-table .dh-age-badge.dh-age-over-120,.dh-age-legend .dh-age-over-120,#pull-outs-stock-table .pull-outs-age-badge.dh-age-over-120{background:#781c2f;color:#fff}.dh-stock-table .dh-age-badge.dh-age-unknown,.dh-age-legend .dh-age-unknown,#pull-outs-stock-table .pull-outs-age-badge.dh-age-unknown{background:#eef1f3;color:#364952}.dh-stock-table .dh-stock-details>td{background:#fff;color:#142936;padding:20px 25px;border-bottom:2px solid #b8cbd5}.dh-stock-detail-heading{margin-bottom:12px}.dh-stock-detail-costs{max-width:850px;min-width:500px}.dh-stock-detail-costs th:not(:first-child),.dh-stock-detail-costs td:not(:first-child){text-align:right}.dh-stock-empty{padding:24px;color:var(--muted)}@media(max-width:1100px){.dh-stock-filters{grid-template-columns:1fr 1fr}.dh-stock-filters .button{justify-self:start}}@media(max-width:650px){.dh-stock-filters{grid-template-columns:1fr}.dh-stock-table{max-height:560px}.dh-stock-table .dh-stock-details>td{padding:16px}}

.dh-stock-table>table>thead>tr>th{white-space:normal;min-width:100px}.dh-stock-detail-costs th{position:static}.dh-stock-detail-costs tbody th{background:#fff;color:#142936;font-weight:500}

.dh-stock-table{container-type:inline-size}.dh-stock-table .dh-stock-details>td{padding:20px 16px}.dh-stock-detail-panel{position:sticky;left:16px;width:min(850px,calc(100cqi - 32px));max-width:100%;white-space:normal}.dh-stock-detail-panel .dh-stock-detail-costs{min-width:0;max-width:none;table-layout:fixed;white-space:normal}.dh-stock-detail-panel .dh-stock-detail-costs th:first-child{width:46%}.dh-stock-detail-panel .dh-stock-detail-costs th,.dh-stock-detail-panel .dh-stock-detail-costs td{overflow-wrap:anywhere;padding:10px 12px}.dh-stock-detail-panel>p{margin-top:14px}@media(max-width:650px){.dh-stock-detail-panel .dh-stock-detail-costs th,.dh-stock-detail-panel .dh-stock-detail-costs td{padding:9px 6px;font-size:11px}}

.dh-stock-export-action{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.dh-stock-export-help,.dh-stock-fifo-help{margin-bottom:12px}.dh-stock-export-action .button{white-space:nowrap}@media(max-width:650px){.dh-stock-export-action{justify-content:flex-start}}

.pull-outs-panel{margin-top:20px}.pull-outs-body{padding:22px 24px}.pull-outs-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.pull-outs-metric{padding:20px;background:#fff;border:1px solid var(--line);border-radius:12px;min-width:0}.pull-outs-metric span,.pull-outs-metric small{display:block;color:var(--muted)}.pull-outs-metric strong{display:block;font-size:26px;margin:10px 0;color:var(--deep)}.pull-outs-metric.highlight{background:#eaf5f1;border-color:#b8d8cb}.pull-outs-filters{display:grid;grid-template-columns:minmax(190px,1.2fr) minmax(220px,1.4fr) minmax(160px,1fr) auto;gap:14px;align-items:end;margin:20px 0 14px}.pull-outs-filters input,.pull-outs-filters select{width:100%;min-width:0}.pull-outs-table{max-height:650px;overflow:auto}.pull-outs-table>table{min-width:1500px}.pull-outs-table th{position:sticky;top:0;z-index:1;white-space:normal;background:#e8f3ef;color:#315e51;min-width:85px}.pull-outs-table td{vertical-align:top}.pull-outs-table .pull-outs-identity{min-width:220px}.pull-outs-identity small,.pull-outs-po-cell small{display:block;margin-top:5px;color:var(--muted)}.pull-outs-table .numeric{white-space:nowrap;text-align:right}.pull-outs-table .pull-outs-issue{min-width:180px;white-space:normal}.pull-outs-table .pull-outs-empty{padding:24px;color:var(--muted)}.pull-outs-demo-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin:20px 0}.pull-outs-demo-card{border:1px solid var(--line);border-radius:12px;padding:20px;background:#fff;text-align:left;color:var(--deep);cursor:pointer}.pull-outs-demo-card strong,.pull-outs-demo-card span,.pull-outs-demo-card small{display:block;margin-bottom:8px}.pull-outs-demo-card small{color:var(--muted)}.pull-outs-demo-card[aria-pressed="true"]{border-color:#0b709b;box-shadow:inset 4px 0 #00c3c6}.pull-outs-demo-card:focus-visible{outline:3px solid #665bff;outline-offset:3px}.pull-outs-charges-table>table{min-width:1600px}#pull-outs-stock-cards{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:1050px){.pull-outs-filters{grid-template-columns:1fr 1fr}.pull-outs-filters .button{justify-self:start}.pull-outs-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.pull-outs-filters,.pull-outs-metrics,#pull-outs-stock-cards{grid-template-columns:1fr}.pull-outs-filters .button{justify-self:start}.pull-outs-body{padding:18px 16px}.pull-outs-demo-list{grid-template-columns:1fr}}

.pull-outs-period-tools{display:grid;grid-template-columns:minmax(260px,2fr) minmax(200px,1fr);gap:16px;margin:22px 0}.pull-outs-period-tools label{display:block;margin-bottom:8px;font-weight:600;color:var(--deep)}.pull-outs-period-tools select{width:100%;min-width:0}.pull-outs-period-tools>p{grid-column:1/-1;margin:0}.pull-outs-administration{border-top:1px solid var(--line);background:#f8f6fc}.pull-outs-administration h3{margin-top:0}.pull-outs-administration .button{margin:8px 10px 8px 0}.pull-outs-admin-form{display:grid;gap:10px;margin-top:18px}.pull-outs-admin-form textarea{width:100%;min-height:90px;box-sizing:border-box}.pull-outs-admin-summary{margin:16px 0;overflow:auto}.pull-outs-admin-summary table{min-width:600px}.pull-outs-source-alert{padding:14px;border-radius:8px;background:#fff4dc;color:#674711;margin-bottom:16px}.pull-outs-source-alert.clear{background:#eaf5f1;color:#275a4a}@media(max-width:650px){.pull-outs-period-tools{grid-template-columns:1fr}}

#pull-outs-stock-table .pull-outs-age-badge,#dh-stock-table .dh-age-badge{display:inline-flex;align-items:center;justify-content:center;min-width:44px;padding:4px 10px;border-radius:999px;font-weight:600;line-height:1.5;font-variant-numeric:tabular-nums;white-space:nowrap}#pull-outs-stock-table .pull-outs-age-badge.dh-age-up-to-30,#dh-stock-table .dh-age-badge.dh-age-up-to-30{background:var(--soft);color:#142936}
.profit-capital-content{padding:24px}.profit-capital-content>h3{font-size:16px;color:var(--deep)}.profit-capital-basis,.profit-capital-period{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0}.profit-capital-metric{min-width:0;padding:20px;border:1px solid var(--line);border-radius:10px;background:#fff}.profit-capital-label{font-size:12px;font-weight:650;color:var(--muted)}.profit-capital-value{display:block;margin:10px 0;font-size:27px;line-height:1.3;color:var(--deep);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.profit-capital-note{font-size:12px;color:var(--muted);line-height:1.75}.profit-capital-metric.target{border-color:#9cbbc9;background:#f1f7fa}.profit-capital-inventory,.profit-capital-recovery-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.profit-capital-inventory .profit-capital-metric{padding:16px 20px;background:var(--soft)}.profit-capital-inventory .profit-capital-value{font-size:23px}.profit-capital-recovery{margin:24px 0;padding:22px;border:1px solid #d9dfe3;border-radius:12px;background:#f3f5f7;color:#364952}.profit-capital-recovery.recovering{background:#fff7e8;border-color:#e2cda3;color:#705022}.profit-capital-recovery.recovered{background:#eaf5ee;border-color:#a8d2b7;color:#215d3c}.profit-capital-recovery>h3{font-size:18px}.profit-capital-recovery>.profit-capital-note{margin-top:7px;color:inherit}.profit-capital-recovery .profit-capital-metric{border-color:transparent;background:#ffffffbd}.profit-capital-progress{display:block;width:100%;height:14px;border:0;border-radius:10px;overflow:hidden;background:#e2e7e6;color:#a77727;accent-color:#a77727}.profit-capital-progress::-webkit-progress-bar{background:#e2e7e6;border-radius:10px}.profit-capital-progress::-webkit-progress-value{background:#a77727;border-radius:10px}.profit-capital-progress::-moz-progress-bar{background:#a77727;border-radius:10px}.profit-capital-recovery.recovered .profit-capital-progress{color:#287b4b;accent-color:#287b4b}.profit-capital-recovery.recovered .profit-capital-progress::-webkit-progress-value{background:#287b4b}.profit-capital-recovery.recovered .profit-capital-progress::-moz-progress-bar{background:#287b4b}.profit-capital-progress-label{margin-top:9px;font-size:12px;font-weight:650}.profit-capital-cumulative{margin:14px 0 0}.profit-capital-cumulative .cost-row{border-color:#becbc94f;gap:20px;font-size:12px}.profit-capital-cumulative dd{white-space:nowrap}.profit-capital-period-heading{margin-top:28px}.profit-capital-metric.highlight{background:var(--deep);border-color:var(--deep)}.profit-capital-metric.highlight .profit-capital-label,.profit-capital-metric.highlight .profit-capital-value{color:#fff}.profit-capital-metric.highlight .profit-capital-note{color:#d4e7ef}.profit-capital-support{border-top:1px solid var(--line);padding-top:16px}.profit-capital-support>summary{margin:0 24px 20px;cursor:pointer;color:var(--deep);font-weight:650;padding:8px 0}.profit-capital-support>summary:focus-visible{outline:3px solid var(--purple);outline-offset:3px}@media(max-width:1150px){.profit-capital-period{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-capital-basis .profit-capital-value{font-size:23px}}@media(max-width:750px){.profit-capital-basis,.profit-capital-period,.profit-capital-inventory,.profit-capital-recovery-values{grid-template-columns:1fr}.profit-capital-content{padding:18px}.profit-capital-recovery{padding:16px}.profit-capital-cumulative .cost-row{align-items:flex-start}.profit-capital-cumulative dt{max-width:65%}.profit-capital-metric{padding:18px}.profit-capital-support>summary{margin-left:18px;margin-right:18px}}

.user-access-panel{padding:24px;border-top:1px solid #dbe6eb}.access-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:14px 0 22px}.access-group{min-width:0;border:1px solid #cbdde6;border-radius:10px;padding:16px;margin:0}.access-group legend{font-weight:700;color:#145570;padding:0 6px}.access-choice{display:flex!important;align-items:flex-start;gap:9px;margin:12px 0;font-weight:400!important}.access-choice input[type=checkbox]{width:17px!important;min-width:17px;height:17px!important;flex:0 0 17px;margin:2px 0!important}.access-choice span{overflow-wrap:anywhere}.access-report-list{max-height:230px;overflow:auto;border-top:1px solid #dbe6eb;padding-top:8px}.access-level{display:grid;gap:8px;padding:12px;border:1px solid #dbe6eb;border-radius:8px}.access-summary,.access-key-help{background:#f1f7fa;padding:18px;border-radius:10px;margin:18px 0}.access-summary p,.access-key-help p{margin:8px 0;line-height:1.5}#user-access-json{max-height:420px;overflow:auto;white-space:pre-wrap}#user-access-reason{width:100%;box-sizing:border-box}
.access-templates-panel{margin-bottom:24px}.access-templates-panel .panel-heading{align-items:flex-start;gap:20px}.access-templates-content{padding:24px}.access-template-picker{display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:24px}.access-template-picker select,.access-templates-content input:not([type=checkbox]),.access-templates-content textarea,.access-template-form select{width:100%;box-sizing:border-box}.access-template-form,.access-template-bulk{margin-top:24px;padding-top:22px;border-top:1px solid #dbe6eb}.access-template-wide{grid-column:1/-1}.access-template-targets{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px 20px;max-height:320px;overflow:auto;margin:18px 0}.access-template-targets .access-choice{padding:10px;border:1px solid #dbe6eb;border-radius:8px;margin:0}.access-template-targets small{display:block;font-weight:400;color:#647d8b;line-height:1.6}.access-templates-content label:not(.access-choice){display:block;font-weight:600;margin-bottom:8px}.access-template-review-list{margin:12px 0;padding-left:20px}.access-template-review-list li{margin:5px 0;overflow-wrap:anywhere}.access-template-permissions{margin:12px 0 0;padding-left:20px;line-height:1.7}@media(max-width:680px){.access-template-picker{grid-template-columns:1fr;gap:8px}.access-templates-content{padding:18px}.access-templates-panel .panel-heading{flex-wrap:wrap}.access-template-targets{grid-template-columns:1fr}}
.access-template-form textarea{font:inherit;font-size:13px;line-height:1.6;min-height:84px;padding:12px 14px;border:1px solid var(--line);border-radius:8px;color:#142936;background:#fff;resize:vertical}.access-template-form textarea:focus-visible{outline:3px solid var(--purple);outline-offset:3px}
