:root{--navy-950: #021a30;--navy-900: #04294b;--ink: #0b3555;--ink-soft: #24455c;--muted: #6b8aa3;--blue-700: #0d62bf;--blue-600: #1876c9;--blue-500: #1f86e0;--cyan-400: #4fd6f5;--cyan-300: #8ee9ff;--canvas: #f3f8fc;--line: #e7f1f8;--white: #ffffff;font-family:Inter,Segoe UI,system-ui,-apple-system,Helvetica Neue,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--canvas);font-size:16px}button,input{font-family:inherit}button{cursor:pointer}.brand{display:flex;align-items:center;gap:14px}.drop-mark{display:block;flex-shrink:0;object-fit:contain;border-radius:22%}.brand--compact{gap:10px}.brand__name{font-size:1.9rem;font-weight:700;letter-spacing:-.02em;color:#fff;line-height:1.1}.brand__name span{color:var(--cyan-400)}.brand--compact .brand__name{font-size:1.3rem}.brand__claim{margin-top:7px;font-size:.63rem;line-height:1.5;letter-spacing:.15em;text-transform:uppercase;color:#a9cde3}.composer{display:flex;align-items:center;gap:12px;width:100%;background:#fff;border:1px solid rgba(255,255,255,.6);border-radius:999px;padding:8px 10px 8px 22px;box-shadow:0 18px 44px #031e3c42;transition:box-shadow .2s ease}.composer:focus-within{box-shadow:0 18px 44px #031e3c4d,0 0 0 3px #4fd6f559}.composer--hero{min-height:70px;padding-left:26px}.composer--chat{min-height:62px;border-color:var(--line);box-shadow:0 14px 34px #1048741f}.composer__lead{display:grid;place-items:center;width:26px;height:26px;flex-shrink:0;color:#7aa9c4}.composer__lead svg{width:22px;height:22px}.composer__input{flex:1;min-width:0;border:none;outline:none;background:transparent;font-size:1.01rem;color:var(--ink);padding:12px 0}.composer__input::placeholder{color:#8aa8bd}.composer__submit{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;border:none;border-radius:50%;color:#fff;background:linear-gradient(135deg,#2b9bf0,#0b5fc0);box-shadow:0 8px 18px #0b5fbe66;transition:transform .18s ease,opacity .18s ease}.composer__submit svg{width:23px;height:23px}.composer__submit:hover:not(:disabled){transform:scale(1.06)}.composer__submit:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.welcome{position:relative;min-height:100%;display:flex;flex-direction:column;padding:30px 48px 34px;overflow:hidden;color:#f2fbff;background:linear-gradient(100deg,#021226f2,#02162edb 34%,#021a346b 66%,#021a341f),linear-gradient(180deg,#0212268c,#02122600 42%,#02122680),url(/background.png) center / cover no-repeat,#021a33}.welcome__header{position:relative;z-index:1;width:100%;max-width:1360px;margin:0 auto}.welcome__main{position:relative;z-index:1;flex:1;width:100%;max-width:1360px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr) 220px;grid-template-areas:"copy visual features" "actions actions features";align-items:center;column-gap:28px;row-gap:10px;padding-top:18px}.welcome__copy{grid-area:copy;align-self:end}.welcome__copy h1{margin:0;font-size:clamp(2.5rem,4.15vw,4.15rem);line-height:1.04;letter-spacing:-.03em;font-weight:700;color:#fff}.welcome__accent{color:#45d7f6}.welcome__copy p{max-width:500px;margin:26px 0 0;font-size:1.02rem;line-height:1.62;color:#d5eaf8}.welcome__visual{grid-area:visual;display:flex;justify-content:center;align-items:center}.mascot{width:100%;max-width:430px;height:auto;object-fit:contain;animation:float 7s ease-in-out infinite}.welcome__features{grid-area:features;list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:28px;align-self:center}.welcome__features li{display:flex;align-items:center;gap:15px}.feature__icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:50%;border:1.5px solid rgba(140,224,252,.6);color:#7fe0fb;background:#35a8f01f}.feature__icon svg{width:21px;height:21px}.feature__label{display:flex;flex-direction:column;font-size:.95rem;line-height:1.35;color:#e2f3ff}.welcome__actions{grid-area:actions;margin-top:22px;max-width:940px}.chips{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.chip{display:inline-flex;align-items:center;gap:10px;padding:11px 20px;border-radius:999px;border:1px solid rgba(150,220,255,.36);background:#ffffff12;color:#eaf8ff;font-size:.9rem;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background .18s ease,border-color .18s ease,transform .18s ease}.chip:hover{background:#59c8f52e;border-color:#a8e9ffb3;transform:translateY(-1px)}.chip__icon{width:16px;height:16px;color:#59dcf8}.welcome__note{margin:16px 0 0;font-size:.76rem;color:#cbe8f98c}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-14px)}}.shell{display:grid;grid-template-columns:268px minmax(0,1fr);height:100vh;overflow:hidden}.shell--chat{grid-template-columns:268px minmax(0,1fr) 336px}.sidebar{position:relative;display:flex;flex-direction:column;gap:22px;padding:26px 20px 22px;overflow:hidden;color:#e9f6ff;background:linear-gradient(180deg,#062f56,#04213c 58%,#031a31)}.sidebar__brand{padding:2px 4px;border:none;background:none;color:inherit;text-align:left}.sidebar__nav{display:flex;flex-direction:column;gap:6px}.nav-item{display:flex;align-items:center;gap:14px;padding:13px 16px;border:none;border-radius:12px;background:transparent;color:#b9d5e8;font-size:.97rem;text-align:left;transition:background .16s ease,color .16s ease}.nav-item__icon{width:21px;height:21px;flex-shrink:0}.nav-item:hover{background:#ffffff12;color:#fff}.nav-item--active{background:linear-gradient(135deg,#1b8ae8,#0f6fd0);color:#fff;box-shadow:0 10px 24px #0b5fbe73}.sidebar__new{display:flex;align-items:center;gap:10px;padding:11px 14px;border:1px dashed rgba(140,215,255,.34);border-radius:10px;background:#ffffff0d;color:#cfeafb;font-size:.86rem;transition:background .16s ease}.sidebar__new svg{width:17px;height:17px}.sidebar__new:hover{background:#59c8f529}.sidebar__water{position:relative;height:190px;margin:auto -20px 0}.sidebar__water svg{width:100%;height:100%}.sidebar__claim{position:relative;margin:-14px 0 0;font-size:.93rem;line-height:1.52;color:#bfe0f3}.main{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:var(--canvas)}.chat{display:flex;flex-direction:column;height:100vh;min-height:0}.chat__scroll{flex:1;overflow-y:auto;padding:36px 34px 10px;scrollbar-width:thin;scrollbar-color:#cfe0ed transparent}.chat__scroll::-webkit-scrollbar{width:8px;margin:0 4px}.chat__scroll::-webkit-scrollbar-thumb{background:#d2e3ef;border-radius:8px}.chat__thread{display:flex;flex-direction:column;gap:26px;max-width:880px;margin:0 auto}.row{display:flex;gap:12px;animation:rise .28s ease-out both}.row--user{justify-content:flex-end;align-items:flex-start}.row--assistant{align-items:flex-start}@keyframes rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.avatar{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:50%;color:#fff;background:linear-gradient(135deg,#2196e6,#0b62c3);box-shadow:0 6px 16px #105aa03d}.avatar--user svg{width:22px;height:22px}.avatar--assistant{width:44px;height:44px;background:none;box-shadow:none}.avatar__image{display:block;width:100%;height:100%;object-fit:contain}.bubble{max-width:680px;min-width:0}.bubble--user{padding:15px 20px;border-radius:16px 16px 4px;background:#dceefb;box-shadow:0 6px 18px #12497814}.bubble--user p{margin:0;font-size:.95rem;line-height:1.6;color:#0b3555;white-space:pre-wrap}.bubble__meta{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:8px;font-size:.71rem;color:#8fb0c6}.bubble__meta--assistant{justify-content:flex-start;margin-top:14px;color:#a3bccc}.tick{width:15px;height:15px;color:#2f9ae0}.bubble--assistant{flex:1;padding:22px 26px;border:1px solid #e9f2f9;border-radius:16px;background:#fff;box-shadow:0 10px 30px #11487412}.bubble__error{margin:12px 0 0;padding:10px 12px;border-radius:8px;background:#fdf1f0;color:#b3261e;font-size:.87rem}.thinking{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.9rem}.thinking__dots{display:inline-flex;gap:5px}.thinking__dots i{width:7px;height:7px;border-radius:50%;background:#2a9ede;animation:pulse 1.2s infinite ease-in-out}.thinking__dots i:nth-child(2){animation-delay:.15s}.thinking__dots i:nth-child(3){animation-delay:.3s}@keyframes pulse{0%,to{opacity:.25;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}.caret{display:inline-block;width:8px;height:17px;margin-left:3px;vertical-align:text-bottom;border-radius:2px;background:var(--blue-500);animation:blink 1s steps(2,start) infinite}@keyframes blink{to{visibility:hidden}}.markdown{font-size:.95rem;line-height:1.68;color:var(--ink-soft)}.markdown>*:first-child{margin-top:0}.markdown>*:last-child{margin-bottom:0}.markdown p{margin:.65em 0}.markdown strong{color:var(--ink);font-weight:650}.markdown h1,.markdown h2,.markdown h3,.markdown h4{margin:1em 0 .5em;color:var(--ink);font-size:1rem;font-weight:650;letter-spacing:-.01em}.markdown ol{counter-reset:step;list-style:none;margin:12px 0;padding:0;display:flex;flex-direction:column;gap:12px}.markdown ol>li{counter-increment:step;position:relative;padding-left:42px}.markdown ol>li:before{content:counter(step);position:absolute;top:2px;left:0;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--blue-500);color:#fff;font-size:.76rem;font-weight:700;box-shadow:0 0 0 4px #e8f4fd}.markdown ul{margin:10px 0;padding-left:20px;display:flex;flex-direction:column;gap:6px}.markdown li::marker{color:var(--blue-500)}.markdown a{color:var(--blue-600)}.markdown blockquote{margin:12px 0;padding:10px 15px;border-left:3px solid #bfe3f7;border-radius:0 8px 8px 0;background:#f5fbff;color:#3c5d73}.markdown code{padding:2px 6px;border-radius:5px;background:#eef7fd;font-size:.86em}.markdown pre{overflow-x:auto;padding:14px 16px;border-radius:10px;background:#062a48;color:#e6f6ff}.markdown pre code{background:none;color:inherit;padding:0}.markdown__table{overflow-x:auto;margin:12px 0}.markdown table{width:100%;border-collapse:collapse;font-size:.88rem}.markdown th,.markdown td{padding:8px 10px;border:1px solid var(--line);text-align:left;vertical-align:top}.markdown th{background:#f4fafe;color:var(--ink)}.sources{margin-top:20px;padding-top:16px;border-top:1px solid #eaf2f9}.sources__label{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:.68rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#6b93ae}.sources__label svg{width:15px;height:15px}.sources__list{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}.source{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid #e6f0f8;border-radius:10px;background:#f7fbfe;color:inherit;text-decoration:none;transition:background .16s ease,border-color .16s ease,transform .16s ease}.source:hover{border-color:#cfe6f6;background:#eef7fd;transform:translateY(-1px)}.source__icon{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:8px;background:#e4f3fd;color:var(--blue-600)}.source__icon svg{width:17px;height:17px}.source__body{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}.source__body strong{overflow:hidden;color:var(--ink);font-size:.87rem;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.source__body small{overflow:hidden;color:#7793a8;font-size:.76rem;text-overflow:ellipsis;white-space:nowrap}.source__ext{flex-shrink:0;padding:3px 6px;border:1px solid #e2eef7;border-radius:4px;background:#fff;color:#8ba9bd;font-size:.65rem;letter-spacing:.08em}.source__arrow{width:16px;height:16px;flex-shrink:0;color:#8fb0c6}.chat__composer{width:100%;max-width:900px;margin:0 auto;padding:12px 34px 20px}.chat__disclaimer{margin:10px 0 0;text-align:center;font-size:.72rem;color:#8fa9bc}.panel{display:flex;flex-direction:column;gap:22px;padding:22px 20px;overflow-y:auto;border-left:1px solid #e8f1f8;background:#fff;scrollbar-width:thin;scrollbar-color:#dbe9f4 transparent}.panel__banner{position:relative;display:flex;flex-direction:column;gap:14px;justify-content:flex-end;min-height:208px;padding:22px;overflow:hidden;border-radius:12px;background:linear-gradient(180deg,#02122680,#02162cad 48%,#021226e6),url(/background.png) center / cover no-repeat,#04203c;color:#fff}.panel__banner>.drop-mark{position:absolute;top:16px;right:16px;width:48px;height:48px;opacity:.95}.panel__banner p{position:relative;margin:0;font-size:1.03rem;font-weight:600;line-height:1.42;letter-spacing:-.01em}.panel__section{display:flex;flex-direction:column}.panel__title{display:flex;align-items:center;gap:9px;margin:0 0 12px;color:var(--ink);font-size:.94rem;font-weight:600}.panel__title svg{width:18px;height:18px;color:var(--blue-600)}.quick-tips{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}.quick-tip{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:13px 14px;border:1px solid #eaf2f9;border-radius:10px;background:#f6fafd;color:#1b4560;font-size:.84rem;line-height:1.4;text-align:left;transition:background .16s ease,border-color .16s ease}.quick-tip svg{width:16px;height:16px;flex-shrink:0;color:var(--blue-500)}.quick-tip:hover{border-color:#cfe6f6;background:#eef7fd}.assistant-card{display:flex;flex-direction:column;gap:12px;margin-top:auto;padding:16px;border:1px solid #e9f2f9;border-radius:14px;background:#fff;box-shadow:0 8px 24px #1148740f}.assistant-card__head{display:flex;align-items:center;gap:12px}.assistant-card__avatar{display:block;width:40px;height:40px;flex-shrink:0}.assistant-card__head strong{color:var(--ink);font-size:.93rem}.assistant-card__head p{margin:3px 0 0;color:#7793a8;font-size:.78rem}.assistant-card__status{display:flex;align-items:center;gap:8px;color:#1f9d64;font-size:.79rem}.assistant-card__status .dot{width:8px;height:8px;border-radius:50%;background:#22c17b;box-shadow:0 0 0 3px #22c17b2e}.assistant-card__check{width:16px;height:16px;margin-left:auto;color:#c2dbea}.assistant-card__action{display:flex;align-items:center;justify-content:center;gap:8px;padding:9px;border:1px solid #dcecf9;border-radius:9px;background:#f2f9ff;color:#0f6bb8;font-size:.82rem}.assistant-card__action svg{width:16px;height:16px}.assistant-card__action:hover{background:#e7f4fd}.page{height:100vh;max-width:980px;padding:42px 44px;overflow-y:auto}.page__head{display:flex;align-items:flex-start;gap:16px;margin-bottom:28px}.page__icon{display:grid;place-items:center;width:46px;height:46px;flex-shrink:0;border-radius:12px;background:#e7f4fd;color:var(--blue-600)}.page__icon svg{width:23px;height:23px}.page__head h1{margin:0 0 8px;color:var(--ink);font-size:1.6rem;letter-spacing:-.02em}.page__head p{max-width:640px;margin:0;color:var(--muted);font-size:.92rem;line-height:1.62}.page__cards{display:grid;gap:12px;margin-bottom:26px}.page__card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border:1px solid #e6f0f8;border-radius:12px;background:#fff;color:#14405c;font-size:.92rem;text-align:left;box-shadow:0 4px 14px #1148740a;transition:border-color .16s ease,transform .16s ease}.page__card svg{width:18px;height:18px;flex-shrink:0;color:var(--blue-500)}.page__card:hover{border-color:#cfe6f6;transform:translateY(-1px)}.page__empty{padding:22px;border:1px dashed #d9e8f4;border-radius:12px;background:#fbfdff}.page__empty strong{display:block;margin-bottom:6px;color:var(--ink);font-size:.95rem}.page__empty p{margin:0;color:var(--muted);font-size:.88rem;line-height:1.66}.page__status{color:var(--muted);font-size:.9rem}.page__status--error{color:#b3261e}.doc-group{margin-bottom:26px}.doc-group h2{margin:0 0 10px;color:#6b93ae;font-size:.72rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase}.doc-group ul{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}.settings{margin-bottom:22px;padding:4px 18px;border:1px solid #e9f2f9;border-radius:14px;background:#fff}.settings__row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid #f0f6fb;color:var(--muted);font-size:.9rem}.settings__row:last-child{border-bottom:none}.settings__row strong{color:var(--ink);font-weight:600;text-align:right}.settings__path{max-width:62%;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.76rem;word-break:break-all}.settings__ok{color:#1f9d64!important}.button{padding:12px 20px;border:none;border-radius:10px;background:linear-gradient(135deg,#1b8ae8,#0d62bf);color:#fff;font-size:.9rem;box-shadow:0 10px 22px #0b5fbe47}.button:hover{filter:brightness(1.05)}@media(max-width:1240px){.shell--chat{grid-template-columns:248px minmax(0,1fr)}.shell--chat .panel{display:none}.welcome__main{grid-template-columns:minmax(0,1.1fr) minmax(280px,1fr) 190px}}@media(max-width:1080px){.welcome{padding:26px 32px 32px}.welcome__main{grid-template-columns:minmax(0,1fr) minmax(280px,.9fr);grid-template-areas:"copy visual" "actions actions" "features features";row-gap:24px}.welcome__features{flex-direction:row;flex-wrap:wrap;gap:18px 30px}.welcome__features li{flex:0 1 auto}}@media(max-width:860px){.welcome{padding:22px 20px 28px}.welcome__main{grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "visual" "features" "actions";row-gap:22px;padding-top:24px}.welcome__copy h1{font-size:clamp(2.1rem,8vw,2.9rem)}.welcome__copy p{margin-top:18px;font-size:.96rem}.mascot{max-width:260px}.welcome__features{gap:14px 22px}.feature__label{font-size:.86rem}.composer--hero{min-height:62px;padding-left:18px}.chips{gap:8px}.chip{padding:9px 14px;font-size:.82rem}.shell,.shell--chat{grid-template-columns:minmax(0,1fr);height:auto;min-height:100%;overflow:visible}.sidebar{flex-direction:row;align-items:center;gap:12px;padding:12px 14px}.sidebar__nav{flex-direction:row;gap:4px;margin:0;overflow-x:auto}.nav-item{padding:9px 11px}.nav-item span{display:none}.sidebar__new{margin:0;padding:9px}.sidebar__new span,.sidebar__water,.sidebar__claim,.sidebar .brand__claim{display:none}.chat{height:auto;min-height:calc(100vh - 66px)}.chat__scroll{padding:22px 16px 8px}.chat__thread{gap:20px}.avatar{width:34px;height:34px}.avatar--assistant{width:36px;height:36px}.avatar--assistant .avatar__image{width:100%;height:100%}.bubble--assistant{padding:18px}.bubble{max-width:100%}.chat__composer{padding:10px 16px 18px}.page{height:auto;padding:26px 18px 40px}.settings__row{flex-direction:column;align-items:flex-start;gap:6px}.settings__row strong{text-align:left}.settings__path{max-width:100%}}
