:root{--ink:#20352e;--visible-height:100dvh;--visible-top:0px}button{cursor:pointer}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}dialog{color:var(--ink);border:1px solid #e5dbc5;background:#fffaf0;border-radius:24px;padding:0;width:min(600px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(var(--visible-height) - 24px);box-shadow:0 20px 80px #0005}dialog[open]{position:fixed;inset:auto;left:50%;top:calc(var(--visible-top) + var(--visible-height)/2);transform:translate(-50%,-50%);margin:0}dialog::backdrop{background:#08142899;backdrop-filter:blur(5px)}#conversation[open]{display:flex;flex-direction:column;height:min(690px,calc(var(--visible-height) - 24px));overflow:hidden}.dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:22px 24px 18px;border-bottom:1px solid #e4dcc9;flex-shrink:0}.dialog-header h2{font-size:25px;letter-spacing:-.035em;margin:0 0 7px;line-height:1.15}.dialog-header p{font-size:14px;line-height:1.4;margin:0;color:#526250}.dialog-header button,#close-privacy{background:transparent;border:0;font-size:28px;color:var(--ink);min-width:40px;min-height:40px;flex-shrink:0}.dialog-content{display:flex;flex-direction:column;flex:1;min-height:0;padding:20px 24px;overflow:auto}dialog a{color:#274c3b;font-size:14px}#call{display:flex;flex-direction:column;flex:1;min-height:0}.call-state{display:flex;justify-content:space-between;gap:14px;font-size:14px;color:#526250;margin-bottom:14px;flex-shrink:0}#transcript{display:flex;flex-direction:column;gap:18px;flex:1;min-height:50px;overflow:auto;overscroll-behavior:contain;overflow-wrap:anywhere}.turn{white-space:pre-wrap;font-size:16px;line-height:1.6;max-width:95%}.turn-label{display:block;font-size:12px;letter-spacing:.08em;color:#5b6b5e;margin-bottom:4px}.turn.you{align-self:flex-end;background:#e9eddf;border-radius:15px;padding:10px 14px}.turn.annie{align-self:flex-start}.composer{display:flex;gap:7px;border-top:1px solid #d9decd;padding-top:12px;flex-shrink:0}#message-form{display:flex;flex:1;min-width:0;gap:5px}#message{width:100%;min-width:0;border:1px solid #c8d2c0;border-radius:10px;padding:10px;font-size:16px;background:#fffdf9;color:var(--ink)}.composer button{border:1px solid #b7c6b0;background:#e8eddc;color:var(--ink);border-radius:10px;padding:10px;font-size:14px;white-space:nowrap;min-height:42px}.composer button:disabled{opacity:.4;cursor:default}.conversation-footer{display:flex;justify-content:space-between;margin:8px 0 4px;gap:12px;flex-shrink:0}.conversation-footer button{border:0;background:none;color:#40563f;padding:9px 0;font-size:14px;min-height:40px}#sound-bars{height:60px;flex:0 0 60px}#sound-bars canvas{width:100%;height:100%;display:block}#error{background:#f3dfcf;color:#623b28;padding:10px 12px;border-radius:12px;font-size:14px;line-height:1.45;margin:10px 0 0;flex-shrink:0}#error.mic-note{background:#eceee3;color:#435840}#privacy-dialog{padding:26px;font-size:16px;line-height:1.6;overflow:auto}#privacy-dialog h2{font-size:27px;margin-top:0}#close-privacy{float:right}dialog :focus-visible{outline:3px solid #947f30;outline-offset:3px}#sound-enable{align-self:center;background:#244c35;color:#fff8dd;border:0;border-radius:24px;padding:12px 24px;margin:0 0 12px;font-size:16px}
@media(max-width:600px){dialog{border-radius:18px;width:calc(100% - 16px);max-width:calc(100% - 16px);max-height:calc(var(--visible-height) - 16px)}#conversation[open]{height:calc(var(--visible-height) - 16px)}.dialog-header{padding:16px 16px 12px}.dialog-content{padding:14px 16px}.dialog-header h2{font-size:23px}.composer{flex-wrap:wrap}.composer>button{padding:9px 10px}.turn{max-width:100%}}
@media(max-height:500px){.dialog-header{padding:10px 16px}.dialog-header h2{font-size:21px;margin-bottom:3px}.dialog-header p{font-size:13px}.dialog-content{padding:10px 16px}.call-state{margin-bottom:7px}#sound-bars{height:30px;flex-basis:30px}.conversation-footer{margin-top:2px}.conversation-footer button{padding:6px 0;min-height:32px}#error{padding:7px 10px;font-size:13px}.turn{line-height:1.45}}
