.rd-page{--rd-ink:#182b47;--rd-muted:#6b7d95;--rd-line:#dfe7f0;--rd-accent:#0d9488;padding:20px 24px;color:var(--rd-ink);max-width:1900px;margin:auto}.rd-page *{box-sizing:border-box}.rd-page button,.rd-page input,.rd-page textarea,.rd-page select{font:inherit}.rd-page button{border:1px solid var(--rd-line);background:#fff;color:var(--rd-ink);padding:9px 13px;border-radius:8px;cursor:pointer}.rd-page button:disabled{opacity:.45;cursor:default}.rd-page button:hover:not(:disabled){border-color:#7bb8ad}.rd-page button:focus-visible,.rd-page input:focus-visible,.rd-page textarea:focus-visible,.rd-page select:focus-visible,.rd-page a:focus-visible{outline:3px solid #83d9cc;outline-offset:2px}.rd-page .rd-primary{background:var(--rd-accent);border-color:var(--rd-accent);color:#fff;font-weight:650}.rd-page .selected{background:#e9f8f3;border-color:var(--rd-accent);color:#08796e}.rd-page label{display:flex;flex-direction:column;gap:8px;font-size:14.5px;font-weight:600}.rd-page input:not([type=checkbox]),.rd-page textarea,.rd-page select{width:100%;min-width:0;background:#fff;border:1px solid var(--rd-line);border-radius:8px;padding:11px 12px;color:var(--rd-ink)}.rd-page textarea{resize:vertical;line-height:1.6}.rd-page input[type=checkbox]{width:16px;height:16px;flex-shrink:0;margin:0;accent-color:var(--rd-accent)}.rd-page a{color:#087f79}.rd-heading,.rd-actions{display:flex;align-items:center;gap:10px}.rd-heading{justify-content:space-between;flex-wrap:wrap;margin-bottom:18px}.rd-heading h1{font-size:25px;letter-spacing:-.04em;margin:5px 0 0}.rd-heading small{font-size:12px;letter-spacing:.13em;color:var(--rd-muted);font-weight:700}.rd-error,.rd-notice{padding:11px 14px;border-radius:8px;line-height:1.6;font-size:14.5px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 12px}.rd-error{background:#fff0f0;color:#a92c3a}.rd-notice{background:#e6f6f0;color:#08786c}.rd-panel{padding:22px;background:#fff;border:1px solid var(--rd-line);border-radius:12px;min-width:0}.rd-panel h2{font-size:19px;margin:5px 0}.rd-provider{margin-bottom:16px}.rd-provider form{display:flex;align-items:end;gap:12px}.rd-provider label{flex:1}.rd-workspace{display:grid;grid-template-columns:320px minmax(0,1fr);gap:18px;height:calc(100dvh - 165px);min-height:600px}.rd-queue{display:flex;flex-direction:column;min-height:0;min-width:0;background:#fff;border:1px solid var(--rd-line);border-radius:12px;overflow:hidden}.rd-queue-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 16px 12px}.rd-queue-heading h2{font-size:17px;margin:0 0 5px}.rd-queue-heading span{font-size:14px;color:var(--rd-muted)}.rd-queue-heading button{padding:3px 8px;font-size:20px}.rd-queue-counters{display:flex;flex-wrap:wrap;gap:8px 12px;padding:0 16px 14px;border-bottom:1px solid var(--rd-line)}.rd-queue-counters span{font-size:13px;display:flex;align-items:center;gap:5px}.rd-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#a7b4c3;flex-shrink:0}.rd-dot.running{background:#397ce7;box-shadow:0 0 0 3px #397ce718;animation:rd-pulse 1.5s infinite}.rd-dot.queued{background:#d9a137}.rd-dot.done{background:#16986a}.rd-queue .rd-search{padding:12px 14px 8px}.rd-queue .rd-search input{font-size:14px;padding:9px 10px}.rd-queue-filters{display:flex;gap:5px;flex-wrap:wrap;padding:0 14px 12px}.rd-queue-filters button{font-size:13px;padding:6px 8px}.rd-queue-selection{display:flex;align-items:center;gap:8px;padding:10px 14px;border-top:1px solid var(--rd-line);border-bottom:1px solid var(--rd-line);background:#f8fafc}.rd-page .rd-check{flex-direction:row;align-items:center;gap:7px;font-size:14px;font-weight:500}.rd-queue-selection>.rd-check{margin-right:auto}.rd-queue-selection>button{font-size:13px;padding:5px 7px}.rd-queue-rows{overflow-y:auto;min-height:0;flex:1;padding:7px}.rd-queue-group{font-size:12px;color:var(--rd-muted);font-weight:700;letter-spacing:.08em;padding:13px 9px 8px}.rd-queue-row{display:flex;align-items:center;gap:7px;border:1px solid transparent;border-radius:9px;margin-bottom:5px;min-width:0;padding:4px}.rd-queue-row.is-current{border-color:#49b5a1;background:#edf9f4}.rd-queue-row.is-running{box-shadow:inset 3px 0 #397ce7}.rd-row-check{padding-left:3px}.rd-page .rd-queue-open{display:flex;align-items:center;gap:10px;flex:1;min-width:0;border:0;background:transparent;padding:5px;text-align:left;line-height:1.4}.rd-queue-open>img,.rd-queue-placeholder{width:48px;height:55px;object-fit:cover;border-radius:6px;flex-shrink:0;background:#f0f3f7}.rd-queue-placeholder{display:grid;place-items:center;font-size:20px;color:#8b9cb0}.rd-queue-open>span:last-child{display:block;min-width:0;flex:1}.rd-queue-open strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.rd-queue-open small{display:block;color:var(--rd-muted);font-size:12px;margin:3px 0 5px}.rd-state{display:inline-flex;align-items:center;gap:5px;font-size:13px;line-height:1.3;border-radius:5px;padding:4px 7px;white-space:nowrap;background:#eef2f6;color:#65738a}.rd-state-completed{background:#e4f5ed;color:#08765b}.rd-state-running{background:#e7f0ff;color:#2863be}.rd-state-queued{background:#fff3d8;color:#92630a}.rd-state-needs_reconciliation,.rd-state-pending{background:#fff0e6;color:#a35320}.rd-queue-footer{font-size:13px;color:var(--rd-muted);padding:12px 14px;border-top:1px solid var(--rd-line);background:#fafcfe}.rd-queue-empty{text-align:center;padding:30px 10px;font-size:14.5px;color:var(--rd-muted)}.rd-work-area{overflow-y:auto;min-width:0;min-height:0;padding-right:3px}.rd-inline-editor{background:#fff;border:1px solid var(--rd-line);border-radius:12px;min-height:100%;padding:22px}.rd-editor-heading{display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:20px}.rd-editor-heading>div{min-width:0}.rd-editor-heading small{font-size:13px;color:var(--rd-muted)}.rd-editor-heading h2{font-size:18px;line-height:1.5;margin:6px 0 0;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.rd-step-timeline{display:flex;align-items:center;gap:24px;overflow-x:auto;padding:2px 2px 20px;border-bottom:1px solid var(--rd-line);margin-bottom:22px}.rd-step-timeline>button{position:relative;display:flex;align-items:center;gap:9px;flex-shrink:0;text-align:left;padding:10px 12px;min-width:132px}.rd-step-timeline>button:after{position:absolute;content:"→";right:-20px;color:#93a4b7;font-size:17px;pointer-events:none}.rd-step-timeline strong{font-size:14.5px;display:block}.rd-step-timeline small{font-size:12px;display:block;color:var(--rd-muted);margin-top:4px}.rd-step-number{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#eef2f7;color:#6e7d94;font-size:14px;flex-shrink:0}.rd-step-timeline .selected .rd-step-number{background:#0d9488;color:#fff}.rd-step-timeline .is-running .rd-step-number{background:#397ce7;color:#fff;animation:rd-pulse 1.5s infinite}.rd-next-step{font-size:14px;color:#91a0b4;white-space:nowrap;padding-right:12px}.rd-editor-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(240px,.9fr);gap:22px}.rd-preview,.rd-chat{min-width:0}.rd-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.rd-preview-toolbar>strong{font-size:14.5px}.rd-preview-toolbar>div{display:flex;gap:4px}.rd-preview-toolbar button{font-size:13px;padding:6px 9px}.rd-main-artwork{width:100%;aspect-ratio:1;max-height:480px;min-height:220px;display:grid;place-items:center;border:1px solid var(--rd-line);border-radius:10px;overflow:hidden;background:repeating-conic-gradient(#eef2f6 0% 25%,#fff 0% 50%) 50%/20px 20px}.rd-main-artwork>img{width:100%;height:100%;object-fit:contain;min-height:0}.rd-generation-status{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:#f7faff;width:100%;height:100%;padding:24px;text-align:center}.rd-generation-status>strong{font-size:18px}.rd-generation-status>span:last-child{font-size:14.5px;color:var(--rd-muted)}.rd-spinner{display:block;width:40px;height:40px;border-radius:50%;border:3px solid #dce8f6;border-top-color:#397ce7;animation:rd-spin .9s linear infinite}.rd-generate-button{display:block;width:100%;margin-top:14px}.rd-chat{padding-left:22px;border-left:1px solid var(--rd-line)}.rd-chat header small{font-size:12px;color:var(--rd-muted);letter-spacing:.1em;font-weight:700}.rd-chat h3{font-size:20px;margin:6px 0 14px}.rd-edit-base{font-size:14px;color:#0d8b7d;margin:0 0 14px;padding:8px 10px;background:#edf9f4;border-radius:7px}.rd-chat form>button{width:100%;margin-top:12px}.rd-wait-message{font-size:14.5px;line-height:1.7;color:var(--rd-muted);background:#f5f8fc;border-radius:8px;padding:14px}.rd-page summary{font-size:14.5px;font-weight:600;cursor:pointer}.rd-step-instruction,.rd-step-history{margin-top:20px;border-top:1px solid var(--rd-line);padding-top:16px}.rd-step-instruction p{font-size:14px;color:#5e7088;line-height:1.7;white-space:pre-wrap;margin:12px 0 0;overflow-wrap:anywhere}.rd-step-history ol{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:8px}.rd-step-history button{width:100%;text-align:left;padding:10px}.rd-step-history strong{display:block;font-size:14px}.rd-step-history span{display:block;font-size:13px;line-height:1.6;white-space:pre-wrap;color:var(--rd-muted);margin-top:6px;overflow-wrap:anywhere}.rd-save-product{border-top:1px solid var(--rd-line);padding-top:16px;margin-top:18px}.rd-save-product form{display:grid;gap:14px;margin-top:15px}.rd-field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rd-product-link{display:block;margin-top:16px;font-size:14.5px}.rd-composer>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.rd-composer>header small{font-size:12px;letter-spacing:.1em;color:var(--rd-muted);font-weight:700}.rd-composer fieldset{padding:0;margin:0;border:0;min-width:0}.rd-add-links{border-bottom:1px solid var(--rd-line);padding-bottom:18px;margin-bottom:20px}.rd-import-form{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-top:14px}.rd-import-form>label{flex:1;min-width:200px}.rd-import-form a{font-size:14px;padding-bottom:10px}.rd-preparing-item{border:1px solid var(--rd-line);background:#f8fafc;border-radius:10px;padding:16px;margin-top:22px}.rd-preparing-reference{display:flex;align-items:start;gap:12px;margin-bottom:18px}.rd-preparing-reference>img{width:72px;height:72px;object-fit:cover;border-radius:8px;flex-shrink:0}.rd-preparing-reference>div{min-width:0;flex:1}.rd-preparing-reference small{font-size:12px;color:var(--rd-muted)}.rd-preparing-reference h3{font-size:14.5px;line-height:1.6;margin:5px 0;overflow-wrap:anywhere}.rd-preparing-reference button{font-size:13px;padding:6px 8px;flex-shrink:0}.rd-optional{font-size:13px;color:var(--rd-muted);font-weight:400}.rd-brief-summary{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}.rd-brief-summary span{font-size:12px;color:var(--rd-muted);background:#f2f5f9;padding:5px 7px;border-radius:5px}.rd-composer-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:22px;border-top:1px solid var(--rd-line);padding-top:18px}.rd-composer-footer>span{font-size:14px;color:var(--rd-muted)}.rd-bulk-edit{margin-bottom:14px;background:#eaf7f3;border:1px solid #bce5d8;border-radius:10px;padding:14px}.rd-bulk-edit form{display:flex;gap:10px;align-items:end;margin-top:14px}.rd-bulk-edit label{flex:1;min-width:0}.rd-bulk-edit button{font-size:14px}.rd-empty{background:#fff;border:1px dashed #c9d6e4;border-radius:12px;padding:65px 20px;text-align:center;min-height:300px}.rd-empty h2{font-size:18px}.rd-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}@keyframes rd-pulse{50%{opacity:.45}}@keyframes rd-spin{to{transform:rotate(360deg)}}@media(max-width:1200px){.rd-workspace{grid-template-columns:280px minmax(0,1fr)}.rd-editor-grid{grid-template-columns:minmax(0,1fr)}.rd-chat{border-left:0;border-top:1px solid var(--rd-line);padding:22px 0 0}.rd-main-artwork{max-height:440px}.rd-inline-editor{padding:18px}}@media(max-width:760px){.rd-page{padding:14px}.rd-heading h1{font-size:23px}.rd-heading{gap:14px}.rd-actions{flex-wrap:wrap}.rd-actions button{font-size:14px}.rd-workspace{display:flex;flex-direction:column;height:auto;min-height:0}.rd-queue{max-height:350px;min-height:210px}.rd-queue-rows{max-height:190px}.rd-queue-heading{padding:13px 14px 10px}.rd-queue-counters{padding-bottom:10px}.rd-queue-footer{display:none}.rd-queue-selection{padding:7px 12px}.rd-work-area{overflow:visible;padding:0}.rd-editor-heading h2{font-size:16px}.rd-editor-heading{flex-wrap:wrap}.rd-step-timeline{gap:22px;margin-bottom:18px}.rd-main-artwork{max-height:none;min-height:220px}.rd-provider form,.rd-bulk-edit form{align-items:stretch;flex-direction:column}.rd-panel{padding:16px}.rd-preparing-reference{flex-wrap:wrap}.rd-preparing-reference>button{margin-left:auto}.rd-import-form>label{min-width:100%}.rd-composer-footer .rd-actions{width:100%}.rd-composer-footer button{flex:1;font-size:14px}.rd-field-row{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){.rd-dot.running,.rd-step-timeline .is-running .rd-step-number,.rd-spinner{animation:none}}.rd-main-artwork.rd-comparison{aspect-ratio:auto;max-height:none;overflow:visible;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;padding:12px}.rd-comparison figure{margin:0;min-width:0}.rd-comparison figcaption{font-size:14px;font-weight:600;color:var(--rd-muted);margin-bottom:8px}.rd-comparison figure img{display:block;width:100%;height:auto;max-height:440px;object-fit:contain}.rd-preview-toolbar>[role=group]{display:flex;flex-wrap:wrap;gap:4px}@media(max-width:700px){.rd-main-artwork.rd-comparison{grid-template-columns:1fr}}.rd-provider-hint{margin:0 0 10px;color:var(--rd-muted);font-size:15px;line-height:1.5}.rd-engine{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-bottom:18px}.rd-engine label{display:flex;flex-direction:row;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--rd-line);border-radius:10px;cursor:pointer}.rd-engine label span{display:grid;gap:2px}.rd-engine small{color:var(--rd-muted)}.rd-setup{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.rd-main-artwork.rd-mockups{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rd-main-artwork.rd-mockups img{width:100%;height:auto;display:block;border-radius:8px}.rd-make-mockups form{display:grid;gap:10px;margin-top:10px}.rd-kind{margin-bottom:14px}.rd-next-base{grid-template-columns:1fr;margin-bottom:14px}.rd-made-to-order{margin:10px 0 0;padding:10px 12px;border:1px solid #f1d9a8;background:#fff8e8;border-radius:8px;font-size:15px;line-height:1.45;color:#6b4a0c}.rd-page .rd-engine input[type=radio]{width:16px;height:16px;min-height:0;flex:none;margin:2px 0 0;padding:0;accent-color:var(--rd-accent)}.rd-page button{min-height:40px;font-size:14.5px}.rd-page input:not([type=radio]):not([type=checkbox]):not([type=range]),.rd-page select{min-height:40px;font-size:15px}.rd-page textarea{font-size:15px}.rd-page svg{min-width:18px;min-height:18px}.rd-photo-input{margin:12px 0}.rd-photo-input ul{display:grid;gap:8px;padding:0;max-height:224px;overflow-y:auto;list-style:none}.rd-photo-input li{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:8px;align-items:center}.rd-photo-input img{width:48px;height:48px;border-radius:6px;object-fit:cover}.rd-photo-input li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
