:root{font-family:Arial,sans-serif;color:#fff;background:#0b1f3a}*{box-sizing:border-box}body{margin:0;background:linear-gradient(#0b1f3a,#173a6b);min-height:100dvh}#app{max-width:760px;margin:auto;min-height:100dvh;padding-bottom:66px}header{height:64px;display:flex;align-items:center;gap:10px;padding:8px 14px;background:#0b1f3a;position:sticky;top:0;z-index:2}h1{font-size:20px;margin:0;flex:1}.demo{background:#f2c230;color:#0b1f3a}small{font-size:11px;padding:4px 7px;border-radius:99px;background:#f2c230;color:#0b1f3a}button,input,textarea,select{font:inherit}button{border:0;border-radius:10px;min-height:44px;padding:8px 12px;cursor:pointer;color:#0b1f3a}#menu{background:transparent;color:#fff;font-size:22px}#nav{background:#173a6b;padding:8px;display:flex;gap:6px;flex-wrap:wrap}#gate{padding:32px 18px;text-align:center}#gate input{width:100%;padding:13px;border-radius:10px;border:0;margin:8px 0;color:#14243d}#gate button,.send{background:#f2c230}#gateError{color:#f2c230}#messages{padding:16px;display:grid;gap:14px}.empty{text-align:center;padding:36px 6px}.chips{display:flex;gap:7px;flex-wrap:wrap;justify-content:center}.chips button{background:#4fb0e6;font-size:13px}.msg{max-width:92%;padding:12px;border-radius:15px;line-height:1.55;white-space:pre-wrap}.user{justify-self:start;background:#0b1f3a;border:1px solid #4fb0e6}.assistant{justify-self:end;background:#fff;color:#14243d}.route{background:#d9effb;color:#173a6b;border-radius:99px;font-size:12px;padding:5px 9px;margin-bottom:7px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card{background:#fff;color:#14243d;padding:12px;border-radius:13px;border:2px solid #f2c230}.card input,.card textarea,.card select{width:100%;border:1px solid #c9d4e3;border-radius:8px;padding:9px;margin:4px 0 11px;color:#14243d}.card button{background:#f2c230}.notice{color:#173a6b;font-size:13px}.approved{color:#0b1f3a;font-weight:bold}#composer{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);width:min(760px,100%);padding:8px;background:#173a6b;display:flex;gap:7px;align-items:end}#composer textarea{resize:none;flex:1;min-height:44px;max-height:120px;padding:11px;border:0;border-radius:11px;color:#14243d;background:white}.attach{background:#4fb0e6;color:#0b1f3a;border-radius:10px;min-height:44px;padding:12px 8px;font-size:13px}footer{position:fixed;bottom:0;left:0;right:0;text-align:center;font-size:11px;padding:4px;background:#0b1f3a;color:#fff}#mapView{padding:12px}.tree details{background:#fff;color:#14243d;border-radius:10px;padding:9px;margin:7px 0}.tree summary{cursor:pointer}.tree button{background:#4fb0e6;margin:5px 0;width:100%;text-align:right}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media(max-width:390px){#composer{gap:4px}.attach{font-size:0;width:44px}.attach:before{content:'+';font-size:20px}.send{font-size:0;width:44px}.send:after{content:'➤';font-size:18px}.msg{max-width:96%}}
