.route-loading,.content-loading{place-items:center;min-height:240px;display:grid}.login-page{box-sizing:border-box;place-items:center;min-height:100svh;padding:24px;display:grid}.login-card{width:min(100%,420px)}.login-card .ant-card-body{padding:36px}.login-content{width:100%}.login-content h1.ant-typography{color:#1d3557;margin:0 0 4px}.app-layout{background:#f5f8fb;min-height:100svh}.app-sider{z-index:10;border-right:1px solid #e2e8f0;top:0;bottom:0;left:0;overflow:auto;position:fixed!important}.brand-block{border-bottom:1px solid #eef2f6;align-items:center;gap:10px;height:88px;padding:0 22px;display:flex}.brand-mark{color:#fff;background:#1d5d8f;border-radius:9px;place-items:center;width:34px;height:34px;font-size:20px;font-weight:700;display:grid}.brand-block .ant-typography{margin:0}.brand-block h3.ant-typography{color:#1d3557;line-height:1.2}.brand-block .ant-typography-secondary,.brand-block .ant-typography:not(h3){color:#94a3b8;font-size:12px}.app-sider .ant-menu{border-inline-end:0;margin-top:18px}.app-sider .ant-menu-item-selected{color:#1d5d8f;background:#e8f2f9;font-weight:600}.app-main-layout{min-height:100svh;margin-left:232px}.app-header{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:24px;height:auto;min-height:64px;padding:12px 32px;display:flex}.header-context{color:#64748b;font-size:14px}.lawyer-avatar{color:#1d5d8f;background:#d9ebf7}.app-title.ant-typography{color:#1d3557;margin:0}.current-user{color:#475569}.app-content{box-sizing:border-box;width:min(1180px,100%);margin:0 auto;padding:32px}.page-grid{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:32px;display:grid}.section-alert{margin-bottom:16px}.case-card{width:100%}.case-card .ant-typography{margin-bottom:0}.case-card-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px;display:flex}.case-card-heading h4.ant-typography{color:#1d3557}.case-card-details{width:100%}.create-case-card{position:sticky;top:24px}.detail-page{max-width:1100px;margin:0 auto}.case-overview-card .ant-card-head,.case-process-card .ant-card-head{background:#f8fafc}.case-workspace-grid{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:20px;display:grid}.case-main-column,.case-lower-column,.case-copilot-column{flex-direction:column;gap:20px;min-width:0;display:flex}.case-lower-column{grid-column:1}.case-copilot-column{grid-area:1/2/span 2;position:sticky;top:20px}.copilot-composer{background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-direction:column;gap:10px;margin-bottom:16px;padding:12px;display:flex}.case-process-flow{justify-content:space-between;align-items:flex-start;padding:8px 12px;display:flex}.case-process-step{color:#94a3b8;text-align:center;flex-direction:column;align-items:center;gap:8px;min-width:96px;display:flex;position:relative}.case-process-index{color:#64748b;background:#e2e8f0;border-radius:50%;place-items:center;width:32px;height:32px;font-weight:600;display:grid}.case-process-line{background:#cbd5e1;width:calc(100% - 36px);height:2px;position:absolute;top:16px;left:calc(50% + 18px)}.dashboard-page,.customers-page{max-width:1180px;margin:0 auto}.customer-stat-grid{margin-bottom:20px}.customer-stat-grid .ant-card{border-top:3px solid #457b9d;height:100%}.customer-table-card{margin-bottom:20px}.customer-row{cursor:pointer;padding:16px 8px!important}.customer-row:hover{background:#f7fbfd}.customer-row-meta{justify-content:flex-end}.customer-detail{width:100%}.dashboard-heading{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px;display:flex}.dashboard-heading .ant-typography{margin-top:0}.dashboard-heading .ant-typography:last-child{white-space:nowrap;margin-bottom:8px}.dashboard-stat-grid{margin-bottom:24px}.dashboard-secondary-row{margin-top:0}.dashboard-stat-grid .ant-card{border-top:3px solid #457b9d;height:100%}.dashboard-stat-grid .ant-statistic-content{color:#1d3557}.dashboard-customer-item{cursor:pointer}.dashboard-customer-item:hover{background:#f7fbfd}.dashboard-quick-card{margin-top:24px}.ai-customer-page{max-width:1280px;margin:0 auto}.ai-customer-heading{justify-content:space-between;align-items:flex-start;margin-bottom:24px;display:flex}.ai-customer-heading .ant-typography{margin-top:0}.ai-customer-workspace{grid-template-columns:minmax(280px,320px) minmax(520px,1fr) minmax(280px,320px);align-items:stretch;gap:16px;display:grid}.ai-customer-workspace>.ant-card{min-width:0}.customer-list-card .ant-card-body,.chat-card .ant-card-body,.ai-analysis-card .ant-card-body{padding:0}.customer-item{cursor:pointer;min-height:82px;transition:background-color .2s;padding:14px 16px!important}.customer-item:hover,.customer-item-active{background:#f0f7fb}.customer-item .ant-list-item-meta-description{max-width:180px}.customer-item .ant-badge{line-height:1}.customer-item .ant-list-item-meta{min-width:0}.customer-item .ant-list-item-meta-title{margin-bottom:6px}.customer-preview{flex-direction:column;align-items:flex-start;gap:3px;min-width:0;display:flex}.customer-preview .ant-typography{min-width:0;max-width:170px}.customer-item>.ant-tag{white-space:nowrap;flex:none}.chat-card .ant-card-head{background:#f8fafc}.chat-messages{background:#f3f6f8;height:510px;padding:20px;overflow-y:auto}.customer-info-card{background:#fbfdff;margin:12px 16px 0}.chat-sources{flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;font-size:12px;display:flex}.chat-message{align-items:flex-start;gap:8px;max-width:88%;margin-bottom:18px;display:flex}.chat-message-customer{flex-direction:row-reverse;margin-left:auto}.chat-bubble-wrap{flex-direction:column;align-items:flex-start;display:flex}.chat-message-customer .chat-bubble-wrap{align-items:flex-end}.chat-sender,.chat-time{font-size:12px}.chat-bubble{color:#1f2937;background:#fff;border-radius:4px 12px 12px;margin-top:4px;padding:10px 12px;line-height:1.6;box-shadow:0 1px 2px #0f172a0f}.chat-message-customer .chat-bubble{background:#dceffc;border-radius:12px 4px 12px 12px}.chat-message-lawyer .chat-bubble{background:#e7ddf7;border-radius:4px 12px 12px}.chat-time{margin-top:4px}.chat-composer{border-top:1px solid #e5e7eb;align-items:flex-end;gap:8px;padding:16px;display:flex}.chat-composer .ant-input{resize:none}.analysis-status{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding:16px;display:flex}.analysis-list{margin:0;padding:8px 16px}.analysis-list>div{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;display:flex}.analysis-list dt{color:#64748b}.analysis-list dd{color:#1f2937;text-align:right;margin:0;font-weight:600}.analysis-note{background:#f8fafc;border-radius:6px;margin:16px;padding:12px}.ai-recommendation{background:#eef6fb;border:1px solid #d7eaf5;border-radius:8px;margin:16px;padding:14px}.ai-recommendation .ant-typography{display:block}.ai-recommendation p{color:#475569;margin:6px 0 14px}@media (width<=640px){.case-workspace-grid{grid-template-columns:1fr}.case-copilot-column,.case-lower-column{grid-area:auto/1}.case-copilot-column{position:static}.dashboard-heading{flex-direction:column;align-items:flex-start;gap:0}.dashboard-heading .ant-typography:last-child{margin-top:-8px}.ai-customer-heading{flex-direction:column;gap:8px}.ai-customer-workspace{grid-template-columns:1fr}.chat-messages{height:420px}}@media (width>=641px) and (width<=1080px){.ai-customer-workspace{grid-template-columns:minmax(230px,.85fr) minmax(360px,1.5fr)}.ai-analysis-card{grid-column:1/-1}}.back-button{margin-bottom:20px}@media (width<=800px){.app-sider{height:auto;width:100%!important;position:static!important}.app-layout{display:block}.app-main-layout{margin-left:0}.brand-block{height:68px}.app-sider .ant-menu{margin:0;display:flex;overflow-x:auto}.app-sider .ant-menu-item{flex:none;margin-block:4px}.app-header{align-items:flex-start;padding:12px 20px}.app-header .ant-space{align-items:flex-end}.current-user{display:none}.app-content{padding:24px 16px}.page-grid{grid-template-columns:1fr}.create-case-card{position:static}}@media (width<=480px){.login-page{padding:16px}.login-card .ant-card-body{padding:28px 24px}}.case-list{width:100%}.case-overview-grid{margin-bottom:32px}.document-upload-panel{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-bottom:24px;padding:16px;display:flex}.ai-summary-content{overflow-wrap:anywhere;max-height:min(60vh,640px);padding-right:4px;overflow-y:auto}.ai-summary-content .ant-typography{margin-top:0}.ai-summary-content ul{color:#475569;margin:0 0 20px;padding-left:20px;line-height:1.8}.selected-document{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.document-table .ant-table-cell{vertical-align:middle}.document-center-page{max-width:1180px;margin:0 auto}.settings-page{max-width:880px;margin:0 auto}.settings-heading{margin-bottom:24px}.settings-heading .ant-typography{margin-top:0}.settings-sections{width:100%}.settings-field{flex-direction:column;gap:8px;margin-bottom:20px;display:flex}.settings-safety-rules{flex-direction:column;gap:8px;margin:0;padding-left:20px;display:flex}.document-center-heading{justify-content:space-between;align-items:flex-start;margin-bottom:24px;display:flex}.document-center-heading .ant-typography{margin-top:0}.document-stat-grid{margin-bottom:20px}.document-stat-grid .ant-card{border-top:3px solid #457b9d;height:100%}.document-stat-grid .ant-statistic-content{color:#1d3557}.document-filter-card{margin-bottom:20px}.document-search-input{width:340px}.document-group-card{margin-bottom:16px}.document-group-card .ant-list-item-meta{align-items:center}.document-type-icon{border-radius:8px;place-items:center;width:38px;height:38px;font-size:20px;display:grid}.document-type-pdf{color:#c2414b;background:#fff1f2}.document-type-docx{color:#2563eb;background:#eff6ff}.document-type-txt{color:#64748b;background:#f1f5f9}.document-parse-demo{background:#f8fafc;margin-top:20px}@media (width<=640px){.document-center-heading{flex-direction:column;gap:8px}.document-search-input{width:100%}.case-process-flow{flex-direction:column;align-items:flex-start;gap:12px}.case-process-step{flex-direction:row;align-items:center;gap:10px}.case-process-line{width:2px;height:12px;top:32px;left:15px}.document-upload-panel{flex-direction:column;align-items:flex-start}}:root{color:#1f2937;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f7fa;font-family:Arial,Microsoft YaHei,sans-serif}body{margin:0}#root{min-height:100svh}
