@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/fef07dbb0973bf53-s.3p2_lha1f2xer.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/8a480f0b521d4e75-s.1qq4vpdcun5oj.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/53b9e256198e5412-s.390ncx5urfkfu.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7178b3e590c64307-s.21jp631_3pja2.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Fallback;src:local(Arial);ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.0%;size-adjust:104.76%}.geist_da832ead-module__aN_Ytq__className{font-family:Geist,Geist Fallback;font-style:normal}.geist_da832ead-module__aN_Ytq__variable{--font-sans:"Geist", "Geist Fallback"}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/5ce348bf30bf5439-s.31988l_ccedte.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/4fa387ec64143e14-s.2tuy5pz7dlieh.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/6306c77e7c8268e4-s.2dbetqa9o8jxf.woff2)format("woff2");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7d817b4c03b0c5f1-s.1uyisp29ctx0d.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/bbc41e54d2fcbd21-s.1rgnod-3esatf.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/797e433ab948586e-s.p.0r6juujl39pe6.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Mono Fallback;src:local(Arial);ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.0%;size-adjust:134.59%}.geist_mono_d85583d7-module__1dHVEa__className{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.geist_mono_d85583d7-module__1dHVEa__variable{--font-mono:"Geist Mono", "Geist Mono Fallback"}
:root{--bg:#f4f5f2;--surface:#fff;--surface-strong:#fff;--panel:#f8f7f3;--surface-soft:#f7f1e7;--ink:#232622;--ink-soft:#454b45;--muted:#697069;--subtle:#858b84;--line:#e1e4df;--line-strong:#d4d8d1;--accent:#a77e45;--accent-dark:#896231;--accent-ink:#fff;--danger:#9b584f;--danger-soft:#f8eae8;--success:#4d7759;--success-soft:#e9f2ea;--shadow:0 1px 2px #1c201c08, 0 10px 28px #1c201c0b;--shadow-raised:0 18px 48px #1c201c24;--radius-card:12px;--radius-control:8px}*{box-sizing:border-box}html{background:var(--bg)}body{color:var(--ink);background:var(--bg);font-family:var(--font-sans), Arial, sans-serif;margin:0}button,input{font:inherit}button{color:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid color-mix(in srgb, var(--accent) 75%, var(--ink));outline-offset:2px}input{color:var(--ink);background:var(--surface-strong)}.visually-hidden{clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.brand-mark{background:var(--accent);width:30px;height:30px;color:var(--accent-ink);border-radius:9px;justify-content:center;align-items:center;display:inline-flex}.gurhan-logo{object-fit:contain;object-position:left center;width:77px;height:37px}.gurhan-logo.on-photo{filter:brightness(0)invert()}.brand-product-label{border-left:1px solid var(--line);color:var(--muted);letter-spacing:.14em;text-transform:uppercase;padding-left:14px;font-size:8px;font-weight:800;line-height:1.4}.login-shell{background:var(--surface-strong);grid-template-columns:minmax(0,1.15fr) minmax(440px,.85fr);min-height:100dvh;display:grid}.login-visual{background:#151719;min-height:100dvh;position:relative;overflow:hidden}.login-visual>img{object-fit:cover;object-position:center 34%;filter:saturate(.83)contrast(1.02)}.login-scrim{background:linear-gradient(#05080a26,#05080a05 45%,#05080ab8);position:absolute;inset:0}.login-brand{color:#f6f7f8;align-items:center;gap:14px;display:flex;position:absolute;top:34px;left:38px}.login-brand .brand-product-label{color:#ffffffb8;border-color:#ffffff61}.login-caption{color:#f6f7f8;position:absolute;bottom:42px;left:38px}.login-caption p{color:#ffffffb8;margin:0 0 9px;font-size:14px}.login-caption h1{letter-spacing:-.065em;max-width:560px;margin:0;font-size:clamp(38px,5vw,72px);line-height:.96}.login-panel{background:var(--surface-strong);place-items:center;min-height:100dvh;padding:48px;display:grid}.login-form-wrap{width:min(100%,410px)}.secure-label{color:var(--muted);align-items:center;gap:7px;margin-bottom:34px;font-size:13px;font-weight:600;display:inline-flex}.secure-label svg{width:17px;height:17px}.login-form-wrap h2{letter-spacing:-.055em;margin:0;font-size:40px;line-height:1}.login-form-wrap>p{color:var(--muted);margin:14px 0 30px;line-height:1.55}.login-form{gap:18px;display:grid}.login-form label,.field-group{gap:8px;display:grid}.login-form label span,.field-group label,.field-label{color:var(--ink);font-size:13px;font-weight:650}.login-form input,.field-group>input{border:1px solid var(--line-strong);border-radius:var(--radius-control);width:100%;height:50px;padding:0 15px;transition:border-color .2s,box-shadow .2s}.login-form input:hover,.field-group>input:hover{border-color:var(--muted)}.primary-button{border-radius:var(--radius-control);background:var(--accent);min-height:48px;color:var(--accent-ink);cursor:pointer;border:0;justify-content:space-between;align-items:center;margin-top:4px;padding:0 17px;font-weight:700;transition:transform .2s,background .2s;display:flex}.primary-button:hover{background:var(--accent-dark)}.primary-button:active{transform:scale(.985)}.primary-button:disabled{opacity:.6;cursor:wait}.primary-button svg{width:19px;height:19px}.form-error{font-size:13px;color:var(--danger)!important;margin:-4px 0 0!important}.demo-note{font-size:12px;color:var(--muted)!important;margin-top:20px!important}.studio-shell{background:var(--bg);grid-template-rows:60px minmax(0,1fr) 70px;grid-template-columns:106px 370px minmax(520px,1fr);height:100dvh;min-height:640px;display:grid;overflow:hidden}.studio-header{background:color-mix(in srgb, var(--surface-strong) 96%, transparent);border-bottom:1px solid var(--line);z-index:10;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);grid-column:1/-1;grid-template-columns:1fr auto;align-items:center;padding:0 18px;display:grid;position:sticky;top:0}.studio-wordmark{align-items:center;gap:14px;display:flex}.studio-header form{justify-self:end}.icon-button{border:1px solid var(--line);background:var(--surface-strong);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;transition:transform .18s,border-color .18s;display:inline-flex}.icon-button:hover{border-color:var(--ink)}.icon-button:active{transform:scale(.95)}.icon-button svg{width:18px;height:18px}.studio-nav{border-right:1px solid var(--line);background:var(--surface-strong);flex-direction:column;grid-area:2/1/4;gap:7px;padding:17px 11px;display:flex}.studio-nav a{min-height:63px;color:var(--muted);border-radius:10px;align-content:center;place-items:center;gap:6px;font-size:9px;font-weight:650;text-decoration:none;transition:color .18s,background .18s;display:grid}.studio-nav a:hover{color:var(--ink);background:var(--surface-soft)}.studio-nav a.active{color:var(--ink);background:var(--surface-soft);box-shadow:inset 3px 0 0 var(--accent)}.studio-nav svg{width:20px;height:20px}.control-panel{background:var(--panel);border-right:1px solid var(--line);grid-area:2/2;padding:22px 22px 96px;overflow-y:auto}.panel-heading,.workbench-heading,.label-row,.section-title,.results-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.panel-heading{margin-bottom:19px}.panel-heading p,.workbench-heading p,.results-heading p{color:var(--muted);margin:0 0 4px;font-size:12px}.panel-heading h1,.workbench-heading h2,.results-heading h2{letter-spacing:-.045em;margin:0}.panel-heading h1{font-size:24px}.field-group{margin-bottom:19px}.field-group label span{color:var(--muted);margin-left:5px;font-weight:450}.field-group>input::placeholder,.unit-input input::placeholder{color:color-mix(in srgb, var(--muted) 70%, transparent)}.label-row>span:last-child{color:var(--muted);font-size:12px;font-family:var(--font-mono)}.category-grid{grid-template-columns:repeat(4,1fr);gap:7px;display:grid}.category-grid button{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:8px;align-content:center;place-items:center;gap:4px;min-width:0;height:56px;font-size:9px;transition:border-color .18s,background .18s,transform .18s;display:grid}.category-grid button:hover{border-color:var(--line-strong);transform:translateY(-1px)}.category-grid button.selected{border-color:var(--ink);background:var(--surface-strong);box-shadow:inset 0 0 0 1px var(--ink)}.category-grid svg{width:21px;height:21px}.product-upload-surface{border-radius:var(--radius-card);position:relative}.product-upload-surface.is-dragging{outline:3px solid color-mix(in srgb, var(--accent) 60%, transparent);outline-offset:3px}.product-dropzone{border:1px dashed var(--line-strong);border-radius:var(--radius-card);background:var(--surface);cursor:pointer;width:100%;min-height:118px;color:var(--muted);align-content:center;justify-items:center;gap:6px;transition:border-color .18s,background .18s;display:grid}.product-dropzone:hover{border-color:var(--ink);background:var(--surface-soft)}.product-dropzone svg{width:27px;height:27px;color:var(--ink)}.product-dropzone strong{color:var(--ink);font-size:14px}.product-dropzone span{font-size:11px}.product-drop-overlay{z-index:5;border:2px dashed var(--accent);border-radius:var(--radius-card);background:color-mix(in srgb, var(--surface) 88%, var(--accent));min-height:118px;color:var(--muted);pointer-events:none;box-shadow:var(--shadow-raised);align-content:center;justify-items:center;gap:7px;display:grid;position:absolute;inset:0}.product-drop-overlay svg{width:29px;height:29px;color:var(--ink)}.product-drop-overlay strong{color:var(--ink);font-size:14px}.product-drop-overlay span{font-size:11px}.product-preview-block{gap:10px;display:grid}.main-product-preview{border:1px solid var(--line);border-radius:var(--radius-card);background:#fff;height:180px;position:relative;overflow:hidden}.main-product-preview img{object-fit:contain;width:100%;height:100%}.thumbnail-row{gap:8px;padding:1px;display:flex;overflow-x:auto}.upload-thumbnail,.add-thumbnail{border:1px solid var(--line);background:#fff;border-radius:12px;flex:0 0 62px;height:62px;position:relative;overflow:hidden}.upload-thumbnail img{object-fit:contain;width:100%;height:100%}.upload-thumbnail button{color:#fff;cursor:pointer;background:#0f1113c7;border:0;border-radius:6px;place-items:center;width:19px;height:19px;padding:0;display:grid;position:absolute;top:3px;right:3px}.upload-thumbnail button svg{width:11px;height:11px}.upload-thumbnail>span{background:var(--accent);color:var(--accent-ink);border-radius:4px;padding:2px 4px;font-size:8px;font-weight:700;position:absolute;bottom:3px;left:3px}.add-thumbnail{cursor:pointer;color:var(--muted);place-items:center;display:grid}.asset-meta{color:var(--muted);align-items:center;gap:5px;margin:1px 0 0;font-size:10px;display:flex}.asset-meta svg{width:13px;height:13px}.dimension-section{border-top:1px solid var(--line);margin-top:27px;padding-top:22px}.section-title>div{align-items:center;gap:8px;font-size:14px;font-weight:700;display:flex}.section-title svg{width:18px;height:18px}.status-pass,.status-wait{border-radius:7px;padding:5px 8px;font-size:10px;font-weight:700}.status-pass{color:var(--accent-dark);background:var(--surface-soft)}.status-wait{color:var(--muted);background:var(--surface-soft)}.dimension-section>p{color:var(--muted);margin:9px 0 18px;font-size:11px;line-height:1.5}.dimension-single{gap:7px;display:grid}.dimension-single>span{font-size:11px;font-weight:650}.dimension-single input{border:1px solid var(--line-strong);background:var(--surface-strong);border-radius:11px;outline:0;width:100%;height:43px;padding:0 12px}.dimension-single input:focus{outline:3px solid color-mix(in srgb, var(--accent) 70%, transparent);border-color:var(--ink)}.dimension-single small{color:var(--muted);font-size:9px;line-height:1.35}.verification-check{color:var(--ink);cursor:pointer;align-items:flex-start;gap:8px;margin-top:11px;font-size:10px;line-height:1.4;display:flex}.verification-check input{accent-color:var(--ink);margin:1px 0 0}.verification-check.disabled{color:var(--muted);cursor:not-allowed}.alternative-section{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.alternative-check{cursor:pointer;align-items:flex-start;gap:9px;margin-top:13px;display:flex}.alternative-check input{accent-color:var(--ink);margin:2px 0 0}.alternative-check>span{gap:4px;display:grid}.alternative-check strong{font-size:10px}.alternative-check small{color:var(--muted);font-size:9px;line-height:1.45}.workbench{grid-area:2/3;padding:26px 30px 104px;overflow-y:auto}.workbench-heading{margin-bottom:19px}.workbench-heading h2{font-size:clamp(25px,2.4vw,32px)}.model-tabs{border-bottom:1px solid var(--line);gap:22px;margin-bottom:14px;display:flex}.model-tabs button{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0 0 11px;position:relative}.model-tabs button.active{color:var(--ink);font-weight:650}.model-tabs button.active:after{content:"";background:var(--accent);height:2px;position:absolute;bottom:-1px;left:0;right:0}.model-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;display:grid}.model-tile,.custom-model-tile{border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface-strong);cursor:pointer;min-height:218px;transition:transform .22s,border-color .22s,box-shadow .22s;position:relative;overflow:hidden}.model-tile:hover,.custom-model-tile:hover{border-color:var(--line-strong);box-shadow:var(--shadow);transform:translateY(-2px)}.model-tile.selected,.custom-model-tile.selected{border-color:var(--ink);box-shadow:inset 0 0 0 2px var(--surface-strong), inset 0 0 0 4px var(--ink)}.model-tile>img,.custom-model-tile>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.model-caption{background:color-mix(in srgb, var(--surface-strong) 91%, transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);text-align:left;border-radius:8px;gap:2px;padding:8px 9px;display:grid;position:absolute;bottom:8px;left:8px;right:8px}.model-caption strong{font-size:12px}.model-caption small{color:var(--muted);font-size:9px}.tile-check{background:var(--accent);width:24px;height:24px;color:var(--accent-ink);border-radius:7px;place-items:center;display:grid;position:absolute;top:8px;right:8px;box-shadow:0 5px 18px #28201626}.tile-check svg{width:14px;height:14px}.custom-model-tile{color:var(--muted);border-style:dashed;align-content:center;justify-items:center;gap:7px;display:grid}.custom-model-tile svg{width:28px;height:28px;color:var(--ink)}.custom-model-tile strong{color:var(--ink);font-size:13px}.custom-model-tile span{font-size:10px}.results-section{border-top:1px solid var(--line);margin-top:26px;padding-top:21px}.results-heading{align-items:center;gap:16px;margin-bottom:16px}.results-heading>div>span{color:var(--muted);font-size:12px}.results-heading h2{font-size:23px}.results-primary{border-top:0;outline:none;margin-top:0;padding-top:0}.guide-toggle{border:1px solid var(--line-strong);background:var(--surface);min-height:38px;color:var(--ink);font:inherit;cursor:pointer;border-radius:6px;flex-shrink:0;padding:8px 11px;font-size:12px}.result-specs{border-top:1px solid var(--line);gap:14px;margin:0;padding-top:20px;font-size:12px;display:grid}.result-specs div{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 12px;display:flex}.result-specs dt{color:var(--muted)}.result-specs dd{text-align:right;margin:0}.rejected-section{border-top:1px solid color-mix(in srgb, var(--danger) 38%, var(--line));margin-top:26px;padding-top:21px}.rejected-grid{grid-template-columns:1fr;gap:9px;display:grid}.rejected-card{border:1px solid color-mix(in srgb, var(--danger) 32%, var(--line));border-radius:var(--radius-card);background:var(--surface-strong);grid-template-columns:126px minmax(0,1fr);min-width:0;display:grid;overflow:hidden}.rejected-card>.rejected-lightbox-trigger{border-right:1px solid var(--line);width:126px;height:100%;min-height:168px}.rejected-card>.rejected-lightbox-trigger>img{object-fit:cover;background:#fff;width:100%;height:100%;display:block}.rejected-card-body{align-content:start;gap:8px;min-width:0;padding:11px 12px;display:grid}.rejected-card-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.rejected-card-heading>span{font-size:11px;font-weight:730}.rejected-card-heading code{background:var(--danger-soft);max-width:64%;color:var(--danger);font-family:var(--font-mono);text-overflow:ellipsis;white-space:nowrap;border-radius:5px;padding:3px 6px;font-size:7px;font-weight:700;overflow:hidden}.rejected-metrics{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.rejected-metrics span{border-right:1px solid var(--line);color:var(--muted);font-family:var(--font-mono);text-transform:capitalize;padding-right:6px;font-size:7px}.rejected-metrics span:last-child{border-right:0;padding-right:0}.rejected-metrics strong{color:var(--ink);font-size:9px}.rejected-primary-failure{color:var(--muted);gap:2px;margin:0;font-size:9px;line-height:1.45;display:grid}.rejected-primary-failure strong{color:var(--ink);text-transform:capitalize;font-size:9px}.rejected-details{border-top:1px solid var(--line);padding-top:7px}.rejected-details summary{width:fit-content;color:var(--ink-soft);cursor:pointer;font-size:8px;font-weight:680;list-style-position:outside}.rejected-details[open] summary{margin-bottom:9px}.rejected-details-content{gap:9px;display:grid}.rejected-details-content>p{color:var(--muted);font-family:var(--font-mono);margin:0;font-size:7px;line-height:1.5}.rejected-details-content ul{gap:7px;margin:0;padding:0;list-style:none;display:grid}.rejected-details-content li{border-left:2px solid var(--danger);gap:2px;padding-left:8px;display:grid}.rejected-details-content li strong{color:var(--ink);text-transform:capitalize;font-size:8px}.rejected-details-content li span{color:var(--muted);font-size:8px;line-height:1.45}.rejected-details-content .rejected-disagreement{background:var(--danger-soft);color:var(--ink);font-family:var(--font-sans);border-radius:7px;padding:8px;font-size:8px}.rejected-details-content .rejected-repair{border-top:1px solid var(--line);font-family:var(--font-sans);gap:3px;padding-top:8px;font-size:8px;display:grid}.rejected-repair strong{color:var(--ink);letter-spacing:.08em;text-transform:uppercase;font-size:8px}.rejected-card-body>a{width:fit-content;color:var(--ink);align-items:center;gap:5px;font-size:8px;font-weight:650;text-decoration:none;display:inline-flex}.rejected-card-body>a:hover{color:var(--accent-dark)}.rejected-card-body>a svg{width:13px;height:13px}.lightbox-trigger{cursor:zoom-in;background:#fff;border:0;margin:0;padding:0;position:relative;overflow:hidden}.lightbox-trigger>img{transition:transform .22s,filter .22s}.lightbox-trigger:hover>img{filter:brightness(.96);transform:scale(1.015)}.lightbox-hint{color:#fff;opacity:0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#191c1ab8;border:1px solid #ffffff73;border-radius:8px;place-items:center;width:29px;height:29px;transition:opacity .18s,transform .18s;display:grid;position:absolute;bottom:9px;right:9px;transform:translateY(3px);box-shadow:0 5px 18px #00000029}.lightbox-trigger:hover .lightbox-hint,.lightbox-trigger:focus-visible .lightbox-hint{opacity:1;transform:translateY(0)}.lightbox-hint svg{width:15px;height:15px}.image-lightbox{z-index:100;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#111312f0;grid-template-rows:auto minmax(0,1fr);gap:14px;padding:18px;display:grid;position:fixed;inset:0}.image-lightbox-toolbar{color:#ffffffc7;justify-content:space-between;align-items:center;gap:18px;display:flex}.image-lightbox-toolbar>span{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.image-lightbox-toolbar>div{align-items:center;gap:7px;display:flex}.image-lightbox-toolbar a,.image-lightbox-toolbar button{color:#fff;cursor:pointer;background:#ffffff14;border:1px solid #ffffff2e;border-radius:8px;align-items:center;gap:6px;height:36px;padding:0 10px;font-size:9px;text-decoration:none;display:inline-flex}.image-lightbox-toolbar a:hover,.image-lightbox-toolbar button:hover{background:#ffffff26}.image-lightbox-toolbar svg{width:14px;height:14px}.image-lightbox>img{object-fit:contain;width:100%;min-width:0;height:100%;min-height:0;display:block}.activity-log-drawer{border-top:1px solid var(--line);width:100%;font-family:var(--font-sans), Arial, sans-serif;margin-top:28px;position:static}.activity-log-drawer.is-open{min-width:0}.activity-log-toggle{cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;min-height:44px;padding:8px 0;display:flex}.activity-log-status{display:none}.activity-log-toggle strong{font-size:11px}.activity-log-toggle small{background:var(--surface-soft);min-width:20px;color:var(--muted);font-family:var(--font-mono);text-align:center;border-radius:999px;padding:2px 6px;font-size:8px}.activity-log-chevron{width:18px;color:var(--muted);text-align:center;font-size:17px;font-weight:400;line-height:1}.activity-log-panel{padding:14px}.activity-log-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:11px;display:flex}.activity-log-heading>div{gap:3px;display:grid}.activity-log-heading strong{font-size:11px}.activity-log-heading span{color:var(--muted);font-size:8px}.activity-log-heading button{color:var(--muted);cursor:pointer;background:0 0;border:0;font-size:9px}.activity-log-heading button:disabled{opacity:.4;cursor:default}.activity-log-actions{grid-auto-flow:column;justify-content:end;align-items:center;gap:5px;display:flex!important}.activity-log-actions button{background:var(--surface-soft);border-radius:7px;padding:6px 8px}.activity-log-list{scrollbar-width:thin;max-height:min(52vh,520px);margin:0;padding:2px 3px 2px 0;list-style:none;overflow-y:auto}.activity-log-entry{border-bottom:1px solid color-mix(in srgb, var(--line) 70%, transparent);grid-template-columns:58px 9px minmax(0,1fr);align-items:start;gap:9px;padding:7px 5px;display:grid}.activity-log-entry:last-child{border-bottom:0}.activity-log-entry time{color:var(--muted);font-family:var(--font-mono);padding-top:1px;font-size:8px}.activity-log-marker{background:#8b949e;border-radius:50%;width:7px;height:7px;margin-top:3px}.activity-log-entry.is-success .activity-log-marker{background:#2e9d62}.activity-log-entry.is-warning .activity-log-marker{background:#d18a18}.activity-log-entry.is-error .activity-log-marker{background:var(--danger)}.activity-log-entry>div{gap:2px;min-width:0;display:grid}.activity-log-entry strong{flex-wrap:wrap;align-items:center;gap:5px;font-size:9px;font-weight:680;display:flex}.activity-log-entry strong code{background:var(--surface-soft);color:var(--muted);font-family:var(--font-mono);border-radius:5px;padding:2px 4px;font-size:7px;font-weight:600}.activity-log-entry strong small{color:var(--muted);font-family:var(--font-mono);margin-left:auto;font-size:7px;font-weight:500}.activity-log-entry>div span{overflow-wrap:anywhere;white-space:pre-wrap;color:var(--muted);font-family:var(--font-mono);font-size:7px;line-height:1.5}.activity-log-empty{color:var(--muted);text-align:center;padding:18px 8px;font-size:9px}.generate-dock{z-index:9;border-top:1px solid var(--line);background:color-mix(in srgb, var(--surface-strong) 95%, transparent);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);grid-area:3/2/auto/-1;grid-template-columns:1fr auto;align-items:center;gap:18px;min-width:0;padding:9px 18px;display:grid;position:sticky;bottom:0}.preflight-summary{flex-wrap:wrap;gap:9px 18px;display:flex}.preflight-summary span{color:var(--muted);align-items:center;gap:5px;font-size:10px;display:inline-flex}.preflight-summary span.done{color:var(--ink)}.preflight-summary svg{width:13px;height:13px}.job-status{color:var(--muted);grid-column:1;margin:0;font-size:11px;line-height:1.4}.generation-error{color:var(--danger);grid-column:1;margin:-7px 0 0;font-size:11px}.generate-button{background:var(--accent);min-width:248px;height:48px;color:var(--accent-ink);cursor:pointer;border:0;border-radius:8px;grid-area:1/2/3;justify-content:space-between;align-items:center;gap:14px;padding:0 16px;font-weight:730;transition:transform .18s,background .18s;display:flex}.generate-button:hover:not(:disabled){background:var(--accent-dark);transform:translateY(-1px)}.generate-button:active:not(:disabled){transform:scale(.985)}.generate-button:disabled{background:var(--surface-soft);color:var(--muted);cursor:not-allowed}.generate-button svg{width:19px;height:19px}.button-loader{border:2px solid #11160040;border-top-color:var(--accent-ink);border-radius:50%;width:18px;height:18px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.app-section-shell{grid-template-rows:60px minmax(0,1fr)}.app-section-shell .studio-nav{grid-row:2}.history-page,.settings-page{grid-area:2/2/auto/-1;min-width:0;padding:27px 30px 44px;overflow-y:auto}.section-page-header{justify-content:space-between;align-items:end;gap:24px;margin-bottom:21px;display:flex}.section-page-header p{color:var(--muted);margin:0 0 5px;font-size:11px}.section-page-header h1{letter-spacing:-.05em;margin:0;font-size:32px}.section-page-header>div>span{max-width:710px;color:var(--muted);margin-top:8px;font-size:10px;line-height:1.5;display:block}.section-page-header>button{border:1px solid var(--line);background:var(--surface-strong);cursor:pointer;border-radius:8px;align-items:center;gap:7px;padding:9px 11px;font-size:10px;display:inline-flex}.section-page-header>button:disabled{color:var(--muted);cursor:wait}.section-page-header>button svg{width:15px;height:15px}.spin{animation:.8s linear infinite spin}.history-stats{border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface-strong);grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:15px;display:grid;overflow:hidden}.history-stats span{border-right:1px solid var(--line);color:var(--muted);gap:3px;padding:12px 14px;font-size:9px;display:grid}.history-stats span:last-child{border-right:0}.history-stats strong{color:var(--ink);font-family:var(--font-mono);font-size:15px}.history-error{background:var(--danger-soft);color:var(--danger);border-radius:9px;align-items:center;gap:7px;margin:0 0 13px;padding:9px 11px;font-size:10px;display:flex}.history-error svg{width:16px;height:16px}.history-layout{border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface-strong);grid-template-columns:minmax(250px,310px) minmax(0,1fr);min-height:620px;display:grid;overflow:hidden}.history-index{border-right:1px solid var(--line);background:var(--panel);min-width:0}.history-search{border-bottom:1px solid var(--line);align-items:center;gap:8px;height:54px;margin:0;padding:0 12px;display:flex}.history-search svg{width:16px;height:16px;color:var(--muted);flex:0 0 16px}.history-search input{background:0 0;border:0;outline:0;width:100%;min-width:0;font-size:10px}.history-run-list{max-height:calc(100dvh - 244px);padding:7px;overflow-y:auto}.history-run-list>button{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;grid-template-columns:50px minmax(0,1fr);gap:9px;width:100%;min-width:0;padding:8px;display:grid;position:relative}.history-run-list>button:hover{background:color-mix(in srgb, var(--surface-soft) 64%, transparent)}.history-run-list>button.selected{background:var(--surface-strong);box-shadow:var(--shadow)}.history-run-preview{border:1px solid var(--line);width:50px;height:62px;color:var(--muted);background:#fff;border-radius:8px;place-items:center;display:grid;overflow:hidden}.history-run-preview img{object-fit:cover;width:100%;height:100%}.history-run-preview svg{width:18px;height:18px}.history-run-copy{align-content:center;gap:3px;min-width:0;padding-right:3px;display:grid}.history-run-copy strong{text-overflow:ellipsis;white-space:nowrap;text-transform:capitalize;font-size:10px;overflow:hidden}.history-run-copy small{color:var(--muted);font-size:8px}.history-run-copy code{color:var(--subtle);font-family:var(--font-mono);text-overflow:ellipsis;white-space:nowrap;font-size:6px;overflow:hidden}.history-status{background:var(--surface-soft);width:fit-content;color:var(--muted);text-transform:uppercase;border-radius:999px;align-items:center;gap:4px;padding:3px 6px;font-size:7px;font-style:normal;font-weight:750;display:inline-flex}.history-run-list .history-status{position:absolute;bottom:9px;right:10px}.history-status.is-completed{background:var(--success-soft);color:var(--success)}.history-status.is-failed{background:var(--danger-soft);color:var(--danger)}.history-detail{min-width:0;max-height:calc(100dvh - 190px);padding:20px;overflow-y:auto}.history-placeholder{min-height:420px;color:var(--muted);text-align:center;align-content:center;place-items:center;gap:9px;display:grid}.history-placeholder>svg{width:30px;height:30px}.history-placeholder h2,.history-placeholder p{margin:0}.history-placeholder h2{color:var(--ink);font-size:18px}.history-placeholder p{font-size:10px}.history-detail-error>svg{color:var(--danger)}.history-detail-error>button{border:1px solid var(--line);background:var(--surface-strong);color:var(--ink);cursor:pointer;border-radius:7px;padding:7px 10px;font-size:9px;font-weight:700}.history-detail-error>button:hover{border-color:var(--line-strong)}.history-detail-head{justify-content:space-between;align-items:start;gap:20px;display:flex}.history-detail-head>div{min-width:0}.history-detail-head>div>span{color:var(--muted);text-transform:capitalize;font-size:9px}.history-detail-head h2{letter-spacing:-.045em;margin:3px 0 5px;font-size:24px}.history-detail-head code{color:var(--muted);font-family:var(--font-mono);font-size:7px}.history-detail-actions{flex-shrink:0;align-items:center;gap:7px;display:flex}.history-detail-actions>.history-status{padding:6px 8px}.history-detail-actions>.history-status svg{width:13px;height:13px}.history-delete-button{border:1px solid color-mix(in srgb, var(--danger) 35%, var(--line));background:var(--danger-soft);color:var(--danger);cursor:pointer;border-radius:7px;align-items:center;gap:5px;padding:6px 8px;font-size:8px;font-weight:700;display:inline-flex}.history-delete-button:hover:not(:disabled){border-color:var(--danger)}.history-delete-button:disabled{opacity:.6;cursor:wait}.history-delete-button svg,.history-delete-button .button-loader{width:12px;height:12px}.history-delete-button .button-loader{border-color:color-mix(in srgb, var(--danger) 25%, transparent);border-top-color:var(--danger)}.history-metrics{flex-wrap:wrap;gap:8px;margin:17px 0 4px;display:flex}.history-metrics span{border:1px solid var(--line);min-width:90px;color:var(--muted);border-radius:8px;gap:2px;padding:8px 9px;font-size:7px;display:grid}.history-metrics strong{color:var(--ink);font-family:var(--font-mono);font-size:11px}.history-failure{border-left:3px solid var(--danger);background:var(--danger-soft);color:var(--muted);gap:4px;margin:12px 0 0;padding:9px 11px;font-size:9px;line-height:1.45;display:grid}.history-failure strong{color:var(--danger);font-family:var(--font-mono);font-size:8px}.history-assets-section,.history-trace-section{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.history-subheading{justify-content:space-between;align-items:end;gap:16px;margin-bottom:11px;display:flex}.history-subheading p{color:var(--muted);margin:0 0 3px;font-size:8px}.history-subheading h3{margin:0;font-size:15px}.history-subheading>span{color:var(--muted);font-family:var(--font-mono);font-size:8px}.history-assets{gap:9px;display:grid}.history-assets.source-assets{grid-template-columns:repeat(auto-fill,minmax(125px,1fr))}.history-assets.output-assets{grid-template-columns:repeat(auto-fill,minmax(185px,1fr))}.history-assets figure{border:1px solid var(--line);background:var(--surface-strong);border-radius:10px;min-width:0;margin:0;overflow:hidden}.history-assets figure.is-rejected{border-color:color-mix(in srgb, var(--danger) 42%, var(--line))}.history-assets figure.is-accepted{border-color:color-mix(in srgb, var(--success) 48%, var(--line))}.history-assets .lightbox-trigger{aspect-ratio:4/5;width:100%;display:block}.history-assets .lightbox-trigger>img{object-fit:contain;background:#fff;width:100%;height:100%;display:block}.output-assets .lightbox-trigger>img{object-fit:cover}.history-assets figcaption{gap:3px;padding:8px;display:grid}.history-assets figcaption strong{justify-content:space-between;align-items:center;gap:5px;font-size:9px;display:flex}.history-assets figcaption em{background:var(--surface-soft);color:var(--muted);text-transform:uppercase;border-radius:999px;padding:2px 5px;font-size:6px;font-style:normal}.history-assets figcaption span,.history-assets figcaption small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:7px;overflow:hidden}.history-assets figcaption a{width:fit-content;color:var(--ink);align-items:center;gap:4px;margin-top:3px;font-size:7px;text-decoration:none;display:inline-flex}.history-assets figcaption a svg{width:11px;height:11px}.history-trace-section ol{border:1px solid var(--line);border-radius:9px;max-height:500px;margin:0;padding:0;list-style:none;overflow-y:auto}.history-trace-section li{border-bottom:1px solid var(--line);grid-template-columns:66px minmax(0,1fr);gap:9px;padding:8px 9px;display:grid}.history-trace-section li:last-child{border-bottom:0}.history-trace-section time{color:var(--muted);font-family:var(--font-mono);font-size:7px}.history-trace-section li>div{gap:5px;min-width:0;display:grid}.history-trace-section strong{flex-wrap:wrap;align-items:center;gap:6px;font-size:8px;display:flex}.history-trace-section code{background:var(--surface-soft);color:var(--muted);font-family:var(--font-mono);border-radius:4px;padding:2px 4px;font-size:6px}.history-trace-section pre{max-height:190px;color:var(--muted);font-family:var(--font-mono);white-space:pre-wrap;word-break:break-word;margin:0;font-size:6px;line-height:1.45;overflow:auto}.history-empty{color:var(--muted);text-align:center;margin:18px 8px;font-size:9px}.settings-page{max-width:1120px}.settings-saved{background:var(--success-soft);color:var(--success);border-radius:8px;align-items:center;gap:6px;padding:8px 10px;font-size:10px;display:inline-flex}.settings-saved svg{width:14px;height:14px}.settings-grid{grid-template-columns:1fr 1fr;align-items:start;gap:14px;display:grid}.settings-card{border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface-strong);box-shadow:var(--shadow);padding:17px;overflow:hidden}.settings-card-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:17px;display:flex}.settings-card-heading>div{align-items:center;gap:10px;display:flex}.settings-card-heading svg{width:21px;height:21px}.settings-card-heading span{gap:3px;display:grid}.settings-card-heading strong{font-size:13px}.settings-card-heading small{color:var(--muted);font-size:8px}.settings-card-heading em{background:var(--success-soft);color:var(--success);text-transform:uppercase;border-radius:999px;padding:4px 7px;font-size:7px;font-style:normal;font-weight:750}.settings-card dl{border-top:1px solid var(--line);margin:0}.settings-card dl div{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;padding:10px 0;display:flex}.settings-card dt{color:var(--muted);font-size:9px}.settings-card dd{font-family:var(--font-mono);margin:0;font-size:9px}.settings-checks{color:var(--muted);gap:9px;margin:16px 0 0;padding:0;font-size:8px;line-height:1.45;list-style:none;display:grid}.settings-checks li{align-items:flex-start;gap:7px;display:flex}.settings-checks svg{width:14px;height:14px;color:var(--success);flex:0 0 14px}.settings-toggle{border-top:1px solid var(--line);cursor:pointer;justify-content:space-between;align-items:center;gap:22px;padding:14px 0;display:flex}.settings-toggle>span{gap:4px;display:grid}.settings-toggle strong{font-size:10px}.settings-toggle small{max-width:360px;color:var(--muted);font-size:8px;line-height:1.45}.settings-toggle input{width:34px;height:19px;accent-color:var(--accent);cursor:pointer;flex:0 0 34px}@media (max-width:1180px){.studio-shell{grid-template-columns:92px 330px minmax(420px,1fr)}.workbench{padding-left:24px;padding-right:24px}.model-grid{grid-template-columns:1fr 1fr}}@media (max-width:900px){.login-shell{grid-template-columns:1fr}.login-visual{min-height:42dvh}.login-panel{min-height:58dvh;padding:38px 24px}.login-caption h1{font-size:42px}.studio-shell{height:auto;min-height:100dvh;padding:60px 0 140px;display:block;overflow:visible}.studio-header{grid-template-columns:1fr auto;height:60px;position:fixed;top:0;left:0;right:0}.studio-nav{z-index:14;border-top:1px solid var(--line);border-right:0;grid-template-columns:none;grid-auto-columns:1fr;grid-auto-flow:column;gap:4px;height:60px;padding:5px 10px;display:grid;position:fixed;bottom:0;left:0;right:0}.studio-nav a{grid-auto-flow:column;gap:5px;min-height:0}.studio-nav a.active{box-shadow:inset 0 -3px 0 var(--accent)}.studio-nav svg{width:17px;height:17px}.control-panel,.workbench{border-right:0;width:100%;padding:22px 20px;overflow:visible}.control-panel{border-bottom:1px solid var(--line)}.workbench{padding-bottom:28px}.model-grid{grid-template-columns:1fr 1fr}.generate-dock{padding:10px 14px;display:block;position:fixed;bottom:60px;left:0;right:0}.preflight-summary{display:none}.generation-error,.generation-notice{margin:0 0 8px}.generate-button{width:100%;min-width:0}.app-section-shell{padding-bottom:72px}.history-page,.settings-page{width:100%;padding:22px 20px;overflow:visible}.history-layout{grid-template-columns:1fr}.history-index{border-right:0;border-bottom:1px solid var(--line)}.history-run-list{max-height:260px}.history-detail{max-height:none}.settings-grid{grid-template-columns:1fr}}@media (max-width:560px){.login-visual{min-height:36dvh}.login-brand{top:22px;left:22px}.login-caption{bottom:24px;left:22px}.login-caption h1,.login-form-wrap h2{font-size:34px}.category-grid{grid-template-columns:1fr 1fr}.model-tile,.custom-model-tile{min-height:290px}.rejected-card{grid-template-columns:100px minmax(0,1fr)}.rejected-card>.rejected-lightbox-trigger{width:100px;min-height:150px}.workbench-heading,.results-heading,.section-page-header{align-items:flex-start}.history-stats{grid-template-columns:1fr 1fr}.history-stats span:nth-child(2){border-right:0}.history-stats span:nth-child(-n+2){border-bottom:1px solid var(--line)}.history-assets.output-assets{grid-template-columns:1fr}.history-detail-head{align-items:flex-start}.history-detail-actions{flex-direction:column;align-items:flex-end}.image-lightbox{padding:11px}.image-lightbox-toolbar>span{display:none}.image-lightbox-toolbar{justify-content:flex-end}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.guide-preparing{color:var(--muted);align-items:center;gap:10px;padding:16px;font-size:14px;display:flex}.account-setup{place-items:center;min-height:100dvh;padding:30px;display:grid}.account-setup h1{letter-spacing:-.04em;font-size:32px}.account-setup p{color:var(--muted);line-height:1.6}.account-invite,.account-link{flex-wrap:wrap;gap:12px;margin-top:18px;display:flex}.account-invite input,.account-link input{border:1px solid var(--line);background:var(--surface);border-radius:8px;flex:1;min-width:220px;padding:12px}.account-link label{gap:8px;width:min(100%,640px);font-size:12px;display:grid}.account-invite button,.account-list button,.account-link button{border:1px solid var(--line);background:var(--surface-soft);cursor:pointer;border-radius:8px;padding:10px 14px}.account-list{gap:16px;display:grid}.account-list article{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;display:flex}.account-list article>div:last-child{flex-wrap:wrap;gap:8px;display:flex}.account-list small{color:var(--muted);margin-top:7px;display:block}.confirm-bar{border:1px solid color-mix(in srgb, var(--danger) 30%, var(--line));border-radius:var(--radius-control);background:var(--danger-soft);gap:10px;margin:-4px 0 16px;padding:12px;display:grid}.confirm-bar p{color:var(--ink);margin:0;font-size:12px;line-height:1.5}.confirm-bar div{justify-content:flex-end;gap:8px;display:flex}.confirm-bar button{border:1px solid var(--line-strong);border-radius:var(--radius-control);background:var(--surface-strong);cursor:pointer;padding:7px 12px;font-size:12px}.confirm-bar button.danger{border-color:var(--danger);background:var(--danger);color:#fff}.category-grid button[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--accent)}.upload-thumbnail .make-primary{inset:auto auto 4px 4px}.photo-tips{border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface-strong);margin-top:10px}.photo-tips summary{color:var(--ink-soft);cursor:pointer;align-items:center;gap:7px;padding:9px 11px;font-size:12px;font-weight:600;list-style:none;display:flex}.photo-tips summary::-webkit-details-marker{display:none}.photo-tips summary svg{width:15px;height:15px;color:var(--accent)}.photo-tips ul{color:var(--muted);gap:7px;margin:0;padding:0 12px 12px 30px;font-size:12px;line-height:1.5;display:grid}.photo-tips strong{color:var(--ink);font-weight:600}.job-progress{width:100%}.job-progress-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.job-elapsed{text-align:right;flex-shrink:0}.job-progress-heading .job-elapsed span{margin:0 0 6px;font-size:11px}.job-progress-heading time{color:var(--ink-soft);font-variant-numeric:tabular-nums;font-size:14px}.job-progress-steps{gap:0;margin:28px 0;padding:0;list-style:none;display:grid}.job-progress-steps li{border-bottom:1px solid var(--line);color:var(--muted);align-items:center;gap:12px;padding:14px 0;font-size:14px;display:flex}.job-progress-steps li>span{border:1px solid var(--line-strong);border-radius:50%;flex-shrink:0;place-items:center;width:22px;height:22px;font-size:11px;display:grid}.job-progress-steps li span svg{width:12px;height:12px}.job-progress-steps li small{color:var(--muted);margin-top:4px;font-size:11px;font-weight:400;display:block}.job-progress-steps li.done>span{color:var(--success);border-color:#0000}.job-progress-steps li.current{color:var(--ink);font-weight:550}.job-progress-steps li.current>span{border-color:var(--ink);background:var(--ink);color:#fff}.job-progress-footer{flex-direction:column;align-items:stretch;gap:18px;display:flex}.job-progress-footer button{border:1px solid var(--line-strong);background:var(--surface);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:6px;min-height:40px;padding:9px 12px;font-size:12px;display:inline-flex}.job-progress-footer button:disabled{color:var(--muted);cursor:default}.job-progress-footer svg{width:16px;height:16px}.before-after{aspect-ratio:3/4;background:var(--panel);width:100%;position:relative;overflow:hidden}.before-after img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.before-after-original{clip-path:inset(0 calc(100% - var(--split)) 0 0)}.before-after-divider{top:0;bottom:0;left:var(--split);pointer-events:none;background:#fff;width:2px;position:absolute;transform:translate(-1px);box-shadow:0 0 0 1px #0000002e}.before-after-label{color:#fff;pointer-events:none;background:#1416149e;border-radius:999px;padding:4px 8px;font-size:11px;position:absolute;top:10px}.before-after-label.is-before{left:10px}.before-after-label.is-after{right:10px}.before-after input[type=range]{opacity:0;cursor:ew-resize;width:100%;height:100%;margin:0;position:absolute;inset:0}.before-after input[type=range]:focus-visible+.before-after-divider{box-shadow:0 0 0 3px var(--accent)}.before-after:has(input:focus-visible) .before-after-divider{box-shadow:0 0 0 3px var(--accent)}.generation-notice{color:var(--ink-soft);grid-column:1;margin:-7px 0 0;font-size:11px}.generation-error button{color:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:6px;margin-left:8px;padding:3px 8px;font-size:11px}@media (max-width:560px){.job-progress-footer{flex-direction:column;align-items:stretch}}@media (prefers-reduced-motion:reduce){.job-progress-steps li.current span{animation:none}}.studio-shell{--muted:#5d645d;--subtle:#5d645d;--panel:#f4f3f0;--success:#3e6349;--shadow:none;--shadow-raised:none;--radius-card:8px;grid-template-columns:88px 320px minmax(0,1fr)}.studio-shell:has(.generate-dock.is-hidden){grid-template-rows:60px minmax(0,1fr) 0}.studio-shell .studio-header{background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none}.studio-shell .brand-product-label{letter-spacing:.02em;text-transform:none;font-size:11px;font-weight:500}.studio-shell .studio-nav{background:var(--panel)}.studio-shell .studio-nav a{font-size:11px}.studio-shell .workbench{background:#eeede8;padding:24px 28px;scroll-margin-top:60px}.studio-shell .workbench-heading{align-items:center;margin-bottom:22px}.studio-shell .workbench-heading h1{letter-spacing:-.025em;margin:0;font-size:24px;font-weight:550}.studio-shell .workbench-heading p{color:var(--muted);letter-spacing:0;text-transform:none;margin:7px 0 0;font-size:12px;font-weight:400}.studio-shell .control-panel{padding:24px 20px;scroll-margin-top:60px}.studio-shell .control-panel h2{letter-spacing:-.025em;font-size:20px;font-weight:550}.studio-shell .control-panel :is(small,.panel-step,.category-item span,.upload-label,.status-pass,.status-wait,.asset-meta,.verification-check,.alternative-check strong,.upload-thumbnail>span){font-size:11px}.studio-shell .control-panel .category-grid{gap:6px}.studio-shell .control-panel .section-title>div{font-size:14px;font-weight:550}.studio-shell .control-panel .section-title>:is(.status-pass,.status-wait){background:0 0;padding:0;font-weight:400}.studio-shell .model-caption{background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:4px}.studio-shell .model-caption small,.studio-shell .custom-model-tile span{font-size:11px}.studio-shell .generate-dock{background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}.studio-shell .generate-dock.is-hidden{display:none}.studio-shell .generate-button{background:var(--ink);color:#fff;box-shadow:none}.studio-shell .preflight-summary span{font-size:11px}.studio-shell .activity-log-panel{background:var(--surface);border:1px solid var(--line)}.studio-shell .activity-log-drawer :is(small,time,code,.activity-log-entry>div span,.activity-log-entry strong,.activity-log-heading button,.activity-log-empty){font-size:11px}.studio-shell .lightbox-hint{background:var(--ink);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.studio-shell .image-lightbox{-webkit-backdrop-filter:none;backdrop-filter:none}@media (max-width:1250px) and (min-width:901px){.studio-shell{grid-template-columns:76px 280px minmax(0,1fr)}.studio-shell .workbench{padding:22px}}@media (max-width:900px){.studio-shell .workbench{padding:24px}.studio-shell:not([data-stage=setup])>.control-panel{display:none}.studio-shell:is([data-stage=result],[data-stage=processing]){padding-bottom:76px}.studio-shell .generate-dock{min-height:0}.studio-shell .results-heading{flex-direction:column;align-items:flex-start}}@media (max-width:600px){.studio-shell .workbench{padding:20px 16px}.studio-shell .workbench-heading{margin-bottom:18px}.job-progress-steps{margin:20px 0}.job-progress-steps li{padding:12px 0}.result-specs{gap:10px;padding-top:16px}.studio-shell .generation-error{display:block}.studio-shell .activity-log-heading{align-items:start;gap:8px}.studio-shell .activity-log-entry{grid-template-columns:52px 5px minmax(0,1fr);gap:7px}}.studio-shell .panel-heading h2{margin:0}.studio-shell .category-grid button{font-size:11px}.studio-shell .category-grid button.selected,.studio-shell .category-grid button[aria-pressed=true]{box-shadow:none;border-width:2px}.studio-shell .upload-thumbnail>span{background:var(--accent-dark)}.studio-shell{--surface-soft:#eeede8}.studio-shell .studio-nav a.active{box-shadow:none;position:relative}.studio-shell .studio-nav a.active:before{content:"";background:var(--accent-dark);width:2px;position:absolute;inset:10px auto 10px 0}.studio-shell .result-specs,.studio-shell .control-panel :is(.dimension-single>span,.verification-check,.alternative-check strong){font-size:13px}.studio-shell .control-panel :is(.dimension-section>p,.asset-meta,.photo-tips summary){font-size:12px}@media (max-width:900px){.studio-shell .studio-nav a.active:before{width:auto;height:2px;inset:auto 10px 0}}.studio-inputs{border:0;min-width:0;margin:0;padding:0}.studio-inputs:disabled{opacity:.6}.workbench-heading h1:focus{outline:none}.studio-workflow{border-bottom:1px solid var(--line-strong);align-items:center;gap:0;margin:0 0 24px;padding:0 0 20px;list-style:none;display:flex}.studio-workflow li{color:var(--muted);white-space:nowrap;align-items:center;gap:8px;font-size:12px;display:flex}.studio-workflow li:not(:last-child):after{content:"";background:var(--line-strong);width:clamp(12px,3vw,40px);height:1px;margin:0 14px 0 6px}.studio-workflow li>span{border:1px solid var(--line-strong);font-variant-numeric:tabular-nums;border-radius:50%;place-items:center;width:21px;height:21px;font-size:11px;display:grid}.studio-workflow svg{width:13px;height:13px}.studio-workflow li.is-complete>span{color:var(--ink-soft);border-color:#0000}.studio-workflow li.is-current{color:var(--ink);font-weight:550}.studio-workflow li.is-current>span{background:var(--ink);color:#fff;border-color:var(--ink)}.workspace-feedback{border:1px solid var(--line-strong);background:var(--surface);justify-content:space-between;align-items:start;gap:20px;margin-bottom:20px;padding:18px;font-size:14px;line-height:1.5;display:flex}.workspace-feedback p{margin:0}.workspace-feedback strong{margin-bottom:6px;font-weight:550;display:block}.workspace-feedback.is-error{border-left:3px solid var(--danger)}.workspace-feedback .icon-button{background:0 0;border:0;flex-shrink:0}.workspace-feedback div>button{border:1px solid var(--line-strong);cursor:pointer;background:#fff;border-radius:6px;margin-top:12px;padding:8px 12px;font-size:13px}@media (max-width:600px){.studio-workflow{justify-content:space-between;gap:10px;margin-bottom:20px;padding-bottom:16px}.studio-workflow li{flex-direction:column;gap:6px;font-size:11px}.studio-workflow li:not(:last-child):after{display:none}}@media (min-width:901px){.studio-shell:not([data-stage=setup]){grid-template-columns:88px minmax(0,1fr)}.studio-shell:not([data-stage=setup])>.control-panel{display:none}.studio-shell:not([data-stage=setup]) .workbench,.studio-shell:not([data-stage=setup]) .generate-dock{grid-column:2}}.studio-shell .studio-workflow{margin-bottom:18px;padding-bottom:14px}.studio-shell .workbench-heading{margin-bottom:16px}.studio-options{border-top:1px solid var(--line);margin-top:28px}.studio-options>summary{cursor:pointer;justify-content:space-between;align-items:center;min-height:48px;font-size:13px;display:flex}.studio-options>summary:after{content:"+";font-size:18px}.studio-options[open]>summary:after{content:"−"}.studio-options .dimension-section{margin-top:4px}.studio-shell:not([data-stage=setup]) .preflight-summary{display:none}.studio-shell:not([data-stage=setup]) .generate-dock{justify-content:flex-end}.studio-shell .preflight-summary{gap:14px}.studio-processing{border:1px solid var(--line);background:#dfded9;flex-direction:column;align-items:center;gap:0;display:flex}.processing-scene{justify-content:center;align-items:center;width:100%;height:min(650px,100dvh - 230px);min-height:340px;display:flex;position:relative;overflow:hidden}.processing-reference-model{min-width:0;height:100%;margin:0}.processing-photo{height:100%;position:relative}.processing-photo>img:first-child{object-fit:contain;max-width:100%;height:100%;display:block}.processing-photo>.processing-guide-product{object-fit:fill;position:absolute}.processing-scene .processing-reference-product{border:1px solid var(--line);background:#fff;width:clamp(120px,18%,180px);margin:0;padding:10px;position:absolute;bottom:20px;right:20px}.processing-reference-product img{object-fit:contain;width:100%;height:140px;display:block}.processing-reference-product figcaption{color:var(--ink-soft);margin-top:8px;font-size:12px;line-height:1.35}.processing-scan{pointer-events:none;opacity:0;position:absolute;inset:0;overflow:hidden}.studio-processing.is-active .processing-scan{opacity:1}.processing-scan:after{content:"";filter:drop-shadow(0 0 7px #a8ffe9);background:linear-gradient(#0000 0%,#a6ffe018 65%,#beffe94d 94%,#dcfff5 98%,#0000 100%);height:16%;position:absolute;inset:0 0 auto;transform:translateY(-110%)}.studio-processing.is-active .processing-scan:after{animation:5s ease-in-out infinite studio-photo-scan}@keyframes studio-photo-scan{0%,8%{opacity:0;transform:translateY(-110%)}15%{opacity:1}85%{opacity:1}95%,to{opacity:0;transform:translateY(740%)}}.studio-processing .job-progress{background:var(--surface);justify-content:space-between;align-items:center;gap:20px;padding:18px 22px;display:flex}.studio-processing .job-progress-heading{flex:1;align-items:center;gap:20px}.studio-processing .job-progress-heading h2{margin:0;font-size:15px;font-weight:550;line-height:1.4}.studio-processing .job-progress-heading p{max-width:560px;color:var(--muted);margin:5px 0 0;font-size:12px;line-height:1.5}.studio-processing .job-elapsed{color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px}.studio-processing .job-progress-footer{border:0;margin:0;padding:0}.studio-processing .job-progress-footer button{border:1px solid var(--line-strong);min-height:44px;color:var(--ink);cursor:pointer;background:0 0;border-radius:4px;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:12px;display:inline-flex}.studio-processing .job-progress-footer button:disabled{opacity:.5;cursor:default}.studio-processing .job-progress-footer svg{width:15px;height:15px}@media (max-width:900px){.processing-scene{height:min(660px,100dvh - 235px)}}@media (max-width:600px){.studio-processing .job-progress{gap:12px;padding:12px}.studio-processing .job-progress-heading{gap:10px}.studio-processing .job-progress-heading h2{font-size:14px}.processing-scene .processing-reference-product{width:110px;padding:6px;bottom:12px;right:12px}.processing-reference-product img{height:100px}.processing-reference-product figcaption{font-size:11px}.studio-shell .generate-dock .generate-button{min-height:48px}}@media (prefers-reduced-motion:reduce){.studio-processing.is-active .processing-scan:after{animation:none;transform:none}.studio-processing.is-active .processing-scan{opacity:0}}.studio-shell:not([data-stage=setup]) .workbench-heading>div{align-items:baseline;gap:14px;min-width:0;display:flex}.studio-shell:not([data-stage=setup]) .workbench-heading p{white-space:nowrap;text-overflow:ellipsis;margin:0;overflow:hidden}.studio-processing{--processing-photo-height:min(650px, calc(100dvh - 300px))}.studio-processing .processing-scene{height:var(--processing-photo-height);min-height:240px}.processing-reference-model{justify-content:center;align-items:center;width:100%;max-width:100%;display:flex}.processing-photo{max-width:100%;height:auto;max-height:100%}.processing-photo>img:first-child{width:auto;height:auto;max-height:var(--processing-photo-height);max-width:100%}.processing-photo.has-guide>img:first-child{width:100%;height:100%}.history-source-details>summary,.history-trace-section>summary{cursor:pointer;min-height:44px;color:var(--ink-soft);padding:16px 0;font-size:13px}.history-raw-links{flex-wrap:wrap;gap:16px;margin:12px 0;display:flex}.history-raw-links a{align-items:center;gap:6px;font-size:12px;display:inline-flex}.history-raw-links svg{width:16px;height:16px}.app-section-shell .section-page-header h1{letter-spacing:-.025em;font-size:24px;font-weight:550}.settings-grid{align-items:stretch}.settings-interface,.settings-account{grid-column:1/-1}.settings-account>summary{cursor:pointer;min-height:48px;padding:14px 0;font-size:14px}.settings-account .settings-card{max-width:560px}.settings-page .settings-card-heading strong,.settings-page .settings-toggle strong{font-size:14px;font-weight:550}.settings-page .settings-card-heading em{text-transform:none;font-size:11px;font-weight:500}.settings-page .settings-toggle small,.settings-page .settings-card-heading small{font-size:12px;line-height:1.5}.settings-page .settings-card dl{font-size:13px}.settings-page .settings-card dd{font-family:inherit;font-size:13px}.settings-page .primary-button{background:var(--ink);color:#fff}.settings-saved{font-size:12px}.history-page .section-page-header button,.history-delete-button{min-height:40px;font-size:12px;font-weight:500}.history-page .history-stats{font-size:12px}.history-page .history-stats strong{font-size:18px}.history-search input,.history-run-copy strong{font-size:13px}.history-run-copy small{font-size:12px}.history-run-copy code{display:none}.history-status{text-transform:none;font-size:11px;font-weight:500}.history-run-list .history-status{grid-column:2;position:static}.history-detail-head>div>span{font-size:12px}.history-detail-head h2{font-size:22px;font-weight:550}.history-page .history-metrics span{font-size:12px}.history-page .history-metrics strong{font-size:14px}.history-page .history-subheading span{font-size:12px}.history-page .history-assets figcaption strong{font-size:13px}.history-page .history-assets figcaption :is(span,small,a){font-size:12px}.history-page .history-assets figcaption em{text-transform:none;font-size:11px}.history-page .history-assets a{color:var(--ink);text-underline-offset:3px}.history-page .history-placeholder p,.history-page .history-empty{font-size:13px}.history-page .history-trace-section :is(time,code,pre){font-size:11px}.history-page .history-trace-section strong{font-size:12px}.history-page .output-assets{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.history-page .output-assets figure>button{height:min(500px,55dvh)}@media (max-width:600px){.history-page .output-assets{grid-template-columns:minmax(0,1fr)}.history-detail-head{flex-wrap:wrap;gap:12px}.history-run-list>button{grid-template-columns:50px minmax(0,1fr)}.history-page .section-page-header h1,.settings-page .section-page-header h1{font-size:22px}}.history-total{color:var(--muted);margin:-8px 0 20px;font-size:13px}.settings-page .settings-card dt{font-size:13px}.settings-account:not([open])>.settings-card{display:none}.studio-shell[data-stage=result] .workbench{padding:8px 12px}.studio-shell[data-stage=result] .workbench-heading{margin:0}.result-card{min-width:0;margin:0}.result-view-toolbar{justify-content:space-between;align-items:center;gap:8px;min-height:52px;padding-bottom:8px;display:flex}.result-selection{align-items:center;gap:8px;min-width:0;display:flex}.result-selection>span{white-space:nowrap;text-overflow:ellipsis;max-width:240px;color:var(--muted);margin-left:8px;font-size:13px;display:block;overflow:hidden}.result-selection>div,.result-view-actions{align-items:center;gap:6px;display:flex}.result-selection button,.result-view-actions>button,.result-menu>summary,.result-download{border:1px solid var(--line-strong);min-height:44px;color:var(--ink);font:inherit;cursor:pointer;background:0 0;border-radius:4px;justify-content:center;align-items:center;gap:7px;padding:0 12px;font-size:13px;text-decoration:none;display:inline-flex}.result-selection button{min-width:44px}.result-selection .result-close{flex-shrink:0}.result-close svg{width:18px;height:18px}.last-result-button{border:1px solid var(--line-strong);min-height:44px;color:var(--ink);font:inherit;cursor:pointer;background:0 0;border-radius:4px;justify-content:center;align-items:center;gap:7px;padding:0 12px;font-size:13px;display:inline-flex}.last-result-button svg{width:18px;height:18px}.setup-actions{align-items:center;gap:8px;display:flex}.panel-heading h2:focus{outline:none}.studio-nav a[aria-disabled=true]{opacity:.5;cursor:wait}.result-selection button[aria-pressed=true],.result-view-actions>button[aria-pressed=true]{background:#dfded8}.result-view-actions svg{flex-shrink:0;width:18px;height:18px}.result-view-actions .result-download{background:var(--ink);color:#fff;border-color:var(--ink)}.result-download:hover{background:var(--ink-soft)}.result-menu{position:relative}.result-menu>summary{width:44px;padding:0;list-style:none}.result-menu>summary::-webkit-details-marker{display:none}.result-menu-content{z-index:5;border:1px solid var(--line-strong);background:var(--surface);width:240px;max-height:calc(100dvh - 200px);padding:6px;position:absolute;top:calc(100% + 6px);right:0;overflow:auto;box-shadow:0 4px 16px #0000000d}.result-menu:not([open])>.result-menu-content{display:none}.result-menu-content>button{text-align:left;width:100%;min-height:44px;color:var(--ink);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:8px 10px;font-size:13px;display:flex}.result-menu-content>button:hover{background:#efeeea}.result-menu-content>button:disabled{opacity:.5;cursor:default}.result-menu-content .spin{animation:.7s linear infinite spin}.result-file-details{border-top:1px solid var(--line);margin-top:6px;padding:4px 10px}.result-file-details>summary{cursor:pointer;align-content:center;min-height:44px;font-size:13px}.result-file-details:not([open])>dl{display:none}.result-file-details .result-specs{border:0;margin:0;padding:8px 0}.result-photo-stage{--result-photo-height:calc(100dvh - 128px);height:var(--result-photo-height);justify-content:center;align-items:center;min-width:0;display:flex}.result-photo-stage>.result-lightbox-trigger,.result-photo-stage>.before-after{width:min(100%, calc(var(--result-photo-height) * var(--result-ratio)));height:auto;aspect-ratio:var(--result-ratio);background:0 0;flex:none;max-height:100%}.result-photo-stage>.result-lightbox-trigger:hover>img{filter:none;transform:none}.result-photo-stage>.result-lightbox-trigger>img{object-fit:contain;width:100%;height:100%;display:block}.result-photo-stage .before-after.is-paired{width:min(100%, calc(var(--result-photo-height) * var(--result-ratio) * 2));aspect-ratio:calc(var(--result-ratio) * 2);display:flex}.before-after.is-paired img{object-fit:contain;clip-path:none;width:50%;height:100%;position:static}.before-after.is-paired .before-after-original{order:1}.before-after.is-paired .before-after-result{order:2}.before-after.is-paired .before-after-divider{left:50%}.before-after.is-paired input[type=range]{display:none}@media (min-width:901px){.studio-shell[data-stage=result]{grid-template-rows:60px minmax(0,1fr);min-height:0}.studio-shell[data-stage=result] .studio-nav{grid-row:2}}@media (max-width:900px){.studio-shell[data-stage=result]{padding-bottom:60px}.studio-shell[data-stage=result] .workbench{padding:4px 8px 8px}.result-photo-stage{align-items:flex-start}.result-photo-stage .before-after.is-paired{width:min(100%, calc(var(--result-photo-height) * var(--result-ratio)));aspect-ratio:var(--result-ratio);display:block}.before-after.is-paired img{width:100%;height:100%;position:absolute;inset:0}.before-after.is-paired .before-after-original{clip-path:inset(0 calc(100% - var(--split)) 0 0)}.before-after.is-paired .before-after-divider{left:var(--split)}.before-after.is-paired input[type=range]{display:block}}@media (max-width:600px){.result-selection>span{display:none}.result-selection .result-close{width:44px;padding:0}.result-close>span,.result-view-actions>button>span{display:none}.result-view-toolbar{flex-wrap:wrap}.result-view-actions{margin-left:auto}.result-view-actions>button,.result-view-actions .result-download{padding:0 10px;font-size:12px}.result-view-actions>button{width:44px;padding:0}}.studio-shell .activity-log-drawer.is-result-log{z-index:6;border:1px solid var(--line-strong);background:var(--surface);width:auto;max-height:70dvh;margin:0;padding:0 16px 12px;position:fixed;bottom:8px;left:100px;right:12px;overflow:auto;box-shadow:0 4px 16px #0000000d}@media (max-width:900px){.studio-shell .activity-log-drawer.is-result-log{bottom:68px;left:8px;right:8px}}.studio-shell[data-stage=guide] .workbench{padding:8px 12px}.studio-shell[data-stage=guide] .workbench-heading{margin:0}@keyframes guide-jewelry-pulse{0%,to{opacity:1}50%{opacity:.6}}@keyframes guide-result-reveal{0%{opacity:0}to{opacity:1}}@media (min-width:901px){.studio-shell[data-stage=guide]{grid-template-rows:60px minmax(0,1fr);min-height:0}.studio-shell[data-stage=guide] .studio-nav{grid-row:2}}@media (max-width:900px){.studio-shell[data-stage=guide]{padding-bottom:60px}.studio-shell[data-stage=guide] .workbench{padding:4px 8px 8px}.studio-shell[data-stage=guide] .activity-log-drawer{padding-inline:8px}}.pe{--pe-select:#2f6fed;--pe-canvas:#e1e0db;--pe-panel-width:292px;--pe-handle:10px;height:var(--pe-height,calc(100dvh - 84px));background:var(--surface);border:1px solid var(--line);border-radius:10px;flex-direction:column;min-height:420px;display:flex;position:relative;overflow:hidden}.pe button{font:inherit;color:inherit}.pe svg{flex:none;width:18px;height:18px}.pe kbd{border:1px solid var(--line-strong);background:var(--surface);min-width:18px;color:var(--ink-soft);font:600 11px/1.4 var(--font-mono), monospace;text-align:center;white-space:nowrap;border-bottom-width:2px;border-radius:4px;padding:1px 5px}.pe .spin{animation:.9s linear infinite spin}.pe input[type=range]{width:100%;height:20px;accent-color:var(--ink);cursor:pointer;margin:0}.pe-topbar{border-bottom:1px solid var(--line);flex:none;align-items:center;gap:6px;height:52px;padding:0 8px 0 6px;display:flex}.pe-topbar button{cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:6px;min-width:36px;height:36px;padding:0 8px;font-size:13px;display:inline-flex}.pe-topbar button:hover:not(:disabled){background:var(--surface-soft)}.pe-topbar button:disabled{opacity:.38;cursor:default}.pe-title{border-left:1px solid var(--line);flex:1;align-items:center;gap:10px;min-width:0;padding-left:6px;display:flex}.pe-title strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;overflow:hidden}.pe-chip{background:var(--surface-soft);color:var(--muted);border-radius:999px;flex:none;padding:3px 8px;font-size:11px;font-weight:600}.pe-chip.is-edited{background:color-mix(in srgb, var(--pe-select) 11%, white);color:var(--pe-select)}.pe-history,.pe-zoom{border-left:1px solid var(--line);align-items:center;gap:2px;padding:0 4px;display:flex}.pe-zoom{position:relative}.pe-topbar .pe-zoom-value{font-variant-numeric:tabular-nums;gap:4px;min-width:72px}.pe-zoom-value svg{width:12px;height:12px}.pe-menu{z-index:20;background:var(--surface);border:1px solid var(--line-strong);min-width:220px;box-shadow:var(--shadow-raised);border-radius:8px;padding:6px;display:grid;position:absolute;top:calc(100% + 8px);right:0}.pe-topbar .pe-menu button{justify-content:flex-start;width:100%;padding:0 8px}.pe-menu kbd{margin-left:auto}.pe-menu-gap{flex:none;width:18px}.pe-topbar .pe-create{background:var(--ink);color:#fff;margin-left:4px;padding:0 14px;font-weight:600}.pe-topbar .pe-create:hover:not(:disabled){background:var(--ink-soft)}.pe-topbar .pe-create:disabled{opacity:.45}.pe-body{grid-template-columns:48px minmax(0, 1fr) var(--pe-panel-width);flex:1;min-height:0;display:grid;position:relative}.pe-tools{border-right:1px solid var(--line);background:var(--surface);flex-direction:column;align-items:center;gap:4px;padding:8px 0;display:flex}.pe-tool{width:36px;height:36px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid}.pe-tool:hover:not(:disabled){background:var(--surface-soft);color:var(--ink)}.pe-tool[aria-pressed=true]{background:var(--ink);color:#fff}.pe-tool:disabled{opacity:.35;cursor:default}.pe-tool:focus-visible,.pe-topbar button:focus-visible,.pe-section button:focus-visible{outline:2px solid var(--pe-select);outline-offset:1px}.pe-tools-divider{background:var(--line);width:22px;height:1px;margin:4px 0}.pe-tools-spacer{flex:1}.pe-stage{background:var(--pe-canvas);min-width:0;min-height:0;position:relative;overflow:hidden}.pe-canvas{touch-action:none;overscroll-behavior:contain;scrollbar-width:thin;outline:none;position:absolute;inset:0;overflow:auto}.pe-pasteboard{justify-content:center;align-items:center;display:flex}.pe-photo{-webkit-user-select:none;user-select:none;flex:none;position:relative;box-shadow:0 1px 2px #14161414,0 14px 36px #14161424}.pe-model{pointer-events:none;-webkit-user-drag:none;width:100%;height:100%;display:block}.pe-product{cursor:move;touch-action:none;background:0 0;border:0;border-radius:0;margin:0;padding:0;position:absolute}.pe-product:after{content:"";width:max(100%,28px);height:max(100%,28px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.pe-product img,.pe-hidden-tint img{pointer-events:none;-webkit-user-drag:none;width:100%;height:100%;display:block}.pe-product img,.pe-hidden-tint{-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.pe-hidden-tint{opacity:.6;pointer-events:none;position:absolute}.pe-hidden-tint img{filter:grayscale()brightness(.75)sepia()hue-rotate(-38deg)saturate(7)}.pe[data-tool=hand] .pe-canvas,.pe[data-tool=hand] .pe-product{cursor:grab}.pe .pe-canvas.is-panning,.pe .pe-canvas.is-panning .pe-product{cursor:grabbing}.pe[data-tool=brush] .pe-product{cursor:none}.pe-selection{pointer-events:none;outline:1px solid var(--pe-select);position:absolute}.pe-handle{width:var(--pe-handle);height:var(--pe-handle);box-sizing:border-box;border:1.5px solid var(--pe-select);pointer-events:auto;touch-action:none;background:#fff;border-radius:2px;position:absolute}.pe-handle:before{content:"";position:absolute;inset:-9px}.pe-handle.is-nw{left:calc(var(--pe-handle) / -2);top:calc(var(--pe-handle) / -2);cursor:nwse-resize}.pe-handle.is-ne{right:calc(var(--pe-handle) / -2);top:calc(var(--pe-handle) / -2);cursor:nesw-resize}.pe-handle.is-sw{left:calc(var(--pe-handle) / -2);bottom:calc(var(--pe-handle) / -2);cursor:nesw-resize}.pe-handle.is-se{right:calc(var(--pe-handle) / -2);bottom:calc(var(--pe-handle) / -2);cursor:nwse-resize}.pe-selection.is-compact .pe-handle.is-se{right:calc(-6px - var(--pe-handle));bottom:calc(-6px - var(--pe-handle))}.pe-handle.is-rotate{left:calc(50% - var(--pe-handle) / 2 - 1px);top:calc(-24px - var(--pe-handle));width:calc(var(--pe-handle) + 2px);height:calc(var(--pe-handle) + 2px);cursor:grab;border-radius:50%}.pe-rotate-stem{background:var(--pe-select);width:1px;height:24px;position:absolute;top:-24px;left:50%}.pe-pivot{box-sizing:border-box;border:2px solid var(--pe-select);pointer-events:none;background:#fff;border-radius:50%;width:11px;height:11px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #fffc}.pe-analyzed{box-sizing:border-box;background:var(--accent);pointer-events:none;border:1.5px solid #fff;width:9px;height:9px;transition:transform .12s,background .12s;position:absolute;transform:translate(-50%,-50%)rotate(45deg);box-shadow:0 0 0 1px #14161473}.pe-analyzed.is-snapped{background:var(--pe-select);transform:translate(-50%,-50%)rotate(45deg)scale(1.35)}.pe-zone{pointer-events:none;border:1px dashed #fff;position:absolute;box-shadow:0 0 0 1px #14161447}.pe-zone span{color:#fff;white-space:nowrap;background:#181a18c7;border-radius:4px;padding:2px 6px;font-size:10.5px;position:absolute;bottom:calc(100% + 4px);left:-1px}.pe-zone.is-invalid{border-color:#ff7b6b}.pe-boundary{border:1px solid color-mix(in srgb, var(--pe-select) 75%, white);background:color-mix(in srgb, var(--pe-select) 7%, transparent);pointer-events:none;position:absolute}.pe-boundary.is-invalid{background:#e5484d17;border-color:#e5484d}.pe-ghost{pointer-events:none;border:1px dashed #fffffff2;position:absolute;box-shadow:0 0 0 1px #14161438}.pe-brush-cursor{z-index:4;box-sizing:border-box;pointer-events:none;border:1.5px solid #fff;border-radius:50%;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #14161499}.pe-brush-cursor.is-hide{background:#e5484d33}.pe-brush-cursor.is-restore{background:#30a46c33}.pe-hud{z-index:5;color:#fff;font-variant-numeric:tabular-nums;white-space:pre;pointer-events:none;background:#181a18e6;border-radius:6px;padding:4px 8px;font-size:11px;position:absolute;transform:translate(14px,16px)}.pe-hud em{color:#a8c5ff;font-style:normal;display:block}.pe-stage-badge{z-index:4;color:#fff;pointer-events:none;background:#181a18d1;border-radius:999px;padding:5px 10px;font-size:12px;position:absolute;top:12px;left:50%;transform:translate(-50%)}.pe-alert{z-index:4;color:#8f2f25;max-width:min(440px,100% - 24px);box-shadow:var(--shadow);background:#fff6f4;border:1px solid #f0c8c1;border-radius:8px;align-items:flex-start;gap:8px;margin:0;padding:10px 12px;font-size:12.5px;line-height:1.45;display:flex;position:absolute;bottom:12px;left:12px}.pe-alert svg{color:#d4483b;width:16px;height:16px;margin-top:1px}.pe-shortcuts{z-index:8;background:var(--surface);border:1px solid var(--line-strong);width:min(380px,100% - 24px);max-height:calc(100% - 24px);box-shadow:var(--shadow-raised);border-radius:10px;padding:12px 14px;position:absolute;top:12px;left:12px;overflow:auto}.pe-shortcuts dl{gap:6px;margin:8px 0 0;display:grid}.pe-shortcuts dl>div{grid-template-columns:150px minmax(0,1fr);align-items:center;gap:10px;font-size:12px;display:grid}.pe-shortcuts dt{margin:0}.pe-shortcuts dd{color:var(--ink-soft);margin:0}.pe-progress{z-index:6;background:var(--surface);border:1px solid var(--line-strong);width:min(520px,100% - 24px);box-shadow:var(--shadow-raised);border-radius:8px;position:absolute;bottom:16px;left:50%;transform:translate(-50%)}.pe-progress .job-progress{justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.pe-progress .job-progress-heading{flex:1;justify-content:space-between;align-items:center;gap:14px;display:flex}.pe-progress .job-progress-heading h2{margin:0;font-size:14px;font-weight:550;line-height:1.35}.pe-progress .job-progress-heading p{color:var(--muted);margin:4px 0 0;font-size:12px;line-height:1.4}.pe-progress .job-elapsed{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.pe-progress .job-progress-footer{border:0;margin:0;padding:0}.pe-progress .job-progress-footer button{border:1px solid var(--line-strong);cursor:pointer;background:0 0;border-radius:6px;align-items:center;gap:5px;min-height:36px;padding:0 10px;font-size:12px;display:flex}.pe-progress .job-progress-footer button:disabled{opacity:.5;cursor:default}.pe-progress .job-progress-footer svg{width:15px;height:15px}.pe-inspector{border-left:1px solid var(--line);background:var(--surface);scrollbar-width:thin;min-height:0;overflow-y:auto}.pe-tabs{display:none}.pe-section{border-bottom:1px solid var(--line);gap:10px;padding:14px 16px 16px;display:grid}.pe-section-head{justify-content:space-between;align-items:center;min-height:26px;display:flex}.pe-section-head h3{color:var(--ink-soft);letter-spacing:.06em;text-transform:uppercase;align-items:center;gap:6px;margin:0;font-size:11.5px;font-weight:650;display:flex}.pe-section-head h3 svg{width:14px;height:14px;color:var(--accent-dark)}.pe-reset{width:26px;height:26px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.pe-reset:hover{background:var(--surface-soft);color:var(--ink)}.pe-reset svg{width:14px;height:14px}.pe-field-row{grid-template-columns:1fr 1fr;gap:8px;display:grid}.pe-number{border:1px solid var(--line-strong);background:var(--surface);border-radius:6px;align-items:center;height:32px;display:flex;overflow:hidden}.pe-number:hover{border-color:color-mix(in srgb, var(--ink) 35%, var(--line-strong))}.pe-number:focus-within{border-color:var(--pe-select);box-shadow:0 0 0 2px color-mix(in srgb, var(--pe-select) 22%, transparent)}.pe-scrub{width:26px;color:var(--muted);cursor:ew-resize;touch-action:none;-webkit-user-select:none;user-select:none;align-self:stretch;place-items:center;font-size:11px;font-weight:650;display:grid}.pe-scrub:hover{background:var(--surface-soft);color:var(--ink)}.pe-number input{min-width:0;height:100%;font:inherit;font-variant-numeric:tabular-nums;text-align:right;background:0 0;border:0;outline:0;flex:1;padding:0 2px 0 8px;font-size:13px}.pe-suffix{color:var(--muted);padding:0 8px 0 2px;font-size:12px}.pe-control{gap:8px;display:grid}.pe-control+.pe-control{padding-top:6px}.pe-control-head{justify-content:space-between;align-items:center;gap:10px;font-size:13px;display:flex}.pe-control-head .pe-number{width:100px}.pe-note{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.45}.pe-note strong{color:var(--ink);font-weight:600}.pe-note.is-warning{color:#86570f}.pe-count{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.pe-secondary{border:1px solid var(--line-strong);background:var(--surface);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:6px;height:32px;padding:0 10px;font-size:12.5px;display:inline-flex}.pe-secondary:hover:not(:disabled){border-color:var(--ink-soft)}.pe-secondary:disabled{opacity:.45;cursor:default}.pe-secondary svg{width:15px;height:15px}.pe-inline-actions{flex-wrap:wrap;gap:8px;display:flex}.pe-steps{grid-template-columns:auto auto minmax(0,1fr) auto auto;gap:4px;display:grid}.pe-steps button{border:1px solid var(--line);background:var(--surface);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:4px;height:28px;padding:0 6px;font-size:11.5px;display:inline-flex;overflow:hidden}.pe-steps button:hover:not(:disabled){border-color:var(--line-strong);background:var(--surface-soft)}.pe-steps button:disabled{opacity:.45;cursor:default}.pe-steps button svg{width:12px;height:12px}.pe-segmented{background:var(--surface-soft);border-radius:8px;grid-auto-columns:1fr;grid-auto-flow:column;padding:2px;display:grid}.pe-segmented button{height:30px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:6px;font-size:12.5px;display:inline-flex}.pe-segmented button[aria-checked=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px #14161414, 0 0 0 1px var(--line);font-weight:600}.pe-segmented svg{width:15px;height:15px}.pe-light{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;display:grid}.pe-light button{border:1px solid var(--line);background:var(--surface);height:34px;color:var(--accent-dark);cursor:pointer;border-radius:6px;place-items:center;display:grid}.pe-light button:hover{background:var(--surface-soft)}.pe-light button[aria-checked=true]{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.pe-light span{display:grid}.pe-brief{gap:6px;margin:0;padding:0;list-style:none;display:grid}.pe-brief li{grid-template-columns:72px minmax(0,1fr);gap:8px;font-size:12px;line-height:1.4;display:grid}.pe-brief li span{color:var(--muted)}.pe-brief li strong{overflow-wrap:anywhere;font-weight:550}.pe-checks{border-top:1px solid var(--line);gap:6px;margin:0;padding:10px 0 0;list-style:none;display:grid}.pe-checks li{align-items:flex-start;gap:6px;font-size:12px;line-height:1.4;display:flex}.pe-checks svg{width:15px;height:15px;margin-top:1px}.pe-checks .is-ok svg{color:var(--success)}.pe-checks .is-bad{color:#8f2f25}.pe-checks .is-bad svg{color:#d4483b}.pe-status{border-top:1px solid var(--line);background:var(--surface);height:26px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:pre;flex:none;align-items:center;gap:18px;padding:0 12px;font-size:11px;display:flex;overflow:hidden}.pe-status-end{margin-left:auto}.pe-filter{pointer-events:none;width:0;height:0;position:absolute}.pe.is-generating .pe-product{pointer-events:none}.pe.is-generating .pe-tools,.pe.is-generating .pe-inspector{opacity:.5}.pe-scan{opacity:0;pointer-events:none;position:absolute;inset:0;overflow:hidden}.pe.is-scanning:not(.is-revealing) .pe-scan{opacity:1}.pe-scan:after{content:"";background:linear-gradient(#0000 0%,#b8ffe51a 70%,#c9ffed75 97%,#edfff9 99%,#0000);height:15%;position:absolute;inset:0 0 auto;transform:translateY(-110%)}.pe.is-scanning .pe-scan:after{animation:4.8s ease-in-out infinite studio-photo-scan}.pe.is-scanning:not(.is-revealing) .pe-product{animation:3s ease-in-out infinite guide-jewelry-pulse}.pe-result-reveal{object-fit:contain;pointer-events:none;width:100%;height:100%;animation:.4s ease-out both guide-result-reveal;position:absolute;inset:0}@media (pointer:coarse){.pe{--pe-handle:18px}.pe-handle:before{inset:-12px}}@media (max-width:1180px){.pe{--pe-panel-width:260px}}@media (max-width:900px){.pe{border-radius:8px}.pe-body{flex-direction:column;display:flex}.pe-stage{flex:auto;min-height:240px}.pe-tools{z-index:5;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:10px;flex-direction:row;padding:3px;position:absolute;top:8px;left:8px}.pe-tools-divider{width:1px;height:22px;margin:0 2px}.pe-tools-spacer{display:none}.pe-inspector{border-top:1px solid var(--line);border-left:0;flex:none;max-height:44%}.pe-tabs{z-index:1;background:var(--surface);border-bottom:1px solid var(--line);display:flex;position:sticky;top:0}.pe-tabs button{height:40px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;flex:1;font-size:12.5px}.pe-tabs button[aria-selected=true]{border-bottom-color:var(--ink);color:var(--ink);font-weight:600}.pe-inspector[data-panel=position] .pe-section:not([data-section=position]),.pe-inspector[data-panel=transform] .pe-section:not([data-section=transform]),.pe-inspector[data-panel=fit] .pe-section:not([data-section=fit]),.pe-inspector[data-panel=light] .pe-section:not([data-section=light]),.pe-inspector[data-panel=brief] .pe-section:not([data-section=brief]){display:none}.pe-section{border-bottom:0}.pe-section-head{justify-content:flex-end;min-height:0}.pe-section-head h3{display:none}.pe-section-head:not(:has(.pe-reset)){display:none}.pe-status{display:none}.pe-shortcuts{top:56px}}@media (max-width:600px){.pe-topbar{gap:2px;padding:0 4px}.pe-back span,.pe-chip,.pe-zoom>button:not(.pe-zoom-value){display:none}.pe-title{padding-left:4px}.pe-title strong{font-size:13px}.pe-topbar .pe-zoom-value{min-width:52px;padding:0 4px}.pe-zoom-value svg{display:none}.pe-topbar .pe-create{white-space:nowrap;margin-left:auto;padding:0 10px;font-size:12.5px}.pe-progress{bottom:8px}.pe-progress .job-progress{gap:6px;padding:8px 10px}}@media (prefers-reduced-motion:reduce){.pe .pe-scan{display:none}.pe .pe-product,.pe-result-reveal{animation:none!important}}.result-editor-match{background:var(--surface-soft);min-height:32px;color:var(--ink-soft);white-space:nowrap;border-radius:999px;align-items:center;padding:0 10px;font-size:12px;font-weight:600;display:inline-flex}.result-editor-match.is-ok{background:var(--success-soft);color:var(--success)}.result-editor-match.is-warning{color:#86570f;background:#fdf1dc}.result-photo-stage>.result-overlay-frame{width:min(100%, calc(var(--result-photo-height) * var(--result-ratio)));aspect-ratio:var(--result-ratio);flex:none;max-height:100%;position:relative}.result-overlay-frame>.result-lightbox-trigger{background:0 0;border:0;width:100%;height:100%;padding:0;display:block}.result-overlay-frame>.result-lightbox-trigger>img{object-fit:contain;width:100%;height:100%;display:block}.result-editor-outline{pointer-events:none;position:absolute;inset:0;overflow:hidden}.result-editor-ghost{outline-offset:1px;outline:1.5px dashed #2f6fed;position:absolute}.result-editor-ghost.is-flat-reference{outline:none}.result-editor-ghost img{opacity:.45;width:100%;height:100%;display:block;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}@media (max-width:600px){.result-editor-match{display:none}}
