:root{color-scheme:light;font-family:Poppins,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#222;background:#f8f9fd;font-synthesis:none;--accent: #91466a;--accent-dark: #743452;--accent-soft: #f3ebef;--surface: #ffffff;--canvas: #f8f9fd;--border: #e6e2e6;--muted: #767676;--shadow: 0 12px 32px rgba(54, 34, 45, .07);--sidebar-bg: #0e0e11;--sidebar-border: #26262c;--sidebar-text: #c3c3cb;--sidebar-muted: #85858f;--sidebar-hover: rgba(255, 255, 255, .06);--sidebar-active: #ffffff;--sidebar-active-text: #17171b}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{background:var(--canvas)}button,textarea,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit}.app-shell{min-height:100vh;display:grid;grid-template-columns:236px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;padding:24px 16px;color:var(--sidebar-text);background:var(--sidebar-bg);border-right:1px solid var(--sidebar-border);display:flex;flex-direction:column;z-index:5}.brand{display:flex;gap:12px;align-items:center;padding:0 8px 28px;text-decoration:none}.brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;color:var(--sidebar-active-text);background:#fff;font-size:18px;font-weight:650;box-shadow:0 8px 18px #00000040}.brand-copy{display:grid;line-height:1.2}.brand-copy strong{color:#fff;font-size:14px;font-weight:650}.brand-copy small{color:var(--sidebar-muted);font-size:11px}.sidebar nav{display:grid;gap:8px}.sidebar nav a{min-height:50px;padding:0 14px;border-radius:12px;display:flex;align-items:center;gap:13px;color:var(--sidebar-text);text-decoration:none;font-size:15px;font-weight:500;transition:color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease}.sidebar nav a .nav-icon{width:20px;height:20px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;color:var(--sidebar-muted)}.sidebar nav a:hover{color:#fff;background:var(--sidebar-hover)}.sidebar nav a:hover .nav-icon{color:#fff}.sidebar nav a.active{color:var(--sidebar-active-text);background:var(--sidebar-active);box-shadow:0 8px 22px #00000038}.sidebar nav a.active .nav-icon{color:var(--sidebar-active-text)}.sidebar nav a:focus-visible,.brand:focus-visible{outline:2px solid #fff;outline-offset:3px}app-auth-controls{display:contents}.mobile-profile{display:none}.sidebar-foot{margin-top:auto;padding:14px 8px 2px;border-top:1px solid var(--sidebar-border);display:flex;gap:9px;align-items:center}.sidebar-foot>span:last-child{display:grid;line-height:1.3}.sidebar-foot strong{color:var(--sidebar-text);font-size:11px;font-weight:600}.sidebar-foot small{font-size:10px;color:var(--sidebar-muted)}.auth-foot{display:block;padding-inline:0}.profile-trigger{width:100%;min-height:52px;padding:7px 8px;border:0;border-radius:12px;color:var(--sidebar-text);background:transparent;display:grid;grid-template-columns:34px minmax(0,1fr) 18px;gap:9px;align-items:center;text-align:left;cursor:pointer}.profile-trigger:hover,.profile-trigger[aria-expanded=true]{color:#fff;background:var(--sidebar-hover)}.profile-trigger:focus-visible{outline:2px solid #fff;outline-offset:2px}.profile-avatar{width:34px;height:34px;border-radius:10px;color:#fff;background:#2d2d33;display:grid;place-items:center}.profile-avatar svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.auth-copy{min-width:0;display:grid;line-height:1.3}.auth-copy strong,.auth-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-chevron{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;color:var(--sidebar-muted)}.account-menu-dismiss{position:fixed;z-index:39;inset:0}.account-menu{position:fixed;z-index:40;left:16px;bottom:78px;width:204px;padding:6px;border:1px solid var(--border);border-radius:12px;background:#fff;display:grid;gap:2px;box-shadow:0 16px 40px #0003}.account-menu button{min-height:40px;padding:0 10px;border:0;border-radius:8px;color:#3a3538;background:transparent;display:flex;gap:9px;align-items:center;cursor:pointer;text-align:left;font-size:11px}.account-menu button:hover{color:var(--accent);background:var(--accent-soft)}.account-menu button:focus-visible{outline:2px solid var(--accent);outline-offset:-1px}.account-menu svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.profile-modal-backdrop{position:fixed;z-index:60;inset:0;padding:24px;background:#0e0e11ad;display:grid;place-items:center;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.profile-modal{width:min(420px,100%);overflow:hidden;border:1px solid #ddd7db;border-radius:18px;color:#282428;background:#fff;box-shadow:0 30px 80px #0000004d}.profile-modal>header{min-height:62px;padding:14px 16px 14px 20px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.profile-modal h2{margin:0;font-size:16px;font-weight:600}.profile-modal-close{width:32px;height:32px;padding:0;border:1px solid #d7d1d5;border-radius:50%;color:#625b5f;background:#f6f4f5;display:grid;place-items:center;cursor:pointer;font-size:21px;line-height:1}.profile-modal-close:hover{color:#fff;background:var(--accent);border-color:var(--accent)}.profile-modal-close:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.profile-summary{padding:28px 24px 22px;border-bottom:1px solid var(--border);display:grid;justify-items:center;text-align:center}.profile-modal-avatar{width:58px;height:58px;margin-bottom:13px;border-radius:18px;color:#fff;background:var(--accent);display:grid;place-items:center}.profile-modal-avatar svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6}.profile-summary h3{margin:0;font-size:17px;font-weight:600}.profile-summary p{margin:5px 0 0;color:var(--muted);font-size:11px}.profile-details{margin:0;padding:8px 24px}.profile-details div{min-height:48px;border-bottom:1px solid #f0ecef;display:grid;grid-template-columns:110px minmax(0,1fr);gap:14px;align-items:center}.profile-details div:last-child{border-bottom:0}.profile-details dt{color:var(--muted);font-size:10px}.profile-details dd{margin:0;overflow:hidden;font-size:11px;font-weight:500;text-align:right;text-overflow:ellipsis;white-space:nowrap}.profile-modal>footer{padding:14px 20px 18px;border-top:1px solid var(--border);display:flex;justify-content:flex-end}.profile-signout{color:#9b352e}.status-dot{width:8px;height:8px;border-radius:50%;background:#2ab51e;box-shadow:0 0 0 4px #2ab51e1a}.main-content{min-width:0}.auth-only-content{min-height:100vh}.local-auth-page{min-height:100vh;padding-block:32px;display:grid;place-items:center}.local-auth-card{width:min(420px,100%);padding:34px;border:1px solid var(--border);border-radius:20px;background:#fff;box-shadow:var(--shadow)}.local-auth-mark{width:44px;height:44px;margin-bottom:24px;border-radius:13px;color:#fff;background:var(--accent);display:grid;place-items:center;font-size:19px;font-weight:650}.local-auth-card h1{margin:7px 0 8px;font-size:28px;line-height:1.2;font-weight:600;letter-spacing:-.025em}.local-auth-card>p{margin:0 0 24px;color:var(--muted);font-size:12px;line-height:1.6}.local-auth-card form{display:grid;gap:15px}.local-auth-card label{color:#514b4f;display:grid;gap:7px;font-size:11px;font-weight:550}.local-auth-card input{width:100%;min-height:44px;padding:0 12px;border:1px solid #d8d2d7;border-radius:10px;outline:0;color:#292529;background:#fff;font-size:13px}.local-auth-card input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #91466a1a}.local-auth-card form .button{width:100%;margin-top:3px}.local-auth-error{padding:10px 12px;border:1px solid #f0cece;border-radius:9px;color:#a12d2d;background:#fff8f8;font-size:10px;line-height:1.5}.local-auth-card>small{margin-top:20px;display:block;color:var(--muted);text-align:center;font-size:10px}.local-auth-card>small a{color:var(--accent);font-weight:600}.page{width:min(1180px,calc(100% - 64px));margin:0 auto;padding:48px 0 64px}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:32px}.page-header h1{margin:5px 0 8px;font-size:clamp(28px,4vw,42px);line-height:1.15;font-weight:550;letter-spacing:-.035em}.page-header p{max-width:680px;margin:0;color:var(--muted);font-size:15px;line-height:1.65}.hero-header{min-height:225px;padding:32px 38px;border-radius:24px;color:#fff;background:linear-gradient(125deg,#71334f,#91466a 58%,#a76182);box-shadow:0 20px 50px #53273d29}.hero-header>div{max-width:700px}.hero-header h1{max-width:640px;font-size:clamp(34px,5vw,54px)}.hero-header p{color:#ffffffc7;font-size:16px}.hero-header .eyebrow{color:#ffffffb8}.compact-header h1{font-size:clamp(28px,3vw,36px)}.eyebrow{display:block;color:var(--accent);font-size:11px;line-height:1.4;font-weight:600;letter-spacing:.12em;text-transform:uppercase}.button{min-height:42px;padding:0 18px;border:1px solid transparent;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap;text-decoration:none;cursor:pointer;font-size:13px;font-weight:550;transition:.16s ease}.button:disabled{opacity:.55;cursor:not-allowed}.button.primary{color:#fff;background:var(--accent)}.button.primary:hover:not(:disabled){background:var(--accent-dark);transform:translateY(-1px)}.hero-header .button.primary{color:var(--accent-dark);background:#fff}.button.secondary{background:#fff;border-color:#d8d2d7}.button.secondary:hover{border-color:var(--accent);color:var(--accent)}.state-card,.empty-card{padding:32px;border:1px solid var(--border);border-radius:16px;background:#fff;color:var(--muted);text-align:center}.state-card.error{color:#a12d2d;background:#fff8f8;border-color:#f0cece}.empty-card{min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center}.empty-card>span{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;color:var(--accent);background:var(--accent-soft);font-size:26px}.empty-card h2{margin:18px 0 6px;font-size:20px}.empty-card p{margin:0 0 20px;color:var(--muted);font-size:14px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.metric-card{min-height:150px;padding:22px;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:0 3px 12px #22222206}.metric-card>span{color:var(--muted);font-size:12px;font-weight:500}.metric-card strong{display:block;margin:14px 0 6px;font-size:32px;line-height:1;font-weight:550}.metric-card small{color:#949494;font-size:11px}.metric-card .status-word{color:#24851c;font-size:23px;text-transform:capitalize}.workflow-card{margin-top:22px;padding:30px;border:1px solid var(--border);border-radius:20px;background:#fff;box-shadow:var(--shadow)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px}.section-heading h2{margin:5px 0 0;font-size:21px;font-weight:550}.section-heading a{color:var(--accent);font-size:12px;font-weight:550}.pipeline-list{margin:28px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);list-style:none}.pipeline-list li{min-height:110px;padding:6px 24px;border-left:1px solid var(--border);display:flex;gap:14px}.pipeline-list li:first-child{padding-left:0;border-left:0}.pipeline-list li>span{color:var(--accent);font-size:11px;font-weight:600}.pipeline-list div{display:grid;align-content:start;gap:7px}.pipeline-list strong{font-size:14px}.pipeline-list small{color:var(--muted);font-size:11px;line-height:1.55}.query-page{height:100vh;padding-bottom:18px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto var(--console-height, 150px)}.query-page.is-resizing-console{cursor:row-resize;-webkit-user-select:none;user-select:none}.query-page .page-header{grid-column:1 / -1;margin-bottom:18px}.query-page .page-header h1{max-width:700px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-surface{min-height:0;grid-column:1;grid-row:2;overflow-y:auto;scroll-behavior:smooth;padding:6px 4px 24px}.chat-empty{max-width:600px;min-height:100%;margin:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.chat-orb{width:62px;height:62px;display:grid;place-items:center;border-radius:20px;color:#fff;background:linear-gradient(145deg,var(--accent),#b16c8c);font-size:26px;box-shadow:0 16px 30px #91466a33}.chat-empty h2{margin:22px 0 8px;font-size:25px;font-weight:550}.chat-empty p{max-width:500px;margin:0;color:var(--muted);font-size:14px;line-height:1.6}.message-list{width:min(820px,100%);margin:0 auto;display:grid;gap:26px}.message{display:grid;grid-template-columns:38px 1fr;gap:14px;align-items:start}.message-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;color:#fff;background:var(--accent);font-size:10px;font-weight:600}.user-message .message-avatar{color:#554e52;background:#e9e5e7}.message-body{padding-top:5px;min-width:0}.message-body>p{margin:0;white-space:pre-wrap;font-size:14px;line-height:1.75}.user-message .message-body>p{color:#4d474a}.markdown-content{overflow-wrap:anywhere;font-size:14px;line-height:1.7}.markdown-content>:first-child{margin-top:0}.markdown-content>:last-child{margin-bottom:0}.markdown-content h1,.markdown-content h2,.markdown-content h3,.markdown-content h4{margin:1.25em 0 .45em;color:#292529;line-height:1.3;font-weight:600}.markdown-content h1{font-size:22px}.markdown-content h2{font-size:19px}.markdown-content h3{font-size:16px}.markdown-content h4{font-size:14px}.markdown-content p{margin:0 0 .9em}.markdown-content ul,.markdown-content ol{margin:.25em 0 1em;padding-left:1.4rem}.markdown-content li{padding-left:.2rem}.markdown-content li+li{margin-top:.35em}.markdown-content strong{font-weight:650}.markdown-content a{color:var(--accent);text-decoration-thickness:1px;text-underline-offset:2px}.markdown-content blockquote{margin:1em 0;padding:.1em 1em;border-left:3px solid #d4b8c5;color:#655c61;background:#faf7f9}.markdown-content code{padding:.12em .35em;border-radius:5px;background:#eee9ec;font:.88em ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.markdown-content pre{max-width:100%;margin:1em 0;padding:14px;overflow-x:auto;border-radius:10px;color:#f4eef1;background:#241d21}.markdown-content pre code{padding:0;color:inherit;background:transparent}.markdown-content table{width:100%;margin:1em 0;border-collapse:collapse;display:block;overflow-x:auto}.markdown-content th,.markdown-content td{padding:8px 10px;border:1px solid var(--border);text-align:left;white-space:nowrap}.markdown-content th{background:#f7f4f6;font-weight:600}.markdown-content hr{margin:1.4em 0;border:0;border-top:1px solid var(--border)}.typing{color:var(--muted);font-size:13px}.citations{margin-top:16px}.citations summary{color:var(--accent);cursor:pointer;font-size:11px;font-weight:600}.citations blockquote{margin:10px 0 0;padding:13px 15px;border-left:3px solid #d9bdca;border-radius:0 8px 8px 0;background:#fff}.citations blockquote strong,.citations blockquote span{display:block}.citations blockquote strong{margin-bottom:4px;font-size:11px}.citations blockquote span{color:var(--muted);font-size:11px;line-height:1.55}.composer{width:min(820px,100%);margin:0 auto;padding:10px 11px 6px 18px;border:1px solid #d9d1d6;border-radius:16px;background:#fff;display:grid;grid-column:1;grid-row:3;grid-template-columns:1fr 38px;gap:4px 10px;box-shadow:0 12px 35px #32232b1a}.composer textarea{max-height:130px;padding:8px 0;border:0;resize:none;outline:0;color:#292529;background:transparent;font-size:13px;line-height:1.5}.composer textarea::placeholder{color:#a29aa0}.send-button{width:36px;height:36px;border:0;border-radius:10px;color:#fff;background:var(--accent);cursor:pointer;font-size:20px}.send-button:disabled{background:#c9c3c6;cursor:not-allowed}.composer small{grid-column:1 / -1;color:#a29aa0;font-size:9px}.decision-console{position:relative;min-height:0;margin-top:12px;grid-column:1;grid-row:4;overflow:visible;border:1px solid #3c3e43;border-radius:12px;color:#c9cbd0;background:#191a1d;box-shadow:0 12px 28px #14141629;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.console-resize-handle{position:absolute;z-index:2;top:-8px;left:0;width:100%;height:16px;display:grid;place-items:center;cursor:row-resize;touch-action:none;outline:none}.console-resize-handle i{width:44px;height:3px;border-radius:999px;background:#76646e;transition:background .12s ease,width .12s ease}.console-resize-handle:hover i,.console-resize-handle:focus-visible i,.is-resizing-console .console-resize-handle i{width:58px;background:#c58da8}.console-events{width:100%;height:100%;min-width:0;min-height:0;padding:12px 14px;overflow-x:hidden;overflow-y:auto;display:block;scrollbar-color:#55585f transparent;scrollbar-width:thin}.console-empty{width:100%;height:100%;display:grid;place-content:center;justify-items:center;text-align:center}.console-empty span{color:#777b83;font-size:16px}.console-line{width:100%;padding:3px 0;display:grid;grid-template-columns:74px 58px minmax(0,1fr);gap:8px;align-items:baseline;color:#c9cbd0;font-size:9px;line-height:1.5}.console-line time{color:#777b83;font-size:8px;white-space:nowrap}.console-level{color:#b8bbc1;font-size:8px;font-weight:700;text-transform:uppercase}.console-level:before{content:"["}.console-level:after{content:"]"}.console-message{min-width:0;overflow-wrap:anywhere}.console-message strong{margin-right:6px;color:inherit;font-size:inherit}.console-message>span{color:inherit;opacity:.82}.console-message small{margin-left:8px;color:inherit;font-size:7px;opacity:.5;text-transform:uppercase;white-space:nowrap}.console-line[data-level=warning]{color:#f0c36a}.console-line[data-level=error]{color:#ff7770}.conversation-list{display:grid;gap:12px}.conversation-card{position:relative;border:1px solid var(--border);border-radius:14px;background:#fff;transition:.16s ease}.conversation-card:hover{border-color:#ccb8c2;transform:translateY(-1px);box-shadow:0 8px 24px #301f280d}.conversation-main{min-height:82px;padding:20px;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:16px;align-items:center;text-decoration:none}.conversation-delete,.file-delete,.folder-delete{position:absolute;z-index:2;top:-10px;left:-10px;width:28px;height:28px;padding:0;border:1px solid #b7c2c6;border-radius:50%;opacity:0;color:#69767b;background:#dfe7e9;display:grid;place-items:center;box-shadow:0 2px 7px #2d373b33;pointer-events:none;cursor:pointer;font-size:20px;font-weight:300;line-height:1;transform:scale(.9);transition:opacity .12s ease,color .12s ease,background .12s ease,border-color .12s ease,transform .12s ease}.conversation-card:hover .conversation-delete,.conversation-card:focus-within .conversation-delete,.file-row:hover .file-delete,.file-row:focus-within .file-delete,.folder-item:hover .folder-delete,.folder-item:focus-within .folder-delete,.conversation-delete:focus-visible,.file-delete:focus-visible,.folder-delete:focus-visible{opacity:1;pointer-events:auto;transform:scale(1)}.conversation-delete:hover:not(:disabled),.file-delete:hover:not(:disabled),.folder-delete:hover:not(:disabled){border-color:#99a8ad;color:#3f4b50;background:#d3dde0;transform:scale(1.06)}.conversation-delete:focus-visible,.file-delete:focus-visible,.folder-delete:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.conversation-delete:disabled,.file-delete:disabled,.folder-delete:disabled{opacity:.4;cursor:wait}.conversation-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:var(--accent);background:var(--accent-soft);font-size:20px}.conversation-copy{min-width:0}.conversation-copy h2{margin:0 0 5px;font-size:14px;font-weight:600}.conversation-copy p{margin:0 0 7px;overflow:hidden;color:var(--muted);font-size:12px;white-space:nowrap;text-overflow:ellipsis}.conversation-copy small{color:#999196;font-size:10px}.resume{color:var(--accent);font-size:11px;font-weight:600}.library-actions{display:flex;gap:9px;align-items:center}.library-breadcrumbs{min-height:38px;margin:-12px 0 18px;display:flex;align-items:center;flex-wrap:wrap;gap:7px}.library-breadcrumbs button{padding:4px 0;border:0;color:var(--muted);background:transparent;cursor:pointer;font-size:11px}.library-breadcrumbs button:hover,.library-breadcrumbs button.current{color:var(--accent)}.library-breadcrumbs button.current{font-weight:600}.library-breadcrumbs span{color:#b0a8ad;font-size:14px}.new-folder-form{margin:-5px 0 18px;padding:12px;border:1px solid var(--border);border-radius:12px;background:#fff;display:flex;gap:8px}.new-folder-form input{min-width:0;flex:1;padding:0 12px;border:1px solid #d6d3d7;border-radius:8px;outline:none;font-size:12px}.new-folder-form input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #91466a14}.folder-grid{margin-bottom:18px;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}.folder-item{position:relative;min-width:0}.folder-card{width:100%;min-width:0;min-height:68px;padding:12px 14px;border:1px solid var(--border);border-radius:12px;color:#342f32;background:#fff;display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:11px;align-items:center;text-align:left;cursor:pointer;transition:.14s ease}.folder-card:hover{border-color:#cdbac4;transform:translateY(-1px);box-shadow:0 7px 20px #301f280d}.folder-card>span:nth-child(2){min-width:0;display:grid;gap:3px}.folder-card strong{overflow:hidden;font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.folder-card small{color:#948b90;font-size:9px}.folder-card>i{color:#a3999e;font-style:normal;font-size:17px}.folder-icon{width:36px;height:32px;display:grid;place-items:center;border-radius:9px;color:var(--accent);background:var(--accent-soft);font-size:17px}.upload-note{margin:-10px 0 22px;padding:14px 16px;border:1px solid #e3d8de;border-radius:12px;background:#fbf8fa;display:flex;gap:13px;align-items:center}.upload-note>span{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;color:var(--accent);background:#fff;font-weight:600}.upload-note>div{display:grid;gap:3px}.upload-note strong{font-size:11px}.upload-note small{color:var(--muted);font-size:10px}.file-table{overflow:visible;border:1px solid var(--border);border-radius:15px;background:#fff}.file-row{position:relative;min-height:78px;padding:13px 20px;border-top:1px solid #eee9ec;display:grid;grid-template-columns:minmax(260px,1.6fr) minmax(170px,.8fr) 100px 140px;gap:16px;align-items:center;font-size:11px}.file-head{min-height:44px;border-top:0;color:#8f878c;background:#fbfafb;font-size:10px;font-weight:600}.file-head{padding-right:20px}.file-name{min-width:0;display:flex;align-items:center;gap:12px}.file-preview-trigger{width:100%;padding:0;border:0;color:inherit;background:transparent;text-align:left;cursor:pointer;border-radius:10px}.file-preview-trigger:hover strong{color:var(--accent)}.file-preview-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:5px}.file-copy{min-width:0;display:grid;gap:4px}.file-name strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.file-name small{color:#938c90;font-size:9px}.file-icon{flex:0 0 auto;width:38px;height:38px;display:grid;place-items:center;border-radius:10px;color:var(--accent);background:var(--accent-soft);font-size:18px}.status-pill{width:fit-content;padding:5px 9px;border-radius:999px;color:#5b5558;background:#f2f0f1;display:flex;gap:6px;align-items:center;font-size:9px;font-weight:600;text-transform:capitalize}.status-pill i{width:6px;height:6px;border-radius:50%;background:#b0a9ad}.status-pill[data-status=ready]{color:#24741f;background:#edf7eb}.status-pill[data-status=ready] i{background:#2ab51e}.status-pill[data-status=failed],.status-pill[data-status=needs_ocr]{color:#9b352e;background:#fff0ef}.status-pill[data-status=failed] i,.status-pill[data-status=needs_ocr] i{background:#d4564c}.status-pill[data-status=extracting],.status-pill[data-status=summarizing],.status-pill[data-status=vectorizing]{color:#78501e;background:#fff7e7}.status-pill[data-status=extracting] i,.status-pill[data-status=summarizing] i,.status-pill[data-status=vectorizing] i{background:#d99a3a}.file-error{max-width:230px;margin-top:5px;display:block;color:#a34038;font-size:8px;line-height:1.35}.preview-backdrop{position:fixed;z-index:30;inset:0;padding:32px;background:#0e0e11b3;display:grid;place-items:center;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.document-preview{width:min(1040px,100%);height:min(780px,calc(100vh - 64px));min-height:420px;overflow:hidden;border:1px solid #dcd6da;border-radius:18px;background:#fff;display:grid;grid-template-rows:auto minmax(0,1fr);box-shadow:0 30px 80px #00000047}.preview-header{min-width:0;min-height:72px;padding:16px 18px 16px 22px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;gap:18px;align-items:center}.preview-header>div{min-width:0}.preview-header h2{margin:0;overflow:hidden;font-size:15px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.preview-header p{margin:4px 0 0;color:var(--muted);font-size:10px}.preview-close{width:34px;height:34px;flex:0 0 auto;padding:0;border:1px solid #d7d1d5;border-radius:50%;color:#625b5f;background:#f6f4f5;display:grid;place-items:center;cursor:pointer;font-size:22px;font-weight:300;line-height:1}.preview-close:hover{color:#fff;background:var(--accent);border-color:var(--accent)}.preview-close:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.preview-body{min-width:0;min-height:0;overflow:auto;background:#f5f5f7}.preview-body iframe{width:100%;height:100%;border:0;background:#fff}.preview-body[data-kind=image]{padding:24px;display:grid;place-items:center}.preview-body img{display:block;max-width:100%;max-height:100%;object-fit:contain;border-radius:6px;box-shadow:0 8px 24px #00000014}.preview-markdown{width:min(780px,calc(100% - 48px));min-height:100%;margin:0 auto;padding:42px 48px;background:#fff;box-shadow:0 0 30px #0000000a}.preview-body>pre{min-height:100%;margin:0;padding:28px;overflow:auto;color:#292529;background:#fff;font:12px/1.7 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.preview-state{min-height:100%;padding:32px;color:var(--muted);display:grid;place-content:center;justify-items:center;gap:14px;text-align:center;font-size:13px}.preview-state.error{color:#a12d2d}.preview-state p{margin:0}@media(max-width:1080px){.app-shell{grid-template-columns:68px minmax(0,1fr)}.sidebar{padding-inline:8px}.brand{justify-content:center;padding-inline:0}.brand-copy,.sidebar-foot>span:last-child,.auth-copy,.profile-chevron{display:none}.app-shell .sidebar nav a{min-width:0;padding:0;overflow:hidden;justify-content:center;font-size:0}.app-shell .sidebar nav a>span{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;border:0;clip-path:inset(50%);white-space:nowrap}.sidebar nav a .nav-icon{width:21px;height:21px}.sidebar-foot{justify-content:center}.auth-foot{display:flex;justify-content:center}.profile-trigger{width:46px;padding:6px;display:flex;justify-content:center}.metric-grid{grid-template-columns:repeat(2,1fr)}.pipeline-list{grid-template-columns:repeat(2,1fr);gap:20px 0}.pipeline-list li:nth-child(3){padding-left:0;border-left:0}.file-row{grid-template-columns:minmax(220px,1fr) 150px 90px}.file-row>:nth-child(4){display:none}.preview-backdrop{padding:20px}}@media(max-width:680px){.app-shell{display:block}.sidebar{position:fixed;inset:auto 0 0;width:100%;height:64px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--sidebar-border);display:block}.brand,.sidebar-foot{display:none}.sidebar nav{height:100%;display:flex}.app-shell .sidebar nav a,.app-shell .sidebar nav a:not(.active){min-height:46px;padding:4px;overflow:visible;display:flex;flex-direction:column;gap:2px;font-size:9px}.app-shell .sidebar nav a>span{position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal}.sidebar nav a .nav-icon{width:19px;height:19px}.sidebar nav a{flex:1}.mobile-profile{min-height:46px;padding:4px;border:0;border-radius:12px;color:var(--sidebar-text);background:transparent;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:2px;cursor:pointer;font-size:9px}.mobile-profile .nav-icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.mobile-profile:focus-visible,.mobile-profile[aria-expanded=true]{outline:2px solid #fff;outline-offset:-2px}.account-menu[data-variant=mobile]{right:12px;bottom:74px;left:auto;width:min(204px,calc(100% - 24px))}.profile-modal-backdrop{padding:16px}.main-content{padding-bottom:64px}.local-auth-page{min-height:calc(100vh - 64px)}.local-auth-card{padding:26px 22px}.page{width:calc(100% - 32px);padding:28px 0 42px}.page-header{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:24px}.page-header .button{width:100%}.hero-header{min-height:340px;padding:28px;justify-content:flex-end}.hero-header h1{font-size:36px}.metric-grid{grid-template-columns:1fr 1fr;gap:10px}.metric-card{min-height:130px;padding:17px}.pipeline-list{grid-template-columns:1fr}.pipeline-list li,.pipeline-list li:nth-child(3){padding:14px 0;border-left:0;border-top:1px solid var(--border)}.pipeline-list li:first-child{border-top:0}.query-page{height:calc(100vh - 64px);min-height:640px;grid-template-rows:auto minmax(0,1fr) auto var(--console-height, 150px)}.query-page .page-header{flex-direction:row;align-items:center}.query-page .page-header .button{width:auto}.query-page .page-header p,.query-page .eyebrow{display:none}.query-page .page-header h1{margin:0;font-size:20px}.library-actions{width:100%}.library-actions .button{flex:1}.new-folder-form{flex-wrap:wrap}.new-folder-form input{min-height:42px;flex-basis:100%}.new-folder-form .button{width:auto;flex:1}.composer small{display:none}.composer{padding-bottom:10px}.conversation-main{padding:16px;grid-template-columns:40px minmax(0,1fr)}.conversation-card .resume{display:none}.file-table{border:0;background:transparent;display:grid;gap:10px;overflow:visible}.file-row{min-height:auto;padding:16px;border:1px solid var(--border);border-radius:13px;background:#fff;grid-template-columns:1fr auto;gap:13px}.file-head{display:none}.file-row>:nth-child(3),.file-row>:nth-child(4){display:none}.upload-note{align-items:flex-start}.preview-backdrop{padding:0;place-items:stretch}.document-preview{width:100%;height:100%;min-height:0;border:0;border-radius:0}.preview-header{padding:13px 14px 13px 18px}.preview-markdown{width:100%;padding:28px 22px}}
