html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}:root{--primary: #2563eb;--primary-light: #ecf3ff;--text-1: #1f2329;--text-2: #5a6472;--text-3: #8a94a6;--border: #ebeef5;--bg: #f5f7fa;--radius: 8px}*{box-sizing:border-box}html,body,#app{height:100%;margin:0}body{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,Helvetica Neue,Arial,sans-serif;background:var(--bg);color:var(--text-1);-webkit-font-smoothing:antialiased}a{color:var(--primary);text-decoration:none}.app-layout{display:flex;height:100vh;overflow:hidden;background:var(--bg)}.sidebar{width:220px;flex:0 0 220px;background:#fff;border-right:1px solid var(--border);display:flex;flex-direction:column;transition:width .18s ease}.sidebar.collapsed{width:64px;flex:0 0 64px}.sidebar.collapsed .menu-item{justify-content:center;padding:0}.sidebar-foot{padding:8px 12px 10px;border-top:1px solid var(--border);flex:0 0 auto}.sidebar.collapsed .sidebar-foot{padding:8px 0 10px;display:flex;justify-content:center}.logo{height:60px;display:flex;align-items:center;gap:10px;padding:0 18px;border-bottom:1px solid var(--border)}.logo .mark{width:30px;height:30px;border-radius:8px;flex:0 0 30px;background:linear-gradient(135deg,#2563eb,#4f8cff);color:#fff;font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center}.logo .name{font-size:15px;font-weight:600;white-space:nowrap;color:#1f2329}.menu{flex:1;overflow-y:auto;padding:10px 8px}.menu-item{display:flex;align-items:center;gap:10px;height:42px;padding:0 12px;border-radius:6px;color:#333;font-size:14px;cursor:pointer;margin-bottom:2px;white-space:nowrap;overflow:hidden}.menu-item:hover{background:#f5f7fa}.menu-item.active{background:var(--primary-light);color:var(--primary);font-weight:500}.menu-item .anticon{font-size:16px}.menu-group{font-size:12px;color:var(--text-3);padding:14px 12px 6px;letter-spacing:.5px}.main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:56px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 20px;gap:14px;flex:0 0 56px}.topbar .crumb{font-size:14px;color:var(--text-2);flex:1}.topbar .crumb b{color:var(--text-1);font-weight:600}.content{flex:1;overflow-y:auto;padding:20px 24px 32px}.page-head{display:flex;align-items:center;margin-bottom:16px;gap:12px}.page-title{font-size:18px;font-weight:600;margin:0}.page-desc{color:var(--text-3);font-size:13px}.page-head .spacer{flex:1}.card{background:#fff;border:1px solid #eef0f3;border-radius:var(--radius);box-shadow:0 1px 2px #00000008;padding:20px}.card+.card{margin-top:16px}.card-row>.card,.card-grid>.card{margin-top:0}.card-title{font-size:15px;font-weight:600;margin:0 0 16px;display:flex;align-items:center;gap:8px}.card-title .sub{font-size:12px;color:var(--text-3);font-weight:400}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px}.stat{background:#fff;border:1px solid #eef0f3;border-radius:var(--radius);padding:20px;box-shadow:0 1px 2px #00000008}.stat .label{color:var(--text-3);font-size:13px}.stat .value{font-size:26px;font-weight:700;margin-top:8px;letter-spacing:.5px}.stat .foot{color:var(--text-3);font-size:12px;margin-top:6px}.stat.blue .value{color:#2563eb}.stat.red .value{color:#d93f36}.stat.orange .value{color:#e08a1e}.stat.green .value{color:#1f9d6b}.action-btns{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.badge-level{display:inline-block;padding:1px 8px;border-radius:10px;font-size:12px;color:#fff;line-height:19px;white-space:nowrap}.badge-level.high{background:#d93f36}.badge-level.medium{background:#e08a1e}.badge-level.low{background:#1f9d6b}.badge-level.info{background:#8a94a6}.tag-soft{display:inline-block;padding:1px 8px;border-radius:4px;font-size:12px;background:#f2f4f7;color:#5a6472}.empty{text-align:center;color:var(--text-3);padding:40px 0;font-size:13px}.bars{display:flex;align-items:flex-end;gap:10px;height:140px;padding-top:10px}.bars .bar-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;height:100%;justify-content:flex-end}.bars .bar{width:100%;max-width:34px;background:linear-gradient(180deg,#4f8cff,#2563eb);border-radius:4px 4px 0 0;min-height:3px;transition:height .3s}.bars .bar-label{font-size:11px;color:var(--text-3)}.progress-list .row{display:flex;align-items:center;gap:10px;margin-bottom:12px;font-size:13px}.progress-list .row:last-child{margin-bottom:0}.progress-list .row .nm{width:120px;color:var(--text-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.progress-list .row .track{flex:1;height:8px;background:#f2f4f7;border-radius:4px;overflow:hidden}.progress-list .row .fill{height:100%;background:linear-gradient(90deg,#4f8cff,#2563eb)}.progress-list .row .num{width:42px;text-align:right;color:var(--text-3)}.review-wrap{display:flex;gap:16px;align-items:flex-start}.review-left{flex:0 0 56%;min-width:420px}.review-right{flex:1;min-width:360px;position:sticky;top:0}.doc-viewer{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:22px 26px;max-height:calc(100vh - 220px);overflow-y:auto;font-size:13.5px;line-height:1.95;color:#2c3444}.doc-viewer .clause{padding:6px 8px;border-radius:4px;margin-bottom:6px;white-space:pre-wrap;word-break:break-word}.doc-viewer .clause.hit-high{background:#fdeceb;border-left:3px solid #d93f36}.doc-viewer .clause.hit-medium{background:#fef5e6;border-left:3px solid #e08a1e}.doc-viewer .clause.hit-low{background:#eefaf4;border-left:3px solid #1f9d6b}.doc-viewer .clause .no{font-weight:600;color:#2563eb;margin-right:6px}.risk-item{border:1px solid var(--border);border-radius:8px;padding:12px 14px;margin-bottom:10px;background:#fff;cursor:pointer;transition:box-shadow .15s}.risk-item:hover{box-shadow:0 2px 10px #2563eb1f}.risk-item.active{border-color:#2563eb;background:#f8fbff}.risk-item .hd{display:flex;align-items:center;gap:8px;margin-bottom:6px}.risk-item .ttl{font-weight:600;font-size:14px;flex:1}.risk-item .excerpt{color:#5a6472;font-size:12.5px;background:#f7f8fa;padding:8px 10px;border-radius:4px;line-height:1.7;max-height:92px;overflow:hidden}.risk-item .meta{margin-top:8px;font-size:12px;color:var(--text-3);display:flex;gap:12px;flex-wrap:wrap}.risk-item .ops{margin-top:10px;display:flex;gap:8px}.dim{color:var(--text-3);font-size:12px}.mono{font-family:SFMono-Regular,Consolas,monospace}.mt8{margin-top:8px}.mt12{margin-top:12px}.mt16{margin-top:16px}.mb12{margin-bottom:12px}.mb16{margin-bottom:16px}.flex{display:flex;align-items:center}.gap8{gap:8px}.gap12{gap:12px}.grow{flex:1}.login-page{height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0f2a5c,#1d4ed8 55%,#3b82f6);position:relative;overflow:hidden}.login-page:after{content:"";position:absolute;width:720px;height:720px;border-radius:50%;background:#ffffff0f;right:-220px;top:-240px}.login-card{width:420px;background:#fff;border-radius:14px;padding:38px 40px 34px;box-shadow:0 24px 60px #06143259;position:relative;z-index:2}.login-card .brand{display:flex;align-items:center;gap:12px;margin-bottom:6px}.login-card .brand .mark{width:40px;height:40px;border-radius:10px;color:#fff;font-weight:700;background:linear-gradient(135deg,#2563eb,#60a5fa);display:flex;align-items:center;justify-content:center}.login-card h1{font-size:21px;margin:0}.login-card .sub{color:var(--text-3);font-size:13px;margin:4px 0 22px}.login-foot{text-align:center;color:#ffffffbf;font-size:12px;position:absolute;bottom:26px;width:100%}.ant-btn-primary{box-shadow:none}.ant-table-tbody>tr>td{font-size:13px}.ant-form-item{margin-bottom:16px}.content{overflow:auto}.content>*{min-width:620px}.page-head{flex-wrap:wrap;row-gap:8px}.page-head>div:not(.spacer){min-width:240px}.page-head>.spacer{flex:1 1 0;min-width:0}.page-title,.page-desc{white-space:nowrap}.page-head .ant-btn,.page-head .ant-tag,.page-head .ant-upload,.page-head .ant-select,.page-head .ant-input-search{flex:0 0 auto}.risk-cell{font-size:12.5px;white-space:nowrap;letter-spacing:.2px}.risk-cell.high{color:#d93f36;font-weight:600}.risk-cell.medium{color:#e08a1e}.risk-cell.low{color:#1f9d6b}.ant-table-cell{word-break:break-word}.ant-table-cell-ellipsis{min-width:120px}.stat.gray .value{color:#5a6472}.sub-banner{display:flex;align-items:center;gap:8px;margin-bottom:16px;padding:10px 14px;border-radius:8px;font-size:13px}.sub-banner .anticon{font-size:15px}.sub-banner a{cursor:pointer}.sub-banner.st-expiring{background:#fffbe6;border:1px solid #ffe58f;color:#8a6100}.sub-banner.st-urgent{background:#fff3e8;border:1px solid #ffcfae;color:#b4470f}.sub-banner.st-expired{background:#fef1f0;border:1px solid #f6c6c2;color:#b02a21}.exp-expiring{color:#e0a30f!important}.exp-urgent{color:#f26b21!important;font-weight:600}.exp-expired{color:#d93f36!important;font-weight:600}
