.quick-cart-console{display:flex;flex-direction:column;min-height:250px;height:100%;overflow:hidden;background:#071b28}.quick-cart-header{display:flex;align-items:center;gap:6px;min-height:46px;padding:6px 8px!important;flex:0 0 auto}.quick-cart-heading{display:flex;flex-direction:column;min-width:118px;line-height:1.05}.quick-cart-heading strong{white-space:nowrap;font-size:11px}.quick-cart-heading small{margin-top:3px;color:#6f9bb1;font-size:8px;white-space:nowrap}.quick-cart-header select,.quick-cart-header button{height:32px;border:1px solid #28506a;background:#0b2232;color:#dff5ff;border-radius:3px;font-size:11px;padding:0 9px}.quick-cart-header select{min-width:118px;max-width:190px}.quick-cart-header button:hover{border-color:#18a8ff;color:#fff}.quick-cart-header .cart-edit-toggle.active{background:#073f57;border-color:#25c7ff;color:#7fe7ff}.quick-cart-header .cart-stop-all{min-width:94px;border-color:#a83e4c;background:#41141d;color:#ff9ca6;font-weight:700}.quick-cart-header .panel-module-actions{margin-left:0}.quick-cart-voice-state{margin-left:auto;color:#7ea5bb;font-size:10px;white-space:nowrap}.quick-cart-meter{display:flex;gap:2px;width:32px;height:23px;align-items:flex-end}.quick-cart-meter i{display:block;width:50%;height:var(--level,0%);min-height:2px;max-height:100%;background:linear-gradient(to top,#23d790 0 65%,#ffc245 65% 86%,#ff4054 86%);transition:height .08s linear}
.quick-cart-grid{display:grid;grid-template-columns:repeat(4,minmax(145px,1fr));grid-auto-rows:minmax(190px,1fr);gap:7px;padding:7px;min-height:0;flex:1;overflow:auto}.quick-cart{position:relative;display:grid;grid-template-rows:minmax(92px,1.25fr) auto auto;gap:7px;width:100%;min-height:190px;padding:8px;border:1px solid color-mix(in srgb,var(--cart-colour,#168bff) 72%,#16384b);border-top:5px solid var(--cart-colour,#168bff);border-radius:5px;overflow:hidden;text-align:left;color:#effaff;background:linear-gradient(160deg,color-mix(in srgb,var(--cart-colour,#168bff) 17%,#0b2232),#071923 70%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.025);transition:transform .08s,border-color .12s,filter .12s}.quick-cart:not(:disabled):hover{filter:brightness(1.13);transform:translateY(-1px)}.quick-cart:active:not(:disabled){transform:translateY(1px)}.quick-cart.playing{box-shadow:0 0 0 2px color-mix(in srgb,var(--cart-colour) 70%,white),0 0 16px color-mix(in srgb,var(--cart-colour) 45%,transparent);animation:cartPulse 1.25s ease-in-out infinite alternate}.quick-cart.missing{filter:saturate(.2);border-color:#a33}.quick-cart.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #28526a;background:#071b28;color:#61869a;text-align:center}.quick-cart.empty i{font-size:22px;margin-bottom:7px}.quick-cart.empty kbd{position:absolute;right:8px;bottom:7px}.quick-cart-grid.editing .quick-cart{cursor:grab}.quick-cart-grid.editing .quick-cart:active{cursor:grabbing}
.cart-visual{position:relative;display:flex;align-items:center;justify-content:center;width:100%;min-height:90px;overflow:hidden;border-radius:4px;background:#061520;color:var(--cart-colour);font-size:30px}.cart-visual img{width:100%;height:100%;object-fit:cover}.fit-contain .cart-visual img{object-fit:contain}.cart-copy{min-width:0;display:flex;flex-direction:column;padding:0 2px}.cart-copy b,.cart-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-copy b{font-size:16px;line-height:1.2}.cart-copy small{font-size:11px;color:#9fc0d1;margin-top:3px}.cart-badges{display:flex;align-items:center;gap:5px;min-width:0}.cart-badges i,.cart-badges em,.cart-badges kbd{font-style:normal;font-size:9px;line-height:19px;height:19px;padding:0 5px;border-radius:2px}.cart-badges i{color:#9fdfff;border:1px solid #1b698c}.cart-badges em{color:#e9b7ff;border:1px solid #735186}.cart-badges kbd{margin-left:auto;background:#06131d;border:1px solid #31566b;color:#cae7f5}.display-artworkfill{display:block;padding:0;border-top-width:5px;background:#071923}.display-artworkfill .cart-visual{position:absolute;inset:0;width:100%;height:100%;border-radius:0}.display-artworkfill .cart-copy{display:none}.display-artworkfill .cart-badges{position:absolute;left:8px;right:8px;bottom:9px;z-index:2;padding:5px;background:linear-gradient(90deg,rgba(2,12,19,.82),rgba(2,12,19,.25));border-radius:3px}.display-artworkfill.no-art .cart-copy{display:flex;position:absolute;inset:42px 12px;z-index:2;justify-content:center;text-align:center}.display-artworkfill.no-art .cart-copy b{font-size:20px}.display-textonly{display:flex;flex-direction:column;align-items:stretch;justify-content:center;text-align:center}.display-textonly .cart-visual{display:none}.display-textonly .cart-copy{padding:10px}.display-textonly .cart-copy b{font-size:20px;white-space:normal}.display-textonly .cart-copy small{font-size:12px}.display-textonly .cart-badges{margin-top:auto}
.cart-progress{position:absolute;left:0;right:0;bottom:0;height:5px;background:#06131d;z-index:5}.cart-progress i{display:block;width:var(--cart-progress,0%);height:100%;background:var(--cart-colour);transition:width .2s linear}.cart-runtime{position:absolute;right:51px;top:8px;z-index:6;display:flex;align-items:center;gap:5px;min-height:35px;padding:4px 8px;border:1px solid rgba(255,255,255,.18);border-radius:4px;background:rgba(2,13,21,.92);color:#fff;font-variant-numeric:tabular-nums}.cart-runtime small{color:#88c9e9;font-size:9px;font-weight:700}.cart-runtime b{font-size:17px;line-height:1}.cart-stop{position:absolute;right:7px;top:7px;z-index:7;display:grid;place-items:center;width:38px;height:38px;border:1px solid #c34858;border-radius:4px;background:#5b1722;color:#fff;font-size:14px;box-shadow:0 2px 8px rgba(0,0,0,.35)}.cart-stop:hover{background:#8b2432}.cart-edit-mark{position:absolute;top:8px;left:8px;z-index:7;width:28px;height:28px;border-radius:50%;background:#0a2535;color:#61d6ff;display:grid;place-items:center;font-size:11px}.quick-cart-loading,.cart-media-empty{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:120px;color:#78a1b7}
.cart-modal{background:#0a2130!important;border:1px solid #27516a!important;color:#eaf8ff}.cart-modal .modal-header,.cart-modal .modal-footer{border-color:#25475a}.cart-modal h2{font-size:18px;margin:0}.cart-modal p{font-size:11px;color:#83a9bd;margin:2px 0 0}.cart-media-search{height:38px;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid #2b5871;background:#071a26}.cart-media-search input{flex:1;border:0;outline:0;background:transparent;color:#fff}.cart-media-results{max-height:52vh;overflow:auto;border:1px solid #24485c;border-top:0}.cart-media-row{display:grid;grid-template-columns:24px 42px minmax(160px,1fr) 80px 80px 55px;align-items:center;gap:9px;min-height:52px;padding:5px 9px;border-bottom:1px solid #1d3d4f;cursor:pointer}.cart-media-row:hover{background:#103247}.cart-media-row>span:nth-of-type(2){display:flex;flex-direction:column;min-width:0}.cart-media-row b,.cart-media-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-media-row small,.cart-media-row em,.cart-media-row>i,.cart-media-row time{font-size:10px;color:#7ea7bb;font-style:normal}.media-result-art{width:38px;height:38px;display:grid;place-items:center;overflow:hidden;background:#071722;color:#25b7ff}.media-result-art img{width:100%;height:100%;object-fit:cover}
.cart-designer-body{display:grid;grid-template-columns:minmax(260px,34%) 1fr;gap:18px}.cart-live-preview-panel{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #28516a;background:#061923}.cart-live-preview-panel>small{color:#57cfff;font-weight:700;letter-spacing:.08em}.cart-live-preview-panel>p{color:#729aae;font-size:10px;line-height:1.45}.cart-live-preview{min-height:300px}.cart-live-preview .quick-cart{height:300px}.cart-editor-identity{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:12px;align-items:end;margin-bottom:14px}.cart-editor-identity>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cart-artwork-editor{display:grid;grid-template-columns:48px auto minmax(0,1fr);gap:8px;align-items:center;padding-top:8px;border-top:1px solid #28516a}.cart-artwork-preview{width:48px;height:48px;display:grid;place-items:center;overflow:hidden;border:1px solid #2b5871;background:#071a26;color:#27b9ff;font-size:20px}.cart-artwork-preview img{grid-area:1/1;width:100%;height:100%;object-fit:cover}.cart-artwork-preview i{grid-area:1/1}.cart-artwork-preview img:not(.is-hidden)+i{display:none}.cart-artwork-preview img.is-hidden{display:none}.cart-artwork-actions{display:flex;gap:5px}.cart-artwork-actions .ciq-btn{height:30px;padding:0 8px;font-size:10px}.cart-artwork-editor>small{color:#729aae;font-size:9px;white-space:normal}.cart-artwork-editor.busy{opacity:.65;pointer-events:none}.cart-editor-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.cart-editor-grid label,.cart-editor-identity label{display:flex;flex-direction:column;gap:4px;color:#a6c7d8;font-size:10px}.cart-editor-grid input,.cart-editor-grid select,.cart-editor-identity input:not([type=color]){height:34px;padding:0 8px;border:1px solid #2b5871;border-radius:3px;background:#071a26;color:#fff}.colour-field input{width:58px;height:34px;padding:2px;background:#071a26;border:1px solid #2b5871}.cart-editor-grid .cart-check{flex-direction:row;align-items:center;margin-top:19px}.cart-region-note{margin-top:12px;padding:8px;border:1px solid #28516a;background:#0b2b3e;color:#84bedc;font-size:10px}.cart-modal .modal-footer>span{flex:1}.ciq-btn.danger{border-color:#843242;color:#ff8793}
.segue-cart-console{border-top:1px solid #23475b;min-height:280px}.segue-cart-console .quick-cart-console{height:300px}.segue-cart-console .quick-cart-grid{grid-template-columns:repeat(6,minmax(130px,1fr));grid-auto-rows:minmax(170px,1fr)}.segue-cart-console .quick-cart-header [data-cart-meter-left],.segue-cart-console .quick-cart-header [data-cart-meter-right]{opacity:.35}
@keyframes cartPulse{from{filter:brightness(1)}to{filter:brightness(1.22)}}@media(max-width:1200px){.quick-cart-grid{grid-template-columns:repeat(3,minmax(140px,1fr))}.segue-cart-console .quick-cart-grid{grid-template-columns:repeat(4,minmax(130px,1fr))}}@media(max-width:850px){.quick-cart-grid{grid-template-columns:repeat(2,minmax(130px,1fr))}.cart-designer-body{grid-template-columns:1fr}.cart-live-preview{min-height:230px}.cart-live-preview .quick-cart{height:230px}.cart-editor-grid{grid-template-columns:1fr 1fr}.cart-media-row{grid-template-columns:24px 42px 1fr 52px}.cart-media-row em,.cart-media-row>i{display:none}.quick-cart-heading small,.quick-cart-voice-state,.quick-cart-meter{display:none}}@media(max-width:520px){.quick-cart-header{flex-wrap:wrap}.quick-cart-grid{grid-template-columns:1fr}.cart-editor-grid,.cart-editor-identity,.cart-editor-identity>div{grid-template-columns:1fr}}

/* Presentation Quick Carts respond to the module rectangle, not the browser
   viewport. This keeps every column inside the panel while it is resized. */
.compact-carts .quick-cart-console{container-type:size;min-height:0}
.compact-carts .quick-cart-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);overflow:hidden}
.compact-carts .quick-cart{min-height:0;grid-template-rows:minmax(42px,1fr) auto auto}
@container (max-width:420px){.compact-carts .quick-cart{padding:6px;gap:4px}}
@container (max-width:560px){.compact-carts .quick-cart-heading{min-width:auto}.compact-carts .quick-cart-heading small,.compact-carts .quick-cart-voice-state,.compact-carts .quick-cart-meter{display:none}.compact-carts .quick-cart-header select{min-width:100px;flex:1}}
@container (max-height:320px){.compact-carts .quick-cart-grid{grid-auto-rows:minmax(0,1fr)}.compact-carts .quick-cart{padding:5px;gap:2px}.compact-carts .cart-visual{min-height:28px}}

/* Management visibility is independent of the existing layout editing state. */
.quick-cart-header{height:auto;flex-wrap:wrap;justify-content:flex-start}
/* Let every control wrap from the header's left edge, including actions inside Manage. */
.quick-cart-header .quick-cart-bank-tools,.quick-cart-header .quick-cart-management,.quick-cart-header .quick-cart-operations{display:contents}
.quick-cart-header .quick-cart-voice-state{margin-left:0}
.quick-cart-header button{flex-shrink:0}
.quick-cart-header [hidden]{display:none!important}
.quick-cart-header .cart-manage-toggle[aria-expanded="true"]{background:#073f57;border-color:#25c7ff;color:#7fe7ff}
.quick-cart-header button:focus-visible,.quick-cart-header select:focus-visible{outline:2px solid #7fe7ff;outline-offset:2px}
