.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}.cdk-overlay-backdrop{position:absolute;inset:0;pointer-events:auto;-webkit-tap-highlight-color:transparent;opacity:0;touch-action:manipulation;z-index:1000;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors:active){.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.cdk-overlay-popover{background:none;border:none;padding:0;outline:0;overflow:visible;position:fixed;pointer-events:none;white-space:normal;color:inherit;text-decoration:none;width:100%;height:100%;inset:0 auto auto 0}.cdk-overlay-popover::backdrop{display:none}.cdk-overlay-popover .cdk-overlay-backdrop{position:fixed;z-index:auto}.dev-button,.dev-input,.dev-tabs button{font:inherit;color:var(--fg, #20211f);border:1px solid var(--border, #ddd);background:var(--bg-elevated, #fff);border-radius:9px;min-height:40px;padding:8px 12px}.dev-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}.dev-button:hover:not(:disabled){background:var(--bg-subtle, #eee)}.dev-button:disabled{opacity:.5;cursor:default}.dev-button--primary{background:var(--accent, #24634d);border-color:var(--accent);color:var(--bg-elevated, #fff)}.dev-button--danger{color:#c73838}.dev-button--text{border-color:transparent;background:transparent}.dev-input{width:100%;min-width:0;box-sizing:border-box}.dev-field-label{display:flex;flex-direction:column;gap:6px}.dev-field-label>span{font-size:13px;font-weight:500}.dev-check{display:inline-flex;align-items:center;gap:8px;min-height:40px}.dev-check input{width:18px;height:18px;accent-color:var(--accent)}.dev-form{display:grid;gap:18px}.dev-form-field{min-width:0}.dev-field-error{display:block;color:#c73838;font-size:12px;margin-top:5px}dev-column,dev-label{display:none}.dev-tabs{display:flex;gap:5px;overflow:auto;border-bottom:1px solid var(--border);padding:0 0 8px}.dev-tabs button{white-space:nowrap;border-color:transparent;cursor:pointer}.dev-tabs [aria-selected=true]{background:var(--accent-soft);border-color:var(--accent)}.dev-tab-content{padding-top:18px}.dev-tags{border:1px solid var(--border);border-radius:9px;padding:10px;min-width:0}.dev-tags legend{font-size:13px}.dev-tag-list{display:flex;flex-wrap:wrap;gap:5px}.dev-tag{display:inline-flex;align-items:center;gap:5px;padding:3px 7px;background:var(--accent-soft);border-radius:5px}.dev-tag button{border:0;background:transparent;color:inherit;cursor:pointer}.dev-tag-options{max-height:180px;overflow:auto;display:flex;flex-direction:column}.dev-tags .dev-input{margin-top:7px}.dev-backdrop{background:#0000006b}.dev-popup-portal{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.dev-popup{box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex;flex-direction:column;background:var(--bg-elevated, #fff);color:var(--fg, #20211f);border:1px solid var(--border);border-radius:14px;box-shadow:0 20px 70px #0005}.dev-popup-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--border)}.dev-popup :is(.picker-details,.location-actions,.pose-actions) dev-button>.dev-button{min-height:var(--rtch-control-target);border-radius:var(--rtch-control-radius)}.dev-popup-head>.dev-button{flex:0 0 auto;min-width:var(--rtch-control-target);min-height:var(--rtch-control-target);border-radius:var(--rtch-control-radius)}.dev-popup-head h2{min-width:0;overflow-wrap:anywhere;font-size:18px;margin:0}.dev-popup-body{padding:20px;overflow:auto;min-height:0}.dev-popup-body:has(>.catalog-picker-frame){flex:1 1 0;display:flex;flex-direction:column;overflow:hidden}.dev-popup-body:has(>.dialog-body){padding:var(--rtch-section-gap);overscroll-behavior:contain}@media(max-width:760px){.dev-popup-body:has(>.dialog-body){padding:var(--rtch-group-padding)}}:root :is(input,select).rtch-catalog-field,:root label.rtch-catalog-search-frame{box-sizing:border-box;min-height:var(--rtch-control-target);border:1px solid var(--border);border-radius:var(--rtch-control-radius);background-color:var(--bg-elevated);color:var(--fg)}:root :is(input,select).rtch-catalog-field{min-width:0;max-width:100%;padding:var(--rtch-control-gap) 12px;font:400 .875rem/1.5 var(--font-sans)}:root .rtch-catalog-field:focus-visible,:root label.rtch-catalog-search-frame:focus-within,:root .dev-popup-head>.dev-button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}:root button.rtch-photo-expand{display:grid;place-items:center;box-sizing:border-box;width:var(--rtch-control-target);height:var(--rtch-control-target);min-height:var(--rtch-control-target);padding:0;color:#fff;background:#141820b8;border:1px solid rgba(255,255,255,.8);border-radius:var(--rtch-control-radius)}:root button.rtch-photo-expand:before{content:"";width:20px;height:20px;background:currentColor;-webkit-mask:url(/assets/icons/expand-photo.svg) center/contain no-repeat;mask:url(/assets/icons/expand-photo.svg) center/contain no-repeat}:root button.rtch-photo-expand:focus-visible{outline:2px solid white;outline-offset:1px;box-shadow:0 0 0 5px #18221d}@media(forced-colors:active){:root button.rtch-photo-expand:before{background:ButtonText;forced-color-adjust:none}:root button.rtch-photo-expand:focus-visible{outline-color:Highlight}}.dev-confirm{max-width:min(540px,100vw - 32px);background:var(--bg-elevated, #fff);color:var(--fg, #20211f);border:1px solid var(--border);border-radius:14px;padding:24px}.dev-confirm::backdrop{background:#0007}.dev-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.dev-toast{position:fixed;z-index:10000;bottom:24px;left:50%;transform:translate(-50%);max-width:calc(100vw - 32px);padding:12px 18px;border:1px solid var(--border);border-radius:10px;box-shadow:0 5px 25px #0003;color:var(--fg, #20211f);background:var(--bg-elevated, #fff)}.dev-toast--error{border-color:#c73838}.dev-toast--success{border-color:var(--accent)}.dev-spinner{display:inline-block;border:3px solid var(--border, #ddd);border-top-color:var(--accent, #24634d);border-radius:50%;animation:dev-spin .8s linear infinite;box-sizing:border-box}.dev-loading{display:flex;justify-content:center;align-items:center;gap:10px;padding:18px}@keyframes dev-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.dev-spinner{animation:none}}@media(max-width:760px){.dev-form{grid-template-columns:minmax(0,1fr)!important}.dev-form-field{grid-column:1!important}.dev-popup-body{padding:14px}}.dev-popup-portal--side{max-width:100vw;max-height:100dvh}.dev-popup--side{max-height:100dvh;border-radius:14px 0 0 14px}@media(max-width:760px){.dev-popup-portal--responsive{max-width:100vw;max-height:100dvh}.dev-popup--responsive{width:100vw!important;max-width:100vw;height:100dvh!important;max-height:100dvh;border-radius:0}}.dev-grid{min-width:0;border:1px solid var(--border);border-radius:10px;background:var(--bg-elevated);color:var(--fg);overflow:hidden}.dev-grid-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px}.dev-grid-search{display:flex;align-items:center;gap:8px;margin-left:auto}.dev-grid-search input{max-width:300px}.dev-grid-scroll{overflow:auto;max-width:100%;position:relative}.dev-grid-table{border-collapse:separate;border-spacing:0;min-width:100%;font-size:13px}.dev-grid-table th,.dev-grid-table td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--border);white-space:nowrap;vertical-align:middle}.dev-grid-table th{position:relative;background:var(--bg-subtle);font-weight:600}.dev-grid-table tbody tr:hover>td{background:var(--bg-subtle)}.dev-grid-table .dev-grid-fixed{position:sticky;right:0;z-index:1;background:var(--bg-elevated);box-shadow:-3px 0 5px #0001}.dev-grid-table th.dev-grid-fixed{z-index:2;background:var(--bg-subtle)}.dev-grid-heading{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}.dev-grid-heading:disabled{color:inherit;opacity:1;cursor:default}.dev-grid-filter-button{border:0;background:none;color:var(--fg-muted);margin-left:6px;cursor:pointer}.dev-grid-resizer{position:absolute;right:0;top:0;height:100%;width:6px;cursor:col-resize}.dev-grid-resizer:focus-visible{background:var(--accent)}.dev-grid-filter-row .dev-input{min-width:110px;min-height:32px;padding:5px}.dev-grid-empty{text-align:center!important;color:var(--fg-muted);padding:30px!important}.dev-grid-selected>td{background:var(--accent-soft)!important}.dev-grid-pager{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:12px;font-size:12px}.dev-grid-pager label{display:flex;align-items:center;gap:8px;margin-right:auto}.dev-grid-pager select{width:75px}.dev-grid-select{width:30px}.dev-grid-actions{display:flex;gap:4px}.dev-grid-expand,.dev-grid-group button{border:0;background:none;font:inherit;color:inherit;cursor:pointer}.dev-grid-detail>td{white-space:normal;padding:20px!important}.dev-grid-chooser{display:flex;gap:12px;flex-wrap:wrap;border:1px solid var(--border);margin:0 12px 12px}.dev-grid-grouping{padding:0 12px 12px;display:flex;gap:8px;align-items:center}.dev-grid-grouping label{display:flex;gap:8px;align-items:center}.dev-grid-grouping select{width:auto}.dev-grid-group td{background:var(--bg-subtle);font-weight:600}.dev-grid-error{padding:12px;margin:0;color:#c73838;white-space:normal}.dev-filter-term{display:flex;gap:6px;margin-bottom:8px}.dev-header-values{max-height:45vh;overflow:auto;display:flex;flex-direction:column}@media(max-width:760px){.dev-grid-pager{flex-wrap:wrap;justify-content:flex-start}.dev-grid-toolbar{align-items:stretch}.dev-grid-search{margin-left:0;width:100%}.dev-grid-search input{max-width:none}.dev-filter-term{flex-wrap:wrap}}html,body{margin:0;min-height:100%}app-root{display:block;min-height:100vh}.rtch-ui{font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,Arial,sans-serif;color-scheme:light;--bg: #f7f7f5;--surface: #fff;--soft: #ededeb;--ink: #20211f;--muted: #6c6e68;--line: #ddded9;--accent: #24634d;--wash: #e5eee8;--on: #fff;--glass: rgba(255, 255, 255, .86);--danger: #ad3e3a;--shadow: 0 18px 60px #20282014}.rtch-ui *{box-sizing:border-box}.rtch-ui{margin:0;background:var(--bg);color:var(--ink);font-size:14px;line-height:1.5}.rtch-ui[data-theme=dark]{color-scheme:dark;--bg: #141614;--surface: #1d201d;--soft: #292d29;--ink: #f1f2ed;--muted: #a6ada5;--line: #383f38;--accent: #a8d8bc;--wash: #293d32;--on: #14271c;--glass: rgba(29, 32, 29, .9);--danger: #ffaba3;--shadow: 0 18px 60px #0004}.rtch-ui button,.rtch-ui input,.rtch-ui select,.rtch-ui textarea{font:inherit}.rtch-ui button,.rtch-ui .button,.rtch-ui a,.rtch-ui input,.rtch-ui select,.rtch-ui textarea{touch-action:manipulation}.rtch-ui button,.rtch-ui a{-webkit-tap-highlight-color:transparent}.rtch-ui button{cursor:pointer;border:1px solid transparent;border-radius:11px;background:var(--soft);color:var(--ink);padding:10px 15px;min-height:44px;font-weight:550}.rtch-ui button:hover{filter:brightness(.94)}.rtch-ui button:disabled{opacity:.45;cursor:not-allowed}.rtch-ui a{color:inherit;text-decoration:none}.rtch-ui button:focus-visible,.rtch-ui a:focus-visible,.rtch-ui input:focus-visible,.rtch-ui select:focus-visible,.rtch-ui textarea:focus-visible,.rtch-ui canvas:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.rtch-ui .primary{background:var(--accent);color:var(--on)}.rtch-ui .plain{background:transparent}.rtch-ui .outline{background:transparent;border-color:var(--line)}.rtch-ui .active{background:var(--wash)!important;color:var(--accent)!important}.rtch-ui .danger{color:var(--danger)}.rtch-ui input,.rtch-ui select,.rtch-ui textarea{color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:11px 12px;min-width:0;width:100%}.rtch-ui input[type=checkbox]{width:19px;height:19px;accent-color:var(--accent)}.rtch-ui textarea{resize:vertical;min-height:100px}.rtch-ui label{display:block;font-size:12px;font-weight:650;color:var(--muted)}.rtch-ui label input,.rtch-ui label select,.rtch-ui label textarea{margin-top:6px;font-size:14px;font-weight:400}.rtch-ui h1,.rtch-ui h2,.rtch-ui h3,.rtch-ui p{margin:0}.rtch-ui h1{font-size:34px;font-weight:600;letter-spacing:-1.25px;line-height:1.16}.rtch-ui h2{font-size:23px;font-weight:600;letter-spacing:-.6px}.rtch-ui h3{font-size:15px;font-weight:600}.rtch-ui small,.rtch-ui .muted{color:var(--muted)}.rtch-ui small{font-size:12px}.rtch-ui .eyebrow{font-size:11px;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted);font-weight:650}.rtch-ui .row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.rtch-ui .spread{justify-content:space-between}.rtch-ui .stack{display:grid;gap:18px}.rtch-ui .divider{border-top:1px solid var(--line);padding-top:18px}.rtch-ui .full{width:100%}.rtch-ui .nav-count{float:right;color:var(--muted);font-size:12px}.rtch-ui .content{padding:32px 36px 48px;min-width:0}.rtch-ui .page-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:26px}.rtch-ui .page-head p{color:var(--muted);margin-top:9px}.rtch-ui .toolbar{display:flex;align-items:center;gap:10px;margin-bottom:20px}.rtch-ui .toolbar input{max-width:330px}.rtch-ui .chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.rtch-ui .chip{border-radius:30px;background:transparent;min-height:36px;padding:7px 15px;color:var(--muted)}.rtch-ui .catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px}.rtch-ui .product .photo-button{display:block;width:100%;padding:0;background:#e8e7e2;border-radius:13px;overflow:hidden}.rtch-ui .photo-button img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block;transition:transform .3s}.rtch-ui .photo-button:hover img{transform:scale(1.025)}.rtch-ui .product-meta{padding:12px 1px 0}.rtch-ui .product-meta h3{margin-bottom:3px}.rtch-ui .product-meta .row{gap:6px}.rtch-ui .status{display:inline-block;padding:4px 8px;border-radius:5px;background:var(--soft);font-size:10px;font-weight:600;white-space:nowrap}.rtch-ui .status.approved,.rtch-ui .status.ready{background:var(--wash);color:var(--accent)}.rtch-ui .select-product{position:absolute;z-index:1;top:10px;left:10px;background:var(--glass);padding:5px;border-radius:7px;display:flex}.rtch-ui .select-product input{margin:0}.rtch-ui .field-section{display:grid;gap:14px}.rtch-ui .field-section+.field-section{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.rtch-ui .pick-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.rtch-ui .pick{padding:0 0 8px;overflow:hidden;background:transparent;border:1px solid var(--line);border-radius:10px;text-align:left}.rtch-ui .pick img{width:100%;height:100px;object-fit:cover;object-position:50% 25%;display:block;margin-bottom:7px}.rtch-ui .pick span{display:block;padding:0 10px;font-size:12px}.rtch-ui .pick.selected{border:2px solid var(--accent)}.rtch-ui .pick.selected span{color:var(--accent)}.rtch-ui .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.rtch-ui .action-dock{position:sticky;bottom:14px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--glass);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid var(--line);border-radius:16px;padding:12px 16px;box-shadow:var(--shadow);margin-top:25px}.rtch-ui .workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:40px}.rtch-ui .workspace-preview{background:var(--soft);border-radius:16px;overflow:hidden;min-height:450px;display:flex;justify-content:center}.rtch-ui .workspace-preview img{display:block;max-height:650px;max-width:100%;object-fit:contain}.rtch-ui .tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin-bottom:24px;padding-bottom:12px}.rtch-ui .tabs button{background:transparent}.rtch-ui .section-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.rtch-ui .section-grid img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:12px}.rtch-ui .list-row{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}.rtch-ui .list-row img{width:60px;height:74px;object-fit:cover;border-radius:7px}.rtch-ui .list-row .grow{flex:1;min-width:0}.rtch-ui .product .photo-button{border-radius:4px}.rtch-ui .catalog-grid{gap:28px}.rtch-ui .content{padding:36px 48px}.rtch-ui h1{font-size:39px;letter-spacing:-1.7px}.rtch-ui .chip{border-radius:7px}.rtch-ui .gallery-group{margin-top:30px}.rtch-ui .gallery-group .section-grid{margin-top:16px;grid-template-columns:repeat(4,minmax(0,1fr))}.rtch-ui .result-card{min-width:0}.rtch-ui .result-card img{width:100%;aspect-ratio:4/5;object-fit:cover}.rtch-ui .result-card .photo-button{padding:0;background:transparent;overflow:hidden;width:100%;border-radius:10px}.rtch-ui .result-card .row{margin-top:9px;gap:7px}.rtch-ui .result-card .row button{font-size:12px;min-height:36px;padding:6px 10px}.rtch-ui .editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:30px}.rtch-ui .image-stage{position:relative;max-width:560px;margin:auto;line-height:0}.rtch-ui .image-stage img{width:100%;max-height:650px;object-fit:contain;display:block}.rtch-ui .image-stage canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}.rtch-ui .image-stage canvas[hidden]{display:none}.rtch-ui .editor-canvas{padding:20px;background:var(--soft);border-radius:15px}.rtch-ui .versions{display:flex;gap:10px;overflow:auto;padding:14px 2px}.rtch-ui .version{flex:0 0 90px;padding:4px;background:transparent;border:1px solid var(--line);font-size:11px}.rtch-ui .version img{width:80px;height:92px;object-fit:cover;border-radius:5px}.rtch-ui .version span{display:block}.rtch-ui .comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px}.rtch-ui .comparison img{width:100%}.rtch-ui .empty{padding:55px 20px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:14px}.rtch-ui .metric{font-size:64px;font-weight:550;letter-spacing:-3px;line-height:1.2}.rtch-ui .credit-summary{padding:30px 0;border-bottom:1px solid var(--line);margin-bottom:24px}.rtch-ui .export-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.rtch-ui .export-options button{text-align:left;border:1px solid var(--line);background:transparent}.rtch-ui .export-options small{display:block;font-size:11px;margin-top:6px}.rtch-ui .upload-zone{border:1px dashed var(--muted);border-radius:16px;padding:35px 20px;text-align:center;background:var(--bg)}.rtch-ui .upload-zone.dragging{background:var(--wash)}.rtch-ui .upload-zone p{margin:10px 0 20px;color:var(--muted)}.rtch-ui .upload-zone input{margin:12px 0}.rtch-ui .upload-group{display:grid;grid-template-columns:52px minmax(0,1fr) 100px;gap:12px;align-items:center;margin:14px 0}.rtch-ui .upload-group img{width:52px;height:64px;object-fit:cover;border-radius:6px}.rtch-ui dialog{color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:23px;padding:28px;width:min(650px,100vw - 28px);max-height:90dvh;box-shadow:var(--shadow)}.rtch-ui dialog::backdrop{background:#1118;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.rtch-ui dialog header{display:flex;justify-content:space-between;align-items:start;margin-bottom:22px;gap:16px}.rtch-ui dialog footer{margin-top:24px;display:flex;justify-content:flex-end;gap:10px}.rtch-ui dialog p{margin-top:8px}.rtch-ui .modal-scroll{max-height:55vh;overflow:auto;padding:2px}.rtch-ui .notice{background:var(--wash);border-radius:10px;padding:12px 15px;font-size:12px;color:var(--accent)}.rtch-ui .table-scroll{overflow:auto}.rtch-ui table{border-collapse:collapse;width:100%;text-align:left}.rtch-ui th,.rtch-ui td{padding:15px 10px;border-bottom:1px solid var(--line)}.rtch-ui th{font-size:12px;color:var(--muted)}.rtch-ui .filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.rtch-ui .loading-bar{height:4px;background:var(--soft);border-radius:5px;overflow:hidden}.rtch-ui .loading-bar:after{content:"";display:block;width:40%;height:100%;background:var(--accent);animation:progress 1.2s infinite alternate}@keyframes progress{to{transform:translate(150%)}}@media(prefers-reduced-motion:reduce){.rtch-ui *,.rtch-ui *:after{animation:none!important;transition:none!important}}@media(max-width:1100px){.rtch-ui .content{padding:26px 24px}.rtch-ui .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rtch-ui .workspace{grid-template-columns:minmax(0,1fr) 290px;gap:25px}.rtch-ui .editor-grid{grid-template-columns:minmax(0,1fr) 270px;gap:20px}}@media(max-width:760px){.rtch-ui h1{font-size:30px;letter-spacing:-1px}.rtch-ui .nav-count{display:none}.rtch-ui .content{padding:22px 20px 30px}.rtch-ui .page-head{align-items:start;margin-bottom:22px;gap:12px}.rtch-ui .page-head p{font-size:12px}.rtch-ui .page-head .row{gap:6px}.rtch-ui .page-head button{padding:9px 11px;font-size:12px}.rtch-ui .toolbar{flex-wrap:wrap}.rtch-ui .toolbar input{max-width:none;flex:1;min-width:130px}.rtch-ui .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 13px}.rtch-ui .product-meta h3{font-size:13px}.rtch-ui .product-meta .row{display:block}.rtch-ui .product-meta small{display:block;margin-bottom:6px}.rtch-ui .chips{flex-wrap:nowrap;overflow:auto;white-space:nowrap;margin-right:-20px;padding-right:20px}.rtch-ui .workspace{grid-template-columns:1fr;gap:24px}.rtch-ui .workspace-preview{min-height:0}.rtch-ui .workspace-preview img{max-height:420px}.rtch-ui .pick-row{grid-template-columns:repeat(2,1fr)}.rtch-ui .pick img{height:140px}.rtch-ui .section-grid,.rtch-ui .gallery-group .section-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.rtch-ui .action-dock{bottom:max(0px,env(safe-area-inset-bottom));flex-wrap:wrap;padding:10px 12px;font-size:12px;gap:8px}.rtch-ui .action-dock button{font-size:12px;padding:9px 12px}.rtch-ui .editor-grid{display:flex;flex-direction:column;gap:20px}.rtch-ui .editor-canvas{padding:10px}.rtch-ui .image-stage img{max-height:470px}.rtch-ui .editor-panel{padding-bottom:10px}.rtch-ui .editor-panel textarea{min-height:100px}.rtch-ui .export-options,.rtch-ui .filter-grid{grid-template-columns:1fr}.rtch-ui .table-scroll{font-size:12px}.rtch-ui .result-card .row button{padding:6px 8px}.rtch-ui .notice{font-size:12px}.rtch-ui .upload-group{grid-template-columns:42px minmax(0,1fr) 80px}.rtch-ui .upload-group input{font-size:12px;padding:9px}.rtch-ui .editor-grid .page-head{flex-wrap:wrap}}.rtch-ui .mobile-only{display:none}@media(max-width:760px){.rtch-ui .editor-canvas .image-stage img{max-height:340px;width:auto;max-width:100%;margin:auto}.rtch-ui .editor-canvas .image-stage{width:fit-content;max-width:100%}.rtch-ui .editor-grid .version{flex-basis:64px}.rtch-ui .editor-grid .version img{width:54px;height:65px}.rtch-ui .editor-grid .versions{padding:10px 2px}.rtch-ui .editor-grid{gap:12px}}.rtch-ui .model-picker .pick img{object-position:50% 0%;height:160px}.rtch-ui .gallery-group .section-grid{grid-template-columns:repeat(5,minmax(0,1fr))}@media(max-width:760px){.rtch-ui .gallery-group .section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rtch-ui .model-picker .pick img{height:170px}}.rtch-ui{min-height:100dvh;width:100%}.rtch-ui .button{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border:1px solid transparent;border-radius:11px;padding:10px 15px;min-height:44px;font-weight:550;text-decoration:none}.rtch-ui .button.outline{border-color:var(--line)}.rtch-ui .workspace-preview{align-items:center}.rtch-ui .photo-button{display:block}.rtch-ui .source-caption{margin-top:12px}.rtch-ui .tabs a{background:transparent}.rtch-ui .back{margin-bottom:18px;padding-left:0}.rtch-ui .results-actions{margin-top:22px}.rtch-ui .gallery-group app-workspace-results{display:block;margin-top:16px}.rtch-ui .gallery-group .section-grid{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:0}.rtch-ui .result-card .row .button{font-size:12px;min-height:36px;padding:6px 10px}.rtch-ui .editor-title{margin-top:8px}.rtch-ui .editor-image-tools{margin-top:12px}.rtch-ui .version-label{overflow-wrap:anywhere}.rtch-ui .models-grid{max-width:900px}.rtch-ui .models-grid img{object-position:50% 0%}.rtch-ui .generation-actions{margin-top:22px;background:var(--bg);position:sticky;bottom:16px;padding-bottom:8px}.rtch-ui .reference-photo{max-height:180px;max-width:100%;object-fit:contain;border-radius:10px}.rtch-ui .check-label{display:flex;align-items:center;gap:10px;margin:16px 0;font-size:14px}.rtch-ui .check-label input{margin:0;flex-shrink:0}.rtch-ui .notice{margin-bottom:16px}.rtch-ui .error-notice{color:var(--danger);background:var(--surface);border:1px solid var(--danger)}.rtch-ui .notice .plain{font-size:12px;padding:5px;min-height:32px}.rtch-ui .center{justify-content:center}.rtch-ui .empty h2{margin-bottom:10px}.rtch-ui .empty .button,.rtch-ui .empty button{margin-top:16px}.rtch-ui .image-stage{width:fit-content;max-width:100%}.rtch-ui .image-stage img{width:auto;max-width:100%;height:auto;max-height:650px}.rtch-ui .image-stage.selecting{touch-action:none;cursor:crosshair;-webkit-user-select:none;user-select:none}.rtch-ui .region-box{position:absolute;background:#4eb47a47;border:2px solid var(--accent);pointer-events:none}.rtch-ui .version{display:block;text-align:center;border-radius:9px;overflow:hidden}.rtch-ui .version small{display:block;font-size:10px;overflow-wrap:anywhere;line-height:1.3}.rtch-ui details summary{cursor:pointer;min-height:44px;padding:10px 0;color:var(--muted)}.rtch-ui details .form-grid{margin-bottom:12px}.rtch-ui .preview-tools{margin-top:28px}.rtch-ui .skip-link{position:fixed;left:16px;top:-80px;z-index:50;background:var(--surface);padding:12px}.rtch-ui .skip-link:focus{top:12px}.rtch-ui [hidden]{display:none!important}.rtch-ui app-workspace-setup,.rtch-ui app-workspace-page,.rtch-ui app-workspace-results,.rtch-ui app-workspace-editor{display:block;min-width:0}@media(max-width:760px){.rtch-ui .gallery-group .section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rtch-ui .generation-actions{bottom:max(0px,env(safe-area-inset-bottom))}.rtch-ui .image-stage img{max-height:340px}.rtch-ui .versions .version{flex-basis:64px}.rtch-ui .versions .version img{width:54px;height:65px}.rtch-ui .editor-grid .versions{padding:10px 2px}.rtch-ui .editor-grid{gap:12px}.rtch-ui dialog{padding:22px;max-height:88dvh}.rtch-ui dialog footer{flex-wrap:wrap}.rtch-ui .list-row{gap:10px}.rtch-ui .list-row .grow{overflow-wrap:anywhere}.rtch-ui .tabs{overflow:auto}.rtch-ui .page-head h1{overflow-wrap:anywhere}}.rtch-ui a.photo-button{border:1px solid transparent}.rtch-ui .editor-panel .notice{margin-bottom:0}@media(max-width:760px){.rtch-ui .catalog-grid{gap:28px}}.rtch-ui app-product-catalog,.rtch-ui app-product-workspace,.rtch-ui app-product-sources,.rtch-ui app-product-setup,.rtch-ui app-product-upload{display:block}.rtch-ui fieldset{min-width:0;border:0;margin:0;padding:0}.rtch-ui .catalog-refresh{justify-content:flex-end}.rtch-ui .catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.rtch-ui .catalog-filters{align-items:end;flex-wrap:wrap}.rtch-ui .catalog-filters label{min-width:160px}.rtch-ui .catalog-actions{margin:16px 0 24px}.rtch-ui .product{position:relative;min-width:0}.rtch-ui .product-meta{padding-top:14px}.rtch-ui .product-meta h3{margin:0 0 6px}.rtch-ui .product-meta small{overflow-wrap:anywhere}.rtch-ui .select-product{position:absolute;z-index:1;top:10px;left:10px;width:44px;height:44px;display:grid;place-items:center;background:var(--glass);border-radius:11px}.rtch-ui .select-product input{width:20px;height:20px;margin:0}.rtch-ui .pagination{margin:28px 0}.rtch-ui .source-photo{margin:0}.rtch-ui .source-photo figcaption{margin-top:8px;color:var(--muted)}.rtch-ui .product-metadata{max-width:760px;margin-top:36px}.rtch-ui .setup-workspace{align-items:start}.rtch-ui .setup-workspace .workspace-preview{padding:0;display:block;overflow:hidden;background:var(--soft);border-radius:4px}.rtch-ui .setup-workspace .workspace-preview app-private-image{width:100%}.rtch-ui .setup-panel{min-width:0}.rtch-ui .setup-panel label+label{margin-top:18px}.rtch-ui .source-picks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.rtch-ui .source-pick{padding:0;overflow:hidden;border:2px solid transparent;background:var(--soft);border-radius:4px}.rtch-ui .source-pick span{display:block;padding:8px 4px}.rtch-ui .source-pick.active{border-color:var(--accent)}.rtch-ui .source-order{padding-left:22px}.rtch-ui .source-order li{padding:5px 0}.rtch-ui .source-order li>span{float:left;padding-top:10px}.rtch-ui .source-order li .row{justify-content:flex-end}.rtch-ui .model-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}.rtch-ui .model-picker .pick{min-width:0;width:auto;padding:0}.rtch-ui .model-picker .pick span{display:block;overflow-wrap:anywhere;padding:5px}.rtch-ui .reference-preview{width:120px;margin:16px 0}.rtch-ui .setup-actions{background:var(--bg);padding:12px 0}.rtch-ui .readiness-reasons{margin:0;padding-left:20px;color:var(--muted)}.rtch-ui .import-review-group{border:1px solid var(--line);background:var(--surface);border-radius:11px;padding:24px}.rtch-ui .section-heading,.rtch-ui .import-history,.rtch-ui .append-search{margin:28px 0}.rtch-ui .import-files{padding-left:24px}.rtch-ui .import-files li{padding:14px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.rtch-ui .import-files li label{margin-top:10px}.rtch-ui .import-files input[type=file]{max-width:100%}.rtch-ui .import-receipt .list-row,.rtch-ui .import-files li{min-width:0}.rtch-ui .import-history .grow{min-width:0;overflow-wrap:anywhere}@media(min-width:1450px){.rtch-ui .catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){.rtch-ui .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.rtch-ui .catalog-grid{gap:20px 14px}.rtch-ui .catalog-filters label:first-child{flex-basis:100%}.rtch-ui .catalog-filters label{min-width:120px;flex:1}.rtch-ui .setup-workspace .workspace-preview{max-height:none}.rtch-ui .source-picks{gap:8px}.rtch-ui .source-pick span{font-size:12px}.rtch-ui .import-review-group{padding:18px}.rtch-ui .import-review-group .form-grid{grid-template-columns:1fr}.rtch-ui .setup-actions{padding-bottom:20px}.rtch-ui .action-dock{bottom:max(0px,env(safe-area-inset-bottom));flex-wrap:wrap}.rtch-ui .pagination{gap:8px}}.rtch-ui app-product-upload-shell,.rtch-ui app-product-upload,.rtch-ui app-product-upload-settings,.rtch-ui app-product-import-history,.rtch-ui app-product-import-detail{display:block;min-width:0;max-width:100%}.rtch-ui .upload-chooser{display:grid;gap:20px;text-align:center;margin-bottom:18px}.rtch-ui .chooser-plus{font-size:48px;font-weight:300}.rtch-ui .upload-chooser .form-grid{text-align:left}.rtch-ui .upload-history-link{display:table;margin:18px auto 0}.rtch-ui .continue-preparation{display:table;margin:18px auto}.rtch-ui .upload-preparation{min-width:0;max-width:100%}.rtch-ui .upload-sticky-footer{position:sticky;bottom:0;z-index:5;padding:18px 0;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);background:var(--glass);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.rtch-ui .source-upload-card{display:grid;place-items:center;min-height:240px;border:1px solid var(--line);border-radius:14px;background:transparent}.rtch-ui .source-upload-card span{font-size:46px;font-weight:300}@media(max-width:760px){.rtch-ui .upload-sticky-footer{bottom:max(0px,env(safe-area-inset-bottom));flex-wrap:wrap;min-width:0;max-width:100%}}.rtch-ui .account-item{display:flex;align-items:center;gap:10px;min-width:0}.rtch-ui .account-item[aria-disabled=true]{opacity:.5;pointer-events:none}.rtch-ui .menu-icon{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.rtch-ui .menu-trailing{margin-left:auto;width:15px;height:15px}.rtch-ui .account-balance{margin-left:auto;text-align:right;overflow-wrap:anywhere;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}.rtch-ui .account-balance small{display:block}.rtch-ui .account-appearance{padding:8px 15px}.rtch-ui .appearance-select{position:relative;display:block}.rtch-ui .appearance-select select{appearance:none;width:100%;padding-right:42px}.rtch-ui .select-chevron{position:absolute;right:14px;top:50%;transform:translateY(-50%);pointer-events:none}.rtch-ui .catalog-toolbar-actions{margin-left:auto;display:flex;gap:8px;flex:0 0 auto}.rtch-ui .icon-button{width:44px;min-width:44px;height:44px;padding:0;font-size:25px;display:inline-grid;place-items:center}.rtch-ui .product-metadata{max-width:none;margin:0 0 24px;gap:10px}.rtch-ui .product-metadata h2{font-size:17px}.rtch-ui .product-metadata .form-grid{max-width:760px}.rtch-ui .compact-sources{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,170px));gap:16px}.rtch-ui .source-open{width:100%;display:block;padding:0;overflow:hidden}.rtch-ui .compact-sources app-private-image{height:165px}.rtch-ui .compact-sources .source-upload-card{min-height:165px;align-self:start}@media(max-width:760px){.rtch-ui .compact-sources{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rtch-ui .catalog-toolbar-actions{margin-left:auto}}.rtch-ui app-product-studio .inspector .compact-generation{grid-template-columns:minmax(0,1fr);gap:16px}:root body,:root .app,:root body:has(.rtch-ui[data-theme]) .dev-popup-portal{--font-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;--bg: #f7f7f5;--bg-elevated: #fff;--bg-subtle: #ededeb;--fg: #20211f;--fg-muted: #6c6e68;--fg-subtle: #6c6e68;--border: #ddded9;--border-strong: #b8bcb5;--accent: #24634d;--accent-soft: #e5eee8;--base-bg: var(--bg-elevated);--base-bg-darken-5: var(--bg-subtle);--base-text-color: var(--fg);--base-text-color-alpha: var(--fg-muted);--base-text-color-alpha-7: var(--fg-muted);--base-border-color: var(--border);--base-accent: var(--accent);--rtch-text: var(--fg);--rtch-surface: var(--bg);--rtch-panel: var(--bg-elevated);--rtch-brand-ink: var(--fg);--rtch-brand-teal: var(--accent);--rtch-brand-blue: var(--accent);--rtch-app-background: var(--bg);--rtch-app-background-layer: none;--rtch-glass-surface: var(--bg-elevated);--rtch-glass-surface-strong: var(--bg-elevated);--rtch-glass-border: var(--border);--rtch-glass-shadow: none;--rtch-glass-shadow-soft: none;--rtch-glass-scrim: transparent;--rtch-nav-glass-background: var(--bg-elevated);--rtch-radius-shell: 0;--rtch-radius-panel: 14px;--rtch-workspace-padding: 20px;--rtch-workspace-padding-compact: 12px;--rtch-panel-gap: 12px;--rtch-control-gap: 8px;--rtch-group-padding: 16px;--rtch-section-gap: 24px;--rtch-control-target: 44px;--rtch-control-radius: 10px;--rtch-status-success-text: #174d2a;--rtch-status-success-bg: #e5eee8;--rtch-status-success-border: #bed5c5;--rtch-status-warning-text: #664000;--rtch-status-warning-bg: #fff0d7;--rtch-status-warning-border: #e8cd9d;--rtch-status-danger-text: #751517;--rtch-status-danger-bg: #fbe6e6;--rtch-status-danger-border: #e6bbbb;--rtch-status-info-text: #174d63;--rtch-status-info-bg: #e2eff5;--rtch-status-info-border: #bad0da;--rtch-status-neutral-text: var(--fg-muted);--rtch-status-neutral-bg: var(--bg-subtle);--rtch-status-neutral-border: var(--border);--pane-card-bg: var(--bg-elevated);--footer-border-color: var(--border);--shadow-color-first: #0001;--shadow-color-second: #0002;--plus-icon-color: var(--fg)}:root body,:root .app{color:var(--fg);background:var(--bg);font-family:var(--font-sans);font-size:14px;line-height:1.5}:root body.rtch-theme-dark,:root body.rtch-theme-dark .app,:root .app.rtch-theme-dark,:root body:has(.rtch-ui[data-theme=dark]) .dev-popup-portal{--bg: #141614;--bg-elevated: #1d201d;--bg-subtle: #292d29;--fg: #f1f2ed;--fg-muted: #a6ada5;--fg-subtle: #a6ada5;--border: #383f38;--border-strong: #697568;--accent: #a8d8bc;--accent-soft: #293d32;--rtch-status-success-text: #bff0c9;--rtch-status-success-bg: #293d32;--rtch-status-success-border: #456650;--rtch-status-warning-text: #ffda9a;--rtch-status-warning-bg: #43351f;--rtch-status-warning-border: #6a5331;--rtch-status-danger-text: #ffc5c7;--rtch-status-danger-bg: #43292a;--rtch-status-danger-border: #6c4546;--rtch-status-info-text: #b9e6eb;--rtch-status-info-bg: #243b42;--rtch-status-info-border: #3a5a62}:root body:has(.rtch-ui[data-theme=dark]) .dev-popup-portal{color-scheme:dark}:root body:has(.rtch-ui[data-theme=light]) .dev-popup-portal{color-scheme:light}:root :focus-visible{outline:2px solid var(--accent);outline-offset:3px}:root .admin-page-head h1{font-size:39px;font-weight:600;letter-spacing:-1.7px}@media(max-width:760px){:root .admin-page-head h1{font-size:30px;letter-spacing:-1px}}html:has(app-landing-page){scroll-behavior:smooth}@media(prefers-reduced-motion:reduce){html:has(app-landing-page){scroll-behavior:auto}}.rtch-shell{--shell-bg: #f7f7f5;--shell-surface: #fff;--shell-soft: #ededeb;--shell-ink: #20211f;--shell-muted: #6c6e68;--shell-line: #ddded9;--shell-accent: #24634d;--shell-wash: #e5eee8;--shell-sidebar-width: 194px;--bg: var(--shell-bg);--bg-elevated: var(--shell-surface);--bg-subtle: var(--shell-soft);--fg: var(--shell-ink);--fg-muted: var(--shell-muted);--border: var(--shell-line);--accent: var(--shell-accent);--accent-soft: var(--shell-wash);--font-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;display:grid;grid-template-columns:var(--shell-sidebar-width) minmax(0,1fr);align-items:start;min-height:100dvh;min-width:0;color:var(--shell-ink);background:var(--shell-bg);color-scheme:light;font:14px/1.5 var(--font-sans);isolation:isolate}[data-theme=dark] .rtch-shell,.rtch-shell[data-theme=dark]{--shell-bg: #141614;--shell-surface: #1d201d;--shell-soft: #292d29;--shell-ink: #f1f2ed;--shell-muted: #a6ada5;--shell-line: #383f38;--shell-accent: #a8d8bc;--shell-wash: #293d32;color-scheme:dark}.rtch-shell *,.rtch-shell *:before,.rtch-shell *:after{box-sizing:border-box}.rtch-shell [hidden]{display:none!important}.rtch-shell :focus-visible{outline:3px solid var(--shell-accent);outline-offset:3px}.rtch-shell__sidebar-host{grid-column:1;grid-row:1;position:sticky;top:0;height:100dvh;min-width:0;z-index:60}.rtch-shell__sidebar{grid-column:1;grid-row:1;position:sticky;top:0;height:100dvh;min-width:0;display:flex;flex-direction:column;gap:28px;padding:28px 20px 20px;border-right:1px solid var(--shell-line);background:var(--shell-bg);z-index:60}.rtch-shell__brand-row{display:flex;align-items:center;gap:8px;flex:0 0 auto}.rtch-shell .rtch-shell__brand{display:inline-flex;align-items:center;gap:10px;min-height:44px;min-width:0;color:var(--shell-ink);text-decoration:none;font-size:24px;font-weight:700;letter-spacing:-1.4px}.rtch-shell__brand>span:last-child{display:flex;align-items:baseline;min-width:0}.rtch-shell__brand small{color:var(--shell-muted);margin-left:10px;font-size:10px;font-weight:500;letter-spacing:1px}.rtch-shell__brand-mark{display:block;width:30px;height:30px;flex:0 0 30px;background:var(--shell-accent);-webkit-mask:url(/assets/brand/rtch-mark-light.svg) center / contain no-repeat;mask:url(/assets/brand/rtch-mark-light.svg) center / contain no-repeat}.rtch-shell__nav{flex:1 1 auto;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}.rtch-shell__nav nav{display:grid;gap:5px}.rtch-shell__nav :is(a,button){display:flex;align-items:center;gap:10px;width:100%;min-height:44px;margin:0;padding:10px 14px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--shell-ink);font:500 14px/1.25 var(--font-sans);text-decoration:none;text-align:left;cursor:pointer}.rtch-shell__nav :is(a,button):hover{background:var(--shell-soft);filter:none}.rtch-shell__nav :is(a,button).active,.rtch-shell__nav [aria-current=page],.rtch-shell__nav .app-shell__nav-item--active{background:var(--shell-wash);color:var(--shell-accent)}.rtch-shell__nav-text{overflow:hidden;text-overflow:ellipsis}.rtch-shell__nav-children{display:grid;gap:2px;margin:2px 0 6px}.rtch-shell__group-label{color:var(--shell-muted);font-size:11px;margin:0 14px 10px}.rtch-shell__empty{padding:10px 14px;color:var(--shell-muted)}.rtch-shell__footer{position:relative;flex:0 0 auto;padding-top:12px;border-top:1px solid var(--shell-line);min-width:0}.rtch-shell__account{position:relative;display:block;min-width:0}.rtch-shell .rtch-shell__account-trigger{display:grid;grid-template-columns:36px minmax(0,1fr) 14px;align-items:center;gap:8px;width:100%;min-height:52px;padding:6px 4px;border:1px solid transparent;border-radius:10px;color:var(--shell-ink);background:transparent;text-align:left;cursor:pointer;font:inherit}.rtch-shell .rtch-shell__account-trigger:hover,.rtch-shell .rtch-shell__account-trigger[aria-expanded=true]{background:var(--shell-wash);filter:none}.rtch-shell__avatar{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;border-radius:50%;background:var(--shell-soft);color:var(--shell-ink);font-size:12px;font-weight:750;overflow:hidden}.rtch-shell__avatar img{display:block;width:100%;height:100%;object-fit:cover}.rtch-shell__account-trigger app-shell-icon,.rtch-shell__account-trigger>svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7}.rtch-shell__account-copy{display:grid;gap:1px;min-width:0}.rtch-shell__account-copy :is(strong,small){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rtch-shell__account-copy strong{font-size:13px;font-weight:650}.rtch-shell__account-copy small{color:var(--shell-muted);font-size:11px}.rtch-shell .rtch-shell__account-panel{position:absolute;bottom:calc(100% + 10px);left:0;right:auto;z-index:90;width:min(290px,calc(100vw - 40px));max-height:calc(100dvh - 110px);overflow-y:auto;display:grid;gap:4px;padding:8px;border:1px solid var(--shell-line);border-radius:14px;color:var(--shell-ink);background:var(--shell-surface);box-shadow:0 14px 40px #00000029;-webkit-backdrop-filter:none;backdrop-filter:none}.rtch-shell__account-panel :is(a,button),.rtch-shell__menu-item{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;border:0;border-radius:9px;padding:10px 12px;color:var(--shell-ink);background:transparent;text-align:left;text-decoration:none;cursor:pointer;font:inherit}.rtch-shell__account-panel :is(a,button):hover{background:var(--shell-wash);filter:none}.rtch-shell__account-panel form{margin:0}.rtch-shell__account-panel app-shell-icon,.rtch-shell__account-panel svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.7}.rtch-shell__account-panel .rtch-shell__trailing{margin-left:auto;color:var(--shell-muted)}.rtch-shell__account-panel select{min-height:44px;color:var(--shell-ink);background:var(--shell-surface);border:1px solid var(--shell-line);border-radius:10px}.rtch-shell__workspace{grid-column:2;grid-row:1;min-width:0;min-height:100dvh}.rtch-shell__tools{display:flex;align-items:center;justify-content:flex-end;padding:16px 48px;min-height:76px;gap:12px}.rtch-shell .rtch-shell__search{display:flex;align-items:center;gap:10px;width:min(360px,100%);min-width:0;height:44px;padding:0 12px;font:inherit;color:var(--shell-muted);border:1px solid var(--shell-line);border-radius:10px;background:var(--shell-surface)}.rtch-shell__search:focus-within{outline:2px solid var(--shell-accent);outline-offset:2px}.rtch-shell .rtch-shell__search input{min-width:0;width:100%;height:100%;min-height:0;margin:0;padding:0;border:0;outline:0;background:transparent;color:var(--shell-ink);font:inherit}.rtch-shell .rtch-shell__search input:disabled{color:var(--shell-muted);opacity:1;cursor:default}.rtch-shell .rtch-shell__search input::placeholder{color:var(--shell-muted);opacity:1}.rtch-shell__search svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.7}.rtch-shell .rtch-shell__icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid var(--shell-line);border-radius:10px;background:var(--shell-surface);color:var(--shell-ink);cursor:pointer;font:inherit}.rtch-shell__icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.rtch-shell :is(.rtch-shell__open,.rtch-shell__close,.rtch-shell__scrim){display:none}.rtch-shell .app-main{grid-area:auto;grid-column:2;grid-row:1;padding:36px 48px;border:0;border-radius:0;background:var(--shell-bg);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;overflow:visible}body:has(.rtch-shell) .identity-appearance{display:none}.rtch-shell__workspace:has(app-product-studio){display:flex;flex-direction:column;height:100dvh;min-height:0}.rtch-shell__workspace:has(app-product-studio)>.content{flex:1;min-height:0;height:auto;padding:12px 20px;overflow:hidden}.rtch-shell .content:has(app-product-studio) app-product-studio,.rtch-shell .content:has(app-product-studio) .studio{height:100%}.rtch-shell .content:has(app-product-studio) .generation-stage .studio-canvas app-private-image{max-height:100%}@media(max-width:1100px)and (min-width:761px){.rtch-shell{--shell-sidebar-width: 160px}.rtch-shell__sidebar{padding:24px 12px 20px}.rtch-shell .rtch-shell__brand{gap:7px}.rtch-shell__brand small{color:var(--shell-muted);margin-left:7px;letter-spacing:.5px}}@media(max-width:1100px){.rtch-shell__tools{padding-inline:24px}.rtch-shell .app-main{padding:26px 24px}}@media(max-width:760px){.rtch-shell{display:block}.rtch-shell__sidebar-host{position:static;height:0}.rtch-shell__sidebar{position:fixed;top:0;bottom:0;left:0;width:min(288px,calc(100vw - 48px));height:100dvh;padding:16px 20px max(16px,env(safe-area-inset-bottom));border-right:1px solid var(--shell-line);transform:translate(-100%);visibility:hidden;transition:transform .16s ease,visibility .16s ease;z-index:80}.rtch-shell__sidebar--open{transform:translate(0);visibility:visible}.rtch-shell__brand-row{justify-content:space-between}.rtch-shell .rtch-shell__open{display:inline-flex;position:fixed;top:16px;left:20px;z-index:65}.rtch-shell .rtch-shell__close{display:inline-flex}.rtch-shell .rtch-shell__scrim{display:block;position:fixed;inset:0;z-index:70;width:100%;height:100%;padding:0;border:0;border-radius:0;background:#00000052;cursor:pointer}.rtch-shell__tools{padding:16px 20px 16px 76px}.rtch-shell__workspace{min-height:100dvh}.rtch-shell .app-main{padding:76px 20px 30px}.rtch-shell .rtch-shell__account-panel{left:0;width:min(290px,calc(100vw - 88px));max-height:calc(100dvh - 120px)}.rtch-shell__workspace:has(app-product-studio)>.content{padding:8px}}@media(prefers-reduced-motion:reduce){.rtch-shell__sidebar{transition:none}}
