@layer translation-assistant{.st-target-wrap:has(>.ss-dz-lock){isolation:isolate}#drawer{--ta-field: var(--fam-card, #fffefb);--ta-line: var(--fam-line, #e6dfd4);--ta-tools: #62564a;--ta-hover: var(--fam-soft, #eaf0e9);--ta-main: var(--fam-green, #5f7263)}html[data-theme=dark] #drawer{--ta-field: #252d28;--ta-line: #46564a;--ta-tools: #a6b3a7;--ta-hover: #354039;--ta-main: #506957}#drawer .st-chat-input-area{padding:18px 0 24px!important;margin-inline:24px!important;border-top:1px solid var(--ta-line)!important}#drawer .st-chat-input-area:has(#chatInput:placeholder-shown){padding-block:15px 20px!important}#drawer .st-chat-input-wrapper{position:relative;display:grid!important;grid-template-columns:34px minmax(0,1fr) 34px!important;align-items:center!important;padding:5px 8px!important;gap:3px 6px!important;min-height:48px!important;height:auto!important;background:var(--ta-field)!important;border:1px solid var(--ta-line)!important;border-radius:24px!important;box-shadow:none!important}#drawer .st-chat-input-wrapper:has(#chatInput:not(:placeholder-shown)){grid-template-columns:34px minmax(0,1fr) 34px 36px!important}#drawer #chatInput{grid-column:2;grid-row:1;min-height:36px!important;min-width:0!important;width:100%!important;padding:8px 9px!important;line-height:20px!important;box-sizing:border-box!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}#drawer .st-chat-input-wrapper:has(#chatInput:not(:placeholder-shown)) #chatInput{grid-area:1 / 1 / 2 / -1}#drawer #st-chat-plus,#drawer #chatMicBtn,#drawer #chatSendBtn{margin:0!important;padding:0!important;border-radius:50%!important;box-shadow:none!important}#drawer #st-chat-plus{display:grid;place-items:center;grid-column:1;width:34px;height:34px;color:var(--ta-tools)!important;background:transparent;border:0;cursor:pointer}#drawer #chatMicBtn{grid-column:3;width:34px!important;height:34px!important}#drawer #chatSendBtn{grid-column:4;width:36px!important;height:36px!important;background:var(--ta-main)!important;color:#fff!important}#drawer .st-chat-input-wrapper:has(#chatInput:placeholder-shown) #chatSendBtn:disabled{display:none!important}#drawer .st-chat-input-wrapper:has(#chatInput:not(:placeholder-shown)) :is(#st-chat-plus,#chatMicBtn,#chatSendBtn){grid-row:2}#drawer #st-chat-plus:is(:focus-visible,:hover,[aria-expanded=true]),#drawer .st-chat-preset-menu button:is(:hover,:focus-visible){background:var(--ta-hover)!important}#drawer #chatMicBtn:not(.ss-mic--listening):not([aria-pressed=true]){color:var(--ta-tools)!important}#drawer .st-chat-preset-menu{position:absolute;bottom:calc(100% + 8px);inset-inline-start:0;z-index:2;box-sizing:border-box;width:max-content;max-width:100%;max-height:min(200px,40vh);overflow:auto;padding:6px!important;color:inherit;background:var(--ta-field);border:1px solid var(--ta-line);border-radius:16px;box-shadow:var(--fam-float-shade, 0 5px 16px #1a30252b)}#drawer .st-chat-preset-menu[hidden]{display:none!important}#drawer .st-chat-preset-menu button{display:flex;gap:10px;align-items:center;width:100%;min-height:44px;padding:6px 12px!important;border:0;border-radius:12px;background:transparent;color:inherit;font:inherit;font-size:14px;text-align:start;cursor:pointer}}#st-chat-preset-menu{overflow-y:auto;max-height:min(340px,55vh)}.st-reference,.st-reference-sent{display:flex;align-items:center;gap:6px;width:fit-content;max-width:100%;box-sizing:border-box}.st-reference{margin:0 0 8px;padding:5px 6px 5px 10px;border:1px solid currentColor;border-radius:16px;font-size:12px}.st-reference[hidden],.st-reference-message[hidden]{display:none}.st-reference-icon,.st-reference-remove{display:inline-flex;align-items:center;justify-content:center;flex:none}.st-reference-icon svg,.st-reference-sent svg{width:14px;height:14px;flex:none}.st-reference span[dir=auto],.st-reference-sent span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.st-reference-remove{width:28px;height:28px;padding:6px;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer}.st-reference-remove svg{width:12px;height:12px}.st-reference-remove:is(:hover,:focus-visible){background:var(--st-sage-tint,rgba(122,145,125,.18))}.st-reference-sent{font-size:12px;margin-bottom:4px}.st-reference-message,.st-reference-note{font-size:13px;line-height:1.4;padding:4px 8px}
