:root{color:#172033;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f3f6fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#f3f6fb;min-width:0;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{grid-template-columns:248px minmax(0,1fr);min-height:100vh;display:grid}.login-page{background:#eef3fa;grid-template-columns:minmax(0,1fr) 440px;min-height:100vh;display:grid}.login-hero{color:#fff;background:linear-gradient(120deg,#132036eb,#2f6fedc7),radial-gradient(circle at 68% 40%,#ffffff2e,#0000 28%),#172033;align-items:center;min-height:100vh;padding:72px;display:flex}.login-copy{max-width:760px}.auth-brand{margin-bottom:72px}.brand-mark.large{width:52px;height:52px}.login-copy h1{letter-spacing:0;max-width:720px;margin:0;font-size:50px;line-height:1.12}.login-copy p{color:#dce7fb;max-width:650px;margin:22px 0 0;font-size:17px;line-height:1.9}.identity-row{flex-wrap:wrap;gap:10px;margin-top:28px;display:flex}.identity-row span{color:#e9f1ff;background:#ffffff1a;border:1px solid #ffffff38;border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.login-panel{place-items:center;padding:32px;display:grid}.login-card{background:#fff;border:1px solid #dde5f0;border-radius:8px;gap:16px;width:100%;padding:28px;display:grid;box-shadow:0 20px 55px #1720331a}.agreement-check{color:#667085;align-items:flex-start;gap:9px;font-size:13px;font-weight:500;line-height:1.7;display:flex}.agreement-check input{accent-color:#2f6fed;flex:none;width:16px;height:16px;margin:3px 0 0}.agreement-check button{color:#2f6fed;background:0 0;border:0;padding:0;font-weight:700}.agreement-check button:hover{text-decoration:underline}.agreement-backdrop{z-index:1000;background:#10182794;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.agreement-modal{background:#fff;border:1px solid #dbe3ef;border-radius:8px;grid-template-rows:auto minmax(0,1fr) auto;width:min(680px,100%);max-height:min(760px,100vh - 48px);display:grid;overflow:hidden;box-shadow:0 24px 80px #10182747}.agreement-modal>header,.agreement-modal>footer{justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;display:flex}.agreement-modal>header{border-bottom:1px solid #e4e9f1}.agreement-modal>header span{color:#7a869a;font-size:12px}.agreement-modal>header h2{color:#172033;letter-spacing:0;margin:5px 0 0;font-size:22px}.agreement-body{color:#4b5565;padding:22px 24px;overflow-y:auto}.agreement-intro{color:#7a869a;margin:0 0 20px;font-size:13px}.agreement-body section+section{margin-top:22px}.agreement-body h3{color:#263247;letter-spacing:0;margin:0 0 8px;font-size:15px}.agreement-body p{margin:0;font-size:14px;line-height:1.9}.agreement-modal>footer{border-top:1px solid #e4e9f1;justify-content:flex-end}.agreement-modal>footer .primary-button{justify-content:center;min-width:112px}.sidebar{color:#f8fbff;background:linear-gradient(#172033 0%,#101827 100%);flex-direction:column;gap:26px;height:100vh;padding:24px 18px;display:flex;position:sticky;top:0}.brand,.nav-item,.topbar,.user-zone,.primary-button,.secondary-button,.icon-button,.eyebrow,.hero-panel,.chat-input,.mode-row,.service-row,.step-item,.modal-actions{align-items:center;display:flex}.brand{gap:12px}.brand-mark{color:#fff;background:#2f6fed;border-radius:8px;place-items:center;width:44px;height:44px;display:grid}.brand strong,.brand span{display:block}.brand strong{font-size:18px}.brand span{color:#9fb0c9;margin-top:3px;font-size:12px}.nav-list{gap:8px;display:grid}.nav-item{color:#bdc8dd;text-align:left;background:0 0;border:0;border-radius:8px;gap:10px;width:100%;height:44px;padding:0 12px}.nav-item:hover,.nav-item.active{color:#fff;background:#2f6fed}.sidebar-card{color:#dbe7ff;background:#ffffff0f;border:1px solid #ffffff1a;border-radius:8px;margin-top:auto;padding:16px}.sidebar-card span,.sidebar-card strong{display:block}.sidebar-card span{color:#8fb3ff;margin-bottom:8px;font-size:12px;font-weight:800}.sidebar-card strong{font-size:14px;line-height:1.6}.page{min-width:0;padding:28px}.topbar{justify-content:space-between;gap:24px;margin-bottom:24px}.crumb{color:#7a869a;font-size:13px}.topbar h1{color:#172033;letter-spacing:0;margin:5px 0 0;font-size:28px}.user-zone{gap:10px}.user-chip{color:#344156;background:#fff;border:1px solid #d8e0ed;border-radius:8px;align-items:center;gap:7px;height:38px;padding:0 12px;font-size:13px;display:inline-flex}.primary-button,.secondary-button{border-radius:8px;justify-content:center;gap:8px;height:40px;padding:0 16px;font-weight:700}.primary-button{color:#fff;background:#2f6fed;border:1px solid #2f6fed}.primary-button:hover{background:#255fd0}.primary-button:disabled{cursor:not-allowed;opacity:.62}.primary-button.full{width:100%;margin-top:18px}.secondary-button{color:#2f6fed;background:#f7faff;border:1px solid #c7d6f6}.icon-button{color:#5c6a80;background:#fff;border:1px solid #d8e0ed;border-radius:8px;justify-content:center;width:40px;height:40px}.content-stack{gap:22px;display:grid}.hero-panel,.ai-panel,.side-panel,.consult-form,.lawyer-card,.account-card,.company-card,.login-card,.operation-modal{background:#fff;border:1px solid #dde5f0;border-radius:8px;box-shadow:0 18px 45px #1720330f}.hero-panel{color:#fff;background:linear-gradient(135deg,#2f6fedf5,#128073e0),#2f6fed;justify-content:space-between;gap:28px;min-height:230px;padding:34px}.lawyer-hero{background:linear-gradient(135deg,#172033f5,#2f6fedd6),#172033}.eyebrow{color:#eaf2ff;background:#ffffff21;border-radius:999px;gap:8px;width:fit-content;padding:7px 11px;font-size:13px}.hero-panel h2{letter-spacing:0;max-width:760px;margin:20px 0 12px;font-size:38px;line-height:1.18}.hero-panel p{color:#e8f0ff;max-width:760px;margin:0;line-height:1.8}.hero-action,.hero-stats{color:#172033;background:#fff;border:0;border-radius:8px;place-items:center;gap:8px;min-width:150px;height:112px;font-weight:900;display:grid}.hero-stats strong{font-size:34px}.hero-stats span{color:#5c6a80;font-size:13px}.consult-layout,.lawyer-grid,.account-layout{grid-template-columns:minmax(0,1fr) 300px;gap:18px;display:grid}.home-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.home-card{background:#fff;border:1px solid #dde5f0;border-radius:8px;min-height:160px;padding:22px;box-shadow:0 18px 45px #1720330f}.home-card strong,.home-card span{display:block}.home-card strong{color:#172033;font-size:20px}.home-card span{color:#5c6a80;margin-top:12px;line-height:1.7}.case-overview-grid{grid-template-columns:minmax(0,1fr) minmax(340px,.62fr);gap:18px;display:grid}.case-panel{background:#fff;border:1px solid #dde5f0;border-radius:8px;min-width:0;padding:22px;box-shadow:0 18px 45px #1720330f}.panel-title{justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px;display:flex}.panel-title h2{color:#172033;margin:0;font-size:20px}.panel-title button{color:#2f6fed;background:0 0;border:0;font-size:13px;font-weight:800}.empty-state{color:#718098;background:#f9fbff;border:1px solid #edf1f7;border-radius:8px;place-items:center;min-height:190px;display:grid}.intake-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.lawyer-grid,.account-layout{grid-template-columns:minmax(0,1fr) 420px}.ai-panel,.side-panel,.consult-form,.lawyer-card,.account-card,.company-card{padding:22px}.mode-row{flex-wrap:wrap;gap:10px}.mode-row button,.account-tabs button{color:#2f6fed;background:#f7faff;border:1px solid #c7d6f6;border-radius:8px;height:38px;padding:0 16px;font-weight:800}.mode-row button.active,.account-tabs button.active{color:#fff;background:#2f6fed;border-color:#2f6fed}.answer-card{text-align:center;place-items:center;min-height:280px;padding:32px;display:grid}.answer-card svg{color:#2f6fed}.answer-card h3{margin:16px 0 8px;font-size:30px}.answer-card strong{color:#2f6fed;margin-bottom:10px;font-size:15px;display:block}.answer-card p{color:#5c6a80;max-width:680px;margin:0;line-height:1.8}.prompt-list{gap:10px;display:grid}.prompt-list>span{color:#718098;font-size:13px}.prompt-list button{color:#344156;text-align:left;background:#f9fbff;border:1px solid #edf1f7;border-radius:8px;justify-content:space-between;gap:12px;padding:14px;display:flex}.prompt-list em{color:#2f6fed;white-space:nowrap;font-style:normal;font-weight:800}.chat-input{gap:10px;margin-top:18px}.chat-input input{flex:1}.chat-input button{color:#fff;background:#2f6fed;border:0;border-radius:8px;align-items:center;gap:7px;height:42px;padding:0 16px;display:inline-flex}.side-panel h3,.lawyer-card h3{margin:0 0 16px}.step-item{border-top:1px solid #edf1f7;gap:12px;padding:14px 0}.step-item span{color:#2f6fed;font-weight:900}.step-item strong{color:#344156}.section-head{margin-bottom:18px}.section-head span{color:#2f6fed;font-size:13px;font-weight:900}.section-head h2{color:#172033;margin:5px 0 0;font-size:24px}.section-head.compact{margin-top:24px}.section-head.compact h2{font-size:20px}.consult-form,.account-form{gap:16px;display:grid}.consult-form{grid-template-columns:repeat(2,minmax(0,1fr))}label{color:#344156;gap:8px;font-size:13px;font-weight:700;display:grid}input,select,textarea{background:#fff;border:1px solid #d8e0ed;border-radius:8px;outline:0;width:100%}input,select{height:42px;padding:0 12px}textarea{resize:vertical;min-height:132px;padding:12px}input:focus,select:focus,textarea:focus{border-color:#2f6fed;box-shadow:0 0 0 3px #2f6fed1a}.wide-field,.form-message,.submit-consult,.consult-form .section-head{grid-column:1/-1}.form-message{color:#0d6b57;background:#effcf8;border:1px solid #b9eadf;border-radius:8px;padding:12px 14px}.form-message.error{color:#b42318;background:#fff3f1;border-color:#ffd2cc}.service-row{border-top:1px solid #edf1f7;gap:12px;padding:16px 0}.service-row svg{color:#2f6fed;flex:none}.service-row strong,.service-row span{display:block}.service-row span{color:#718098;margin-top:4px;font-size:13px}.account-tabs{gap:10px;display:flex}.profile-card{text-align:center;background:#f9fbff;border-radius:8px;place-items:center;min-height:260px;padding:28px;display:grid}.profile-card svg{color:#2f6fed}.profile-card strong,.profile-card span{display:block}.profile-card strong{margin-top:14px;font-size:22px}.profile-card span,.profile-card p{color:#718098}.profile-summary{background:linear-gradient(135deg,#f8fbff,#eef5ff);border:1px solid #dfe9f8;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:20px;display:grid}.profile-avatar{color:#fff;background:#2f6fed;border-radius:8px;place-items:center;width:62px;height:62px;display:grid}.profile-summary strong,.profile-summary span{display:block}.profile-summary strong{color:#172033;font-size:22px}.profile-summary p{color:#5c6a80;margin:7px 0 0;line-height:1.6}.status-badge{color:#0d6b57;background:#e9fbf4;border:1px solid #b9eadf;border-radius:8px;align-self:start;padding:7px 10px;font-size:12px;font-weight:900}.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.stat-grid div{background:#f9fbff;border:1px solid #edf1f7;border-radius:8px;padding:16px}.stat-grid strong,.stat-grid span{display:block}.stat-grid strong{color:#172033;font-size:26px}.stat-grid span{color:#718098;margin-top:6px;font-size:13px}.consult-records{margin-top:8px}.record-row{border-top:1px solid #edf1f7;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;display:flex}.record-row span,.record-row strong,.record-row em{display:block}.record-row span{color:#2f6fed;font-size:12px;font-weight:900}.record-row strong{color:#172033;margin-top:5px}.record-row em{color:#718098;margin-top:5px;font-size:12px;font-style:normal}.record-row b{color:#2f6fed;background:#f1f6ff;border-radius:8px;flex:none;padding:7px 10px;font-size:12px}.info-list{gap:12px;display:grid}.info-list div{background:#f9fbff;border:1px solid #edf1f7;border-radius:8px;padding:14px}.info-list span,.info-list strong{display:block}.info-list span{color:#718098;font-size:12px}.info-list strong{color:#172033;margin-top:6px;line-height:1.5}.certificate-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.certificate-strip figure{margin:0}.certificate-strip img{object-fit:contain;background:#f9fbff;border:1px solid #edf1f7;border-radius:8px;width:100%;height:180px;display:block}.certificate-strip figcaption{color:#5c6a80;text-align:center;margin-top:8px;font-size:12px}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0a122073;place-items:center;padding:28px;display:grid;position:fixed;inset:0}.operation-modal{text-align:center;width:min(420px,100%);padding:30px;position:relative}.consult-flow-modal{background:#fff;border:1px solid #dde5f0;border-radius:12px;flex-direction:column;width:min(1040px,100%);max-height:min(92vh,900px);display:flex;position:relative;overflow:hidden;box-shadow:0 30px 90px #17203338}.flow-stepper{background:#f8faff;border-bottom:1px solid #e7edf6;grid-template-columns:repeat(3,minmax(0,1fr));padding:18px 72px 18px 24px;display:grid}.flow-stepper>div{color:#8a96aa;justify-content:center;align-items:center;gap:8px;min-height:36px;font-size:14px;font-weight:800;display:flex;position:relative}.flow-stepper>div:not(:last-child):after{content:"";background:#d8e0ed;width:36px;height:1px;position:absolute;top:50%;right:-18px}.flow-stepper>div.active{color:#2f6fed}.flow-page{min-height:0;padding:26px;overflow:auto}.flow-page .section-head p{color:#718098;max-width:760px;margin:10px 0 0;font-size:13px;line-height:1.7}.saved-card-section{background:#f8fbff;border:1px solid #dfe8f6;border-radius:10px;margin-bottom:20px;padding:16px}.subsection-title,.chat-page-head{justify-content:space-between;align-items:center;gap:16px;display:flex}.subsection-title{margin-bottom:12px}.subsection-title strong{color:#172033;font-size:15px}.subsection-title span{color:#7a869a;font-size:12px}.local-bind-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.local-bind-form .form-message,.local-bind-form .bind-next{grid-column:1/-1}.bind-next{width:100%;margin-top:2px}.use-card-button{width:100%;margin-top:12px}.bank-card-list{gap:10px;display:grid}.bank-card-list.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.bank-card-item{color:#5c6a80;text-align:left;background:#fff;border:1px solid #dfe6f1;border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:72px;padding:13px 14px;display:grid}.bank-card-item:hover,.bank-card-item.selected{color:#2f6fed;background:#f2f7ff;border-color:#8fb3ff;box-shadow:0 0 0 3px #2f6fed14}.bank-card-item span,.bank-card-item strong,.bank-card-item em{display:block}.bank-card-item strong{color:#172033;font-size:14px}.bank-card-item em{color:#718098;letter-spacing:.04em;margin-top:5px;font-size:12px;font-style:normal}.chat-page-head{margin-bottom:18px}.chat-page-head>div>span{color:#2f6fed;font-size:12px;font-weight:900}.chat-page-head h2{color:#172033;margin:5px 0 0;font-size:24px}.finish-consult,.wallet-manage-button{border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:0 14px;font-weight:800;display:inline-flex}.finish-consult{color:#fff;background:#172033;border:1px solid #172033}.wallet-manage-button{color:#2f6fed;background:#f7faff;border:1px solid #c7d6f6}.consult-chat-page{flex-direction:column;min-height:min(720px,92vh - 74px);display:flex}.flow-chat-messages{background:#f7f9fd;border:1px solid #e2e9f3;border-radius:10px;flex:1;min-height:330px;max-height:48vh;padding:18px;overflow:auto}.flow-message{align-items:flex-start;gap:10px;margin-bottom:16px;display:flex}.flow-message.user{flex-direction:row-reverse}.message-avatar{color:#fff;background:#2f6fed;border-radius:9px;flex:0 0 34px;place-items:center;width:34px;height:34px;display:grid}.flow-message.user .message-avatar{background:#172033}.flow-message p{color:#344156;white-space:pre-wrap;background:#fff;border:1px solid #e1e8f2;border-radius:4px 12px 12px;max-width:min(76%,720px);margin:0;padding:12px 14px;font-size:14px;line-height:1.75}.flow-message.user p{color:#fff;background:#2f6fed;border-color:#2f6fed;border-radius:12px 4px 12px 12px}.typing-message p{color:#718098}.consult-quick-list{gap:8px;margin-top:12px;padding-bottom:3px;display:flex;overflow-x:auto}.consult-quick-list button{color:#52627a;white-space:nowrap;background:#fff;border:1px solid #dfe6f1;border-radius:999px;flex:none;max-width:280px;padding:8px 11px;font-size:12px}.flow-chat-input{grid-template-columns:minmax(0,1fr) 94px;align-items:end;gap:10px;margin-top:12px;display:grid}.flow-chat-input textarea{min-height:68px;max-height:120px}.flow-chat-input .primary-button{height:68px}.payment-layout{grid-template-columns:minmax(0,1fr) 390px;gap:18px;display:grid}.payment-card-picker,.payment-confirm-panel{background:#f9fbff;border:1px solid #e1e8f2;border-radius:10px;padding:18px}.payment-confirm-panel{background:#fff}.payment-summary{color:#fff;background:linear-gradient(135deg,#172033,#2f6fed);border-radius:10px;margin-bottom:20px;padding:18px}.payment-summary span,.payment-summary strong,.payment-summary p{display:block}.payment-summary span{color:#dce7fb;font-size:13px}.payment-summary strong{margin-top:10px;font-size:34px}.payment-summary strong em{margin-right:3px;font-size:18px;font-style:normal}.payment-summary p{color:#dce7fb;margin:8px 0 0;font-size:12px}.sms-field{grid-template-columns:minmax(0,1fr) 126px;gap:10px;display:grid}.sms-field .secondary-button{width:126px;padding:0;font-size:12px}.payment-helper{color:#2f6fed;margin-top:12px;font-size:12px;line-height:1.6}.pay-button{width:100%;height:46px;margin-top:16px}.wallet-list{gap:10px;display:grid}.wallet-card-row{background:#f9fbff;border:1px solid #e1e8f2;border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:15px;display:grid}.wallet-bank-icon{color:#fff;background:#2f6fed;border-radius:9px;place-items:center;width:44px;height:44px;display:grid}.wallet-card-row strong,.wallet-card-row span,.wallet-card-row em{display:block}.wallet-card-row strong{color:#172033}.wallet-card-row span{color:#5c6a80;margin-top:4px;font-size:13px}.wallet-card-row em{color:#8a96aa;margin-top:4px;font-size:11px;font-style:normal}.wallet-card-row>button{color:#b42318;background:#fff3f1;border:1px solid #ffd2cc;border-radius:8px;place-items:center;width:36px;height:36px;display:grid}.wallet-empty{color:#8a96aa;border:1px dashed #d8e0ed;border-radius:10px;place-items:center;min-height:180px;display:grid}.add-card-button{width:100%;margin-top:16px}.secondary-button:disabled{cursor:not-allowed;opacity:.62}.modal-close{color:#5c6a80;background:#fff;border:1px solid #d8e0ed;border-radius:8px;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:16px;right:16px}.modal-icon{color:#fff;background:#2f6fed;border-radius:8px;place-items:center;width:58px;height:58px;margin:0 auto 16px;display:grid}.operation-modal h2{color:#172033;margin:0 0 10px;font-size:24px}.operation-modal p{color:#5c6a80;margin:0;line-height:1.7}.success-toast{z-index:80;color:#176b45;background:#ecfdf3;border:1px solid #a7e8c7;border-radius:10px;align-items:center;gap:10px;min-width:160px;padding:13px 18px;font-size:14px;font-weight:800;animation:.18s ease-out toast-enter;display:flex;position:fixed;top:28px;left:50%;transform:translate(-50%);box-shadow:0 14px 35px #1453392e}@keyframes toast-enter{0%{opacity:0;transform:translate(-50%,-10px)}to{opacity:1;transform:translate(-50%)}}@media (width<=1100px){.login-page,.app-shell,.home-grid,.case-overview-grid,.consult-layout,.lawyer-grid,.account-layout{grid-template-columns:1fr}.login-hero{min-height:auto;padding:42px}.login-copy h1{font-size:40px}.sidebar{height:auto;position:static}.nav-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=760px){.login-panel,.page{padding:18px}.topbar,.hero-panel{flex-direction:column;align-items:stretch}.user-zone,.nav-list,.consult-form,.intake-form,.local-bind-form,.payment-layout,.sms-field,.certificate-strip,.profile-summary,.stat-grid{grid-template-columns:1fr;display:grid}.login-hero{padding:30px 22px}.auth-brand{margin-bottom:44px}.login-copy h1{font-size:34px}.hero-panel h2{font-size:32px}.modal-backdrop{padding:10px}.consult-flow-modal{max-height:96vh}.flow-stepper{padding:12px 48px 12px 10px}.flow-stepper>div{gap:4px;font-size:12px}.flow-stepper>div:not(:last-child):after{display:none}.flow-page{padding:18px}.bank-card-list.compact,.flow-chat-input{grid-template-columns:1fr}.chat-page-head{flex-direction:column;align-items:stretch}.finish-consult,.wallet-manage-button{width:100%}.consult-chat-page{min-height:calc(96vh - 62px)}.flow-chat-messages{min-height:280px;max-height:none}.flow-message p{max-width:calc(100% - 44px)}.flow-chat-input .primary-button{height:44px}}
