/* Shared selector preserves the single-campaign composer; the matrix scrolls independently. */
.ofmu-shell,.ofmu-host,.ofmu-workspace{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;overflow:hidden}
.ofmu-shell{color:#e2e8f0;font-size:.78rem}
.ofmu-shell [hidden]{display:none!important}
.ofmu-mode-bar{display:flex;align-items:center;gap:8px;flex:none;padding-bottom:9px;margin-bottom:8px;border-bottom:1px solid #2c3851}
.ofmu-mode-bar>span{color:#aebed6;margin-right:3px;font-size:.72rem}
#ofw-composer .ofmu-mode-bar .ofw-button{font-size:.72rem;padding:6px 10px}
.ofmu-mode-bar [aria-pressed=true]{background:#2d3765;border-color:#8e9cec;color:#e0e7ff}
.ofmu-scroll{flex:1;min-height:0;overflow:auto;scrollbar-gutter:stable;padding-right:3px}
.ofmu-source-panel{border:1px solid #354761;border-radius:7px;padding:8px 10px;margin-bottom:9px;background:#121d30}
.ofmu-source-panel>summary{cursor:pointer;color:#c2d4ef;font-size:.71rem;overflow-wrap:anywhere}
.ofmu-source-panel>summary strong{font-weight:600}
.ofmu-source-panel>summary small{color:#8fa6c5;font-size:.64rem;margin-left:9px}
.ofmu-source-panel[open]>summary{margin-bottom:10px}
.ofmu-source-panel .ofmu-saved{margin-bottom:2px}
.ofmu-intro,.ofmu-note{margin:2px 0 10px;color:#aebed4;line-height:1.5;font-size:.72rem}
.ofmu-note{font-size:.66rem;margin:7px 0 10px}
.ofmu-import-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ofmu-saved{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;margin:10px 0 14px;padding:10px;border:1px solid #2d3c54;border-radius:7px;background:#111d2f}
.ofmu-saved label{display:flex;flex:1;flex-direction:column;gap:4px;font-size:.68rem;min-width:220px;max-width:680px;color:#bacbe1}
#ofw-composer .ofmu-saved select{font-size:.72rem;max-width:100%;text-overflow:ellipsis}
.ofmu-filename{display:block;font-size:.74rem;color:#c4d6ef;overflow-wrap:anywhere;margin-bottom:10px}
#ofw-composer .ofmu-workspace h4{font-size:.77rem;margin:9px 0 6px}
.ofmu-campaigns{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px}
.ofmu-campaign{display:flex;align-items:flex-start;gap:8px;border:1px solid #35425d;border-radius:7px;background:#111a2b;padding:9px;cursor:pointer;min-width:0}
.ofmu-campaign-active{border-color:#546a9b;background:#192641}
.ofmu-campaign>span{min-width:0}
.ofmu-campaign strong{display:block;font-size:.74rem;line-height:1.4;overflow-wrap:anywhere}
.ofmu-campaign small{display:block;font-size:.65rem;color:#afbed4;margin-top:4px}
#ofw-composer .ofmu-shell input[type=checkbox]{width:15px;height:15px;flex:none;margin:2px 0 0;accent-color:#b3bcff}
.ofmu-row-tools{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;margin:10px 0}
.ofmu-row-tools label{display:flex;flex-direction:column;gap:4px;color:#b9c9de;font-size:.69rem;min-width:180px}
.ofmu-row-tools label:first-child{flex:1;max-width:440px}
.ofmu-row-tools>span{font-size:.65rem;color:#a7b7ce;margin-left:auto}
.ofmu-actions{background:#162139;border:1px solid #3c4c70;border-radius:8px;padding:10px;margin:7px 0}
.ofmu-action-scope{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.ofmu-action-scope label{display:flex;flex-direction:column;gap:4px;min-width:190px;font-size:.68rem;color:#bdcbe1}
.ofmu-action-scope span{margin-left:auto;font-size:.68rem;color:#b5c7e0;align-self:center}
.ofmu-action-buttons{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}
#ofw-composer .ofmu-workspace .ofw-button{font-size:.69rem;padding:6px 9px;line-height:1.3;min-height:29px}
#ofw-composer .ofmu-row-tools input,#ofw-composer .ofmu-row-tools select,#ofw-composer .ofmu-action-scope select{font-size:.72rem}
.ofmu-warning{background:#292415;color:#e6cf9b;border:1px solid #584b2f;border-radius:6px;padding:8px 10px;font-size:.68rem;line-height:1.45;overflow-wrap:anywhere}
.ofmu-matrix-scroll{max-height:54vh;overflow:auto;border:1px solid #35415a;border-radius:8px;background:#101827}
.ofmu-matrix{min-width:100%;width:max-content;table-layout:fixed}
#ofw-composer .ofmu-matrix th{font-size:.69rem;padding:9px;background:#19243c;vertical-align:top;white-space:normal}
.ofmu-matrix th>strong{display:block;line-height:1.4}
.ofmu-matrix th>small{display:block;font-size:.62rem;color:#aebfdb;line-height:1.4;margin-top:3px}
.ofmu-matrix .ofmu-pick{width:32px;min-width:32px;max-width:32px;position:sticky;left:0;background:#111c2e;z-index:2}
.ofmu-matrix th.ofmu-pick{z-index:5}
.ofmu-matrix .ofmu-product-col{width:260px;min-width:260px;max-width:260px;position:sticky;left:32px;z-index:5}
.ofmu-matrix .ofmu-campaign-col{width:290px;min-width:290px;max-width:290px}
#ofw-composer .ofmu-matrix td{padding:10px;font-size:.71rem;vertical-align:top;border-right:1px solid #2a3851}
#ofw-composer .ofmu-matrix .ofmu-product{width:260px;min-width:260px;max-width:260px;position:sticky;left:32px;background:#111c2e;z-index:2}
.ofmu-product>strong{display:block;white-space:normal;overflow-wrap:anywhere;font-size:.75rem;line-height:1.45}
#ofw-composer .ofmu-matrix .ofmu-product>small{font-size:.64rem;margin-top:4px}
.ofmu-price-reference{display:flex;gap:7px 13px;flex-wrap:wrap;margin:9px 0;color:#a7bbd7}
.ofmu-price-reference span{font-size:.65rem}
.ofmu-price-reference b{display:block;color:#caddf6;font-size:.74rem}
.ofmu-product details{font-size:.62rem;color:#a2b5ce;margin:7px 0}
.ofmu-product details summary,.ofmu-cell-warnings summary{cursor:pointer}
#ofw-composer .ofmu-product details small{font-size:.6rem;line-height:1.5;overflow-wrap:anywhere}
.ofmu-row-remove{margin-top:7px}
.ofmu-cell{width:290px;min-width:290px;max-width:290px;overflow-wrap:anywhere;background:#101827}
.ofmu-cell-ready{background:#102b29}
.ofmu-cell-blocked{background:#33251e}
.ofmu-participation{display:flex;gap:7px;align-items:center;font-size:.68rem;color:#adbfd9;cursor:pointer}
.ofmu-cell-ready .ofmu-participation{color:#9ce7bf}
.ofmu-cell-blocked .ofmu-participation{color:#f1c78a}
.ofmu-cell-price{font-size:.94rem;font-weight:700;margin:7px 0 3px;color:#c6d7f0;font-variant-numeric:tabular-nums}
.ofmu-cell-ready .ofmu-cell-price{color:#9be5bb}
.ofmu-cell-blocked .ofmu-cell-price{color:#fac68c}
#ofw-composer .ofmu-matrix .ofmu-recommended{color:#a8bad2;font-size:.64rem;margin:4px 0 7px}
.ofmu-cell-mode{display:flex;gap:4px;flex-direction:column;font-size:.63rem;color:#b6c6dd;margin-top:7px}
#ofw-composer .ofmu-cell-mode select{font-size:.67rem;max-width:100%}
.ofmu-manual{display:flex;gap:6px;margin-top:6px;align-items:center}
#ofw-composer .ofmu-manual input{min-width:0;width:96px;flex:1;font-size:.71rem}
#ofw-composer .ofmu-manual input.ofmu-dirty{border-color:#e4b65e;background:#302918}
#ofw-composer .ofmu-manual .ofw-button{font-size:.62rem;white-space:nowrap;padding:6px}
#ofw-composer .ofmu-matrix .ofmu-cell-issues{display:block;font-size:.64rem;line-height:1.45;color:#f1bf86;margin-top:7px}
.ofmu-source-error{padding:8px;border:1px solid #775344;border-radius:5px;background:#30221f;color:#e9bda0;font-size:.64rem;line-height:1.45}
.ofmu-source-error strong{display:block;margin-bottom:4px}
.ofmu-cell-warnings{margin-top:7px;color:#d4c4a6;font-size:.63rem}
#ofw-composer .ofmu-cell-warnings small{font-size:.62rem;line-height:1.45;color:#d4c4a6}
.ofmu-footer{flex:none;padding:9px 11px;border:1px solid #4c5d84;border-radius:8px;background:#18253e;margin-top:9px;font-size:.71rem;line-height:1.4}
.ofmu-footer>strong{color:#c9dcf9;font-size:.74rem;display:block}
.ofmu-footer p{margin:5px 0 0;font-size:.69rem;overflow-wrap:anywhere}
#ofmu-feedback{color:#a2e8bf}
#ofmu-error,#ofmu-stale{color:#fac796}
.ofmu-footer-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:7px;flex-wrap:wrap}
.ofmu-draft-notice{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px;padding-top:7px;border-top:1px solid #5a5141;color:#f2d392;font-size:.68rem}
#ofw-composer .ofmu-draft-notice .ofw-button{font-size:.63rem;flex:none}
.ofmu-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}
@media(max-width:700px){.ofmu-mode-bar{gap:6px;flex-wrap:wrap}.ofmu-mode-bar>span{font-size:.67rem}.ofmu-campaigns{grid-template-columns:1fr}.ofmu-row-tools label{min-width:140px;flex:1}.ofmu-row-tools label:first-child{max-width:none;flex-basis:100%}.ofmu-saved label{min-width:100%;max-width:100%}.ofmu-action-scope label{min-width:140px;flex:1}.ofmu-action-scope span{margin-left:0;flex-basis:100%}.ofmu-action-buttons>.ofw-button{flex:1}.ofmu-matrix .ofmu-product-col,.ofmu-matrix .ofmu-product{position:static!important;left:auto;width:220px;min-width:220px;max-width:220px}.ofmu-matrix .ofmu-pick{position:static}.ofmu-footer-actions>.ofw-button{flex:1}.ofmu-matrix-scroll{max-height:55vh}.ofmu-footer>strong{font-size:.69rem}.ofmu-intro{font-size:.69rem}}
