/* The reusable TikTok catalog shares the promotion composer's compact layout. */
#ofc-bulk-content[hidden]{display:none!important}
#ofw-composer-body:has(>#ofc-bulk-content:not([hidden])){display:flex;flex-direction:column;overflow:hidden}
#ofc-bulk-content:not([hidden]){display:flex;flex:1;min-height:0;overflow:hidden}
.ofb-workspace{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;color:#e2e8f0;font-size:.8rem}
.ofb-workspace [hidden]{display:none!important}
#ofw-composer .ofb-steps{flex:none;gap:20px;padding-bottom:9px;margin-bottom:10px;font-size:.76rem}
.ofb-current-step{font-weight:700;color:#c7d2fe}
.ofb-content{flex:1;min-height:0;overflow:auto;scrollbar-gutter:stable;padding-right:3px}
.ofb-intro{margin:0 0 13px;color:#c5d1e4;line-height:1.5}
.ofb-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin:0;padding:13px;border:1px solid #2c3750;border-radius:8px;background:#111b2d}
.ofb-controls label{display:flex;flex-direction:column;gap:6px;min-width:155px;color:#cbd5e1;font-size:.76rem}
#ofw-composer .ofb-controls select{padding:7px 9px;font-size:.76rem}
.ofb-controls>.ofw-button{white-space:nowrap;font-size:.76rem;padding:8px 11px}
.ofb-scope{margin:10px 0 13px;color:#9eafc7;font-size:.72rem;line-height:1.5}
.ofb-workspace .ofw-error,.ofb-success,.ofb-warnings{border-radius:6px;padding:9px 11px;font-size:.77rem;line-height:1.5;margin:9px 0;overflow-wrap:anywhere}
.ofb-workspace .ofw-error{border:1px solid #704052;background:#291a2b}
.ofb-success{border:1px solid #2d6654;background:#102c28;color:#a7efcd}
.ofb-warnings{border:1px solid #625036;background:#292519;color:#f3d394}
.ofb-empty{border:1px dashed #33405b;border-radius:8px;background:#101726;font-size:.8rem}
.ofb-result-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin:16px 0 8px;font-size:.77rem}
.ofb-result-heading strong{max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ofb-result-heading span{color:#b2c1d7;font-variant-numeric:tabular-nums}
#ofw-composer .ofb-toolbar{gap:8px;margin:8px 0}
#ofw-composer .ofb-toolbar .ofw-search{max-width:440px;min-width:180px}
#ofw-composer .ofb-toolbar label{font-size:.74rem;gap:4px}
#ofw-composer .ofb-toolbar input{min-height:33px;padding:6px 8px;font-size:.76rem}
.ofb-toolbar .ofw-button{font-size:.73rem;padding:7px 9px;white-space:nowrap}
#ofw-composer .ofb-toolbar>.ofw-muted{font-size:.72rem;white-space:nowrap}
.ofb-table-note{margin:7px 0 9px;font-size:.71rem;color:#a7b4ca}
.ofb-table-scroll{max-height:46vh}
.ofb-table{min-width:920px;width:100%;table-layout:fixed}
#ofw-composer .ofb-table th{font-size:.65rem;padding:8px 9px;white-space:normal}
#ofw-composer .ofb-table td{font-size:.73rem;padding:7px 9px;vertical-align:middle}
.ofb-table th:first-child{width:34px}
.ofb-table th:nth-child(2){width:32%}
.ofb-table th:nth-child(3),.ofb-table th:nth-child(4){width:150px}
.ofb-table th:nth-child(5){width:110px}
.ofb-table th:last-child{width:23%}
#ofw-composer .ofb-table input[type=checkbox]{width:15px;height:15px;cursor:pointer;margin:0}
#ofw-composer .ofb-table input[type=checkbox]:disabled{cursor:default}
.ofb-product strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
#ofw-composer .ofb-table .ofb-product small{font-size:.65rem;line-height:1.4;margin-top:2px}
#ofw-composer .ofb-table .ofb-identity{font-size:.67rem;color:#b5c4da;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.ofb-price{color:#8fe2ba;font-weight:700}
.ofb-status{overflow-wrap:anywhere}
.ofb-ready{color:#94ddb8}
.ofb-blocked{color:#f3c779}
#ofw-composer .ofb-table .ofb-status small{font-size:.66rem;line-height:1.4;color:#cfb893}
#ofw-composer .ofb-footer{position:static;flex:none;gap:12px;margin-top:10px;padding:10px 12px;font-size:.73rem}
.ofb-footer .ofw-link{white-space:nowrap;font-size:.73rem}
#ofw-composer .ofb-footer>.ofw-muted{font-size:.73rem;min-width:180px}
.ofb-workspace .ofw-button:disabled{cursor:default}
.ofb-workspace [aria-busy=true]>.ofw-button:disabled{cursor:wait}
.ofb-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}
.ofb-report-summary{margin:10px 0;padding:10px 12px;border:1px solid #40577c;border-radius:7px;background:#152238;color:#c5d8f5;font-size:.76rem;line-height:1.5;overflow-wrap:anywhere}
.ofb-report-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px;border:1px solid #35435e;border-radius:7px;background:#131e31}
.ofb-report-tools .ofw-button{font-size:.71rem;padding:7px 9px}
.ofb-report-tools>span{flex-basis:100%;font-size:.68rem;color:#afbed4;line-height:1.5}
.ofb-filter{display:flex;align-items:center;gap:7px;font-size:.72rem;margin-right:auto;cursor:pointer}
#ofw-composer .ofb-filter input[type=checkbox]{width:15px;height:15px;margin:0}
.ofb-has-report .ofb-table{min-width:1020px}
.ofb-has-report .ofb-table th:nth-child(2){width:24%}
.ofb-has-report .ofb-table th:nth-child(3),.ofb-has-report .ofb-table th:nth-child(4),.ofb-has-report .ofb-table th:nth-child(5){width:104px}
.ofb-has-report .ofb-table th:last-child{width:auto}
#ofw-composer .ofb-has-report .ofb-table td{padding-top:10px;padding-bottom:10px}
#ofw-composer .ofb-has-report .ofb-table .ofb-product strong{white-space:normal;line-height:1.4}
#ofw-composer .ofb-has-report .ofb-table .ofb-identity{font-size:.6rem;color:#91a6c2;margin-top:5px}
#ofw-composer .ofb-has-report .ofb-table .ofb-price small{display:block;color:#9badc5;font-size:.64rem;font-weight:400;margin-top:5px;white-space:nowrap}
.ofb-limit{font-variant-numeric:tabular-nums;white-space:nowrap;color:#d5dff0}
.ofb-row-actions{display:flex;align-items:flex-end;gap:6px;flex-wrap:wrap;margin-top:8px}
.ofb-row-actions .ofw-button{font-size:.68rem;padding:6px 8px;min-height:30px}
.ofb-manual-price{display:flex;flex-direction:column;gap:3px;color:#acbcd2;font-size:.61rem}
#ofw-composer .ofb-manual-price input{width:96px;min-height:30px;padding:5px 7px;font-size:.72rem;border:1px solid #465373;border-radius:5px;background:#10192a;color:#e2e8f0}
#ofw-composer .ofb-manual-price input:disabled{opacity:.55}
#ofw-composer .ofb-table .ofb-status .ofb-report-error{display:block;margin-top:4px;color:#cbb89d}
#ofw-composer .ofb-table .ofb-status .ofb-adjust-block{display:block;margin-top:5px;color:#f2c286}
.ofb-removed{color:#adbbce}
.ofb-table tr[data-ofb-status=removed]{background:#111825}
.ofb-table tr[data-ofb-status=removed] .ofb-price{color:#8190a8;text-decoration:line-through}
.ofb-original-error{margin-top:5px;font-size:.65rem;color:#9fadc5}
.ofb-original-error summary{cursor:pointer;width:fit-content}
#ofw-composer .ofb-table .ofb-status .ofb-retire-hint{display:block;color:#f5cb83;font-weight:600;margin-top:6px}
#ofw-composer .ofb-has-report .ofb-table .ofb-price .ofb-price-before{color:#b0bfd1;font-size:.7rem;margin:0 0 2px}
#ofw-composer .ofb-has-report .ofb-table .ofb-price .ofb-price-updated{color:#8fe2ba;font-size:.62rem;margin-top:3px}
.ofb-receipt{flex:none;border:1px solid #354e6b;border-radius:7px;background:#142337;margin-top:8px;padding:8px 10px;font-size:.72rem;line-height:1.4}
.ofb-receipt-heading{display:flex;align-items:center;justify-content:space-between;gap:6px 12px;flex-wrap:wrap}
.ofb-receipt-heading>strong{color:#c4e1f4;font-variant-numeric:tabular-nums}
.ofb-receipt-views{display:flex;gap:6px;flex-wrap:wrap}
#ofw-composer .ofb-receipt .ofw-button{font-size:.66rem;min-height:26px;padding:4px 7px}
.ofb-receipt-views [aria-pressed=true]{background:#293c60;border-color:#728fbd;color:#e1eeff}
.ofb-receipt p{margin:6px 0 0;color:#9fe1b9;overflow-wrap:anywhere}
.ofb-receipt .ofb-feedback-error{color:#efbd92}
.ofb-retire-suggestion{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#e3c7a1;font-size:.67rem}
.ofb-retire-suggestion:has(span:not([hidden])){margin-top:6px}
.ofb-batch-panel{flex:none;border:1px solid #637cac;background:#17253c;border-radius:8px;padding:10px 12px;margin-top:8px;font-size:.75rem;max-height:45vh;overflow:auto}
.ofb-batch-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}
.ofb-batch-heading>strong{color:#e2ecff}
.ofb-batch-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ofb-batch-options label{display:flex;align-items:flex-start;gap:8px;padding:9px;border:1px solid #405575;border-radius:6px;background:#111d30;cursor:pointer;min-width:0}
.ofb-batch-options label:has(input:checked){border-color:#99b6ff;background:#243456}
#ofw-composer .ofb-batch-options input[type=radio]{width:15px;min-width:15px;height:15px;min-height:15px;padding:0;margin:2px 0 0;accent-color:#b2c8ff;flex:none}
.ofb-batch-options strong{font-size:.72rem;color:#d8e5ff}
.ofb-batch-options small{display:block;font-size:.66rem;color:#aebfd7;line-height:1.4;margin-top:3px}
.ofb-batch-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
.ofb-batch-footer p{font-size:.68rem;line-height:1.45;margin:0;color:#cad7eb}
.ofb-batch-footer>.ofw-button{white-space:nowrap;flex:none}
#ofw-composer .ofb-batch-panel .ofw-button{font-size:.7rem}
@media(max-width:900px){.ofb-result-heading strong{max-width:100%}.ofb-table-scroll{max-height:42vh}}
@media(max-width:550px){#ofw-composer .ofb-steps{gap:6px 14px;font-size:.67rem}.ofb-controls{padding:10px;gap:8px}.ofb-controls label{min-width:110px;flex:1}.ofb-controls>.ofw-button{font-size:.72rem;padding:8px}.ofb-intro{font-size:.74rem}.ofb-scope{font-size:.68rem}#ofw-composer .ofb-toolbar .ofw-search{max-width:none;flex-basis:100%}.ofb-toolbar .ofw-button{flex:1;font-size:.68rem;padding:7px 5px}#ofw-composer .ofb-footer{gap:8px;padding:9px}.ofb-footer .ofw-link{font-size:.7rem}#ofw-composer .ofb-footer>.ofw-muted{flex-basis:100%;min-width:0}.ofb-table-scroll{max-height:40vh}}
@media(max-width:550px){.ofb-controls #ofb-import{flex-basis:100%}.ofb-report-tools{gap:7px}.ofb-filter{flex-basis:100%;padding-bottom:3px}.ofb-report-tools .ofw-button{flex:1;min-width:100px;font-size:.67rem;padding:7px 5px}.ofb-has-report .ofb-table-scroll{max-height:48vh}.ofb-has-report .ofb-table{min-width:980px}}
@media(max-width:550px){.ofb-receipt{font-size:.68rem;padding:7px 8px}.ofb-receipt-heading{gap:5px}.ofb-receipt-views{gap:4px}#ofw-composer .ofb-receipt .ofw-button{font-size:.63rem;min-height:24px}.ofb-retire-suggestion{font-size:.64rem;gap:5px}.ofb-batch-panel{padding:8px;max-height:46vh}.ofb-batch-options{grid-template-columns:1fr;gap:6px}.ofb-batch-options label{padding:7px}.ofb-batch-options small{font-size:.64rem}.ofb-batch-footer{align-items:stretch;gap:8px;flex-direction:column}.ofb-batch-footer>.ofw-button{width:100%}}
