.atth-chat-launch{position:fixed;z-index:40;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));background:#183e31;color:#fff;border:1px solid #ddb97a;border-radius:999px;padding:12px 19px;min-height:48px;font:700 1rem system-ui,sans-serif;box-shadow:0 8px 24px #10271f38;cursor:pointer}
.atth-chat{width:min(405px,calc(100% - 22px));max-width:none;max-height:min(665px,calc(100dvh - 24px));border:1px solid #c9aa70;border-radius:17px;padding:0;background:#fbf9f3;color:#183027;overscroll-behavior:contain;font:1rem system-ui,sans-serif;margin:auto max(11px,env(safe-area-inset-right)) max(11px,env(safe-area-inset-bottom)) auto;box-shadow:0 16px 58px #081d1490}
.atth-chat::backdrop{background:#10231b70}.atth-chat[open]{display:grid;grid-template-rows:auto minmax(112px,1fr) auto auto auto;overflow:hidden}.atth-chat *{box-sizing:border-box}.atth-chat :focus-visible,.atth-chat-launch:focus-visible{outline:3px solid #be9651;outline-offset:2px}
.atth-chat-head{background:#183e31;color:#fff;padding:15px 15px 13px;display:flex;align-items:center;justify-content:space-between;gap:10px}.atth-chat .atth-chat-head h2{font:700 1.11rem system-ui,sans-serif;margin:0;color:#fff;line-height:1.3}.atth-chat-head small{display:block;color:#f0d8a9;margin-top:3px;font-size:.78rem}
.atth-chat button{font:inherit;cursor:pointer}.atth-close{min-width:44px;min-height:44px;border:1px solid #dfc58f;border-radius:8px;background:transparent;color:#fff}.atth-chat-log{min-height:130px;height:clamp(146px,36dvh,280px);overflow:auto;padding:12px;background:#f6f1e5;display:flex;flex-direction:column;gap:9px;overscroll-behavior:contain;margin:0}
.atth-bubble{margin:0;max-width:88%;line-height:1.48;padding:9px 11px;border-radius:12px;align-self:flex-start;background:#fff;border:1px solid #e4d8be;overflow-wrap:anywhere}.atth-bubble.mine{align-self:flex-end;background:#183e31;color:#fff;border-color:#183e31}.atth-bubble a{display:block;margin-top:5px;color:#174d37;font-weight:700;min-height:28px;display:inline-flex;align-items:center}
.atth-prompts{display:flex;gap:6px;flex-wrap:wrap;padding:10px 12px 5px}.atth-prompts button{min-height:38px;border-radius:999px;border:1px solid #cbbc9b;background:#fff;color:#183e31;padding:4px 9px;font-size:.86rem}.atth-form{display:flex;gap:7px;padding:7px 12px}.atth-form input{min-width:0;flex:1;border:1px solid #a99b7a;background:#fff;border-radius:9px;font:inherit;padding:8px 9px;color:#16352a;outline-offset:1px}.atth-form button{min-height:44px;border:0;border-radius:9px;padding:7px 13px;background:#183e31;color:#fff;font-weight:700}.atth-form button:disabled{opacity:.58;cursor:wait}.atth-note{margin:0;padding:0 12px 12px;color:#4e5d55;font-size:.77rem;line-height:1.35}
@media(max-height:600px){.atth-chat-log{height:clamp(115px,29dvh,170px)}.atth-chat-head{padding:8px 12px}.atth-note{padding-bottom:8px}}

.atth-prompts .atth-map-shortcut{display:inline-flex;align-items:center;min-height:40px;padding:4px 11px;border-radius:999px;border:1px solid #c8ad78;background:#eadebd;color:#143c2d;font-size:.86rem;font-weight:700;text-decoration:none}.atth-prompts .atth-map-shortcut:hover{background:#e4d2a5}
