.compare-workbench{color:#183440;display:grid;gap:20px;min-width:0;font-size:15px}.cmp-hero{background:#003153;border-top:4px solid #f3d27a;color:#fff;padding:24px 28px;border-radius:14px;display:flex;justify-content:space-between;gap:20px;align-items:center}.cmp-hero h2{font-size:28px;margin:8px 0}.cmp-hero p,.cmp-hero>span{color:#d6e6e9;line-height:1.7}.cmp-hero small{letter-spacing:2px;color:#f3d27a}.cmp-panel{background:#fff;border:1px solid #d8e2df;border-radius:12px;padding:20px;min-width:0}.cmp-panel>header,.cmp-calculation>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}.cmp-panel h3{font-size:20px;margin:0}.cmp-panel>header>span{color:#60747b;font-size:14px}.compare-workbench label,.cmp-dialog label{display:grid;gap:7px;min-width:0;font-size:14px;font-weight:600}.compare-workbench :is(input,select),.cmp-dialog :is(input,select){width:100%;min-width:0;padding:10px;border:1px solid #bfcfcd;border-radius:6px;background:#fff;color:#183440;font-size:15px;box-sizing:border-box}.compare-workbench input[type=checkbox],.cmp-dialog input[type=checkbox]{width:18px;height:18px;accent-color:#800020;flex-shrink:0}.compare-workbench button,.cmp-dialog button{min-height:38px;cursor:pointer}.compare-workbench button:disabled,.cmp-dialog button:disabled{cursor:default;opacity:.55}.cmp-saved{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.cmp-saved>label{flex:1;min-width:180px}.cmp-saved>span{width:100%;color:#60747b;font-size:13px}.cmp-search{display:grid;grid-template-columns:2fr 100px 120px 1fr 1fr;gap:12px;margin-bottom:15px}.cmp-catalog summary{font-weight:600;cursor:pointer;padding:10px 0}.cmp-catalog summary span{color:#60747b;font-size:13px;font-weight:400;margin-left:12px}#cmp-results{max-height:280px;overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:4px}#cmp-results>button{padding:12px;text-align:left;border:1px solid #d8e2df;border-radius:8px;background:#f8faf9;display:flex;flex-direction:column;gap:7px;min-width:0;overflow-wrap:anywhere}#cmp-results>button:hover{border-color:#008c8c;background:#edf6f4}#cmp-results strong{font-size:15px}#cmp-results small{font-size:12px;color:#60747b}#cmp-results span{color:#008080;font-size:13px}#cmp-selected{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.cmp-selected-item{border:1px solid #d8e2df;border-left:4px solid #003153;border-radius:8px;padding:14px;min-width:0}.cmp-selected-title{display:flex;align-items:center;gap:9px}.cmp-selected-title label{display:flex;align-items:center;gap:5px}.cmp-selected-title strong{flex:1;font-size:15px;overflow-wrap:anywhere}.cmp-selected-title input[type=color]{width:28px;height:28px;min-width:28px;padding:1px}.cmp-selected-item p{font-size:13px;color:#60747b;line-height:1.7;margin:10px 0;overflow-wrap:anywhere}.cmp-selected-item summary{cursor:pointer;color:#003153;font-size:13px}.cmp-inline{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.cmp-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.cmp-controls>label{flex:1;min-width:150px}.cmp-note{color:#60747b;font-size:13px;line-height:1.75;margin:12px 0;overflow-wrap:anywhere}.cmp-warning,#cmp-notice:not(:empty){padding:12px 15px;border-left:3px solid #b48628;background:#fcf6e5;color:#735417;font-size:14px;line-height:1.7;margin:12px 0;overflow-wrap:anywhere}.cmp-empty{text-align:center;color:#60747b;padding:30px 16px;line-height:1.8;grid-column:1/-1}.cmp-chart-card{min-width:0;margin-top:16px}.cmp-chart-card h4{font-size:17px;margin:0;padding:8px 0}.cmp-chart{height:390px;width:100%;min-width:0}.cmp-calculation{padding:18px;border:1px solid #d8e2df;border-top:3px solid #008c8c;border-radius:10px;margin-top:18px;min-width:0}.cmp-calculation h4{font-size:18px;margin:0}.cmp-calculation details{margin-top:15px;font-size:13px;line-height:1.7}.cmp-calculation summary{cursor:pointer;font-weight:600}.cmp-calculation .cmp-chart-card h4{font-size:16px}.cmp-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;background:#f3f7f6;border-radius:8px;padding:15px}.cmp-stats span{font-size:12px;color:#60747b;overflow-wrap:anywhere}.cmp-stats b{display:block;color:#003153;font-size:20px;margin-top:7px;font-variant-numeric:tabular-nums}.cmp-table-scroll{overflow:auto;max-width:100%;max-height:510px}.cmp-table-scroll table{width:100%;border-collapse:collapse;font-size:13px}.cmp-table-scroll th{position:sticky;top:0;background:#edf3f3;min-width:160px;max-width:260px;white-space:normal;color:#003153;z-index:1;text-align:left}.cmp-table-scroll :is(th,td){padding:12px;border-bottom:1px solid #e2e9e7}.cmp-table-scroll td{font-variant-numeric:tabular-nums;white-space:nowrap}.cmp-table-scroll small{display:block;color:#60747b;margin-top:5px}.cmp-pagination{display:flex;justify-content:center;gap:16px;align-items:center;margin-top:16px;font-size:13px}.cmp-dialog{width:min(720px,calc(100vw - 28px));max-height:calc(100dvh - 32px);border:1px solid #d8e2df;border-radius:12px;padding:24px;color:#183440;background:white;overflow:auto}.cmp-dialog::backdrop{background:#142b3e88}.cmp-dialog form{display:grid;gap:16px}.cmp-dialog header,.cmp-dialog footer{display:flex;justify-content:space-between;align-items:center;gap:10px}.cmp-dialog header button{font-size:26px;border:0;background:none;color:#60747b}.cmp-dialog h3{font-size:22px;margin:0}.cmp-dialog footer{justify-content:flex-end;position:sticky;bottom:-24px;background:#fff;padding:14px 0}.cmp-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cmp-dialog [data-projection]{display:grid;gap:14px}.cmp-dialog .cmp-check{display:flex;align-items:flex-start;gap:10px;font-weight:400;line-height:1.7}.cmp-dialog [hidden]{display:none!important}.compare-workbench :is(input,select,button):focus-visible,.cmp-dialog :is(input,select,button):focus-visible{outline:2px solid #008c8c;outline-offset:2px}
/* Content-sized indicator cards: never stretch short labels across the row. */
.compare-workbench #cmp-results,.compare-workbench #cmp-selected{display:flex;flex-wrap:wrap;align-items:flex-start;align-content:flex-start}
.compare-workbench #cmp-results>button{flex:0 1 auto;width:max-content;max-width:min(420px,100%);box-sizing:border-box}
.compare-workbench #cmp-selected>.cmp-selected-item{flex:0 1 auto;width:fit-content;max-width:min(480px,100%);box-sizing:border-box}
.compare-workbench #cmp-selected>.cmp-empty,.compare-workbench #cmp-results>.cmp-empty{flex-basis:100%}
.compare-workbench .cmp-shift-example{padding:14px 16px;background:#eef7f4;border-left:4px solid #008c8c;color:#003153;font-size:16px;font-weight:600;line-height:1.8;overflow-wrap:anywhere}
@media(max-width:1100px){.cmp-search{grid-template-columns:repeat(2,minmax(0,1fr))}.cmp-search>label:first-child{grid-column:1/-1}.cmp-hero{align-items:flex-start;flex-direction:column}#cmp-selected{grid-template-columns:1fr}}
@media(max-width:640px){.compare-workbench{gap:14px}.cmp-panel{padding:14px}.cmp-hero{padding:20px}.cmp-hero h2{font-size:25px}#cmp-results{grid-template-columns:1fr;max-height:250px}.cmp-selected-title{flex-wrap:wrap}.cmp-selected-title strong{flex-basis:65%}.cmp-inline{grid-template-columns:1fr}.cmp-controls>label{min-width:130px}.cmp-controls>button{width:100%}.cmp-chart{height:330px}.cmp-calculation{padding:12px}.cmp-stats{grid-template-columns:1fr 1fr}.cmp-stats b{font-size:18px}.cmp-dialog{padding:16px}.cmp-dialog footer{bottom:-16px}.cmp-form-grid{grid-template-columns:1fr}.cmp-saved>label{min-width:100%;width:100%}.cmp-panel h3{font-size:18px}.cmp-pagination{gap:8px}}
