:root{color:#181817;background:#f5f3ee;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0;background:linear-gradient(180deg,#ffffffb3,#f5f3eee6),#f5f3ee}button,textarea,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.62}.app-shell{width:min(1180px,100%);min-height:100vh;margin:0 auto;padding:18px;display:grid;grid-template-columns:minmax(340px,410px) minmax(0,1fr);gap:18px}.composer,.library-section{min-width:0}.composer{position:sticky;top:18px;align-self:start;display:grid;gap:16px;padding:18px;border:1px solid #dfd8cc;border-radius:8px;background:#fffdf8f5;box-shadow:0 18px 38px #3a2f2114}.topbar,.library-head,.insights-head,.log-head,.toolbar,.controls-row,.card-meta,.status-strip,.label-row,.panel-title,.reference-pill,.reference-empty{display:flex;align-items:center}.topbar,.library-head,.insights-head,.log-head,.label-row{justify-content:space-between;gap:14px}.topbar-actions,.library-head-actions,.library-pagination-head,.page-size-control,.pagination-controls,.pagination-item,.drawer-head{display:flex;align-items:center}.topbar-actions{flex:0 0 auto;gap:8px}.eyebrow{margin:0 0 4px;color:#737069;font-size:.72rem;font-weight:700;letter-spacing:0;text-transform:uppercase}.brand-lockup{min-width:0;display:flex;align-items:center;gap:12px}.brand-copy{min-width:0}.brand-title{display:flex;align-items:center}.brand-icon{width:54px;height:54px;flex:0 0 auto;display:block}.brand-wordmark{width:min(100%,280px);height:auto;display:block}h1,h2,h3,h4{margin:0;letter-spacing:0}h1{font-size:clamp(2rem,9vw,3.7rem);line-height:.92}h2{font-size:1.55rem}h3{font-size:1.1rem}h4{font-size:.9rem}.icon-button{width:42px;height:42px;display:inline-grid;place-items:center;border:1px solid #d7d0c3;border-radius:8px;color:#242321;background:#fffdfa}.icon-button.small{width:36px;height:36px}.prompt-stack{display:grid;gap:8px}.field-label{color:#4b4945;font-size:.86rem;font-weight:800}.text-button{min-height:30px;display:inline-flex;align-items:center;gap:6px;border:0;color:#165f4f;background:transparent;font-size:.82rem;font-weight:900}textarea,input,select{width:100%;border:1px solid #d7d0c3;border-radius:8px;color:#181817;background:#fffdfa;outline:none}textarea{min-height:178px;resize:vertical;padding:14px;line-height:1.45}input{min-height:42px;padding:0 12px}select{min-height:42px;padding:0 34px 0 12px}input[type=range]{min-height:34px;padding:0;border:0;accent-color:#2f7c67;background:transparent}textarea:focus,input:focus,select:focus,button:focus-visible{border-color:#2f7c67;box-shadow:0 0 0 3px #2f7c672e}.toolbar{flex-wrap:wrap;gap:10px}.primary-button,.tool-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;font-weight:800}.primary-button{flex:1 1 150px;border:1px solid #10100f;color:#fffdf8;background:#181817}.tool-button{flex:1 1 112px;border:1px solid #d7d0c3;color:#22211f;background:#fffdfa}.controls-row{justify-content:space-between;flex-wrap:wrap;gap:10px}.segmented{min-height:38px;display:inline-grid;grid-auto-flow:column;grid-auto-columns:minmax(54px,1fr);gap:3px;padding:3px;border:1px solid #d7d0c3;border-radius:8px;background:#ebe5d9}.segmented button{min-height:30px;border:0;border-radius:6px;color:#4b4945;background:transparent;font-size:.86rem;font-weight:800}.segmented button.active{color:#11100f;background:#fffdfa;box-shadow:0 1px 4px #3a2f211f}.segmented.compact{grid-auto-columns:minmax(56px,max-content)}.reference-pill,.reference-empty{min-height:38px;gap:8px;padding:0 10px;border-radius:8px;font-size:.85rem;font-weight:800}.reference-pill{color:#123d34;background:#dcefe8}.reference-pill button{width:24px;height:24px;display:inline-grid;place-items:center;border:0;border-radius:6px;color:#123d34;background:#ffffffb3}.reference-empty{color:#6d6760;background:#ece7dd}.advanced{border-top:1px solid #e6dfd2;padding-top:12px}.advanced summary{margin-bottom:10px;color:#4b4945;cursor:pointer;font-weight:800}.metadata-grid,.modal-editor,.lora-panel,.model-panel,.edit-panel{display:grid;gap:10px}.metadata-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metadata-grid .wide{grid-column:1 / -1}.metadata-grid label,.modal-editor label,.lora-panel label,.model-panel label,.edit-panel label{display:grid;gap:6px}.metadata-grid label span,.modal-editor label span,.lora-panel label span,.model-panel label span,.edit-panel label span{color:#5d5750;font-size:.76rem;font-weight:900}.lora-panel,.model-panel,.edit-panel{grid-template-columns:1fr}.edit-panel textarea{min-height:88px}.check-row{display:flex!important;grid-template-columns:auto 1fr;align-items:center;gap:9px!important;color:#4b4945;font-size:.85rem;font-weight:900}.check-row input{width:18px;min-height:18px;accent-color:#2f7c67}.lora-status,.model-status{min-height:34px;display:flex;align-items:center;gap:8px;padding:7px 9px;border-radius:8px;color:#5d5750;background:#f0ece4;font-size:.78rem;font-weight:800}.history-panel{display:grid;gap:10px;border-top:1px solid #e6dfd2;padding-top:12px}.panel-title{gap:8px;color:#4b4945;font-size:.86rem;font-weight:900}.panel-title small{min-width:22px;padding:2px 6px;border-radius:999px;color:#5d5750;background:#ebe5d9;font-size:.68rem;text-align:center}.history-toggle{width:100%;min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0;border:0;color:#4b4945;background:transparent}.history-toggle>svg{transition:transform .18s ease}.history-toggle>svg.collapsed{transform:rotate(-90deg)}.show-more-button{min-height:36px;border:1px solid #d7d0c3;border-radius:8px;color:#165f4f;background:#fffdfa;font-size:.8rem;font-weight:900}.prompt-list{display:grid;gap:6px}.prompt-list button{min-width:0;display:grid;gap:4px;padding:9px 0;border:0;border-top:1px solid #ebe5d9;color:#242321;background:transparent;text-align:left}.prompt-list button span{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.35}.prompt-list time,.modal-copy time,.quiet-copy{color:#777169;font-size:.78rem;font-weight:700}.quiet-copy{margin:0}.status-strip{min-height:38px;gap:8px;padding:9px 10px;border-radius:8px;color:#4d4a45;background:#f0ece4;font-size:.86rem;font-weight:700}.status-dot{width:9px;height:9px;flex:0 0 auto;border-radius:50%;background:#c75a4d}.status-dot.online{background:#2f7c67}.notice{padding:11px 12px;border-left:4px solid #d46b45;border-radius:8px;background:#fff4ed;color:#4d3429;font-weight:700;line-height:1.35}.library-section{display:grid;align-content:start;gap:16px}.library-head-actions{justify-content:flex-end;flex-wrap:wrap;gap:8px}.privacy-toggle{min-height:38px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border:1px solid #d7d0c3;border-radius:8px;color:#4b4945;background:#fffdfa;font-size:.8rem;font-weight:900;text-transform:uppercase}.privacy-toggle.active{border-color:#886fc5;color:#553f87;background:#eee8fb}.drawer-layer{position:fixed;inset:0;z-index:40;display:grid;justify-items:end}.drawer-backdrop{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:#14121085;cursor:default;animation:drawer-fade-in .16s ease-out}.insights-drawer{position:relative;width:min(500px,100vw);height:100%;display:grid;align-content:start;gap:16px;overflow-y:auto;padding:18px;border-left:1px solid #d7d0c3;background:#f8f5ef;box-shadow:-18px 0 42px #14121033;animation:drawer-slide-in .2s ease-out}.drawer-head{justify-content:space-between;gap:14px}.insights-drawer .insights-panel{background:#fffdfa;box-shadow:none}.insights-drawer .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.insights-panel{display:grid;gap:12px;padding:14px;border:1px solid #dfd8cc;border-radius:8px;background:#fffdf8d1;box-shadow:0 10px 26px #3a2f210f}.insights-controls{display:flex;align-items:center;gap:8px}.insights-summary{margin:4px 0 0;color:#777169;font-size:.78rem;font-weight:700}.collapse-button svg,.collapse-toggle svg{transition:transform .18s ease}.collapse-button svg.collapsed,.collapse-toggle svg.collapsed{transform:rotate(-90deg)}.telemetry-section{display:grid;gap:10px;border-top:1px solid #e6dfd2;padding-top:12px}.collapse-toggle{width:100%;min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0;border:0;color:#4b4945;background:transparent;font-size:.85rem;font-weight:900}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.stat-card{min-width:0;display:grid;gap:7px;padding:10px;border:1px solid #e2dbcf;border-radius:8px;background:#fffdfa}.stat-card div{min-width:0;display:flex;align-items:center;gap:6px;color:#5d5750;font-size:.72rem;font-weight:900}.stat-card strong{min-width:0;overflow:hidden;color:#181817;font-size:1.2rem;line-height:1;text-overflow:ellipsis;white-space:nowrap}.stat-card small{min-width:0;overflow:hidden;color:#777169;font-size:.72rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.mini-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.top-list{min-width:0;display:grid;align-content:start;gap:7px;padding:10px;border:1px solid #e2dbcf;border-radius:8px;background:#fffdfa}.top-list h4{color:#4b4945}.top-list div{min-width:0;display:flex;justify-content:space-between;gap:8px;font-size:.78rem;font-weight:800}.top-list span{min-width:0;overflow:hidden;color:#4d4a45;text-overflow:ellipsis;white-space:nowrap}.top-list strong{color:#165f4f}.top-list p{margin:0;color:#777169;font-size:.78rem;font-weight:800}.log-head span{color:#777169;font-size:.78rem;font-weight:800}.telemetry-list{display:grid;gap:7px}.telemetry-row{min-width:0;display:grid;grid-template-columns:50px minmax(0,1fr);gap:8px;padding:8px;border:1px solid #e2dbcf;border-radius:8px;background:#fffdfa}.telemetry-row>span{align-self:start;padding:3px 5px;border-radius:6px;color:#fff;background:#4f5755;font-size:.64rem;font-weight:900;text-align:center;text-transform:uppercase}.telemetry-row.warn>span{background:#a8642c}.telemetry-row.error>span{background:#a33f35}.telemetry-row div{min-width:0;display:grid;gap:3px}.telemetry-row strong,.telemetry-row small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.telemetry-row strong{color:#252421;font-size:.8rem}.telemetry-row small{color:#777169;font-size:.72rem;font-weight:800}.compact-empty{min-height:130px}.group-strip{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}.group-strip button{min-height:34px;flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border:1px solid #d7d0c3;border-radius:8px;color:#4b4945;background:#fffdfa;font-size:.82rem;font-weight:900}.group-strip button.active{border-color:#2f7c67;color:#123d34;background:#dcefe8}.library-pagination-head{min-height:38px;justify-content:space-between;gap:12px;color:#777169;font-size:.78rem;font-weight:800}.page-size-control{flex:0 0 auto;gap:8px}.page-size-control select{width:68px;min-height:34px;padding-left:9px}.pagination-controls{justify-content:center;flex-wrap:wrap;gap:5px}.pagination-item{gap:5px}.pagination-controls button{min-width:36px;min-height:36px;display:inline-grid;place-items:center;border:1px solid #d7d0c3;border-radius:8px;color:#4b4945;background:#fffdfa;font-weight:900}.pagination-controls button.active{border-color:#2f7c67;color:#fffdfa;background:#2f7c67}.pagination-ellipsis{padding:0 2px;color:#777169}.image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:12px;align-items:start}.image-card{position:relative;min-width:0;display:grid;align-self:start;align-content:start;gap:9px;padding:8px;border:1px solid #ded7ca;border-radius:8px;color:#23221f;background:#fffdfa;text-align:left;box-shadow:0 8px 20px #3a2f210f;content-visibility:auto;contain-intrinsic-size:260px}.image-card.selected{border-color:#2f7c67;box-shadow:0 0 0 3px #2f7c6724}.thumb{position:relative;display:block;width:100%;overflow:hidden;border-radius:6px;background:#e3ded5}.thumb:before{content:"";display:block;padding-top:100%}.thumb img,.thumb .pending-art{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover}.thumb img{transition:filter .18s ease,transform .18s ease}.image-grid.private .image-card:not(:hover):not(:focus-visible):not(:active) .thumb img{filter:blur(16px) saturate(.65);transform:scale(1.14)}.privacy-name-clear{display:none}.image-grid.private .image-card:hover .privacy-name-masked,.image-grid.private .image-card:focus-visible .privacy-name-masked,.image-grid.private .image-card:active .privacy-name-masked{display:none}.image-grid.private .image-card:hover .privacy-name-clear,.image-grid.private .image-card:focus-visible .privacy-name-clear,.image-grid.private .image-card:active .privacy-name-clear{display:inline}.pending-art{width:100%;height:100%;display:grid;place-items:center;color:#5c5751;background:linear-gradient(135deg,#2f7c672e,#d46b4529),#ece7dd}.card-meta{display:grid;align-items:start;gap:4px;font-size:.78rem;font-weight:800}.card-meta time{color:#777169;font-weight:700}.card-title{min-width:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.35}.card-chips{display:flex;flex-wrap:wrap;gap:5px}.card-chips span{max-width:100%;overflow:hidden;padding:4px 6px;border-radius:6px;color:#4d4a45;background:#f0ece4;font-size:.7rem;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.badge{position:absolute;top:14px;left:14px;padding:5px 8px;border-radius:999px;color:#fff;background:#4f5755;font-size:.72rem;font-weight:900;text-transform:uppercase}.badge.failed{background:#a33f35}.empty-state{min-height:260px;display:grid;place-items:center;align-content:center;gap:10px;border:1px dashed #cfc6b7;border-radius:8px;color:#6f6860;background:#fffdf880}.empty-state p{margin:0;font-weight:800}.loading-state{min-height:220px}.modal-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:18px;background:#141210b8}.image-modal{position:relative;width:min(920px,100%);max-height:min(92vh,900px);display:grid;gap:12px;overflow:auto;padding:12px;border-radius:8px;background:#fffdfa}.prompt-modal{position:relative;width:min(1080px,100%);max-height:min(92vh,960px);display:grid;gap:16px;overflow:auto;padding:20px;border-radius:10px;background:linear-gradient(180deg,#fffffffa,#f8f4ecfa),#fffdfa}.detail-stage-image{max-width:100%;max-height:72vh;justify-self:center;border-radius:6px;object-fit:contain}.detail-view-toggle{justify-self:start}.compare-stage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.compare-pane{min-width:0;display:grid;gap:8px;margin:0}.compare-pane img{width:100%;max-height:52vh;border-radius:6px;object-fit:contain;background:#f0ece4}.compare-pane figcaption{display:grid;gap:3px}.compare-pane strong{color:#242321;font-size:.84rem}.compare-pane small{color:#777169;font-size:.74rem;font-weight:700}.prompt-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-right:52px}.prompt-modal-head>div:first-child{min-width:0;display:grid;gap:6px}.prompt-modal-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:14px}.prompt-modal-panel{min-width:0;display:grid;align-content:start;gap:12px;padding:14px;border:1px solid #e2dbcf;border-radius:8px;background:#fffdf8e0}.prompt-modal-field{display:grid;gap:6px}.prompt-modal-field span{color:#5d5750;font-size:.76rem;font-weight:900}.prompt-modal-toolbar,.prompt-modal-actions{display:flex;flex-wrap:wrap;gap:10px}.prompt-modal-actions{flex:0 0 auto;justify-content:flex-end}.modal-primary{flex:0 0 auto;padding:0 14px}.refinement-compare{display:grid;gap:10px}.refinement-compare>div,.refinement-history-card{min-width:0;display:grid;gap:6px;padding:10px;border:1px solid #e2dbcf;border-radius:8px;background:#fffdfa}.refinement-compare span,.refinement-history-card p span{color:#777169;font-size:.7rem;font-weight:900;text-transform:uppercase}.refinement-compare p,.refinement-history-card p,.refinement-modifier{margin:0;overflow-wrap:anywhere;line-height:1.4}.refinement-meta{gap:4px!important}.refinement-meta strong,.refinement-history-top strong{color:#165f4f;font-size:.78rem}.refinement-history{display:grid;gap:8px}.refinement-history-card{text-align:left;border-color:#dfd8cc}.refinement-history-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.refinement-history-top time,.refinement-meta time{color:#777169;font-size:.76rem;font-weight:800}.refinement-modifier{color:#4d4a45;font-size:.78rem;font-weight:800}.close-button{position:absolute;top:18px;right:18px;background:#fffdf8eb}.modal-copy{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;color:#36332f}.modal-copy>div:first-child{min-width:0;display:grid;gap:4px}.modal-copy p{min-width:0;margin:0;overflow-wrap:anywhere;line-height:1.35}.modal-copy a{flex:0 0 auto;color:#165f4f;font-weight:900}.modal-actions{flex:0 0 auto;display:flex;align-items:center;gap:10px}.modal-tool{min-height:38px;flex:0 0 auto;padding:0 12px}.upscale-panel{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(150px,.8fr);gap:10px;border-top:1px solid #e6dfd2;padding-top:12px}.upscale-panel label{min-width:0;display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 10px}.upscale-panel label span{color:#5d5750;font-size:.76rem;font-weight:900}.upscale-panel input[type=range],.upscale-panel select{grid-column:1 / -1}.upscale-panel strong{color:#242321;font-size:.82rem}.file-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-top:1px solid #e6dfd2;padding-top:12px}.file-info-grid div{min-width:0;display:grid;gap:4px;padding:8px;border:1px solid #e2dbcf;border-radius:8px;background:#fffdfa}.file-info-grid span{color:#777169;font-size:.7rem;font-weight:900}.file-info-grid strong{min-width:0;overflow:hidden;color:#242321;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.modal-editor{grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #e6dfd2;padding-top:12px}.metadata-save{grid-column:1 / -1}.instance-banner{grid-column:1 / -1;min-height:46px;display:flex;align-items:center;gap:10px;padding:9px 12px;border:1px solid #cbbce9;border-radius:8px;color:#4e3c75;background:#eee8fb;font-size:.8rem}.instance-banner span{font-weight:700}.instance-banner strong{font-size:.9rem}.instance-banner a{margin-left:auto;color:inherit;font-weight:900}.brand-placeholder{min-width:0;display:grid;gap:2px}.brand-placeholder strong{font-size:1.05rem}.composer-menu-fallback{display:flex;justify-content:flex-end}.composer-status-slot,.controls-section{display:grid}.controls-section{gap:10px}.reference-preview{overflow:hidden;border:1px solid #d7d0c3;border-radius:8px;background:#f6f1e9}.reference-preview summary{min-height:54px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 10px;cursor:pointer;list-style:none}.reference-preview summary::-webkit-details-marker{display:none}.reference-preview summary>img{width:38px;height:38px;border-radius:6px;object-fit:cover}.reference-preview summary>span{min-width:0;display:grid;gap:2px}.reference-preview summary strong,.reference-preview summary small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reference-preview summary strong{color:#34312d;font-size:.8rem}.reference-preview summary small{color:#777169;font-size:.72rem;font-weight:700}.reference-preview summary>svg{transition:transform .18s ease}.reference-preview[open] summary>svg{transform:rotate(180deg)}.reference-preview-stage{display:grid;place-items:center;max-height:360px;overflow:hidden;padding:10px;border-top:1px solid #d7d0c3;background:#e9e3da}.reference-preview-stage img{max-width:100%;max-height:330px;border-radius:6px;object-fit:contain}.history-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px}.history-pagination button{min-height:34px;padding:0 10px;border:1px solid #d7d0c3;border-radius:8px;color:#165f4f;background:#fffdfa;font-size:.76rem;font-weight:900}.history-pagination span{color:#777169;font-size:.75rem;font-weight:800}.drawer-head-actions{display:flex;align-items:center;gap:8px}.settings-layer,.composer-editor-layer{position:fixed;inset:0;display:grid;place-items:center;padding:18px;background:#141210b3}.settings-layer{z-index:50}.composer-editor-layer{z-index:60;background:#141210d1}.settings-modal,.composer-settings-editor{width:min(980px,100%);max-height:min(92vh,940px);display:grid;overflow:hidden;border:1px solid #d7d0c3;border-radius:12px;background:#f8f5ef;box-shadow:0 28px 80px #14121047}.settings-modal{grid-template-rows:auto auto minmax(0,1fr)}.settings-modal-head,.composer-editor-head,.composer-editor-actions{display:flex;align-items:center;justify-content:space-between;gap:14px}.settings-modal-head,.composer-editor-head{padding:18px 20px}.settings-tabs{display:flex;gap:4px;padding:0 20px;border-bottom:1px solid #ded7ca}.settings-tabs button{min-height:46px;display:inline-flex;align-items:center;gap:7px;padding:0 15px;border:0;border-bottom:3px solid transparent;color:#777169;background:transparent;font-size:.84rem;font-weight:900}.settings-tabs button.active{border-bottom-color:#2f7c67;color:#165f4f}.settings-tab-panel{display:grid;align-content:start;gap:16px;overflow-y:auto;padding:20px}.settings-intro{display:grid;gap:5px}.settings-intro p,.composer-settings-block>div:first-child p{margin:0;color:#777169;font-size:.82rem;line-height:1.45}.settings-group{min-width:0;margin:0;padding:14px;border:1px solid #ded7ca;border-radius:10px;background:#fffdfa}.settings-group legend{padding:0 6px;color:#4b4945;font-size:.8rem;font-weight:900}.choice-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.choice-cards>label{min-width:0;display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:10px;padding:13px;border:1px solid #ded7ca;border-radius:9px;cursor:pointer}.choice-cards>label.selected{border-color:#2f7c67;color:#123d34;background:#e6f2ed}.choice-cards input,.boolean-choice input{width:15px;min-height:15px;margin:0;padding:0;accent-color:#2f7c67}.choice-cards label>span,.settings-check-row>span{min-width:0;display:grid;gap:3px}.choice-cards small,.settings-check-row small,.locked-section-list small{color:#777169;font-size:.74rem;font-weight:700;line-height:1.35}.quick-settings{display:grid;gap:4px}.settings-check-row{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 4px;border-bottom:1px solid #ebe5d9}.settings-check-row:last-child{border-bottom:0}.settings-check-row>input{width:20px;min-height:20px;flex:0 0 auto;accent-color:#2f7c67}.composer-implementation-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.composer-implementation-card{min-width:0;overflow:hidden;border:1px solid #ded7ca;border-radius:10px;background:#fffdfa}.composer-card-main{width:100%;display:grid;grid-template-columns:132px minmax(0,1fr);gap:13px;padding:12px;border:0;color:#242321;background:transparent;text-align:left}.composer-card-main:hover{background:#f4efe7}.composer-card-copy{min-width:0;display:grid;align-content:start;gap:7px;color:#625d56;font-size:.77rem;line-height:1.4}.composer-card-title{min-width:0;display:grid;gap:3px}.composer-card-title strong{color:#242321;font-size:.94rem}.composer-card-title code,.composer-editor-head code,.composer-card-footer code{min-width:0;overflow:hidden;color:#777169;font-size:.69rem;text-overflow:ellipsis;white-space:nowrap}.composer-build-summary{display:flex;flex-wrap:wrap;gap:5px}.composer-build-summary small{padding:4px 6px;border-radius:6px;color:#4d4a45;background:#eee9e0;font-size:.66rem;font-weight:900}.composer-card-footer{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border-top:1px solid #ebe5d9;background:#f7f2ea}.composer-card-footer a{flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;color:#165f4f;font-size:.72rem;font-weight:900;text-decoration:none}.composer-thumbnail{position:relative;min-height:154px;display:flex;flex-direction:column;gap:6px;padding:8px;overflow:hidden;border:1px solid #d9d1c4;border-radius:8px;background:#eee9df}.composer-thumbnail-topbar{min-height:22px;display:flex;align-items:center;gap:5px;padding:4px;border-radius:4px;background:#fffdfa}.composer-thumbnail-topbar i,.composer-thumbnail-topbar b,.composer-thumbnail-topbar em{display:block;border-radius:999px;background:#2f7c67}.composer-thumbnail-topbar i{width:12px;height:12px}.composer-thumbnail-topbar b{width:42px;height:5px;background:#756f67}.composer-thumbnail-topbar em{width:10px;height:10px;margin-left:auto;background:#d46b45}.composer-thumbnail-prompt{min-height:34px;border-radius:4px;background:#fffdfa}.composer-thumbnail-tools{min-height:12px;border-radius:4px;background:#242321}.composer-thumbnail-block{min-height:8px;border-radius:3px;background:#d1c9bd}.composer-thumbnail-status{min-height:9px;margin-top:auto;border-radius:3px;background:#a9cbbf}.composer-thumbnail-status.top{order:-1;margin-top:0}.composer-settings-editor{grid-template-rows:auto minmax(0,1fr) auto}.composer-editor-head{border-bottom:1px solid #ded7ca}.composer-editor-head>div{min-width:0;display:grid;gap:4px}.composer-editor-body{display:grid;gap:12px;overflow-y:auto;padding:16px 20px 20px}.composer-settings-block{min-width:0;display:grid;gap:12px;padding:14px;border:1px solid #ded7ca;border-radius:10px;background:#fffdfa}.composer-settings-block>div:first-child{display:grid;gap:4px}.composer-setting-table{display:grid;gap:4px}.composer-setting-head,.composer-setting-row{display:grid;grid-template-columns:minmax(130px,1fr) minmax(140px,auto) 110px;align-items:center;gap:12px}.composer-setting-head{padding:0 10px 5px;color:#777169;font-size:.68rem;font-weight:900;text-transform:uppercase}.composer-setting-row{min-height:48px;padding:7px 10px;border-radius:8px;background:#f5f0e8}.composer-setting-row>strong{font-size:.82rem}.boolean-choice{display:inline-grid;grid-template-columns:repeat(2,minmax(58px,1fr));gap:3px;padding:3px;border:1px solid #d7d0c3;border-radius:7px;background:#e8e2d8}.boolean-choice label{min-height:28px;display:flex;align-items:center;justify-content:center;gap:5px;padding:0 7px;border-radius:5px;color:#777169;cursor:pointer;font-size:.7rem;font-weight:900;text-transform:uppercase}.boolean-choice label.selected{color:#123d34;background:#fffdfa;box-shadow:0 1px 4px #3a2f211f}.boolean-choice label:has(input:disabled){cursor:not-allowed;opacity:.5}.order-select{min-height:36px}.settings-option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.settings-boolean-field,.settings-select-field{min-width:0;display:grid;align-content:start;gap:6px}.settings-boolean-field>span:first-child,.settings-select-field>span{color:#5d5750;font-size:.72rem;font-weight:900}.settings-select-field select{min-height:36px}.locked-section-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.locked-section-list label{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding:9px;border-radius:8px;background:#f5f0e8}.locked-section-list input{width:18px;min-height:18px;padding:0}.locked-section-list label>span{min-width:0;display:grid;gap:2px}.locked-section-list strong{font-size:.78rem}.composer-editor-actions{justify-content:flex-end;padding:14px 20px;border-top:1px solid #ded7ca;background:#f1ece4}.composer-editor-actions .primary-button,.composer-editor-actions .tool-button{min-width:128px;flex:0 0 auto}html[data-theme=night]{color:#ece8df;background:#101310;color-scheme:dark}html[data-theme=night] body{background:linear-gradient(180deg,#1b201ceb,#0e110ffa),#101310}html[data-theme=night] .composer,html[data-theme=night] .insights-drawer,html[data-theme=night] .settings-modal,html[data-theme=night] .composer-settings-editor,html[data-theme=night] .image-modal,html[data-theme=night] .prompt-modal{border-color:#3d463f;color:#ece8df;background:#181d19}html[data-theme=night] .insights-panel,html[data-theme=night] .image-card,html[data-theme=night] .stat-card,html[data-theme=night] .top-list,html[data-theme=night] .telemetry-row,html[data-theme=night] .settings-group,html[data-theme=night] .composer-implementation-card,html[data-theme=night] .composer-settings-block,html[data-theme=night] .prompt-modal-panel,html[data-theme=night] .refinement-compare>div,html[data-theme=night] .refinement-history-card,html[data-theme=night] .file-info-grid div{border-color:#3d463f;color:#ece8df;background:#202621}html[data-theme=night] textarea,html[data-theme=night] input,html[data-theme=night] select,html[data-theme=night] .icon-button,html[data-theme=night] .tool-button,html[data-theme=night] .show-more-button,html[data-theme=night] .history-pagination button,html[data-theme=night] .group-strip button,html[data-theme=night] .pagination-controls button,html[data-theme=night] .segmented button.active,html[data-theme=night] .boolean-choice label.selected{border-color:#485249;color:#ece8df;background:#252c26}html[data-theme=night] .advanced,html[data-theme=night] .history-panel,html[data-theme=night] .telemetry-section,html[data-theme=night] .settings-tabs,html[data-theme=night] .composer-card-footer,html[data-theme=night] .composer-editor-head,html[data-theme=night] .composer-editor-actions,html[data-theme=night] .reference-preview-stage{border-color:#3d463f}html[data-theme=night] .status-strip,html[data-theme=night] .reference-empty,html[data-theme=night] .lora-status,html[data-theme=night] .model-status,html[data-theme=night] .card-chips span,html[data-theme=night] .composer-build-summary small,html[data-theme=night] .composer-setting-row,html[data-theme=night] .locked-section-list label,html[data-theme=night] .composer-card-footer,html[data-theme=night] .reference-preview,html[data-theme=night] .composer-thumbnail,html[data-theme=night] .boolean-choice{border-color:#3d463f;color:#d6d0c6;background:#252b26}html[data-theme=night] .composer-card-main,html[data-theme=night] .history-toggle,html[data-theme=night] .collapse-toggle,html[data-theme=night] .text-button,html[data-theme=night] .settings-tabs button{color:#d6d0c6}html[data-theme=night] .composer-card-main:hover{background:#2a312b}html[data-theme=night] h1,html[data-theme=night] h2,html[data-theme=night] h3,html[data-theme=night] h4,html[data-theme=night] .card-title,html[data-theme=night] .composer-card-title strong,html[data-theme=night] .reference-preview summary strong,html[data-theme=night] .stat-card strong,html[data-theme=night] .telemetry-row strong,html[data-theme=night] .file-info-grid strong{color:#f4f0e8}html[data-theme=night] .eyebrow,html[data-theme=night] .quiet-copy,html[data-theme=night] .settings-intro p,html[data-theme=night] .composer-card-copy,html[data-theme=night] .composer-card-title code,html[data-theme=night] .composer-card-footer code,html[data-theme=night] .composer-editor-head code,html[data-theme=night] .reference-preview summary small,html[data-theme=night] .choice-cards small,html[data-theme=night] .settings-check-row small,html[data-theme=night] .locked-section-list small{color:#aaa49b}html[data-theme=night] .brand-wordmark{filter:invert(.9) hue-rotate(180deg)}html[data-theme=night] .choice-cards>label.selected,html[data-theme=night] .privacy-toggle.active{border-color:#8d7bc1;color:#e5dcff;background:#302943}html[data-theme=night] .composer-thumbnail-topbar,html[data-theme=night] .composer-thumbnail-prompt{background:#343c35}html[data-reduce-motion=true] *,html[data-reduce-motion=true] *:before,html[data-reduce-motion=true] *:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.spin{animation:spin .9s linear infinite}.pulse{animation:pulse 1.2s ease-in-out infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{transform:scale(1.1);opacity:.7}}@keyframes drawer-fade-in{0%{opacity:0}}@keyframes drawer-slide-in{0%{transform:translate(100%)}}@media(max-width:780px){.app-shell{grid-template-columns:1fr;padding:12px}.composer{position:static}.library-head{align-items:flex-start;flex-direction:column}.library-head-actions{width:100%;justify-content:flex-start}.image-grid,.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.prompt-modal-grid,.compare-stage,.composer-implementation-list{grid-template-columns:1fr}.composer-setting-head,.composer-setting-row{grid-template-columns:minmax(110px,1fr) minmax(132px,auto) 88px}.settings-option-grid,.locked-section-list{grid-template-columns:1fr}}@media(max-width:430px){.composer{padding:14px}.topbar{align-items:flex-start}.brand-lockup{gap:10px}.brand-icon{width:46px;height:46px}.brand-wordmark{width:min(100%,220px)}.toolbar{display:grid;grid-template-columns:1fr 1fr}.primary-button{grid-column:1 / -1}.segmented.compact{width:100%}.library-head-actions .privacy-toggle{width:100%;justify-content:center}.insights-drawer{padding:14px}.metadata-grid,.modal-editor,.mini-columns,.upscale-panel,.file-info-grid{grid-template-columns:1fr}.modal-copy{flex-direction:column}.modal-actions,.prompt-modal-actions{width:100%}.prompt-modal-head,.prompt-modal-actions{flex-direction:column;align-items:stretch}.prompt-modal-actions,.modal-actions{justify-content:space-between}.metadata-save{grid-column:auto}.stats-grid{grid-template-columns:1fr}.instance-banner{align-items:flex-start;flex-direction:column}.instance-banner a{margin-left:0}.settings-layer,.composer-editor-layer{padding:8px}.settings-modal-head,.composer-editor-head,.settings-tab-panel,.composer-editor-body{padding-left:13px;padding-right:13px}.settings-tabs{padding:0 13px}.choice-cards{grid-template-columns:1fr}.composer-card-main{grid-template-columns:102px minmax(0,1fr)}.composer-thumbnail{min-height:138px}.composer-setting-head{display:none}.composer-setting-row{grid-template-columns:1fr;gap:7px}.composer-setting-row .order-select{width:100%}.composer-editor-actions{padding:10px 13px}.composer-editor-actions .primary-button,.composer-editor-actions .tool-button{min-width:0;flex:1 1 0}}.debug-shell{width:min(1540px,100%);min-height:100vh;margin:0 auto;padding:22px}.debug-topbar,.debug-title-row,.debug-template-picker,.debug-panel-head,.debug-panel-actions,.debug-template-meta,.debug-alert,.debug-status-chip,.debug-reference-preview,.debug-reference-empty,.debug-strength-row,.debug-run-button{display:flex;align-items:center}.debug-topbar,.debug-panel-head{justify-content:space-between;gap:18px}.debug-topbar{padding:17px 18px;border:1px solid #dfd8cc;border-radius:10px;background:#fffdf8f5;box-shadow:0 14px 35px #3a2f2112}.debug-title-row{min-width:0;gap:13px}.debug-title-row h1{font-size:clamp(1.45rem,3vw,2.25rem);line-height:1.05}.debug-template-picker{min-width:min(100%,420px);gap:9px}.debug-template-picker label{color:#5b5852;font-size:.82rem;font-weight:850}.debug-template-picker select{min-width:240px}.debug-template-meta{min-height:42px;flex-wrap:wrap;gap:8px 14px;padding:8px 4px;color:#68645d;font-size:.78rem;font-weight:750}.debug-status-chip{width:fit-content;min-height:25px;gap:5px;padding:3px 9px;border:1px solid #d8d3ca;border-radius:999px;color:#56524c;background:#f8f5ef;font-size:.72rem;font-weight:850}.debug-status-chip.good{border-color:#a9d4c5;color:#17614e;background:#eaf7f1}.debug-status-chip.warn{border-color:#e1c77d;color:#755713;background:#fff8df}.debug-status-chip.error{border-color:#df9a90;color:#8b2c21;background:#fff0ed}.debug-alert{gap:9px;margin:0 0 12px;padding:11px 13px;border:1px solid #d9d3c8;border-radius:8px;color:#4d4943;background:#fffdf8;font-size:.86rem}.debug-alert.error{border-color:#dfa69d;color:#812f25;background:#fff1ee}.debug-split{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(330px,.7fr);align-items:start;gap:16px}.debug-json-panel,.debug-options-panel,.debug-result-panel{min-width:0;border:1px solid #dfd8cc;border-radius:10px;background:#fffdf8f7;box-shadow:0 14px 35px #3a2f2112}.debug-json-panel,.debug-options-panel{padding:16px}.debug-options-panel{position:sticky;top:14px;display:grid;gap:17px}.debug-panel-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px}.debug-panel-actions .tool-button{min-height:35px;padding:0 10px}.debug-view-switch{display:inline-flex;padding:3px;border:1px solid #d8d2c8;border-radius:8px;background:#f5f1eb}.debug-view-switch button{min-height:29px;display:inline-flex;align-items:center;gap:5px;padding:0 8px;border:0;border-radius:5px;color:#706b64;background:transparent;font-size:.72rem;font-weight:800}.debug-view-switch button.active{color:#195c4c;background:#fffdfa;box-shadow:0 1px 4px #372f251f}.debug-json-editor{width:100%;min-height:660px;max-height:76vh;margin-top:13px;padding:16px;resize:vertical;border-color:#cdc8be;border-radius:7px;color:#d8f3e8;background:#171c1a;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.78rem;line-height:1.55;tab-size:2;white-space:pre}.debug-json-editor:focus{border-color:#4a967f;box-shadow:0 0 0 3px #2f7c6738}.debug-json-editor.invalid{border-color:#d4685c}.debug-editor-status{min-height:27px;padding:7px 2px 0;color:#6c6861;font-family:SFMono-Regular,Consolas,monospace;font-size:.7rem}.debug-editor-status.error{color:#9c3127}.debug-loading{min-height:660px;display:grid;place-items:center;color:#69655f}.debug-node-navigator{min-height:660px;max-height:76vh;margin-top:13px;overflow:auto;border:1px solid #d5cfc5;border-radius:7px;background:#f5f2ec}.debug-node-search{position:sticky;z-index:2;top:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px;border-bottom:1px solid #d9d3c9;background:#f8f5eff5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.debug-node-search input{min-height:36px}.debug-node-search>span{color:#777169;font:.68rem SFMono-Regular,Consolas,monospace}.debug-json-node-list{display:grid;gap:7px;padding:9px}.debug-json-node{overflow:hidden;border:1px solid #ddd7cd;border-radius:7px;background:#fffdfa}.debug-json-node summary{display:grid;grid-template-columns:minmax(62px,auto) minmax(130px,.7fr) minmax(0,1fr);align-items:center;gap:10px;padding:10px 11px;cursor:pointer;list-style-position:inside}.debug-json-node summary code{color:#29735f;font-size:.7rem}.debug-json-node summary strong{overflow:hidden;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.debug-json-node summary span{overflow:hidden;color:#777169;font-size:.7rem;text-align:right;text-overflow:ellipsis;white-space:nowrap}.debug-json-node[open] summary{border-bottom:1px solid #ddd7cd}.debug-json-node pre{max-height:420px;margin:0;overflow:auto;padding:13px;color:#d8f3e8;background:#171c1a;font:.72rem/1.5 SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.debug-field{display:grid;gap:8px}.debug-field>span,.debug-target-list>strong{color:#383632;font-size:.86rem;font-weight:850}.debug-field>textarea{min-height:135px}.debug-field>small,.debug-target-list small,.debug-run-note,.debug-reference-preview small{color:#77726a;font-size:.72rem;line-height:1.4}.debug-reference-preview,.debug-reference-empty{gap:10px;padding:9px;border:1px solid #ded8ce;border-radius:8px;background:#f7f4ee}.debug-current-lora{display:grid;gap:6px;padding:9px 10px;border:1px solid #ded8ce;border-radius:8px;background:#f7f4ee}.debug-current-lora strong{color:#77726a;font-size:.68rem;text-transform:uppercase}.debug-current-lora code{overflow:hidden;color:#2f6658;font-size:.75rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.debug-node-overrides{overflow:hidden;border:1px solid #ded8ce;border-radius:8px;background:#f7f4ee}.debug-node-overrides>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;cursor:pointer;font-size:.82rem;font-weight:850}.debug-node-overrides>summary small{color:#777169;font-size:.68rem}.debug-node-overrides[open]>summary{border-bottom:1px solid #ded8ce}.debug-node-overrides-body{display:grid;gap:8px;padding:9px}.debug-node-overrides-body>small{color:#777169;font-size:.72rem}.debug-node-override{display:grid;gap:8px;padding:9px;border:1px solid #e1dbd1;border-radius:7px;background:#fffdfa}.debug-node-override-head{min-width:0;display:flex;align-items:center;gap:8px}.debug-node-override-head code{flex:0 0 auto;color:#29735f;font-size:.68rem}.debug-node-override-head strong{overflow:hidden;font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}.debug-reference-preview img{width:64px;height:64px;flex:0 0 auto;border-radius:6px;object-fit:cover;background:#e8e4dc}.debug-reference-preview div{min-width:0;display:grid;gap:4px}.debug-reference-preview strong{overflow:hidden;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.debug-upload-preview{overflow:hidden;border:1px solid #ded8ce;border-radius:8px;background:#f7f4ee}.debug-upload-preview>summary{display:flex;align-items:center;gap:7px;padding:9px 10px;cursor:pointer;font-size:.74rem;font-weight:850}.debug-upload-preview>summary span{margin-left:auto;color:#777169;font-size:.67rem;font-weight:650}.debug-upload-preview[open]>summary{border-bottom:1px solid #ded8ce}.debug-upload-preview>div{display:grid;gap:8px;padding:9px}.debug-upload-preview img{width:100%;max-height:280px;display:block;border-radius:6px;object-fit:contain;background:#1b1b1a}.debug-upload-preview strong{overflow:hidden;font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}.debug-reference-empty{align-items:flex-start;color:#77726a;font-size:.74rem;line-height:1.4}.debug-reference-empty svg{flex:0 0 auto}.debug-strength-row{gap:10px}.debug-strength-row input[type=range]{flex:1 1 auto}.debug-strength-row input[type=number]{width:82px;flex:0 0 82px}.debug-target-list{display:grid;gap:7px;padding:11px;border:1px solid #e0dacf;border-radius:8px;background:#f8f5ef}.debug-target-list code{overflow:hidden;color:#57524c;font-size:.68rem;text-overflow:ellipsis;white-space:nowrap}.debug-run-button{width:100%;min-height:47px;justify-content:center;gap:8px}.debug-run-note{margin-top:-10px;text-align:center}.debug-result-panel{display:grid;gap:18px;margin-top:16px;padding:18px}.debug-result-body{display:grid;gap:18px}.debug-result-actions{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:8px}.debug-result-actions select{width:min(440px,42vw);min-height:36px}.debug-run-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0}.debug-run-stats>div{min-width:0;padding:10px;border:1px solid #e0dad0;border-radius:8px;background:#f8f5ef}.debug-run-stats dt{margin-bottom:5px;color:#77726a;font-size:.68rem;font-weight:800;text-transform:uppercase}.debug-run-stats dd{margin:0;overflow:hidden;font-size:.84rem;font-weight:800;text-overflow:ellipsis}.debug-output-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,260px));justify-content:start;gap:12px}.debug-output-section{overflow:hidden;border:1px solid #ded8cd;border-radius:8px;background:#faf7f1}.debug-output-section>summary{display:flex;align-items:center;gap:8px;padding:11px 13px;cursor:pointer;font-size:.82rem;font-weight:850}.debug-output-section>summary span{min-width:24px;padding:2px 7px;border-radius:999px;color:#5d5851;background:#e9e3d9;font-size:.68rem;text-align:center}.debug-output-section[open]>summary{border-bottom:1px solid #ded8cd}.debug-output-section-body{display:grid;gap:10px;padding:11px}.debug-blur-toggle{width:fit-content;min-height:34px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border:1px solid #d6cfc4;border-radius:7px;color:#5f5a53;background:#fffdfa;font-size:.72rem;font-weight:800}.debug-blur-toggle.active{border-color:#9bcab9;color:#1b604e;background:#eaf7f1}.debug-output-card{align-self:start;overflow:hidden;border:1px solid #ded8cd;border-radius:8px;background:#fffdfa}.debug-output-card>summary{display:flex;justify-content:space-between;gap:8px;padding:8px 9px;cursor:pointer;font-size:.7rem;font-weight:850}.debug-output-card>summary span{color:#777169;font-weight:650}.debug-output-card>a{display:block;overflow:hidden;border-top:1px solid #ded8cd;background:#1b1b1a}.debug-output-card>div{overflow:hidden;padding:8px 9px;color:#69645d;font-size:.68rem;text-overflow:ellipsis;white-space:nowrap}.debug-output-card-actions{display:flex;border-top:1px solid #ded8cd;white-space:normal}.debug-output-card-actions .tool-button{width:100%;min-height:34px;justify-content:center;text-decoration:none}.debug-persisted-reference{display:grid;grid-template-columns:minmax(160px,260px) minmax(0,1fr);gap:12px;padding:11px}.debug-persisted-reference>a{overflow:hidden;border-radius:7px;background:#1b1b1a}.debug-persisted-reference img{width:100%;height:220px;display:block;object-fit:contain}.debug-persisted-reference>div{min-width:0;align-self:center;display:grid;justify-items:start;gap:8px}.debug-persisted-reference strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.debug-persisted-reference small{color:#777169;font-size:.72rem}.debug-persisted-reference .tool-button{text-decoration:none}.debug-output-grid figure{margin:0;overflow:hidden;border:1px solid #ded8cd;border-radius:9px;background:#f6f2ec}.debug-output-grid img{width:100%;height:220px;display:block;object-fit:contain;background:#1b1b1a;transition:filter .16s ease}.debug-output-grid img.is-blurred{filter:blur(18px)}.debug-output-grid img.is-blurred:hover,.debug-output-grid a:focus-visible img.is-blurred{filter:blur(0)}.debug-output-grid figcaption{padding:9px 11px;color:#69645d;font-size:.72rem}.debug-text-outputs{display:grid;gap:8px}.debug-text-outputs pre,.debug-raw-output pre{max-height:520px;margin:0;overflow:auto;padding:13px;border-radius:7px;color:#d8f3e8;background:#171c1a;font:.75rem/1.5 SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.debug-raw-output{border:1px solid #ded8cd;border-radius:8px}.debug-raw-output summary{padding:11px 13px;cursor:pointer;font-size:.8rem;font-weight:800}.debug-raw-output[open] summary{border-bottom:1px solid #ded8cd}html[data-theme=night] .debug-topbar,html[data-theme=night] .debug-json-panel,html[data-theme=night] .debug-options-panel,html[data-theme=night] .debug-result-panel{border-color:#49453f;color:#f0ece4;background:#272522fa}html[data-theme=night] .debug-field>span,html[data-theme=night] .debug-target-list>strong{color:#eee8df}html[data-theme=night] .debug-template-picker label,html[data-theme=night] .debug-template-meta,html[data-theme=night] .debug-field>small,html[data-theme=night] .debug-target-list small,html[data-theme=night] .debug-run-note,html[data-theme=night] .debug-reference-preview small,html[data-theme=night] .debug-reference-empty,html[data-theme=night] .debug-editor-status{color:#aaa49a}html[data-theme=night] .debug-reference-preview,html[data-theme=night] .debug-reference-empty,html[data-theme=night] .debug-upload-preview,html[data-theme=night] .debug-current-lora,html[data-theme=night] .debug-node-navigator,html[data-theme=night] .debug-json-node,html[data-theme=night] .debug-node-overrides,html[data-theme=night] .debug-node-override,html[data-theme=night] .debug-target-list,html[data-theme=night] .debug-run-stats>div,html[data-theme=night] .debug-output-section,html[data-theme=night] .debug-output-card,html[data-theme=night] .debug-raw-output{border-color:#4b4741;color:#e5e0d7;background:#302e2a}html[data-theme=night] .debug-target-list code,html[data-theme=night] .debug-current-lora strong,html[data-theme=night] .debug-node-overrides>summary small,html[data-theme=night] .debug-node-overrides-body>small,html[data-theme=night] .debug-json-node summary span,html[data-theme=night] .debug-output-card>summary span,html[data-theme=night] .debug-output-card>div,html[data-theme=night] .debug-run-stats dt,html[data-theme=night] .debug-output-grid figcaption{color:#b9b2a8}html[data-theme=night] .debug-current-lora code{color:#9dd7c5}html[data-theme=night] .debug-node-search{border-color:#4b4741;background:#302e2af5}html[data-theme=night] .debug-json-node[open] summary,html[data-theme=night] .debug-node-overrides[open]>summary,html[data-theme=night] .debug-output-section[open]>summary,html[data-theme=night] .debug-output-card>a{border-color:#4b4741}html[data-theme=night] .debug-upload-preview[open]>summary,html[data-theme=night] .debug-output-card-actions{border-color:#4b4741}html[data-theme=night] .debug-view-switch{border-color:#4b4741;background:#302e2a}html[data-theme=night] .debug-view-switch button.active,html[data-theme=night] .debug-blur-toggle{color:#e5e0d7;background:#3a3732}html[data-theme=night] .debug-blur-toggle.active{border-color:#4f8c7a;color:#b9eddd;background:#24453b}html[data-theme=night] .debug-raw-output[open] summary{border-color:#4b4741}@media(max-width:980px){.debug-split{grid-template-columns:1fr}.debug-options-panel{position:static}}@media(max-width:680px){.debug-shell{padding:10px}.debug-topbar,.debug-template-picker{align-items:stretch;flex-direction:column}.debug-template-picker,.debug-template-picker select{min-width:0}.debug-template-picker .icon-button{width:100%}.debug-panel-head{align-items:flex-start;flex-direction:column}.debug-json-editor,.debug-loading,.debug-node-navigator{min-height:520px}.debug-run-stats{grid-template-columns:1fr 1fr}.debug-result-actions{width:100%;flex-wrap:wrap;justify-content:flex-start}.debug-result-actions select{width:100%}.debug-json-node summary{grid-template-columns:minmax(55px,auto) minmax(0,1fr)}.debug-json-node summary span{display:none}.debug-output-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.debug-persisted-reference{grid-template-columns:1fr}}
