/* DeeDee lives beside the workspace: a quiet violet shell and mint expression. */
#supportWidget{position:fixed;right:26px;bottom:22px;z-index:80;font-family:var(--font);color:var(--text)}
#supportWidget [hidden]{display:none!important}
.support-launch{position:relative;display:flex;align-items:center;padding:0 5px 0 19px;height:66px;border:1px solid var(--border-strong,var(--border));border-radius:24px;background:var(--surface);color:var(--text);box-shadow:0 10px 35px #0003;gap:5px}
.support-launch>img{width:76px;height:80px;align-self:flex-end;margin-bottom:3px;filter:drop-shadow(0 4px 6px #7c5cff22)}
.support-launch-copy{text-align:left;display:grid;gap:2px}.support-launch-copy strong{font-size:13px}.support-launch-copy small{font-size:10px;color:var(--muted);font-weight:400}
.support-launch-icon{position:absolute;right:1px;bottom:-3px;width:25px;height:25px;border-radius:10px;background:var(--primary);color:white;display:grid;place-items:center;font-size:12px;border:2px solid var(--surface)}
.support-launch.is-open{margin-left:auto;width:54px;height:48px;padding:0;justify-content:center;border-radius:16px}.support-launch.is-open .support-launch-copy,.support-launch.is-open .support-launch-icon{display:none}.support-launch.is-open>img{width:49px;height:52px}
.support-panel{position:absolute;right:0;bottom:65px;width:400px;height:min(660px,calc(100dvh - 112px));display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border-strong,var(--border));border-radius:24px;box-shadow:0 24px 90px #0005;overflow:hidden;animation:support-open .18s ease-out}
.support-header{display:flex;align-items:center;gap:10px;padding:16px 16px 14px;border-bottom:1px solid var(--border);background:var(--raised)}
.support-avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:var(--soft);flex-shrink:0}.support-avatar img{width:48px;height:50px}.support-heading{display:grid;gap:3px;min-width:0;flex:1}.support-heading strong{font-size:15px;overflow-wrap:anywhere}.support-heading>span{font-size:10px;color:var(--muted)}
.support-icon{height:32px;width:30px;min-height:0;padding:0;background:transparent;border:0;color:var(--muted);flex-shrink:0;font-size:13px}
.support-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px;scrollbar-width:thin}
.support-welcome{text-align:center;margin:0 0 22px}.support-portrait{width:104px;height:104px;border-radius:50%;background:var(--soft);margin:0 auto 14px;display:grid;place-items:center}.support-portrait img{width:110px;height:116px;margin-top:-11px}.support-welcome h2{font-size:21px;font-weight:600;line-height:1.5;margin-bottom:6px}.support-welcome p{font-size:11px;margin:0}
.support-messages{display:flex;flex-direction:column;gap:17px}.support-message{max-width:92%;align-self:flex-start;min-width:0}.support-message>small{display:block;margin:0 2px 5px;font-size:10px;color:var(--muted)}.support-message>div{padding:12px 14px;border-radius:4px 16px 16px 16px;background:var(--raised);color:var(--text);font-size:12px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.support-message.user{align-self:flex-end}.support-message.user>small{text-align:right}.support-message.user>div{background:var(--primary);color:#fff;border-radius:16px 4px 16px 16px}
.support-topics{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}.support-topics button{display:flex;justify-content:flex-start;gap:8px;padding:11px 10px;background:transparent;border:1px solid var(--border);border-radius:12px;font-size:11px;color:var(--text);font-weight:400;white-space:normal;text-align:left}.support-topics i:first-child{color:var(--accent)}.support-topics i:last-child{margin-left:auto;font-size:9px;color:var(--muted)}
.support-compose{padding:14px 16px 13px;border-top:1px solid var(--border);background:var(--surface);flex-shrink:0}.support-input{display:flex;align-items:center;gap:8px;padding:7px 7px 7px 12px;border:1px solid var(--border-strong,var(--border));background:var(--control);border-radius:15px}.support-input:focus-within{border-color:var(--accent)}.support-input textarea{background:none;border:0;outline:none;color:var(--text);resize:none;font:12px/1.7 var(--font);width:100%;min-width:0;padding:4px 0;box-shadow:none}.support-input textarea::placeholder{color:var(--muted)}.support-input button{width:36px;height:36px;min-height:0;border-radius:11px;padding:0;flex-shrink:0}.support-caption{display:flex;justify-content:space-between;gap:8px;margin-top:8px;color:var(--muted);font-size:8px}.support-compose>small{display:block;text-align:center;color:var(--muted);font-size:9px;margin-top:5px}
.support-thinking{font-size:11px;color:var(--muted);margin-top:16px;display:flex;align-items:center;gap:4px}.support-thinking span{width:4px;height:4px;border-radius:50%;background:var(--accent);animation:support-dot 1.3s infinite}.support-thinking span:nth-child(2){animation-delay:.15s}.support-thinking span:nth-child(3){animation-delay:.3s;margin-right:5px}.support-error{margin-top:16px;padding:12px;border:1px solid var(--danger,#da546c);border-radius:12px;font-size:11px;display:grid;gap:8px}.support-error button{justify-self:start;font-size:11px;padding:5px 10px;background:var(--raised);color:var(--text);border:1px solid var(--border)}
.support-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.support-proposal{border:1px solid var(--accent);background:var(--soft);border-radius:15px;padding:15px;min-width:0;font-size:12px}.support-proposal-title{display:flex;gap:9px;align-items:center;color:var(--accent)}.support-proposal dl{margin:14px 0}.support-proposal dl>div{display:grid;grid-template-columns:85px minmax(0,1fr);gap:8px;padding:6px 0;border-bottom:1px solid var(--border)}.support-proposal dt{color:var(--muted);font-size:10px}.support-proposal dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap;font-size:11px}.support-proposal>small{color:var(--muted);font-size:10px}.support-proposal>p{font-size:11px;color:var(--accent)}.support-proposal-actions{display:flex;gap:8px;margin-top:12px}.support-proposal-actions button{font-size:11px;padding:7px 12px}.support-proposal-result{font-size:11px;margin-top:10px;white-space:pre-wrap;overflow-wrap:anywhere}
.support-settings{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,670px);gap:36px;align-items:start;max-width:1040px}.support-settings .panel{margin:0;padding:28px}.support-preview{text-align:center;padding:20px 8px}.support-preview-art{position:relative;width:190px;height:190px;display:grid;place-items:center;background:var(--soft);border-radius:50%;margin:0 auto 20px}.support-preview-art img{width:182px;height:191px}.support-preview-art>span{position:absolute;right:0;top:14px;background:var(--raised);color:var(--accent);width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--border);border-radius:15px;transform:rotate(9deg);font-size:20px}.support-preview h2{font-size:27px;overflow-wrap:anywhere}.support-preview>p{font-size:13px;line-height:1.9}.support-preview-bubble{text-align:left;padding:18px 20px;background:var(--raised);border:1px solid var(--border);border-radius:18px 18px 18px 3px;font-size:12px;line-height:1.9;margin:26px 0 20px;white-space:pre-wrap;overflow-wrap:anywhere}.support-key-status{font-size:11px;color:var(--accent);margin:20px 0 12px}.support-preview>small{font-size:11px;color:var(--muted)}
.support-settings-title{display:flex;justify-content:space-between;gap:20px;margin-bottom:22px}.support-settings-title h2{font-size:19px}.support-settings-title p{font-size:12px;margin:0}.support-settings-title>i{color:var(--accent);font-size:22px;margin-top:4px}.support-switch{display:flex;flex-direction:row;align-items:center;justify-content:space-between;border-block:1px solid var(--border);padding:17px 0;gap:15px}.support-switch span{display:grid;gap:4px}.support-switch strong{font-size:13px;color:var(--text)}.support-switch small{font-size:11px;font-weight:400}.support-switch input{width:36px;height:20px;accent-color:var(--primary);flex-shrink:0}.support-settings textarea{font:12px/1.8 var(--font);width:100%;resize:vertical;padding:12px;color:var(--text);background:var(--control);border:1px solid var(--border);border-radius:10px}.support-settings textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.support-remove{flex-direction:row;align-items:center;font-size:11px;font-weight:400}.support-remove input{width:15px;accent-color:var(--primary)}.support-settings-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.support-settings-actions button{font-size:12px}.support-settings #supportTestResult{font-size:12px;margin:16px 0 6px}.support-test-ok{color:var(--good)}
@keyframes support-open{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes support-dot{50%{opacity:.3;transform:translateY(-3px)}}
@media(max-width:1050px){.support-settings{gap:22px;grid-template-columns:220px minmax(0,1fr)}.support-settings .panel{padding:20px}}
@media(max-width:650px){#supportWidget{right:14px;bottom:max(14px,env(safe-area-inset-bottom))}.support-panel{width:min(400px,calc(100vw - 28px));height:min(660px,calc(100dvh - 100px));bottom:62px;border-radius:20px}.support-launch{height:52px;padding-left:14px;border-radius:18px}.support-launch>img{width:62px;height:65px}.support-launch-copy strong{font-size:12px}.support-launch-copy small{font-size:9px}.support-scroll{padding:16px}.support-settings{grid-template-columns:1fr}.support-preview{padding:0 20px}.support-preview-art{width:120px;height:120px;margin-bottom:12px}.support-preview-art img{width:125px;height:130px}.support-preview>p,.support-preview>small{display:none}.support-preview-bubble{margin:14px 0}.support-key-status{margin:12px 0}.support-settings .form-grid{grid-template-columns:1fr}.support-settings-actions button{flex:1}.support-caption{font-size:8px}}
@media(prefers-reduced-motion:reduce){.support-panel,.support-thinking span{animation:none}}
