[data-ui-polish]{--ui-model-accent: var(--theme-model);scrollbar-color:var(--theme-glass-border-strong) transparent}.site-header[data-ui-polish]{border-bottom:1px solid var(--theme-glass-border)}.site-header[data-ui-polish] nav a{display:grid;min-width:2.75rem;min-height:2.75rem;padding:.65rem;place-items:center;border:1px solid transparent;border-radius:.65rem;color:var(--theme-action-configure);transition:background-color .14s ease,border-color .14s ease}.site-header[data-ui-polish] nav a:hover{border-color:var(--theme-action-configure-border);background:var(--theme-action-configure-soft)}[data-ui-polish] .settings-page{width:100%;gap:1.5rem;border-color:var(--theme-glass-border)}[data-ui-polish] .settings-title-row h1{font-size:clamp(1.8rem,4vw,2.65rem);line-height:1.15;letter-spacing:-.025em;overflow-wrap:anywhere}[data-ui-polish] .settings-title-row{padding-bottom:1.25rem;border-bottom:1px solid var(--theme-glass-border)}[data-ui-polish] .settings-error{border-color:var(--theme-danger-border);color:var(--theme-danger);background:var(--theme-canvas-raised)}[data-ui-polish] .settings-message{border-color:var(--theme-status-success-border);color:var(--theme-status-success);background:var(--theme-canvas-raised)}[data-ui-polish] .model-count{color:var(--theme-model);background:var(--theme-model-soft)}[data-ui-polish] .favorite-badge{color:var(--theme-action-favorite);background:var(--theme-action-favorite-soft)}[data-ui-polish] .favorite-result{background:var(--theme-action-favorite-soft)}[data-ui-polish] .selected-model{box-shadow:inset 3px 0 0 var(--theme-model)}[data-ui-polish] .confirmation-modal::backdrop{background:var(--theme-dialog-backdrop)}[data-ui-polish] [data-ui-action=create]{--ui-action: var(--theme-action-create);--ui-action-soft: var(--theme-action-create-soft);--ui-action-border: var(--theme-action-create-border)}[data-ui-polish] [data-ui-action=edit]{--ui-action: var(--theme-action-edit);--ui-action-soft: var(--theme-action-edit-soft);--ui-action-border: var(--theme-action-edit-border)}[data-ui-polish] [data-ui-action=favorite]{--ui-action: var(--theme-action-favorite);--ui-action-soft: var(--theme-action-favorite-soft);--ui-action-border: var(--theme-action-favorite-border)}[data-ui-polish] [data-ui-action=configure]{--ui-action: var(--theme-action-configure);--ui-action-soft: var(--theme-action-configure-soft);--ui-action-border: var(--theme-action-configure-border)}[data-ui-polish] [data-ui-action=retry]{--ui-action: var(--theme-action-retry);--ui-action-soft: var(--theme-action-retry-soft);--ui-action-border: var(--theme-action-retry-border)}[data-ui-polish] [data-ui-action=group]{--ui-action: var(--theme-action-group);--ui-action-soft: var(--theme-action-group-soft);--ui-action-border: var(--theme-action-group-border)}[data-ui-polish] [data-ui-action=delete]{--ui-action: var(--theme-action-delete);--ui-action-soft: var(--theme-action-delete-soft);--ui-action-border: var(--theme-action-delete-border)}[data-ui-polish] [data-ui-action=lock]{--ui-action: var(--theme-action-lock);--ui-action-soft: var(--theme-action-lock-soft);--ui-action-border: var(--theme-action-lock-border)}[data-ui-polish] :is(button,a)[data-ui-action][data-ui-action]{border-color:var(--ui-action-border);color:var(--ui-action);background:var(--ui-action-soft);transition:background-color .14s ease,border-color .14s ease}[data-ui-polish] :is(button,a)[data-ui-action][data-ui-action]:hover:not(:disabled){border-color:var(--ui-action);background:color-mix(in srgb,var(--ui-action) 22%,var(--theme-canvas-raised))}[data-ui-polish] :is(button,a)[data-ui-action][data-ui-variant=solid]{color:var(--theme-canvas);background:var(--ui-action)}[data-ui-polish] :is(button,a)[data-ui-action][data-ui-variant=solid]:hover:not(:disabled){color:var(--theme-canvas);background:color-mix(in srgb,var(--ui-action) 85%,var(--theme-text))}[data-ui-polish] :is(button,a)[data-ui-action=delete][data-ui-variant=solid]{color:var(--theme-action-delete-text-on);background:var(--theme-action-delete-solid)}[data-ui-polish] :is(button,a)[data-ui-action=delete][data-ui-variant=solid]:hover:not(:disabled){color:var(--theme-action-delete-text-on);background:var(--theme-action-delete-solid-hover)}[data-ui-polish] :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid var(--theme-focus);outline-offset:3px}[data-ui-polish] :is(button,input,select,textarea):disabled{opacity:var(--theme-disabled);cursor:not-allowed}[data-ui-polish] :is(input,textarea)::placeholder{color:var(--theme-text-subtle);opacity:1}@media(max-width:40rem){[data-ui-polish] .settings-page{padding:1rem}[data-ui-polish] .model-picker-heading,[data-ui-polish] .editor-actions{flex-wrap:wrap;gap:.75rem}[data-ui-polish] .advanced-options{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){.site-header[data-ui-polish] nav a,[data-ui-polish] :is(button,a)[data-ui-action][data-ui-action]{transition:none}}._button_45b7u_1._button_45b7u_1{appearance:none;box-sizing:border-box;display:grid;flex:0 0 auto;width:2.75rem;min-width:2.75rem;height:2.75rem;min-height:2.75rem;padding:0;place-items:center;justify-self:start;border:1px solid var(--theme-glass-border-strong);border-radius:50%;color:var(--theme-text);background:var(--theme-glass);box-shadow:var(--theme-glass-highlight);cursor:pointer;transition:color .14s ease,border-color .14s ease,background-color .14s ease}._button_45b7u_1._button_45b7u_1:hover:not(:disabled){border-color:var(--theme-library);color:var(--theme-library);background:var(--theme-library-soft)}._button_45b7u_1._button_45b7u_1:active:not(:disabled){background:var(--theme-glass-strong)}._button_45b7u_1._button_45b7u_1:focus-visible{outline:2px solid var(--theme-focus);outline-offset:3px}._button_45b7u_1._button_45b7u_1:disabled{opacity:.45;cursor:not-allowed}._button_45b7u_1 ._icon_45b7u_45{display:block;width:1.25rem;height:1.25rem;stroke-width:1.8;pointer-events:none}@media(prefers-reduced-motion:reduce){._button_45b7u_1._button_45b7u_1{transition:none}}._page_1kkem_1{display:grid;width:min(62rem,100%);gap:1.5rem;margin:0 auto;padding:clamp(1rem,4vw,2rem);border:1px solid var(--theme-glass-border);border-radius:1.25rem;background:var(--theme-glass);box-shadow:var(--theme-glass-highlight),var(--theme-shadow)}._page_1kkem_1 header h1{margin:0}._page_1kkem_1 nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}._page_1kkem_1 nav a{display:grid;grid-template-columns:2.75rem minmax(0,1fr) 1rem;gap:1rem;align-items:center;min-height:7rem;padding:1.15rem;border:1px solid var(--theme-glass-border);border-radius:.9rem;color:var(--theme-text);background:var(--theme-glass-soft);text-decoration:none;transition:border-color .14s ease,background-color .14s ease}._page_1kkem_1 [data-area=inspector]{--area: var(--theme-inspector);--area-soft: var(--theme-inspector-soft);--area-border: var(--theme-inspector-border)}._page_1kkem_1 [data-area=model]{--area: var(--theme-model);--area-soft: var(--theme-model-soft);--area-border: var(--theme-model-border)}._page_1kkem_1 [data-area=compression]{--area: var(--theme-compression);--area-soft: var(--theme-compression-soft);--area-border: var(--theme-compression-border)}._page_1kkem_1 [data-area=image]{--area: var(--theme-image);--area-soft: var(--theme-image-soft);--area-border: var(--theme-image-border)}._page_1kkem_1 [data-area=prompt]{--area: var(--theme-prompt);--area-soft: var(--theme-prompt-soft);--area-border: var(--theme-prompt-border)}._page_1kkem_1 nav a:hover,._page_1kkem_1 nav a:focus-visible{border-color:var(--area-border);background:var(--area-soft)}._icon_1kkem_76{display:grid;width:2.75rem;height:2.75rem;place-items:center;border:1px solid var(--area-border);border-radius:.75rem;color:var(--area);background:var(--area-soft)}._icon_1kkem_76 svg{width:1.35rem;height:1.35rem}._copy_1kkem_92{display:grid;gap:.35rem;min-width:0;overflow-wrap:anywhere}._copy_1kkem_92 strong{font-size:1rem;font-weight:500}._copy_1kkem_92>span{color:var(--theme-text-muted);font-size:.82rem;line-height:1.5}._chevron_1kkem_110{width:1rem;height:1rem;color:var(--theme-text-subtle)}._page_1kkem_1 a:focus-visible{outline:2px solid var(--theme-focus);outline-offset:3px}@media(max-width:42rem){._page_1kkem_1 nav{grid-template-columns:minmax(0,1fr)}._page_1kkem_1 nav a{min-height:5.5rem;gap:.75rem;padding:.9rem}}@media(prefers-reduced-motion:reduce){._page_1kkem_1 nav a{transition:none}}._loginGate_yanxy_1{width:min(100%,22rem);margin-block:auto;padding-block:2rem}._loginGate_yanxy_1 ._introduction_yanxy_7 h1{max-width:none;font-size:1.5rem;line-height:1.3;letter-spacing:-.02em}._loginGate_yanxy_1 ._form_yanxy_14{margin-top:1.5rem}._loginGate_yanxy_1 ._submitButton_yanxy_18{box-shadow:none}._gate_yanxy_22{width:min(100%,34rem);margin:clamp(1rem,8vh,5rem) auto;padding:clamp(1.5rem,5vw,3rem);overflow:hidden;border:1px solid var(--theme-vault-border);border-radius:1.5rem;background:radial-gradient(circle at 100% 0%,var(--theme-vault-soft),transparent 42%),var(--theme-glass-strong);box-shadow:var(--theme-glass-highlight),var(--theme-shadow);backdrop-filter:blur(var(--theme-blur)) saturate(140%)}._introduction_yanxy_7 h1{max-width:12ch;margin:0;font-size:clamp(2.25rem,9vw,3.75rem);line-height:.98;letter-spacing:-.035em}._eyebrow_yanxy_48{margin:0 0 .75rem;color:var(--theme-vault);font-family:var(--theme-font-sans);font-size:.75rem;font-weight:750;letter-spacing:.13em;text-transform:uppercase}._description_yanxy_58{max-width:44ch;margin:1.25rem 0 0;color:var(--muted);font-family:var(--theme-font-sans);line-height:1.65}._form_yanxy_14{display:grid;gap:1.1rem;margin-top:2rem}._field_yanxy_72{display:grid;gap:.5rem}._field_yanxy_72 label{font-family:var(--theme-font-sans);font-size:.88rem;font-weight:700}._field_yanxy_72 input{width:100%;min-height:3.25rem;padding:.75rem .9rem;border:1px solid var(--theme-glass-border-strong);border-radius:.7rem;color:var(--foreground);background:var(--theme-input);font:1rem/1.4 var(--theme-font-sans);transition:border-color .14s ease,box-shadow .14s ease}._field_yanxy_72 input:hover{border-color:var(--theme-vault-border-hover);background:var(--theme-input-hover)}._field_yanxy_72 input:focus-visible{border-color:var(--theme-vault);outline:3px solid var(--theme-vault-soft);outline-offset:2px;box-shadow:0 0 0 1px var(--theme-vault)}._field_yanxy_72 input[aria-invalid=true]{border-color:var(--theme-danger)}._submitButton_yanxy_18{min-height:3.25rem;padding:.75rem 1.25rem;border:1px solid var(--theme-glass-border-strong);border-radius:.7rem;color:var(--theme-vault-button-text);background:linear-gradient(135deg,var(--theme-vault-button-start),var(--theme-vault));box-shadow:0 .6rem 1.5rem var(--theme-vault-button-shadow);cursor:pointer;font:700 .95rem/1 var(--theme-font-sans);transition:background-color .14s ease,transform .14s ease,box-shadow .14s ease}._submitButton_yanxy_18:hover:not(:disabled){background:linear-gradient(135deg,var(--theme-vault-button-hover-start),var(--theme-vault-button-hover-end));transform:translateY(-1px);box-shadow:0 .8rem 2rem var(--theme-vault-button-shadow-hover)}._submitButton_yanxy_18:disabled{cursor:wait;opacity:var(--theme-disabled)}._unlockProgress_yanxy_148{display:flex;align-items:center;justify-content:center;gap:.65rem;margin:0;color:var(--theme-vault);font:600 .9rem/1.5 var(--theme-font-sans)}._unlockSpinner_yanxy_158{flex:0 0 1.1rem;width:1.1rem;height:1.1rem;border:2px solid var(--theme-vault-soft);border-top-color:currentColor;border-radius:50%;animation:_unlockSpin_yanxy_158 .8s linear infinite}@keyframes _unlockSpin_yanxy_158{to{transform:rotate(360deg)}}._error_yanxy_174{display:flex;gap:.55rem;align-items:flex-start;margin:0;padding:.8rem .9rem;border:1px solid var(--theme-danger-border);border-radius:.65rem;color:var(--theme-danger);background:var(--theme-danger-soft);font:650 .9rem/1.45 var(--theme-font-sans)}._errorMark_yanxy_187{display:grid;flex:0 0 1.25rem;width:1.25rem;height:1.25rem;place-items:center;border-radius:50%;color:var(--theme-danger-text-on);background:var(--theme-danger);font-size:.76rem}._privacyNote_yanxy_199{margin:1.4rem 0 0;padding-top:1.2rem;border-top:1px solid var(--border);color:var(--muted);font:.8rem/1.55 var(--theme-font-sans)}@media(max-width:35rem){._gate_yanxy_22{margin-block:0;border-radius:1.1rem}}@media(prefers-reduced-motion:reduce){._unlockSpinner_yanxy_158{animation:none}._field_yanxy_72 input,._submitButton_yanxy_18{transition:none}._submitButton_yanxy_18:hover:not(:disabled){transform:none}}[data-ui-polish] ._field_yanxy_72 input:focus-visible{outline:3px solid var(--theme-focus);outline-offset:3px;box-shadow:none}@font-face{font-family:Roboto;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/Roboto-Latin-Variable-ccAYIvAh.woff2) format("woff2")}@font-face{font-family:Roboto;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/Roboto-Latin-Italic-Variable-BZYj8CJm.woff2) format("woff2")}:root{color-scheme:dark;--theme-font-sans: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;--theme-title-weight: 400;--theme-font-modal: var(--theme-font-sans);--theme-modal-title-size: clamp(1.85rem, 4.5vw, 2.65rem);--theme-canvas: #070a12;--theme-canvas-raised: #0d1220;--theme-text: #f4f6ff;--theme-text-muted: #aeb6cc;--theme-text-subtle: #7d879f;--theme-glass: rgb(17 23 39 / 68%);--theme-glass-strong: rgb(22 29 48 / 84%);--theme-glass-soft: rgb(255 255 255 / 4%);--theme-glass-border: rgb(207 218 255 / 16%);--theme-glass-border-strong: rgb(207 218 255 / 28%);--theme-glass-highlight: inset 0 1px 0 rgb(255 255 255 / 8%);--theme-shadow: 0 1.5rem 4rem rgb(0 0 0 / 34%);--theme-shadow-hover: 0 1.5rem 3.5rem rgb(0 0 0 / 44%);--theme-shadow-card: 0 .75rem 2rem rgb(0 0 0 / 22%);--theme-blur: 22px;--theme-ambient-violet: rgb(88 67 181 / 22%);--theme-ambient-cyan: rgb(30 139 155 / 17%);--theme-ambient-rose: rgb(145 75 117 / 12%);--theme-grid-line: rgb(255 255 255 / 2%);--theme-header: rgb(8 11 20 / 64%);--theme-dialog-backdrop: rgb(0 0 0 / 72%);--theme-media-scrim-strong: rgb(5 9 18 / 92%);--theme-media-scrim: rgb(7 10 18 / 88%);--theme-media-scrim-fade: rgb(7 10 18 / 8%);--theme-media-scrim-subtle: rgb(7 10 18 / 18%);--theme-configuration-system: #f5ad73;--theme-configuration-story: #c8a3ff;--theme-configuration-instance: #85d9be;--theme-configuration-preset: #79d7f2;--theme-cadence-system: #f5ad73;--theme-cadence-story: #c8a3ff;--theme-compression: #9fcfc3;--theme-compression-soft: rgb(159 207 195 / 14%);--theme-compression-border: rgb(159 207 195 / 38%);--theme-model: #a3bcff;--theme-model-soft: rgb(163 188 255 / 14%);--theme-model-border: rgb(163 188 255 / 38%);--theme-prompt: #d3b8f5;--theme-prompt-soft: rgb(211 184 245 / 14%);--theme-prompt-border: rgb(211 184 245 / 38%);--theme-note: #ebcfa5;--theme-note-soft: rgb(235 207 165 / 14%);--theme-note-border: rgb(235 207 165 / 38%);--theme-memory: #9fcfc3;--theme-memory-soft: rgb(159 207 195 / 14%);--theme-memory-border: rgb(159 207 195 / 38%);--theme-retcon: #c8a3ff;--theme-retcon-soft: rgb(200 163 255 / 14%);--theme-retcon-border: rgb(200 163 255 / 38%);--theme-vault: #5bd8ff;--theme-vault-soft: rgb(91 216 255 / 14%);--theme-vault-border: rgb(91 216 255 / 24%);--theme-vault-border-hover: rgb(91 216 255 / 55%);--theme-vault-button-start: #8be7ff;--theme-vault-button-hover-start: #b5f1ff;--theme-vault-button-hover-end: #6ddfff;--theme-vault-button-text: #041017;--theme-vault-button-shadow: rgb(29 158 199 / 28%);--theme-vault-button-shadow-hover: rgb(29 158 199 / 40%);--theme-create: var(--theme-action-create);--theme-create-strong: #2bb58d;--theme-create-soft: var(--theme-action-create-soft);--theme-create-border: var(--theme-action-create-border);--theme-create-border-hover: rgb(85 227 184 / 55%);--theme-create-button-start: #8af2ce;--theme-create-button-hover-start: #a8f5dc;--theme-create-button-hover-end: #4dd8aa;--theme-create-button-text: #04140e;--theme-create-button-shadow: rgb(28 150 110 / 30%);--theme-create-button-shadow-hover: rgb(28 150 110 / 42%);--theme-library: #55e3b8;--theme-library-soft: rgb(85 227 184 / 13%);--theme-library-border: rgb(85 227 184 / 24%);--theme-library-border-strong: rgb(85 227 184 / 35%);--theme-library-book-edge: #248d75;--theme-library-book-pages: #d8fff3;--theme-image: #b7f34a;--theme-image-soft: rgb(183 243 74 / 14%);--theme-image-border: rgb(183 243 74 / 28%);--theme-image-border-hover: rgb(183 243 74 / 58%);--theme-image-button-start: #c9ff68;--theme-image-button-text: #0b1203;--theme-checkpoint: #72dcff;--theme-checkpoint-soft: rgb(114 220 255 / 14%);--theme-lora: #e79aff;--theme-lora-soft: rgb(231 154 255 / 14%);--theme-story: #b99aff;--theme-story-soft: rgb(185 154 255 / 14%);--theme-story-border: rgb(185 154 255 / 22%);--theme-story-border-hover: rgb(185 154 255 / 58%);--theme-story-book-edge: #7654bd;--theme-story-book-pages: #f1eaff;--theme-plan: #ff8fd1;--theme-plan-soft: rgb(255 143 209 / 14%);--theme-plan-border: rgb(255 143 209 / 46%);--theme-plan-surface: #1a1220;--theme-prep: #8edcd2;--theme-prep-soft: rgb(142 220 210 / 14%);--theme-prep-border: rgb(142 220 210 / 40%);--theme-reasoning: #b7afff;--theme-reasoning-soft: rgb(183 175 255 / 14%);--theme-reasoning-surface: #221f35;--theme-reasoning-border: rgb(183 175 255 / 38%);--theme-editorial: #f5c18b;--theme-editorial-surface: #29232b;--theme-editorial-highlight: #fff0da;--theme-editorial-soft: rgb(245 193 139 / 12%);--theme-editorial-border: rgb(245 193 139 / 38%);--theme-chat-user: #78a9ff;--theme-chat-user-border: rgb(120 169 255 / 42%);--theme-chat-assistant: #6ccfff;--theme-chat-assistant-border: rgb(108 207 255 / 38%);--theme-character: #e79aff;--theme-character-soft: rgb(231 154 255 / 14%);--theme-character-border: rgb(231 154 255 / 40%);--theme-character-active: #55e3b8;--theme-character-active-soft: rgb(85 227 184 / 13%);--theme-character-active-border: rgb(85 227 184 / 38%);--theme-character-archived: var(--theme-text-muted);--theme-character-archived-soft: var(--theme-glass-soft);--theme-character-archived-border: var(--theme-glass-border-strong);--theme-character-review: #ffca68;--theme-character-review-soft: rgb(255 202 104 / 14%);--theme-character-review-border: rgb(255 202 104 / 42%);--theme-character-violet: #b99aff;--theme-character-violet-soft: rgb(185 154 255 / 20%);--theme-character-violet-border: rgb(185 154 255 / 52%);--theme-character-rose: #ff8fb8;--theme-character-rose-soft: rgb(255 143 184 / 20%);--theme-character-rose-border: rgb(255 143 184 / 52%);--theme-character-amber: #ffca68;--theme-character-amber-soft: rgb(255 202 104 / 20%);--theme-character-amber-border: rgb(255 202 104 / 52%);--theme-character-emerald: #55e3b8;--theme-character-emerald-soft: rgb(85 227 184 / 20%);--theme-character-emerald-border: rgb(85 227 184 / 52%);--theme-character-cyan: #72dcff;--theme-character-cyan-soft: rgb(114 220 255 / 20%);--theme-character-cyan-border: rgb(114 220 255 / 52%);--theme-character-blue: #78a9ff;--theme-character-blue-soft: rgb(120 169 255 / 20%);--theme-character-blue-border: rgb(120 169 255 / 52%);--theme-character-indigo: #8e8cff;--theme-character-indigo-soft: rgb(142 140 255 / 20%);--theme-character-indigo-border: rgb(142 140 255 / 52%);--theme-character-teal: #43d6c4;--theme-character-teal-soft: rgb(67 214 196 / 20%);--theme-character-teal-border: rgb(67 214 196 / 52%);--theme-character-lime: #b7e65d;--theme-character-lime-soft: rgb(183 230 93 / 20%);--theme-character-lime-border: rgb(183 230 93 / 52%);--theme-character-orange: #ffad5c;--theme-character-orange-soft: rgb(255 173 92 / 20%);--theme-character-orange-border: rgb(255 173 92 / 52%);--theme-character-coral: #ff8296;--theme-character-coral-soft: rgb(255 130 150 / 20%);--theme-character-coral-border: rgb(255 130 150 / 52%);--theme-turn-generating: #72dcff;--theme-turn-waiting: #aeb6cc;--theme-turn-failed: #ff8296;--theme-inspector: #67e8d2;--theme-inspector-soft: rgb(103 232 210 / 13%);--theme-inspector-border: rgb(103 232 210 / 38%);--theme-json-key: #93c5fd;--theme-json-string: #86efac;--theme-json-number: #fcd34d;--theme-json-boolean: #c4b5fd;--theme-json-null: #fda4af;--theme-chapter: #ffad5c;--theme-chapter-soft: rgb(76 34 8 / 88%);--theme-chapter-highlight: rgb(255 145 48 / 16%);--theme-chapter-border: rgb(255 154 66 / 68%);--theme-danger: #ff8296;--theme-danger-soft: rgb(255 130 150 / 13%);--theme-danger-border: rgb(255 130 150 / 38%);--theme-danger-text-on: #16070b;--theme-focus: #72dcff;--theme-status-active: #8fc7ff;--theme-status-active-soft: rgb(143 199 255 / 14%);--theme-status-active-border: rgb(143 199 255 / 40%);--theme-status-success: #86e3b5;--theme-status-success-soft: rgb(134 227 181 / 13%);--theme-status-success-border: rgb(134 227 181 / 38%);--theme-status-warning: #ffd082;--theme-status-warning-soft: rgb(255 208 130 / 14%);--theme-status-warning-border: rgb(255 208 130 / 40%);--theme-action-manage: #c4c4c4;--theme-action-manage-surface: rgb(48 48 48 / 92%);--theme-action-manage-border: rgb(196 196 196 / 42%);--theme-action-create: #55e3b8;--theme-action-create-soft: rgb(85 227 184 / 13%);--theme-action-create-border: rgb(85 227 184 / 38%);--theme-action-edit: #78a9ff;--theme-action-edit-soft: rgb(120 169 255 / 14%);--theme-action-edit-border: rgb(120 169 255 / 40%);--theme-action-favorite: #e79aff;--theme-action-favorite-soft: rgb(231 154 255 / 14%);--theme-action-favorite-border: rgb(231 154 255 / 40%);--theme-action-configure: #ffca68;--theme-action-configure-soft: rgb(255 202 104 / 14%);--theme-action-configure-border: rgb(255 202 104 / 42%);--theme-action-retry: var(--theme-text-muted);--theme-action-retry-soft: var(--theme-glass-soft);--theme-action-retry-border: var(--theme-glass-border-strong);--theme-action-group: #ffad5c;--theme-action-group-soft: rgb(255 173 92 / 14%);--theme-action-group-border: rgb(255 173 92 / 42%);--theme-action-delete: #ff8296;--theme-action-delete-soft: rgb(255 130 150 / 13%);--theme-action-delete-border: rgb(255 130 150 / 42%);--theme-action-delete-solid: #7d1824;--theme-action-delete-solid-hover: #941e2c;--theme-action-delete-text-on: #fff1f2;--theme-action-lock: #b99aff;--theme-action-lock-soft: rgb(185 154 255 / 14%);--theme-action-lock-border: rgb(185 154 255 / 40%);--theme-book-page-line: rgb(40 34 43 / 45%);--theme-book-page-edge: rgb(67 53 63 / 35%);--theme-shadow-modal: 0 1.5rem 4rem rgb(0 0 0 / 45%);--theme-input: rgb(5 9 18 / 58%);--theme-input-hover: rgb(8 13 25 / 78%);--theme-disabled: .58;--background: var(--theme-canvas);--foreground: var(--theme-text);--muted: var(--theme-text-muted);--border: var(--theme-glass-border)}:root{--dialog-width: calc(100vw - clamp(1rem, 4vw, 4rem)) ;--dialog-height: min( 44rem, calc(var(--dialog-viewport-height, 100dvh) * .8) );font-family:var(--theme-font-sans);line-height:1.5}h1,h2,h3,h4,h5,h6{font-weight:var(--theme-title-weight)}button,input,select,textarea{font-family:inherit}dialog[data-dialog-sizing=content]:modal{height:fit-content;top:var(--dialog-viewport-top, 0px);bottom:calc(100% - var(--dialog-viewport-top, 0px) - var(--dialog-viewport-height, 100dvh));max-height:var(--dialog-height);margin-block:auto}dialog[open] :is(h1,h2,h3)[data-dialog-title]{margin:0;font-family:var(--theme-font-modal);font-size:var(--theme-modal-title-size);font-weight:var(--theme-title-weight);line-height:1.15;letter-spacing:-.025em;overflow-wrap:anywhere}*{box-sizing:border-box}button,.quiet-link{display:inline-flex;align-items:center;justify-content:center;text-align:center}html{width:100%;height:100%;overflow:hidden;background:var(--background)}body{position:relative;display:flex;flex-direction:column;width:100%;height:100vh;height:100dvh;min-height:0;margin:0;overflow:hidden;color:var(--foreground);background:radial-gradient(circle at 12% 8%,var(--theme-ambient-violet),transparent 30rem),radial-gradient(circle at 88% 24%,var(--theme-ambient-cyan),transparent 28rem),radial-gradient(circle at 48% 100%,var(--theme-ambient-rose),transparent 32rem),var(--background);background-attachment:fixed}body:before{position:fixed;inset:0;opacity:.32;background-image:linear-gradient(var(--theme-grid-line) 1px,transparent 1px);background-size:100% 4rem;content:"";pointer-events:none}.site-header{display:flex;flex:0 0 auto;gap:.75rem;align-items:center;min-height:3.75rem;padding:.75rem clamp(1rem,3vw,2rem);background:var(--theme-header);box-shadow:var(--theme-glass-highlight);backdrop-filter:blur(var(--theme-blur)) saturate(140%)}.wordmark{color:var(--theme-text);font-size:1.25rem;font-weight:var(--theme-title-weight);letter-spacing:.02em;text-shadow:0 0 2rem var(--theme-create-border)}main.vault-screen{display:flex;flex-direction:column;align-items:center;width:100%;max-width:none;background:var(--background)}body:has(.vault-screen):before{display:none}.environment-badge{padding:.25rem .5rem;border:1px solid var(--theme-vault-border);border-radius:999px;color:var(--theme-vault);background:var(--theme-vault-soft);font:700 .68rem/1 var(--theme-font-sans);letter-spacing:.08em;text-transform:uppercase}body:has(.story-page)>#root>.site-header{display:none}body:has(.story-page)>#root>main{width:100%;padding:0;overflow:hidden}.story-landing{display:grid}.library-navigation{margin-bottom:1rem}.session-toolbar{gap:.5rem;align-items:center;position:fixed;z-index:10;top:.5rem;right:calc(clamp(1rem,3vw,2rem) + 3rem);display:flex;justify-content:flex-end}.placeholder-toolbar{width:100%;justify-content:space-between}.quiet-button,.quiet-link{padding:.55rem .8rem;border:1px solid var(--theme-glass-border-strong);border-radius:.55rem;color:var(--foreground);background:var(--theme-glass);box-shadow:var(--theme-glass-highlight);backdrop-filter:blur(12px);cursor:pointer;font:700 .78rem/1 var(--theme-font-sans);text-decoration:none;transition:border-color .14s ease,background-color .14s ease,transform .14s ease}.quiet-button:hover,.quiet-link:hover{transform:translateY(-1px)}.quiet-button:hover{border-color:var(--theme-vault);background:var(--theme-vault-soft)}.quiet-link:hover{border-color:var(--theme-library);background:var(--theme-library-soft)}.story-placeholder{display:grid;justify-items:center;max-width:48rem;margin:0 auto;padding:clamp(1.25rem,5vw,3rem);border:1px solid var(--theme-story-border);border-radius:1.5rem;background:radial-gradient(circle at 50% 30%,var(--theme-story-soft),transparent 35%),var(--theme-glass);box-shadow:var(--theme-glass-highlight),var(--theme-shadow);backdrop-filter:blur(var(--theme-blur)) saturate(140%);text-align:center}.placeholder-book{--book-accent: var(--theme-story);--book-accent-strong: var(--theme-story-book-edge);--book-pages: var(--theme-story-book-pages);width:7rem;height:7rem;margin:2rem 0}.story-placeholder h1{margin:0;overflow-wrap:anywhere;font-size:clamp(2.5rem,8vw,5rem);line-height:1}.story-placeholder>p:last-child{color:var(--muted);font:1rem/1.6 var(--theme-font-sans)}.settings-page{display:grid;gap:1rem;max-width:62rem;margin:0 auto;padding:clamp(1rem,4vw,2rem);border:1px solid var(--theme-story-border);border-radius:1.25rem;background:var(--theme-glass);box-shadow:var(--theme-glass-highlight),var(--theme-shadow)}.settings-page>.quiet-link{justify-self:start}.settings-page h1{margin:0;font-size:clamp(2rem,7vw,4rem)}.settings-form{display:grid;gap:.6rem}.settings-form input{width:100%;padding:.75rem;border:1px solid var(--theme-glass-border-strong);border-radius:.6rem;color:var(--foreground);background:var(--background)}.local-generation-callout{display:flex;gap:.7rem;align-items:center;padding:.8rem 1rem;border:1px solid var(--theme-create-border);border-radius:.75rem;color:var(--theme-text);background:var(--theme-story-soft);font-family:var(--theme-font-sans)}.local-generation-callout strong{flex:0 0 auto}.text-generation-settings{display:grid;gap:1rem}.credential-delete-button{justify-self:end}.model-picker-heading,.model-result,.editor-actions{display:flex;gap:1rem;align-items:center;justify-content:space-between}.model-picker-heading-actions{display:flex;flex:0 0 auto;gap:.55rem;align-items:center}.favorite-editor,.credential-form{padding:1rem;border:1px solid var(--theme-glass-border-strong);border-radius:.8rem;background:var(--theme-glass);box-shadow:var(--theme-glass-highlight)}.model-picker-heading p,.favorite-editor p,.credential-form p{margin:.3rem 0 0;color:var(--muted);font-family:var(--theme-font-sans);line-height:1.45}.settings-error,.settings-message{position:sticky;bottom:1rem;z-index:3;margin:0;padding:.75rem 1rem;border:1px solid var(--theme-story-border);border-radius:.7rem;background:var(--background);box-shadow:var(--theme-shadow);font-family:var(--theme-font-sans)}.settings-error{border-color:var(--theme-vault-border)}.model-picker{display:grid;gap:.65rem}.model-picker h2,.favorite-editor h2,.credential-form h2{margin:0}.model-picker>label,.favorite-editor>label,.credential-form>label,.parameter-field legend{font:700 .82rem/1.2 var(--theme-font-sans)}.model-picker>input,.favorite-editor input,.credential-form input{width:100%;padding:.75rem;border:1px solid var(--theme-glass-border-strong);border-radius:.6rem;color:var(--foreground);background:var(--background)}.model-count,.favorite-badge{flex:0 0 auto;padding:.3rem .5rem;border-radius:999px;color:var(--theme-story);background:var(--theme-story-soft);font:800 .68rem/1 var(--theme-font-sans);letter-spacing:.05em;text-transform:uppercase}.model-results{max-height:34rem;overflow-y:auto;border:1px solid var(--theme-glass-border-strong);border-radius:.8rem;background:var(--background)}.selected-model-result{height:auto;max-height:none;overflow:visible}.saved-model-results{max-height:none;overflow:visible}.my-models-content{display:grid}.my-models-content[hidden]{display:none}.virtual-model-results{position:relative}.model-result{width:100%;height:6rem;overflow:hidden;min-height:5.25rem;padding:.65rem;border-bottom:1px solid var(--border)}.virtual-model-results>.model-result{position:absolute;left:0}.model-result:last-child{border-bottom:0}.favorite-result{background:var(--theme-story-soft)}.selected-model{box-shadow:inset 4px 0 0 var(--theme-story)}.model-choice{display:flex;flex:1 1 auto;gap:.75rem;align-items:flex-start;min-width:0;padding:.35rem;border:0;color:inherit;background:transparent;cursor:pointer;text-align:left}.model-choice-marker{flex:0 0 auto;width:1rem;height:1rem;margin-top:.15rem;border:2px solid var(--theme-glass-border-strong);border-radius:50%}.model-choice[aria-checked=true] .model-choice-marker{border:.3rem solid var(--theme-story);background:var(--background)}.model-copy,.model-title-line{display:flex}.model-copy{flex-direction:column;gap:.3rem;min-width:0}.model-title-line{gap:.5rem;align-items:center}.model-title-line strong,.model-id,.model-metadata{overflow-wrap:anywhere}.model-id,.model-metadata{color:var(--muted);font:.76rem/1.35 var(--theme-font-sans)}.model-actions{display:flex;flex:0 0 auto;gap:.4rem;align-items:center}.icon-button,.primary-button{border:1px solid var(--theme-glass-border-strong);border-radius:.55rem;cursor:pointer}.icon-button{min-width:2.4rem;min-height:2.4rem;color:var(--foreground);background:var(--theme-glass);font-size:1.35rem}.icon-button:hover{border-color:var(--theme-story);background:var(--theme-story-soft)}.danger-button:hover{border-color:var(--theme-action-delete-border);background:var(--theme-action-delete-soft)}.primary-button{justify-self:start;padding:.75rem 1rem;color:var(--background);background:var(--theme-story);font:800 .82rem/1 var(--theme-font-sans)}.manage-create-button{border-color:var(--theme-action-create-border);color:var(--theme-canvas);background:var(--theme-action-create)}.manage-favorite-button{border-color:var(--theme-action-favorite-border);color:var(--theme-action-favorite);background:var(--theme-action-favorite-soft)}.manage-configure-button{border-color:var(--theme-action-configure-border);color:var(--theme-action-configure);background:var(--theme-action-configure-soft)}.primary-button.manage-configure-button{color:var(--theme-canvas);background:var(--theme-action-configure)}.manage-delete-button{border-color:var(--theme-action-delete-border);color:var(--theme-action-delete);background:var(--theme-action-delete-soft)}.manage-delete-button:hover{border-color:var(--theme-action-delete);background:var(--theme-action-delete-soft)}.primary-button:disabled,.icon-button:disabled,.model-choice:disabled{cursor:not-allowed;opacity:.55}.empty-model-results{margin:0;padding:2rem;color:var(--muted);font-family:var(--theme-font-sans);text-align:center}.favorite-editor,.credential-form{display:grid;gap:.75rem}.advanced-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:.8rem}.parameter-field{display:grid;gap:.35rem;align-content:start;padding:.75rem;border:1px solid var(--border);border-radius:.65rem}.parameter-field legend{padding:0 .3rem}.parameter-legend{display:flex;gap:.35rem;align-items:center}.parameter-info-button{display:inline-grid;width:1.35rem;height:1.35rem;padding:0;border:1px solid var(--theme-action-configure-border);border-radius:50%;color:var(--theme-action-configure);background:var(--theme-action-configure-soft);cursor:pointer;place-items:center}.parameter-info-button:hover{border-color:var(--theme-action-configure)}.parameter-info-button:focus-visible{outline:2px solid var(--theme-focus);outline-offset:2px}.parameter-default-control{display:flex;gap:.45rem;align-items:center;color:var(--theme-text-muted);font:.76rem/1.2 var(--theme-font-sans)}.favorite-editor .parameter-default-control input{width:auto}.parameter-controls{display:grid;grid-template-columns:minmax(8rem,1fr) minmax(5rem,7rem);gap:.65rem;align-items:center}.parameter-controls input[type=range]{min-height:1.5rem;padding:0;accent-color:var(--theme-action-configure)}.parameter-controls input:disabled{opacity:var(--theme-disabled)}.parameter-controls input:only-child{grid-column:1 / -1;width:min(100%,7rem)}.parameter-field small{color:var(--muted);font-family:var(--theme-font-sans);line-height:1.35}.editor-actions{justify-content:flex-start}.checkbox-label{display:flex;gap:.55rem;align-items:center;font-family:var(--theme-font-sans)}.credential-form .checkbox-label input{width:auto}.confirmation-modal{width:min(40rem,var(--dialog-width));padding:1.25rem;border:1px solid var(--theme-action-delete-border);border-radius:.9rem;color:var(--foreground);background:var(--theme-canvas-raised);box-shadow:var(--theme-glass-highlight),var(--theme-shadow)}.confirmation-modal::backdrop{background:color-mix(in srgb,var(--theme-canvas) 72%,transparent)}.confirmation-modal h2{margin:0}.confirmation-modal p{color:var(--muted);font-family:var(--theme-font-sans);line-height:1.5}@media(max-width:42rem){.local-generation-callout{align-items:stretch;flex-direction:column}.model-picker-heading{align-items:flex-start}.model-actions{justify-content:flex-end}}main{flex:1 1 auto;width:min(80rem,100%);min-height:0;margin:0 auto;padding:clamp(.75rem,2vw,1.5rem) clamp(1rem,3vw,2rem);overflow-y:auto;overscroll-behavior:contain}.welcome{max-width:42rem}.welcome h1{margin:0;font-size:clamp(3rem,10vw,6.5rem);line-height:.95;letter-spacing:-.04em}.welcome p:last-child{max-width:32rem;margin-top:1.5rem;color:var(--muted);font-family:var(--theme-font-sans);font-size:1.1rem;line-height:1.6}.eyebrow{margin:0 0 1rem;color:var(--theme-story);font-family:var(--theme-font-sans);font-size:.8rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}:focus-visible{outline:3px solid var(--theme-focus);outline-offset:3px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important}.quiet-button,.quiet-link{transition:none}.quiet-button:hover,.quiet-link:hover{transform:none}}.settings-title-row{display:flex;gap:.75rem;align-items:center}.settings-title-row h1{flex:1;min-width:0;margin:0}.site-header nav{margin-left:auto}.site-header nav a{display:inline-flex;padding:.5rem;color:inherit}.page-cursor{display:flex;justify-content:center;gap:1rem;padding:1rem}.query-loading{min-height:3rem}#root{display:flex;flex-direction:column;min-height:0;height:100%;width:100%}.story-query-layout{display:flex;flex-direction:column;height:100%;min-height:0}.story-query-layout>.story-page{flex:1;height:auto}.application-upgrade{position:fixed;z-index:1000;top:1rem;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:1rem;padding:.75rem 1rem;background:var(--theme-glass);border:1px solid var(--theme-glass-border-strong);border-radius:.75rem}.application-connection{position:fixed;z-index:999;top:.75rem;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:.45rem;padding:.45rem .65rem;border:1px solid var(--theme-status-warning-border);border-radius:999px;color:var(--theme-status-warning);background:var(--theme-status-warning-soft);box-shadow:var(--theme-glass-highlight);backdrop-filter:blur(var(--theme-blur));font:700 .75rem/1 var(--theme-font-sans)}.application-connection svg{width:1rem;height:1rem;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}
