:root{--bg:#fff;--surface:#f6f7f9;--border:#e4e6eb;--text:#16181d;--muted:#6b7180;--accent:#1f6feb;--accent-text:#fff;--best:#e8f5ec;--best-border:#2f9e5b;--danger:#c93c37;--radius:12px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;font-size:15px;line-height:1.5}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#111317;--surface:#1a1d23;--border:#2a2e36;--text:#e8eaed;--muted:#9aa0ab;--accent:#4c8dff;--best:#15291d;--best-border:#3fb36b;--danger:#f06a65}}*{box-sizing:border-box}body{background:var(--bg);margin:0}h1,h2{margin:0;font-weight:600}a{color:var(--accent);text-decoration:none}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer;border:1px solid var(--border);background:var(--surface);border-radius:999px;padding:6px 14px}button:disabled{opacity:.5;cursor:default}button.link{color:var(--muted);background:0 0;border:0;padding:0}input{border:1px solid var(--border);background:var(--bg);border-radius:10px;width:100%;padding:10px 12px}.muted{color:var(--muted)}.small{font-size:13px}.grow{flex:1;min-width:0}.error{color:var(--danger)}.app{grid-template-columns:260px minmax(0,1fr) minmax(0,1fr);height:100dvh;display:grid}.sidebar{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;gap:12px;min-height:0;padding:16px 12px;display:flex}.new-chat{border:1px solid var(--border);color:var(--text);background:var(--bg);border-radius:10px;padding:8px 12px}.plans{flex-direction:column;flex:1;gap:2px;display:flex;overflow-y:auto}.plans a{color:var(--text);border-radius:8px;flex-direction:column;gap:2px;padding:8px 12px;display:flex}.plans a span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.plans a.active,.plans a:hover{background:var(--border)}.account{border-top:1px solid var(--border);padding-top:10px}.account-menu{position:relative}.account-card{width:100%;min-width:0;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:8px;display:flex}.account-card:hover,.account-card[aria-expanded=true]{background:var(--border)}.account-card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.avatar{background:var(--accent);width:32px;height:32px;color:var(--accent-text);border-radius:50%;flex:none;place-items:center;font-size:14px;font-weight:600;display:grid}.who{flex-direction:column;flex:1;min-width:0;line-height:1.3;display:flex}.who span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chevron{color:var(--muted);flex:none}.menu{z-index:10;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);flex-direction:column;padding:6px;display:flex;position:absolute;bottom:calc(100% + 6px);left:0;right:0;box-shadow:0 8px 24px #0000002e}.menu a,.menu button{color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:8px 10px}.menu a:hover,.menu button:hover,.menu a:focus-visible,.menu button:focus-visible{background:var(--border);outline:none}.menu hr{border:0;border-top:1px solid var(--border);margin:6px 4px}.chat{flex-direction:column;min-height:0;padding:0 24px 24px;display:flex}.chat.empty{justify-content:center;align-items:center;gap:24px}.chat.empty h1{font-size:28px}.messages{flex-direction:column;flex:1;gap:14px;width:100%;max-width:760px;margin:0 auto;padding:24px 0;display:flex;overflow-y:auto}.load-older{min-height:1px}.bubble{max-width:85%}.bubble.user{background:var(--accent);color:var(--accent-text);white-space:pre-wrap;border-radius:18px 18px 4px;align-self:flex-end;padding:8px 14px}.bubble.assistant p{margin:0 0 8px}.bubble.assistant p:last-child{margin-bottom:0}.status{color:var(--muted);align-items:center;gap:8px;font-size:13px;display:flex}.pulse{background:var(--accent);border-radius:50%;width:8px;height:8px;animation:1.2s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.3}}.ask p{margin:0 0 8px}.options{flex-wrap:wrap;gap:8px;display:flex}.options button:not(:disabled):hover{border-color:var(--accent);color:var(--accent)}.composer{border:1px solid var(--border);background:var(--bg);border-radius:24px;align-items:flex-end;gap:8px;width:100%;max-width:760px;margin:0 auto;padding:8px 8px 8px 16px;display:flex}.composer textarea{resize:none;field-sizing:content;background:0 0;border:0;outline:none;flex:1;max-height:160px;padding:6px 0}.composer button{background:var(--accent);width:34px;height:34px;color:var(--accent-text);border:0;padding:0;font-size:18px}.stack{flex-direction:column;gap:8px;display:flex}.card{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);align-items:center;gap:14px;padding:12px 14px;display:flex}.card .logo{object-fit:contain;width:32px;height:32px}.card .thumb{object-fit:cover;border-radius:8px;width:64px;height:64px}.route,.name{font-weight:600}.price{white-space:nowrap;font-weight:600}.book{background:var(--accent);color:var(--accent-text);white-space:nowrap;border-radius:999px;padding:6px 14px;font-size:14px}.partners{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.partner{border:1px solid var(--border);white-space:nowrap;border-radius:999px;padding:5px 13px;font-size:14px}.comparison{flex-direction:column;align-items:stretch}.comparison ul{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.comparison li{border-radius:8px;align-items:center;gap:12px;padding:6px 8px;display:flex}.best{background:var(--best);border-color:var(--best-border)}.dates{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px;display:grid}.date{background:var(--bg);border-radius:10px;flex-direction:column;align-items:flex-start;padding:8px 12px;display:flex}.date span{color:var(--muted);font-size:13px}.auth{text-align:center;flex-direction:column;gap:12px;width:min(360px,100% - 32px);margin:18vh auto 0;display:flex}.auth h1{margin-bottom:12px}.auth button[type=submit],.profile button[type=submit]{background:var(--accent);color:var(--accent-text);border:0;border-radius:10px;padding:10px}.check{text-align:left;align-items:center;gap:8px;font-size:14px;display:flex}.check input{width:auto}.prose{max-width:640px;margin:48px auto;padding:0 16px}.profile{flex-direction:column;gap:14px;max-width:560px;margin:0 auto;padding:24px 16px 64px;display:flex}.profile header{align-items:center;gap:16px;margin-bottom:8px;display:flex}.profile header h1{font-size:22px}.profile label{color:var(--muted);flex-direction:column;gap:6px;font-size:14px;display:flex}.profile select,.profile textarea{border:1px solid var(--border);background:var(--bg);width:100%;font:inherit;color:var(--text);border-radius:10px;padding:10px 12px}.profile footer{align-items:center;margin-top:8px;display:flex}.profile footer button[type=submit]{padding:10px 24px}button.danger{color:var(--danger)}.admin{flex-direction:column;gap:32px;max-width:1200px;margin:0 auto;padding:24px 16px 64px;display:flex}.admin header{align-items:center;gap:16px;display:flex}.admin header h1{flex:1}.admin .button{border:1px solid var(--border);border-radius:999px;padding:6px 14px}.stats{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;display:grid}.stats div{border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;padding:14px 16px;display:flex}.stats strong{font-size:22px}.stats span{color:var(--muted);font-size:13px}.admin section h2{margin-bottom:10px;font-size:17px}.admin section header h2{margin-bottom:0}.admin section table+table{margin-top:16px}.admin section{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;border-bottom:1px solid var(--border);vertical-align:top;padding:8px 10px}th{color:var(--muted);font-weight:500}.map-pane{border-left:1px solid var(--border);background:var(--surface);position:relative}.map-pane .trip-map{position:absolute;inset:0}.pin{white-space:nowrap;cursor:pointer;border-radius:999px;padding:3px 8px;font-size:12px;font-weight:600;box-shadow:0 1px 4px #0000004d}.pin-airport{background:var(--accent);color:var(--accent-text)}.pin-hotel{background:var(--bg);color:var(--text);border:1px solid var(--border)}.pin-hotel:hover{background:var(--accent);color:var(--accent-text)}.maplibregl-popup-content{background:var(--bg);color:var(--text);border-radius:8px;font-size:13px}@media (width<=1100px){.app{grid-template-columns:260px minmax(0,1fr)}.map-pane{display:none}}@media (width<=720px){.app{grid-template-columns:1fr}.sidebar{display:none}.chat{padding:0 12px 12px}.card{flex-wrap:wrap}}
