.ecom-page{width:100%;color:#f4fbff;--ecom-line:#30333b;--ecom-panel:#1b1c21;--ecom-muted:#82909d}.ecom-page button,.ecom-page input,.ecom-page textarea,.ecom-page select{font:inherit}.ecom-page button{cursor:pointer}.ecom-page button:disabled{cursor:not-allowed;opacity:.45}.ecom-page button:focus-visible,.ecom-page input:focus-visible,.ecom-page textarea:focus-visible,.ecom-page select:focus-visible{outline:2px solid #a5c6ff;outline-offset:3px}.ecom-hero{max-width:880px;margin:24px auto 0;text-align:center;position:relative;padding:50px 28px 20px}.ecom-hero:before{content:'';position:absolute;z-index:0;inset:60px 5% 20px;background:radial-gradient(ellipse at 50% 50%,#293a622c,transparent 70%);pointer-events:none}.ecom-hero>*{position:relative}.ecom-eyebrow{font-size:12px;color:#91a5be;letter-spacing:3px}.ecom-hero h1{font-size:32px;margin:12px 0 36px;font-weight:650}.ecom-composer{text-align:left;background:#14161b;border:1px solid #617b98;border-radius:24px;box-shadow:0 0 0 1px #a2c6ff16,0 16px 60px #0005;overflow:hidden}.ecom-composer-heading{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 8px}.ecom-composer-heading label{font-size:14px;font-weight:600}.ecom-composer-heading button{padding:0;border:0;background:none;color:#95c0ff;font-size:13px}.ecom-product-drop{margin:0 16px;padding:10px 4px;border:1px dashed transparent;border-radius:12px;outline:none}.ecom-product-drop.drag-over,.ecom-product-drop:focus-visible{background:#b2d4ff0d;border-color:#a8caff}.ecom-product-drop>small{display:block;font-size:11px;color:#74808a;margin-top:10px}.ecom-source-list{display:flex;gap:9px;flex-wrap:wrap}.ecom-source-tile{position:relative;width:64px}.ecom-source-tile>button:first-child{display:block;width:64px;height:64px;background:#23252c;border:0;border-radius:8px;padding:0;overflow:hidden;position:relative}.ecom-source-tile img{width:100%;height:100%;object-fit:cover}.ecom-source-tile span{position:absolute;bottom:0;left:0;right:0;padding:3px 0;background:#0008;font-size:10px;color:white}.ecom-source-tile>button:nth-child(2){position:absolute;right:-5px;top:-6px;padding:0;border:1px solid #454b58;border-radius:50%;background:#24272f;color:white;width:18px;height:18px;font-size:13px}.ecom-source-tile small{font-size:9px;color:#74808a;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:3px}.ecom-source-add{display:flex;width:64px;height:64px;flex-direction:column;justify-content:center;align-items:center;gap:5px;border:1px dashed #48505b!important;border-radius:8px!important;padding:0!important;background:#1c1e25!important;color:#98a8b8!important}.ecom-source-add b{font-size:20px;font-weight:400}.ecom-source-add span{font-size:10px}.ecom-composer textarea{display:block;resize:vertical;width:100%;box-sizing:border-box;min-height:110px;max-height:340px;background:transparent;border:0;border-radius:0;padding:12px 20px;color:#f4fbff;line-height:1.7}.ecom-composer textarea::placeholder{color:#657181}.ecom-composer-bottom{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:8px 18px 16px}.ecom-ratio{display:flex;align-items:center;gap:8px;font-size:12px;color:#82909d}.ecom-ratio select{border:1px solid #30333b;background:#191b22;color:#f4fbff;border-radius:9px;padding:8px 10px;min-width:90px}.ecom-primary{background:#ecf5ff!important;color:#12151b!important;border:0!important;border-radius:10px!important;font-weight:600!important;padding:10px 17px!important}.ecom-supplement{text-align:left;padding:12px 4px;color:#91a0af;font-size:12px}.ecom-supplement summary{cursor:pointer;margin-bottom:10px}.ecom-supplement[open]{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ecom-supplement summary,.ecom-supplement p,.ecom-wide{grid-column:1/-1}.ecom-supplement label{display:flex;flex-direction:column;gap:6px}.ecom-supplement input,.ecom-supplement select{background:#1c1e25;border:1px solid #363c48;border-radius:7px;color:#f4fbff;padding:8px}.ecom-supplement p{margin:0;font-size:11px;line-height:1.6}.ecom-api-note{display:flex;align-items:flex-start;gap:9px;text-align:left;margin:16px 0;padding:12px 15px;border:1px solid #3b4e6b;background:#21314920;border-radius:10px;color:#aabbd2;font-size:12px}.ecom-api-note>span{font-size:17px;color:#a9c7ff}.ecom-api-note p{margin:0;line-height:1.7}.ecom-history{margin:50px 0 0;padding:0 10px 36px}.ecom-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.ecom-section-heading h2{font-size:18px;font-weight:500;margin:0}.ecom-search{display:flex;align-items:center;gap:5px;background:#1b1c21;border-radius:8px;padding:7px 9px}.ecom-search input{width:160px;border:0;background:none;color:#f4fbff;font-size:12px;padding:0}.ecom-search button{border:0;background:none;color:#aabbd2;padding:0 4px}.ecom-record-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 16px}.ecom-record-cover{display:block;position:relative;width:100%;padding:0!important;background:#202229!important;border:1px solid #2f3239!important;border-radius:12px!important;aspect-ratio:1;overflow:hidden}.ecom-record-placeholder{height:100%;display:flex;gap:10px;align-items:center;justify-content:center;flex-direction:column;color:#657287;background:linear-gradient(135deg,#20232c,#16171c)}.ecom-record-placeholder>span{font-size:38px}.ecom-record-placeholder>b{font-size:12px;font-weight:400}.ecom-record-mosaic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));height:100%;gap:2px}.ecom-record-mosaic img{width:100%;height:100%;min-height:0;object-fit:cover}.ecom-record-mosaic img:only-child{grid-column:1/-1}.ecom-record-badge{position:absolute;right:7px;bottom:7px;font-size:10px;color:#e6eefb;padding:4px 6px;border-radius:5px;background:#111a}.ecom-record-title{display:flex;align-items:center;gap:6px;margin-top:8px}.ecom-record-title>button:first-child{min-width:0;flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:left;background:none;border:0;padding:0;color:#f4fbff;font-size:13px}.ecom-record-title>button:nth-child(2){padding:0 5px;background:#262930;border:0;color:#f4fbff;font-size:18px;border-radius:5px}.ecom-record>small{color:#74808a;font-size:10px;display:block;margin-top:5px}.ecom-empty{grid-column:1/-1;display:flex;align-items:center;flex-direction:column;gap:10px;padding:45px;color:#687a90}.ecom-empty>span{font-size:40px}.ecom-empty b{font-weight:500}.ecom-empty p{font-size:12px;margin:0}.ecom-load-more{display:block;margin:26px auto;background:#24272e;color:#adb8c5;border:1px solid #353b46;border-radius:8px;padding:9px 20px}.ecom-detail-heading{display:flex;align-items:center;gap:12px;margin:10px 0 20px;flex-wrap:wrap}.ecom-detail-heading>button{background:#202228;border:1px solid #3a3e48;border-radius:50%;width:34px;height:34px;color:#c6d1de}.ecom-detail-heading>input{background:none;border:0;border-bottom:1px solid transparent;color:#f4fbff;padding:6px 0;font-size:17px;min-width:160px;max-width:280px;flex:1}.ecom-detail-heading>input:hover{border-bottom-color:#4b5666}.ecom-detail-heading>span{font-size:12px;color:#82909d}.ecom-detail-heading>div{display:flex;gap:6px;margin-left:auto;flex-wrap:wrap}.ecom-detail-heading>div>button{font-size:12px;padding:8px 10px;border:1px solid #353b46;border-radius:8px;background:#1b1d24;color:#bac7d8}.ecom-detail>.ecom-api-note{margin-bottom:18px}.ecom-product-summary{margin-bottom:24px;border:1px solid #30333b;border-radius:12px;background:#15171c;font-size:12px}.ecom-product-summary>summary{padding:14px 18px;cursor:pointer;color:#a6b6c8}.ecom-product-summary>div{padding:0 18px 18px}.ecom-product-summary p{white-space:pre-wrap;line-height:1.8;color:#c1ccd9}.ecom-product-summary small{color:#74808a}.ecom-summary-sources{display:flex;flex-wrap:wrap;gap:8px}.ecom-summary-sources button{background:#23252c;border:0;border-radius:8px;overflow:hidden;width:70px;height:70px;padding:0}.ecom-summary-sources img{width:100%;height:100%;object-fit:cover}.ecom-type-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.ecom-type-tabs button{padding:8px 12px;border:1px solid #2b3039;border-radius:8px;background:#15171d;color:#91a0b0;font-size:12px}.ecom-type-tabs button.selected{background:#334151;border-color:#5f7691;color:#e5efff}.ecom-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 20px}.ecom-result-card{min-width:0}.ecom-result-media{position:relative;border-radius:12px;overflow:hidden;background:#202329;border:1px solid #333740;min-height:180px;max-height:600px}.ecom-result-media>button{width:100%;height:100%;padding:0;border:0;background:#202329;display:block}.ecom-result-media img{width:100%;height:100%;object-fit:contain;display:block}.ecom-result-placeholder{width:100%;height:100%;min-height:inherit;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#78889b;padding:20px;box-sizing:border-box}.ecom-result-placeholder>span{font-size:35px;color:#526276}.ecom-result-placeholder>b{font-size:13px;font-weight:500;color:#a9b7c8}.ecom-result-placeholder>small{font-size:11px}.ecom-result-order{position:absolute;top:9px;left:9px;background:#101318aa;color:#cdd9e8;border-radius:5px;padding:4px 6px;font-size:10px;pointer-events:none}.ecom-result-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 1px}.ecom-result-caption h3{font-size:13px;font-weight:500;margin:0}.ecom-result-caption span{font-size:10px;color:#91a0b0}.ecom-result-actions{display:flex;gap:5px;flex-wrap:wrap}.ecom-result-actions button{border:1px solid #333946;color:#b7c4d5;background:#1d2027;padding:6px 9px;border-radius:7px;font-size:11px}.ecom-result-ai-actions{display:flex;gap:6px;margin-top:7px}.ecom-result-ai-actions button{background:none;border:0;color:#93a4bb;font-size:10px;padding:3px 0}.ecom-save-error{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#6d391f33;border:1px solid #b47e47;border-radius:8px;padding:10px 14px;color:#ffcc9e;font-size:12px}.ecom-save-error button{color:#ffddb8;background:none;border:1px solid #a97847;border-radius:6px;padding:6px}.ecom-count-dialog{width:min(560px,calc(100vw - 88px));color:#f4fbff}.ecom-dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.ecom-dialog-heading h2{margin:0;font-size:18px}.ecom-dialog-heading button{background:none;border:0;font-size:24px;color:#9eacbd}.ecom-count-row{display:flex;align-items:center;gap:14px;padding:11px 0;border-bottom:1px solid #31343c}.ecom-count-icon{display:flex;align-items:center;justify-content:center;width:45px;height:45px;border-radius:9px;background:#3a4351;color:#c5d9f2;font-size:23px;flex-shrink:0}.ecom-count-row>div:nth-child(2){flex:1;min-width:0}.ecom-count-row b{font-size:13px;font-weight:500}.ecom-count-row small{display:block;font-size:10px;line-height:1.6;color:#82909d;margin-top:3px}.ecom-stepper{display:flex;align-items:center;flex-shrink:0;gap:2px}.ecom-stepper button{width:28px;height:30px;border:1px solid #3c424d;background:#292d35;color:#d9e7f8;border-radius:6px;padding:0}.ecom-stepper input{width:34px!important;min-width:0;background:none!important;border:0!important;text-align:center;padding:3px!important;color:#f4fbff;appearance:textfield}.ecom-stepper input::-webkit-inner-spin-button{appearance:none}.ecom-count-dialog>details{margin:15px 0;color:#a9b9ce;font-size:12px}.ecom-count-dialog summary{cursor:pointer}.ecom-count-total{color:#a4b4c9;text-align:right;font-size:12px}.ecom-count-total b{font-size:18px;color:#e9f4ff}.ecom-count-dialog>.ecom-primary,.ecom-save-plan{display:block;width:100%;margin-top:10px}.ecom-save-plan{padding:9px 15px;background:none;border:1px solid #596c89;border-radius:8px;color:#b9d4fa;font-size:12px}.ecom-help{font-size:11px!important;line-height:1.7!important;color:#8ea0ba!important}.ecom-picker{width:min(740px,calc(100vw - 90px))}.ecom-picker h2{margin-top:0}.ecom-picker-search{font-size:12px}.ecom-picker-search input{display:block;width:100%;box-sizing:border-box;margin-top:6px}.ecom-picker-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;max-height:52vh;overflow:auto;margin-top:20px}.ecom-picker-grid label{position:relative;display:block;min-width:0;cursor:pointer;margin:0}.ecom-picker-grid label[hidden]{display:none}.ecom-picker-grid img{width:100%;height:100px;object-fit:cover;border:1px solid #353c49;border-radius:9px;display:block;box-sizing:border-box}.ecom-picker-grid input{position:absolute;top:5px;left:5px;width:18px!important;height:18px!important;accent-color:#84b8fb}.ecom-picker-grid input:checked+img{border:2px solid #b1d1fc}.ecom-picker-grid label>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:10px;color:#afbed0}.ecom-picker>#ecom-selection-count{font-size:12px;color:#9eacc0}.ecom-preview-window{width:min(900px,calc(100vw - 90px));color:#f4fbff}.ecom-preview-window header{display:flex;align-items:center;gap:15px;margin-bottom:15px}.ecom-preview-window header h2{margin:0;font-size:16px;flex:1}.ecom-preview-window header>span{font-size:11px;color:#889cb2}.ecom-preview-window header button{background:none;border:0;color:#a3b7cb;padding:0;font-size:23px}.ecom-preview-media{display:flex;align-items:center;justify-content:space-between;gap:14px}.ecom-preview-media img{max-width:calc(100% - 90px);max-height:67vh;object-fit:contain;min-width:0}.ecom-preview-media button{background:#333946;border:1px solid #4a5261;border-radius:50%;color:#c8d7eb;width:32px;height:32px;flex-shrink:0;font-size:24px;padding:0}.ecom-preview-window>p{font-size:11px;color:#95a6bc}.ecom-preview-window>#ecom-preview-download{display:block;margin-left:auto;background:#38465c;border:0;padding:8px 14px;border-radius:8px;color:#dbeaff}.ecom-source-preview{max-height:75vh;max-width:100%;display:block;margin:auto;object-fit:contain}.ecom-edit-prompt{width:min(700px,calc(100vw - 90px))}.ecom-edit-prompt textarea{width:100%;box-sizing:border-box;line-height:1.8;background:#15181f;border:1px solid #3a4352;color:#d8e8fa;border-radius:10px;padding:14px;resize:vertical}.ecom-edit-prompt p{font-size:12px;color:#8498b2}.ecom-process-history{width:min(600px,calc(100vw - 90px))}.ecom-process-history>p{font-size:12px;color:#8fa2bb;line-height:1.7}.ecom-process-history ol{list-style:none;margin:20px 0;padding:0;max-height:55vh;overflow:auto}.ecom-process-history li{border-left:1px solid #485570;padding:0 0 18px 18px;margin-left:5px}.ecom-process-history time{font-size:10px;color:#7c91ac}.ecom-process-history li p{font-size:12px;color:#bbc9dc;line-height:1.7}.ecom-record-menu{min-width:280px;max-width:420px}.ecom-record-menu>button{display:block;width:100%;text-align:left;background:#272c36;border:1px solid #3c4557;border-radius:7px;color:#bbcce3;padding:10px 13px;margin-top:8px}.ecom-record-menu>p{font-size:12px;line-height:1.7;color:#90a3bd}@media(min-width:1800px){.ecom-results-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1250px){.ecom-record-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ecom-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ecom-detail-heading>div{width:100%;margin-left:0}}@media(max-width:900px){.ecom-record-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ecom-hero{padding:25px 5px 15px}.ecom-hero h1{margin-bottom:25px}.ecom-history{padding:0}.ecom-picker-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:600px){.ecom-record-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ecom-results-grid{grid-template-columns:1fr}.ecom-supplement[open]{grid-template-columns:1fr}.ecom-count-row{gap:9px}.ecom-count-row small{display:none}.ecom-count-icon{width:30px;height:30px;font-size:18px}.ecom-preview-media{gap:5px}.ecom-preview-media img{max-width:calc(100% - 66px)}.ecom-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ecom-picker-grid img{height:80px}.ecom-detail-heading>input{max-width:calc(100% - 50px)}.ecom-search input{width:105px}.ecom-count-dialog{width:calc(100vw - 76px)}.ecom-composer-bottom{gap:8px;padding:10px}.ecom-primary{padding:9px 12px!important;font-size:12px!important}}
dialog:has(.ecom-count-dialog),dialog:has(.ecom-picker),dialog:has(.ecom-preview-window),dialog:has(.ecom-edit-prompt),dialog:has(.ecom-process-history){width:auto;max-width:calc(100vw - 32px);max-height:calc(100vh - 40px);overflow:auto;box-sizing:border-box}dialog:has(.ecom-preview-window){background:#15181f;padding:20px}
