.buyer-cases-launch{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.buyer-cases-launch h2{margin:0}.buyer-cases-launch p{margin:6px 0 0}
.buyer-cases-dialog{width:min(1200px,calc(100vw - 32px));max-width:none;max-height:90vh;overflow:auto;border:1px solid #dce3ec;border-radius:16px;padding:0;color:#061b36;box-shadow:0 24px 90px #061b3640}
.buyer-cases-dialog::backdrop{background:#061b3677}
.buyer-cases-dialog>header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px 12px}
.buyer-cases-dialog>header h2{font-size:25px;margin:0}
.buyer-cases-close{border:0;border-radius:9px;width:36px;height:36px;background:#eef2f7;color:#435064;font-size:26px;cursor:pointer}
.buyer-cases-tabs{display:flex;gap:8px;padding:0 24px;border-bottom:1px solid #e0e6ee}
.buyer-cases-tabs button{padding:12px 16px;border:0;border-bottom:3px solid transparent;background:transparent;color:#394a5e;font:inherit;cursor:pointer}
.buyer-cases-tabs button.active{border-color:#39a85c;background:#f1f3f6;font-weight:650}
.buyer-cases-pane{padding:22px 24px 26px}.buyer-cases-pane[hidden]{display:none}
.buyer-cases-layout{display:grid;grid-template-columns:minmax(240px,300px) minmax(0,1fr);gap:18px;align-items:start}
.buyer-cases-filter{display:grid;gap:12px;padding:16px;border:1px solid #e1e7ef;border-radius:12px;background:#f8f9fb}
.buyer-cases-filter label{display:grid;gap:6px}.buyer-cases-filter h3{margin:8px 0 0;font-size:15px}
.buyer-cases-filter .buyer-cases-check{display:flex;align-items:center;gap:9px}
.buyer-cases-filter input[type=checkbox],.buyer-cases-filter input[type=radio]{width:auto}
.buyer-cases-results{min-height:120px}.buyer-case-list-head{display:flex;justify-content:space-between;gap:12px;padding:8px 4px 14px;border-bottom:1px solid #e3e8ef;color:#52647d}
.buyer-case-item{padding:18px 8px;border-bottom:1px solid #e2e7ed}.buyer-case-item>div{font-size:17px}.buyer-case-item a{color:#276dcc}.buyer-case-item p{display:grid;grid-template-columns:minmax(130px,190px) minmax(0,1fr);gap:12px;margin:9px 0;color:#2f3d4e}.buyer-case-item p>span,.buyer-case-amount{color:#65758a}.buyer-case-item .buyer-case-amount{display:flex;justify-content:space-between;max-width:500px}.buyer-cases-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}.buyer-cases-stats article{padding:20px;border:1px solid #e1e7ef;border-radius:12px;background:#fafbfc}.buyer-cases-stats h3{margin:0 0 12px;font-size:15px;color:#52647d}.buyer-cases-stats strong{font-size:28px}.buyer-cases-stats p{color:#718198}
@media(max-width:760px){.buyer-cases-dialog{width:calc(100vw - 16px);max-height:94vh}.buyer-cases-dialog>header,.buyer-cases-pane{padding-left:16px;padding-right:16px}.buyer-cases-layout{grid-template-columns:1fr}.buyer-cases-item p,.buyer-case-item .buyer-case-amount{grid-template-columns:1fr;gap:3px}.buyer-case-item .buyer-case-amount{display:grid}.buyer-cases-stats{grid-template-columns:1fr}.buyer-cases-tabs{padding:0 12px}}
@media(prefers-reduced-motion:reduce){.buyer-section{transition:none}}
/* Arbitration overview follows the compact summary and case-list pattern. */
.buyer-cases-tabs button{min-width:190px;text-align:left;font-size:16px}
.buyer-cases-pane[data-pane="summary"]{font-size:16px;line-height:1.55}
.buyer-cases-intro{margin:8px 0;font-size:19px;color:#162c48}
.buyer-cases-count-link{padding:0;border:0;background:none;color:#276dcc;text-decoration:underline;font:inherit;cursor:pointer}
.buyer-cases-overview-stats{display:grid;grid-template-columns:1fr 1fr;margin:24px 0 32px;border-top:1px solid #e3e8ef;border-bottom:1px solid #e3e8ef}
.buyer-cases-overview-stats article{padding:20px 24px 20px 0}
.buyer-cases-overview-stats article+article{padding-left:24px;border-left:1px solid #dce3eb}
.buyer-cases-overview-stats span{display:block;color:#52647d;margin-bottom:9px}
.buyer-cases-overview-stats strong{font-size:30px;color:#111e30}
.buyer-cases-last{margin:18px 0 24px;padding:16px 0;border-top:1px solid #e6ebf1}
.buyer-cases-last p{margin:8px 0}.buyer-cases-last a{color:#276dcc;font-weight:650}
.buyer-cases-ribbon{display:inline-block;margin:0 0 12px -24px;padding:9px 28px 9px 24px;background:#e2effd;color:#162c48;font-weight:700;clip-path:polygon(0 0,calc(100% - 16px) 0,100% 50%,calc(100% - 16px) 100%,0 100%)}
.buyer-cases-pane[data-pane="summary"]>.btn{margin-top:8px}
@media(max-width:760px){.buyer-cases-overview-stats{grid-template-columns:1fr}.buyer-cases-overview-stats article+article{padding:16px 24px 16px 0;border-left:0;border-top:1px solid #dce3eb}.buyer-cases-tabs button{min-width:0;flex:1;padding:10px 8px;font-size:14px}}

/* Keep the arbitration dialog aligned with the CRM's navy, slate and soft-panel theme. */
.buyer-cases-dialog{background:#fff;color:#102d50;border-color:#dce4ee;border-radius:18px}
.buyer-cases-dialog>header{padding:24px 28px 16px}
.buyer-cases-dialog>header h2{color:#102d50;font-size:26px;font-weight:700;letter-spacing:-.35px}
.buyer-cases-tabs{gap:4px;padding:0 28px;border-color:#dce4ee}
.buyer-cases-tabs button{min-width:0;padding:12px 16px;border-radius:10px 10px 0 0;color:#52647d;font-size:14px;transition:background .15s,color .15s}
.buyer-cases-tabs button:hover{background:#f4f7fb;color:#102d50}
.buyer-cases-tabs button.active{background:#f1f5f9;border-color:#39a85c;color:#102d50}
.buyer-cases-pane{padding:24px 28px 28px}
.buyer-cases-dialog .muted{color:#7b8ba3}
.buyer-cases-filter{gap:13px;padding:20px;border-color:#dce4ee;border-radius:15px;background:#f6f8fb;color:#102d50}
.buyer-cases-filter h3{margin:8px 0 1px;color:#102d50;font-size:15px;font-weight:700}
.buyer-cases-filter label{gap:7px;color:#43556d;font-size:13px}
.buyer-cases-filter .buyer-cases-check{gap:10px;color:#253b56;font-size:13px}
.buyer-cases-filter input:not([type=checkbox]):not([type=radio]),.buyer-cases-filter select{width:100%;min-width:0;border:1px solid #cfd9e6;border-radius:8px;background:#fff;padding:10px 11px;color:#243b56;font:inherit;outline:none;transition:border-color .15s,box-shadow .15s}
.buyer-cases-filter input:focus,.buyer-cases-filter select:focus{border-color:#55789f;box-shadow:0 0 0 3px #55789f20}
.buyer-cases-filter input[type=checkbox],.buyer-cases-filter input[type=radio]{width:17px;height:17px;margin:0;accent-color:#102d50}
.buyer-cases-filter button[type=submit],.buyer-cases-pane>.btn,.buyer-cases-pane .btn{min-height:42px;border:1px solid #102d50;border-radius:10px;background:#102d50;color:#fff;font-weight:650}
.buyer-cases-filter button[type=submit]:hover:not(:disabled),.buyer-cases-pane>.btn:hover:not(:disabled),.buyer-cases-pane .btn:hover:not(:disabled){background:#193e67;border-color:#193e67}
.buyer-cases-overview-stats article{border-color:#dce4ee;border-radius:14px;background:#f8fafc}
.buyer-cases-overview-stats h3,.buyer-cases-overview-stats span{color:#52647d}
.buyer-cases-last{border-color:#e3eaf2}
.buyer-cases-ribbon{background:#eaf1f9;color:#102d50}
.buyer-cases-results{color:#253b56}
.buyer-case-list-head{color:#52647d}
.buyer-case-item{border-color:#e3eaf2}
@media(max-width:760px){.buyer-cases-dialog>header{padding:18px 18px 12px}.buyer-cases-tabs{padding:0 12px}.buyer-cases-pane{padding:18px}.buyer-cases-filter{padding:16px}}
.buyer-finances-dialog{width:min(1180px,calc(100vw - 32px))}
.buyer-finance-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:22px 0 28px}
.buyer-finance-chart{min-width:0;padding:18px;border:1px solid #dce4ee;border-radius:16px;background:#f8fafc;box-shadow:0 4px 14px #102d5008}
.buyer-finance-chart h3{display:flex;justify-content:space-between;margin:0 0 12px;color:#102d50;font-size:15px;font-weight:650}.buyer-finance-chart h3 span{color:#718198;font-size:11px;font-weight:500}
.buyer-finance-years{display:flex;justify-content:space-between;gap:0;color:#718198;font-size:9px}.buyer-finance-years span{flex:1;text-align:center;white-space:nowrap}.buyer-finance-chart-values{display:grid;grid-template-columns:repeat(auto-fit,minmax(38px,1fr));gap:5px 3px;color:#718198;font-size:10px;text-align:center}
.buyer-finance-chart svg{display:block;width:100%;height:auto;overflow:visible}
.buyer-finance-chart-values span{white-space:nowrap}
.buyer-finance-highlight{margin:20px 0;padding:20px 22px;border:1px solid #dce4ee;border-top:3px solid #102d50;border-radius:15px;background:#f1f5f9}
.buyer-finance-highlight>label{display:flex;align-items:center;gap:8px;color:#102d50;font-weight:700}
.buyer-finance-year{border:0;border-bottom:1px solid #9ba8b8;background:transparent;padding:4px 22px 4px 6px;color:#102d50;font:inherit;font-weight:700}
.buyer-finance-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:16px}
.buyer-finance-kpis article{position:relative;display:grid;gap:9px;padding:4px 18px;border-right:1px solid #d5deea}
.buyer-finance-kpis article:first-child{padding-left:0}.buyer-finance-kpis article:last-child{border:0}
.buyer-finance-kpis article>span{color:#52647d;font-size:14px}.buyer-finance-kpis strong{color:#102d50;font-size:25px;overflow-wrap:anywhere}.buyer-finance-kpis small{color:#718198}.buyer-finance-kpis .positive{color:#26964a}.buyer-finance-kpis .negative{color:#c23942}
.buyer-finance-table{margin:22px 0;border-top:1px solid #dce4ee;border-bottom:1px solid #dce4ee;padding:15px 0}
.buyer-finance-table summary{cursor:pointer;color:#2864d7;font-weight:650}.buyer-finance-table .table-scroll{margin-top:14px;max-height:55vh}
.buyer-finance-table .table{min-width:700px}.buyer-finance-table .table th:not(:first-child),.buyer-finance-table .table td:not(:first-child){text-align:right;white-space:nowrap}
.buyer-finance-pdfs{display:grid;gap:8px;margin:20px 0}.buyer-finance-pdfs h3{margin:0 0 4px;color:#102d50;font-size:15px}.buyer-finance-pdfs a{color:#2864d7}
.buyer-finances-head{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.buyer-finances-head h2{margin:0;color:#102d50}.buyer-finances-head p{margin:6px 0;color:#52647d}.buyer-finances-head>button{flex:0 0 auto}.buyer-finance-chart-values{margin-top:6px}.buyer-finance-chart-values span{overflow:hidden;text-overflow:ellipsis}.buyer-finance-highlight{background:linear-gradient(120deg,#fff9e9,#fff3d2);border-color:#f1dda6;border-top-color:#e4b845}.buyer-finance-year{max-width:140px}
@media(max-width:760px){.buyer-finance-charts{grid-template-columns:1fr;gap:14px}.buyer-finance-kpis{grid-template-columns:1fr}.buyer-finance-kpis article,.buyer-finance-kpis article:first-child{padding:12px 0;border-right:0;border-bottom:1px solid #d5deea}.buyer-finance-kpis article:last-child{border:0}.buyer-finance-kpis strong{font-size:22px}.buyer-finance-chart{padding:12px}}
.buyer-case-card>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;list-style:none;cursor:pointer;color:#102d50}
.buyer-case-card>summary::-webkit-details-marker{display:none}
.buyer-case-card>summary::after{content:'⌄';margin-left:2px;color:#718198;font-size:20px;transition:transform .15s}
.buyer-case-card[open]>summary::after{transform:rotate(180deg)}
.buyer-case-card>summary>span:first-child{display:grid;gap:5px}.buyer-case-card>summary b{font-size:17px}.buyer-case-card>summary small{color:#718198;font-size:12px;font-weight:400}
.buyer-case-summary-badge{flex:0 0 auto;padding:6px 10px;border:1px solid #dce4ee;border-radius:20px;background:#f1f5f9;color:#52647d;font-size:12px;font-weight:650}
.buyer-case-card[open]>summary{padding-bottom:14px;border-bottom:1px solid #e3eaf2}
.buyer-case-card-body{padding-top:16px}
.buyer-cases-inline .buyer-cases-intro{margin:0 0 14px;font-size:15px;line-height:1.55;color:#43556d}
.buyer-case-inline-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 18px}
.buyer-case-inline-stats article{display:grid;gap:7px;padding:14px 16px;border:1px solid #dce4ee;border-radius:12px;background:#f8fafc}
.buyer-case-inline-stats span{color:#718198;font-size:12px}.buyer-case-inline-stats strong{color:#102d50;font-size:22px;line-height:1.2}
.buyer-case-last-inline{padding:14px 16px;border-left:3px solid #df1938;border-radius:0 11px 11px 0;background:#f6f8fb}
.buyer-case-last-label{display:block;margin-bottom:7px;color:#52647d;font-size:12px;font-weight:650}
.buyer-case-last-inline a{color:#102d50;text-decoration:none}.buyer-case-last-inline a:hover{color:#2864d7;text-decoration:underline}
.buyer-case-last-inline p{margin:7px 0;color:#43556d;font-size:13px}.buyer-case-last-inline>small{color:#718198;font-size:12px}
.buyer-cases-source{margin:12px 0 0;color:#8794a7;font-size:11px}
.buyer-case-card-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px}
.buyer-case-card-actions .btn{min-height:38px;padding:9px 13px;font-size:12px}
.buyer-cases-list-dialog{width:min(1180px,calc(100vw - 32px))}
@media(max-width:650px){.buyer-case-inline-stats{grid-template-columns:1fr}.buyer-case-inline-stats strong{font-size:20px}.buyer-case-card-actions{justify-content:stretch;flex-wrap:wrap}.buyer-case-card-actions .btn{flex:1}.buyer-case-card>summary{align-items:flex-start}.buyer-case-summary-badge{font-size:11px}}

/* Fixed buyer-card layout and compact actions */
.buyer-header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px;padding:10px 12px;background:#f7f9fc;border:1px solid #dfe7f1;border-radius:13px}
.buyer-header-actions>.btn{min-height:36px;padding:8px 12px;border-radius:9px;font-size:13px;font-weight:650;white-space:nowrap}
.buyer-header-actions .buyer-action-task{background:#102d50;color:#fff;border-color:#102d50}
.buyer-header-actions .buyer-action-checko{background:#eaf5ee;color:#17643a;border:1px solid #c5e3d0}
.buyer-header-actions .buyer-action-checko:hover{background:#dcf0e4}
.buyer-header-actions .buyer-action-ovp{background:#fff0f2;color:#a51c33;border:1px solid #f1c7ce}
.buyer-header-actions .buyer-action-sopr{background:#edf3fa;color:#183d65;border:1px solid #cfdeed}
.buyer-header-actions .buyer-manager-summary{display:flex;gap:6px;margin:0 0 0 auto}
.buyer-header-actions .buyer-manager-summary span{padding:7px 10px;font-size:12px;border:1px solid #e1e7ef}
.buyer-checko-source{margin:0;padding:0;gap:8px}
.buyer-checko-source>.muted{font-size:11px}
.buyer-support-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:34px 2px 10px;padding:0 2px 10px;border-bottom:1px solid #dfe7f1}
.buyer-support-heading>span{color:#738198;font-size:10px;font-weight:750;letter-spacing:1.2px}
.buyer-support-heading h2{margin:0;color:#102d50;font-size:20px}
#buyer-contacts .buyer-contact-list{margin:14px 0}
#buyer-contacts .buyer-add-contact{min-height:38px}
@media(max-width:720px){.buyer-header-actions{gap:6px;padding:8px}.buyer-header-actions>.btn{flex:1 1 auto}.buyer-header-actions .buyer-manager-summary{flex:1 1 100%;margin:0}.buyer-support-heading{align-items:start;flex-direction:column}}

/* Finance charts use INVICTA navy and crimson instead of registry-site colors. */
.buyer-finance-highlight{background:linear-gradient(125deg,#f5f8fc,#fff);border-color:#dfe7f1;border-top:3px solid #df1938}
.buyer-finance-year{color:#102d50}

.buyer-cases-cost-note{display:block;color:#64758a;line-height:1.45;font-size:11px}
