.atlas-chat {font-family:"DM Sans",Arial,sans-serif;color:#193b33;line-height:1.5}
.atlas-chat [hidden]{display:none!important}
.atlas-launch,.atlas-close,.atlas-suggestions button,.atlas-form button{font:inherit;cursor:pointer}
.atlas-launch{position:fixed;z-index:30;bottom:max(1rem,env(safe-area-inset-bottom));right:max(1rem,env(safe-area-inset-right));border:1px solid #8aa496;border-radius:2rem;background:#173b34;color:#fff;display:flex;align-items:center;gap:.55rem;padding:.78rem 1.15rem;box-shadow:0 3px 15px #102e3140;font-weight:700}
body:has(.atlas-launch) footer{padding-bottom:5rem}
.atlas-panel{box-sizing:border-box;position:fixed;inset:auto max(1rem,env(safe-area-inset-right)) max(1rem,env(safe-area-inset-bottom)) auto;margin:0;padding:0;width:min(25rem,calc(100vw - 2rem));max-width:100vw;height:min(36rem,calc(100dvh - 2rem));max-height:100dvh;background:#fbfaf5;color:#173b34;border:1px solid #93a59b;border-radius:1rem;box-shadow:0 12px 55px #173b3440;text-align:left}
.atlas-panel[open]{display:flex;flex-direction:column}
.atlas-panel::backdrop{background:rgba(15,40,34,.15)}
.atlas-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;color:#fff;background:#173b34;padding:.95rem 1.15rem}
.atlas-heading h2{font:normal 1.7rem/1.1 "Instrument Serif",Georgia,serif;color:inherit;margin:0}
.atlas-heading p{font-size:.9rem;color:#d9e6dc;margin:.24rem 0 0}
.atlas-close{font-size:1.7rem;background:transparent;color:white;border:0;min-width:44px;min-height:44px;line-height:1}
.atlas-feed{padding:1rem 1.15rem;overflow-y:auto;flex:1;overscroll-behavior:contain}
.atlas-msg{padding:.7rem .85rem;margin:0 1.1rem .65rem 0;border:1px solid #d7dfd4;border-radius:.7rem;background:#fff;font:1rem/1.5 "DM Sans",Arial,sans-serif;white-space:pre-line;overflow-wrap:anywhere}
.atlas-msg.user{margin-left:2rem;margin-right:0;background:#e6eee4;border-color:transparent}
.atlas-msg a{display:block;margin-top:.45rem;color:#225747;font-weight:bold;text-underline-offset:.17rem}
.atlas-msg small{display:block;margin-bottom:.2rem;color:#4e655a;font-size:.8rem}
.atlas-suggestions{display:flex;gap:.4rem;flex-wrap:wrap;padding:0 .95rem .55rem}
.atlas-suggestions button{font-size:.88rem;padding:.45rem .7rem;border:1px solid #9aafa1;border-radius:1.2rem;background:transparent;color:#1c4a3f}
.atlas-form{padding:.55rem 1rem .3rem;border-top:1px solid #d6dfd4}
.atlas-form label{font-size:.9rem;font-weight:700;display:block;margin:0 0 .25rem}
.atlas-form div{display:flex;gap:.4rem}
.atlas-form input{box-sizing:border-box;min-width:0;flex:1;font:1rem Arial,sans-serif;border:1px solid #97aaa0;border-radius:.45rem;background:white;padding:.7rem;color:#193b33}
.atlas-form button{background:#204d41;color:white;border:0;border-radius:.45rem;font-weight:700;padding:.65rem .9rem}
.atlas-form button:disabled{opacity:.65}
.atlas-chat .atlas-note{padding:.15rem 1rem .8rem;margin:0;color:#53675a;font: .79rem/1.4 Arial,sans-serif}
.atlas-chat :focus-visible{outline:3px solid #c77837;outline-offset:2px}
@media(max-width:520px){.atlas-panel{inset:auto 0 0;width:100%;height:min(35rem,88dvh);border-radius:.9rem .9rem 0 0;padding-bottom:env(safe-area-inset-bottom)}}

.atlas-ad-info{max-width:46rem;margin:1rem auto;padding:.6rem 1rem;font: .9rem/1.5 Arial,sans-serif}
.atlas-ad-info summary{cursor:pointer}
