.conversation-result-artifacts{display:grid;gap:10px;margin-top:9px}.conversation-result-artifact-card{overflow:hidden;border:1px solid #bfdbfe;border-radius:15px;background:#fff;box-shadow:0 7px 20px #0f172a0f}.conversation-result-artifact-card>header,.conversation-result-artifact-card>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 11px;background:#f8fafc}.conversation-result-artifact-card>header{border-bottom:1px solid #dbeafe}.conversation-result-artifact-card>header div{min-width:0}.conversation-result-artifact-card>header strong,.conversation-result-artifact-card>header span{display:block}.conversation-result-artifact-card>header strong{overflow:hidden;color:#0f172a;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.conversation-result-artifact-card>header span,.conversation-result-artifact-card>footer>span{margin-top:2px;color:#64748b;font-size:11px}.conversation-result-artifact-card button{border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;padding:7px 9px;color:#1d4ed8;cursor:pointer;font:inherit;font-size:11px;font-weight:900;white-space:nowrap}.conversation-result-artifact-card button:disabled{cursor:not-allowed;opacity:.5}.conversation-result-table-wrap{max-height:58vh;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.conversation-result-table-wrap table{width:-moz-max-content;width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;font-size:12px}.conversation-result-table-wrap th,.conversation-result-table-wrap td{max-width:260px;padding:9px 10px;border-right:1px solid #eef2f7;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere}.conversation-result-table-wrap th{position:sticky;z-index:1;top:0;background:#edf4ff;color:#334155;font-weight:900;white-space:nowrap}.conversation-result-table-wrap tbody tr:nth-child(2n) td{background:#f8fafc}.conversation-result-artifact-card>footer{align-items:flex-start;border-top:1px solid #e2e8f0}.conversation-result-artifact-card>footer div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.conversation-result-warning,.conversation-result-error,.conversation-result-empty{margin:0;padding:8px 11px;font-size:11px}.conversation-result-warning{border-bottom:1px solid #fde68a;background:#fffbeb;color:#92400e}.conversation-result-error{border-top:1px solid #fecdd3;background:#fff1f2;color:#be123c}.conversation-result-empty{color:#64748b;text-align:center}.conversation-result-null{color:#94a3b8}.payroll-detail-report{display:grid;gap:16px;margin-top:16px;padding-top:16px;border-top:1px solid #dbe4ef}.payroll-detail-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.payroll-detail-head>div,.payroll-detail-section>header>div{display:grid;gap:3px}.payroll-detail-head strong{color:#0f172a;font-size:18px}.payroll-detail-head span,.payroll-detail-section header span{color:#64748b;font-size:12px}.payroll-detail-head button{min-height:36px;border:1px solid #86efac;border-radius:7px;background:#f0fdf4;padding:0 12px;color:#15803d;font-weight:800}.payroll-detail-warning{display:grid;gap:4px;border-left:3px solid #f59e0b;background:#fffbeb;padding:9px 10px;color:#92400e;font-size:12px}.payroll-detail-section{display:grid;gap:8px}.payroll-detail-section h4{margin:0;color:#0f172a;font-size:16px}.payroll-detail-table-wrap{width:100%;overflow:auto;border:1px solid #cbd5e1;border-radius:6px;background:#fff;overscroll-behavior-y:auto;-webkit-overflow-scrolling:touch}.payroll-detail-table-wrap.salary{max-height:520px}.payroll-detail-table-wrap.attendance{max-height:560px}.payroll-detail-table-wrap table{width:-moz-max-content;width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;color:#172033;font-size:11px}.payroll-detail-table-wrap th,.payroll-detail-table-wrap td{min-width:84px;height:36px;border-right:1px solid #d5dee9;border-bottom:1px solid #d5dee9;padding:6px 8px;text-align:right;white-space:nowrap}.payroll-detail-table-wrap thead th{position:sticky;z-index:3;top:0;min-width:68px;background:#facc15;color:#713f12;text-align:center;font-weight:900}.payroll-detail-table-wrap tbody th,.payroll-detail-table-wrap tbody td:first-child{text-align:left;font-weight:700}.payroll-detail-table-wrap tbody tr:nth-child(2n) th,.payroll-detail-table-wrap tbody tr:nth-child(2n) td{background:#f8fafc}.payroll-detail-table-wrap tfoot th,.payroll-detail-table-wrap tfoot td{position:sticky;z-index:2;bottom:0;background:#fef9c3;color:#713f12;font-weight:900}.payroll-detail-table-wrap td.exception{color:#dc2626;font-weight:800}.payroll-detail-table-wrap.attendance th,.payroll-detail-table-wrap.attendance td{min-width:42px;text-align:center}@media(max-width:560px){.payroll-detail-head{align-items:stretch;flex-direction:column}.payroll-detail-head button{align-self:start}}.review-rate-report{display:grid;gap:14px;margin-top:14px;padding-top:14px;border-top:1px solid #dbe5f0}.review-rate-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.review-rate-head>div{display:grid;gap:4px}.review-rate-head strong{color:#0f172a;font-size:18px}.review-rate-head span{color:#64748b;font-size:11px;line-height:1.5}.review-rate-head button{border:1px solid #38bdf8;border-radius:10px;padding:8px 12px;background:#ecfeff;color:#0369a1;font-weight:900}.review-rate-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;overflow:hidden;border:1px solid #bae6fd;border-radius:14px;background:#f0f9ff}.review-rate-summary div{display:grid;gap:5px;padding:11px 12px;border-right:1px solid #bae6fd;border-bottom:1px solid #bae6fd}.review-rate-summary div:nth-child(2n){border-right:0}.review-rate-summary div:nth-last-child(-n+2){border-bottom:0}.review-rate-summary dt{color:#475569;font-size:11px;font-weight:800}.review-rate-summary dd{margin:0;color:#075985;font-size:18px;font-weight:950}.review-rate-warning{display:grid;gap:4px;padding:9px 10px;border-radius:10px;background:#fff7ed;color:#9a3412;font-size:11px}.review-rate-tabs{display:flex;gap:7px;overflow-x:auto;padding-bottom:3px}.review-rate-tabs button{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;max-width:220px;border:1px solid #cbd5e1;border-radius:999px;padding:8px 10px;background:#fff;color:#475569;font-size:11px;font-weight:850;white-space:nowrap}.review-rate-tabs button.active{border-color:#38bdf8;background:#e0f2fe;color:#075985}.review-rate-tabs em{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:999px;background:#0284c71f;font-style:normal}.review-rate-section{display:grid;gap:8px}.review-rate-section>header{display:grid;gap:4px}.review-rate-section h4{margin:0;padding-left:8px;border-left:4px solid #38bdf8;color:#0f172a;font-size:15px}.review-rate-section>header span{color:#64748b;font-size:11px}.review-rate-table-wrap{position:relative;max-height:460px;overflow:auto;border:1px solid #7dd3fc;border-radius:10px;background:#fff}.review-rate-table-wrap table{min-width:-moz-max-content;min-width:max-content;width:100%;border-collapse:separate;border-spacing:0;font-size:11px}.review-rate-table-wrap th,.review-rate-table-wrap td{min-width:86px;padding:8px 9px;border-right:1px solid #bae6fd;border-bottom:1px solid #dbeafe;text-align:center;white-space:nowrap}.review-rate-table-wrap th{position:sticky;top:0;z-index:2;background:#46a8dc;color:#fff;font-weight:900}.review-rate-table-wrap tbody tr:nth-child(2n) td{background:#f8fbff}.review-rate-table-wrap tbody tr.total td{position:sticky;top:32px;z-index:1;background:#d7effb;color:#0c4a6e;font-weight:950}.review-rate-empty{padding:24px;color:#64748b;text-align:center}.store-sales-daily-report{display:grid;gap:14px;margin-top:16px;padding-top:16px;border-top:1px solid #dbe4ef}.store-sales-daily-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.store-sales-daily-head>div{display:grid;gap:3px}.store-sales-daily-head strong{color:#0f172a;font-size:18px}.store-sales-daily-head span{color:#64748b;font-size:12px}.store-sales-daily-head button{min-height:36px;border:1px solid #86efac;border-radius:7px;background:#f0fdf4;padding:0 12px;color:#15803d;font-weight:800}.store-sales-daily-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;overflow:hidden;border:1px solid #cfe1f0;border-radius:7px;background:#f7fbff}.store-sales-daily-summary div{min-width:0;padding:10px 12px}.store-sales-daily-summary div:nth-child(2n){border-left:1px solid #d8e7f3}.store-sales-daily-summary div:nth-child(n+3){border-top:1px solid #d8e7f3}.store-sales-daily-summary dt{color:#52708b;font-size:11px;font-weight:800}.store-sales-daily-summary dd{margin:4px 0 0;overflow:hidden;color:#0f4167;font-size:17px;font-weight:900;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.store-sales-daily-warning{display:grid;gap:4px;border-left:3px solid #f59e0b;background:#fffbeb;padding:9px 10px;color:#92400e;font-size:12px}.store-sales-daily-section{display:grid;gap:8px}.store-sales-daily-section>header{display:flex;align-items:end;justify-content:space-between;gap:8px;padding-left:9px;border-left:3px solid #42a5df}.store-sales-daily-section h4{margin:0;color:#0f172a;font-size:16px}.store-sales-daily-section header span{color:#64748b;font-size:11px}.store-sales-daily-table-wrap{position:relative;width:100%;max-height:62vh;overflow:auto;border:1px solid #b9d3e6;border-radius:7px;background:#fff;-webkit-overflow-scrolling:touch}.store-sales-daily-table-wrap table{width:-moz-max-content;width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;color:#172033;font-size:11px}.store-sales-daily-table-wrap th,.store-sales-daily-table-wrap td{min-width:86px;height:36px;border-right:1px solid #d8e5ef;border-bottom:1px solid #d8e5ef;padding:6px 8px;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.store-sales-daily-table-wrap thead th{position:sticky;top:0;z-index:4;height:36px;background:#42a5df;color:#fff;text-align:center;font-weight:900}.store-sales-daily-table-wrap thead tr:nth-child(2) th{top:36px;background:#349bd6}.store-sales-daily-table-wrap tbody td:first-child,.store-sales-daily-table-wrap thead tr:first-child>th:first-child{position:sticky;left:0;z-index:2;min-width:96px;text-align:center}.store-sales-daily-table-wrap tbody td:nth-child(2),.store-sales-daily-table-wrap thead tr:first-child>th:nth-child(2){position:sticky;left:96px;z-index:2;min-width:74px;text-align:center}.store-sales-daily-table-wrap thead tr:first-child>th:first-child,.store-sales-daily-table-wrap thead tr:first-child>th:nth-child(2){z-index:6}.store-sales-daily-table-wrap tbody td:first-child,.store-sales-daily-table-wrap tbody td:nth-child(2){background:#fff;font-weight:800}.store-sales-daily-table-wrap tbody tr:nth-child(odd) td{background:#f7fbff}.store-sales-daily-table-wrap tbody tr:nth-child(odd) td:first-child,.store-sales-daily-table-wrap tbody tr:nth-child(odd) td:nth-child(2){background:#f7fbff}.store-sales-daily-table-wrap tbody tr.total td,.store-sales-daily-table-wrap tbody tr.total td:first-child,.store-sales-daily-table-wrap tbody tr.total td:nth-child(2){background:#e1f1fb;color:#0f4167;font-weight:900}.store-sales-daily-empty{padding:28px;color:#64748b;text-align:center}@media(max-width:560px){.store-sales-daily-head{align-items:stretch;flex-direction:column}.store-sales-daily-head button{align-self:flex-start}}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}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;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.visible{visibility:visible}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.block{display:block}.table{display:table}.hidden{display:none}.border-collapse{border-collapse:collapse}.border{border-width:1px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:root{color:#111827;background:#eef4ff;font-family:PingFang SC,Microsoft YaHei,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;min-width:320px;overscroll-behavior:none}html,body,#root{height:100%;min-height:100%}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.62}.login-screen,.phone-shell{min-height:100vh;background:radial-gradient(circle at 12% 8%,rgba(37,99,235,.18),transparent 34%),radial-gradient(circle at 88% 18%,rgba(16,185,129,.16),transparent 28%),linear-gradient(180deg,#f7fbff,#eef4ff 48%,#fff)}.login-screen{display:flex;flex-direction:column;justify-content:flex-start;gap:14px;width:min(100%,430px);min-height:100dvh;margin:0 auto;padding:max(18px,env(safe-area-inset-top)) 18px 18px;overflow-y:auto}.login-hero,.login-card,.loading-card,.empty-card,.profile-card,.thinking-card{width:min(100%,430px)}.login-hero{margin:0 auto;padding-top:8px;color:#0f172a}.brand-mark,.avatar{display:grid;place-items:center;width:54px;height:54px;border-radius:19px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;font-size:20px;font-weight:900;box-shadow:0 20px 44px #2563eb47}.small-mark{width:52px;height:52px;margin:0 auto 12px;border-radius:18px}.eyebrow,.muted-label{margin:14px 0 0;color:#2563eb;font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.login-hero h1,.page-title h1{margin:8px 0;font-size:34px;letter-spacing:-.06em}.login-hero h1{margin:6px 0;font-size:30px}.login-hero p,.page-title p,.profile-card p,.empty-chat p,.thinking-card p{margin:0;color:#64748b;line-height:1.7}.login-card,.loading-card{margin:0 auto;padding:18px;border:1px solid rgba(203,213,225,.86);border-radius:24px;background:#fffffff0;box-shadow:0 24px 70px #0f172a1f}.login-card label,.login-card label span{display:block}.login-card label{margin-bottom:12px;text-align:left}.login-card label span{margin:0 0 8px 4px;color:#334155;font-size:14px;font-weight:800}.login-card input,.composer textarea{width:100%;border:1px solid #d7e0ed;border-radius:17px;background:#fff;color:#0f172a;outline:none;transition:border-color .15s ease,box-shadow .15s ease}.login-card input{padding:13px 14px}.login-card input:focus,.composer textarea:focus{border-color:#2563eb;box-shadow:0 0 0 4px #2563eb1f}.login-card small{display:block;margin-top:12px;color:#94a3b8;word-break:break-all}.primary-button,.send-button,.ghost-button,.danger-button,.danger-link{border:0;border-radius:16px;font-weight:900}.primary-button,.send-button{background:#2563eb;color:#fff;box-shadow:0 16px 36px #2563eb38}.primary-button{width:100%;padding:13px 18px}.ghost-button{border:1px solid #d7e0ed;background:#fff;color:#334155}.ghost-button.small{padding:9px 14px;border-radius:14px}.alert{margin:10px 0;padding:11px 13px;border-radius:15px;line-height:1.5}.alert.error{border:1px solid #fecaca;background:#fff1f2;color:#be123c}.phone-shell{position:relative;height:100dvh;max-width:520px;margin:0 auto;padding-bottom:78px;overflow:hidden;box-shadow:0 0 0 1px #cbd5e1b3}.chat-screen{height:calc(100dvh - 78px);min-height:0;display:flex;flex-direction:column;overflow:hidden}.mobile-header{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px 12px;border-bottom:1px solid rgba(203,213,225,.7);background:#ffffffdb;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.mobile-header strong{display:block;max-width:min(220px,48vw);overflow:hidden;color:#0f172a;font-size:20px;text-overflow:ellipsis;white-space:nowrap}.mobile-header>div:first-child{min-width:0}.mobile-header .muted-label{margin:0 0 2px;color:#94a3b8;letter-spacing:normal;text-transform:none}.mobile-header-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}.mode-toggle{min-height:36px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#1d4ed8;padding:8px 12px;font-size:12px;font-weight:900}.mode-toggle.active{border-color:#2563eb;background:#2563eb;color:#fff;box-shadow:0 10px 22px #2563eb2e}.quick-actions{display:flex;gap:9px;padding:14px 16px 0;overflow-x:auto}.quick-actions button{flex:0 0 auto;padding:9px 13px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:13px;font-weight:800}.message-list{flex:1;min-height:0;padding:16px 16px 18px;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:auto}.message-list-end{height:18px;scroll-margin-bottom:18px}.empty-chat{margin:44px auto;text-align:center}.empty-chat h2{margin:0 0 8px;font-size:22px}.bubble{max-width:86%;margin-bottom:13px;padding:13px 15px;border-radius:20px;line-height:1.7;box-shadow:0 12px 28px #0f172a12}.bubble.assistant{border:1px solid #e2e8f0;border-top-left-radius:7px;background:linear-gradient(180deg,#fffffffa,#f8fafcf5);box-shadow:0 16px 38px #0f172a14}.answer-feedback{display:grid;gap:8px;margin-top:13px;border-top:1px solid #e2e8f0;padding-top:10px;color:#64748b;font-size:12px;font-weight:800}.answer-feedback-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.answer-feedback-actions button,.answer-feedback-editor button{min-width:0;border:1px solid #dbe4ef;border-radius:999px;background:#fff;padding:7px 5px;color:#475569;font-size:12px;font-weight:800}.answer-feedback-actions button.active{border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}.answer-feedback-actions button.active.resolved{border-color:#86efac;background:#f0fdf4;color:#15803d}.answer-feedback-actions button.active.unresolved{border-color:#fda4af;background:#fff1f2;color:#be123c}.answer-feedback-actions button:disabled,.answer-feedback-editor button:disabled{opacity:.55}.answer-feedback-editor{border:1px solid #dbe4ef;border-radius:12px;background:#f8fafc;padding:9px}.answer-feedback-editor textarea{width:100%;min-height:84px;resize:vertical;border:1px solid #cbd5e1;border-radius:9px;background:#fff;padding:9px;color:#172033;font:inherit;font-weight:500;line-height:1.55}.answer-feedback-editor>div{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px}.answer-feedback-editor button{border-color:#2563eb;background:#2563eb;padding-inline:13px;color:#fff}.answer-feedback-saved{color:#94a3b8;font-weight:600}.answer-feedback-error{margin:0;color:#be123c;font-size:12px;font-weight:700}.bubble.user{margin-left:auto;border-top-right-radius:7px;background:#0f172a;color:#fff}.bubble-role{margin-bottom:4px;color:#94a3b8;font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.bubble.user .bubble-role{color:#cbd5e1}.bubble-content{white-space:pre-wrap;word-break:break-word}.assistant-content{display:grid;gap:12px;white-space:normal}.assistant-content strong{color:#0f172a;font-weight:900}.assistant-content code{border-radius:6px;background:#e2e8f0;padding:2px 5px;color:#334155;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.92em}.assistant-content a{color:#1d4ed8;font-weight:800;text-decoration:underline;text-underline-offset:3px}.assistant-content h2,.assistant-content h3,.assistant-content h4{margin:6px 0 0;color:#0f172a;line-height:1.45}.assistant-content h2{font-size:18px}.assistant-content h3{font-size:16px}.assistant-content h4{font-size:15px}.bubble.assistant .bubble-content{color:#111827;font-size:15px;line-height:1.82}.answer-paragraph{margin:0;white-space:pre-wrap}.answer-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.answer-list.ordered{padding-left:22px;list-style:decimal}.answer-list.ordered li{padding-left:2px}.answer-list.ordered li:before{display:none}.answer-list li{position:relative;padding-left:17px}.assistant-content blockquote{margin:0;border-left:3px solid #93c5fd;border-radius:0 8px 8px 0;background:#eff6ff;padding:9px 11px;color:#475569}.assistant-content hr{width:100%;margin:2px 0;border:0;border-top:1px solid #dbe4ef}.answer-code-block{max-width:100%;margin:0;overflow-x:auto;border-radius:9px;background:#172033;padding:11px 12px;color:#e2e8f0;font-size:12px;line-height:1.6;white-space:pre}.assistant-content .answer-code-block code{background:transparent;padding:0;color:inherit}.answer-list li:before{position:absolute;top:.78em;left:2px;width:6px;height:6px;border-radius:999px;background:#2563eb;content:""}.data-table-card{overflow:hidden;margin:2px 0;border:1px solid #dbeafe;border-radius:14px;background:#fff;box-shadow:inset 0 1px #ffffffd1}.data-table-scroll{overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.data-table{width:100%;min-width:560px;border-collapse:collapse;font-size:13px;line-height:1.45}.data-table th,.data-table td{padding:11px 12px;border-bottom:1px solid #e5e7eb;border-left:1px solid #eef2f7;text-align:right;white-space:nowrap}.data-table th:first-child,.data-table td:first-child{border-left:0;text-align:left}.data-table th{position:sticky;top:0;background:#f8fafc;color:#334155;font-size:12px;font-weight:900}.data-table tbody tr:nth-child(2n){background:#f9fafb}.data-table tbody tr:last-child td{border-bottom:0}.data-table-hint{padding:7px 12px;border-top:1px solid #e5e7eb;background:#f8fafc;color:#64748b;font-size:11px;font-weight:800;text-align:center}.report-bubble{width:100%;max-width:100%}.report-result-card{display:grid;gap:12px;margin-top:10px;padding:11px;border:1px solid #dbeafe;border-radius:16px;background:#fff}.report-result-head,.report-step-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.report-result-head strong,.report-step-head strong,.report-section h3,.report-section summary strong,.complete-report-card header strong,.complete-report-section h3{display:block;color:#0f172a;font-size:14px;font-weight:900}.report-result-head span,.report-step-head span,.report-step-message{display:block;margin-top:3px;color:#64748b;font-size:12px;line-height:1.55}.report-status,.report-step-head em{flex:0 0 auto;border-radius:999px;background:#dcfce7;padding:4px 8px;color:#15803d;font-size:11px;font-style:normal;font-weight:900;white-space:nowrap}.report-status.error,.report-step.error .report-step-head em{background:#fee2e2;color:#b91c1c}.report-status.partial_success,.report-status.needs_params,.report-step.skipped .report-step-head em{background:#fef3c7;color:#92400e}.report-status.not_found{background:#e2e8f0;color:#475569}.report-param-list{display:flex;flex-wrap:wrap;gap:6px}.report-param-list span{display:inline-flex;align-items:center;gap:5px;border-radius:999px;background:#f1f5f9;padding:5px 8px;color:#334155;font-size:12px;font-weight:800}.report-param-list em{color:#64748b;font-style:normal}.report-note{border-radius:14px;padding:9px 10px;background:#f8fafc;color:#334155;font-size:13px;line-height:1.55}.report-note.warning{background:#fffbeb;color:#92400e}.report-note.error{background:#fef2f2;color:#991b1b}.report-note p{margin:0 0 6px}.report-note p:last-child{margin-bottom:0}.report-param-form{display:grid;gap:10px;padding:10px;border:1px solid #bfdbfe;border-radius:16px;background:#f8fbff}.report-param-grid{display:grid;gap:10px}.report-param-grid label{display:grid;gap:6px}.report-param-grid span{color:#334155;font-size:12px;font-weight:900}.report-param-grid span small{margin-left:6px;color:#64748b;font-size:10px;font-weight:700}.report-param-grid input,.report-param-grid select{min-width:0;width:100%;border:1px solid #cbd5e1;border-radius:13px;padding:11px 12px;background:#fff;color:#0f172a;font:inherit;font-size:14px;outline:none}.report-param-grid input:focus,.report-param-grid select:focus{border-color:#2563eb;box-shadow:0 0 0 4px #2563eb1a}.report-param-grid label em,.report-store-picker>em{min-height:16px;color:#64748b;font-size:11px;font-style:normal;line-height:1.4}.report-store-picker{display:grid;gap:5px}.report-store-multi-picker,.report-tag-multi-picker{display:grid;gap:7px}.report-store-multi-values{display:flex;flex-wrap:wrap;gap:6px}.report-store-multi-values>span{display:inline-flex;align-items:center;max-width:100%;gap:5px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;padding:5px 7px 5px 9px;color:#1d4ed8}.report-store-multi-values b{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.report-store-multi-values button{width:20px;height:20px;border:0;border-radius:50%;background:#dbeafe;padding:0;color:#1d4ed8;font-size:14px;font-weight:900;line-height:20px}.report-store-multi-picker>em,.report-tag-multi-picker>em{color:#64748b;font-size:11px;font-style:normal}.report-source-sections{display:grid;gap:9px;padding-top:12px;border-top:1px solid #e2e8f0}.report-source-sections>header{display:grid;gap:3px}.report-source-sections>header strong{color:#0f172a;font-size:14px}.report-source-sections>header span{color:#64748b;font-size:11px}.report-section-list{display:grid;gap:12px}.report-section{display:grid;gap:9px;padding-top:12px;border-top:1px solid #e2e8f0}.report-section:first-child{padding-top:0;border-top:0}.report-section h3{margin:0}.report-section summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none;border:1px solid #dbeafe;border-radius:13px;background:#f8fafc;padding:10px}.report-section summary::-webkit-details-marker{display:none}.report-section summary span{min-width:0}.report-section summary em{display:block;margin-top:3px;color:#64748b;font-size:11px;font-style:normal;line-height:1.4}.report-section summary b{flex:0 0 auto;border-radius:999px;background:#eff6ff;padding:6px 9px;color:#1d4ed8;font-size:11px;font-weight:900}.report-section[open] summary b{background:#f1f5f9;color:#475569;font-size:0}.report-section[open] summary b:before{content:"收起";font-size:11px}.report-section-body{display:grid;gap:9px}.report-step{display:grid;gap:8px;padding:10px;border:1px solid #dbeafe;border-radius:15px;background:#f8fafc}.report-step-actions{display:inline-flex;flex:0 0 auto;align-items:center;gap:6px}.report-sql-copy,.report-step-download{border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#1d4ed8;cursor:pointer;padding:6px 9px;font-size:11px;font-weight:900;line-height:1}.report-step-download{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}.report-step .data-table-card{margin-top:2px;border-color:#bfdbfe;border-radius:12px}.report-step .data-table{min-width:720px}.report-step .data-table th{background:#41a9df;color:#fff;font-size:12px}.report-step .data-table td{background:#fff}.report-step .data-table tbody tr:nth-child(2n) td{background:#f7fbff}.complete-report-card{display:grid;gap:12px;padding-top:13px;border-top:1px solid #e2e8f0}.complete-report-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.complete-report-card header span{display:block;margin-top:3px;color:#64748b;font-size:11px;line-height:1.5}.complete-report-section{display:grid;gap:8px}.complete-report-section h3{margin:0}.complete-report-table-wrap{overflow-x:auto;border:1px solid #bfdbfe;border-radius:12px;background:#fff;-webkit-overflow-scrolling:touch}.complete-report-table{width:-moz-max-content;width:max-content;min-width:1120px;border-collapse:separate;border-spacing:0;color:#0f172a;font-size:12px}.complete-report-table th,.complete-report-table td{min-width:80px;border-right:1px solid #d9e3ee;border-bottom:1px solid #d9e3ee;padding:8px 9px;text-align:right;white-space:nowrap}.complete-report-table thead th{background:#41a9df;color:#fff;font-weight:900}.complete-report-table tbody th{position:sticky;left:0;z-index:1;min-width:132px;background:#fff;text-align:left;font-weight:900}.complete-report-table tbody tr.complete-report-parent-row th{font-weight:900}.complete-report-table tbody tr.complete-report-child-row th{font-weight:700;color:#334155}.complete-report-table tbody tr:nth-child(2n) td,.complete-report-table tbody tr:nth-child(2n) th{background:#f7fbff}.complete-report-table tbody th.indented{padding-left:26px;font-weight:700}.complete-report-label{display:inline-flex;align-items:center;gap:5px;min-width:0}.complete-report-group-toggle,.complete-report-label-spacer{flex:0 0 auto;width:17px;height:17px}.complete-report-group-toggle{display:inline-grid;place-items:center;border:0;border-radius:999px;background:transparent;color:#64748b;font-size:12px;line-height:1;cursor:pointer}.complete-report-group-toggle:active{background:#e0f2fe;color:#0369a1}.complete-report-cell{font-variant-numeric:tabular-nums}.complete-report-cell em{display:inline-block;margin-left:5px;font-style:normal;font-weight:900}.complete-report-cell.down,.complete-report-cell.down em{color:#ef4444}.complete-report-cell.up em{color:#22c55e}.complete-report-cell.neutral em{color:#facc15}.complete-report-note{color:#64748b;text-align:left!important}.inline-image-card{overflow:hidden;margin:2px 0;border:1px solid #dbeafe;border-radius:16px;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 10px 24px #0f172a0f}.inline-image-preview{display:block;padding:10px;background:#f8fafc}.inline-image-preview img{display:block;width:100%;max-height:260px;border-radius:12px;background:#e2e8f0;-o-object-fit:contain;object-fit:contain}.inline-image-card figcaption{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px 12px}.inline-image-card figcaption>span:first-child{display:grid;min-width:0;gap:2px}.inline-image-card strong{overflow:hidden;color:#0f172a;font-size:13px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.inline-image-card em{overflow:hidden;color:#64748b;font-size:11px;font-style:normal;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.inline-image-actions{display:flex;flex:0 0 auto;gap:7px}.inline-image-actions a,.inline-image-actions button{border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#2563eb;padding:7px 10px;font-size:12px;font-weight:900;line-height:1;text-decoration:none}.inline-image-actions button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.choice-card{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:7px;margin-top:10px;max-height:min(64vh,620px);padding:9px;border:1px solid #bfdbfe;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#eff6ff);overflow:hidden}.choice-card header,.choice-group-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.choice-card header strong,.choice-group-title strong{min-width:0;color:#0f172a;font-size:13px;font-weight:900;overflow-wrap:anywhere}.choice-card header span,.choice-group-title em{flex:0 0 auto;border-radius:999px;background:#dbeafe;padding:4px 8px;color:#1d4ed8;font-size:11px;font-style:normal;font-weight:900}.choice-card p{margin:0;color:#475569;font-size:12px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.choice-group-list{display:grid;gap:7px;min-height:0;max-height:min(46vh,460px);overflow:auto;padding-right:2px}.choice-group{display:grid;gap:6px;padding:7px;border:1px solid #dbeafe;border-radius:14px;background:#ffffffeb}.choice-group-title em{background:#f1f5f9;color:#64748b}.choice-options{display:grid;gap:6px}.choice-options button{display:grid;gap:2px;width:100%;border:1px solid #dbeafe;border-radius:13px;background:#fff;min-height:42px;padding:6px 8px;color:#111827;text-align:left}.choice-options button.selected,.choice-options button:active{border-color:#2563eb;background:#eff6ff;box-shadow:inset 3px 0 #2563eb}.choice-options button.skip-choice{border:1px dashed #f59e0b;background:linear-gradient(180deg,#fffbeb,#fff7ed);box-shadow:inset 3px 0 #f59e0b}.choice-options button.skip-choice.selected{border-color:#f97316;background:#ffedd5;box-shadow:inset 3px 0 #ea580c,0 0 0 2px #f973161f}.choice-options button.skip-choice:active{border-color:#ea580c;background:#fed7aa}.choice-options button.skip-choice strong{color:#9a3412}.choice-options button.skip-choice span{color:#b45309}.choice-options button strong{color:#0f172a;font-size:13px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.choice-options button span,.choice-options button em{color:#64748b;font-size:11px;font-style:normal;font-weight:800;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.choice-confirm{min-height:36px;border:0;border-radius:13px;background:#2563eb;color:#fff;font-weight:900}.choice-confirm:disabled{cursor:not-allowed;opacity:.55}.file-attachments,.knowledge-references{display:grid;gap:8px;margin-top:12px}.knowledge-reference-title{color:#64748b;font-size:12px;font-weight:900}.knowledge-reference-card{display:grid;grid-template-columns:34px minmax(0,1fr);gap:5px 10px;padding:10px;border:1px solid #bbf7d0;border-radius:15px;background:#f0fdf4;color:inherit;text-decoration:none}.knowledge-reference-card.muted{border-color:#e2e8f0;background:#f8fafc}button.knowledge-reference-card{width:100%;cursor:pointer;font:inherit;text-align:left}.knowledge-reference-card.attachment-reference{border-color:#bfdbfe;background:#eff6ff}.knowledge-reference-card.attachment-reference span{background:#2563eb}.knowledge-reference-card span{grid-row:span 2;display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#16a34a;color:#fff;font-size:13px;font-weight:900}.knowledge-reference-card strong{min-width:0;overflow:hidden;color:#0f172a;font-size:13px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.knowledge-reference-card em{color:#64748b;font-size:12px;font-style:normal;font-weight:800}.material-attachments{display:grid;gap:10px;margin-top:12px}.material-section-title{color:#64748b;font-size:12px;font-weight:900}.material-card{display:grid;grid-template-columns:86px minmax(0,1fr);gap:10px;padding:10px;border:1px solid #dbeafe;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 8px 20px #0f172a0d}.material-card.video{grid-template-columns:1fr}.material-preview-link{display:block;width:86px;height:76px;border-radius:10px;overflow:hidden}.material-preview,.material-audio{width:86px;height:76px;border-radius:10px;background:#e2e8f0;-o-object-fit:cover;object-fit:cover}.material-card.video .material-preview{width:100%;height:auto;max-height:280px;aspect-ratio:16 / 9;background:#0f172a}.material-audio{padding:8px;-o-object-fit:contain;object-fit:contain}.material-preview.placeholder{display:grid;place-items:center;background:#eff6ff;color:#2563eb;font-size:22px;font-weight:900}.material-info{display:grid;min-width:0;align-content:start;gap:4px}.material-card.video .material-info{gap:6px}.material-info strong{overflow:hidden;color:#0f172a;font-size:14px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.material-info em{overflow:hidden;color:#64748b;font-size:11px;font-style:normal;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.material-info small{display:-webkit-box;overflow:hidden;color:#334155;font-size:12px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.material-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:2px}.material-tags b{max-width:100%;overflow:hidden;padding:3px 6px;border-radius:999px;background:#e0f2fe;color:#0369a1;font-size:10px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.material-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:3px}.material-action-button{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 10px;border-radius:11px;background:#2563eb;color:#fff;font-size:12px;font-weight:900;line-height:1;text-decoration:none}.file-attachment{width:100%;display:grid;grid-template-columns:34px 1fr;gap:8px 10px;padding:10px;border:1px solid #bfdbfe;border-radius:15px;background:#eff6ff;color:inherit;font:inherit;text-align:left;text-decoration:none;cursor:pointer}.file-attachment span{grid-row:span 2;display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#2563eb;color:#fff;font-size:13px;font-weight:900}.file-attachment strong{min-width:0;overflow:hidden;color:#0f172a;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.file-attachment em{color:#64748b;font-size:12px;font-style:normal;font-weight:800}.thinking-card,.activity-card,.empty-card{padding:15px;border:1px solid #dbeafe;border-radius:20px;background:#ffffffeb;box-shadow:0 12px 30px #0f172a0f}.thinking-card{display:flex;align-items:flex-start;gap:12px;border-color:#a7f3d0;background:#ecfdf5}.activity-card{max-width:92%;margin-bottom:14px;border-color:#a7f3d0;background:radial-gradient(circle at 15% 0%,rgba(16,185,129,.16),transparent 28%),#ecfdf5;box-shadow:0 18px 44px #065f461f}.activity-card.done{border-color:#bfdbfe;background:radial-gradient(circle at 15% 0%,rgba(37,99,235,.1),transparent 26%),#eff6ff}.activity-card.compact{padding:10px;border-color:#dbeafe;background:#fffffff5;box-shadow:0 10px 26px #2563eb1a}.activity-card.error{border-color:#fecaca;background:#fef2f2}.activity-card.has-error{border-color:#fecaca;background:#fff7f7}.activity-head,.current-step{display:flex;align-items:center;justify-content:space-between;gap:12px}.activity-head strong{display:inline-flex;align-items:center;gap:8px;color:#065f46;font-size:18px}.activity-card.done .activity-head strong{color:#1d4ed8}.activity-card.has-error .activity-head strong{color:#b91c1c}.activity-head>span{color:#059669;font-size:12px;font-weight:900}.collapse-button,.activity-summary{border:0;background:transparent}.collapse-button{padding:5px 8px;border-radius:999px;color:#2563eb;font-size:12px;font-weight:900}.activity-summary{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;width:100%;padding:2px;text-align:left}.activity-summary strong,.activity-summary em{display:block}.activity-summary strong{color:#0f172a;font-size:15px}.activity-summary em{margin-top:2px;color:#64748b;font-size:12px;font-style:normal;font-weight:800}.activity-summary b{color:#2563eb;font-size:12px}.activity-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:999px;font-weight:900}.activity-icon.done{background:#dbeafe;color:#2563eb}.status-dot{width:10px;height:10px;border-radius:999px;background:#22c55e;box-shadow:0 0 0 6px #22c55e24}.status-dot.error{background:#ef4444;box-shadow:0 0 0 6px #ef444424}.activity-goal,.current-step{margin-top:12px;padding:12px;border:1px solid rgba(16,185,129,.18);border-radius:16px;background:#ffffffad}.activity-goal{background:linear-gradient(135deg,#ffffffe0,#f0fdf4e0)}.activity-goal small,.current-step small{display:block;margin-bottom:4px;color:#059669;font-weight:900}.activity-goal p,.activity-goal span,.current-step strong,.current-step span{margin:0;color:#0f172a;line-height:1.55;overflow-wrap:anywhere}.activity-goal span,.current-step span{color:#64748b;font-size:12px}.progress-track{height:8px;margin-top:12px;overflow:hidden;border-radius:999px;background:#94a3b833}.progress-track span{display:block;height:100%;min-width:8px;border-radius:inherit;background:linear-gradient(90deg,#10b981,#2563eb);transition:width .28s ease}.current-step{border-color:#22c55e47;background:#ffffffc7}.current-step.done-state{border-color:#bfdbfe;background:#eff6ff}.activity-log{margin:12px 0 0;padding:0;list-style:none}.activity-log li{position:relative;margin:7px 0;padding-left:18px;color:#475569;font-size:13px;font-weight:750;line-height:1.45}.activity-log li:before{position:absolute;top:.65em;left:2px;width:7px;height:7px;border-radius:999px;background:#10b981;content:""}.plan-list{display:grid;gap:8px;margin-top:12px}.plan-step{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px;border:1px solid #e2e8f0;border-radius:14px;background:#fffc}.plan-step.success{border-color:#bfdbfe;background:#eff6ff}.plan-step.running{border-color:#86efac;background:linear-gradient(90deg,#dcfce7f5,#ffffffeb);box-shadow:inset 3px 0 #10b981}.plan-step.error{border-color:#fecaca;background:#fef2f2}.plan-step>span{color:#2563eb;font-weight:900}.plan-step.running>span{color:#10b981}.plan-step.error>span{color:#ef4444}.plan-step strong{min-width:0;overflow:hidden;color:#0f172a;font-size:13px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.plan-step em{color:#64748b;font-size:11px;font-style:normal;font-weight:900}.spinner.tiny{width:13px;height:13px;border-width:2px;border-color:#10b98138;border-top-color:#10b981}.spinner{display:inline-block;width:16px;height:16px;border:3px solid rgba(37,99,235,.18);border-top-color:#2563eb;border-radius:50%;animation:spin .8s linear infinite}.thinking-card .spinner{margin-top:4px;border-color:#10b98133;border-top-color:#10b981}@keyframes spin{to{transform:rotate(360deg)}}.composer{flex:0 0 auto;display:grid;grid-template-columns:1fr;gap:8px;padding:12px 14px;border-top:1px solid rgba(203,213,225,.78);background:#fffffff2;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.mobile-composer-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.composer textarea{min-height:52px;max-height:120px;padding:13px 14px;resize:vertical}.send-button{align-self:end;min-width:76px;height:52px}.tabbar{position:fixed;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-width:520px;height:78px;margin:0 auto;padding:10px 14px 16px;border-top:1px solid rgba(203,213,225,.8);background:#fffffff5;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.tabbar button{border:0;border-radius:18px;background:transparent;color:#64748b;font-weight:900}.tabbar button.active{background:#eff6ff;color:#2563eb}.page-screen{height:calc(100dvh - 78px);min-height:0;padding:24px 16px;overflow-y:auto;overscroll-behavior:contain}.page-title h1{font-size:30px}.session-list{margin-top:18px}.session-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:14px;border:1px solid #e2e8f0;border-radius:20px;background:#fffffff0;box-shadow:0 12px 26px #0f172a0d;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.session-card:hover,.session-card:focus{border-color:#93c5fd;box-shadow:0 16px 36px #2563eb1a;outline:none;transform:translateY(-1px)}.session-card[data-loading=true]{opacity:.7;pointer-events:none}.session-card.active{border-color:#2563eb;box-shadow:0 14px 34px #2563eb21}.session-main{min-width:0;border:0;background:transparent;text-align:left}.session-main strong,.session-main span{display:block}.session-main strong{max-width:250px;overflow:hidden;color:#0f172a;text-overflow:ellipsis;white-space:nowrap}.session-main span{margin-top:4px;color:#94a3b8;font-size:12px}.danger-link{padding:8px 10px;background:#fff1f2;color:#e11d48}.profile-page .profile-card{width:100%;margin-top:18px;padding:22px;border:1px solid #e2e8f0;border-radius:26px;background:#fffffff0;text-align:center;box-shadow:0 18px 48px #0f172a14}.profile-hero-row{display:grid;grid-template-columns:minmax(0,1fr) 128px;align-items:center;gap:12px}.profile-person{min-width:0;text-align:center}.profile-page .avatar{margin:0 auto 12px}.profile-card h2{margin:0 0 4px}.memory-entry{display:grid;justify-items:center;gap:5px;min-height:128px;padding:13px 10px;border:1px solid #bfdbfe;border-radius:22px;background:radial-gradient(circle at 80% 10%,rgba(37,99,235,.16),transparent 32%),#eff6ff;color:#0f172a;box-shadow:0 14px 34px #2563eb1a}.memory-entry span{display:grid;place-items:center;width:44px;height:44px;border-radius:16px;background:#2563eb;color:#fff;font-size:19px;font-weight:900}.memory-entry strong,.memory-entry em{display:block}.memory-entry strong{font-size:14px;font-weight:900}.memory-entry em{color:#64748b;font-size:11px;font-style:normal;font-weight:800}.profile-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:18px}.profile-grid div,.profile-action{padding:14px;border-radius:18px;background:#f8fafc}.profile-grid span,.profile-grid strong{display:block}.profile-grid span{color:#64748b;font-size:12px}.profile-grid strong{margin-top:4px;font-size:20px}.profile-action{display:block;width:100%;margin-top:12px;border:1px solid #dbeafe;background:radial-gradient(circle at 92% 12%,rgba(37,99,235,.12),transparent 28%),#f8fafc;text-align:left}.profile-action span,.profile-action strong,.profile-action em{display:block}.profile-action span{color:#2563eb;font-size:12px;font-weight:900}.profile-action strong{margin-top:4px;color:#0f172a;font-size:17px}.profile-action em{margin-top:5px;color:#64748b;font-size:12px;font-style:normal;font-weight:700}.danger-button{width:100%;margin-top:16px;padding:13px 16px;background:#ef4444;color:#fff}.files-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.files-toolbar .page-title{min-width:0}.file-empty{margin-top:18px;text-align:center}.file-empty h2{margin:4px 0;color:#0f172a}.file-list{display:grid;gap:12px;margin-top:18px}.file-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;border:1px solid #dbeafe;border-radius:20px;background:#fffffff0;box-shadow:0 14px 32px #0f172a0f}.file-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:17px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;font-weight:900}.file-body{min-width:0}.file-body strong,.file-body span,.file-body em{display:block}.file-body strong{overflow:hidden;color:#0f172a;text-overflow:ellipsis;white-space:nowrap}.file-body span{margin-top:3px;overflow:hidden;color:#64748b;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.file-body em{margin-top:5px;color:#94a3b8;font-size:12px;font-style:normal;font-weight:800}.file-download{padding:8px 10px;border:0;border-radius:13px;background:#eff6ff;color:#2563eb;font-size:13px;font-weight:900;text-decoration:none;cursor:pointer}.memory-page .empty-card{margin-top:18px}.memory-stack{display:grid;gap:12px;margin-top:18px}.memory-hero-card,.memory-card{border:1px solid #dbeafe;border-radius:22px;background:#fffffff0;box-shadow:0 14px 34px #0f172a0f}.memory-hero-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;background:radial-gradient(circle at 10% 0%,rgba(37,99,235,.13),transparent 28%),radial-gradient(circle at 96% 4%,rgba(16,185,129,.12),transparent 28%),#fffffff2}.memory-hero-card h2{margin:6px 0;color:#0f172a;font-size:22px}.memory-hero-card p,.memory-empty-text,.memory-summary{margin:0;color:#64748b;line-height:1.7}.memory-status{display:inline-flex;padding:4px 8px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:11px;font-weight:900}.memory-status.enabled{background:#dcfce7;color:#15803d}.switch-button{position:relative;flex:0 0 auto;width:58px;height:34px;border:0;border-radius:999px;background:#cbd5e1;transition:background .15s ease}.switch-button span{position:absolute;top:4px;left:4px;width:26px;height:26px;border-radius:999px;background:#fff;box-shadow:0 3px 10px #0f172a2e;transition:transform .15s ease}.switch-button.on{background:#2563eb}.switch-button.on span{transform:translate(24px)}.memory-card{padding:15px}.memory-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.memory-section-head strong{color:#0f172a;font-size:16px;font-weight:900}.memory-section-head span{color:#94a3b8;font-size:11px;font-weight:900}.memory-summary{color:#1f2937}.memory-chip-list,.memory-note-list{display:flex;flex-wrap:wrap;gap:8px}.memory-chip-list span,.memory-note-list span{max-width:100%;border-radius:999px;font-size:12px;font-weight:900;line-height:1.35}.memory-chip-list span{padding:7px 10px;background:#eff6ff;color:#1d4ed8}.memory-note-list{display:grid}.memory-note-list span{padding:8px 10px;border-radius:14px;background:#f8fafc;color:#475569}.memory-entity-list{display:grid;gap:12px}.memory-entity-list small{display:block;margin-bottom:7px;color:#64748b;font-weight:900}.memory-item-list{display:grid;gap:10px}.memory-item{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:11px;border:1px solid #dbeafe;border-radius:16px;background:#f8fbff}.memory-item.pending{border-color:#fde68a;background:#fffbeb}.memory-item small,.memory-item strong,.memory-item em{display:block}.memory-item small{color:#64748b;font-size:11px;font-weight:900}.memory-item strong{margin:3px 0;color:#0f172a;font-size:13px;line-height:1.45}.memory-item em{color:#94a3b8;font-size:11px;font-style:normal;font-weight:800}.memory-item-actions{display:grid;gap:7px}.memory-item-actions button{min-width:52px;padding:7px 9px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:900}.memory-item-actions button:last-child{border-color:#fecaca;background:#fff1f2;color:#dc2626}.memory-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.memory-actions .ghost-button,.memory-actions .danger-link{padding:12px 10px;border-radius:16px}.mobile-attachment-composer{display:grid;gap:8px}.mobile-attachment-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.mobile-attachment-actions button{display:inline-flex;align-items:center;gap:5px;min-height:34px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;padding:6px 10px;color:#1d4ed8;font-size:12px;font-weight:900}.mobile-attachment-actions button span{display:grid;place-items:center;width:20px;height:20px;border-radius:999px;background:#2563eb;color:#fff;font-size:10px}.mobile-attachment-actions>em{flex:1 0 100%;color:#64748b;font-size:10px;font-style:normal;line-height:1.45}.mobile-attachment-drafts{display:grid;gap:7px;max-height:154px;overflow-y:auto;overscroll-behavior:contain}.mobile-attachment-draft{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;border:1px solid #dbeafe;border-radius:14px;background:#f8fbff}.mobile-attachment-draft.ready{border-color:#bbf7d0;background:#f0fdf4}.mobile-attachment-draft.failed{border-color:#fecaca;background:#fff1f2}.mobile-attachment-draft-icon,.uploaded-file-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#2563eb;color:#fff;font-size:11px;font-weight:900}.mobile-attachment-draft-body,.message-attachment-body,.uploaded-file-body{min-width:0}.mobile-attachment-draft-body strong,.mobile-attachment-draft-body span,.mobile-attachment-draft-body em{display:block}.mobile-attachment-draft-body strong,.message-attachment-body strong,.uploaded-file-body strong{overflow:hidden;color:#0f172a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.mobile-attachment-draft-body span,.message-attachment-body em,.uploaded-file-body em,.uploaded-file-body small{color:#64748b;font-size:10px;font-style:normal;font-weight:800;line-height:1.45}.mobile-attachment-draft-body em{margin-top:3px;color:#be123c;font-size:10px;font-style:normal;line-height:1.4}.mobile-attachment-progress{height:5px;margin-top:5px;overflow:hidden;border-radius:999px;background:#dbeafe}.mobile-attachment-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#10b981)}.mobile-attachment-draft-actions,.uploaded-file-actions{display:grid;gap:4px}.mobile-attachment-draft-actions button,.message-attachment-card button,.uploaded-file-actions button{border:0;border-radius:9px;background:#e0e7ff;padding:6px 8px;color:#3730a3;font-size:10px;font-weight:900}.message-attachment-list{display:grid;gap:8px;margin-top:10px}.message-attachment-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px;border:1px solid rgba(191,219,254,.9);border-radius:14px;background:#eff6fff5;color:#0f172a}.message-attachment-preview{display:grid;place-items:center;width:42px;height:42px;overflow:hidden;border-radius:12px;background:#2563eb;color:#fff;font-size:11px;font-weight:900}.message-attachment-preview img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.message-attachment-body strong,.message-attachment-body em,.uploaded-file-body strong,.uploaded-file-body em,.uploaded-file-body small{display:block}.attachment-inline-error{margin:0;border-radius:11px;background:#fff1f2;padding:8px 10px;color:#be123c;font-size:11px;line-height:1.45}.mobile-file-section{display:grid;gap:12px;margin-top:18px;padding:14px;border:1px solid #dbeafe;border-radius:22px;background:#fffffff0;box-shadow:0 14px 34px #0f172a0f}.mobile-file-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.mobile-file-section-head>div{display:flex;align-items:center;gap:7px}.mobile-file-section-head strong{color:#0f172a;font-size:16px;font-weight:900}.mobile-file-section-head span{display:grid;min-width:22px;height:22px;place-items:center;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:10px;font-weight:900}.mobile-file-section-head em{color:#64748b;font-size:10px;font-style:normal;font-weight:800}.uploaded-file-filters{display:grid;gap:8px}.uploaded-file-filters input,.uploaded-file-filters select{width:100%;min-width:0;border:1px solid #d7e0ed;border-radius:12px;background:#fff;padding:9px 10px;color:#0f172a;font-size:12px;outline:none}.uploaded-file-filters>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.uploaded-file-list{display:grid;gap:9px}.uploaded-file-list>article{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px;border:1px solid #e2e8f0;border-radius:15px;background:#f8fafc}.uploaded-file-body small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uploaded-file-actions button:first-child{background:#dbeafe;color:#1d4ed8}.mobile-file-empty{margin:0;border-radius:14px;background:#f8fafc;padding:14px;color:#64748b;font-size:12px;line-height:1.55;text-align:center}.generated-file-section .file-list{margin-top:0}@media(max-width:380px){.profile-hero-row{grid-template-columns:1fr}.memory-entry{min-height:0}.mobile-attachment-actions>em{font-size:9px}.uploaded-file-list>article{grid-template-columns:34px minmax(0,1fr)}.uploaded-file-actions{grid-column:1 / -1;grid-template-columns:1fr 1fr}}@media(min-width:760px){body{background:#e5edf8}.phone-shell{min-height:100vh}}@media(max-height:720px){.login-screen{gap:10px;padding-top:max(12px,env(safe-area-inset-top))}.login-hero{padding-top:0}.brand-mark{width:48px;height:48px;border-radius:17px;font-size:18px}.eyebrow{margin-top:10px}.login-hero h1{font-size:28px}.login-hero p{font-size:14px;line-height:1.55}.login-card{padding:16px}}.conversation-result-notice{display:grid;gap:7px;margin-top:10px;padding:10px 12px;border:1px solid #fed7aa;border-radius:12px;background:#fff7ed;color:#9a3412;font-size:12px;line-height:1.55}.conversation-result-notice.error{border-color:#fecaca;background:#fef2f2;color:#991b1b}.conversation-result-notice.clarification{border-color:#bfdbfe;background:#eff6ff;color:#1e40af}.conversation-result-notice.success{border-color:#bbf7d0;background:#f0fdf4;color:#166534}.conversation-result-notice header{display:flex;align-items:center;justify-content:space-between;gap:8px}.conversation-result-notice header span,.conversation-result-notice small{opacity:.8}.conversation-result-notice ul{display:grid;gap:3px;margin:0;padding-left:18px}.tool-activity-list{display:grid;gap:7px}.tool-activity-item{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 10px;border:1px solid #dbeafe;border-radius:10px;background:#ffffffc7}.tool-activity-item>span{display:grid;place-items:center;color:#0284c7}.tool-activity-item>strong{min-width:0;overflow:hidden;color:#334155;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.tool-activity-item>em{color:#64748b;font-size:11px;font-style:normal}.tool-activity-item.error{border-color:#fecaca;background:#fef2f2}.tool-activity-item.error>span,.tool-activity-item.error>em{color:#b91c1c}.clarification-card{gap:9px}.clarification-card>small{color:#64748b;line-height:1.5}.clarification-fields{display:flex;flex-wrap:wrap;gap:6px}.clarification-fields span{padding:4px 8px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:11px}.phone-shell.report-surface{padding-bottom:0}.report-conversation-screen{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;height:100dvh;min-height:0;overflow:hidden;background:radial-gradient(circle at 20% 0%,rgba(37,99,235,.13),transparent 32%),#f8fafc}.report-conversation-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid #dbe4ef;background:#fffffff0}.report-conversation-header strong{display:block;margin-top:2px;color:#0f172a;font-size:20px;font-weight:900}.report-conversation-guidance{margin:12px 14px 0;padding:12px;border:1px solid #bfdbfe;border-radius:16px;background:#eff6ff}.report-conversation-guidance strong{color:#1e3a8a;font-size:14px}.report-conversation-guidance p{margin:5px 0 10px;color:#475569;font-size:12px;line-height:1.6}.report-conversation-turns{display:flex;min-height:0;flex-direction:column;gap:13px;overflow-y:auto;padding:14px 14px 18px}.report-conversation-empty{display:grid;flex:1;place-items:center;align-content:center;text-align:center}.report-conversation-empty h2{margin:14px 0 7px;color:#0f172a;font-size:21px}.report-conversation-empty p{max-width:320px;margin:0;color:#64748b;font-size:13px;line-height:1.6}.report-conversation-turn{width:100%;border:1px solid #dbe4ef;border-radius:18px;background:#fff;padding:13px;box-shadow:0 10px 22px #0f172a0d}.report-conversation-turn.user{align-self:flex-end;width:88%;border-color:#2563eb;background:#2563eb;color:#fff}.report-conversation-turn.user .bubble-role{color:#dbeafe}.report-conversation-loading{display:flex;align-items:center;gap:8px;color:#475569;font-size:12px;font-weight:800}.report-conversation-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px;padding:12px 14px max(12px,env(safe-area-inset-bottom));border-top:1px solid #dbe4ef;background:#fffffff5}.report-conversation-composer textarea{min-height:46px;max-height:116px;resize:none;border:1px solid #cbd5e1;border-radius:14px;padding:12px;outline:0}.report-conversation-composer textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.legacy-report-boundary{display:grid;gap:7px;margin-top:10px;padding:12px;border:1px solid #bfdbfe;border-radius:14px;background:#eff6ff;color:#1e3a8a}.legacy-report-boundary p{margin:0;color:#475569;font-size:12px;line-height:1.5}.legacy-report-boundary button{justify-self:start}
