.row-selected[data-v-dd919f70]{background:var(--color-primary-bg, #eef2ff)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,Microsoft YaHei,Segoe UI,sans-serif;font-size:14px;line-height:1.5;color:#1a1a1a;background:#f5f5f5}.app-root{max-width:1200px;margin:0 auto;padding:0 24px}.app-root-demo{max-width:none;padding:0}.app-header{padding:20px 0 12px;border-bottom:1px solid #e0e0e0;margin-bottom:24px}.app-title{font-size:20px;font-weight:600;letter-spacing:0}.app-main{display:flex;flex-direction:column;gap:24px;padding-bottom:48px}.panel{background:#fff;border:1px solid #e0e0e0;border-radius:6px;padding:16px 20px;overflow-x:auto}.panel-title{font-size:16px;font-weight:600;margin-bottom:12px}.state-msg{color:#666;padding:8px 0}.state-error{color:#c00}.btn-retry{margin-left:12px;padding:2px 10px;border:1px solid #ccc;border-radius:3px;background:#fff;cursor:pointer;font-size:13px}.btn-retry:hover{background:#f0f0f0}.data-table{width:100%;min-width:760px;border-collapse:collapse;font-size:13px}.data-table th{text-align:left;padding:6px 8px;border-bottom:2px solid #e0e0e0;font-weight:600;color:#555;white-space:nowrap}.data-table td{padding:8px;border-bottom:1px solid #f0f0f0}.col-desc{max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.col-num{text-align:right}.col-time{white-space:nowrap;color:#666;font-size:12px}.link-placeholder{color:#1890ff;cursor:default;margin-right:8px;font-size:12px;white-space:nowrap}.dsl-brief{display:flex;flex-direction:column;gap:2px;margin-top:6px;color:#555;font-size:12px;white-space:normal}.link-btn{color:#1890ff;cursor:pointer;margin-right:8px;font-size:12px;white-space:nowrap;background:none;border:none;padding:0;font-family:inherit}.link-btn:hover{text-decoration:underline}.detail-header{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:16px}.detail-title{font-size:16px;font-weight:600;margin-right:8px}.title-input{min-width:220px;max-width:360px;padding:5px 8px;border:1px solid #d0d0d0;border-radius:3px;font-size:13px}.detail-meta{display:inline-block;margin-right:16px;font-size:13px;color:#666}.detail-section{margin-top:16px}.detail-section-title{font-size:14px;font-weight:600;margin-bottom:8px;color:#333}.detail-dl{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:13px}.detail-dl dt{color:#666}.detail-dl dd{font-weight:500}.detail-event-list{list-style:none;font-size:12px;max-height:200px;overflow-y:auto}.detail-event-list li{padding:4px 0;border-bottom:1px solid #f0f0f0}.snapshot-banner{display:flex;align-items:center;gap:12px;padding:8px 12px;margin-bottom:12px;background:#fffbe6;border:1px solid #ffe58f;border-radius:4px;font-size:13px;color:#ad6800}.chart-container{width:100%;height:400px;border:1px solid #e8e8e8;border-radius:4px}.form-row{display:flex;align-items:flex-start;gap:8px;margin-bottom:12px}.form-row>label{min-width:80px;font-weight:500;padding-top:6px;text-align:right;flex-shrink:0}.form-row>input,.form-row>select,.form-row>textarea{flex:1;max-width:320px;padding:5px 8px;border:1px solid #d0d0d0;border-radius:3px;font-size:13px;font-family:inherit}.form-row>input:focus,.form-row>select:focus,.form-row>textarea:focus{outline:none;border-color:#1890ff}.form-row>textarea{max-width:560px;min-height:90px;resize:vertical}.form-row>div{flex:1;max-width:320px}.form-row>div>input{width:100%;padding:5px 8px;border:1px solid #d0d0d0;border-radius:3px;font-size:13px}.form-row>div>input:focus{outline:none;border-color:#1890ff}.field-error{color:#c00;font-size:12px;padding-top:2px}.form-actions{margin-top:16px}.btn-primary{padding:6px 20px;background:#1890ff;color:#fff;border:none;border-radius:3px;cursor:pointer;font-size:13px}.btn-primary:hover{background:#40a9ff}.btn-primary:disabled{background:#d0d0d0;cursor:not-allowed}.btn-secondary,.btn-danger{padding:6px 12px;border-radius:3px;cursor:pointer;font-size:13px}.btn-secondary{background:#fff;color:#555;border:1px solid #d0d0d0}.btn-danger{background:#fff1f0;color:#cf1322;border:1px solid #ffa39e}.btn-secondary:disabled,.btn-danger:disabled{color:#aaa;border-color:#ddd;cursor:not-allowed}.step-control-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.step-label{font-size:13px;display:flex;align-items:center;gap:6px}.step-selector{padding:4px 8px;border:1px solid #d0d0d0;border-radius:3px;font-size:13px;min-width:80px}.step-context{font-size:13px;color:#666}.state-success{color:#389e0d;padding:8px 0}.clipboard-error{color:#c00;font-size:13px;margin-left:12px}.clipboard-success{color:#389e0d;font-size:13px;margin-left:12px}.clipboard-error code{background:#f5f5f5;padding:2px 6px;border-radius:3px;font-size:12px;word-break:break-all}.share-area{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.json-preview{max-height:260px;overflow:auto;padding:10px 12px;border:1px solid #e8e8e8;border-radius:4px;background:#fafafa;font-size:12px;line-height:1.45;white-space:pre-wrap;word-break:break-word}.audit-item{border:1px solid #f0f0f0;border-radius:4px;padding:12px 16px;margin-bottom:8px}.audit-row{display:flex;align-items:flex-start;gap:8px;padding:3px 0;font-size:13px}.audit-label{color:#888;min-width:90px;flex-shrink:0}.audit-tag{display:inline-block;padding:0 6px;background:#f0f0f0;border-radius:3px;font-size:12px;color:#555;margin-left:8px}.audit-tag-risk{background:#fff2f0;color:#cf1322;border:1px solid #ffccc7;margin-left:4px;margin-right:4px}.audit-list{margin:0;padding-left:16px}.audit-list-item{padding:1px 0;font-size:12px;color:#666}.audit-status-drafted{color:#389e0d;font-weight:500}.audit-status-needs-input{color:#d46b08;font-weight:500}.audit-status-failed{color:#cf1322;font-weight:500}.audit-provider-error{color:#cf1322;font-size:12px}@media(max-width:640px){.app-root{padding:0 12px}.panel{padding:14px 12px}}.demo-root{width:100%;min-height:100vh;padding:0;background:#f8fafc}.streamlit-match-shell{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:100vh}.streamlit-sidebar{position:sticky;top:0;align-self:start;height:100vh;padding:24px 18px 32px;overflow-y:auto;background:#f0f2f6;border-right:1px solid #d9dee8}.streamlit-main{min-width:0;padding:0 20px 56px}.sidebar-title{margin-bottom:18px;font-size:18px;font-weight:700;color:#111827}.sidebar-caption{margin:8px 0 0;color:#64748b;font-size:12px}.feedback-inline{margin:0 0 10px;padding:7px 10px;background:#fff7ed;border:1px solid #fed7aa;border-radius:6px;color:#9a3412}.feedback-inline summary{cursor:pointer;font-weight:600}.feedback-inline p{margin-top:6px;color:#7c2d12;font-size:12px}.feedback-form{display:flex;flex-direction:column;gap:8px;margin-top:10px;padding:10px;background:#ffffffb3;border:1px solid #fed7aa;border-radius:6px}.feedback-form label{display:flex;flex-direction:column;gap:5px;color:#334155;font-size:12px;font-weight:600}.feedback-form input,.feedback-form textarea{width:100%;border:1px solid #e2e8f0;border-radius:6px;padding:7px 8px;color:#0f172a;font:inherit;resize:vertical}.feedback-submit{width:auto!important;align-self:flex-start;margin-top:2px!important}.feedback-success,.feedback-error{margin:0!important;font-size:12px!important}.feedback-success{color:#15803d!important}.feedback-error{color:#b91c1c!important}.toggle-row{display:flex;align-items:center;gap:8px;margin:12px 0;color:#334155;font-size:13px}.range-value{min-width:28px;padding-top:5px;color:#475569;font-weight:600}.sidebar-warning{color:#92400e;font-size:12px;line-height:1.6}.streamlit-sidebar .form-row{display:block;margin-bottom:14px}.streamlit-sidebar .form-row>label{display:block;min-width:0;padding:0 0 6px;text-align:left;color:#334155;font-size:13px;font-weight:600}.streamlit-sidebar .form-row>input,.streamlit-sidebar .form-row>select,.streamlit-sidebar .form-row>textarea{width:100%;max-width:none}.streamlit-sidebar .btn-primary,.streamlit-sidebar .btn-secondary{width:100%;justify-content:center;margin-top:8px}.demo-header{padding:28px 0 16px;border-bottom:1px solid #e0e0e0;margin-bottom:24px;text-align:left}.demo-title{font-size:28px;font-weight:700;color:#1a1a1a}.demo-subtitle{font-size:14px;color:#888;margin-top:8px}.demo-workbench-link{display:inline-block;margin-top:12px;font-size:13px;color:#1890ff;text-decoration:none}.demo-workbench-link:hover{text-decoration:underline}.demo-controls-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;align-items:start}.demo-controls-grid .form-row{margin-bottom:0}.demo-controls-grid .form-row>label{min-width:60px}.demo-result-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.data-overview{margin-bottom:24px}.data-overview summary{cursor:pointer;color:#334155;font-weight:600}.data-overview[open] summary{margin-bottom:16px}.model-overview{display:flex;flex-direction:column;gap:24px}.model-overview h2{font-size:24px;line-height:1.25}.model-overview-lead{color:#111827;font-size:15px;line-height:1.8}.rule-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.rule-card{min-height:128px;padding:22px 24px;background:#fff;border:1px solid #dbe3ef;border-left:4px solid #3b82f6;border-radius:8px}.rule-card h3{margin-bottom:18px;font-size:15px;font-weight:700}.rule-card p,.interpretation-panel p{color:#334155;line-height:1.75}.layer-overview{min-height:160px}.demo-graph-panel{margin-top:24px}.demo-chart{width:100%;height:560px;min-height:500px;border:1px solid #e8e8e8;border-radius:4px;background:#fff}.relationship-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:8px;color:#475569;font-size:13px}.relationship-toolbar span:first-child{min-width:160px;color:#111827;font-weight:600}.node-detail-panel{margin-top:8px;padding:9px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.node-detail-panel h3{margin:0 0 7px;font-size:14px;color:#0f172a}.node-detail-grid{display:grid;grid-template-columns:repeat(6,minmax(88px,1fr));gap:7px}.node-detail-item{display:flex;min-height:42px;flex-direction:column;justify-content:center;padding:6px 8px;border-radius:6px;background:#fff;border:1px solid #e2e8f0}.node-detail-item span{color:#64748b;font-size:12px}.node-detail-item strong{margin-top:4px;color:#0f172a;font-size:14px}.a-profit-projection-panel{margin-top:8px;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.a-profit-projection-panel summary{cursor:pointer;padding:10px 12px;color:#0f172a;font-size:14px;font-weight:700}.a-profit-projection-panel[open]{padding:0 12px 12px}.projection-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:8px;margin:8px 0}.projection-table{width:100%;border-collapse:collapse;font-size:13px}.projection-table th,.projection-table td{padding:7px 8px;border-bottom:1px solid #e2e8f0;text-align:left}.projection-table th{color:#334155;background:#f8fafc;font-weight:700}.event-table-panel{margin:0}.event-table-summary{cursor:pointer;color:#0f172a;font-size:16px;font-weight:700}.event-table{width:100%;min-width:760px;margin-top:10px;border-collapse:collapse;font-size:12px;background:#fff}.event-table th,.event-table td{padding:7px 8px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:top}.event-table th{color:#334155;background:#f8fafc;font-weight:700;white-space:nowrap}.event-table td:nth-child(1),.event-table td:nth-child(2){width:90px;color:#475569;white-space:nowrap}@media(max-width:800px){.demo-result-grid,.rule-card-grid,.projection-summary-grid{grid-template-columns:1fr}}.demo-risk-list{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0}.demo-risk-tag{display:inline-block;padding:4px 12px;background:#fff2f0;color:#cf1322;border:1px solid #ffccc7;border-radius:4px;font-size:13px}@media(max-width:640px){.streamlit-match-shell{grid-template-columns:1fr}.streamlit-sidebar{position:static;height:auto;border-right:none;border-bottom:1px solid #d9dee8}.streamlit-main{padding:0 12px 48px}.demo-title{font-size:22px}.demo-chart{min-height:420px}}.h5-root{width:100%;min-height:100vh;padding:0;background:#f8fafc}.h5-content{max-width:480px;margin:0 auto;padding:16px 12px 48px}.h5-header{padding:16px 0 12px;text-align:center;margin-bottom:16px}.h5-title{font-size:20px;font-weight:700;color:#1a1a1a}.h5-subtitle{font-size:12px;color:#888;margin-top:6px}.h5-form-row{display:flex;align-items:center;gap:8px;margin-bottom:10px}.h5-form-row>label{min-width:72px;font-weight:500;font-size:13px;color:#334155;flex-shrink:0;text-align:right}.h5-form-row>input,.h5-form-row>select,.h5-form-row>textarea{flex:1;padding:6px 8px;border:1px solid #d0d0d0;border-radius:4px;font-size:13px;font-family:inherit;min-width:0}.h5-form-row-compact>label{min-width:60px}.h5-params-panel{margin:12px 0;padding:10px 12px;background:#fff;border:1px solid #e2e8f0;border-radius:8px}.h5-params-panel summary{cursor:pointer;color:#334155;font-weight:600;font-size:14px}.h5-params-grid{margin-top:10px}.h5-toggle-row{display:flex;align-items:center;gap:8px;margin:8px 0;color:#334155;font-size:13px}.h5-run-btn{width:100%;margin-top:8px}.h5-top-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;margin-bottom:10px}.h5-model-select{min-width:0;width:100%;padding:7px 8px;border:1px solid #d0d0d0;border-radius:4px;font-size:13px;font-family:inherit}.h5-feedback-inline{max-width:168px;padding:7px 9px;background:#fff7ed;border:1px solid #fed7aa;border-radius:6px;color:#9a3412;font-size:12px}.h5-feedback-inline summary{cursor:pointer;font-weight:600;white-space:nowrap}.h5-feedback-inline[open]{grid-column:1 / -1;max-width:none;padding:10px}.h5-feedback-hint{margin:4px 0 0;color:#7c2d12;font-size:12px}.h5-chart-main{width:100%;height:54dvh;min-height:315px;border:1px solid #e8e8e8;border-radius:4px;background:#fff;margin-bottom:8px}.h5-node-bar{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:6px;padding:6px 0;margin-bottom:6px}.h5-node-label{min-width:0;color:#111827;font-weight:600;font-size:13px;word-break:break-all}.h5-recommend-btn,.h5-undo-btn,.h5-reset-btn{padding:6px 10px;font-size:13px;white-space:nowrap}.h5-node-detail-panel{padding:9px 10px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:8px}.h5-node-detail-panel summary{cursor:pointer;color:#0f172a;font-weight:600;font-size:14px;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px}.h5-detail-hint{color:#64748b;font-size:11px;font-weight:400;margin-left:auto}.h5-node-detail-compact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:6px;margin-top:8px}.h5-detail-item{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:6px 8px;border-radius:6px;background:#f8fafc;border:1px solid #e2e8f0}.h5-detail-item span{color:#64748b;font-size:11px}.h5-detail-item strong{margin-top:2px;color:#0f172a;font-size:13px;word-break:break-word}.h5-a-profit-panel{margin:8px 0;padding:9px 10px;background:#fff;border:1px solid #e2e8f0;border-radius:8px}.h5-a-profit-panel summary{cursor:pointer;color:#0f172a;font-weight:700;font-size:14px}.h5-a-profit-panel[open]{padding-bottom:10px}.h5-a-profit-panel[open] summary{margin-bottom:8px}.h5-projection-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:6px;margin:8px 0}.h5-projection-table-wrap{overflow-x:auto;margin-top:8px}.h5-feedback-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin-top:8px;padding:9px;background:#ffffffb8;border:1px solid #fed7aa;border-radius:6px}.h5-feedback-form label{display:flex;flex-direction:column;gap:5px;color:#334155;font-size:12px;font-weight:600}.h5-feedback-form label:first-of-type,.h5-feedback-hint,.h5-feedback-form .feedback-submit,.h5-feedback-form .feedback-success,.h5-feedback-form .feedback-error{grid-column:1 / -1}.h5-feedback-form input,.h5-feedback-form textarea{width:100%;border:1px solid #e2e8f0;border-radius:6px;padding:7px 8px;color:#0f172a;font:inherit;resize:vertical}.h5-compliance-footer{margin-top:16px;padding:10px 0;text-align:center;color:#92400e;font-size:11px;line-height:1.6;border-top:1px solid #e0e0e0}@media(max-width:400px){.h5-content{padding:10px 8px 32px}.h5-title{font-size:18px}.h5-subtitle{font-size:11px}.h5-chart-main{height:54dvh;min-height:293px}.h5-node-bar{grid-template-columns:minmax(0,1fr) auto auto auto;gap:5px}.h5-recommend-btn,.h5-undo-btn,.h5-reset-btn{padding:5px 8px;font-size:12px}.h5-node-detail-compact-grid,.h5-projection-summary{grid-template-columns:repeat(auto-fit,minmax(88px,1fr))}}
