:root{--font:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--bg:#fff;--fg:#141414;--muted:#5c5c5c;--line:#dcdcdc;--accent:#1d5fd0;--feedback:#a8622c;--tap:56px;--nav-h:72px;--checks:#80808080}@media (prefers-color-scheme:dark){:root{--bg:#141414;--fg:#f2f2f2;--muted:#a5a5a5;--line:#333;--accent:#6ea8ff;--feedback:#d99a62}}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--fg);font-family:var(--font);-webkit-text-size-adjust:100%;margin:0;padding:0;font-size:18px;line-height:1.55}body{flex-direction:column;height:100dvh;display:flex;position:relative;overflow:hidden}main{min-height:0;padding:calc(1.5rem + env(safe-area-inset-top)) max(1.25rem, calc(50% - 20rem)) 1.5rem;flex:auto;overflow-y:auto}main.chat-thread{padding-bottom:0}h1{margin:0 0 .75rem;font-size:1.75rem;line-height:1.2}.chat-title{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-size:1.25rem;display:-webkit-box;overflow:hidden}p{margin:0 0 1rem}.muted{color:var(--muted)}.card{border:1px solid var(--line);border-radius:14px;margin:0 0 1rem;padding:1rem 1.125rem}.profile-editor h2{margin-top:0}.card.menu{padding:0 1.125rem}.card.menu a{min-height:var(--tap);color:var(--fg);align-items:center;font-weight:600;text-decoration:none;display:flex}.card.menu a+a{border-top:1px solid var(--line)}.card.menu .menu-note{font-size:.9375rem;font-weight:400;display:block}.card.menu a.over{color:var(--muted)}.card.menu a:has(.menu-note){padding:.625rem 0}.card.menu a:after{content:"›";color:var(--muted);margin-left:auto;padding-left:1rem;font-weight:400}.card .section-head{color:var(--muted);margin-bottom:.375rem;font-size:.85rem;font-weight:600}.card .speaker{color:var(--muted);margin-bottom:.125rem;font-size:.85rem;font-weight:600}.status{min-height:var(--tap);font-variant-numeric:tabular-nums;align-items:center;gap:.5rem;display:inline-flex}.dot{background:var(--muted);border-radius:50%;width:.75rem;height:.75rem}.dot[data-state=ok]{background:#2e9e4f}.dot[data-state=down]{background:#c8392b}label{margin:0 0 1rem;font-weight:600;display:block}input,select,button,textarea{width:100%;min-height:var(--tap);font:inherit;color:var(--fg);background:var(--bg);border:1px solid var(--line);border-radius:12px;margin-top:.375rem;padding:.625rem .875rem;display:block}[hidden]{display:none!important}button{color:#fff;background:var(--accent);border-color:var(--accent);cursor:pointer;margin-top:.5rem;font-weight:600}button:disabled{opacity:.6;cursor:default}.row{flex-wrap:wrap;gap:.75rem;display:flex}.row form{flex:12rem}.button-row{gap:.75rem;display:flex}.button-row>button{flex:1 1 0;width:auto}.failed-row{flex-wrap:nowrap;gap:.375rem}.failed-row form{flex:auto;min-width:0}.failed-row .dismiss{flex-shrink:0}.failed-row button{white-space:nowrap;text-overflow:ellipsis;padding-left:.5rem;padding-right:.5rem;overflow:hidden}details.models{margin-top:.75rem}details.models summary{cursor:pointer;min-height:var(--tap);align-items:center;font-weight:600;display:flex}.model-row{justify-content:space-between;align-items:center;margin:.5rem 0}.model-row form{flex:none}.email-row{align-items:center;margin:0 0 .75rem}.email-row input{flex:12rem;min-width:0;margin-top:0}.email-row button{flex:none;margin-top:0}.email-row .error{flex:1 0 100%;margin:0}.model-slug{word-break:break-all;margin:-.5rem 0 1rem;font-size:.9rem}.palette-head{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.palette-head p{margin:0}.palette-clear{flex:none;margin:0}button.state-chip{white-space:nowrap;border-radius:999px;width:auto;min-height:2.5rem;margin:0;padding:.25rem .875rem;font-size:.875rem;font-weight:600}button.state-chip.on{color:#fff;background:var(--accent);border-color:var(--accent)}button.state-chip.off{color:var(--accent);background:var(--bg);border:1px solid var(--accent)}button.state-chip[disabled]{opacity:1;cursor:default}.palette-row{min-height:var(--tap);align-items:center;gap:.75rem;padding:.625rem 0;display:flex}.palette-row+.palette-row{border-top:1px solid var(--line)}.palette-info{flex:auto;min-width:0}.palette-info p{margin:0}.palette-slug{color:var(--muted);word-break:break-all;font-size:.85rem}.palette-name{align-items:center;gap:.5rem;display:flex}.palette-name button.link{color:var(--muted);align-items:center;display:inline-flex}.palette-price{font-variant-numeric:tabular-nums}.palette-rename{align-items:center;gap:.5rem;margin:.25rem 0;display:flex}.palette-rename input{flex:auto;min-width:0;margin-top:0}.palette-rename button{flex:none;width:auto;margin-top:0}.radio-dot{border:2px solid var(--line);background:var(--bg);border-radius:50%;flex:none;width:1.5rem;height:1.5rem;min-height:0;margin:0;padding:0;display:inline-block}.radio-dot.on{border-color:var(--accent);background:var(--accent);box-shadow:inset 0 0 0 5px var(--bg)}.palette-default{margin:0}button.radio-dot[disabled]{opacity:1}button.choice-row{width:100%;min-height:var(--tap);text-align:left;color:var(--fg);background:0 0;border:none;align-items:center;gap:.75rem;margin:0;padding:.25rem;font-weight:400;display:flex}label.form-line{justify-content:space-between;align-items:center;gap:.75rem;margin:0 0 .75rem;display:flex}label.form-line input,label.form-line select{flex:0 14rem;min-width:0;margin-top:0;font-weight:400}label.form-line input.narrow{flex:0 7rem}details.person>summary{cursor:pointer;min-height:var(--tap)}details.person>summary .person-meta{font-weight:400;display:block}.check-group{margin:.75rem 0}.check-group .section-head{margin-bottom:0}.check-row form{margin:0}.check-row .check-pick{min-height:var(--tap);cursor:pointer;align-items:center;gap:.75rem;margin:0;font-weight:400;display:flex}.check-row input[type=checkbox]{width:1.5rem;height:1.5rem;min-height:0;accent-color:var(--accent);flex:none;margin:0;display:inline-block}.error{color:#c8392b;font-weight:600}.invite{border-top:1px solid var(--line);margin-top:1rem;padding-top:.75rem}.invite input{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9rem}ol{margin:0 0 1rem;padding-left:1.5rem}ol li{margin-bottom:.5rem}a{color:var(--accent)}button.secondary{color:var(--accent);background:var(--bg);border-color:var(--accent)}button.danger{color:#c8392b;background:var(--bg);border-color:#c8392b}@media (prefers-color-scheme:dark){button.danger{color:#ff7b6e;border-color:#ff7b6e}}button.link{width:auto;min-height:auto;color:var(--accent);background:0 0;border:none;margin:0;padding:0;font-weight:400;text-decoration:underline}.thread{margin:1.5rem 0}.bubble{margin:0 0 1.25rem}.bubble.user{background:color-mix(in srgb, var(--accent) 10%, transparent);border:1px solid color-mix(in srgb, var(--accent) 30%, transparent);border-radius:16px 16px 4px;width:fit-content;max-width:85%;margin-left:auto;padding:.875rem 1.125rem}.bubble p:last-child{margin-bottom:0}.nav{background:var(--bg);border-top:1px solid var(--line);height:calc(var(--nav-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);flex:none;justify-content:center;display:flex}.nav a{max-width:10rem;min-height:56px;color:var(--muted);flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;gap:.125rem;padding:.5rem .25rem;font-size:.85rem;text-decoration:none;display:flex}.nav a span{line-height:0}.nav a svg{width:26px;height:26px}.nav a.here{color:var(--accent);font-weight:600}p.working{align-items:center;gap:.5rem;margin:0 0 1rem;display:flex}.working-dot{background-image:linear-gradient(120deg,#1d5fd0,#c0468f,#d07a2b,#2aa17a,#1d5fd0);background-size:320% 100%;border-radius:50%;flex:none;width:.625rem;height:.625rem;animation:3.2s linear infinite working-sweep,1.6s ease-in-out infinite working-pulse}.working-word{color:#0000;background-image:linear-gradient(100deg,#1d5fd0 0%,#6b4fd0 18%,#c0468f 34%,#d07a2b 50%,#2aa17a 66%,#1d5fd0 84% 100%);background-size:320% 100%;-webkit-background-clip:text;background-clip:text;font-weight:600;animation:3.2s linear infinite working-sweep}@keyframes working-sweep{0%{background-position:160% 0}to{background-position:-160% 0}}@keyframes working-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.55;transform:scale(.6)}}@media (prefers-reduced-motion:reduce){.working-dot,.working-word{animation:none}.working-word{color:var(--muted);background-image:none}}p.thinking{color:var(--muted);animation:1.4s ease-in-out infinite thinking}@keyframes thinking{0%,to{opacity:.45}50%{opacity:1}}@media (prefers-reduced-motion:reduce){p.thinking{animation:none}}.composer{background:var(--bg);border-top:1px solid var(--line);padding:.75rem 0;position:sticky;bottom:0}.chat-index .composer{border-top:0}.composer-row{flex-wrap:wrap;align-items:flex-end;gap:.5rem;display:flex}.composer-row>.full,.prompt-row>.full{flex-basis:100%;order:10;margin:0}form.ask{margin-bottom:1rem}.composer-row textarea,.prompt-row textarea{--field-line:26px;height:var(--tap);line-height:var(--field-line);padding:calc((var(--tap) - var(--field-line) - 2px) / 2) 1.125rem}.composer-row textarea{resize:none;border-radius:calc(var(--tap) / 2);flex:1 1 0;min-width:0;margin:0;overflow-y:auto}button.icon{width:var(--tap);height:var(--tap);min-height:var(--tap);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}button.icon svg{width:26px;height:26px}.voice-clock{white-space:nowrap;min-width:0;min-height:var(--tap);font-variant-numeric:tabular-nums;flex:1 1 0;align-items:center;gap:.625rem;display:inline-flex;overflow:hidden}.voice-clock .dot{background:#c8392b;flex:none;animation:1.4s ease-in-out infinite thinking}@media (prefers-reduced-motion:reduce){.voice-clock .dot{animation:none}}.composer-row button.voice-stop,.prompt-row button.voice-stop{border-radius:calc(var(--tap) / 2);flex:none;width:auto;margin:0;padding:.625rem 1rem}.composer-row>button.link,.prompt-row>button.link{min-height:var(--tap);flex:none;align-items:center;padding:0 .25rem;display:inline-flex}.attach-names{color:var(--muted);overflow-wrap:anywhere;flex:8rem;margin:0;font-size:.95rem}.attach-previews{gap:.5rem;margin-top:.375rem;display:flex}.attach-previews img{object-fit:cover;border:1px solid var(--line);border-radius:10px;width:64px;height:64px}.attach-row{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.attach-tools{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:-.625rem;display:flex}.attach-tools button.remove{margin-left:calc(32px - 1.375rem)}.sent-files{flex-wrap:wrap;gap:.5rem;margin-bottom:.5rem;display:flex}.sent-files img{border:1px solid var(--line);border-radius:12px;max-width:min(100%,16rem);max-height:16rem}.sent-files a{border:1px solid var(--line);border-radius:999px;padding:.375rem .75rem;text-decoration:none;display:inline-block}.sent-files figure.drawn{flex-direction:column;align-items:flex-start;gap:.375rem;margin:0;display:flex}.sent-files button.cell{background:0 0;border:0;border-radius:12px;width:auto;min-height:0;margin:0;padding:0;display:block}.speak{justify-content:flex-end;align-items:center;gap:.75rem;margin:.375rem 0 0;display:flex}.speak .error{font-size:.95rem}.speak button.icon.loading{animation:1.4s ease-in-out infinite thinking}@media (prefers-reduced-motion:reduce){.speak button.icon.loading{animation:none}}.rendered>:first-child{margin-top:0}.rendered>:last-child{margin-bottom:0}.rendered h1,.rendered h2,.rendered h3,.rendered h4{margin:1rem 0 .5rem;font-size:1.05rem}.rendered ul,.rendered ol{margin:.5rem 0 .75rem;padding-left:1.375rem}.rendered li{margin-bottom:.375rem}.rendered code{background:color-mix(in srgb, var(--fg) 8%, transparent);border-radius:6px;padding:.1rem .3rem;font-size:.9em}.rendered pre{background:color-mix(in srgb, var(--fg) 6%, transparent);border-radius:10px;margin:.5rem 0 .75rem;padding:.75rem;overflow-x:auto}.rendered pre code{background:0 0;padding:0}.rendered blockquote{border-left:3px solid var(--line);color:var(--muted);margin:.5rem 0 .75rem;padding-left:.875rem}.rendered table{border-collapse:collapse;margin:.5rem 0 .75rem;display:block;overflow-x:auto}.rendered th,.rendered td{border:1px solid var(--line);text-align:left;padding:.375rem .625rem}h2{margin:2rem 0 1rem;font-size:1.25rem}.gallery{grid-template-columns:repeat(auto-fill,minmax(9.5rem,1fr));gap:1rem;margin:1.5rem 0;display:grid}.gallery figure{margin:0;position:relative}.gallery button.cell{background:0 0;border:0;border-radius:12px;width:100%;min-height:0;margin:0;padding:0;display:block}.gallery img{aspect-ratio:1;object-fit:cover;border:1px solid var(--line);border-radius:12px;width:100%;display:block}.gallery figcaption{overflow-wrap:anywhere;margin-top:.375rem;font-size:.9rem}.gallery figure.removed img,.gallery figure.removed figcaption{opacity:.35}.gallery figure.removed img{filter:grayscale()}.gallery figure.removed form.restore{aspect-ratio:1;justify-content:center;align-items:center;margin:0;padding:.5rem;display:flex;position:absolute;inset:0}.gallery figure.removed form.restore button{width:auto;margin:0}.voice-row{align-items:center;gap:.75rem;margin:0 0 .5rem;display:flex}.voice-row form{flex:auto;min-width:0;margin:0}.voice-row button{flex:none;width:auto;margin:0;padding:.625rem 1rem}.voice-row button.choice-row{width:100%;padding:.25rem 0}.viewer{z-index:100;background:#000;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.viewer-track{touch-action:pinch-zoom;-webkit-user-select:none;user-select:none;will-change:transform;display:flex;position:absolute;inset:0}.viewer-slide{flex:0 0 100%;justify-content:center;align-items:center;display:flex;overflow:hidden}.viewer-slide img{-webkit-user-drag:none}.viewer img{aspect-ratio:auto;object-fit:contain;border:0;border-radius:0;width:auto;max-width:100%;max-height:100%}.viewer-chrome{pointer-events:none;transition:opacity .2s;position:absolute;inset:0}.viewer-chrome.gone{opacity:0;visibility:hidden}.viewer-chrome>*{pointer-events:auto}.viewer-close{top:calc(.75rem + env(safe-area-inset-top));width:var(--tap);height:var(--tap);min-height:var(--tap);color:#fff;background:#141414a6;border:1px solid #fff9;border-radius:50%;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex;position:absolute;right:.75rem}.viewer-close svg{width:24px;height:24px}a.viewer-save{top:calc(.75rem + env(safe-area-inset-top));right:calc(.75rem + var(--tap) + .5rem);width:var(--tap);height:var(--tap);color:#fff;background:#141414a6;border:1px solid #fff9;border-radius:50%;justify-content:center;align-items:center;display:inline-flex;position:absolute}a.viewer-save svg{width:22px;height:22px}.viewer-tabs{top:calc(.75rem + env(safe-area-inset-top));max-width:calc(100% - 2 * var(--tap) - 3rem);flex-wrap:wrap;gap:.5rem;display:flex;position:absolute;left:.75rem}.viewer-tab{white-space:nowrap;color:#fff;background:#141414a6;border:1px solid #fff9;border-radius:999px;width:auto;min-height:2.75rem;margin:0;padding:.5rem 1.125rem;font-weight:600}.viewer-tab.on{color:#fff;background:var(--accent);border-color:var(--accent)}.viewer-model{color:#fff;white-space:nowrap;text-overflow:ellipsis;background:#141414a6;border:0;border-radius:999px;flex:0 auto;width:auto;min-width:0;min-height:0;margin:0;padding:.375rem .75rem;font-size:.875rem;font-weight:400;overflow:hidden}.mask-editor,.outline-editor{z-index:120;touch-action:none;background:#000;position:fixed;inset:0}:is(html:has(.mask-editor),html:has(.outline-editor)){overscroll-behavior-x:none}.editor-stage{justify-content:center;align-items:center;display:flex;position:absolute;inset:5% 5% 10%}.editor-hint{color:#fff;text-align:center;pointer-events:none;justify-content:center;align-items:center;height:5%;margin:0;line-height:1.2;display:flex;position:absolute;top:0;left:5%;right:5%}.mask-frame{min-height:0;line-height:0;display:inline-block;position:relative}.mask-frame img,.outline-frame img{-webkit-user-select:none;user-select:none;border:0;border-radius:0;width:auto;max-width:90vw;max-height:85dvh}.mask-frame canvas{touch-action:none;cursor:crosshair;width:100%;height:100%;position:absolute;inset:0}.mask-hint{color:#fff;text-align:center;margin:0;line-height:1.3}.mask-editor .error,.outline-editor .error{color:#ffb4a8;text-align:center;pointer-events:none;margin:0;position:absolute;bottom:10%;left:5%;right:5%}.mask-buttons{flex-wrap:wrap;justify-content:center;gap:.5rem;display:flex}.mask-buttons button{width:auto;margin:0;padding:.625rem 1.25rem;font-weight:600}.mask-editor .mask-buttons,.outline-editor .mask-buttons{pointer-events:none;flex-wrap:nowrap;align-items:center;height:10%;position:absolute;bottom:0;left:5%;right:5%}.mask-editor .mask-buttons button,.outline-editor .mask-buttons button{white-space:nowrap;pointer-events:auto;padding:.625rem clamp(.5rem,3vw,1.25rem)}.mask-buttons button.secondary{color:#fff;background:#141414a6;border:1px solid #fff9}.face-editor{max-height:100%;padding:calc(.75rem + env(safe-area-inset-top)) .75rem calc(.75rem + env(safe-area-inset-bottom));flex-direction:column;align-items:center;gap:.75rem;margin:0;display:flex}.face-pair{flex-wrap:nowrap;justify-content:center;align-items:flex-start;gap:.75rem;width:100%;min-height:0;display:flex}.face-pair figure{text-align:center;flex:0 auto;min-width:0;margin:0}.face-pair img{border:0;border-radius:12px;width:auto;max-width:100%;max-height:38vh}.face-pair figcaption{color:#fff;margin-top:.375rem;font-size:.9rem}.compare{width:min(100%,56rem);max-height:100%;padding:0 .75rem calc(.75rem + env(safe-area-inset-bottom));flex-direction:column;gap:.75rem;display:flex}.compare-frame{min-height:0;position:relative;overflow:hidden}.compare-frame img{object-fit:contain;width:100%;max-height:75vh;display:block}.compare-before{height:100%;position:absolute;inset:0}.compare-divider{background:#fff;width:2px;position:absolute;top:0;bottom:0;box-shadow:0 0 4px #000000b3}.compare-tag{color:#fff;background:#141414a6;border-radius:999px;padding:.125rem .625rem;font-size:.9375rem;font-weight:600;position:absolute;bottom:.5rem}.compare input[type=range]{width:100%;min-height:var(--tap);accent-color:var(--accent);background:0 0;border:0;margin:0;padding:0}.history-date{margin:1rem 0 .25rem}.history-row{align-items:center;gap:.5rem;margin-left:1rem;display:flex}.history-row form{margin:0}.history-row a{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;padding:.5rem 0;overflow:hidden}.history .pill{white-space:nowrap;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:.05rem .55rem;font-size:.8rem;line-height:1.4}.history .pill-date{color:var(--fg);background:var(--line)}.history .pill-time{font-variant-numeric:tabular-nums}button.remove{width:2.75rem;height:2.75rem;min-height:0;color:var(--muted);background:0 0;border:none;border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}button.remove svg{width:20px;height:20px}button.remove:hover,button.remove:focus-visible{color:#c8392b}@media (prefers-color-scheme:dark){button.remove:hover,button.remove:focus-visible{color:#ff7b6e}}.gallery figure a.cell-add,.gallery figure a.cell-save{color:#fff;background:#1414148c;border:1px solid #fff9;border-radius:50%;justify-content:center;align-items:center;width:2.75rem;height:2.75rem;display:inline-flex;position:absolute;top:.375rem;left:.375rem}.gallery figure a.cell-save{top:3.5rem}.gallery figure a.cell-add svg,.gallery figure a.cell-save svg{width:22px;height:22px}.gallery figure form.corner{margin:0;position:absolute;top:.375rem;right:.375rem}.gallery button.remove,.attach-tools button.remove{color:#fff;background:#1414148c;border:1px solid #fff9}@media (hover:hover){.history-row button.remove,.gallery figure button.remove{opacity:0}.history-row:hover button.remove,.history-row:focus-within button.remove,.gallery figure:hover button.remove,.gallery figure:focus-within button.remove{opacity:1}.gallery figure a.cell-add,.gallery figure a.cell-save{opacity:0}.gallery figure:hover a.cell-add,.gallery figure:focus-within a.cell-add,.gallery figure:hover a.cell-save,.gallery figure:focus-within a.cell-save{opacity:1}}@media (hover:none){.gallery figure a.cell-add,.gallery figure a.cell-save,.gallery figure button.remove{transition:opacity .25s}.gallery.quiet figure a.cell-add,.gallery.quiet figure a.cell-save,.gallery.quiet figure button.remove{opacity:0;pointer-events:none}}@media (prefers-reduced-motion:reduce){.gallery figure a.cell-add,.gallery figure a.cell-save,.gallery figure button.remove{transition:none}}.chips{margin:-.5rem 0 1rem}.chip{color:var(--muted);border:1px dashed var(--line);border-radius:999px;flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:.5rem;padding:.5rem .875rem;font-size:.95rem;display:flex}.chip button.link{margin:0}.topics-hint{color:var(--muted);border:1px dashed var(--line);border-radius:12px;margin:0 0 1.25rem;padding:.75rem 1rem;font-size:.95rem}.topics-hint p{margin:0 0 .75rem}.topics-hint button{margin:0}.chips.filed{flex-direction:column;align-items:flex-end;margin:-.75rem 0 1.25rem;display:flex}.chips.filed .chip{max-width:85%}.deploy-log{white-space:pre-wrap;overflow-wrap:anywhere;max-height:40vh;color:var(--muted);background:color-mix(in srgb, var(--fg) 6%, transparent);border-radius:10px;margin:.75rem 0 0;padding:.75rem;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:.8rem;line-height:1.45;overflow:auto}.deploy-sha{font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:.9em}.outline-frame{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;min-height:0;line-height:0;display:inline-block;position:relative}.outline-lines{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.outline-lines polygon{fill:#ff46321f;stroke:#ff4632;stroke-width:2px;stroke-linejoin:round}.outline-handle{--size:1.75rem;--reach:.375rem;--tail:1rem;width:calc(var(--size) + 2 * var(--reach));height:calc(var(--size) + var(--reach) + var(--tail));min-height:0;transform:translate(-50%, calc(-1 * (var(--reach) + var(--size) / 2)));box-shadow:none;cursor:grab;touch-action:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;background:0 0;border:0;border-radius:0;margin:0;padding:0;position:absolute}.outline-handle:before{content:"";top:var(--reach);left:var(--reach);box-sizing:border-box;width:var(--size);height:var(--size);background:#ff463238;border:2px solid #fff;border-radius:50%;position:absolute;box-shadow:0 1px 4px #00000080,inset 0 0 0 1px #0003}.outline-handle.corner{--size:2.25rem}.outline-handle.edge:before{background:#ffffff47;border-color:#ff4632}@media (pointer:coarse){.outline-handle{--size:2.5rem;--reach:.5rem;--tail:1.25rem}.outline-handle.corner{--size:3rem}}.check-row button.check-pick{text-align:left;width:100%;color:var(--fg);background:0 0;border:none;padding:.25rem}.check-row button.check-pick[disabled]{opacity:1;cursor:progress}.check-box{border:2px solid var(--line);background:var(--bg);border-radius:.3rem;flex:none;width:1.5rem;height:1.5rem;min-height:0;margin:0;display:inline-block;position:relative}.check-box.on{border-color:var(--accent);background:var(--accent)}.check-box.on:after{content:"";border:3px solid #fff;border-width:0 3px 3px 0;width:.4rem;height:.8rem;position:absolute;top:.12rem;left:.45rem;transform:rotate(45deg)}a.button.new-work{width:100%;margin-bottom:.5rem;display:flex}a.button{min-height:var(--tap);background:var(--accent);color:var(--bg);border-radius:12px;justify-content:center;align-items:center;padding:.625rem .875rem;font-weight:600;text-decoration:none;display:inline-flex}a.button.secondary{background:var(--bg);color:var(--fg);border:1px solid var(--line)}.welcome .card a.button{width:100%;margin-bottom:.5rem;display:flex}.image-workbench{gap:1.25rem;display:grid}.image-workbench fieldset{border:0;min-width:0;margin:0;padding:0}.image-workbench legend{margin-bottom:.6rem;font-weight:600}.image-workbench button[aria-checked=true],.image-workbench button[aria-pressed=true]{border:2px solid var(--accent);color:var(--accent)}.image-workbench button[role=radio][disabled],.image-workbench button[role=checkbox][disabled]{opacity:1}.processing-inputs{grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:.75rem;margin:0 0 1rem;padding:0;list-style:none;display:grid}.processing-inputs li{border:0;min-width:0;padding:0}.processing-inputs li.unused .input-frame img,.processing-inputs li.unused>p{opacity:.4}.processing-inputs p{margin:.375rem 0 0;font-size:.9rem}.input-frame{position:relative}.processing-inputs img{aspect-ratio:1;object-fit:cover;border:1px solid var(--line);border-radius:12px;width:100%;display:block}.input-gone{aspect-ratio:1;text-align:center;color:var(--muted);border:1px solid var(--line);border-radius:12px;justify-content:center;align-items:center;margin:0;display:flex}button.round.over{color:#fff;background:#1414148c;border:1px solid #fff9;position:absolute}button.round.small{width:2.25rem;height:2.25rem}button.round.small svg{width:18px;height:18px}button.round.over[disabled]{opacity:.35}button.round.over.bin{top:.375rem;right:.375rem}button.round.over.move-back{bottom:.375rem;left:.375rem}button.round.over.move-on{bottom:.375rem;right:.375rem}button.round{width:2.75rem;height:2.75rem;min-height:0;color:var(--accent);background:var(--bg);border:1px solid var(--accent);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}button.round svg{width:22px;height:22px}.processing-inputs li.add-cell{border:0;padding:0}button.add-tile{aspect-ratio:1;background:var(--bg);border:2px dashed var(--muted);border-radius:12px;justify-content:center;align-items:center;width:100%;min-height:0;margin:0;padding:0;display:flex}.add-ring{width:4.75rem;height:4.75rem;color:var(--accent);border:2px dashed var(--accent);border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.add-ring svg{width:36px;height:36px}.prompt-row{flex-wrap:wrap;align-items:flex-end;gap:.5rem;display:flex}.prompt-row textarea{resize:none;border-radius:calc(var(--tap) / 2);flex:1 1 0;min-width:0;margin:0;overflow-y:auto}.prompt-row button{flex:none;margin:0}.picker-window{z-index:120;background:var(--bg);color:var(--fg);flex-direction:column;display:flex;position:fixed;inset:0}.picker-head{padding:calc(1rem + env(safe-area-inset-top)) 1rem .75rem;border-bottom:1px solid var(--line);flex:none}.picker-title{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.picker-title h2{margin:0;font-size:1.375rem}.picker-title button.round{color:var(--fg);border-color:var(--line)}.picker-upload{min-height:var(--tap);color:var(--accent);background:var(--bg);border:1px solid var(--accent);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:.5rem;margin:.75rem 0 0;padding:.625rem .875rem;font-weight:600;display:flex}.picker-upload svg{flex:none;width:22px;height:22px}.picker-upload input{display:none}.picker-actions{align-items:center;gap:.5rem;margin-top:.5rem;display:flex}.picker-add{flex:auto;margin-top:0}button.round.picker-bin{width:var(--tap);height:var(--tap)}button.round.danger{color:#c8392b;border-color:#c8392b}@media (prefers-color-scheme:dark){button.round.danger{color:#ff7b6e;border-color:#ff7b6e}}.confirm-shade{z-index:130;background:#00000080;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.confirm-window{width:min(24rem,100%);color:var(--fg);background:var(--bg);border-radius:16px;padding:1.25rem;box-shadow:0 12px 40px #0000004d}.confirm-window h3{margin:0 0 .5rem;font-size:1.25rem}.confirm-window p{margin:0 0 1rem}.confirm-window .row button{flex:1 1 0;margin-top:0}.picker-grid{min-height:0;padding:.75rem 1rem calc(1rem + env(safe-area-inset-bottom));flex:auto;grid-template-columns:repeat(auto-fill,minmax(7rem,1fr));grid-auto-rows:min-content;align-content:start;gap:.5rem;display:grid;overflow-y:auto}button.picker-cell{aspect-ratio:1;background:0 0;border:0;border-radius:0;width:100%;min-height:0;margin:0;padding:0;display:block;position:relative;overflow:hidden}button.picker-cell img{object-fit:cover;width:100%;height:100%;display:block}.picker-check{color:#fff;border:2px solid var(--line);background:#ffffffd9;border-radius:.375rem;justify-content:center;align-items:center;width:1.75rem;height:1.75rem;display:inline-flex;position:absolute;top:.375rem;right:.375rem}.picker-check.on{background:var(--accent);border-color:var(--accent)}.picker-check svg{width:18px;height:18px}.processing-submit{border-top:1px solid var(--line);padding-top:1rem}.viewer-processing{bottom:max(1rem, env(safe-area-inset-bottom));pointer-events:auto;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex;position:absolute;left:1rem;right:1rem}.viewer-recipe-window{right:1rem;bottom:calc(max(1rem, env(safe-area-inset-bottom)) + var(--tap) + .75rem);color:#fff;pointer-events:auto;background:#141414eb;border-radius:12px;width:min(24rem,100% - 2rem);position:absolute}.viewer-recipe-head{justify-content:space-between;align-items:center;gap:.5rem;padding:.75rem .75rem 0;display:flex}.viewer-recipe-close{color:#fff;background:#ffffff1f;border:0;border-radius:50%;flex:none;justify-content:center;align-items:center;width:2.75rem;height:2.75rem;min-height:0;margin:0;padding:0;display:inline-flex}.viewer-recipe-close svg{width:20px;height:20px}.viewer-recipe{max-height:55vh;padding:.75rem;overflow-y:auto}.viewer-recipe a{color:#a9cdff}.recipe-inputs{flex-wrap:wrap;gap:.5rem;display:flex}.viewer-recipe .recipe-inputs figure{width:7rem;margin:0 0 1rem}.viewer-recipe .recipe-inputs img{object-fit:contain;width:100%;height:6rem}.failed-row>a{flex:auto;font-size:.85rem}.answer-actions{flex-wrap:wrap;align-items:center;gap:.25rem .5rem;margin:.375rem 0 0;font-size:.875rem;display:flex}.answer-actions .speak{margin:0 0 0 auto}.answer-actions details[open]{flex-basis:100%;order:1}details.morning summary{cursor:pointer;padding:.5rem 0}details.morning[open] summary{margin-bottom:.5rem}.answer-actions summary{cursor:pointer;color:var(--muted)}.answer-actions details[open] summary{margin-bottom:.25rem}.answer-actions ul{margin:0 0 .25rem;padding-left:1.25rem}.answer-actions form{margin:0}.answer-actions button.link{color:var(--muted);margin:0}.example-video{background:#000;border-radius:14px;width:100%;max-height:72vh;margin:0 auto;display:block}.feedback-button{z-index:5;top:calc(1.125rem + env(safe-area-inset-top));width:2.75rem;height:2.75rem;min-height:0;color:var(--feedback);background:color-mix(in srgb, var(--bg) 85%, transparent);border:1px solid var(--feedback);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border-radius:50%;justify-content:center;align-items:center;margin:0;padding:0;display:flex;position:absolute;right:max(1.25rem,50% - 20rem)}.feedback-button span{line-height:0}.feedback-button svg{width:22px;height:22px}main>h1:first-child{padding-right:3.25rem}.feedback-sheet{z-index:110;background:#00000073;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.feedback-box{width:100%;max-width:34rem;max-height:100dvh;padding:1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));background:var(--bg);border-radius:16px 16px 0 0;overflow-y:auto}.feedback-box h2{margin-top:0}.feedback-kinds{flex-wrap:wrap}.feedback-kinds>button{flex:auto;padding-left:.25rem;padding-right:.25rem}.feedback-shot{margin:1rem 0}.feedback-check{cursor:pointer;align-items:center;gap:.75rem;margin:0 0 .75rem;font-weight:400;display:flex}.feedback-check input[type=checkbox]{width:1.5rem;height:1.5rem;min-height:0;accent-color:var(--accent);flex:none;margin:0}.feedback-check img{object-fit:cover;object-position:top;border:1px solid var(--line);border-radius:8px;flex:none;width:4rem;max-height:7rem}.feedback-own{color:var(--accent);cursor:pointer;margin:0;font-weight:600;display:inline-block}.feedback-item img{border:1px solid var(--line);border-radius:8px;max-width:100%;max-height:24rem;margin:.5rem 0;display:block}.feedback-comment{white-space:pre-wrap}.feedback-chat{max-height:24rem;font:inherit;white-space:pre-wrap;font-size:.875rem;overflow:auto}.feedback-agent{word-break:break-all;font-size:.75rem}
