/* MEET DUVY: responsive glass conversation surface shared by browser and app. */
.team #duvy-companion.duvy-launch{z-index:2;pointer-events:auto;cursor:pointer;margin:0;min-height:0;padding:0;border:0;background:none;display:block;outline-offset:5px}
.team .duvy-name.duvy-launch{z-index:2;pointer-events:auto;cursor:pointer;width:auto;min-height:0;margin:0;padding:7px 10px;border:1px solid #b7d8ed33;border-radius:20px;background:#09223975;backdrop-filter:blur(8px);display:block;font-family:inherit}
.team .duvy-name.duvy-launch:hover{color:#fff;border-color:#9cd4f199;background:#163b58b8}
.team.is-board .board-duvy.duvy-launch{pointer-events:auto;cursor:pointer;outline-offset:4px;border-radius:15px}
.team .duvy-launch:focus-visible{outline:2px solid #93c9e6}
.team .board-duvy.duvy-launch>span{font-size:8px;letter-spacing:.12em;white-space:nowrap}
.duvy-launch>img,.duvy-launch>.duvy-art{transition:filter .2s,scale .3s;transform-origin:50% 90%}
.duvy-launch:hover>img,.duvy-launch:hover>.duvy-art{filter:drop-shadow(0 0 10px #91d0e945);scale:1.035}
.duvy-launch[aria-expanded=true]>img,.duvy-launch[aria-expanded=true]>.duvy-art{scale:1.1}
.duvy-overlay[hidden]{display:none!important}
.team .duvy-overlay.component-actions{position:fixed;inset:0;z-index:30;display:grid;place-items:center;width:auto;min-height:0;margin:0;padding:24px;background:#020c1f70;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.duvy-dialog{position:relative;display:flex;flex-direction:column;width:min(500px,100%);height:min(710px,calc(100dvh - 48px));min-height:0;color:#e9f2fb;border:1px solid #b4d5ec52;border-radius:26px;background:linear-gradient(145deg,#18344ae8,#0b1c30ec 65%,#102f46ed);box-shadow:0 30px 100px #0008,0 1px 0 #fff2 inset;font-family:var(--duv-font-ui);overflow:hidden;isolation:isolate;animation:duvy-arrive .32s cubic-bezier(.2,.8,.2,1)}
.duvy-dialog::before{content:'';position:absolute;width:320px;height:220px;left:-90px;top:-100px;border-radius:50%;background:#8ccae91f;filter:blur(35px);z-index:-1;pointer-events:none}
.duvy-dialog button,.duvy-dialog select,.duvy-dialog textarea{font:inherit}
.duvy-dialog button{cursor:pointer}
.duvy-dialog button:disabled{opacity:.48;cursor:default}
.duvy-dialog button:focus-visible,.duvy-dialog textarea:focus-visible,.duvy-dialog select:focus-visible{outline:2px solid #a7d7f0;outline-offset:3px}
.duvy-header{display:flex;align-items:center;flex:0 0 auto;gap:15px;padding:21px 22px 12px}
.duvy-portrait{position:relative;width:77px;height:97px;flex:0 0 auto;filter:drop-shadow(0 8px 14px #0003)}
.duvy-portrait svg{display:block;width:100%;height:100%}
.duvy-portrait .duvy-eyes{animation:duvy-dialog-blink 4s linear infinite}
.duvy-title-group{flex:1;min-width:0}
.duvy-eyebrow{margin:0 0 5px;font-size:9px;letter-spacing:.18em;color:#95c4df;font-weight:600}
.duvy-dialog h2{margin:0;font-size:31px;line-height:1.1;font-weight:500;letter-spacing:-.7px;color:#f4f7fb}
.duvy-subtitle{margin:7px 0 0;color:#acbdcd;font-size:12px;line-height:1.5}
.duvy-close{align-self:flex-start;display:grid;place-items:center;width:31px;height:31px;flex-shrink:0;border:1px solid #c1d9e728;border-radius:50%;background:#ffffff08;color:#d5e5f0;font-size:21px!important;line-height:1}
.duvy-close:hover{background:#365b79}
.duvy-dialog svg.icon{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.duvy-conversation{flex:1 1 auto;min-height:80px;margin:10px 12px 0;display:flex;overflow:hidden}
.duvy-conversation deep-chat{width:100%;height:100%;min-height:0}
.duvy-chat-loading{margin:auto;color:#9fbacd;font-size:12px}
.duvy-suggestions{display:flex;gap:6px;padding:9px 22px 0;flex-wrap:wrap}
.duvy-suggestions button{border:1px solid #b1cde22b;background:#d4e9f508;color:#b4cedf;border-radius:15px;padding:6px 9px;font-size:10px;transition:background .15s}
.duvy-suggestions button:hover{background:#39617c99;color:#fff}
.duvy-composer{margin:10px 18px 0;border:1px solid #9fc3dc52;background:#04162373;border-radius:16px;padding:9px 10px 9px 13px;display:flex;gap:8px;align-items:flex-end}
.duvy-composer:focus-within{border-color:#a1d4efaa;box-shadow:0 0 0 3px #8fcdf00b}
.duvy-composer textarea{resize:none;scrollbar-width:thin;scrollbar-color:#48677f transparent;overflow-y:auto;width:100%;min-height:38px;height:38px;max-height:84px;padding:8px 0;background:transparent;border:0;outline:none!important;color:#edf5fa;font-size:13px;line-height:1.6;user-select:text}
.duvy-composer textarea::placeholder{color:#88a4b8}
.duvy-send{color:#06243b;border:1px solid #d4efff70;background:#abd6ed}
.duvy-send:hover{background:#cce9f7}
.duvy-bottom{flex:0 0 auto;display:flex;justify-content:space-between;align-items:center;min-height:33px;gap:8px;padding:7px 23px 12px;color:#7f9aac;font-size:9px}
.duvy-status{min-width:0;font-size:10px;color:#9dbacd}
.duvy-bottom>span:last-child{white-space:nowrap}
@keyframes duvy-arrive{from{opacity:0;transform:translateY(12px) scale(.975)}to{opacity:1;transform:none}}
@keyframes duvy-dialog-blink{0%,43%,49%,100%{opacity:0}45%,47%{opacity:1}}
@keyframes duvy-listen{50%{box-shadow:0 0 0 4px #89cced20}}
@media(max-width:550px){.team .duvy-overlay.component-actions{padding:10px}.duvy-dialog{height:calc(100dvh - 20px);border-radius:20px}.duvy-header{padding:15px 16px 7px;gap:11px}.duvy-portrait{width:64px;height:83px}.duvy-dialog h2{font-size:27px}.duvy-subtitle{font-size:11px}.duvy-toolbar{margin:0 16px;gap:5px}.duvy-tool{padding:6px;font-size:9px!important}.duvy-suggestions{padding-left:16px;padding-right:16px}.duvy-settings,.duvy-load,.duvy-mic-notice{margin-left:16px;margin-right:16px}.duvy-mode{font-size:9px}.duvy-composer{margin-left:12px;margin-right:12px}.duvy-bottom{padding-left:17px;padding-right:17px}.duvy-voice-row{flex-wrap:wrap}.duvy-settings select{flex:1 1 160px}}
@media(max-height:650px) and (min-width:551px){.team .duvy-overlay.component-actions{padding:12px}.duvy-dialog{height:calc(100dvh - 24px)}.duvy-header{padding-top:10px;padding-bottom:5px}.duvy-portrait{width:56px;height:72px}.duvy-dialog h2{font-size:27px}.duvy-toolbar{padding:5px 0 8px}.duvy-load{padding:8px 10px;margin-top:7px}.duvy-suggestions{padding-top:5px}.duvy-composer{margin-top:6px}}
@media(prefers-reduced-motion:reduce){.duvy-dialog,.duvy-portrait .duvy-eyes,.duvy-microphone[aria-pressed=true]{animation:none!important}.duvy-launch>img,.duvy-launch>.duvy-art{transition:none}}

/* Text-only knowledge chat: lightweight DOM, no model, microphone or voice runtime. */
.team .duvy-close{display:grid!important;place-items:center!important;padding:0!important;line-height:1!important}
.duvy-close svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.duvy-conversation{display:flex;flex-direction:column;overflow:auto;padding:12px 22px;scrollbar-width:thin}
.duvy-message{flex-shrink:0;max-width:92%;margin:0 0 12px;padding:12px 15px;border:1px solid #ffffff14;border-radius:16px;background:#edeae019;font-size:14px;line-height:1.65;white-space:pre-wrap}
.duvy-message p{margin:0}.duvy-message-user{align-self:flex-end;background:#176c98;color:#fff}.duvy-source{display:block;font-size:10px;line-height:1.45;color:#bed2dc;margin-top:9px}
.duvy-composer{grid-template-columns:minmax(0,1fr) auto!important}
.team .duvy-send{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #ddd9cd;border-radius:12px;background:#edeae0;color:#173b4b;flex-shrink:0}.duvy-send svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}
