/* A compact, readable conversation above the map. */
body .smart-dock #smart-feedback:not(:empty){margin-top:7px;padding:9px 11px 5px;border:1px solid #ffffffd9;border-radius:22px;background:#edf5faeb;color:#193e55;box-shadow:0 5px 20px #14374e12;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);max-height:min(300px,38dvh);overscroll-behavior:contain;scrollbar-width:thin}
body .smart-dock #search-dialogue{padding:0;color:#193e55}
body .smart-dock .search-chat{display:flex;flex-direction:column;gap:5px;max-height:min(145px,24dvh);padding:0;overflow:auto;border-radius:14px;scrollbar-width:thin;scrollbar-color:#9cb4c580 transparent}
body .smart-dock .search-chat.chat-history-open{max-height:min(230px,31dvh)}
body .smart-dock .search-chat .chat-line{display:block;flex:none;width:fit-content;max-width:100%;margin:0;padding:7px 10px;border:0;box-shadow:none;font-size:14px;font-weight:400;line-height:1.5;text-align:start;overflow-wrap:anywhere;border-radius:15px}
body .smart-dock .search-chat .chat-user{align-self:flex-end;text-align:left;background:#dcecffc4;color:#375875;font-size:13px;padding:5px 10px}
body .smart-dock .search-chat .chat-assistant{align-self:flex-start;text-align:right;background:#ffffffd6;color:#193e55}
body .smart-dock .chat-text{white-space:pre-wrap}
body .smart-dock .chat-text b{font-weight:700}
body .smart-dock .chat-actions{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0 0}
body .smart-dock .chat-actions button{display:inline-flex;align-items:center;gap:5px;min-height:40px;padding:5px 11px;font-size:12px;line-height:1.4;border-radius:999px;border:1px solid #b8d0e7;background:#f5faff;color:#285b91}
body .smart-dock .chat-actions svg{width:15px;height:15px}
html[dir=rtl] .smart-dock [data-dialog-choice] svg{transform:rotate(180deg)}
body .smart-dock .chat-actions #dialog-skip{border-color:transparent;background:transparent}
body .smart-dock .chat-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:5px;margin-top:2px}
body .smart-dock .chat-meta{display:flex;align-items:center;flex-wrap:wrap;flex:1;min-width:0;gap:0 3px}
body .smart-dock .chat-tools{display:flex;align-items:center;gap:3px;margin-inline-start:auto;flex:none}
body .smart-dock .chat-tools button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-height:40px;padding:10px;border-radius:50%;color:#315f88;background:transparent}
body .smart-dock .chat-tools button:hover,body .smart-dock .chat-tools button[aria-expanded=true]{background:#d8eaff}
body .smart-dock .chat-tools svg{width:19px;height:19px}
body .smart-dock .chat-meta .search-applied{margin:0;font-size:11px;max-width:100%;min-width:0}
body .smart-dock .chat-meta .search-applied summary{display:flex;align-items:center;gap:5px;min-height:40px;padding:3px 5px;color:#52718b}
body .smart-dock .chat-meta .search-applied summary>span{font-size:10px;min-width:17px;background:#dbe8f3}
body .smart-dock .chat-meta .search-applied[open]{flex:1 0 100%}
body .smart-dock .chat-meta .interpreted-filters{display:flex;flex-wrap:wrap;gap:4px}
body .smart-dock .chat-meta .search-notes{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;margin:0;padding:10px;color:#668098}
@media(max-width:400px){body .smart-dock #smart-feedback:not(:empty){padding:8px 8px 4px;border-radius:19px}}

html[dir=ltr] body .smart-dock .search-chat .chat-user{align-self:flex-start}
html[dir=ltr] body .smart-dock .search-chat .chat-assistant{align-self:flex-end}

body .smart-dock .search-chat .chat-user{display:flex;align-items:center;gap:4px}

body .smart-dock .search-chat .chat-line{font-size:16px;font-weight:600;line-height:1.55}
body .smart-dock .search-chat .chat-user{font-size:15px;font-weight:600}
body .smart-dock .chat-actions button{font-size:14px;font-weight:650}
body .smart-dock .chat-thinking{display:flex;align-items:center;gap:10px;padding:14px;border-radius:17px;background:#e1edff;color:#0846ce;border:1px solid #83b0ff;font-size:17px;line-height:1.45;box-shadow:0 3px 15px #1256ec20}
.chat-thinking-spinner{flex:0 0 25px;width:25px;height:25px;border:3px solid #1256ec30;border-top-color:#1256ec;border-radius:50%;animation:search-thinking-spin .9s linear infinite}
.chat-thinking-dots{margin-inline-start:auto;letter-spacing:3px;animation:search-thinking-pulse 1.2s ease-in-out infinite}
body .smart-dock .chat-location-guide{font-size:16px;font-weight:650;line-height:1.55;margin:7px 0;padding:12px;border-radius:15px;background:#e3efff;color:#104baf}
body #area-draw.search-hand-highlight{background:#1256ec!important;color:#fff!important;border-color:#8dbaff!important;box-shadow:0 0 0 5px #4387ff35,0 0 24px 7px #1256ec88!important}
.search-hand-arrow{position:fixed;inset:0;width:100vw;height:100dvh;pointer-events:none;z-index:1400;overflow:visible}
.search-hand-arrow path{fill:none;stroke-linecap:round;stroke-linejoin:round}
.search-hand-arrow .arrow-outline{stroke:#fff;stroke-width:8;opacity:.9}
.search-hand-arrow .arrow-ink{stroke:#1256ec;stroke-width:3.5}
@keyframes search-thinking-spin{to{transform:rotate(360deg)}}
@keyframes search-thinking-pulse{50%{opacity:.3}}
@media(prefers-reduced-motion:reduce){.chat-thinking-spinner,.chat-thinking-dots{animation:none}}
