.hg-policy-tabs{display:flex;gap:22px;align-items:center;padding:0 14px;margin-bottom:8px;background:#fff;border-radius:7px;border-bottom:1px solid #e2e9f1}
.hg-more-filter{position:relative;font-size:11px;color:#205eaa}.hg-more-filter summary{cursor:pointer;white-space:nowrap}.hg-more-filter>div{position:absolute;right:0;top:25px;z-index:5;background:#fff;box-shadow:0 5px 24px #18345025;padding:12px;border-radius:5px;min-width:220px}
.hg-page .hg-policy-tabs button{height:40px;padding:0 2px;border-radius:0;color:#65778d;position:relative}
.hg-page .hg-policy-tabs button[aria-pressed=true]{color:#205eaa;font-weight:600}
.hg-policy-tabs button[aria-pressed=true]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#3279c8}
.hg-checklist{margin:0;border:1px solid #e1e8f1;border-radius:5px;padding:9px 10px;display:flex;gap:8px 15px;flex-wrap:wrap;max-height:180px;overflow:auto}
.hg-checklist legend{padding:0 4px;color:#61748b;font-size:12px}.hg-checklist label{display:flex;gap:6px;align-items:center}
.hg-dialog .hg-checklist input[type=checkbox]{width:15px;height:15px;min-height:15px;padding:0;margin:0;accent-color:#2e73c8}
.hg-upload{padding:10px 12px;background:#f6f8fc;border-radius:5px}.hg-upload>label:first-child{display:flex;flex-direction:column;gap:6px}
.hg-upload>small{display:block;margin:5px 0;color:#61748b;font-size:11px}.hg-dialog .hg-upload input[type=file]{width:100%;background:white}
.hg-upload .hg-check{display:flex;gap:6px;align-items:center;margin-top:5px}.hg-upload .hg-check input{width:15px;min-height:15px}
.hg-policy-dl{display:grid;grid-template-columns:140px 1fr;gap:9px 12px;margin:12px 0}.hg-policy-dl dt{color:#61748b}.hg-policy-dl dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.hg-policy-disclosure>summary{cursor:pointer;color:#205eaa;font-weight:500;margin-bottom:10px;padding:6px 0}
.hg-form-grid>h3{margin:4px 0 0;padding-top:10px;border-top:1px solid #e2e9f1;font-size:12px}
.hg-detail-section h4{font-size:11px;font-weight:500;color:#61748b;margin:12px 0 5px}
.hg-file-links{display:flex;gap:6px;flex-wrap:wrap}.hg-file-links button{max-width:100%;overflow:hidden;text-overflow:ellipsis;background:#f3f7fc}
.hg-analysis-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px}
.hg-analysis-cards article{padding:12px;background:#f4f8fd;border-radius:5px;display:flex;justify-content:space-between;align-items:center;color:#61748b}
.hg-analysis-cards strong{font-size:22px;color:#245fa9;font-weight:600}
.hg-overview{padding:0 0 14px;background:linear-gradient(180deg,#f8fbfe,#fff 190px)}
.hg-overview-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:4px 14px 10px}.hg-overview-kpis article{display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:10px 12px;border:1px solid #e1e9f1;border-radius:6px;background:#fff}.hg-overview-kpis span{color:#61748b;font-size:11px}.hg-overview-kpis strong{grid-row:1/3;grid-column:2;font-size:23px;line-height:1.2;color:#2f78d0;font-weight:600}.hg-overview-kpis small{color:#8a9aac;font-size:9px}.hg-overview-kpis .danger strong{color:#b4424a}.hg-overview-kpis .warning strong{color:#a4671c}.hg-overview-kpis .success strong{color:#21845f}
.hg-process-panel{margin:0 14px;border:1px solid #e0e8f0;border-radius:7px;background:#fff;overflow:hidden;box-shadow:0 3px 14px #173b680b}.hg-process-panel>header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #edf1f5}.hg-process-panel>header>div{display:flex;flex-direction:column}.hg-process-panel>header strong{font-size:12px;color:#285272}.hg-process-panel>header small{font-size:10px;color:#8191a2}
.hg-process-rows{display:grid;grid-template-columns:1fr 1fr}.hg-process-rows article{display:grid;grid-template-columns:28px minmax(0,1fr) minmax(120px,.55fr);gap:9px;align-items:start;padding:10px 12px;border-bottom:1px solid #edf1f5}.hg-process-rows article:nth-child(odd){border-right:1px solid #edf1f5}.hg-process-rows article:last-child{grid-column:1/-1;border-bottom:0;border-right:0}.hg-process-rows article>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#def3ec;color:#20745e;font-size:9px;font-weight:700}.hg-process-rows strong{font-size:11px;color:#345779}.hg-process-rows p{margin:3px 0 0;color:#70859a;font-size:10px;line-height:1.7}.hg-process-rows em{font-style:normal;padding:6px 8px;border-radius:4px;background:#eef8f5;color:#28745f;font-size:10px}
.hg-major-branch{margin:10px 14px 0;padding:10px 12px;border:1px solid #efc07e;border-radius:7px;background:#fff7e9;color:#8d5418}.hg-major-branch strong{display:block;margin-bottom:7px;font-size:11px}.hg-major-branch>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hg-major-branch span{font-size:10px}.hg-major-branch i{color:#c79b62;font-style:normal}
.hg-return-loop{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:10px 14px 0;padding:11px 12px;border:1px solid #a8d8c9;border-radius:7px;background:#e9f8f3}.hg-return-loop strong{color:#1e6e58;font-size:11px}.hg-return-loop p{margin:3px 0 0;color:#547c70;font-size:10px}
.hg-cadence-note{margin:0;padding:9px 14px;background:#fff9ed;color:#8a661c;font-size:11px}
.hg-asset-dialog{width:800px;max-width:95vw}.hg-asset-body{height:65vh;overflow:auto;display:flex;align-items:center;justify-content:center;background:#f4f7fb}
.hg-asset-body img{max-width:100%;max-height:100%;object-fit:contain}.hg-asset-body iframe{border:0;width:100%;height:100%}
.hg-asset-dialog a{color:#205eaa;text-decoration:none}
.hg-pdf-preview{align-self:stretch;flex:1;display:flex;flex-direction:column;height:100%}.hg-pdf-preview>p{margin:0;padding:9px 12px;color:#61748b;background:#eef3fa;font-size:11px}.hg-pdf-preview iframe{flex:1}.hg-asset-body pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:18px;align-self:flex-start}.hg-word-preview{padding:18px;background:white;width:100%;align-self:flex-start}
@media(max-width:600px){.hg-policy-tabs{gap:12px;flex-wrap:wrap}.hg-policy-dl{grid-template-columns:100px 1fr}.hg-analysis-cards{grid-template-columns:1fr 1fr}}
.workspace.hazard-governance-workspace{padding:8px 10px;overflow:auto;background:var(--op-canvas,#eef3f8)}
.hg-page,.hg-dialog{--hg-ink:var(--op-ink,#172b45);--hg-muted:var(--op-muted,#61748b);--hg-rule:var(--op-rule,#dce5ee);color:var(--hg-ink);font:12px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}
.hg-page *,.hg-dialog *{box-sizing:border-box}
.hg-page button,.hg-dialog button{display:inline-flex;justify-content:center;align-items:center;gap:4px;min-height:30px;padding:4px 9px;border:0;border-radius:4px;background:transparent;color:#205eaa;font:inherit;white-space:nowrap;cursor:pointer}
.hg-page button:hover,.hg-dialog button:hover{background:#edf4fc}
.hg-page .hg-primary,.hg-dialog .hg-primary{background:#2e73c8;color:white}
.hg-page .hg-primary:hover,.hg-dialog .hg-primary:hover{background:#205ba6}
.hg-dialog button:disabled{opacity:.5;cursor:wait}
.hg-page :focus-visible,.hg-dialog :focus-visible{outline:2px solid #3279c8;outline-offset:2px}
.hg-page input,.hg-page select,.hg-dialog input,.hg-dialog select,.hg-dialog textarea{font:inherit;color:var(--hg-ink);padding:5px 8px;min-height:30px;border:1px solid #cbd7e4;border-radius:4px;background:white;box-shadow:none;max-width:100%}
.hg-page input:focus,.hg-page select:focus,.hg-dialog input:focus,.hg-dialog select:focus,.hg-dialog textarea:focus{outline:none;border-color:#2e73c8}
.hg-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:8px}
.hg-stats article{display:flex;gap:12px;align-items:center;padding:12px 14px;background:#fff;border-radius:7px}
.hg-stat-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#eff5fc;color:#2e73c8}
.hg-stat-icon svg{width:21px;height:21px}
.hg-stats .danger .hg-stat-icon{background:#fff0ef;color:#c54646}.hg-stats .warning .hg-stat-icon{background:#fff5e9;color:#bc7118}.hg-stats .success .hg-stat-icon{background:#eaf7f2;color:#23855f}
.hg-stats article>div{display:flex;gap:3px;flex-direction:column}.hg-stats article>div>span{color:var(--hg-muted);font-size:11px}.hg-stats strong{font-size:24px;line-height:1.15;font-weight:600;font-variant-numeric:tabular-nums}
.hg-surface{background:#fff;border-radius:7px;overflow:hidden;min-height:calc(100dvh - 155px)}
.hg-filters{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;padding:12px 14px}
.hg-filters label{display:flex;align-items:center;gap:8px;white-space:nowrap;color:var(--hg-muted)}.hg-filters input{width:210px}.hg-filters select{width:125px}
.hg-toolbar{display:flex;align-items:center;gap:14px;padding:9px 14px;border-top:1px solid var(--hg-rule);border-bottom:1px solid var(--hg-rule)}.hg-toolbar>span{margin-left:auto;font-size:11px;color:var(--hg-muted)}
.hg-table-scroll{overflow:auto}.hg-table{border-collapse:collapse;width:100%;font-size:12px}
.hg-table th{height:36px;text-align:left;font-size:11px;font-weight:500;color:var(--hg-muted);background:#f6f8fb;white-space:nowrap;padding:6px 10px}
.hg-table td{height:43px;padding:6px 10px;border-bottom:1px solid #edf1f6;white-space:nowrap}.hg-table tbody tr:hover{background:#fafcff}
.hg-table .hg-ellipsis{max-width:290px;overflow:hidden;text-overflow:ellipsis}.hg-table .hg-number{padding:0;font-variant-numeric:tabular-nums;font-weight:500}
.hg-table .hg-row-actions{position:sticky;right:0;background:white;min-width:180px;box-shadow:-1px 0 #edf1f6}.hg-row-actions button{font-size:11px;padding:3px 5px;min-height:26px}.hg-table th:last-child{position:sticky;right:0;z-index:1}
.hg-page .hg-danger,.hg-dialog .hg-danger{color:#bb4141}.hg-due{display:inline-flex;align-items:center;gap:6px}
.hg-badge{display:inline-flex;align-items:center;gap:4px;border-radius:4px;padding:2px 7px;font-size:11px;line-height:19px;background:#eff2f6;color:#61748b;white-space:nowrap}
.hg-badge.danger{background:#fff0ef;color:#b93737}.hg-badge.warning{background:#fff3e4;color:#a86108}.hg-badge.blue{background:#edf4fe;color:#245fa9}.hg-badge.success{background:#eaf7f0;color:#247650}
.hg-progress{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-variant-numeric:tabular-nums}.hg-progress progress{appearance:none;width:75px;height:5px;border:0;border-radius:4px;background:#eaf0f8;overflow:hidden}.hg-progress progress::-webkit-progress-bar{background:#eaf0f8}.hg-progress progress::-webkit-progress-value{background:#4385d5;border-radius:4px}.hg-progress progress::-moz-progress-bar{background:#4385d5}
.hg-list-footer{display:flex;justify-content:space-between;color:var(--hg-muted);padding:10px 14px;font-size:11px}.hg-empty{text-align:center;padding:48px!important;color:var(--hg-muted)}
.hg-dialog{padding:0;border:0;border-radius:9px;background:#fff;box-shadow:0 12px 60px #16345526;max-height:calc(100dvh - 32px);overflow:hidden}
.hg-dialog::backdrop{background:#182b4540}.hg-form-dialog{width:660px;max-width:calc(100vw - 28px)}
.hg-dialog header{padding:12px 16px;min-height:48px;border-bottom:1px solid var(--hg-rule);display:flex;align-items:center;justify-content:space-between;gap:12px}.hg-dialog header strong{font-size:14px;font-weight:600}.hg-dialog header small{margin-left:9px;color:var(--hg-muted)}
.hg-dialog .hg-close{color:var(--hg-muted);font-size:22px;line-height:1;min-width:30px;padding:0}
.hg-dialog footer{padding:10px 16px;border-top:1px solid var(--hg-rule);display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap;background:#fff}
.hg-form-body,.hg-detail-body{overflow:auto;padding:14px 16px;max-height:calc(100dvh - 145px)}
.hg-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}.hg-form-grid>label{display:flex;flex-direction:column;gap:5px;min-width:0}.hg-form-grid label>span{color:var(--hg-muted)}.hg-form-grid input,.hg-form-grid select,.hg-form-grid textarea{width:100%}.hg-wide{grid-column:1/-1}.hg-form-grid textarea{resize:vertical;min-height:65px}
.hg-form-grid .hg-check{grid-column:1/-1;display:flex;align-items:center;flex-direction:row;gap:8px}.hg-check input[type=checkbox]{width:16px;height:16px;min-height:16px;margin:0;accent-color:#2e73c8}
.hg-record-ref{margin:0 0 12px;color:var(--hg-muted)}.hg-process-summary{grid-column:1/-1;padding:10px 12px;background:#f5f8fc;border-radius:5px;margin:0}.hg-process-summary p{margin:5px 0}
.hg-error{color:#bb4141;margin:0 0 12px;font-size:12px}.hg-error[hidden]{display:none}
.hg-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:730px;max-width:96vw;height:100dvh;max-height:100dvh;border-radius:8px 0 0 8px}
.hg-drawer[open]{display:flex;flex-direction:column}.hg-drawer>.hg-detail-body{flex:1;max-height:none}.hg-drawer>footer{flex-shrink:0}
.hg-detail-summary{padding:12px 14px;border-radius:6px;background:#f3f7fc}.hg-detail-summary.major{background:#fff6f4}.hg-detail-summary>div{display:flex;gap:6px}.hg-detail-summary h2{font-size:16px;font-weight:600;line-height:1.5;margin:9px 0 5px}.hg-detail-summary p{font-size:11px;color:var(--hg-muted);margin:0}
.hg-detail-section{padding:16px 0;border-bottom:1px solid #edf1f6}.hg-detail-section:last-child{border-bottom:0}.hg-detail-section h3{margin:0 0 10px;font-size:12px;font-weight:600;display:flex;align-items:center;gap:7px}.hg-detail-section h3:before{content:"";width:3px;height:12px;background:#367ace;border-radius:2px}.hg-detail-section>p{margin:0;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.hg-info{display:grid;grid-template-columns:1fr 1fr;gap:12px 22px;margin:0}.hg-info>div{display:flex;gap:12px;min-width:0}.hg-info dt{color:var(--hg-muted);min-width:72px}.hg-info dd{margin:0;overflow-wrap:anywhere}
.hg-detail-progress{display:flex;align-items:center;gap:15px;margin-top:16px}.hg-detail-progress>span:first-child{color:var(--hg-muted)}.hg-detail-progress progress{width:160px}.hg-section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.hg-section-heading h3{margin:0}.hg-report-status{display:flex;gap:8px;margin-bottom:8px}.hg-muted{color:var(--hg-muted)}
.hg-flow{display:flex;margin:16px 0 22px;gap:0}.hg-flow>div{position:relative;flex:1;text-align:center;color:#738599}.hg-flow>div:after{content:"";position:absolute;top:12px;left:62%;width:76%;height:1px;background:#dfe7f1}.hg-flow>div:last-child:after{display:none}.hg-flow span{display:grid;place-items:center;position:relative;z-index:1;margin:auto auto 7px;width:25px;height:25px;background:#f1f4f8;border-radius:50%;font-size:11px}.hg-flow small{font-size:11px}.hg-flow .done span{background:#e7f3ed;color:#267856}.hg-flow .current span{background:#eaf2ff;color:#246ac0;box-shadow:0 0 0 3px #f4f8ff}.hg-flow .current small{color:#246ac0;font-weight:600}
.hg-timeline{list-style:none;padding:0 0 0 5px;margin:0}.hg-timeline li{display:flex;gap:14px;position:relative;padding:0 0 18px}.hg-timeline li:before{content:"";position:absolute;left:4px;top:10px;bottom:0;width:1px;background:#e1e8f1}.hg-timeline li:last-child:before{display:none}.hg-timeline-dot{width:9px;height:9px;background:#3b7bce;border:2px solid #e6f0fc;border-radius:50%;margin-top:5px;z-index:1;flex-shrink:0}.hg-timeline li>div{flex:1;min-width:0}.hg-timeline strong{font-size:12px;font-weight:500}.hg-timeline small{display:block;color:var(--hg-muted);font-size:11px;margin-top:2px}.hg-timeline p{margin:7px 0 0;padding:8px 10px;border-radius:4px;background:#f7f9fc;white-space:pre-wrap;overflow-wrap:anywhere}
.hg-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:2000;background:#193554;color:white;border-radius:6px;padding:9px 18px;font-size:12px;max-width:80vw;pointer-events:none}.hg-toast:empty{display:none}
@media(max-width:850px){.hg-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.hg-stats article{padding:10px;gap:7px}.hg-stat-icon{width:30px;height:30px}.hg-filters{gap:8px}.hg-filters input{width:170px}.hg-toolbar>span{display:none}.hg-overview-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hg-process-rows{grid-template-columns:1fr}.hg-process-rows article,.hg-process-rows article:nth-child(odd),.hg-process-rows article:last-child{grid-column:auto;border-right:0}}
@media(max-width:520px){.hg-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hg-form-grid,.hg-info{grid-template-columns:1fr}.hg-form-body,.hg-detail-body{padding:12px}.hg-flow small{font-size:10px}.hg-detail-progress{flex-wrap:wrap}.hg-detail-progress progress{width:110px}}
