.cap-settings{--cap-shell:#F9F9FB;--cap-control:#fff;--cap-raised:#FCFCFD;--cap-sunken:#F0F0F3;--cap-hover:rgba(28,32,44,.04);--cap-line:#DFE1E6;--cap-line-strong:#C1C7CF;--cap-strong:#282828;--cap-fg:#383838;--cap-muted:#737373;--cap-placeholder:#737373;--cap-ok:#3fa45b;--cap-ok-bg:rgba(63,164,91,.09);--cap-ok-fg:#2f7a3c;--cap-primary:#3B3B3B;--cap-primary-hover:#242424;--cap-on-primary:#fff;--cap-surface:0 1px 1px rgba(17,18,22,.07),0 2px 4px rgba(17,18,22,.06),0 4px 10px -2px rgba(17,18,22,.07);--cap-float:0 1px 1px rgba(16,17,21,.06),0 8px 12px -4px rgba(16,17,21,.09),0 24px 32px -12px rgba(16,17,21,.11),0 40px 60px -24px rgba(16,17,21,.1);position:absolute;left:0;top:100%;z-index:70;display:flex;flex-direction:column;width:368px;max-width:calc(100vw - 64px);max-height:min(70dvh,620px);margin-top:0;border:1px solid var(--cap-line);border-radius:12px;background:var(--cap-shell);color:var(--cap-fg);text-align:left;box-shadow:var(--cap-float);overflow:hidden}.dark .cap-settings,html[data-theme=dark] .cap-settings{--cap-shell:#111111;--cap-control:#1F1F1F;--cap-raised:#151515;--cap-sunken:#262626;--cap-hover:rgba(255,255,255,.06);--cap-line:#303030;--cap-line-strong:#494949;--cap-strong:#F2F2F2;--cap-fg:#D8D8D8;--cap-muted:#9E9E9E;--cap-placeholder:#727272;--cap-ok-bg:rgba(63,164,91,.14);--cap-ok-fg:#7CCB8C;--cap-primary:#EDEDED;--cap-primary-hover:#fff;--cap-on-primary:#151515;--cap-surface:0 1px 1px rgba(0,0,0,.35),0 2px 4px rgba(0,0,0,.28);--cap-float:0 8px 12px -4px rgba(0,0,0,.45),0 24px 32px -12px rgba(0,0,0,.4)}.cap-settings button{font:inherit;color:inherit;background:transparent;border:0;cursor:pointer}.cap-settings :is(button,summary,input):focus-visible{outline:2px solid var(--cap-strong);outline-offset:1px}.cap-settings header{display:flex;flex-shrink:0;align-items:center;gap:8px;min-height:38px;padding:0 10px;border-bottom:1px solid var(--cap-line)}.cap-settings header strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;line-height:18px;color:var(--cap-strong)}.cap-settings header button{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:26px;height:26px;border-radius:6px;color:var(--cap-muted);transition:background-color .1s,color .1s}.cap-settings header button:hover{background:var(--cap-hover);color:var(--cap-strong)}.cap-settings header button svg{width:12px;height:12px}.cap-settings-body{display:flex;flex:1;flex-direction:column;gap:8px;min-height:0;padding:8px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.cap-settings-body>*{flex-shrink:0}.cap-settings-intro{max-width:45ch;margin:0;padding:0 2px;font-size:9.5px;line-height:13px;color:var(--cap-muted)}.cap-settings-field{min-width:0;margin:0;padding:0;border:0}.cap-settings-field legend{margin:0 0 4px;padding:0;font-size:9px;font-weight:600;line-height:13.5px;letter-spacing:.075em;text-transform:uppercase;color:var(--cap-muted)}.cap-settings-field input{width:100%;min-height:28px;padding:5px 8px;border:0;border-radius:7px;background:var(--cap-control);box-shadow:inset 0 0 0 1px var(--cap-line);color:var(--cap-strong);font:inherit;font-size:10.5px;line-height:16px;outline:none;transition:box-shadow .1s}.cap-settings-field input::placeholder{color:var(--cap-placeholder)}.cap-settings-field input:focus,.cap-settings-field input:hover{box-shadow:inset 0 0 0 1px var(--cap-line-strong)}.cap-settings-choices{display:flex;flex-wrap:wrap;gap:5px;min-width:0}.cap-settings-choices button{display:inline-flex;flex-shrink:0;align-items:center;gap:5px;min-height:28px;padding:3px 8px;border-radius:7px;white-space:nowrap;background:var(--cap-control);box-shadow:inset 0 0 0 1px var(--cap-line);color:var(--cap-fg);font-size:10.5px;font-weight:500;line-height:16px;transition:background-color .1s,box-shadow .1s,color .1s}.cap-settings-choices button:hover{background:var(--cap-hover);box-shadow:inset 0 0 0 1px var(--cap-line-strong)}.cap-settings-choices button[aria-pressed=true]{background:var(--cap-ok-bg);box-shadow:inset 0 0 0 1px var(--cap-ok);color:var(--cap-strong)}.cap-settings-choices .cap-choice-check{width:10px;height:10px;color:var(--cap-ok-fg)}.cap-choice-glyph{display:flex;flex-shrink:0;align-items:center;color:var(--cap-muted)}.cap-settings-choices button[aria-pressed=true] .cap-choice-glyph{color:var(--cap-strong)}.cap-settings-inline{display:grid;grid-template-columns:minmax(72px,max-content) 1fr;align-items:center;gap:8px}.cap-settings-label{font-size:9px;font-weight:600;line-height:13.5px;letter-spacing:.075em;text-transform:uppercase;color:var(--cap-muted)}.cap-segmented{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;height:28px;padding:2px;border-radius:8px;background:var(--cap-sunken);box-shadow:inset 0 0 0 1px var(--cap-line)}.cap-segmented button{border-radius:6px;font-size:10.5px;font-weight:600;color:var(--cap-muted);transition:background-color .1s,box-shadow .1s,color .1s}.cap-segmented button:hover{color:var(--cap-strong)}.cap-segmented button[aria-pressed=true]{background:var(--cap-raised);color:var(--cap-strong);box-shadow:var(--cap-surface)}.cap-scope-options{display:flex;flex-direction:column;gap:2px}.cap-scope-options button{display:flex;align-items:center;gap:8px;min-height:34px;padding:5px 8px;border-radius:8px;text-align:left;font-size:10.5px;font-weight:600;line-height:14px;color:var(--cap-strong);box-shadow:inset 0 0 0 1px transparent;transition:background-color .1s,box-shadow .1s,transform .1s}.cap-scope-options button:hover{background:var(--cap-hover)}.cap-scope-options button:active{transform:scale(.995)}.cap-scope-options button[aria-pressed=true]{background:var(--cap-raised);box-shadow:inset 0 0 0 1px var(--cap-line-strong)}.cap-scope-options button>span:first-child{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cap-scope-check{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px}.cap-scope-options button[aria-pressed=true] .cap-scope-check{background:var(--cap-ok-bg);box-shadow:inset 0 0 0 1px var(--cap-ok);color:var(--cap-ok-fg)}.cap-scope-check svg{width:10px;height:10px}.cap-scope-example{overflow:hidden;border-radius:9px;background:var(--cap-sunken);box-shadow:inset 0 0 0 1px var(--cap-line)}.cap-scope-canvas{position:relative;height:138px;touch-action:none}.cap-scope-example p{margin:0;padding:7px 8px 1px;font-size:9.5px;line-height:13px;color:var(--cap-fg)}.cap-scope-example small{display:block;padding:2px 8px 8px;font-size:9px;line-height:12px;color:var(--cap-muted)}.cap-scope-page{position:absolute;inset:13px 20px;padding:10px;border:1px solid var(--cap-muted);border-radius:6px;pointer-events:none}.cap-scope-page i{display:block;width:32%;height:3px;margin-bottom:5px;background:var(--cap-muted)}.cap-scope-page i:first-child{width:100%;height:1px;margin-bottom:18px}.cap-settings-more summary{display:flex;align-items:center;justify-content:space-between;padding:0 2px;font-size:9px;font-weight:600;line-height:13.5px;letter-spacing:.075em;text-transform:uppercase;color:var(--cap-muted);cursor:pointer;list-style:none}.cap-settings-more summary::-webkit-details-marker{display:none}.cap-settings-more summary svg{width:12px;height:12px;transition:transform .14s cubic-bezier(.2,0,0,1)}.cap-settings-more[open] summary{margin-bottom:8px}.cap-settings-more[open] summary svg{transform:rotate(180deg)}.cap-settings-more .cap-settings-field+.cap-settings-field{margin-top:8px}.cap-settings :is(.cap-settings-reference,footer button:first-child){display:inline-flex;align-items:center;gap:5px;min-height:26px;padding:0 7px;border-radius:6px;font-size:10.5px;font-weight:500;color:var(--cap-muted);transition:background-color .1s,color .1s}.cap-settings :is(.cap-settings-reference,footer button:first-child):hover{background:var(--cap-hover);color:var(--cap-strong)}.cap-settings-reference{align-self:flex-start}.cap-settings-reference svg{width:11px;height:11px}.cap-settings footer{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:8px;min-height:28px;padding:6px 6px 6px 10px;border-top:1px solid var(--cap-line);font-size:9.5px;line-height:14px;color:var(--cap-muted)}.cap-settings footer button:first-child{margin-left:-7px}.cap-settings footer button:last-child{display:inline-flex;flex-shrink:0;align-items:center;height:26px;padding:0 10px;border-radius:7px;background:var(--cap-primary);color:var(--cap-on-primary);font-size:11px;font-weight:600;line-height:16px;transition:background-color .1s}.cap-settings footer button:last-child:hover{background:var(--cap-primary-hover)}@media(max-width:480px){.cap-settings{max-width:calc(100vw - 64px);max-height:65dvh}}@media(prefers-reduced-motion:reduce){.cap-settings *{transition:none!important}}.hero-prompt-editor{min-height:52px;max-height:180px;overflow-y:auto;width:100%;white-space:pre-wrap;overflow-wrap:anywhere;text-align:left;background:transparent;outline:none;font:inherit;font-size:16px;line-height:1.7;color:inherit}.hero-prompt-editor[data-empty=true]:before{content:attr(data-placeholder);color:#999;pointer-events:none}.hero-prompt-token{display:inline-block;vertical-align:baseline;white-space:nowrap;cursor:grab;margin:0 3px;user-select:all}.hero-prompt-token>span{display:inline-flex;align-items:center;vertical-align:middle;height:24px;gap:4px;border:0;border-radius:8px;background:#edf3f5;color:#3a525e;padding:2px 7px;font-size:11px;line-height:20px}.hero-prompt-token button{cursor:pointer;color:inherit}.hero-prompt-token button:focus-visible{outline:2px solid currentColor;outline-offset:2px}.dark .hero-prompt-token>span{background:#414141;color:#fff}.hs-composer .hero-prompt-editor{min-height:66px;font-size:14px;line-height:22px;letter-spacing:-.006em}.dark .hs-composer .hero-prompt-editor{color:#fff;caret-color:var(--brand-accent)}@media(max-width:760px){.hs-composer .hero-prompt-editor{font-size:16px;line-height:26px}}