.prompt-editor{color:#174d59;border-top:1px solid #c5dadf;padding-top:12px}.prompt-editor>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:44px;font-size:14px;list-style:none;display:flex}.prompt-editor>summary::-webkit-details-marker{display:none}.prompt-editor>summary>span{background:#ddf2f3;border-radius:20px;padding:4px 9px;font-size:12px}.prompt-editor-body{padding-top:8px}.prompt-editor-body p{color:#355c68;margin:0 0 12px;font-size:14px;line-height:1.65}.prompt-editor-body>label{margin-bottom:8px;font-size:14px;font-weight:600;display:block}.prompt-editor-body textarea{resize:vertical;color:#174d59;box-sizing:border-box;background:#f8fcfa;border:1px solid #688996;border-radius:9px;width:100%;min-height:160px;padding:12px;font:14px/1.65 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.prompt-editor-body textarea:focus{outline-offset:2px;outline:2px solid #286778}.prompt-editor-actions{color:#355c68;justify-content:space-between;align-items:center;gap:12px;margin:4px 0 10px;font-size:12px;display:flex}.prompt-editor-actions button{color:#174d59;font:inherit;cursor:pointer;background:0 0;border:0;min-height:44px;padding:6px 0;font-size:14px;text-decoration:underline}.prompt-editor-actions button:disabled{opacity:.6;cursor:default}.prompt-review{color:#174d59;font-size:14px;line-height:1.6}.saved-prompt{color:#174d59;width:100%;max-width:100%;font-size:14px}.saved-prompt summary{cursor:pointer;min-height:44px}.saved-prompt pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#eaf7f5;border-radius:9px;padding:14px;font:14px/1.65 -apple-system,BlinkMacSystemFont,sans-serif}.saved-prompt button{font:inherit;color:#174d59;background:#ddf2f3;border:1px solid #688996;border-radius:20px;min-height:44px;padding:8px 16px}@media (max-width:760px){.prompt-editor-body textarea{font-size:16px}}.prompt-sampler.sampler-line{cursor:pointer;width:100%;color:var(--v3-text-2,#355c68);font:inherit;text-align:left;background:0 0;border:0;align-items:flex-start;gap:7px;min-height:0;margin:2px 0 0;padding:7px 4px;font-size:12.5px;line-height:1.55;display:flex}.prompt-sampler.sampler-line svg{opacity:.7;flex:none;margin-top:2px}.prompt-sampler.sampler-line:hover{color:var(--v3-text,#174d59)}.prompt-sampler.sampler-line:disabled{opacity:.6;cursor:default}.sampler-text{min-height:1.3em;color:inherit;margin:0;font-size:12.5px;line-height:1.55}.sampler-text.typing:after{content:"";vertical-align:-2px;background:currentColor;width:2px;height:1em;margin-left:3px;animation:1s steps(2,end) infinite sampler-caret;display:inline-block}@keyframes sampler-caret{50%{opacity:0}}@media (prefers-reduced-motion:reduce){.sampler-text.typing:after{animation:none}}@media (max-width:760px){.sampler-text{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}}.retry-row{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.retry-row button{border:1px solid var(--v3-line,#688996);min-height:44px;font:inherit;color:var(--v3-text,#174d59);cursor:pointer;background:0 0;border-radius:20px;padding:8px 16px;font-size:14px}.retry-again{border-color:var(--v3-accent,#286778)}@media (prefers-reduced-motion:reduce){.retry-row button{transition:none}}.video-upgrade{width:100%;min-width:0;color:inherit;font:inherit;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:12px 0;display:flex}.video-upgrade>label:first-child{color:inherit;font-size:14px;font-weight:600}.video-upgrade select{color:#f4f5f4;min-width:280px;max-width:100%;font:inherit;background:#1c2221;border:1px solid #5e5750;border-radius:8px;padding:10px 12px;font-size:14px}.video-upgrade>label:last-child:not(:first-child){color:inherit;flex-basis:100%;align-items:center;gap:8px;font-size:14px;line-height:1.5;display:flex}.video-upgrade input[type=checkbox]{accent-color:#ff9a80;flex:none;width:16px;height:16px}.compact-submit>.video-upgrade{box-sizing:border-box;color:#e0e5e3;flex:0 0 100%;margin:10px 0;padding:0 20px}.sound-options>.video-upgrade{color:#e0e5e3;justify-content:flex-start}.sound-options>.video-upgrade select{width:auto;min-width:0;max-width:100%}@media (max-width:600px){.video-upgrade select{width:100%;min-width:0}.compact-submit>.video-upgrade{padding:0 12px}}.media-dialog-overlay{--md-bg:#141618;--md-tile:#1b1e21;--md-line:#322e28;--md-line-soft:#26221c;--md-text:#f5f2ec;--md-text-2:#b6b1a9;--md-muted:#938e87;--md-accent:#ff6b4a;--md-accent-ink:#1a0a06;z-index:80;background:#040607bd;justify-content:center;align-items:center;padding:24px;animation:.14s ease-out media-dialog-fade;display:flex;position:fixed;inset:0}@keyframes media-dialog-fade{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.media-dialog-overlay{animation:none}}.media-dialog{border:1px solid var(--md-line);background:var(--md-bg);width:min(900px,100%);max-height:min(660px,100vh - 48px);color:var(--md-text);border-radius:14px;outline:none;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 40px 120px #0009}.media-dialog-head{border-bottom:1px solid var(--md-line-soft);justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 20px 14px;display:flex}.media-dialog-head h2{letter-spacing:-.1px;color:var(--md-text);margin:0;font-size:15px;font-weight:600}.media-dialog-sub{color:var(--md-muted);text-wrap:pretty;margin:4px 0 0;font-size:12px;line-height:1.5}.media-dialog-close{width:30px;height:30px;color:var(--md-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0;transition:color .15s,border-color .15s;display:inline-flex}.media-dialog-close:hover{color:var(--md-text);border-color:var(--md-line)}.media-dialog-body{flex:auto;min-height:0;padding:18px 20px 20px;overflow-y:auto}.media-dialog-grid{grid-template-columns:repeat(auto-fill,minmax(126px,1fr));gap:12px;display:grid}.media-tile{aspect-ratio:4/5;border:1px solid var(--md-line);background:var(--md-tile);color:var(--md-text-2);font:inherit;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:0;display:flex;position:relative;overflow:hidden}.media-tile-add{cursor:pointer;background:#ffffff05;border-style:dashed;border-color:#403a33;font-size:12px;font-weight:500;transition:border-color .15s,color .15s,background .15s}.media-tile-add:hover:not(:disabled){border-color:var(--md-accent);color:var(--md-text);background:#ff6b4a0f}.media-tile-add:disabled{cursor:not-allowed;color:var(--md-muted);opacity:.55}.media-tile-add.is-empty{aspect-ratio:auto;grid-column:1/-1;gap:7px;min-height:178px}.media-tile-add.is-empty small{max-width:36ch;color:var(--md-muted);text-wrap:pretty;font-size:11.5px;font-weight:400;line-height:1.5}.media-tile-photo img{object-fit:cover;width:100%;height:100%;display:block}.media-tile-index{color:#f5f2ec;font-variant-numeric:tabular-nums;background:#060809c7;border-radius:999px;justify-content:center;align-items:center;min-width:19px;height:19px;padding:0 5px;font-size:10.5px;font-weight:600;display:inline-flex;position:absolute;top:7px;left:7px}.media-tile-remove{color:#e8ecea;cursor:pointer;opacity:0;background:#060809d1;border:1px solid #ffffff3d;border-radius:999px;justify-content:center;align-items:center;width:22px;height:22px;padding:0;transition:opacity .15s,background .15s,border-color .15s;display:inline-flex;position:absolute;top:6px;right:6px}.media-tile-photo:hover .media-tile-remove{opacity:1}.media-tile-remove:focus-visible{opacity:1}.media-tile-remove:hover{color:#fff;background:#ff6b4a;border-color:#ff6b4a}@media (pointer:coarse){.media-tile-remove{opacity:1;width:26px;height:26px}}.media-dialog-empty{color:var(--md-muted);text-wrap:pretty;margin:14px 0 0;font-size:12px;line-height:1.6}.media-dialog-foot{border-top:1px solid var(--md-line-soft);background:#ffffff04;justify-content:space-between;align-items:center;gap:14px;padding:12px 20px;display:flex}.media-dialog-meta{align-items:center;gap:12px;min-width:0;display:flex}.media-dialog-count{font-variant-numeric:tabular-nums;color:var(--md-text-2);white-space:nowrap;font-size:12px;font-weight:600}.media-dialog .phone-handoff-inline{letter-spacing:normal;border-radius:999px;width:auto;min-height:34px;margin:0;padding:0 13px}.media-dialog .phone-handoff-error{text-align:left;margin:0}.media-dialog-done{background:var(--md-accent);min-height:36px;color:var(--md-accent-ink);font:inherit;cursor:pointer;border:0;border-radius:9px;flex:none;padding:0 22px;font-size:13px;font-weight:600;transition:filter .15s}.media-dialog-done:hover{filter:brightness(1.06)}:is(.media-dialog-close:focus-visible,.media-tile-add:focus-visible,.media-tile-remove:focus-visible,.media-dialog-done:focus-visible){outline:2px solid var(--md-accent);outline-offset:2px}@media (max-width:560px){.media-dialog-overlay{align-items:flex-end;padding:12px}.media-dialog{border-radius:16px 16px 12px 12px;max-height:calc(100vh - 24px)}.media-dialog-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:9px}.media-dialog-body{padding:14px 14px 16px}.media-dialog-head,.media-dialog-foot{padding:13px 14px}.media-dialog-foot{flex-wrap:wrap}.media-dialog-done{flex:auto}}.phone-handoff-trigger{color:#cdc5b9;white-space:nowrap;cursor:pointer;background:#ffffff0b;border:1px solid #403a33;border-radius:999px;justify-content:center;align-items:center;gap:6px;min-height:32px;padding:0 11px;font-size:12px;font-weight:600;line-height:1;transition:color .15s,border-color .15s,background .15s;display:inline-flex}.phone-handoff-trigger:hover:not(:disabled){color:#f5f2ec;background:#ffffff16;border-color:#564f43}.phone-handoff-trigger:focus-visible{outline-offset:2px;outline:2px solid #ff6b4a}.phone-handoff-trigger:disabled{opacity:.55;cursor:wait}.phone-handoff-trigger.is-pending{opacity:.4;pointer-events:none;cursor:default}.phone-handoff-trigger.has-error{color:#f2b35f;border-color:#6b4436}.phone-handoff-inline{letter-spacing:-.15px;border-radius:8px;gap:5px;width:92px;min-height:30px;margin:0 auto;padding:0 5px}.phone-handoff-wide{color:#4a3a2c;background:#fffcf5;border-color:#c9bfae;align-self:flex-start;min-height:34px;margin-top:10px;padding:0 13px;font-size:12.5px}.phone-handoff-wide:hover:not(:disabled){color:#f5f2ec;background:#272420;border-color:#5c5449}.phone-handoff-error{color:#f2b35f;text-align:center;text-wrap:pretty;max-width:100%;margin:6px 0 0;font-size:12px;line-height:1.45}.phone-handoff-inline+.phone-handoff-error{-webkit-line-clamp:4;-webkit-box-orient:vertical;width:92px;line-height:1.4;display:-webkit-box;overflow:hidden}@media (pointer:coarse){.phone-handoff-trigger,.phone-handoff-error{display:none!important}}.phone-handoff-overlay{z-index:90;background:#060708cc;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0;overflow:auto}.phone-handoff-dialog{color:#f5f2ec;text-align:center;background:#1d1b18;border:1px solid #34312c;border-radius:16px;width:100%;max-width:348px;max-height:calc(100dvh - 32px);margin:auto;padding:22px 22px 18px;animation:.18s ease-out phone-handoff-rise;position:relative;overflow:auto;box-shadow:0 24px 60px #0000008c}.phone-handoff-dialog h2{letter-spacing:-.2px;text-wrap:balance;margin:0 0 8px;padding:0 6px;font-size:17px;font-weight:700}.phone-handoff-dialog>p{color:#b6b1a9;margin:0 0 16px;font-size:13px;line-height:1.6}.phone-handoff-close{color:#b6b1a9;background:0 0;border:0;border-radius:8px;place-items:center;width:30px;height:30px;display:grid;position:absolute;top:10px;right:10px}.phone-handoff-close:hover{color:#f5f2ec;background:#241f1a}.phone-handoff-qr{background:#fff;border-radius:12px;place-items:center;margin-bottom:14px;padding:10px;display:inline-grid}.phone-handoff-qr svg{display:block}.phone-handoff-status{color:#b6b1a9;align-items:center;gap:7px;font-size:12.5px;line-height:1.5;display:inline-flex;margin:0 0 14px!important}.phone-handoff-status.is-expired{color:#f2b35f}.phone-handoff-check{color:#ff6b4a;font-weight:700}.phone-handoff-spinner{border:1.5px solid #3d3832;border-top-color:#ff6b4a;border-radius:50%;width:12px;height:12px;animation:.9s linear infinite phone-handoff-spin}.phone-handoff-done{color:#f5f2ec;background:#272420;border:1px solid #34312c;border-radius:10px;width:100%;min-height:38px;font-size:13px;font-weight:600;display:block}.phone-handoff-done:hover{border-color:#3d3832}@media (max-height:600px){.phone-handoff-dialog{padding:16px 20px 14px}.phone-handoff-dialog>p{margin-bottom:10px}.phone-handoff-qr{margin-bottom:10px;padding:8px}.phone-handoff-status{margin-bottom:10px!important}}@keyframes phone-handoff-spin{to{transform:rotate(360deg)}}@keyframes phone-handoff-rise{0%{transform:translateY(6px)}}@media (prefers-reduced-motion:reduce){.phone-handoff-overlay,.phone-handoff-dialog,.phone-handoff-spinner{animation:none!important}}
