/* CCC components and price lists — navy, restrained magenta, existing portal surfaces. */
.cp-card{margin:20px 0;scroll-margin-top:24px;overflow:hidden}
.cp-card:focus{outline:2px solid #efb8d3;outline-offset:3px}
.cp-cardhead{gap:18px;align-items:center;flex-wrap:wrap}
.cp-cardhead h2{display:flex;align-items:center;gap:10px;margin:5px 0 7px;font-size:21px}
.cp-card h2 svg,[data-cp="jump"] svg,.cp-empty-icon svg{width:21px;height:21px;flex:none}
[data-cp="jump"]{display:inline-flex;align-items:center;gap:7px}
.cp-eyebrow{display:block;color:#627589;font-size:11px;font-weight:600;letter-spacing:.055em;line-height:1.5}
.cp-count{font-size:12px;font-weight:600;background:#eef2f6;color:#27496f;border-radius:12px;padding:2px 8px}
.cp-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.cp-toolbar{display:flex;align-items:center;gap:16px;padding:14px 22px;border-bottom:1px solid #e6e1da;flex-wrap:wrap}
.cp-search{flex:1;min-width:230px}.cp-search input{width:100%;min-height:39px}
.cp-check{display:flex;align-items:center;gap:8px;font-size:13px;color:#596d80;cursor:pointer}
.cp-check input,.cp-table input[type="checkbox"]{width:16px;height:16px;min-height:0;accent-color:#27496f;margin:0;flex:none}
.cp-table-scroll{width:100%;overflow:auto;scrollbar-gutter:stable;scrollbar-color:#a5b3bd #f4f1ed}
#cpRows>.cp-table-scroll{max-height:440px}
#cpRows .cp-table thead th{position:sticky;top:0;z-index:1}
.cp-search .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.cp-table{width:100%;border-collapse:collapse;font-size:13px;min-width:850px}
.cp-table th{background:#f6f4f1;color:#65778b;padding:11px 16px;font-weight:600;font-size:11px;text-align:left;letter-spacing:.02em;border-bottom:1px solid #e4dfd8}
.cp-table td{padding:13px 16px;vertical-align:middle;border-bottom:1px solid #ebe7e1;color:#243d53;line-height:1.45}
.cp-table th:first-child,.cp-table td:first-child{padding-left:22px}
.cp-table td:first-child{max-width:340px;min-width:210px}
.cp-table small{display:block;color:#738396;font-size:11px;font-weight:400;margin-top:5px;overflow-wrap:anywhere}
.cp-table td:last-child{white-space:nowrap}.cp-table td:last-child button+button{margin-left:6px}
.cp-table .cp-numeric{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.cp-table .btn{font-size:12px;padding:7px 10px;min-height:32px}
.cp-row-title{border:0;background:none;padding:0;font:inherit;font-weight:600;color:#27496f;text-align:left;cursor:pointer;line-height:1.45}
.cp-row-title:hover{text-decoration:underline}.cp-row-title:focus-visible{outline:2px solid #b8005c;outline-offset:3px}
.cp-dot{margin:0 7px;color:#b3bac1}.cp-missing{display:inline-block;font-size:11px;padding:3px 7px;border:1px solid #efb8d3;border-radius:5px;background:#fff0f7;color:#b8005c;font-weight:400}
.cp-credit strong{color:#b8005c}.cp-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 22px;background:#faf9f7;border-top:1px solid #e6e1da;font-size:13px}
.cp-summary strong{font-size:20px;color:#27496f;font-variant-numeric:tabular-nums;white-space:nowrap}.cp-summary small{display:block;font-size:11px;color:#778594;margin-top:4px}
.cp-pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 22px;font-size:12px;color:#67798a}
.cp-pagination>div{display:flex;align-items:center;gap:12px}.cp-pagination .btn{padding:5px 9px;min-height:29px}
.cp-card button:disabled,.cp-modal button:disabled{opacity:.45;cursor:not-allowed}
.cp-empty-state{padding:30px 25px;display:flex;gap:18px;align-items:flex-start}.cp-empty-state h3{margin:0 0 6px;font-size:17px}.cp-empty-state p{margin:0 0 17px;font-size:13px;color:#687b8b;max-width:680px;line-height:1.6}
.cp-empty-icon{width:45px;height:45px;border-radius:12px;background:#eef2f6;color:#27496f;display:grid;place-items:center;flex:none}
.cp-empty{text-align:center;padding:25px!important;color:#708090!important}
.cp-fields-note{padding:12px 22px;color:#576e83;font-size:12px;border-top:1px solid #ebe7e1;line-height:1.7}.cp-fields-note span{color:#81909c;margin-left:12px}
.cp-sources{padding:13px 22px;border-top:1px solid #ebe7e1;font-size:12px}.cp-sources summary{cursor:pointer;color:#27496f;font-weight:600}.cp-sources summary span{margin-left:8px;color:#778594}.cp-sources a{display:block;margin:12px 0;color:#27496f;overflow-wrap:anywhere}.cp-sources a span{color:#758494}
.cp-modal{color:#243d53}.cp-modal h1{font-size:25px;margin:7px 0 9px;line-height:1.3;overflow-wrap:anywhere}.cp-modal p{line-height:1.6}.cp-lead{color:#687b8b;font-size:14px;margin:0 0 23px}.cp-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.cp-form-grid .field:has([name="description"]){grid-column:span 2}
.cp-modal .field{display:flex;flex-direction:column;gap:7px;color:#536a7d;font-size:12px;font-weight:600}.cp-modal input:not([type="checkbox"]),.cp-modal select,.cp-modal textarea{width:100%;box-sizing:border-box;border:1px solid #dcd8d1;border-radius:7px;background:#fff;padding:10px 11px;min-height:41px;color:#243d53;font-family:inherit;font-size:14px;font-weight:400;line-height:1.4}.cp-modal input:focus,.cp-modal select:focus,.cp-modal textarea:focus{outline:2px solid #c8d5e2;outline-offset:1px}
.cp-full{margin-top:16px}.cp-help{color:#748393;font-size:12px;margin:16px 0;max-width:900px}.cp-dialog-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:22px;padding-top:17px;border-top:1px solid #e9e5de;flex-wrap:wrap}
.cp-error{padding:12px 14px;border:1px solid #efb8d3;background:#fff0f7;color:#b8005c;border-radius:7px;font-size:13px}
.cp-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 25px;margin:20px 0}.cp-facts dt{font-size:12px;color:#778594;margin-bottom:6px}.cp-facts dd{font-size:15px;margin:0;overflow-wrap:anywhere}.cp-note{white-space:pre-wrap;font-size:14px;background:#f6f4f1;padding:15px;border-radius:8px}.cp-provenance{background:#f6f8fa;border:1px solid #e0e5eb;border-radius:8px;padding:15px;font-size:13px}.cp-provenance p{margin:5px 0;overflow-wrap:anywhere}.cp-provenance small{display:block;color:#758494;margin-top:9px}.cp-provenance a{color:#27496f}
dialog:has(.cp-modal){width:min(940px,calc(100vw - 48px));max-width:1100px}
dialog:has(.cp-import-modal){width:min(1100px,calc(100vw - 48px))}
.cp-file{display:block;border:1px dashed #91a9be;border-radius:10px;background:#f4f7fa;padding:25px;color:#27496f;font-weight:600}.cp-file input{margin-top:15px;background:#fff!important}.cp-upload-status{font-size:13px;color:#64798a}
.cp-import-controls{display:grid;grid-template-columns:2fr 1fr 2fr;gap:16px;margin-bottom:15px}.cp-mapping{margin:12px 0;border:1px solid #e4e1db;border-radius:8px;padding:13px 16px}.cp-mapping summary{cursor:pointer;font-size:13px;color:#27496f;font-weight:600}.cp-mapping[open] summary{margin-bottom:16px}.cp-mapping .cp-table{min-width:600px}.cp-mapping .cp-table td{min-width:80px;max-width:250px;white-space:normal}
.cp-import-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0;font-size:12px;color:#65798c}.cp-import-errors{background:#fff0f7;color:#9c155b;border:1px solid #efb8d3;border-radius:8px;padding:13px 16px;font-size:12px;margin:12px 0}.cp-import-errors summary{cursor:pointer;font-weight:600}.cp-import-errors ul{padding-left:20px;max-height:170px;overflow:auto;line-height:1.8}.cp-import-errors .cp-check{color:#9c155b}.cp-preview-table{max-height:430px;border:1px solid #e5e1da;border-radius:8px}.cp-preview-table .cp-table th{position:sticky;top:0;z-index:1}.cp-preview-table .cp-table td:first-child{min-width:0;padding:10px}.cp-preview-table .cp-table td:nth-child(3){min-width:220px;max-width:330px}.cp-preview-table .cp-table td{padding:10px 12px}.cp-duplicate{opacity:.55;background:#f8f7f5}
@media(max-width:760px){.cp-form-grid,.cp-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-form-grid .field:has([name="description"]){grid-column:1/-1}.cp-import-controls{grid-template-columns:1fr}.cp-cardhead,.cp-toolbar{padding:17px}.cp-summary,.cp-pagination{padding:12px 17px}.cp-search{min-width:100%}.cp-table{min-width:800px}.cp-cardhead h2{font-size:19px}.cp-modal h1{font-size:22px}.cp-import-bar{align-items:flex-start;flex-direction:column}}
@media(max-width:450px){.cp-form-grid,.cp-facts{grid-template-columns:1fr}.cp-empty-state{padding:22px 17px}.cp-empty-icon{display:none}.cp-summary strong{font-size:17px}.cp-pagination{gap:8px;flex-wrap:wrap}.cp-dialog-actions .btn{flex:1}}
.pv-body{padding:0 20px 20px}.pv-fields,.pv-zones{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.pv-field{padding:5px 9px;border:1px solid #cdd8df;background:#f2f5f7;border-radius:5px;color:#27496f;font:inherit;font-size:13px}.pv-field[draggable]{cursor:grab}.pv-zones{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr))}.pv-zone{padding:12px;border:1px dashed #9eafbc;border-radius:7px;display:flex;gap:7px;align-content:flex-start;flex-wrap:wrap}.pv-zone strong,.pv-zone select{width:100%}.pv-zone select{margin-top:4px}#pivotReport summary{cursor:pointer}#pivotReport .cp-table{min-width:0}#pivotReport th{position:sticky;top:0}
/* Price files and offers use the established card, form and table components. */
.pr-books{margin:12px 18px}.pr-books>p{margin:5px 0 10px;color:var(--ink-muted);font-size:.83rem}
.pr-source{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 0;border-top:1px solid var(--border)}
.pr-source>div{min-width:0;overflow-wrap:anywhere}.pr-source small{display:block;color:var(--ink-muted);font-size:.75rem;margin-top:3px}
.pr-source .btn{flex-shrink:0}.pr-pending{color:var(--magenta,#ba0061);background:#fff0f6}
.pr-line{border:1px solid var(--border);border-radius:8px;padding:12px;margin:12px 0}.pr-line legend{padding:0 6px;font-size:.82rem;color:var(--ink-muted)}
.pr-workbook-scroll{max-height:52vh;overflow:auto;scrollbar-gutter:stable;scrollbar-width:auto}
.pr-workbook-table{width:max-content;min-width:100%;table-layout:auto}.pr-workbook-table td{min-width:105px;max-width:330px;white-space:normal;overflow-wrap:anywhere}
.pr-workbook-table thead{position:sticky;top:0;z-index:1;background:var(--surface)}
.pr-workbook-table th[scope=row]{position:sticky;left:0;background:var(--surface);color:var(--ink-muted)}
.pr-workbook-table .pr-credit-row td{background:#fff0f6;color:var(--magenta,#ba0061)}
.pr-price-pending{margin:8px 18px}#prOffers{scroll-margin-top:16px}
@media(max-width:700px){.pr-source{align-items:flex-start;flex-direction:column}.pr-workbook-scroll{max-height:48vh}}

/* Native article list: retain the established light blue surface and compact controls. */
.ac-preview{margin:14px 20px 20px;padding:16px;background:#f6f8fa;border:1px solid #dce4eb;border-radius:8px;min-width:0}
.ac-preview-title{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap;margin-bottom:15px;font-size:14px}.ac-preview-title span{font-size:12px;color:#738396}
.ac-area{min-width:0}.ac-filters{display:grid;grid-template-columns:minmax(200px,1.7fr) minmax(180px,1.25fr) minmax(120px,.75fr) minmax(140px,1fr);gap:12px;margin-bottom:12px}
.ac-area .field{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:12px;font-weight:500;color:#536a7d}
.ac-area input:not([type=checkbox]),.ac-area select{box-sizing:border-box;min-width:0;max-width:100%;width:100%;padding:8px 10px;min-height:36px;border:1px solid #dcd8d1;background:#fff;border-radius:7px;font:inherit;font-size:13px;line-height:1.4;color:#243d53}
.ac-area input:focus-visible,.ac-area select:focus-visible{outline:2px solid #96b4ce;outline-offset:1px}
.ac-sourcebar{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:14px;font-size:12px}.ac-sourcebar>.field{flex:1;max-width:55%}.ac-sourcebar .cp-actions{flex-shrink:0}
.ac-export-format{max-width:140px}.ac-export-format .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.ac-table-scroll{max-height:455px;overflow:auto;border:1px solid #dce4eb;border-radius:7px;background:#fff;scrollbar-color:#a5b3bd #f4f1ed;scrollbar-gutter:stable}
.ac-table{table-layout:fixed;min-width:830px}.ac-table .ac-check-col{width:38px}.ac-table .ac-qty-col{width:74px}.ac-table .ac-price-col{width:125px}.ac-table .ac-discount-col{width:76px}.ac-table .ac-total-col{width:138px}.ac-table .ac-action-col{width:86px}
.ac-table th{position:sticky;top:0;z-index:2;white-space:normal;line-height:1.4;background:#f1f4f7}
.ac-table td,.ac-table th{padding:10px 12px}.ac-table td:first-child,.ac-table th:first-child{padding:10px;min-width:0;max-width:none}
.ac-table td:nth-child(2){overflow-wrap:anywhere}.ac-table .cp-row-title{font-weight:500;line-height:1.4}.ac-table small{margin-top:3px;line-height:1.4}.ac-table .cp-missing{margin-top:5px}
.ac-table .ac-total{position:sticky;right:86px;background:#fff;border-left:1px solid #edf0f2}.ac-table th.ac-total{background:#f1f4f7;z-index:3}
.ac-table td:last-child,.ac-table th:last-child{position:sticky;right:0;background:#fff}.ac-table th:last-child{background:#f1f4f7;z-index:3}
.ac-table tr:hover td{background:#f8fafb}.ac-credit td.ac-total{color:#b8005c;background:#fff7fb}.ac-table input[type=checkbox]{cursor:pointer}
.ac-selection{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 2px 4px;font-size:12px;color:#64798a;flex-wrap:wrap}.ac-selection>span{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ac-selection strong{font-size:16px;font-weight:600;color:#27496f;white-space:nowrap}.ac-selection small{color:#9d245f}
.ac-pagination{padding:8px 0 0;flex-wrap:wrap}.ac-pagination label{display:flex;gap:7px;align-items:center;white-space:nowrap}.ac-pagination select{width:64px;min-height:30px;padding:4px 7px}.ac-pagination>div{gap:9px}
.ac-sources{padding:0 20px 18px;font-size:12px;color:#738396}.ac-sources summary{color:#27496f;cursor:pointer;font-weight:500}.ac-sources p{max-width:900px;line-height:1.6}.ac-sources a{display:block;overflow-wrap:anywhere;margin:8px 0}.ac-sources .cp-actions{margin-top:12px}
dialog:has(.ac-expanded){box-sizing:border-box;width:min(1220px,calc(100vw - 32px));max-width:none;height:min(850px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);overflow:hidden}
dialog:has(.ac-expanded.is-fullscreen){width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}
#modalBody:has(.ac-expanded){box-sizing:border-box;display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden;padding:22px}
.ac-expanded{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}.ac-dialog-head{display:flex;justify-content:space-between;gap:14px;align-items:center;flex:none;padding-bottom:16px}.ac-dialog-head h1{font-size:23px;margin:0 0 4px}.ac-dialog-head p{font-size:12px;color:#738396;margin:0}
.ac-area-expanded{display:flex;flex-direction:column;flex:1;min-height:0}.ac-area-expanded>[data-ac-controls],.ac-area-expanded>[data-ac-footer]{flex:none}.ac-area-expanded>[data-ac-rows]{flex:1;min-height:110px;overflow:hidden}.ac-area-expanded .ac-table-scroll{height:100%;max-height:none;box-sizing:border-box}
.ac-editor{flex:none;max-height:58%;overflow:auto;background:#f6f8fa;border:1px solid #dce4eb;border-radius:8px;padding:18px;margin-bottom:12px}.ac-editor[hidden]{display:none}.ac-editor h1{font-size:20px}.ac-editor .cp-lead{font-size:13px;margin-bottom:16px}.ac-editor .cp-form-grid{gap:12px}.ac-editor .cp-dialog-actions{margin-top:12px;padding-top:12px}.ac-detail-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.ac-detail-head h2{margin:0;font-size:18px}.ac-details .cp-facts{margin:15px 0;gap:16px}.ac-details .cp-facts dd{font-size:13px}
dialog:has(.ac-expanded){padding:0}
#modalBody:has(.ac-expanded){padding:22px 24px}
.ac-expanded .ac-dialog-head{padding-top:8px;padding-bottom:13px;padding-right:20px}
.ac-filters .field,.ac-sourcebar .field{margin:0;line-height:1.4}
.ac-area .ac-filters input,.ac-area .ac-filters select,.ac-area .ac-sourcebar select{margin:0;min-height:36px}
.ac-area-expanded:has(.ac-editor:not([hidden]))>[data-ac-rows],.ac-area-expanded:has(.ac-editor:not([hidden]))>[data-ac-footer]{display:none}
.ac-area-expanded:has(.ac-editor:not([hidden]))>.ac-editor{flex:1;min-height:0;max-height:none;margin-bottom:0}
@media(max-width:1000px){.ac-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ac-sourcebar{flex-wrap:wrap}.ac-sourcebar>.field{max-width:100%;min-width:250px}.ac-dialog-head{align-items:flex-start}.ac-dialog-head .cp-actions{justify-content:flex-end}.ac-expanded .ac-sourcebar{margin-bottom:9px}}
@media(max-width:650px){.ac-preview{margin:12px;padding:12px}.ac-filters{gap:8px}.ac-filters .ac-search{grid-column:1/-1}.ac-sourcebar{gap:9px}.ac-sourcebar>.field{width:100%;flex-basis:100%}.ac-sourcebar .cp-actions{gap:6px;flex-wrap:wrap}.ac-preview-title span{display:none}.ac-dialog-head{flex-direction:column;gap:9px}.ac-dialog-head .cp-actions{justify-content:flex-start}.ac-dialog-head h1{font-size:20px}#modalBody:has(.ac-expanded){padding:14px}.ac-pagination>div{gap:6px}.ac-editor{padding:12px;max-height:65%}.ac-table{min-width:830px}}
