.report-dialog{width:min(1100px,calc(100% - 40px));padding:0;border:0;border-radius:20px;max-height:92dvh;font-size:14px;line-height:1.55}
.report-dialog [hidden]{display:none!important}.report-icon{display:inline-block;width:21px;height:21px;flex-shrink:0;background:currentColor;mask:var(--report-icon) center/contain no-repeat}
.report-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:30px 32px;background:#4f46e5;color:white}.report-header .eyebrow{color:#e0e7ff;font-size:10px;letter-spacing:2px;margin:0 0 10px}.report-header h2{font-size:29px;line-height:1.25;letter-spacing:-.7px;margin:0 0 12px;overflow-wrap:anywhere}.report-domain{display:flex;align-items:center;gap:8px;color:#e0e7ff;font-size:13px;overflow-wrap:anywhere}.report-domain .report-icon{width:16px;height:16px}.report-close{display:grid;place-items:center;flex-shrink:0;min-width:40px;height:40px;color:white;background:#ffffff14;border:1px solid #ffffff40;border-radius:10px}.report-close:hover{background:#ffffff30}
.report-tabs{display:flex;border-bottom:1px solid var(--border);padding:12px 28px 0;gap:12px;background:white;position:sticky;top:0;z-index:2}.report-tabs button{display:flex;align-items:center;justify-content:center;gap:9px;flex:1;padding:15px 10px;color:#59657a;font-size:14px;font-weight:600;background:transparent;border:0;border-bottom:3px solid transparent;border-radius:9px 9px 0 0;min-height:50px}.report-tabs button[aria-selected=true]{color:#4f46e5;background:#eef2ff;border-bottom-color:#4f46e5}.report-tabs button:hover{background:#f5f6fa}.report-dialog :focus-visible{outline:3px solid #818cf8;outline-offset:3px}
.report-body{padding:26px 30px 0;background:#fafbfe}.report-status{display:flex;align-items:center;gap:18px;border-radius:13px;padding:23px;background:#f0fdf4;margin-bottom:22px;border:1px solid #d8efdf}.report-status>.report-icon{width:37px;height:37px;color:#15803d}.report-status h3{font-size:24px;line-height:1.3;letter-spacing:-.5px;margin:0 0 4px}.report-status p{font-size:13px;color:#59657a;margin:0}.report-status>.report-pill{margin-left:auto;flex-shrink:0}.report-status.review{background:#fffbeb;border-color:#f5e7b5}.report-status.review>.report-icon{color:#a16207}.report-status.bad{background:#fef2f2;border-color:#fecaca}.report-status.bad>.report-icon{color:#dc2626}.report-pill{display:inline-flex;align-items:center;white-space:nowrap;gap:5px;border-radius:20px;padding:5px 10px;font-size:11px;font-weight:600}.report-pill.good{color:#166534;background:#dcfce7}.report-pill.review{color:#854d0e;background:#fef3c7}.report-pill.neutral{color:#475569;background:#eef2f6}
.report-columns{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(245px,1fr);gap:20px}.report-section{background:white;border:1px solid var(--border);border-radius:13px;padding:22px}.report-section h3{display:flex;align-items:center;gap:10px;font-size:17px;letter-spacing:-.2px;margin:0 0 8px}.report-section h3>.report-icon{color:#4f46e5}.report-caption{font-size:12px!important;color:#64748b;line-height:1.6;margin:0 0 15px}.report-attention>h3 .report-icon{color:#a16207}.report-empty{font-size:14px;color:#64748b;padding:22px 0}.report-action,.report-check{border-top:1px solid #e7e9f0}.report-action>summary,.report-check>summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:17px 0;min-height:60px}.report-dialog summary::-webkit-details-marker{display:none}.report-action>summary>.report-icon:first-child{width:24px;height:24px;color:#4f46e5}.report-action>summary>span:nth-child(2){flex:1;min-width:0}.report-action strong{display:block;font-size:14px;font-weight:650;line-height:1.45}.report-action small{display:block;font-size:12px;color:#64748b;margin-top:4px}.report-action>summary>.report-icon:last-child,.report-check>summary>.report-icon:last-child{width:16px;height:16px;color:#64748b}.report-action[open]>summary>.report-icon:last-child,.report-check[open]>summary>.report-icon:last-child,.report-disclosure[open]>summary>.report-icon:last-child{transform:rotate(180deg)}.report-action-evidence{background:#f8fafc;border-radius:8px;padding:15px;margin-bottom:16px;overflow-wrap:anywhere;font-size:13px}.report-action-evidence>p{margin:0 0 10px}.report-action-evidence>p:last-child{margin-bottom:0}
.report-metric{display:flex;align-items:flex-start;gap:13px;padding:19px 0;border-top:1px solid #eef0f5}.report-metric:first-of-type{margin-top:17px}.report-metric>.report-icon{color:#4f46e5;margin-top:5px;width:24px;height:24px}.report-metric span:not(.report-icon){color:#59657a;font-size:12px}.report-metric strong{display:block;font-size:24px;line-height:1.35;color:#192136;letter-spacing:-.5px}.report-metric small{display:block;color:#64748b;font-size:11px;margin-top:4px}.report-runtime{display:grid;grid-template-columns:1fr 1.5fr;gap:20px;padding:20px 22px;background:white;border:1px solid var(--border);border-radius:12px;margin:20px 0}.report-runtime>div{display:grid;grid-template-columns:24px 1fr;column-gap:10px;align-items:center;min-width:0}.report-runtime .report-icon{grid-row:span 2;color:#4f46e5}.report-runtime span:not(.report-icon){font-size:11px;color:#64748b}.report-runtime strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}
.report-disclosure{background:white;border:1px solid var(--border);border-radius:11px;margin:15px 0}.report-disclosure>summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;font-size:13px;font-weight:600;padding:17px 20px;min-height:54px}.report-disclosure>summary>.report-icon:first-child{color:#4f46e5}.report-disclosure>summary>.report-icon:last-child{margin-left:auto;width:17px;height:17px}.report-disclosure>.detail-section,.report-disclosure>.detail-log,.report-disclosure>.hint{margin:0;padding:15px 20px}.report-disclosure>.detail-section+.detail-section{border-top:1px solid var(--border)}.report-dialog .detail-section h3{font-size:15px}.report-dialog .hint{font-size:12px;line-height:1.7}.report-dialog .check-item{font-size:13px;align-items:flex-start;justify-content:space-between;gap:15px}.report-dialog .check-item>span:first-child{font-weight:600;min-width:130px}.report-dialog .check-item>span:last-child{max-width:65%;text-align:right}.report-check>summary>span:nth-child(2){flex:1;font-size:13px}.report-check>.report-icon,.report-check>summary>.report-icon:first-child{color:#4f46e5}.report-check>p{font-size:13px;padding:0 0 16px;overflow-wrap:anywhere;color:#59657a}.report-stale{border-radius:9px;background:#fffbeb;color:#854d0e;border:1px solid #f5e7b5;padding:13px 16px;font-size:13px;margin-bottom:16px}.report-dialog .detail-log{font-size:12px}.report-dialog .detail-log>div{gap:12px;padding:12px 0}.report-dialog .detail-log time{font-size:11px}.report-dialog .incident-entry-copy{min-width:0;overflow-wrap:anywhere}.report-dialog .incident-telemetry{font-size:12px}.report-dialog .detail-stat small{font-size:12px}
.report-footer{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:20px 0 24px;margin-top:22px;border-top:1px solid var(--border)}.report-footer .button{font-size:13px;min-height:42px;gap:8px;display:inline-flex;align-items:center}.report-footer .report-icon{width:17px;height:17px}.report-manage{margin-left:auto;position:relative}.report-manage>summary{display:flex;gap:8px;align-items:center;cursor:pointer;font-size:12px;color:#59657a;list-style:none;padding:12px}.report-manage>div{position:absolute;bottom:calc(100% + 7px);right:0;min-width:230px;background:white;border:1px solid var(--border);border-radius:12px;padding:12px;box-shadow:0 12px 30px #1921361a;z-index:3;display:grid;gap:8px}.report-manage .danger{color:#b91c1c;background:#fff;border-color:#fecaca}
@media(max-width:700px){.report-dialog{width:calc(100% - 18px);max-height:96dvh;border-radius:14px}.report-header{padding:23px 20px}.report-header h2{font-size:23px}.report-tabs{padding:8px 10px 0;gap:2px}.report-tabs button{font-size:12px;gap:6px;padding:12px 4px}.report-tabs .report-icon{width:17px;height:17px}.report-body{padding:18px 16px 0}.report-columns{grid-template-columns:1fr}.report-status{padding:17px;gap:12px;flex-wrap:wrap}.report-status h3{font-size:20px}.report-status>div{flex:1;min-width:180px}.report-status>.report-pill{margin-left:48px}.report-status>.report-icon{width:30px;height:30px}.report-section{padding:18px}.report-section h3{font-size:16px}.report-action>summary{flex-wrap:wrap;gap:9px}.report-action>summary>.report-pill{margin-left:33px}.report-action>summary>.report-icon:last-child{margin-left:auto}.report-action>summary>span:nth-child(2){min-width:190px}.report-metric{padding:14px 0}.report-runtime{grid-template-columns:1fr;padding:17px;gap:15px}.report-dialog .detail-log>div{flex-direction:column;gap:5px}.report-dialog .check-item{flex-direction:column;gap:5px}.report-dialog .check-item>span:last-child{max-width:100%;text-align:left}.report-check>summary{flex-wrap:wrap}.report-check>summary>span:nth-child(2){min-width:170px}.report-check .report-pill{margin-left:32px}.report-footer{gap:8px}.report-footer .button{flex:1;justify-content:center;font-size:12px}.report-manage{margin:0;width:100%}.report-manage>summary{justify-content:center}.report-manage>div{left:0;right:0}.report-dialog .detail-stats{grid-template-columns:1fr 1fr}.report-dialog .detail-log .incident-entry-copy{width:100%}}

.ri-activity{--report-icon:url("/report-icons/activity.svg")}
.ri-circle-check{--report-icon:url("/report-icons/circle-check.svg")}
.ri-shield{--report-icon:url("/report-icons/shield.svg")}
.ri-triangle-alert{--report-icon:url("/report-icons/triangle-alert.svg")}
.ri-server{--report-icon:url("/report-icons/server.svg")}
.ri-plug{--report-icon:url("/report-icons/plug.svg")}
.ri-clock{--report-icon:url("/report-icons/clock.svg")}
.ri-settings{--report-icon:url("/report-icons/settings.svg")}
.ri-chevron-right{--report-icon:url("/report-icons/chevron-right.svg")}
.ri-chevron-down{--report-icon:url("/report-icons/chevron-down.svg")}
.ri-x{--report-icon:url("/report-icons/x.svg")}
.ri-refresh-cw{--report-icon:url("/report-icons/refresh-cw.svg")}
.ri-globe{--report-icon:url("/report-icons/globe.svg")}
.ri-gauge{--report-icon:url("/report-icons/gauge.svg")}
.ri-lock-keyhole{--report-icon:url("/report-icons/lock-keyhole.svg")}
.ri-layers{--report-icon:url("/report-icons/layers.svg")}
.ri-puzzle{--report-icon:url("/report-icons/puzzle.svg")}
.ri-file-check-2{--report-icon:url("/report-icons/file-check-2.svg")}
.ri-arrow-up-right{--report-icon:url("/report-icons/arrow-up-right.svg")}
.ri-circle-help{--report-icon:url("/report-icons/circle-help.svg")}
.report-action strong{color:#192136}.report-tabs{font-family:inherit}

.report-inline-setup{grid-column:2;margin-top:8px}.report-inline-setup .connector-status{font-size:12px}
.review-panel{margin:0 0 18px;padding:18px;background:#f8f9fc;border:1px solid var(--border);border-radius:10px;font-size:13px;color:var(--text)}
.review-panel h4{font-size:13px;font-weight:650;margin:0 0 10px}.review-panel-heading{display:flex;align-items:flex-start;gap:10px;margin-bottom:16px}.review-panel-heading>.report-icon{color:var(--primary);margin-top:2px}.review-panel-heading h4{margin-bottom:3px;font-size:15px}.review-panel-heading p{font-size:12px;color:var(--muted);margin:0}
.review-counts{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px;margin:14px 0 18px}.review-counts>div{background:white;border:1px solid var(--border);border-radius:8px;padding:12px}.review-counts strong{display:block;font-size:22px;font-weight:650;line-height:1.3}.review-counts span{display:block;color:var(--muted);font-size:10px;margin-top:4px}
.review-components{list-style:none;padding:0;margin:0 0 20px;max-height:430px;overflow:auto}.review-component{padding:15px;background:white;border:1px solid var(--border);border-radius:9px;margin:8px 0}.review-component-heading{display:flex;align-items:center;gap:9px}.review-component-heading>.report-icon{color:var(--primary);width:19px;height:19px}.review-component-heading>div{flex:1;min-width:0}.review-component-heading strong{display:block;font-size:13px;overflow-wrap:anywhere}.review-component-heading small{display:block;color:var(--muted);font-size:10px}.review-component-heading .report-pill{font-size:10px;padding:4px 8px}
.review-versions{display:flex;align-items:center;gap:16px;margin:13px 0;padding:11px 13px;background:#f8f9fc;border-radius:7px}.review-versions>div{flex:1;min-width:0}.review-versions small{display:block;color:var(--muted);font-size:10px}.review-versions strong{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere}.review-versions>.report-icon{width:15px;height:15px;color:var(--muted)}.review-component-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.review-component-meta>span{font-size:10px;line-height:1.6;color:var(--muted);flex:1}.review-component-meta .button{font-size:10px;min-height:34px;white-space:nowrap}
.review-panel .button{display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none}.review-panel .button .report-icon{width:15px;height:15px}.review-actions{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0 10px}.review-actions .button{font-size:11px;min-height:38px}.review-boundary{font-size:11px;line-height:1.7;color:#59657a;padding:12px;border-left:3px solid #c7d2fe;background:#eef2ff;border-radius:0 7px 7px 0;margin:14px 0}
.review-steps{list-style:decimal;padding:0 0 0 21px;margin:12px 0}.review-steps li{padding:0 0 12px 5px;color:var(--primary)}.review-steps strong{display:block;font-size:12px;color:var(--text);font-weight:600}.review-steps span{display:block;font-size:11px;color:var(--muted);line-height:1.7;margin-top:3px}.review-coverage{margin:15px 0}.review-coverage>div{display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-bottom:1px solid var(--border);font-size:11px}.review-coverage dt{color:var(--muted)}.review-coverage dd{font-weight:600;margin:0}.review-raw{border-top:1px solid var(--border);margin-top:16px}.review-raw>summary{font-size:11px;color:var(--muted);cursor:pointer;padding:12px 0 0}.review-raw>p{font-size:12px;overflow-wrap:anywhere;margin:12px 0 0;line-height:1.7}
@media(max-width:700px){.review-panel{padding:13px}.review-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.review-component{padding:12px}.review-component-heading{flex-wrap:wrap}.review-component-heading>div{min-width:130px}.review-component-heading .report-pill{margin-left:28px}.review-component-meta{align-items:flex-start;flex-direction:column}.review-component-meta .button{width:100%}.review-versions{gap:10px;padding:10px}.review-actions{flex-direction:column}.review-actions .button{width:100%;min-height:42px}.review-components{max-height:480px}.review-coverage>div{font-size:11px}}

/* Match the dashboard's quiet surfaces while keeping the report hierarchy. */
.report-dialog{width:min(1040px,calc(100% - 40px));border:1px solid var(--border);border-radius:var(--radius)}
.report-header{padding:25px 28px 22px;background:var(--surface);color:var(--text);border-bottom:1px solid var(--border)}
.report-header .eyebrow{color:var(--muted);font-size:10px;letter-spacing:1.7px;margin-bottom:8px}
.report-header h2{font-size:25px;letter-spacing:-.6px;margin-bottom:8px;font-weight:650}
.report-domain{color:var(--muted);font-size:12px}.report-domain .report-icon{color:var(--primary)}
.report-close{width:36px;min-width:36px;height:36px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--muted)}
.report-close:hover{background:var(--primary-soft);color:var(--primary)}
.report-tabs{padding:9px 24px 0;gap:8px;margin:0}.report-tabs button{font-size:13px;padding:12px 10px;min-height:46px;border-bottom-width:2px;font-weight:550}
.report-dialog .review-panel small{display:block}.report-dialog .review-counts strong{font-size:22px}.report-dialog .review-steps strong{font-size:12px}
.report-body{padding:22px 26px 0;background:var(--bg)}
.report-status{padding:19px 20px;gap:14px;margin-bottom:18px}.report-status.good{background:var(--surface);border-color:var(--border)}
.report-status>.report-icon{width:29px;height:29px}.report-status h3{font-size:21px;letter-spacing:-.35px;font-weight:650}.report-status p{font-size:12px}
.report-columns{gap:18px}.report-section{padding:20px;border-radius:var(--radius)}
.report-section h3{font-size:16px;font-weight:650;gap:9px}.report-section h3>.report-icon{width:19px;height:19px}
.report-action>summary{padding:16px 0;min-height:65px}.report-action>summary>.report-icon:first-child{width:21px;height:21px}
.report-action strong{font-size:13px;font-weight:600}.report-action small{display:none}
.report-action>summary>.report-pill{font-size:10px;padding:3px 0;background:transparent;border-radius:0;color:#854d0e}
.report-caption{font-size:12px!important;margin-bottom:14px}.report-metric{padding:16px 0}.report-metric strong{font-size:23px}
.report-runtime{margin:18px 0;padding:17px 20px}.report-runtime strong{font-size:12px}
.report-disclosure{margin:13px 0}.report-disclosure>summary{padding:15px 18px;min-height:50px;color:var(--text)}
.report-disclosure>summary>.report-icon{width:19px;height:19px}.report-footer{margin-top:18px;padding:18px 0 21px}
@media(max-width:700px){.report-dialog{width:calc(100% - 18px);border-radius:12px}.report-header{padding:21px 18px}.report-header h2{font-size:22px}.report-tabs{padding:7px 9px 0;gap:2px}.report-tabs button{font-size:12px;padding:11px 4px}.report-body{padding:16px 14px 0}.report-status{padding:16px;gap:11px}.report-status h3{font-size:19px}.report-status>.report-pill{margin-left:40px}.report-status>div{min-width:180px}.report-section{padding:17px}.report-action>summary{gap:9px;min-height:72px;padding:14px 0}.report-action>summary>span:nth-child(2){min-width:170px}.report-action>summary>.report-pill{margin-left:30px}.report-runtime{padding:16px}.report-footer .button{font-size:12px}}
