:root{font-family:IBM Plex Sans,Segoe UI,sans-serif;color:#18181b;background:radial-gradient(circle at top left,rgba(255,255,255,.32),transparent 34%),radial-gradient(circle at bottom right,rgba(115,115,115,.1),transparent 30%),linear-gradient(180deg,#f5f5f5,#e5e5e5);--color-bg: #f5f5f5;--color-surface: rgba(250, 250, 250, .9);--color-surface-strong: #ffffff;--color-text-primary: #18181b;--color-text-secondary: #52525b;--color-border: rgba(24, 24, 27, .14);--color-accent: #27272a;--color-accent-hover: #18181b;--color-calm: #3f3f46;--color-user-bubble: #18181b;--color-user-text: #fafafa;--color-bot-bubble: #ffffff;--color-bot-text: #18181b;--color-danger: #3f3f46;--shadow-panel: 0 28px 80px rgba(24, 24, 27, .12)}*{box-sizing:border-box}html,body,#app{min-height:100%}body{margin:0;min-height:100vh;color:var(--color-text-primary);background:radial-gradient(circle at top left,rgba(255,255,255,.32),transparent 34%),radial-gradient(circle at bottom right,rgba(115,115,115,.1),transparent 30%),linear-gradient(180deg,#f5f5f5,#e5e5e5)}button,input,textarea{font:inherit}button{border:0}.page-shell{min-height:100vh;height:100vh;display:grid;place-items:center;padding:20px 16px;overflow:hidden}.panel,.chat-shell{width:min(100%,1080px);border:1px solid var(--color-border);border-radius:28px;background:var(--color-surface);box-shadow:var(--shadow-panel);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.panel{max-width:360px;padding:32px 24px 24px}.panel-header{margin-bottom:24px}.eyebrow{margin:0 0 8px;color:var(--color-accent);font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.panel-title,.chat-title{margin:0;font-size:20px;font-weight:700;line-height:1.15}.chat-title{display:flex;align-items:center;gap:12px;color:var(--color-accent)}.chat-title-logo{display:block;width:42px;height:42px;flex:0 0 auto;object-fit:contain}.chat-title-text{display:block;min-width:0;overflow-wrap:anywhere}.panel-copy{margin:12px 0 0;color:var(--color-text-secondary);font-size:14px;line-height:1.5}.auth-form{display:grid;gap:16px}.composer{display:flex;align-items:flex-start;gap:12px}.field,.composer-field{display:grid;gap:8px}.field-label{font-size:14px;font-weight:500}.field-input,.composer-input{width:100%;padding:12px 14px;border:1px solid var(--color-border);border-radius:14px;background:var(--color-surface-strong);color:var(--color-text-primary);transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease}.field-input{height:44px}.composer-input{line-height:1.35;min-height:22px;resize:none;overflow-y:hidden;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;scrollbar-width:thin;scrollbar-color:rgba(24,24,27,.28) transparent}.composer-input::-webkit-scrollbar{width:6px}.composer-input::-webkit-scrollbar-track{background:transparent}.composer-input::-webkit-scrollbar-thumb{border-radius:999px;background:#18181b38}.composer-input::-webkit-scrollbar-thumb:hover{background:#18181b52}.field-input:focus,.composer-input:focus{outline:none}.field-input:focus{border-color:#27272aa6;box-shadow:0 0 0 4px #27272a1f}.chat-shell{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:16px;height:min(calc(100vh - 40px),880px);max-height:calc(100vh - 40px);min-height:0;padding:20px;overflow:hidden}.chat-header{position:relative;display:flex;align-items:center;min-height:44px;padding:0 72px 0 4px}.chat-viewport{min-height:0;overflow-y:auto;padding:16px;border-radius:22px;background:url(/chat_wallpaper.svg) 0 0 / 280px 280px repeat,linear-gradient(180deg,#ffffffd1,#f4f4f5f5),linear-gradient(135deg,#71717a0d,#d4d4d81f);border:1px solid rgba(24,24,27,.08);background-blend-mode:normal}.day-separator{display:flex;justify-content:center;margin:4px 0 14px}.day-separator-label{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:999px;background:#10203314;color:var(--color-text-secondary);font-size:12px;font-weight:700}.message-row{display:flex;margin-bottom:14px}.message-row:last-child{margin-bottom:0}.message-row-user{justify-content:flex-end}.message-row-bot{justify-content:flex-start}.message-bubble{max-width:min(100%,680px);padding:14px 16px 12px;border-radius:20px}.message-row-user .message-bubble{background:var(--color-user-bubble);color:var(--color-user-text);border-bottom-right-radius:8px}.message-row-bot .message-bubble{background:var(--color-bot-bubble);color:var(--color-bot-text);border:1px solid rgba(16,32,51,.08);border-bottom-left-radius:8px}.message-text{overflow-wrap:anywhere;line-height:1.6}.message-text>:first-child{margin-top:0}.message-text>:last-child{margin-bottom:0}.message-text p,.message-text ul,.message-text ol,.message-text pre,.message-text blockquote,.message-text table{margin:0 0 .8em}.location-map-link{display:block;width:300px;max-width:min(100%,300px);overflow:hidden;border-radius:16px;border:1px solid rgba(16,32,51,.08);line-height:0}.message-text ul,.message-text ol{padding-left:1.3em}.message-text li+li{margin-top:.25em}.message-text a{text-decoration-thickness:1px;text-underline-offset:.16em}.message-row-user .message-text a{color:#d4d4d8}.message-row-bot .message-text a{color:var(--color-calm)}.location-map-image{display:block;width:100%;aspect-ratio:1 / 1;object-fit:cover;background:#1020330f}.message-text code{padding:.14em .36em;border-radius:.45em;font-family:IBM Plex Mono,SFMono-Regular,monospace;font-size:.92em;background:#1020331a}.message-text pre{overflow-x:auto;padding:12px 14px;border-radius:14px;background:#102033eb;color:#f8fafc}.message-text pre code{display:block;padding:0;background:transparent;color:inherit;white-space:pre}.message-text blockquote{padding-left:14px;border-left:3px solid rgba(63,63,70,.32);color:var(--color-text-secondary)}.message-row-user .message-text blockquote{border-left-color:#fff6;color:#f8fafcd1}.message-text table{display:block;width:100%;overflow-x:auto;border-collapse:collapse}.message-text th,.message-text td{min-width:120px;padding:8px 10px;border:1px solid rgba(16,32,51,.12);text-align:left;vertical-align:top}.message-row-user .message-text th,.message-row-user .message-text td{border-color:#f8fafc29}.message-time{display:block;margin-top:10px;font-size:12px;opacity:.64}.history-state,.empty-state{text-align:center;color:var(--color-text-secondary);font-size:13px;line-height:1.5}.history-state{margin-bottom:14px}.empty-state{display:grid;place-items:center;min-height:240px}.submit-button,.icon-button{height:44px;border-radius:14px;font-size:14px;font-weight:700;cursor:pointer;transition:background-color .14s ease,color .14s ease,transform .14s ease,opacity .14s ease}.submit-button{min-width:136px;color:#fff;background:var(--color-accent)}.submit-button:hover{background:var(--color-accent-hover)}.icon-button{display:inline-grid;place-items:center;width:44px;padding:0;color:var(--color-calm);background:transparent}.icon-button:hover{background:#3f3f4629}.icon-button svg{width:20px;height:20px;fill:currentColor}.account-menu{position:absolute;top:50%;right:20px;transform:translateY(-50%);z-index:20}.account-menu-button{position:relative}.account-menu-popover{position:absolute;top:calc(100% + 10px);right:0;min-width:180px;padding:10px 0;border:1px solid rgba(24,24,27,.1);border-radius:16px;background:#fffffff5;box-shadow:0 18px 40px #18181b24;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.account-menu-login{margin:0;padding:0 14px 10px;font-size:14px;font-weight:600;color:var(--color-text-primary);overflow-wrap:anywhere}.account-menu-divider{height:1px;margin:0 10px 8px;background:#18181b14}.account-menu-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 14px 10px}.account-menu-toggle-label{color:var(--color-text-primary);font-size:14px}.account-menu-action{width:100%;padding:10px 14px;border:0;background:transparent;color:var(--color-text-primary);font-size:14px;text-align:left;cursor:pointer;transition:background-color .14s ease}.account-menu-action:disabled{cursor:wait}.account-menu-action:hover{background:#18181b0f}.toggle-switch{position:relative;display:inline-flex;flex:0 0 auto}.toggle-switch-input{position:absolute;inset:0;margin:0;opacity:0;cursor:pointer}.toggle-switch-track{position:relative;display:inline-flex;align-items:center;width:42px;height:24px;padding:2px;border-radius:999px;background:#3f3f4633;transition:background-color .14s ease}.toggle-switch-thumb{display:block;width:20px;height:20px;border-radius:999px;background:#fff;box-shadow:0 1px 4px #18181b33;transition:transform .14s ease}.toggle-switch-on .toggle-switch-track{background:var(--color-accent)}.toggle-switch-on .toggle-switch-thumb{transform:translate(18px)}.toggle-switch-disabled{opacity:.55}.toggle-switch-disabled .toggle-switch-input{cursor:not-allowed}.submit-button:active,.icon-button:active{transform:scale(.98)}.submit-button:disabled,.icon-button:disabled{opacity:.7;cursor:wait}.composer-shell{display:flex;align-items:flex-end;flex:1 1 auto;min-width:0;padding:10px 12px;border:1px solid var(--color-border);border-radius:18px;background:var(--color-surface-strong)}.composer-shell .composer-field{flex:1 1 auto;min-width:0}.submit-icon-button{display:inline-grid;place-items:center;flex:0 0 auto;width:40px;height:40px;padding:0;border:0;border-radius:999px;background:transparent;cursor:pointer;transition:background-color .14s ease,transform .14s ease,opacity .14s ease}.submit-icon-button:hover{background:#18181b24}.submit-icon-button img{width:18px;height:18px;object-fit:contain}.error-message{margin:0;color:var(--color-danger);font-size:14px;line-height:1.4}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:767px){html,body,#app{height:100%;overflow:hidden}.page-shell{height:100dvh;min-height:100dvh;padding:0;overflow:hidden}.chat-shell{position:fixed;inset:0;min-height:0;gap:0;width:auto;height:auto;max-height:none;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.chat-header{display:flex;align-items:center;min-height:60px;padding:calc(16px + env(safe-area-inset-top)) 72px 16px 16px;background:#ffffffc7;border-bottom:1px solid rgba(24,24,27,.08)}.chat-title{gap:10px;font-size:18px}.chat-title-logo{width:34px;height:34px}.account-menu{right:16px}.chat-viewport{min-height:0;padding:16px;border:0;border-radius:0;background:url(/chat_wallpaper.svg) 0 0 / 230px 230px repeat,transparent;overflow-y:auto;-webkit-overflow-scrolling:touch}.message-bubble{max-width:100%}.composer{gap:12px;padding:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom));background:#ffffffc7;border-top:1px solid rgba(24,24,27,.08)}.account-menu-popover{top:calc(100% + 8px);right:0;min-width:168px}.composer-shell{gap:10px}}
