@import "https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;1,600&display=swap";:root{color:#172033;font-synthesis:none;background:#f4f6fa;font-family:Manrope,Arial,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,textarea{font:inherit}button{cursor:pointer;border:0}button:disabled{cursor:not-allowed}.brand{letter-spacing:-1.2px;align-items:center;gap:8px;font-size:21px;font-weight:700;display:flex}.brand-ai{color:#3479e9;margin-left:2px}.brand-mark{color:#fff;background:#1765d7;border-radius:8px;place-items:center;width:30px;height:30px;display:grid;box-shadow:inset 0 -1px #07397d}.eyebrow{letter-spacing:1.4px;color:#7d8a9f;margin:0 0 12px;font:500 9px DM Mono,monospace}.auth-page{background:#fff;grid-template-columns:1.02fr .98fr;min-height:100vh;display:grid}.auth-intro{color:#17294b;background:#edf4ff;flex-direction:column;min-height:100vh;padding:46px clamp(40px,8vw,126px);display:flex;position:relative;overflow:hidden}.auth-intro:before{content:"";background-image:linear-gradient(#1765d70d 1px,#0000 1px),linear-gradient(90deg,#1765d70d 1px,#0000 1px);background-size:34px 34px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(130deg,#000 0%,#0000 72%);mask-image:linear-gradient(130deg,#000 0%,#0000 72%)}.auth-intro:after{content:"";opacity:.09;border:42px solid #1765d7;border-radius:50%;width:570px;height:570px;position:absolute;bottom:-280px;right:-235px;box-shadow:0 0 0 45px #1765d7}.auth-intro>*{z-index:1;position:relative}.intro-copy{margin:auto 0}.intro-copy .eyebrow{color:#2765bc}.intro-copy h1{letter-spacing:-2.7px;margin:0 0 26px;font:600 clamp(39px,5vw,68px)/1.11 Playfair Display,serif}.intro-copy h1 em{color:#1765d7}.intro-copy>p:last-child{color:#61718c;max-width:405px;font-size:15px;line-height:1.75}.intro-note{color:#7a8ba5;font:10px DM Mono,monospace}.auth-card-wrap{place-items:center;padding:36px;display:grid}.auth-card{gap:19px;width:min(100%,390px);display:grid}.auth-card h2{letter-spacing:-1.25px;margin:0 0 8px;font-size:27px}.muted{color:#7d8796;margin:0;font-size:13px;line-height:1.6}.auth-card label{color:#505c70;gap:7px;font-size:12px;font-weight:600;display:grid}.auth-card input{background:#fff;border:1px solid #dce2ec;border-radius:7px;outline:0;height:47px;padding:0 14px;font-size:14px;transition:all .2s}.auth-card input:focus{border-color:#4382df;box-shadow:0 0 0 3px #1c70dd18}.primary-button{color:#fff;background:#1765d7;border-radius:7px;justify-content:center;align-items:center;gap:11px;height:48px;font-size:13px;font-weight:700;transition:all .2s;display:flex;box-shadow:0 4px 9px #1765d728}.primary-button:hover{background:#0e56be;transform:translateY(-1px)}.switch-auth{text-align:center;color:#7c8693;font-size:12px}.switch-auth button{color:#1765d7;background:0 0;font-size:12px;font-weight:700;text-decoration:underline}.form-error{color:#a03c3c;background:#fff1f0;border-radius:6px;margin:0;padding:9px 11px;font-size:12px}.app-shell{min-height:100vh;display:flex}.sidebar{z-index:2;background:#fff;border-right:1px solid #e1e6ee;flex-direction:column;flex:none;gap:18px;width:280px;padding:20px 14px 14px;display:flex}.sidebar-top{justify-content:space-between;align-items:center;padding:0 8px;display:flex}.new-chat{color:#fff;background:#1765d7;border-radius:7px;align-items:center;gap:9px;height:42px;padding:0 12px;font-size:12px;font-weight:700;transition:all .2s;display:flex;box-shadow:0 3px 8px #1765d724}.new-chat:hover{background:#0e56be}.new-chat kbd{color:#d7e7ff;border:1px solid #81b0f2;border-radius:3px;margin-left:auto;padding:2px 4px;font:10px DM Mono,monospace}.history-label{letter-spacing:1.2px;color:#8490a2;justify-content:space-between;align-items:center;padding:4px 8px 0;font:10px DM Mono,monospace;display:flex}.history-label button{color:#6a7a90;background:0 0;padding:3px}.chat-list{flex-direction:column;flex:1;gap:3px;display:flex;overflow:auto}.chat-row{border-radius:7px;position:relative}.chat-row.active{background:#eef5ff}.chat-item{text-align:left;color:#46546b;background:0 0;border-radius:7px;gap:4px;width:100%;padding:11px 37px 11px 10px;transition:all .18s;display:grid;position:relative}.chat-row:hover,.chat-row:hover .chat-item{background:#f4f7fb}.chat-row.active:hover,.chat-row.active:hover .chat-item{background:#e8f2ff}.chat-title{white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:700;overflow:hidden}.chat-preview{color:#8a96a5;white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.chat-date{color:#98a2b0;font:9px DM Mono,monospace;position:absolute;top:12px;right:9px}.delete-chat{color:#8893a2;opacity:0;background:#fff;border-radius:5px;place-items:center;width:24px;height:24px;transition:all .15s;display:grid;position:absolute;bottom:8px;right:7px}.chat-row:hover .delete-chat,.delete-chat:focus{opacity:1}.delete-chat:hover{color:#d24242;background:#fff1f0}.account{border-top:1px solid #e5e9ef;align-items:center;gap:9px;padding:13px 7px 3px;display:flex}.avatar{color:#1765d7;background:#e3efff;border-radius:7px;place-items:center;width:29px;height:29px;font-size:11px;font-weight:700;display:grid}.account-data{flex:1;gap:2px;min-width:0;display:grid}.account-data strong{color:#334158;font-size:11px}.account-data span{color:#8994a1;text-overflow:ellipsis;font-size:9px;overflow:hidden}.home-button{color:#65758a;background:#f3f6fa;border-radius:6px;place-items:center;width:31px;height:31px;display:grid}.home-button:hover{color:#1765d7;background:#e5f0ff}.chat-main{background:#f7f9fc;flex-direction:column;flex:1;min-width:0;display:flex}.chat-header{background:#fff;border-bottom:1px solid #e4e8ef;flex:none;align-items:center;gap:11px;height:74px;padding:0 clamp(22px,5vw,68px);display:flex}.chat-header h2{letter-spacing:-.4px;color:#28364b;margin:0;font-size:15px}.chat-header .eyebrow{margin-bottom:5px;font-size:8px}.icon-button{color:#6f7f92;background:0 0;border-radius:6px;place-items:center;width:35px;height:35px;display:grid}.icon-button:hover{color:#1765d7;background:#eaf1fa}.conversation{flex:1;width:min(100%,900px);margin:0 auto;padding:42px clamp(22px,5vw,70px);overflow:auto}.empty-conversation{place-items:center;padding-bottom:90px;display:grid}.welcome{text-align:center;max-width:520px}.welcome-icon{color:#fff;background:#1765d7;border-radius:15px;place-items:center;width:55px;height:55px;margin:0 auto 18px;display:grid;box-shadow:0 11px 24px #1765d735}.welcome h1{letter-spacing:-1.7px;color:#273d60;margin:0 0 15px;font:600 clamp(30px,4vw,46px)/1.15 Playfair Display,serif}.welcome>p:last-of-type{color:#748198;margin:0 auto;font-size:13px;line-height:1.7}.welcome-create{color:#fff;background:#1765d7;border-radius:7px;align-items:center;gap:8px;margin-top:24px;padding:10px 13px;font-size:12px;font-weight:700;display:inline-flex}.messages{gap:29px;display:grid}.message{grid-template-columns:29px 1fr;gap:13px;max-width:760px;display:grid}.message-avatar{color:#fff;background:#1765d7;border-radius:7px;place-items:center;width:28px;height:28px;font:8px DM Mono,monospace;display:grid}.message.user .message-avatar{color:#627086;background:#e6ebf2}.message-content>span{color:#8491a2;letter-spacing:1px;margin:2px 0 7px;font:9px DM Mono,monospace;display:block}.message-content p{color:#3c4a5f;white-space:pre-wrap;margin:0;font-size:13px;line-height:1.75}.message.user{grid-template-columns:1fr 29px;margin-left:auto}.message.user .message-avatar{grid-column:2}.message.user .message-content{text-align:right;grid-area:1/1}.typing{align-items:center;gap:4px;height:25px;display:flex}.typing i{background:#5f8fde;border-radius:50%;width:5px;height:5px;animation:1s infinite blink}.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}@keyframes blink{50%{opacity:.25;transform:translateY(-2px)}}.composer{background:#fff;border:1px solid #dbe2ec;border-radius:9px;width:min(100% - 44px,760px);margin:0 auto 28px;padding:13px 52px 29px 15px;transition:all .2s;position:relative;box-shadow:0 4px 16px #1b3e710b}.composer:focus-within{border-color:#7cabef;box-shadow:0 4px 20px #1b65c818}.composer textarea{resize:none;color:#303e51;background:0 0;border:0;outline:0;width:100%;min-height:26px;max-height:150px;font-size:13px;line-height:1.7;display:block}.composer textarea::placeholder{color:#9ba7b5}.composer>button{color:#fff;background:#1765d7;border-radius:7px;place-items:center;width:32px;height:32px;display:grid;position:absolute;top:11px;right:11px}.composer>button:disabled{color:#9ca8b4;background:#e5eaf1}.composer p{color:#9ba5b0;margin:0;font-size:9px;position:absolute;bottom:8px;left:15px}.composer p span{border:1px solid #e1e5ea;border-radius:3px;padding:1px 3px;font:9px DM Mono,monospace}.mobile-menu,.mobile-only,.mobile-overlay{display:none}@media (width<=700px){.auth-page{grid-template-columns:1fr}.auth-intro{min-height:300px;padding:28px}.intro-copy{margin:auto 0 20px}.intro-copy h1{font-size:39px}.intro-note{display:none}.auth-card-wrap{padding:45px 27px}.sidebar{width:min(82vw,290px);transition:transform .25s;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.sidebar.is-open{transform:translate(0)}.sidebar.is-open~.mobile-overlay{z-index:1;background:#182a4566;display:block;position:fixed;inset:0}.mobile-menu,.mobile-only{display:grid}.chat-header{height:65px;padding:0 13px}.conversation{padding:30px 20px}.empty-conversation{padding-bottom:60px}.composer{width:calc(100% - 28px);margin-bottom:14px}.message{gap:9px}.message-content p{font-size:12px}.delete-chat{opacity:1}}.chat-header{padding:0}.chat-header-inner{align-items:center;gap:11px;width:min(100% - 44px,760px);height:100%;margin:0 auto;display:flex}.desktop-status{color:#7b8898;align-items:center;gap:7px;margin-left:auto;font:10px DM Mono,monospace;display:flex}.desktop-status i{background:#27a16a;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 3px #27a16a1c}@media (width>=1100px){.sidebar{width:310px;padding:24px 18px 16px}.chat-header{height:82px}.conversation{width:min(100%,920px);padding-top:48px;padding-bottom:40px}.composer{margin-bottom:34px}.messages{gap:34px}.message-content p{font-size:14px;line-height:1.8}.welcome{transform:translateY(-2vh)}}@media (width>=1500px){.sidebar{width:330px}.conversation{width:min(100%,980px)}.chat-header-inner,.composer{width:760px}.empty-conversation{padding-bottom:120px}}@media (width<=700px){.chat-header-inner{width:100%}.desktop-status{display:none}}.task-notice{color:#3a4d68;background:#eef5ff;border-bottom:1px solid #e4e8ef;margin:0;padding:10px 22px;font-size:12px;line-height:1.45}.delivery-failed{color:#a03c3c;font-size:11px;position:absolute;bottom:8px;right:15px}.delivery-note{color:#8a4b12;background:#fff6e8;border-radius:8px;width:min(100% - 44px,760px);margin:0 auto 8px;padding:10px 14px;font-size:13px;font-weight:650;line-height:1.45}.delivery-note.failed{color:#8d2f2f;background:#fff1f0}.auth-visual{background:#0d48bd;border-radius:12px;width:min(100%,430px);height:175px;margin:0 0 26px;position:relative;overflow:hidden;box-shadow:0 18px 35px #1765d72b}.auth-visual-art{object-fit:cover;object-position:center;opacity:.92;mix-blend-mode:screen;width:100%;height:100%}.auth-visual:after{content:"";background:linear-gradient(90deg,#083990aa,#0000 72%);position:absolute;inset:0}.auth-visual-caption{z-index:1;color:#fff;gap:8px;display:grid;position:absolute;top:21px;left:22px}.auth-visual-caption span{letter-spacing:1.2px;opacity:.78;font:9px DM Mono,monospace}.auth-visual-caption strong{letter-spacing:-.5px;font-size:18px;line-height:1.22}.auth-visual-mark{z-index:1;opacity:.18;filter:brightness(0)invert();width:155px;position:absolute;bottom:-8px;right:-7px}.sidebar-poster{color:#fff;background:#0e57d0;border-radius:8px;flex:none;height:86px;margin:2px 0 3px;position:relative;overflow:hidden}.sidebar-poster:after{content:"";background:linear-gradient(90deg,#083f9ccc,#0000 100%);position:absolute;inset:0}.sidebar-poster img{object-fit:cover;object-position:center 37%;opacity:.68;width:100%;height:100%;position:absolute;inset:0}.sidebar-poster div{z-index:1;align-content:center;gap:5px;padding:13px;display:grid;position:absolute;inset:0}.sidebar-poster span{letter-spacing:1px;color:#bcd9ff;font:8px DM Mono,monospace}.sidebar-poster strong{font-size:11px;line-height:1.25}.welcome-image{border-radius:11px;width:144px;height:92px;margin:0 auto 17px;position:relative;overflow:hidden;box-shadow:0 10px 22px #253e651f}.welcome-image>img{object-fit:cover;object-position:center 56%;filter:saturate(.78);width:100%;height:100%}.welcome-image .welcome-icon{border-radius:9px;width:35px;height:35px;margin:0;position:absolute;bottom:8px;right:9px;box-shadow:0 4px 11px #0b3f9245}.welcome .welcome-icon{color:#fff;background:#1765d7;place-items:center;display:grid}@media (width<=700px){.auth-visual,.sidebar-poster{display:none}}.message{align-items:start;min-width:0;max-width:min(100%,760px)}.message .message-content{border-radius:12px;width:fit-content;min-width:0;max-width:min(100%,640px);padding:8px 12px 10px}.message.assistant .message-content{background:#fff;border:1px solid #e1e8f2}.message.user .message-content{text-align:left;background:#e4f0ff;border:1px solid #c5daf6;justify-self:end}.message.user .message-content p{color:#1d3558}.message.user .message-content>span{color:#3d6fbf}.composer>button{top:auto;bottom:30px}.composer textarea{overflow-y:hidden}.chat-header-inner>div{flex:1;min-width:0}.chat-header h2{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.theme-toggle{color:#3e5168;background:#eef3fa;border-radius:7px;height:32px;margin-left:auto;padding:0 10px;font-size:12px;font-weight:700}.theme-toggle:hover{color:#1765d7;background:#e3edf8}.desktop-status{margin-left:8px}.auth-tools{justify-content:flex-end;display:flex}.auth-tools .theme-toggle{margin-left:0}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#e6edf5;background:#141a22}html[data-theme=dark] body{color:#e6edf5;background:#141a22}html[data-theme=dark] .auth-page{background:#10161d}html[data-theme=dark] .auth-intro{color:#e6edf5;background:#122033}html[data-theme=dark] .intro-copy>p:last-child{color:#a9b6c7}html[data-theme=dark] .intro-note{color:#8ea0b5}html[data-theme=dark] .auth-card h2{color:#e6edf5}html[data-theme=dark] .auth-card label{color:#c5d0de}html[data-theme=dark] .muted{color:#9aabbd}html[data-theme=dark] .auth-card input{color:#e6edf5;background:#141a22;border-color:#334155}html[data-theme=dark] .sidebar{background:#10161d;border-color:#2a3544}html[data-theme=dark] .chat-main{background:#141a22}html[data-theme=dark] .chat-header{background:#10161d;border-color:#2a3544}html[data-theme=dark] .chat-header h2{color:#e6edf5}html[data-theme=dark] .eyebrow{color:#93a4b8}html[data-theme=dark] .task-notice{color:#d5e2f2;background:#18283b;border-color:#2a3544}html[data-theme=dark] .desktop-status{color:#9aabbd}html[data-theme=dark] .icon-button{color:#b7c4d4}html[data-theme=dark] .icon-button:hover{color:#8eb6f0;background:#243041}html[data-theme=dark] .chat-item{color:#d5deea}html[data-theme=dark] .chat-title{color:#e6edf5}html[data-theme=dark] .chat-preview{color:#93a4b8}html[data-theme=dark] .chat-date{color:#7f90a3}html[data-theme=dark] .chat-row:hover,html[data-theme=dark] .chat-row:hover .chat-item{background:#1a232e}html[data-theme=dark] .chat-row.active,html[data-theme=dark] .chat-row.active:hover,html[data-theme=dark] .chat-row.active .chat-item,html[data-theme=dark] .chat-row.active:hover .chat-item{background:#1a334f}html[data-theme=dark] .account{border-color:#2a3544}html[data-theme=dark] .account-data strong{color:#e6edf5}html[data-theme=dark] .account-data span{color:#93a4b8}html[data-theme=dark] .avatar{color:#9ec0f0;background:#1a334f}html[data-theme=dark] .home-button,html[data-theme=dark] .delete-chat{color:#b7c4d4;background:#1a232e}html[data-theme=dark] .history-label{color:#93a4b8}html[data-theme=dark] .welcome h1{color:#e6edf5}html[data-theme=dark] .welcome>p:last-of-type{color:#a9b6c7}html[data-theme=dark] .message.assistant .message-content{background:#1d2632;border-color:#334155}html[data-theme=dark] .message.assistant .message-content p{color:#d7e0ea}html[data-theme=dark] .message.assistant .message-content>span{color:#93a4b8}html[data-theme=dark] .message.user .message-avatar{color:#d5e2f2;background:#243044}html[data-theme=dark] .message.user .message-content{background:#1a3f6e;border-color:#2f5f98}html[data-theme=dark] .message.user .message-content p{color:#e7f1ff}html[data-theme=dark] .message.user .message-content>span{color:#9ec0f0}html[data-theme=dark] .composer{background:#1b232e;border-color:#334155}html[data-theme=dark] .composer textarea{color:#e6edf5}html[data-theme=dark] .composer textarea::placeholder,html[data-theme=dark] .composer p{color:#7f90a3}html[data-theme=dark] .delivery-note{color:#f3d7a6;background:#3a2a16}html[data-theme=dark] .delivery-note.failed{color:#f3c7c7;background:#3a1d1d}html[data-theme=dark] .theme-toggle{color:#d5e2f2;background:#243041}html[data-theme=dark] .theme-toggle:hover{color:#fff;background:#2c3c50}@media (width<=700px){.theme-toggle{padding:0 8px}}.app-shell{height:100dvh;min-height:0;max-height:100dvh;overflow:hidden}.sidebar,.chat-main{min-height:0;overflow:hidden}.sidebar>:not(.chat-list),.chat-header,.task-notice,.delivery-note,.composer{flex:none}.conversation,.chat-list{overscroll-behavior:contain;min-height:0;overflow:hidden auto}.composer{padding-left:48px}.composer>p{left:48px}.composer>.attach{color:#5d6b80;background:0 0;border-radius:7px;width:32px;height:32px;position:absolute;inset:auto auto 30px 11px}.composer>.attach:disabled{color:#b0b8c4;background:0 0}.file-chips{flex-wrap:wrap;gap:6px;margin:0 0 8px;padding:0;list-style:none;display:flex}.file-chips li{color:#1d3558;background:#eef4ff;border-radius:7px;align-items:center;gap:6px;max-width:100%;padding:4px 6px 4px 8px;font-size:12px;display:flex}.file-chips span{text-overflow:ellipsis;white-space:nowrap;max-width:220px;overflow:hidden}.file-chips button{color:#5d6b80;background:0 0;border-radius:5px;width:18px;height:18px}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.message.assistant .message-content:has(.data-card){width:min(100%,720px);max-width:min(100%,720px)}.data-card{background:#fff;border:1px solid #e1e8f2;border-radius:12px;margin-top:8px;padding:12px}.data-card header{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px;display:flex}.data-card h3{letter-spacing:-.2px;margin:0;font-size:14px}.data-card header p,.report-notes{color:#7d8a9f;margin:0;font:11px DM Mono,monospace}.chart-svg,.pie-svg{width:100%;height:auto;display:block}.chart-grid{stroke:#e6edf5;stroke-width:1px}.chart-label{fill:#66758a;font-family:Manrope,Arial,sans-serif;font-size:11px}.chart-legend{flex-wrap:wrap;gap:8px 14px;margin:8px 0 0;padding:0;list-style:none;display:flex}.chart-legend li{color:#334155;align-items:center;gap:6px;font-size:12px;display:flex}.chart-legend i{border-radius:99px;width:8px;height:8px;display:block}.chart-legend b{font-variant-numeric:tabular-nums;font-weight:650}.pie-layout{grid-template-columns:148px 1fr;align-items:center;gap:8px;display:grid}.pie-svg{width:148px}.report-scroll{max-height:320px;overflow:auto}.data-card table{border-collapse:collapse;width:100%;font-size:13px}.data-card th{text-align:left;color:#66758a;border-bottom:1px solid #e1e8f2;padding:6px 8px;font-size:11px;font-weight:650}.data-card td{vertical-align:top;border-bottom:1px solid #eef2f7;padding:7px 8px}.data-card td.num{text-align:right;font-variant-numeric:tabular-nums}.report-notes{margin-top:8px}.msg-files{flex-wrap:wrap;gap:6px;margin:8px 0 0;padding:0;list-style:none;display:flex}.msg-files a,.msg-files li{color:#1765d7;background:#eef4ff;border-radius:7px;padding:4px 8px;font-size:12px;text-decoration:none}.chart-empty{color:#66758a;margin:8px 0 0;font-size:13px}html[data-theme=dark] .file-chips li,html[data-theme=dark] .msg-files a,html[data-theme=dark] .msg-files li{color:#d7e6ff;background:#1a3f6e}html[data-theme=dark] .composer>.attach{color:#9eb0c6}html[data-theme=dark] .data-card{background:#18212c;border-color:#334155}html[data-theme=dark] .chart-grid{stroke:#2c3a4c}html[data-theme=dark] .chart-label,html[data-theme=dark] .data-card header p,html[data-theme=dark] .report-notes{color:#93a4b8;fill:#93a4b8}html[data-theme=dark] .chart-legend li{color:#d7e0ea}html[data-theme=dark] .data-card td{border-bottom-color:#2c3a4c}html[data-theme=dark] .data-card th{color:#93a4b8;border-bottom-color:#334155}@media (width<=700px){.pie-layout{grid-template-columns:1fr}}
