.grounded-page{--grounded-bg:#08100e;--grounded-panel:#101a17;--grounded-panel-2:#14211d;--grounded-panel-3:#182723;--grounded-ink:#f3f8f5;--grounded-muted:#9cafaa;--grounded-line:#dcebe524;--grounded-line-strong:#dcebe53d;--grounded-dark:#0d1815;--grounded-accent:#df8a71;--grounded-teal:#8dd7c5;min-height:100vh;color:var(--grounded-ink);background:var(--grounded-bg);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;letter-spacing:0}.grounded-page h1,.grounded-page h2,.grounded-page button,.grounded-page input,.grounded-page select,.grounded-page textarea{letter-spacing:0}.grounded-header{color:#f4f8f6;background:var(--grounded-dark);border-bottom:1px solid #2d3b38;align-items:center;gap:12px;height:64px;padding:0 18px;display:flex}.grounded-icon-button{color:#f4f8f6;cursor:pointer;background:0 0;border:1px solid #ffffff29;border-radius:6px;flex:none;place-items:center;width:36px;height:36px;display:grid}.grounded-icon-button:hover{background:#ffffff12;border-color:#ffffff61}.grounded-title{min-width:148px;line-height:1.05;display:grid}.grounded-title span{color:#8fa29d;font-family:var(--mono);text-transform:uppercase;font-size:.59rem}.grounded-title h1{color:#fff;font-size:1.02rem}.grounded-scene-name{color:#dce7e3;align-items:center;gap:7px;min-width:0;margin-left:12px;font-size:.82rem;display:flex}.grounded-scene-name span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.grounded-service-state{color:#a9bbb6;font-family:var(--mono);text-transform:uppercase;align-items:center;gap:7px;margin-left:auto;font-size:.67rem;display:inline-flex}.grounded-service-state i{background:#758680;border-radius:50%;width:7px;height:7px}.grounded-service-state.online i{background:#52c7a5;box-shadow:0 0 0 3px #52c7a51f}.grounded-service-state.offline{color:#efae9e}.grounded-service-state.offline i{background:#e26f51}.grounded-workspace{grid-template-columns:minmax(0,1fr) clamp(410px,34vw,460px);align-items:start;min-height:calc(100vh - 64px);display:grid}.grounded-stage{grid-template-rows:45px auto 46px auto;align-content:start;min-width:0;padding:0 18px 18px;display:grid}.grounded-view-tabs{border-bottom:1px solid var(--grounded-line);align-items:end;gap:2px;display:flex}.grounded-view-tabs button{height:35px;color:var(--grounded-muted);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:0 13px;font-size:.76rem;font-weight:650}.grounded-view-tabs button.active{border-bottom-color:var(--grounded-accent);color:var(--grounded-ink)}.grounded-view-tabs button:disabled{opacity:.34;cursor:default}.grounded-before-after{border:1px solid var(--grounded-line);background:#fff;border-radius:6px;grid-template-columns:1fr 1fr;height:30px;margin:0 0 6px auto;display:grid;overflow:hidden}.grounded-before-after button{border:0;border-right:1px solid var(--grounded-line);border-bottom:0;height:28px;padding:0 12px;font-size:.68rem;font-weight:700}.grounded-before-after button:last-child{border-right:0}.grounded-before-after button.active{color:#fff;background:var(--grounded-dark);border-bottom:0}.grounded-result-download{border:1px solid var(--grounded-line);width:30px;height:30px;color:var(--grounded-ink);background:#fff;border-radius:6px;flex:none;place-items:center;margin:0 0 6px 6px;display:grid}.grounded-result-download:hover,.grounded-result-download:focus-visible{border-color:var(--grounded-accent);color:var(--grounded-accent);outline:none}.grounded-viewport{aspect-ratio:16/9;background:#101715;border:1px solid #24312e;border-radius:6px;min-width:0;min-height:0;position:relative;overflow:hidden}.grounded-viewport>img{object-fit:contain;width:100%;height:100%;display:block}.grounded-stage-empty{color:#8da09a;place-content:center;justify-items:center;gap:8px;height:100%;font-size:.78rem;display:grid}.grounded-busy{color:#f7fbf8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0b1210c2;place-content:center;justify-items:center;gap:7px;display:grid;position:absolute;inset:0}.grounded-busy.compact{-webkit-backdrop-filter:none;backdrop-filter:none;pointer-events:none;background:#0b1210e6;border:1px solid #d2e1db38;border-radius:6px;padding:9px 11px;display:flex;inset:12px 12px auto auto}.grounded-busy.compact svg{width:16px;height:16px}.grounded-page .lucide-loader-circle{animation:1s linear infinite grounded-spin}.grounded-busy b{font-size:.82rem}.grounded-busy span{color:#a8b9b4;font-family:var(--mono);font-size:.68rem}@keyframes grounded-spin{to{transform:rotate(360deg)}}.grounded-metrics{border-bottom:1px solid var(--grounded-line);min-width:0;color:var(--grounded-muted);align-items:center;gap:18px;font-size:.7rem;display:flex}.grounded-metrics span,.grounded-metrics a{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.grounded-metrics b{color:var(--grounded-ink);font-family:var(--mono)}.grounded-metrics .complete{color:var(--grounded-teal)}.grounded-metrics a{color:var(--grounded-accent);margin-left:auto;font-weight:700}.grounded-references{gap:8px;padding-top:12px;display:flex;overflow-x:auto}.grounded-references button{aspect-ratio:16/10;cursor:zoom-in;background:#dbe2df;border:2px solid #0000;border-radius:5px;flex:none;width:88px;padding:0;position:relative;overflow:hidden}.grounded-references button.selected{border-color:var(--grounded-accent)}.grounded-references button:hover,.grounded-references button:focus-visible{border-color:#71827d}.grounded-references button:focus-visible{outline-offset:2px;outline:2px solid #e26f514d}.grounded-references img{object-fit:cover;width:100%;height:100%;display:block}.grounded-references span{color:#fff;font-family:var(--mono);background:#0a110fb8;border-radius:3px;padding:2px 4px;font-size:.55rem;position:absolute;bottom:4px;right:4px}.grounded-reference-lightbox{z-index:1000;color:#f5f8f7;background:#080d0cf0;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:18px;padding:28px;display:grid;position:fixed;inset:0}.grounded-reference-lightbox figure{grid-template-rows:minmax(0,1fr) auto;justify-self:center;min-width:0;max-width:min(1440px,100vw - 190px);max-height:calc(100vh - 80px);margin:0;display:grid}.grounded-reference-lightbox figure>img{object-fit:contain;justify-self:center;min-width:0;max-width:100%;max-height:calc(100vh - 126px);display:block}.grounded-reference-lightbox figcaption{color:#c4cfcc;justify-content:space-between;align-items:center;gap:24px;min-width:0;padding-top:12px;font-size:.74rem;display:flex}.grounded-reference-lightbox figcaption b{color:#f5f8f7;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.grounded-reference-lightbox figcaption span{font-family:var(--mono);flex:none}.grounded-lightbox-close,.grounded-lightbox-nav{color:#f5f8f7;cursor:pointer;background:#131d1ad1;border:1px solid #ffffff38;border-radius:50%;place-items:center;display:grid}.grounded-lightbox-close:hover,.grounded-lightbox-nav:hover,.grounded-lightbox-close:focus-visible,.grounded-lightbox-nav:focus-visible{background:#263733;border-color:#ffffff94;outline:none}.grounded-lightbox-close{width:42px;height:42px;position:absolute;top:18px;right:18px}.grounded-lightbox-nav{width:48px;height:48px}.grounded-lightbox-nav.previous{grid-column:1}.grounded-reference-lightbox figure{grid-column:2}.grounded-lightbox-nav.next{grid-column:3}.grounded-controls{border-left:1px solid var(--grounded-line);background:var(--grounded-panel);min-width:0;max-height:calc(100vh - 64px);position:sticky;top:0;overflow-y:auto}.grounded-controls>section{border-bottom:1px solid var(--grounded-line);gap:14px;padding:20px;display:grid}.grounded-section-title{align-items:center;gap:8px;display:flex}.grounded-section-title svg{color:var(--grounded-accent)}.grounded-section-title h2{font-size:.9rem}.grounded-controls .camera-knob-panel{gap:10px;padding:2px 0 4px;overflow:visible}.grounded-controls .camera-knob-pad{width:min(92px,100%)}.grounded-controls .camera-knob-label{justify-content:center;min-height:18px}.grounded-controls .camera-knob-label b{font-size:.68rem}.grounded-camera-coordinates{border-top:1px solid var(--grounded-line);border-bottom:1px solid var(--grounded-line);gap:10px;padding:9px 0;display:grid}.grounded-camera-coordinates summary{color:var(--grounded-muted);cursor:pointer;font-family:var(--mono);text-transform:uppercase;font-size:.62rem}.grounded-camera-coordinates[open] summary{margin-bottom:2px}.grounded-field{gap:6px;display:grid}.grounded-field>span,.grounded-vector legend{color:var(--grounded-muted);font-family:var(--mono);text-transform:uppercase;font-size:.62rem}.grounded-field select,.grounded-field textarea,.grounded-field input,.grounded-vector input{border:1px solid var(--grounded-line);width:100%;color:var(--grounded-ink);font:inherit;background:#fff;border-radius:5px}.grounded-field select,.grounded-field input{height:38px;padding:0 10px}.grounded-field textarea{resize:vertical;min-height:82px;padding:9px 10px;line-height:1.35}.grounded-field select:focus,.grounded-field textarea:focus,.grounded-field input:focus,.grounded-vector input:focus{border-color:var(--grounded-accent);outline:2px solid #e26f512e}.grounded-vector{border:0;gap:6px;min-width:0;margin:0;padding:0;display:grid}.grounded-vector>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.grounded-vector label{border:1px solid var(--grounded-line);border-radius:5px;grid-template-columns:20px minmax(0,1fr);align-items:center;min-width:0;display:grid;overflow:hidden}.grounded-vector label span{color:var(--grounded-muted);text-align:center;font-family:var(--mono);font-size:.61rem}.grounded-vector input{border:0;border-left:1px solid var(--grounded-line);min-width:0;height:34px;font-family:var(--mono);border-radius:0;padding:0 5px;font-size:.7rem}.grounded-range-pair{grid-template-columns:1fr 1fr;gap:14px;display:grid}.grounded-range-pair label{gap:6px;min-width:0;display:grid}.grounded-range-pair span{color:var(--grounded-muted);font-family:var(--mono);text-transform:uppercase;justify-content:space-between;font-size:.62rem;display:flex}.grounded-range-pair b{color:var(--grounded-ink)}.grounded-range-pair input{width:100%;accent-color:var(--grounded-accent)}.grounded-mode-tabs{border:1px solid var(--grounded-line);border-radius:6px;grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:hidden}.grounded-mode-tabs button{border:0;border-right:1px solid var(--grounded-line);border-bottom:1px solid var(--grounded-line);min-width:0;height:48px;color:var(--grounded-muted);cursor:pointer;background:#fff;place-content:center;justify-items:center;gap:3px;padding:3px;font-size:.58rem;display:grid}.grounded-mode-tabs button:nth-child(3n){border-right:0}.grounded-mode-tabs button:nth-last-child(-n+3){border-bottom:0}.grounded-mode-tabs button.active{color:#fff;background:var(--grounded-dark)}.grounded-mode-tabs button:disabled{opacity:.34;cursor:default}.grounded-seed>div{grid-template-columns:minmax(0,1fr) 38px;gap:6px;display:grid}.grounded-seed button{border:1px solid var(--grounded-line);color:var(--grounded-muted);cursor:pointer;background:#fff;border-radius:5px;place-items:center;display:grid}.grounded-job-status{border:1px solid var(--grounded-line);min-width:0;color:var(--grounded-muted);background:#f7faf8;border-radius:5px;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;font-size:.68rem;display:flex}.grounded-job-status span{align-items:center;gap:7px;min-width:0;font-weight:700;display:inline-flex}.grounded-job-status i{background:#e8a44b;border-radius:50%;flex:none;width:7px;height:7px}.grounded-job-status.complete i{background:var(--grounded-teal)}.grounded-job-status.failed i{background:#c84e3d}.grounded-job-status code{color:#7b8985;min-width:0;font-family:var(--mono);text-overflow:ellipsis;white-space:nowrap;font-size:.59rem;overflow:hidden}.grounded-secondary-button,.grounded-generate-button{cursor:pointer;min-height:40px;font:inherit;border-radius:6px;justify-content:center;align-items:center;gap:8px;font-size:.78rem;font-weight:700;display:inline-flex}.grounded-secondary-button{border:1px solid var(--grounded-line);color:var(--grounded-ink);background:#f8faf9}.grounded-generate-button{border:1px solid var(--grounded-accent);color:#fff;background:var(--grounded-accent)}.grounded-secondary-button:disabled,.grounded-generate-button:disabled{opacity:.42;cursor:default}.grounded-error{color:#9a372b;background:#fff0ec;border-left:3px solid #c84e3d;margin:14px 20px;padding:9px 10px;font-size:.72rem}.grounded-page :where(.grounded-before-after,.grounded-result-download,.grounded-references button,.grounded-field select,.grounded-field textarea,.grounded-field input,.grounded-vector label,.grounded-vector input,.grounded-mode-tabs,.grounded-mode-tabs button,.grounded-seed button,.grounded-job-status,.grounded-secondary-button){border-color:var(--grounded-line);background:var(--grounded-panel-2);color:var(--grounded-ink)}.grounded-page :where(.grounded-before-after button,.grounded-mode-tabs button,.grounded-seed button,.grounded-secondary-button):hover:not(:disabled){border-color:var(--grounded-line-strong);background:var(--grounded-panel-3)}.grounded-page :where(.grounded-before-after button.active,.grounded-mode-tabs button.active){color:#08100e;background:#eaf7f2}.grounded-page :where(.grounded-field select,.grounded-field textarea,.grounded-field input,.grounded-vector input)::placeholder{color:#6f837d}.grounded-page :where(.grounded-job-status code,.grounded-vector label span){color:var(--grounded-muted)}.grounded-page .grounded-error{color:#f1b3a6;background:#a43d2f29}.grounded-page :is(.grounded-before-after,.grounded-result-download,.grounded-references button,.grounded-field select,.grounded-field textarea,.grounded-field input,.grounded-vector label,.grounded-vector input,.grounded-mode-tabs,.grounded-mode-tabs button,.grounded-seed button,.grounded-job-status,.grounded-secondary-button){border-color:var(--grounded-line);background:var(--grounded-panel-2);color:var(--grounded-ink)}.grounded-page :is(.grounded-view-tabs button.active,.grounded-metrics b,.grounded-range-pair b,.grounded-field select,.grounded-field textarea,.grounded-field input,.grounded-vector input,.grounded-secondary-button){color:var(--grounded-ink)}.grounded-page :is(.grounded-view-tabs button,.grounded-field>span,.grounded-vector legend,.grounded-vector label span,.grounded-range-pair span,.grounded-job-status,.grounded-job-status code){color:var(--grounded-muted)}.grounded-page :is(.grounded-before-after button.active,.grounded-mode-tabs button.active){color:#08100e;background:#eaf7f2}.grounded-page :is(.grounded-field select,.grounded-field textarea,.grounded-field input,.grounded-vector input)::placeholder{color:#839790}@media (width<=980px){.grounded-workspace{grid-template-columns:1fr}.grounded-stage{grid-template-rows:45px auto 46px auto}.grounded-controls{border-top:1px solid var(--grounded-line);border-left:0;max-height:none;position:static;overflow:visible}}@media (width<=620px){.grounded-header{padding:0 10px}.grounded-title{min-width:0}.grounded-scene-name{display:none}.grounded-service-state{font-size:.58rem}.grounded-stage{grid-template-rows:auto auto auto auto;padding:0 10px 12px}.grounded-view-tabs{flex-wrap:wrap;align-items:center;padding-top:4px;overflow:visible}.grounded-view-tabs>button{flex:calc(20% - 2px);min-width:0;padding:0 4px;font-size:.68rem}.grounded-before-after{flex:calc(100% - 38px);min-width:0;margin:4px 0 6px}.grounded-before-after button{padding:0 6px}.grounded-result-download{margin:4px 0 6px 4px}.grounded-metrics{flex-wrap:wrap;gap:8px 14px;padding:8px 0}.grounded-metrics a{margin-left:0}.grounded-controls>section{padding:16px}.grounded-vector>div,.grounded-range-pair{grid-template-columns:1fr}.grounded-reference-lightbox{grid-template-columns:38px minmax(0,1fr) 38px;gap:8px;padding:16px 10px}.grounded-reference-lightbox figure{max-width:calc(100vw - 100px)}.grounded-lightbox-nav{width:38px;height:38px}.grounded-lightbox-close{top:10px;right:10px}}
