.prompt-reference-editor{min-width:0;position:relative}.prompt-reference-editor>textarea{display:block}.prompt-reference-popup{z-index:35;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:11px;padding:5px;position:absolute;left:0;right:0;box-shadow:0 14px 35px #0009}.prompt-reference-heading{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;padding:6px 8px 8px;font-size:10px;display:flex}.prompt-reference-heading>span{font-size:9px}.prompt-reference-options{overscroll-behavior:contain;scrollbar-width:thin;max-height:198px;position:relative;overflow-y:auto}.prompt-reference-options>[role=option]{cursor:pointer;border:1px solid #0000;border-radius:7px;align-items:center;gap:9px;min-height:52px;padding:7px 8px;display:flex}.prompt-reference-options>[role=option]:hover,.prompt-reference-options>[aria-selected=true]{background:color-mix(in srgb,var(--accent) 8%,var(--surface));border-color:color-mix(in srgb,var(--accent) 25%,var(--border))}.prompt-reference-options img{object-fit:contain;background:var(--bg);border:1px solid var(--border);border-radius:5px;flex-shrink:0;width:34px;height:36px}.prompt-reference-options>[role=option]>span:nth-child(2){flex:1;min-width:0}.prompt-reference-options strong{font-size:12px;font-weight:600;line-height:1.5;display:block}.prompt-reference-options small{white-space:nowrap;text-overflow:ellipsis;color:var(--muted);font-size:9px;line-height:1.6;display:block;overflow:hidden}.prompt-reference-token{color:var(--accent);padding-inline:3px;font-size:13px}.prompt-reference-thumbnail{flex:0 0 34px;width:34px;height:36px;display:block;position:relative}.prompt-reference-thumbnail img{display:block}.prompt-reference-thumbnail.is-element{box-shadow:3px -3px 0 -1px var(--surface),3px -3px 0 0 var(--border);border-radius:5px;margin-right:3px}.prompt-reference-image-count{border:1px solid var(--surface);background:var(--accent);min-width:15px;height:14px;color:var(--bg);border-radius:4px;place-items:center;padding-inline:2px;font-size:8px;font-weight:700;line-height:1;display:grid;position:absolute;bottom:-3px;right:-4px}.prompt-reference-options strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.prompt-reference-thumbnail>svg{border:1px solid var(--border);background:var(--bg);width:34px;height:36px;color:var(--accent);border-radius:5px;padding:8px;display:block}.prompt-reference-options>.prompt-camera-option{gap:12px;min-height:64px;padding:8px}.prompt-camera-option>.prompt-shot-copy{flex:1;min-width:0}.prompt-camera-option .camera-shot-preview{background:var(--bg);border-radius:6px;flex:none;width:76px;height:46px;display:block}.prompt-camera-option small{font-size:10px}.prompt-shot-empty{color:var(--muted);margin:0;padding:10px;font-size:12px;line-height:1.6}.shot-prompt-input{width:100%;height:88px;min-height:88px;color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;scrollbar-width:thin;background:0 0;border:0;outline:0;padding:8px 0;font-size:12px;line-height:1.65;display:block;overflow-y:auto}.shot-prompt-input p{font:inherit;color:inherit;line-height:inherit;margin:0}.shot-prompt-placeholder{color:var(--muted);pointer-events:none;font-size:12px;line-height:1.65;position:absolute;top:8px;left:0;right:0}.prompt-placeholder-trigger{color:var(--accent)}.prompt-reference-editor>textarea::placeholder{color:#0000}.studio-prompt-dialog .prompt-reference-editor>textarea+.shot-prompt-placeholder{line-height:1.75;top:10px}.prompt-shot-token{white-space:nowrap;display:inline}.prompt-shot-chip{vertical-align:baseline;border:1px solid color-mix(in srgb,var(--accent) 35%,var(--border));background:color-mix(in srgb,var(--accent) 8%,var(--surface));max-width:100%;color:var(--accent);font:inherit;cursor:pointer;white-space:nowrap;border-radius:5px;align-items:center;gap:4px;padding:1px 5px;line-height:1.5;display:inline-flex}.prompt-shot-chip:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.prompt-reference-chip>span{text-overflow:ellipsis;min-width:0;max-width:220px;overflow:hidden}.prompt-reference-chip>svg{flex:none}.studio-prompt-dialog .shot-prompt-input{resize:vertical;height:min(45dvh,380px);min-height:210px}@media (pointer:coarse){.prompt-reference-options>.prompt-camera-option{min-height:68px}}.prompt-camera-row{border:1px solid #0000;border-radius:7px;align-items:center;display:flex}.prompt-camera-row:hover,.prompt-camera-row[data-selected=true]{background:color-mix(in srgb,var(--accent) 8%,var(--surface));border-color:color-mix(in srgb,var(--accent) 25%,var(--border))}.prompt-camera-row>.prompt-camera-option{cursor:pointer;flex:1;align-items:center;gap:10px;min-width:0;min-height:64px;padding:8px;display:flex}.prompt-camera-row .prompt-shot-favorite{width:36px;height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.prompt-camera-row .prompt-shot-favorite:hover,.prompt-camera-row .prompt-shot-favorite[aria-pressed=true]{color:var(--accent)}.prompt-camera-row .prompt-shot-favorite:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}.prompt-camera-row .prompt-shot-favorite:disabled{opacity:.45;cursor:wait}@media (pointer:coarse){.prompt-camera-row>.prompt-camera-option{min-height:68px}.prompt-camera-row .prompt-shot-favorite{width:44px}}
.prompt-heading-actions{align-items:center;gap:6px;display:flex}.prompt-enhance-trigger{color:var(--accent);border-radius:6px;place-items:center;width:30px;height:30px;display:grid}.prompt-enhance-trigger:hover:not(:disabled){color:var(--text);background:#c7ff3515}.prompt-enhance-trigger:disabled{color:var(--muted);opacity:.4}.prompt-assist-loading{color:var(--muted);align-items:center;gap:10px;padding:32px 0;font-size:13px;display:flex}.prompt-assist-editor{border:1px solid var(--border);background:var(--surface);border-radius:10px;margin-bottom:14px;padding:14px}.prompt-assist-editor .shot-prompt-input{min-height:170px;max-height:40dvh;overflow:auto}.prompt-assist-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;width:100%;display:flex}.studio-dialog>footer .prompt-assist-actions .small-btn{min-height:44px}.continuation-frame{object-fit:contain;background:var(--surface);border:1px solid var(--border);border-radius:10px;width:100%;max-width:100%;max-height:260px;margin-bottom:16px;display:block}.continuation-direction{gap:8px;margin-bottom:14px;font-size:12px;display:grid}.continuation-direction textarea{resize:vertical;border:1px solid var(--border);background:var(--surface);width:100%;min-height:80px;color:var(--text);font:inherit;border-radius:8px;padding:12px;line-height:1.6}.continuation-direction textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.continuation-note{color:var(--muted);font-size:12px;line-height:1.7}@media (max-width:600px){.continuation-direction textarea{font-size:16px}.prompt-assist-editor .shot-prompt-input{max-height:32dvh;font-size:16px}.prompt-assist-actions>.small-btn{flex:1;justify-content:center}}.prompt-assist-music-text{resize:vertical;background:var(--bg);width:100%;min-height:260px;max-height:48dvh;color:var(--text);border:1px solid var(--border);font:inherit;border-radius:10px;padding:16px;line-height:1.7;display:block}
