:root{font-family:IBM Plex Sans,Segoe UI,sans-serif;color:#10233f;background:radial-gradient(circle at top left,rgba(28,86,157,.18),transparent 24%),linear-gradient(180deg,#edf3f9,#e6edf5)}*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;font-size:14px;line-height:1.4}.workspace-shell,.workspace-sidebar{height:100vh;overflow:hidden}.workspace-main{height:100%;overflow:hidden}.chat-layout{display:grid;grid-template-columns:300px 1fr;gap:8px;height:100%;overflow:hidden}.chat-stage{display:flex;flex:1;flex-direction:column;gap:14px;min-height:0;overflow:hidden}.management-layout{display:grid;gap:8px;height:100%;overflow-y:auto}button,input,textarea,select{font:inherit}button{border:0;border-radius:12px;padding:10px 14px;background:linear-gradient(135deg,#1a63bc,#4f8ae3);color:#fff;font-weight:600;cursor:pointer;transition:transform .12s ease,opacity .12s ease}button:hover{transform:translateY(-1px)}button:disabled{opacity:.55;transform:none;cursor:not-allowed}input,textarea,select{width:100%;border:1px solid #d4deea;border-radius:14px;padding:11px 13px;background:#fff;color:#10233f}textarea{min-height:100px;resize:vertical}.signin-shell{min-height:100vh;display:grid;place-items:center;padding:32px}.signin-card{width:min(1080px,100%);display:grid;grid-template-columns:1.1fr 400px;gap:24px;padding:24px;border-radius:28px;background:#fffc;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 28px 70px #10233f24}.signin-copy,.card,.notice,.session-card{border-radius:22px;background:#ffffffe0;box-shadow:0 18px 42px #10233f14}.success-notice{margin-bottom:12px;border:1px solid rgba(46,125,50,.18);background:#e8f5e9f2;color:#1f5f2a}.loading-notice{border:1px solid rgba(26,99,188,.18);background:#e7f0fcf5;color:#123f75}.button-loading{display:inline-flex;align-items:center;gap:8px}.button-spinner{width:14px;height:14px;border-radius:999px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:button-spin .8s linear infinite}.dark-spinner{border-color:#123f7533;border-top-color:#1a63bc}@keyframes button-spin{to{transform:rotate(360deg)}}.upload-progress-panel{margin-top:12px;padding:12px 14px;border:1px solid rgba(26,99,188,.14);border-radius:16px;background:#f4f8fdf2}.dashboard-header-actions{display:flex;align-items:center;gap:10px}.dashboard-filter-card{padding:18px}.dashboard-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.dashboard-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.dashboard-kpi-card{padding:18px;display:grid;gap:8px;border:1px solid rgba(16,35,63,.06)}.dashboard-kpi-card span{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#5f728b}.dashboard-kpi-card strong{font-size:32px;line-height:1;color:#10233f}.dashboard-kpi-card small{color:#5f728b;line-height:1.5}.accent-blue{background:linear-gradient(180deg,#ecf4fffa,#fffffff2)}.accent-green{background:linear-gradient(180deg,#ecfaf4fa,#fffffff2)}.accent-sky{background:linear-gradient(180deg,#edf8fffa,#fffffff2)}.accent-amber{background:linear-gradient(180deg,#fff7e9fa,#fffffff2)}.accent-red{background:linear-gradient(180deg,#ffeef1fa,#fffffff2)}.accent-purple{background:linear-gradient(180deg,#f3eefffa,#fffffff2)}.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dashboard-grid-primary{grid-template-columns:1.4fr .8fr}.dashboard-panel{padding:18px;display:grid;gap:16px}.dashboard-summary-card{padding:22px;display:grid;gap:18px;background:radial-gradient(circle at top right,rgba(26,99,188,.08),transparent 28%),linear-gradient(180deg,#f7fafffa,#fffffff5)}.dashboard-summary-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.dashboard-summary-tags{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.dashboard-summary-body{display:grid;grid-template-columns:1.4fr .8fr;gap:18px;align-items:stretch}.dashboard-summary-main{padding:18px 20px;border-radius:20px;background:#ffffffe0;border:1px solid rgba(16,35,63,.06)}.dashboard-summary-main p{margin:0;color:#24364f;font-size:15px;line-height:1.7}.dashboard-summary-side{display:grid;gap:12px}.summary-stat{padding:16px 18px;border-radius:18px;background:#f0f6fcf2;border:1px solid rgba(26,99,188,.08);display:grid;gap:6px}.summary-stat span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#5f728b}.summary-stat strong{color:#10233f;font-size:20px}.wide-panel{min-width:0}.mini-bar-chart-scroll{overflow-x:auto;overflow-y:hidden;padding-bottom:6px}.mini-bar-chart{height:220px;min-width:max-content;display:grid;grid-auto-flow:column;grid-auto-columns:48px;gap:8px;align-items:end}.mini-bar-col{display:grid;gap:8px;justify-items:center}.mini-bar-track{width:100%;height:180px;display:flex;align-items:end;border-radius:16px;background:linear-gradient(180deg,#dce7f573,#f3f7fccc);overflow:hidden}.mini-bar-fill{width:100%;border-radius:16px 16px 0 0;background:linear-gradient(180deg,#1a63bc,#4f8ae3)}.mini-bar-col span{font-size:11px;color:#6b7f99}.donut-chart-wrap{display:grid;gap:16px;align-items:center}.donut-chart{width:190px;height:190px;margin:0 auto;border-radius:999px;display:grid;place-items:center}.donut-hole{width:112px;height:112px;border-radius:999px;background:#fffffff5;display:grid;place-items:center;text-align:center;box-shadow:inset 0 0 0 1px #10233f0f}.donut-hole strong{font-size:28px;color:#10233f}.donut-hole span{font-size:12px;color:#6b7f99}.donut-legend{display:grid;gap:8px}.legend-row{display:grid;grid-template-columns:12px 1fr auto;gap:10px;align-items:center;color:#42556d}.legend-chip{width:12px;height:12px;border-radius:999px}.horizontal-bar-list{display:grid;gap:14px}.horizontal-bar-row{display:grid;gap:8px}.horizontal-bar-copy{display:flex;justify-content:space-between;gap:12px;color:#24364f}.horizontal-bar-track{height:10px;border-radius:999px;background:#e6edf5;overflow:hidden}.horizontal-bar-fill{height:100%;border-radius:inherit}.dashboard-table{display:grid;gap:10px}.dashboard-table-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 16px;border-radius:18px;background:linear-gradient(180deg,#f8fbfffa,#f0f5fbf5);color:#10233f;text-align:left}.dashboard-table-row strong{display:block;margin-bottom:4px}.dashboard-table-side,.dashboard-table-tags{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px}.status-needs_action{background:#cf3c561f;color:#9b233d}.status-open{background:#f1a43b29;color:#9c6616}.status-resolved{background:#2aa87624;color:#1d7a54}.priority-high{background:#cf3c561f;color:#9b233d}.priority-medium{background:#f1a43b2e;color:#9c6616}.chat-filter-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin-bottom:14px}.compact-field select{padding-top:9px;padding-bottom:9px}@media(max-width:1100px){.dashboard-kpi-grid,.dashboard-grid,.dashboard-grid-primary{grid-template-columns:1fr}.dashboard-summary-head,.dashboard-summary-body{grid-template-columns:1fr;display:grid}.dashboard-summary-tags{justify-content:flex-start}.donut-chart{width:164px;height:164px}}.signin-copy{padding:30px;color:#fff;background:linear-gradient(160deg,#0c1c30f5,#1c63bce0),#0e223b}.signin-copy h1,.page-header h1,.chat-stage-header h1,.brand-block h2,.section-head h3{margin:0}.signin-copy h1{font-size:clamp(36px,5vw,54px);line-height:1.04;margin-bottom:16px}.signin-copy p:last-child{color:#ffffffc7;max-width:56ch}.signin-form{display:flex;flex-direction:column;justify-content:center;gap:14px;padding:26px}.workspace-shell{min-height:100vh;display:grid;grid-template-columns:264px 1fr}.workspace-sidebar{background:#0f1f35;color:#fff;padding:18px 14px;display:flex;flex-direction:column;gap:14px}.brand-block p,.eyebrow{margin:0 0 6px;text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:700;color:#1b66c0e0}.session-card{padding:14px;color:#10233f;display:grid;gap:4px}.nav-block{display:grid;gap:8px}.nav-item{padding:11px 13px;background:transparent;color:#ffffffe0;border:1px solid rgba(255,255,255,.08);display:grid;justify-items:start;gap:3px;text-align:left}.nav-item small{color:#ffffff94}.nav-item.active{background:#4e8df02e;border-color:#4e8df080}.workspace-main{padding:8px;overflow:auto}.page-header,.section-head,.chat-stage-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.page-header{margin-bottom:14px}.header-stat{min-width:150px;padding:11px 14px;border-radius:16px;background:#ffffffb3;border:1px solid rgba(16,35,63,.08);display:grid;gap:4px}.helper-text,.meta-line,.header-stat span,.composer-actions span,.history-item span,.empty-state span{color:#10233f9e}.card{padding:16px}.notice{padding:12px 14px}.sidebar-notice{color:#10233f;word-break:break-word;overflow-wrap:break-word;font-size:13px;line-height:1.5}.secondary-button{background:#ffffff14;border:1px solid rgba(255,255,255,.12)}.secondary-button.light{background:#eef4fb;color:#1c4d8f;border:1px solid #d9e6f6}.compact-button{padding:10px 14px}.danger-button{background:#fff1f2;color:#b42318;border:1px solid #f3c7cd}.danger-button:hover{background:#ffe4e8}.chat-history,.library-stage,.settings-panel{display:grid;gap:14px}.history-list{display:grid;gap:8px;align-content:start;max-height:70vh;overflow:auto}.history-item{width:100%;padding:11px 13px;text-align:left;border:1px solid #d8e2ee;background:#f7fafe;color:#10233f;display:grid;gap:6px}.history-item-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.history-item.active{background:#e8f1ff;border-color:#82ace6;color:#0d4f9b}.channel-badge{display:inline-flex;align-items:center;justify-content:center;min-width:70px;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;border:1px solid transparent}.channel-badge.app{background:#eef3f8;color:#47627d;border-color:#d5e0eb}.channel-badge.website{background:#edf4ff;color:#25538d;border-color:#cadcf8}.channel-badge.whatsapp{background:#edf9f1;color:#1c6d42;border-color:#c8e9d4}.chat-panel{flex:1;min-height:0;overflow-y:auto;padding:16px 16px 10px;border-radius:16px;background:linear-gradient(180deg,#f8fbfe,#eef4f9);border:1px solid rgba(16,35,63,.08)}.chat-thread{display:grid;gap:12px}.message-row{display:flex}.message-row.user{justify-content:flex-end}.message-bubble{padding:14px 16px;border-radius:16px;box-shadow:0 12px 30px #10233f14}.message-bubble.user{background:#deeaf8;color:#0d3a72;border:1px solid #c2d7f5;border-bottom-right-radius:6px}.message-bubble.user .bubble-copy-btn{color:#0d3a7280;border-color:#0d3a7226}.message-bubble.user .bubble-copy-btn:hover{background:#0d3a720f;color:#0d3a72}.message-bubble.user .bubble-actions{border-top-color:#0d3a721a}.message-bubble.assistant{background:#fff;color:#10233f;border:1px solid #d9e3ef;border-bottom-left-radius:6px}.message-bubble p{margin:0;line-height:1.5}.user-message-container{display:flex;flex-direction:column;gap:4px;max-width:min(760px,84%)}.citation-stack{display:grid;gap:10px;margin-top:14px}.citation{border-radius:14px;padding:12px;background:#f6f9fc;border:1px solid #dbe5f0;display:grid;gap:6px}.empty-state{min-height:240px;display:grid;place-items:center;text-align:center;gap:6px}.compact-empty{min-height:120px}.composer{display:grid;gap:10px}.composer-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}.typing-indicator{display:inline-flex;gap:6px;align-items:center}.typing-indicator span{width:8px;height:8px;border-radius:999px;background:#80a0c5;animation:pulse 1s infinite ease-in-out}.typing-indicator span:nth-child(2){animation-delay:.15s}.typing-indicator span:nth-child(3){animation-delay:.3s}.management-layout{display:grid;gap:16px;align-content:start}.library-layout,.settings-layout{display:grid;grid-template-columns:280px 1fr;gap:16px}.taxonomy-nav,.settings-nav{display:grid;gap:8px;align-content:start;height:fit-content}.taxonomy-item,.settings-nav-item{width:100%;padding:11px 13px;background:#f7fafe;color:#10233f;border:1px solid #d8e2ee;display:flex;justify-content:space-between;align-items:center;text-align:left}.settings-nav-item{display:grid;justify-content:start;gap:4px}.taxonomy-item.active,.settings-nav-item.active{background:#e8f1ff;border-color:#82ace6;color:#0d4f9b}.section-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:16px}.section-toolbar .search-input{flex:1;min-width:0;height:36px;padding:0 12px;border:1px solid rgba(16,35,63,.15);border-radius:8px;background:#fff;font-size:14px;color:#10233f;outline:none;transition:border-color .15s ease}.section-toolbar .search-input:focus{border-color:#3f7cbf}.section-toolbar .toggle-label{display:flex;align-items:center;gap:6px;font-size:13px;color:#6b7f96;cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none}.section-toolbar .toggle-label input[type=checkbox]{accent-color:#3f7cbf;width:15px;height:15px;cursor:pointer}.website-site-item{border:1px solid #dbe4ef;border-radius:18px;background:linear-gradient(180deg,#fbfdff,#f5f8fc);padding:14px 16px;display:grid;gap:14px}.website-site-item.expanded{border-color:#9fbce5;box-shadow:0 16px 36px #10233f14}.website-site-summary{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.website-site-primary{display:grid;gap:6px;min-width:0}.website-site-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.website-site-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.website-site-editor{display:grid;gap:14px;padding-top:14px;border-top:1px solid rgba(16,35,63,.08)}.website-site-meta-grid{display:grid;gap:6px}.embed-script-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.embed-script-row pre{flex:1;margin:0}.website-site-editor-actions{display:flex;justify-content:flex-end}.section-subhead{display:grid;gap:4px;margin:12px 0}.section-subhead h4,.backup-panel h4{margin:0}.tenant-ai-settings{margin-top:12px}.inline-checkbox{display:inline-flex;align-items:center;gap:8px}.inline-checkbox input{width:auto}.backup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.backup-panel{display:grid;gap:10px;padding:14px;border:1px solid rgba(16,35,63,.08);border-radius:14px;background:#f8fbff}.upload-card input[type=file]{margin:0}.upload-card{padding:12px 14px;gap:8px}.upload-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.file-list{display:grid;gap:4px;max-height:96px;overflow:auto;padding-right:4px}.upload-card .file-list .row{padding:8px 0}.row,.document-card,.settings-taxonomy-row{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:11px 0;border-bottom:1px solid rgba(16,35,63,.08)}.document-info,.document-meta{display:grid;gap:8px}.document-info{flex:1;min-width:0}.document-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.document-header strong{line-height:1.35}.document-summary{display:grid;gap:6px}.document-progress{display:grid;gap:6px;max-width:320px}.document-progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#8a5b15}.document-progress-value{min-width:44px;text-align:right;font-variant-numeric:tabular-nums}.document-progress-value.processing{animation:progressValuePulse 1.4s ease-in-out infinite}.document-progress-track{position:relative;width:100%;height:8px;border-radius:999px;background:#f4e4be;overflow:hidden}.document-progress-bar{height:100%;border-radius:inherit;background:linear-gradient(90deg,#e4aa3a,#f2c86d);transition:width .8s ease}.document-progress-bar.processing{position:relative;box-shadow:0 0 0 1px #e4aa3a29,0 0 18px #e4aa3a4d}.document-progress-bar.processing:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(110deg,#fff0,#ffffff2e 24%,#ffffff85 49%,#ffffff2e 73%,#fff0);transform:translate(-100%);animation:progressBarSweep 1.4s linear infinite}.document-meta{min-width:210px;justify-items:end;align-content:start}.taxonomy-tags{display:flex;flex-wrap:wrap;gap:6px}.badge,.tag-pill{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border-radius:999px;font-size:11px}.badge{background:#eaf0f7;color:#29415f}.badge.ready{background:#dff5e6;color:#1f6b36}.badge.processing{background:#fff1dc;color:#935b0e}.badge.failed{background:#fde6e7;color:#a2313a}.document-failure-note{max-width:420px;font-size:12px;color:#a2313a;background:#fff4f4;border:1px solid #f1c8cb;border-radius:10px;padding:8px 10px}.tag-pill{background:#edf4ff;color:#25538d}.action-menu{position:relative}.action-menu-trigger{padding:8px 12px;background:#f4f7fb;color:#28435f;border:1px solid #d8e2ee}.action-menu-list{position:absolute;top:calc(100% + 8px);right:0;width:220px;display:grid;gap:6px;padding:6px;border-radius:14px;background:#fff;border:1px solid rgba(16,35,63,.08);box-shadow:0 18px 40px #10233f1f;z-index:10}.form-grid{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:12px}.field-stack{display:grid;gap:5px}.field-label{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#10233f8a;padding-left:2px}.field-hint{font-size:11px;color:#10233f80;padding-left:2px}.field-hint--error{color:#c0392b}.accent-field{display:flex;align-items:center;gap:10px}.accent-swatch-button{position:relative;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.accent-field input{flex:1}.accent-swatch{width:16px;height:16px;border-radius:999px;border:1px solid rgba(16,35,63,.16);box-shadow:inset 0 0 0 1px #ffffff8c;flex-shrink:0}.accent-picker-input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer;width:16px;height:16px;padding:0;border:0}.taxonomy-access-picker{display:grid;gap:10px;margin-bottom:12px}.compact-section-head{align-items:flex-start}.taxonomy-checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}.taxonomy-checkbox{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #d8e2ee;border-radius:14px;background:#f7fafe}.taxonomy-checkbox input{width:auto;margin:0}.settings-taxonomy-head{display:flex;justify-content:flex-end;gap:10px;align-items:center}.bubble-actions{display:flex;justify-content:flex-end;margin-top:8px;padding-top:6px;border-top:1px solid rgba(16,35,63,.07)}.message-bubble.user .bubble-actions{border-top-color:#ffffff2e}.bubble-copy-btn{padding:3px 8px;font-size:11px;font-weight:500;border-radius:8px;background:transparent;color:#10233f80;border:1px solid rgba(16,35,63,.15);cursor:pointer;transition:background .12s ease,color .12s ease;min-width:58px;text-align:center}.bubble-copy-btn:hover{background:#10233f0f;color:#10233f;transform:none}.message-bubble.user .bubble-copy-btn{color:#ffffffa6;border-color:#ffffff40}.message-bubble.user .bubble-copy-btn:hover{background:#ffffff26;color:#fff}.workspace-sidebar>button:last-child{margin-top:auto}.chat-history{align-content:start}.chat-history .section-head,.chat-stage .section-head{flex-wrap:wrap;gap:10px}.chat-stage.card{padding-bottom:0}.pdf-download-inline{padding:3px 10px;font-size:11px;font-weight:600;border-radius:6px;background:transparent;color:#1a63bc;border:1px solid #c2d7f5;cursor:pointer;transition:all .12s ease;letter-spacing:.02em}.pdf-download-inline:hover{background:#eef4fb;border-color:#82ace6;transform:none}.message-bubble.assistant .bubble-actions{justify-content:flex-start}.assistant-message{max-width:min(760px,84%);padding:4px 0;color:#10233f;line-height:1.5}.assistant-label{font-size:10px;font-weight:600;color:#6b7f99;text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px}.assistant-message p,.assistant-message ul,.assistant-message ol,.assistant-message li{margin:0;line-height:1.5}.assistant-message p:last-child{margin-bottom:0}.assistant-message .bubble-actions{border-top:.5px solid rgba(16,35,63,.08);margin-top:8px;padding-top:6px;justify-content:flex-start}.user-copy-btn{color:#0d3a7280;border-color:#0d3a7226}.user-copy-btn:hover{background:#0d3a720f;color:#0d3a72}button:focus-visible{outline:3px solid #4f8ae3;outline-offset:2px}.composer{padding-top:6px}@keyframes pulse{0%,80%,to{transform:scale(.85);opacity:.5}40%{transform:scale(1);opacity:1}}@keyframes progressBarSweep{0%{transform:translate(-100%)}to{transform:translate(140%)}}@keyframes progressValuePulse{0%,to{opacity:1}50%{opacity:.62}}@media(max-width:1100px){.chat-layout,.library-layout,.settings-layout,.backup-grid,.signin-card,.workspace-shell{grid-template-columns:1fr}.workspace-sidebar{border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}.document-card,.row{flex-direction:column}.document-meta{min-width:0;width:100%;justify-items:stretch}.upload-row{grid-template-columns:1fr}.website-site-summary{flex-direction:column}.website-site-actions{justify-content:flex-start}}
