.pay_dialog{text-align:center}.pay_dialog .el-dialog__header{display:none}.pay_dialog .el-dialog__body{padding:30px 60px}.pay_dialog .row3{margin:15px 0}:root{--primary:#1a365d;--primary-light:#2c5282;--primary-lighter:#ebf4ff;--accent:#c6993e;--accent-light:#f6e9c8;--bg:#f0f4f8;--card:#fff;--text:#1a202c;--text-sec:#4a5568;--text-muted:#a0aec0;--border:#e2e8f0;--border-dark:#cbd5e0;--success:#38a169;--success-bg:#f0fff4;--warning:#d69e2e;--warning-bg:ivory;--danger:#c53030;--danger-bg:#fff5f5;--info:#3182ce;--info-bg:#ebf8ff;--radius:6px;--shadow:0 1px 3px rgba(0,0,0,.08);--shadow-md:0 4px 12px rgba(0,0,0,.1)}.pat-root *{box-sizing:border-box;margin:0;padding:0}.pat-root{background:var(--bg);color:var(--text);display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;height:100vh;line-height:1.6;overflow:hidden;position:relative}.pat-root button{cursor:pointer}.pat-root button,.pat-root input,.pat-root select,.pat-root textarea{font-family:inherit;font-size:inherit}.pat-root .header{align-items:center;background:linear-gradient(135deg,var(--primary) 0,var(--primary-light) 100%);box-shadow:0 2px 8px rgba(0,0,0,.15);color:#fff;display:flex;flex-shrink:0;justify-content:space-between;padding:10px 20px 10px 15px;position:relative;z-index:10}.pat-root .header-left{align-items:center;display:flex;gap:12px}.pat-root .header-home{color:#fff;cursor:pointer;flex-shrink:0;font-size:20px;opacity:.75;transition:opacity .2s}.pat-root .header-home:hover{opacity:1}.pat-root .header-logo{align-items:center;background:var(--accent);border-radius:8px;color:#fff;display:flex;flex-shrink:0;font-size:14px;font-weight:700;height:36px;justify-content:center;letter-spacing:1px;width:36px}.pat-root .header-title{font-size:18px;font-weight:600;letter-spacing:.5px}.pat-root .header-sub{font-size:12px;margin-top:2px;opacity:.8}.pat-root .header-actions{align-items:center;display:flex;gap:8px}.pat-root .btn-header{align-items:center;background:hsla(0,0%,100%,.15);border:1px solid hsla(0,0%,100%,.25);border-radius:var(--radius);color:#fff;display:flex;font-size:13px;gap:5px;padding:7px 14px;transition:all .2s}.pat-root .btn-header:hover{background:hsla(0,0%,100%,.25)}.pat-root .audit-bar{align-items:center;background:var(--card);border-bottom:1px solid var(--border);display:flex;flex-shrink:0;flex-wrap:wrap;gap:12px;padding:8px 24px}.pat-root .audit-bar .field{align-items:center;display:flex;gap:6px}.pat-root .audit-bar label{color:var(--text-sec);font-size:12px;font-weight:500;white-space:nowrap}.pat-root .audit-bar input,.pat-root .audit-bar select{background:#fff;border:1px solid var(--border);border-radius:4px;font-size:13px;padding:5px 8px}.pat-root .audit-bar input:focus,.pat-root .audit-bar select:focus,.pat-root .case-form input:focus,.pat-root .case-form select:focus,.pat-root .case-form textarea:focus{border-color:var(--info);box-shadow:0 0 0 2px rgba(49,130,206,.15);outline:none}.pat-root .main{display:flex;flex:1;min-height:0;overflow:hidden}.pat-root .panel-left{background:var(--card);border-right:1px solid var(--border);display:flex;flex-direction:column;min-width:360px;overflow:hidden;width:420px}.pat-root .panel-right{background:var(--bg);flex:1;min-width:0;overflow-y:auto;padding:16px 24px 0}.pat-root .case-toolbar{align-items:center;background:#fafbfc;border-bottom:1px solid var(--border);display:flex;gap:8px;padding:12px 16px}.pat-root .case-toolbar .title{color:var(--primary);flex:1;font-size:14px;font-weight:600}.pat-root .btn-sm{background:#fff;border:1px solid var(--border);border-radius:4px;color:var(--text-sec);font-size:12px;padding:5px 12px;transition:all .2s}.pat-root .btn-sm:hover{border-color:var(--info);color:var(--info)}.pat-root .btn-sm.primary{background:var(--info);border-color:var(--info);color:#fff}.pat-root .btn-sm.primary:hover{background:#2b6cb0}.pat-root .btn-sm.danger{border-color:var(--danger);color:var(--danger)}.pat-root .btn-sm.danger:hover{background:var(--danger-bg)}.pat-root .case-list{flex:1;overflow-y:auto;padding:8px}.pat-root .case-item{border:1px solid var(--border);border-radius:var(--radius);cursor:pointer;margin-bottom:6px;padding:10px 12px;position:relative;transition:all .15s}.pat-root .case-item:hover{background:var(--info-bg);border-color:var(--info)}.pat-root .case-item.active{background:var(--primary-lighter);border-color:var(--info);box-shadow:0 0 0 1px var(--info) inset}.pat-root .case-item .case-id{color:var(--primary);font-size:13px;font-weight:600}.pat-root .case-item .case-cat{background:var(--bg);border-radius:3px;color:var(--text-sec);font-size:11px;margin-left:6px;padding:1px 6px}.pat-root .case-item .case-preview{color:var(--text-sec);font-size:12px;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pat-root .case-item .case-status{border-radius:50%;height:8px;position:absolute;right:10px;top:10px;width:8px}.pat-root .case-item .case-status.pending{background:var(--warning)}.pat-root .case-item .case-status.done{background:var(--success)}.pat-root .case-empty{color:var(--text-muted);padding:40px 20px;text-align:center}.pat-root .case-empty .icon{font-size:40px;margin-bottom:12px}.pat-root .case-form{background:#fafbfc;border-top:1px solid var(--border);flex-shrink:0;max-height:60%;overflow-y:auto;padding:12px 16px}.pat-root .case-form .form-row{margin-bottom:8px}.pat-root .case-form .form-row label{color:var(--text-sec);display:block;font-size:12px;font-weight:500;margin-bottom:3px}.pat-root .case-form input,.pat-root .case-form select,.pat-root .case-form textarea{border:1px solid var(--border);border-radius:4px;font-size:13px;padding:6px 8px;width:100%}.pat-root .case-form textarea{line-height:1.5;min-height:80px;resize:vertical}.pat-root .case-form .form-actions{display:flex;gap:6px;justify-content:flex-end;margin-top:8px}.pat-root .section-card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:16px;overflow:hidden}.pat-root .section-header{align-items:center;background:#fafbfc;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;padding:12px 16px}.pat-root .section-header h3{align-items:center;color:var(--primary);display:flex;font-size:14px;font-weight:600;gap:6px}.pat-root .section-body{padding:16px}.pat-root .pat-root .result-item{border:1px solid transparent;cursor:pointer;transition:all .2s}.pat-root .result-item:hover{border-color:var(--primary);box-shadow:0 4px 14px rgba(12,102,253,.18);transform:translateY(-1px)}.pat-root .result-item .card-hint{color:var(--primary);font-size:12px;opacity:0;transition:opacity .2s;white-space:nowrap}.pat-root .result-item:hover .card-hint{opacity:1}.pat-root .result-item:hover .section-header{background:#f0f6ff}.pat-root .tabs{border-bottom:2px solid var(--border);display:flex;margin-bottom:16px}.pat-root .tab{background:none;border:none;border-bottom:2px solid transparent;color:var(--text-sec);font-size:13px;font-weight:500;margin-bottom:-2px;padding:8px 16px;transition:all .2s}.pat-root .tab:hover{color:var(--info)}.pat-root .tab.active{border-bottom-color:var(--primary);color:var(--primary)}.pat-root .tab-content{display:none}.pat-root .tab-content.active{display:block}.pat-root .analysis-header{align-items:flex-start;background:var(--primary-lighter);border-left:4px solid var(--primary);border-radius:var(--radius);display:flex;gap:12px;margin-bottom:16px;padding:12px}.pat-root .analysis-header .obs-num{background:var(--primary);border-radius:4px;color:#fff;font-size:13px;font-weight:600;padding:4px 10px;white-space:nowrap}.pat-root .analysis-header .obs-title{color:var(--primary);font-size:15px;font-weight:600}.pat-root .grade-badge{align-items:center;border-radius:12px;display:inline-flex;font-size:12px;font-weight:600;gap:4px;padding:3px 10px}.pat-root .grade-critical{background:#fed7d7;color:#9b2c2c}.pat-root .grade-major{background:#feebc8;color:#9c4221}.pat-root .grade-minor{background:#fefcbf;color:#975a16}.pat-root .grade-other{background:#e9d8fd;color:#6b46c1}.pat-root .desc-block{margin-bottom:16px}.pat-root .desc-block h4{color:var(--text-sec);font-size:13px;font-weight:600;letter-spacing:.5px;margin-bottom:6px;text-transform:uppercase}.pat-root .desc-block .content{color:var(--text);font-size:14px;line-height:1.8}.pat-root .reg-table{border-collapse:collapse;font-size:13px;margin-top:8px;width:100%}.pat-root .reg-table th{background:var(--primary);color:#fff;font-weight:500;padding:8px 10px;text-align:left}.pat-root .reg-table td{border-bottom:1px solid var(--border);padding:8px 10px;vertical-align:top}.pat-root .reg-table tr:nth-child(2n) td{background:#f7fafc}.pat-root .recommend-box{background:var(--info-bg);border:1px solid #bee3f8;border-radius:var(--radius);margin-top:12px;padding:12px}.pat-root .recommend-box h4{color:var(--info);font-size:13px;margin-bottom:6px}.pat-root .report-page{background:#fff;box-shadow:var(--shadow-md);margin:0 auto;max-width:800px}.pat-root .report-header-block{background:var(--primary);color:#fff;padding:24px 32px}.pat-root .report-header-block h1{font-size:20px;font-weight:700;letter-spacing:1px;margin-bottom:4px}.pat-root .report-header-block h2{font-size:14px;font-weight:400;opacity:.85}.pat-root .report-meta{background:#f7fafc;border-bottom:2px solid var(--primary);display:grid;font-size:13px;gap:8px 24px;grid-template-columns:1fr 1fr;padding:16px 32px}.pat-root .report-meta .meta-item{display:flex;gap:8px}.pat-root .report-meta .meta-label{color:var(--text-sec);font-weight:500;min-width:80px}.pat-root .report-meta .meta-value{color:var(--text)}.pat-root .report-body{padding:24px 32px}.pat-root .report-obs{border:1px solid var(--border);border-radius:var(--radius);margin-bottom:24px;overflow:hidden}.pat-root .report-obs-header{align-items:center;background:var(--primary-lighter);border-bottom:1px solid var(--border);display:flex;justify-content:space-between;padding:10px 16px}.pat-root .report-obs-body{padding:16px}.pat-root .report-obs-body p{line-height:1.8;margin-bottom:10px}.pat-root .report-obs-body .label{color:var(--primary);font-weight:600}.pat-root .report-footer-block{background:#f7fafc;border-top:2px solid var(--primary);color:var(--text-sec);display:flex;font-size:12px;justify-content:space-between;padding:16px 32px}.pat-root .btn{align-items:center;background:#fff;border:1px solid var(--border);border-radius:var(--radius);color:var(--text);display:inline-flex;font-size:13px;font-weight:500;gap:5px;padding:8px 16px;transition:all .2s}.pat-root .btn:hover{background:#f7fafc;border-color:var(--border-dark)}.pat-root .btn-primary{background:var(--info);border-color:var(--info);color:#fff}.pat-root .btn-primary:hover{background:#2b6cb0;border-color:#2b6cb0}.pat-root .btn-success{background:var(--success);border-color:var(--success);color:#fff}.pat-root .btn-success:hover{background:#2f855a}.pat-root .btn-warning{background:var(--warning);border-color:var(--warning);color:#fff}.pat-root .btn-warning:hover{background:#b7791f}.pat-root .btn-danger{background:var(--danger);border-color:var(--danger);color:#fff}.pat-root .btn-danger:hover{background:#9b2c2c}.pat-root .btn-accent{background:var(--accent);border-color:var(--accent);color:#fff}.pat-root .btn-accent:hover{background:#a67c2e}.pat-root .btn:disabled{cursor:not-allowed;opacity:.5}.pat-root .btn-group{display:flex;flex-wrap:wrap;gap:8px}.pat-root .modal-overlay{background:rgba(0,0,0,.5);bottom:0;display:block;left:0;position:absolute;right:0;top:0;z-index:100}.pat-root .modal{background:#fff;border-radius:8px;box-shadow:0 20px 60px rgba(0,0,0,.2);left:50%;max-height:85vh;max-width:90vw;overflow-y:auto;position:absolute;top:50%;transform:translate(-50%,-50%);width:480px}.pat-root .modal-header{align-items:center;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;padding:16px 20px}.pat-root .modal-header h3{font-size:16px;font-weight:600}.pat-root .modal-close{background:none;border:none;color:var(--text-muted);font-size:20px;padding:4px}.pat-root .modal-close:hover{color:var(--text)}.pat-root .modal-body{padding:20px}.pat-root .modal-body .form-group{margin-bottom:14px}.pat-root .modal-body .form-group label{color:var(--text-sec);display:block;font-size:13px;font-weight:500;margin-bottom:4px}.pat-root .modal-body .form-group input,.pat-root .modal-body .form-group select{border:1px solid var(--border);border-radius:4px;padding:8px 10px;width:100%}.pat-root .modal-body .form-group input:focus,.pat-root .modal-body .form-group select:focus{border-color:var(--info);outline:none}.pat-root .modal-body .form-hint{color:var(--text-muted);font-size:11px;margin-top:3px}.pat-root .modal-body .hist-storage-tip{border-bottom:1px dashed var(--border);color:var(--warning);margin:0 0 10px;padding-bottom:8px}.pat-root .modal-footer{border-top:1px solid var(--border);display:flex;gap:8px;justify-content:flex-end;padding:12px 20px}.pat-root .loading-overlay{align-items:center;background:hsla(0,0%,100%,.85);bottom:0;display:flex;flex-direction:column;gap:12px;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:90}.pat-root .spinner{animation:spin .8s linear infinite;border:3px solid var(--border);border-radius:50%;border-top-color:var(--info);height:36px;width:36px}@keyframes spin{to{transform:rotate(1turn)}}.pat-root .loading-text{color:var(--text-sec);font-size:13px}.pat-root .history-item{align-items:center;border:1px solid var(--border);border-radius:var(--radius);cursor:pointer;display:flex;margin-bottom:6px;padding:10px 12px;transition:all .15s}.pat-root .history-item:hover{background:var(--info-bg);border-color:var(--info)}.pat-root .history-item .hist-info{flex:1}.pat-root .history-item .hist-company{font-size:13px;font-weight:600}.pat-root .history-item .hist-date{color:var(--text-sec);font-size:12px}.pat-root .history-item .hist-cases{color:var(--text-muted);font-size:11px}.pat-root .history-item .hist-actions{display:flex;gap:4px}.pat-root .empty-state{color:var(--text-muted);padding:60px 20px;text-align:center}.pat-root .empty-state .icon{font-size:48px;margin-bottom:16px}.pat-root .empty-state h3{color:var(--text-sec);font-size:16px;margin-bottom:8px}.pat-root .empty-state p{font-size:13px;margin:0 auto;max-width:320px}.pat-root .check-group{display:flex;flex-wrap:wrap;gap:8px}.pat-root .check-group label{align-items:center;border:1px solid var(--border);border-radius:4px;cursor:pointer;display:flex;font-size:13px;gap:4px;padding:4px 8px;transition:all .15s}.pat-root .check-group label:hover{border-color:var(--info)}.pat-root .check-group input:checked+span{color:var(--info);font-weight:500}.pat-root ::-webkit-scrollbar{width:6px}.pat-root ::-webkit-scrollbar-track{background:transparent}.pat-root ::-webkit-scrollbar-thumb{background:var(--border-dark);border-radius:3px}.pat-root ::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}.pat-root .ai-toolbar{background:#f7fafc;border-top:1px solid var(--border);display:flex;flex-wrap:wrap;gap:6px;padding:10px 16px}.pat-root .ai-toolbar .btn-ai{align-items:center;background:#fff;border:1px solid var(--border);border-radius:4px;color:var(--text-sec);display:inline-flex;font-size:12px;gap:4px;padding:4px 10px;transition:all .2s}.pat-root .ai-toolbar .btn-ai:hover{background:var(--info-bg);border-color:var(--info);color:var(--info)}.pat-root .ai-toolbar .btn-ai.active{background:var(--info);border-color:var(--info);color:#fff}.pat-root .editable{border:1px solid transparent;border-radius:4px;cursor:text;min-height:1.6em;padding:4px 6px;position:relative;transition:all .15s}.pat-root .editable:hover{background:#fafbfc;border-color:var(--border)}.pat-root .editable:focus{background:#fff;border-color:var(--info);box-shadow:0 0 0 2px rgba(49,130,206,.12);outline:none}.pat-root .editable .edit-hint{color:var(--text-muted);font-size:10px;opacity:0;position:absolute;right:0;top:-18px;transition:opacity .2s}.pat-root .editable:hover .edit-hint{opacity:1}.pat-root .depth-selector{border:1px solid var(--border);border-radius:4px;display:flex;gap:0;overflow:hidden}.pat-root .depth-opt{background:#fff;border:none;border-right:1px solid var(--border);color:var(--text-sec);cursor:pointer;flex:1;font-size:12px;padding:5px 8px;text-align:center;transition:all .15s}.pat-root .depth-opt:last-child{border-right:none}.pat-root .depth-opt:hover{background:var(--info-bg)}.pat-root .depth-opt.active{background:var(--info);color:#fff}.pat-root .custom-instructions{background:#fffef5;border:1px dashed var(--border);border-radius:4px;padding:8px}.pat-root .custom-instructions textarea{background:transparent;border:none;border-radius:0;color:var(--text);font-size:12px;line-height:1.5;min-height:48px;padding:0;resize:none;width:100%}.pat-root .custom-instructions textarea:focus{box-shadow:none;outline:none}.pat-root .custom-instructions label{align-items:center;color:var(--warning);display:flex;font-size:11px;font-weight:600;gap:4px;margin-bottom:2px}.pat-root .followup-panel{border:1px solid var(--border);border-radius:var(--radius);margin-top:12px;overflow:hidden}.pat-root .followup-header{align-items:center;background:var(--primary-lighter);color:var(--primary);display:flex;font-size:13px;font-weight:600;gap:6px;padding:8px 12px}.pat-root .followup-input{border-top:1px solid var(--border);display:flex;gap:6px;padding:8px 12px}.pat-root .followup-input input{border:1px solid var(--border);border-radius:4px;flex:1;font-size:13px;padding:6px 8px}.pat-root .followup-input input:focus{border-color:var(--info);outline:none}.pat-root .followup-msgs{max-height:240px;overflow-y:auto;padding:8px 12px}.pat-root .followup-msg{border-radius:6px;font-size:13px;line-height:1.6;margin-bottom:8px;padding:8px 10px}.pat-root .followup-msg.user{background:var(--info-bg);border:1px solid #bee3f8;margin-left:24px}.pat-root .followup-msg.ai{background:#f7fafc;border:1px solid var(--border);margin-right:24px}.pat-root .followup-msg .msg-role{color:var(--text-sec);font-size:11px;font-weight:600;margin-bottom:2px}.pat-root .risk-card{border:1px solid var(--border);border-radius:var(--radius);margin-bottom:8px;padding:12px}.pat-root .risk-card .risk-level{border-radius:10px;display:inline-block;font-size:11px;font-weight:600;padding:2px 8px}.pat-root .risk-high{background:#fed7d7;color:#9b2c2c}.pat-root .risk-medium{background:#feebc8;color:#9c4221}.pat-root .risk-low{background:#c6f6d5;color:#276749}.pat-root .risk-card .risk-title{font-size:13px;font-weight:600;margin-bottom:4px}.pat-root .risk-card .risk-desc{color:var(--text-sec);font-size:12px;line-height:1.6}.pat-root .dim-group{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.pat-root .dim-group label{align-items:center;border:1px solid var(--border);border-radius:3px;cursor:pointer;display:flex;font-size:11px;gap:3px;padding:2px 6px;transition:all .15s}.pat-root .dim-group label:hover{background:var(--info-bg);border-color:var(--info)}.pat-root .dim-group input{height:12px;margin:0;width:12px}.pat-root @media print{.audit-bar,.btn-group,.header,.panel-left,.section-header,.tabs{display:none!important}.main{display:block!important}.panel-right{overflow:visible!important;padding:0!important}.report-page{box-shadow:none!important;max-width:100%!important}}.pat-root{--primary-light:#2c5282;--primary-lighter:#ebf4ff;--info-bg:#ebf8ff;--danger-bg:#fff5f5;--text-muted:#a0aec0;--border-dark:#cbd5e0;--shadow:0 1px 3px rgba(0,0,0,.1);--shadow-md:0 4px 6px rgba(0,0,0,.1)}