:root{--ink: #16181d;--muted: #5b6270;--line: #e3e6eb;--bg: #f5f6f8;--surface: #fff;--accent: #5b3df5;--accent-ink: #4327d9;--accent-soft: #efebff;--good: #0f7b4f;--wa: #e7f6ec;--bad: #b42318}*{box-sizing:border-box}body{margin:0;font-family:Heebo,system-ui,sans-serif;color:var(--ink);background:var(--bg)}a{color:var(--accent-ink)}h1{font-size:22px;margin:0}h2{font-size:17px;margin:0}h3{font-size:14px;margin:0}input,select,textarea{font:inherit;min-height:40px;padding:8px 12px;border:1px solid #d9dce2;border-radius:10px;background:#fff;color:inherit}textarea{resize:vertical;width:100%}label{display:flex;flex-direction:column;gap:6px;font-size:14px}label.row{flex-direction:row;align-items:center}button{font:inherit;cursor:pointer;border-radius:10px;min-height:40px;padding:0 16px}button:disabled{opacity:.55;cursor:default}.primary{background:var(--accent);color:#fff;border:none;font-weight:600}.btn,a.btn{background:#f7f5ff;color:var(--accent-ink);border:1px solid #d5d0f5;display:inline-flex;align-items:center;text-decoration:none}.ghost{background:transparent;border:none;color:var(--muted)}.small,button.small,a.small{font-size:12px}button.small,a.btn.small{min-height:32px;padding:0 10px}.muted{color:var(--muted)}.accent{color:var(--accent-ink)}.error{color:var(--bad);background:#fdecea;padding:10px 14px;border-radius:10px}.note{background:var(--accent-soft);color:var(--accent-ink);padding:10px 14px;border-radius:10px;font-size:14px}.pre{white-space:pre-wrap}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.center{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:16px}.card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px 18px}.stack{display:flex;flex-direction:column;gap:14px}.stack.end{align-items:flex-end}.row{display:flex;gap:8px;align-items:center}.row.between{justify-content:space-between}.wrap{flex-wrap:wrap}.grow{flex:1;min-width:200px}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}@media (max-width: 760px){.grid2{grid-template-columns:1fr}}.auth{width:100%;max-width:380px;display:flex;flex-direction:column;gap:14px}.app{min-height:100vh;display:flex;flex-direction:column}.topbar{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:10px 24px;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit}.brand small{display:block;font-size:12px;color:var(--muted)}.logo{width:34px;height:34px;border-radius:10px;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center}.topnav{margin-inline-start:auto;display:flex;gap:14px;align-items:center;font-size:14px}.topnav a{text-decoration:none}.chat-layout{flex:1;display:flex;flex-wrap:wrap}.history{flex:1 1 240px;max-width:280px;background:#fff;border-inline-end:1px solid var(--line);padding:14px;display:flex;flex-direction:column;gap:6px}.history .block{width:100%;margin-bottom:6px}.hist{text-align:start;background:transparent;border:none;padding:8px 10px;display:flex;flex-direction:column;min-height:0}.hist.active{background:var(--accent-soft)}.chat{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;height:calc(100vh - 58px)}.thread{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:14px;max-width:900px;width:100%;margin:0 auto}.empty{text-align:center;margin-top:12vh}.bubble{max-width:80%;padding:12px 16px;border-radius:14px;line-height:1.55}.bubble.me{align-self:flex-start;background:var(--accent);color:#fff;border-start-start-radius:4px}.bubble.bot{align-self:flex-end;background:#fff;border:1px solid var(--line);border-start-end-radius:4px}.composer{display:flex;gap:8px;padding:12px 20px 18px;max-width:900px;width:100%;margin:0 auto}.composer textarea{min-height:52px}.results{display:flex;flex-direction:column;gap:12px}.chips{display:flex;flex-wrap:wrap;gap:6px}.chip{font-size:13px;background:#f1f2f5;padding:4px 10px;border-radius:999px}.venue{border:1px solid var(--line);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:6px}.venue-head{display:flex;justify-content:space-between;gap:8px}.fit{color:var(--good);font-size:12px;font-weight:600;white-space:nowrap}details{border:1px solid var(--line);border-radius:12px;padding:10px 14px}summary{cursor:pointer;font-weight:600}.more{list-style:none;padding:0;margin:8px 0 0;display:flex;flex-direction:column;gap:8px;font-size:14px}.wa{background:var(--wa);border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.6;margin:10px 0}.admin{flex:1;display:flex;flex-wrap:wrap}.side{flex:1 1 220px;max-width:260px;background:var(--ink);padding:16px 12px;display:flex;flex-direction:column;gap:4px}.side a{color:#c9cdd6;text-decoration:none;padding:10px 12px;border-radius:8px;font-size:14px}.side a.active{background:#2b2e36;color:#fff;font-weight:600}.admin-main{flex:999 1 560px;min-width:0;padding:24px 28px;max-width:1180px}table{width:100%;border-collapse:collapse;font-size:14px}th{text-align:start;color:var(--muted);font-weight:600;padding:10px 12px;font-size:13px}td{padding:10px 12px;border-top:1px solid #eef0f3;vertical-align:middle}.scroll-x{overflow-x:auto;padding:0}.scroll-x table{min-width:640px}.big{font-size:40px;font-weight:700}.seg{display:flex;gap:4px;padding:4px;background:#f1f2f5;border-radius:10px;flex-wrap:wrap}.seg button{border:none;background:transparent;color:var(--muted);min-height:36px}.seg button.on{background:#fff;color:var(--ink);font-weight:600;box-shadow:0 1px 2px #16181d1f}.bars{display:flex;align-items:flex-end;gap:3px;height:120px}.bars div{flex:0 1 24px;background:var(--accent);opacity:.75;border-radius:3px 3px 0 0;min-height:2px}.suggest{border-style:dashed;border-color:#b9aef5;background:#f7f5ff}
