/* Style-level management keeps the established desktop palette and drawer motion. */
.cm-style-actions{display:flex;gap:6px}.cm-style-actions .btn{font-size:11px;padding:8px 11px;white-space:nowrap}.cm-style-summary{display:block;font-size:10px;color:#8a9bad;margin-top:8px}.cat-style-title{min-width:150px}.cat-style-meta{min-width:135px}.cat-style-head{gap:10px}.cm-body{background:#fbfcfe}.cm-body .helper{font-size:11px;line-height:1.8}.cm-panel{background:white;border:1px solid #e1e8f0;border-radius:6px;padding:18px;margin:0 0 16px}.cm-panel h3{font-size:13px;margin:0 0 12px;color:#526d88}.cm-panel h3 small{font-size:10px;color:#8b9caf;margin-left:8px;font-weight:400}.cm-panel h4{font-size:11px;color:#6c839a;margin:10px 0}.cm-panel .fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.cm-body .field{min-width:0}.cm-body .field input,.cm-body .field select,.cm-body textarea{width:100%;min-width:0}.cm-body .field span{font-size:11px}.cm-body .field input:disabled{background:#f4f7fa;color:#8697aa}.cm-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.cm-toolbar h3,.cm-toolbar p{margin:0}.cm-toolbar .btn{font-size:11px;white-space:nowrap}.cm-member-table{max-height:440px;overflow:auto}.cm-body .cat-table{min-width:0;width:100%;table-layout:fixed}.cm-body .cat-table th,.cm-body .cat-table td{padding:10px;min-width:0;max-width:none;white-space:normal;overflow-wrap:anywhere}.cm-member-table th:first-child{width:49%}.cm-member-table .field>span{display:none}.cm-member-table .field select,.cm-member-table .field input{font-size:11px;padding:8px}.cm-part-row,.cm-fee-row,.cm-delta-row,.cm-tier-main{display:grid;align-items:end;gap:10px;margin-bottom:12px}.cm-part-row{grid-template-columns:1.4fr 1fr 65px}.cm-fee-row{grid-template-columns:1.3fr .8fr 1fr 65px}.cm-delta-row{grid-template-columns:1.4fr 1fr 48px}.cm-tier-main{grid-template-columns:repeat(4,minmax(0,1fr)) 75px}.cm-tier-main:has(> :nth-child(3):last-child){grid-template-columns:1fr 1fr 75px}.cm-part-row .btn,.cm-fee-row .btn,.cm-delta-row .btn,.cm-tier-main .btn{padding:8px 5px;font-size:10px;height:36px}.cm-tier{border:1px solid #e4ebf2;padding:14px;border-radius:5px;margin:10px 0;background:#fafcfe}.cm-deltas{display:grid;grid-template-columns:1fr 1fr;gap:20px}.cm-deltas .btn{font-size:10px}.cm-delta-row .field span{font-size:10px}.cm-delta-row input,.cm-delta-row select{padding:8px;font-size:11px}.cm-members{display:grid;grid-template-columns:1fr 1fr;max-height:240px;overflow:auto;gap:6px}.cm-members label{display:flex;align-items:flex-start;gap:9px;border:1px solid #e7edf4;padding:10px;border-radius:4px;cursor:pointer}.cm-members input,.cm-confirm input{width:14px!important;height:14px;margin-top:2px;accent-color:#5c7fa3}.cm-members b{font-size:11px;font-weight:500}.cm-members small{display:block;font-size:10px;color:#91a0b0;line-height:1.6;margin-top:4px}.cm-members label:has(input:checked){background:#f0f5fa;border-color:#bcd0e4}.cm-confirm{display:flex;align-items:center;gap:8px;font-size:12px;color:#647c94}.cm-body summary{font-size:11px;color:#66829d;cursor:pointer;padding:8px 0}.cm-member-tags{display:flex;gap:6px;flex-wrap:wrap;padding:8px 0}.cm-member-tags span{font-size:10px;border-radius:3px;background:#f2f6fa;padding:5px 7px}.cm-estimate{display:grid;grid-template-columns:1.5fr .7fr;gap:12px;border-top:1px solid #e7edf3;margin-top:10px;padding-top:15px}.cm-estimate output{grid-column:1/-1;margin:0;background:#f0f5fa;border-radius:4px;padding:10px;color:#506c87}.cm-quote .cat-table td:nth-child(2){font-weight:600;color:#4a6b8d}.cm-quote .cm-toolbar h3{margin:0}.cat-commercial .btn{font-size:10px;margin:7px 0}.cm-panel details>.cm-toolbar{margin-top:10px}.cm-panel details>.cm-toolbar .field{flex:1}

/* Compact shared-weight entry: refill type, value and unit on one line. */
.cm-shared-weight{display:flex;align-items:center;gap:18px;width:fit-content;max-width:100%;padding:11px 15px}.cm-shared-weight h3{margin:0;padding-right:18px;border-right:1px solid #e1e8f0;white-space:nowrap;flex-shrink:0}.cm-weight-fields{display:flex;flex-wrap:wrap;gap:12px 30px}.cm-body .cm-weight-entry{display:flex;flex-direction:row;align-items:center;gap:14px;margin:0}.cm-body .cm-weight-entry span{margin:0}.cm-weight-kind{color:#748aa0;white-space:nowrap}.cm-body .cm-weight-control{display:inline-flex;align-items:center;gap:8px}.cm-body .cm-weight-entry input{width:88px;height:34px;padding:7px 10px;font-variant-numeric:tabular-nums}.cm-body .cm-weight-unit{font-size:12px;color:#6e8399;white-space:nowrap}
