/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.hidden{display:none}}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(data:font/woff2;base64,d09GMgABAAAAAAn4ABMAAAAAEwQAAAmOAAEAAAAAAAAAAAAAAA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ze6owHdWluhE5tgQ6ej2SV65CijijoaRfSiH4Nqz1OpfEW+WeI/oU0ly60zkV9YzOQSYtZVEGYmrysTZAJkY4qZtIBD9/LYTIK7Nww3vMiYBwA=)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-greek-wght-normal-DL7QRZyv.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-wght-normal-DHIcAJRg.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{color:#1b211e;font-synthesis:none;background:#efefeb;font-family:Manrope Variable,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,a,textarea,input{font:inherit}button{color:inherit}h1,h2,h3,p{letter-spacing:0}.app-shell{grid-template-columns:5rem minmax(0,1fr);height:100vh;display:grid}.sidebar{color:#e9eee9;background:#173a2b;flex-direction:column;align-items:center;padding:1.25rem 0;display:flex}.brand-mark{aspect-ratio:1;border:1px solid #e9eee96b;place-items:center;width:2.4rem;font-family:Georgia,serif;font-size:1.25rem;display:grid}.side-nav{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:.5rem;width:100%;display:flex}.nav-item,.icon-button{aspect-ratio:1;color:#b7c6bd;cursor:pointer;background:0 0;border:0;place-items:center;width:2.75rem;text-decoration:none;transition:color .14s,background .14s;display:grid}.nav-item svg,.icon-button svg{width:1.15rem}.nav-item span{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.nav-item:hover,.icon-button:hover,.nav-item.active{color:#fff;background:#ffffff1a}.nav-item.active{box-shadow:inset 2px 0 #efb447}.side-status{aspect-ratio:1;place-items:center;width:2.75rem;display:grid}.side-status span{aspect-ratio:1;background:#c26a59;border-radius:50%;width:.45rem}.side-status.online span{background:#4a9870}.workspace{background:#f7f7f4;min-width:0;min-height:0}.date-label{color:#68716c;text-transform:uppercase;margin:0 0 .45rem;font-size:.72rem;font-weight:700}h1{margin:0;font-size:clamp(1.5rem,2.5vw,2rem);font-weight:570}.ghost-button{color:#1b211e;cursor:pointer;background:#fff;border:1px solid #d7dad4;align-items:center;gap:.45rem;min-height:2.4rem;padding:0 .85rem;font-size:.78rem;font-weight:650;display:inline-flex}.ghost-button svg{width:.9rem}.ghost-button:hover:not(:disabled){background:#edf1ed}.ghost-button:disabled{opacity:.5;cursor:default}.chat-page{grid-template-rows:auto minmax(0,1fr) auto;height:100vh;display:grid}.chat-header{border-bottom:1px solid #dfe1dc;justify-content:space-between;align-items:center;padding:1.5rem clamp(1.5rem,4vw,4rem) 1.25rem;display:flex}.chat-scroll{overflow-y:auto}.chat-thread{flex-direction:column;gap:1rem;max-width:46rem;margin:0 auto;padding:2rem clamp(1rem,3vw,2rem) 1rem;display:flex}.chat-hint{color:#737a76;text-align:center;margin:3rem 0;font-size:.9rem}.bubble-row{align-items:flex-end;gap:.65rem;display:flex}.bubble-row.user{justify-content:flex-end}.bubble-avatar{aspect-ratio:1;color:#fff;background:#173a2b;border-radius:50%;flex-shrink:0;place-items:center;width:2rem;font-family:Georgia,serif;font-size:.95rem;display:grid}.bubble{overflow-wrap:break-word;border-radius:1.1rem;max-width:min(85%,34rem);padding:.7rem 1rem;font-size:.92rem;line-height:1.55}.bubble-row.assistant .bubble{background:#fff;border-bottom-left-radius:.25rem;box-shadow:0 1px 2px #19211d12}.bubble-row.user .bubble{color:#f2f5f2;white-space:pre-wrap;background:#2c4f3d;border-bottom-right-radius:.25rem}.bubble-images,.bubble-files{flex-wrap:wrap;gap:.4rem;margin-top:.4rem;display:flex}.bubble-file{color:#1b211e;cursor:pointer;background:#fff;border:1px solid #dfe1dc;align-items:center;gap:.4rem;padding:.35rem .6rem;font-size:.78rem;font-weight:650;display:inline-flex}.bubble-file:hover{border-color:#173a2b}.bubble-file svg{color:#3d7057;width:.9rem}.bubble-row.user .chat-figure{max-width:12rem;max-height:9rem}.bubble.typing{align-items:center;gap:.3rem;min-height:2.4rem;display:inline-flex}.bubble.typing span{aspect-ratio:1;background:#9aa8a0;border-radius:50%;width:.4rem;animation:1.1s ease-in-out infinite typing}.bubble.typing span:nth-child(2){animation-delay:.18s}.bubble.typing span:nth-child(3){animation-delay:.36s}@keyframes typing{0%,60%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}.chat-error{color:#8c3f2e;background:#f9efec;border:1px solid #e4c1b8;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1rem;font-size:.85rem;display:flex}.chat-error p{margin:0}.chat-composer-block{width:100%;max-width:46rem;margin:0 auto}.chat-composer{align-items:flex-end;gap:.6rem;padding:.75rem clamp(1rem,3vw,2rem) 1.5rem;display:flex}.attachment-previews{flex-wrap:wrap;gap:.5rem;padding:.5rem clamp(1rem,3vw,2rem) 0;display:flex}.attachment-preview{background:#fff;border:1px solid #d7dad4;gap:.25rem;width:5.5rem;padding:.35rem;display:grid;position:relative}.attachment-zoom{cursor:zoom-in;background:0 0;border:0;padding:0}.attachment-preview img{object-fit:cover;background:#fbfbf9;width:100%;height:3.4rem;display:block}.attachment-file{color:#3d7057;background:#edf1ed;place-items:center;width:100%;height:3.4rem;display:grid}.attachment-file svg{width:1.4rem}.attachment-name{text-overflow:ellipsis;white-space:nowrap;font-size:.65rem;font-weight:650;overflow:hidden}.attachment-remove{aspect-ratio:1;color:#4a534d;cursor:pointer;background:#fff;border:1px solid #d7dad4;border-radius:50%;place-items:center;width:1.25rem;padding:0;display:grid;position:absolute;top:-.45rem;right:-.45rem}.attachment-remove:hover{color:#8c3f2e;border-color:#e4c1b8}.attachment-remove svg{width:.75rem}.attach-button{aspect-ratio:1;color:#4a534d;cursor:pointer;background:#fff;border:1px solid #d7dad4;border-radius:50%;flex-shrink:0;place-items:center;width:2.9rem;display:grid}.attach-button svg{width:1.05rem}.attach-button:hover:not(:disabled){color:#173a2b;border-color:#173a2b}.attach-button:disabled{opacity:.45;cursor:default}.upload-progress{gap:.3rem;padding:.5rem clamp(1rem,3vw,2rem) 0;display:grid}.upload-progress span{color:#737a76;font-size:.75rem;font-weight:650}.upload-progress-track{background:#e3e5e1;border-radius:.35rem;height:.35rem;overflow:hidden}.upload-progress-fill{background:#173a2b;border-radius:.35rem;height:100%;transition:width .2s}.chat-activity{gap:.3rem;max-width:18rem;margin:0 0 0 2.65rem;display:grid}.chat-activity p{color:#737a76;align-items:center;gap:.4rem;margin:0;font-size:.78rem;font-weight:650;display:inline-flex}.chat-activity svg{width:.85rem}.activity-bar{background:#e3e5e1;border-radius:.3rem;height:.3rem;display:block;overflow:hidden}.activity-bar span{background:#173a2b;border-radius:.3rem;height:100%;transition:width .25s;display:block}.chat-composer textarea{resize:none;background:#fff;border:1px solid #d7dad4;border-radius:1.45rem;outline:none;flex:1;min-height:2.9rem;max-height:9rem;padding:.75rem 1rem;font-size:.92rem;line-height:1.4}.chat-composer textarea:focus{border-color:#173a2b}.chat-composer button{aspect-ratio:1;color:#fff;cursor:pointer;background:#173a2b;border:0;border-radius:50%;flex-shrink:0;place-items:center;width:2.9rem;display:grid}.chat-composer button svg{width:1.1rem}.chat-composer button:hover:not(:disabled){background:#285a43}.chat-composer button:disabled{opacity:.45;cursor:default}.markdown>:first-child{margin-top:0}.markdown>:last-child{margin-bottom:0}.markdown p,.markdown ul,.markdown ol{margin:.5rem 0}.markdown ul,.markdown ol{padding-left:1.25rem}.markdown h1,.markdown h2,.markdown h3,.markdown h4{margin:.75rem 0 .35rem;font-size:1em;font-weight:750}.markdown code{background:#edf1ed;padding:.1rem .3rem;font-size:.85em}.markdown pre{background:#edf1ed;padding:.7rem .9rem;overflow-x:auto}.markdown pre code{background:0 0;padding:0}.figure-expand{cursor:zoom-in;background:0 0;border:0;margin:.5rem 0;padding:0;display:block}.chat-figure{background:#fff;border:1px solid #dfe1dc;max-width:min(100%,22rem);max-height:20rem;transition:box-shadow .14s;display:block}.figure-expand:hover .chat-figure{box-shadow:0 4px 14px #19211d26}.lightbox-overlay{background:#141a16bf;position:fixed;inset:0}.lightbox-content{outline:none;flex-direction:column;align-items:center;gap:.6rem;max-width:92vw;max-height:90vh;display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.lightbox-image{cursor:zoom-out;background:#fff;border:1px solid #ffffff40;max-width:92vw;max-height:80vh}.lightbox-caption{color:#e9eee9;text-align:center;margin:0;font-size:.85rem;font-weight:650}.lightbox-close{color:#e9eee9;position:fixed;top:.75rem;right:.75rem}.lightbox-close:hover{color:#fff;background:#ffffff1f}.markdown table{border-collapse:collapse;font-size:.85em}.markdown th,.markdown td{border:1px solid #dfe1dc;padding:.3rem .6rem}.library-page{flex-direction:column;gap:1.5rem;max-width:60rem;height:100vh;margin:0 auto;padding:1.5rem clamp(1.5rem,4vw,4rem) 2rem;display:flex;overflow-y:auto}.library-header{border-bottom:1px solid #dfe1dc;padding-bottom:1.25rem}.dropzone{color:#4a534d;cursor:pointer;text-align:center;background:#fff;border:1.5px dashed #b9c1ba;place-items:center;gap:.4rem;padding:2.25rem 1.5rem;transition:border-color .14s,background .14s;display:grid}.dropzone:hover,.dropzone.drag-over{background:#f2f6f2;border-color:#173a2b}.dropzone svg{color:#3d7057;width:1.9rem}.dropzone p{margin:0;font-size:.9rem}.dropzone-hint{color:#737a76;font-size:.78rem}.dropzone-busy{color:#32684d;align-items:center;gap:.4rem;margin-top:.5rem;font-size:.8rem;font-weight:650;display:inline-flex}.dropzone-busy svg{width:.95rem}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.library-error{color:#8c3f2e;background:#f9efec;border:1px solid #e4c1b8;margin:0;padding:.7rem 1rem;font-size:.85rem}.library-empty{color:#737a76;text-align:center;margin:2.5rem 0;font-size:.9rem}.document-grid{grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:.9rem;margin:0;padding:0;list-style:none;display:grid}.document-grid li{flex-direction:column;display:flex;position:relative}.document-card{cursor:pointer;text-align:left;background:#fff;border:1px solid #dfe1dc;flex:1;justify-items:start;gap:.35rem;padding:1rem 1rem .9rem;transition:border-color .14s,box-shadow .14s;display:grid}.document-card:hover{border-color:#173a2b;box-shadow:0 4px 14px #19211d14}.document-icon{color:#3d7057;width:1.5rem}.document-name{overflow-wrap:anywhere;font-size:.88rem;font-weight:650}.document-meta{color:#737a76;font-size:.74rem}.status-chip{border-radius:1rem;align-items:center;gap:.3rem;margin-top:.35rem;padding:.2rem .55rem;font-size:.7rem;font-weight:700;display:inline-flex}.status-chip svg{width:.75rem}.status-chip.ready{color:#32684d;background:#e6efe8}.status-chip.processing{color:#7b6427;background:#f6efdb}.status-chip.failed{color:#8c3f2e;background:#f9e9e4}.library-hint{color:#737a76;margin:-.5rem 0 0;font-size:.85rem}.figure-grid{grid-template-columns:repeat(auto-fill,minmax(11rem,1fr));gap:.9rem;margin:0;padding:0;list-style:none;display:grid}.figure-tile{cursor:zoom-in;background:#fff;border:1px solid #dfe1dc;gap:.4rem;width:100%;padding:.6rem;transition:border-color .14s,box-shadow .14s;display:grid}.figure-tile:hover{border-color:#173a2b;box-shadow:0 4px 14px #19211d14}.figure-tile img{object-fit:contain;background:#fbfbf9;width:100%;height:9rem}.figure-tile span{color:#737a76;font-size:.72rem;font-weight:650}.document-actions{align-items:center;gap:.25rem;display:flex;position:absolute;top:.5rem;right:.5rem}.document-actions .icon-button{color:#98a19b;width:2rem}.document-actions .icon-button:hover{color:#173a2b;background:#edf1ed}.document-actions .icon-button.danger:hover{color:#8c3f2e;background:#f9efec}.document-actions .ghost-button{min-height:1.8rem;padding:0 .5rem;font-size:.7rem}.viewer-overlay{background:#141a168c;position:fixed;inset:0}.viewer-content{background:#f7f7f4;flex-direction:column;display:flex;position:fixed;inset:clamp(.75rem,3vw,2.5rem);box-shadow:0 20px 60px #0000004d}.viewer-bar{border-bottom:1px solid #dfe1dc;justify-content:space-between;align-items:center;padding:.6rem .6rem .6rem 1.1rem;display:flex}.viewer-bar h2{margin:0;font-size:.9rem;font-weight:700}.viewer-bar .icon-button{color:#4a534d}.viewer-bar .icon-button:hover{color:#1b211e;background:#e7eae5}.viewer-frame{border:0;flex:1;width:100%}@media (width<=640px){.app-shell{grid-template-columns:3.75rem minmax(0,1fr)}.sidebar{padding:.8rem 0}.brand-mark,.nav-item,.icon-button{width:2.4rem}.chat-header,.library-page{padding-left:1rem;padding-right:1rem}}@media (prefers-reduced-motion:no-preference){.chat-thread,.library-page{animation:.42s ease-out both enter}}@keyframes enter{0%{opacity:0;transform:translateY(6px)}}
