.doki-widget{position:fixed;right:20px;bottom:16px;z-index:60;color:#09314a;font-size:14px;display:flex;align-items:flex-end;flex-direction:column;gap:8px}.doki-widget.doki-open{z-index:130}.doki-launcher{display:flex;border:0;background:transparent;cursor:pointer;filter:drop-shadow(0 5px 8px #09314a18)}.doki-launcher[hidden]{display:none}.doki-chat{width:min(430px,calc(100vw - 24px));max-height:calc(100dvh - 36px);display:flex;flex-direction:column;background:#fff;border:1px solid #d5e4e2;border-radius:26px 26px 10px 26px;overflow:hidden;box-shadow:0 20px 70px #09314a26}.doki-header{display:flex;align-items:center;gap:12px;padding:14px 16px;background:linear-gradient(115deg,#09314a,#154c5b);color:#fff;flex-shrink:0}.doki-header-avatar{position:relative;display:grid;place-items:center;width:58px;height:64px;flex-shrink:0;border:0;background:transparent}.doki-title{flex:1;min-width:0}.doki-title h2{font-size:19px;font-weight:700;margin:0;letter-spacing:-.3px}.doki-title p{font-size:11px;color:#c4e5e3;margin:4px 0 0}.doki-icon{display:grid;place-items:center;flex-shrink:0;width:32px;height:36px;border-radius:10px;background:transparent;color:inherit}.doki-icon:hover{background:#ffffff18}.doki-messages{overflow-y:auto;overscroll-behavior:contain;padding:18px 14px;min-height:0;flex:1 1 auto;max-height:min(430px,60dvh);background:linear-gradient(165deg,#f1f7f7,#f8fafb);display:flex;flex-direction:column;gap:18px}.doki-intro{text-align:center;font-size:9px;letter-spacing:1.8px;color:#7b9497;margin-bottom:2px}.doki-row{display:flex;align-items:flex-start;gap:9px;flex-shrink:0;min-width:0}.doki-row-user{justify-content:flex-end;padding-left:42px}.doki-message-avatar{display:grid;place-items:center;flex-shrink:0;width:38px;height:48px}.doki-message{min-width:0;padding:11px 13px;border-radius:17px;line-height:1.65;overflow-wrap:anywhere}.doki-doki{max-width:calc(100% - 47px);background:#fff;border:1px solid #dce8e6;border-top-left-radius:5px;box-shadow:0 2px 5px #09314a04}.doki-user{max-width:100%;background:#09314a;color:#fff;border-bottom-right-radius:5px}.doki-message p{margin:3px 0 0;white-space:pre-wrap;font-size:13px}.doki-sender{font-size:10px;font-weight:600;color:#557976}.doki-user .doki-sender{color:#c7dedf}.doki-read{display:flex;align-items:center;gap:4px;color:#47756f}.doki-read,.doki-source{margin-top:9px;font-size:10px}.doki-source{display:block;color:#68857f}.doki-working{font-size:11px;color:#49756f}.doki-typing{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:48px;padding:10px 12px;background:#fff;border:1px solid #dce8e6;border-radius:5px 17px 17px 17px}.doki-typing button{text-decoration:underline;font-size:10px}.doki-typing-dots{display:flex;gap:3px;align-items:center;height:16px}.doki-typing-dots i{width:4px;height:4px;border-radius:50%;background:#3b8e84;animation:maydi-typing 1.2s ease-in-out infinite}.doki-typing-dots i:nth-child(2){animation-delay:.15s}.doki-typing-dots i:nth-child(3){animation-delay:.3s}@keyframes maydi-typing{0%,70%,to{transform:translateY(0);opacity:.4}35%{transform:translateY(-3px);opacity:1}}.doki-controls{display:flex;gap:12px;padding:12px 16px 8px;border-top:1px solid #e6eeee;flex-shrink:0}.doki-audio-toggle{display:flex;align-items:center;gap:5px;font-size:11px;color:#4a6d68}.doki-form{display:flex;gap:6px;margin:0 12px;background:#f2f7f6;border:1px solid #dce8e5;border-radius:17px;padding:5px;flex-shrink:0}.doki-form input{min-width:0;flex:1;background:transparent;border:0;padding:9px;font-size:13px;outline:none}.doki-form:focus-within{outline:2px solid #438f85;outline-offset:2px}.doki-mic,.doki-send{display:grid;place-items:center;flex-shrink:0;width:36px;height:38px;border-radius:12px}.doki-send{background:#09314a;color:white}.doki-mic{background:#e3efec;color:#09314a}.doki-mic.is-listening{background:#ffe4e1;color:#a33a32}.doki-widget button:disabled{opacity:.4;cursor:not-allowed}.doki-widget button:focus-visible{outline:2px solid #28a596;outline-offset:3px}.doki-footer{font-size:10px;color:#687e7a;text-align:center;margin:9px 12px 12px;flex-shrink:0}.doki-notice{margin:5px 12px;padding:10px;border-radius:12px;background:#fff8e8;font-size:11px;line-height:1.5;overflow-y:auto}.doki-notice button{font-weight:600;text-decoration:underline;margin:7px 10px 0 0}.doki-error{margin:5px 12px;color:#a03730;font-size:11px}.doki-figure{position:relative;display:block;width:66px;height:66px;flex-shrink:0;transition:transform .2s}.doki-figure-canvas{position:absolute!important;left:50%;top:-12px;transform:translateX(-50%)}.doki-launcher:hover .doki-figure{transform:translateY(-3px)}@media(max-width:1023px){.doki-widget.doki-lift{bottom:calc(100px + env(safe-area-inset-bottom))}.doki-lift .doki-chat{max-height:calc(100dvh - 132px - env(safe-area-inset-bottom))}}@media(max-width:480px){.doki-widget{right:12px;bottom:max(10px,env(safe-area-inset-bottom))}.doki-chat{max-height:calc(100dvh - 24px - env(safe-area-inset-bottom))}.doki-header{gap:10px;padding:12px}.doki-messages{padding:14px 10px;gap:15px}.doki-row{gap:7px}.doki-message-avatar{width:34px;height:44px}.doki-doki{max-width:calc(100% - 41px)}.doki-message{padding:10px 11px}.doki-figure{width:56px;height:56px}.doki-figure-canvas{top:-8px}}@media(prefers-reduced-motion:reduce){.doki-figure{transition:none}.doki-typing-dots i{animation:none;opacity:.7}}