/* BI Alerts. Native DOM/SVG, feature-scoped only. */
:is(.bi-alerts-frame,.bi-alerts-reference,.bi-alerts-dialog){font-family:'Segoe UI',sans-serif;color:#d8e9ef;box-sizing:border-box}
:is(.bi-alerts-frame,.bi-alerts-reference,.bi-alerts-dialog) *{box-sizing:border-box}
:is(.bi-alerts-frame,.bi-alerts-reference){position:relative;width:100%;overflow:hidden}
:is(.bi-alerts-frame,.bi-alerts-reference) [data-bi-alerts-board]{height:562px;width:1280px;margin:auto;padding:12px;background:radial-gradient(ellipse at 48% 20%,#062c37,#021e28 58%,#001720)}
:is(.bi-alerts-frame,.bi-alerts-reference) :is(h2,h3,h4,h5,p){margin:0}
:is(.bi-alerts-frame,.bi-alerts-reference) h2{font:700 32px/38px 'Segoe UI',sans-serif;color:#f1f6f6;letter-spacing:-.4px}
:is(.bi-alerts-frame,.bi-alerts-reference) :is(button,input,select,textarea){font:inherit;color:inherit}
:is(.bi-alerts-frame,.bi-alerts-reference) button{cursor:pointer;text-align:left}
:is(.bi-alerts-frame,.bi-alerts-reference) button:focus-visible{outline:2px solid #71e6e1;outline-offset:1px}
:is(.bi-alerts-frame,.bi-alerts-reference) :is(input,select){border:1px solid #29515e;background:#052431;border-radius:4px;padding:4px 7px}
:is(.bi-alerts-frame,.bi-alerts-reference) :is(input,select,button):disabled{cursor:default;opacity:.7}
:is(.bi-alerts-frame,.bi-alerts-reference) .ba-glass{border:1px solid #28525d;border-radius:7px;background:linear-gradient(120deg,#0c3540a6,#04242fa6);box-shadow:inset 0 0 12px #20545c18,0 3px 8px #0002}
:is(.bi-alerts-frame,.bi-alerts-reference) .ba-icon{width:25px;height:25px;flex:none}
:is(.bi-alerts-frame,.bi-alerts-reference) button[hidden],:is(.bi-alerts-frame,.bi-alerts-reference) [hidden]{display:none!important}
.bi-alerts-frame .ba-dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;height:46px;margin-bottom:8px}
.bi-alerts-frame .ba-dashboard-heading h2{font-size:28px;line-height:32px}
.bi-alerts-frame .ba-dashboard-heading p{font-size:12px;color:#a9c5cf;line-height:15px}
.bi-alerts-frame .ba-dashboard-heading>div:last-child{display:flex;align-items:center;gap:8px;font-size:11px}
.bi-alerts-frame .ba-dashboard-heading input{width:142px;height:27px}
.bi-alerts-frame .ba-dashboard-heading select{height:27px;width:205px}
.bi-alerts-frame .ba-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;height:68px;margin-bottom:10px;min-height:0}
.bi-alerts-frame .ba-kpis>button{display:flex;align-items:center;padding:0;overflow:hidden;min-height:0}
.bi-alerts-frame .ba-kpi-symbol{display:grid;place-items:center;flex:none;height:100%;width:66px;color:#e2c37f;border-right:1px solid #28515a;background:#15404a44}
.bi-alerts-frame .ba-kpi-symbol .ba-icon{width:38px;height:38px}
.bi-alerts-frame .ba-color-1{color:#79dfc7}.bi-alerts-frame .ba-color-2{color:#f4cc7e}.bi-alerts-frame .ba-color-3{color:#ef748b}
.bi-alerts-frame .ba-kpis>button>div{position:relative;flex:1;min-width:0;padding:8px 12px;height:100%}
.bi-alerts-frame .ba-kpis h4{font-size:12px;font-weight:400;color:#bed3da;line-height:19px;white-space:nowrap}
.bi-alerts-frame .ba-kpis strong{font-size:29px;line-height:32px;color:#f0f7f9;display:inline-block;font-weight:700}
.bi-alerts-frame .ba-source-change{display:inline-block;font-size:12px;line-height:17px;color:#7de4d2;margin-left:19px}
.bi-alerts-frame .ba-source-change small{display:block;font-size:10px;color:#c1d7de;white-space:nowrap}
.bi-alerts-frame .ba-progress{position:absolute;bottom:17px;left:64px;right:39px;height:7px;background:#54707980}
.bi-alerts-frame .ba-progress i{height:100%;display:block;background:#77e2cd}
.bi-alerts-frame .ba-kpis>button:nth-child(3) .ba-progress i{background:#f0d07c}
.bi-alerts-frame .ba-kpis>button:nth-child(4) .ba-progress i{background:#f0798c}
.bi-alerts-frame [data-ba-rate]{position:absolute;right:10px;bottom:13px;font-size:10px}
.bi-alerts-frame .ba-dashboard-main{display:grid;grid-template-columns:59% 1fr;gap:10px;height:388px}
.bi-alerts-frame .ba-left-column{display:grid;grid-template-rows:267px 111px;gap:10px;min-width:0}
.bi-alerts-frame .ba-right-column{display:grid;grid-template-rows:213px 165px;gap:10px;min-width:0}
.bi-alerts-frame :is(.ba-chart-card,.ba-backtest,.ba-rule,.ba-queue,.ba-detail){position:relative;overflow:hidden}
.bi-alerts-frame .ba-chart-card{padding:7px 9px}
.bi-alerts-frame :is(.ba-chart-card,.ba-backtest,.ba-rule,.ba-queue,.ba-detail)>header{display:flex;align-items:center;justify-content:flex-start;gap:7px;height:24px}
.bi-alerts-frame h3{font-size:14px;line-height:20px;color:#e9f0f2;white-space:nowrap}
.bi-alerts-frame .ba-chart-card>header h3{margin-right:auto}
.bi-alerts-frame .ba-chart-card>header small{font-size:9px;color:#b2ced7}
.bi-alerts-frame .ba-chart-card>header select{font-size:10px;height:24px;width:145px}
.bi-alerts-frame [data-ba-main-chart]{height:208px}
.bi-alerts-frame .ba-demand-chart{display:block;width:100%;height:100%}
.bi-alerts-frame .ba-forecast-info{position:absolute;right:10px;top:55px;width:164px;padding:9px;font-size:9px;line-height:13px;background:#092b38e8;z-index:1}
.bi-alerts-frame .ba-forecast-info h4{display:flex;align-items:center;gap:5px;font-size:11px;margin-bottom:5px}
.bi-alerts-frame .ba-forecast-info .ba-icon{width:13px;height:13px;color:#68bfe0}
.bi-alerts-frame .ba-forecast-info p{margin:5px 0}
.bi-alerts-frame .ba-forecast-info span{display:block;margin:4px 0}
.bi-alerts-frame .ba-forecast-info small{font-size:8px;color:#9eb8c3}
.bi-alerts-frame .ba-legend{display:flex;justify-content:space-between;gap:8px;padding:2px 4px;font-size:9px;line-height:14px}
.bi-alerts-frame .ba-legend button{display:flex;align-items:center;gap:7px;background:transparent;border:0;color:#acc4d0;padding:0;white-space:nowrap}
.bi-alerts-frame .ba-legend i{width:20px;height:0;border-top:2px solid #6de1cd}
.bi-alerts-frame .ba-legend .ba-line-1{border-color:#efd17c;border-top-style:dashed}
.bi-alerts-frame .ba-legend .ba-line-2{height:11px;border:1px solid #365b68;background:#36657744;border-radius:2px}
.bi-alerts-frame .ba-legend .ba-line-3{border-color:#92d9db;border-top-style:dotted}
.bi-alerts-frame .ba-legend .ba-line-4{border-color:#6bb5d0;border-top-style:dotted}
.bi-alerts-frame .ba-bottom-left{display:grid;grid-template-columns:51% 1fr;gap:8px;min-width:0}
.bi-alerts-frame .ba-backtest{padding:6px 8px}
.bi-alerts-frame .ba-backtest>header{height:22px;gap:4px}
.bi-alerts-frame .ba-backtest h3{font-size:12px}
.bi-alerts-frame .ba-backtest>header button{padding:0;background:none;border:0;color:#b7d4de}
.bi-alerts-frame .ba-backtest>header .ba-icon{width:12px;height:12px}
.bi-alerts-frame .ba-backtest>header small{margin-left:auto;font-size:7px;color:#aac2ce;white-space:nowrap}
.bi-alerts-frame .ba-backtest>div{display:grid;grid-template-columns:repeat(3,1fr) 1.3fr;gap:6px;height:73px;margin-top:3px}
.bi-alerts-frame .ba-backtest>div button{display:flex;flex-direction:column;justify-content:space-between;padding:7px;min-width:0}
.bi-alerts-frame .ba-backtest>div span{font-size:8px;line-height:12px;color:#c1d8df;white-space:nowrap}
.bi-alerts-frame .ba-backtest>div button:last-child span{font-size:7px}
.bi-alerts-frame .ba-backtest>div b{font-size:17px;color:#e9f3f4;line-height:21px}
.bi-alerts-frame .ba-backtest>div small{font-size:9px;color:#a1becb;line-height:12px}
.bi-alerts-frame .ba-rule{padding:6px 8px}
.bi-alerts-frame .ba-rule>header{justify-content:space-between}
.bi-alerts-frame .ba-rule h3{font-size:12px}
.bi-alerts-frame .ba-rule>header button{border:0;background:transparent;font-size:8px;color:#b2cbd4;padding:0}
.bi-alerts-frame .ba-rule>div{display:grid;grid-template-columns:1.15fr 1fr .8fr;gap:6px;margin-top:4px}
.bi-alerts-frame .ba-rule label{display:block;font-size:9px;line-height:15px;min-width:0}
.bi-alerts-frame .ba-rule select{font-size:8px;height:24px;padding:2px 3px;width:100%;opacity:1}
.bi-alerts-frame .ba-percent-input{display:flex;align-items:center;justify-content:center;gap:3px;border:1px solid #2c5762;border-radius:4px;background:#052431;height:24px}
.bi-alerts-frame .ba-percent-input input{width:39px;border:0;background:transparent;padding:0;font-size:10px;text-align:center;opacity:1}
.bi-alerts-frame .ba-rule footer{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-top:5px}
.bi-alerts-frame .ba-rule footer p{font-size:8px;line-height:11px;color:#b6cbd3;max-width:76%}
.bi-alerts-frame .ba-rule footer button{font-size:9px;color:#003b42;background:#6edddc;border:1px solid #8aeeec;border-radius:4px;padding:5px;white-space:nowrap}
.bi-alerts-frame .ba-queue{padding:7px}
.bi-alerts-frame .ba-queue>header{justify-content:space-between;height:24px;margin:0 3px}
.bi-alerts-frame .ba-queue h3{font-size:13px}
.bi-alerts-frame .ba-queue select{width:109px;font-size:9px;height:23px;padding:2px 4px}
.bi-alerts-frame .ba-queue table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;font-size:9px;line-height:12px}
.bi-alerts-frame .ba-queue th{font-size:8px;color:#abc4d0;font-weight:400;padding:5px 3px;height:28px}
.bi-alerts-frame .ba-queue td{padding:3px;height:30px;border-top:1px solid #30535f;vertical-align:middle}
.bi-alerts-frame .ba-queue td b{display:block;font-size:9px;font-weight:400;white-space:nowrap}
.bi-alerts-frame .ba-queue td small{display:block;font-size:8px;color:#c4d9df;line-height:12px}
.bi-alerts-frame .ba-queue tr[data-bi-alerts-action]{cursor:pointer}
.bi-alerts-frame .ba-queue tr[data-bi-alerts-action]:hover td{background:#0e3d48}
.bi-alerts-frame .ba-queue tr.ba-selected td{background:#0d3d49;border-top:1px solid #6bc8d3;border-bottom:1px solid #6bc8d3}
.bi-alerts-frame .ba-queue tr.ba-selected td:first-child{border-left:1px solid #6bc8d3;border-radius:4px 0 0 4px}
.bi-alerts-frame .ba-queue tr.ba-selected td:last-child{border-right:1px solid #6bc8d3}
.bi-alerts-frame .ba-severity{display:flex;align-items:center;gap:3px;font-size:8px;white-space:nowrap}
.bi-alerts-frame .ba-severity .ba-icon{width:13px;height:13px}
.bi-alerts-frame .ba-high,.bi-alerts-frame .ba-red,.bi-alerts-frame .ba-observed-alert{color:#f27e96}
.bi-alerts-frame .ba-medium{color:#f4cf7e}.bi-alerts-frame .ba-low{color:#6ee0c8}
.bi-alerts-frame .ba-avatar{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex:none;border:1px solid #416c81;border-radius:50%;background:linear-gradient(120deg,#34536c,#4a6c7c);font-size:8px;color:#d4e6ef}
.bi-alerts-frame .ba-badge{display:inline-block;padding:2px 7px;border-radius:10px;font-size:8px;line-height:12px;white-space:nowrap;border:1px solid #4e665a66}
.bi-alerts-frame .ba-status-pending{background:#9d7f2a33;color:#e4ca81}
.bi-alerts-frame .ba-status-verified,.bi-alerts-frame .ba-status-resolved{background:#1e86694d;color:#94d9c8}
.bi-alerts-frame .ba-status-rejected{background:#41607844;color:#b6cdd9}
.bi-alerts-frame .ba-status-button{background:transparent;border:0;padding:0}
.bi-alerts-frame .ba-detail{padding:6px 9px}
.bi-alerts-frame .ba-detail>header{height:23px;gap:5px}
.bi-alerts-frame .ba-detail h3{font-size:10px;line-height:16px;margin-right:auto}
.bi-alerts-frame .ba-detail>header button{background:none;border:0;padding:0 3px;color:#9fbcc8;font-size:17px}
.bi-alerts-frame .ba-detail-grid{display:grid;grid-template-columns:53% 1fr;gap:7px;height:101px;margin-top:2px}
.bi-alerts-frame .ba-detail dl{display:grid;grid-template-columns:88px 1fr;align-content:start;gap:2px;font-size:8px;line-height:12px;margin:0}
.bi-alerts-frame .ba-detail :is(dt,dd){margin:0;min-width:0;white-space:nowrap}
.bi-alerts-frame .ba-detail dt{color:#a7c1ce}
.bi-alerts-frame .ba-detail dd:last-child{display:flex;gap:6px;align-items:center}
.bi-alerts-frame .ba-detail dd small{display:block;font-size:7px;color:#a7c1ce;line-height:10px}
.bi-alerts-frame .ba-detail .ba-avatar{width:21px;height:21px}
.bi-alerts-frame .ba-history-chart{display:block;width:100%;padding:4px 6px}
.bi-alerts-frame .ba-history-chart>header{display:flex;align-items:center;justify-content:space-between;font-size:9px;height:14px}
.bi-alerts-frame .ba-history-chart header small{font-size:7px;color:#a8c2cb}
.bi-alerts-frame .ba-history-chart svg{width:100%;height:77px;display:block}
.bi-alerts-frame .ba-detail-actions{display:flex;gap:7px;height:25px;margin-top:5px}
.bi-alerts-frame .ba-detail-actions button{display:flex;align-items:center;justify-content:center;gap:5px;font-size:9px;white-space:nowrap;border:1px solid #2b5360;border-radius:4px;background:#06242e;padding:4px 7px;flex:1}
.bi-alerts-frame .ba-detail-actions .ba-icon{width:13px;height:13px}
.bi-alerts-frame .ba-detail-actions button:first-child{background:linear-gradient(115deg,#dbb96a,#f0d397);color:#1b3638;border-color:#e3c889}
.bi-alerts-frame .ba-footnote{display:flex;align-items:center;gap:6px;margin-top:6px;height:12px;font-size:10px;line-height:12px;color:#a7c1c9}
.bi-alerts-frame .ba-footnote .ba-icon{width:13px;height:13px}
:is(.bi-alerts-frame,.bi-alerts-reference) .ba-empty,:is(.bi-alerts-frame,.bi-alerts-reference) .ba-chart-empty{height:100%;display:grid;place-content:center;padding:20px;text-align:center;font-size:13px;color:#a7cdd9}
.bi-alerts-frame .ba-limited{font-size:12px;line-height:19px;color:#b7d3dc;padding:15px}
.bi-alerts-reference .ba-story-heading{display:flex;align-items:center;gap:16px;height:70px;padding:0 10px 10px}
.bi-alerts-reference .ba-heading-icon{width:60px;height:60px;display:grid;place-items:center;border:1px solid #447985;border-radius:10px;background:linear-gradient(130deg,#0a4654,#062631);box-shadow:inset 0 0 12px #72e7e81f;flex:none}
.bi-alerts-reference .ba-heading-icon .ba-icon{width:38px;height:38px;color:#86e9db}
.bi-alerts-reference .ba-story-heading>div{flex:none}
.bi-alerts-reference .ba-story-heading>div p{font-size:16px;color:#b9d5df;margin-top:1px}
.bi-alerts-reference .ba-story-intro{font-size:12px;line-height:18px;color:#c9dfe5;max-width:470px;margin-left:auto}
.bi-alerts-reference .ba-story-heading>small{font-size:9px;white-space:nowrap;margin-left:10px;color:#acc8d2}
.bi-alerts-reference .ba-story-hero{height:294px;position:relative;overflow:hidden;border-color:#447b83;background:radial-gradient(ellipse at 30% 70%,#0c465522,transparent 65%),#03202b}
.bi-alerts-reference .ba-story-hero>header{position:absolute;display:flex;align-items:center;justify-content:flex-start;gap:10px;top:12px;left:12px;z-index:2}
.bi-alerts-reference .ba-small-icon{width:42px;height:42px;border:1px solid #2b5e69;border-radius:7px;display:grid;place-items:center;color:#75dad4;background:#0b3442}
.bi-alerts-reference .ba-story-hero h3{font-size:15px;line-height:21px;color:#eef4f5}
.bi-alerts-reference .ba-story-hero>header small{font-size:11px;color:#adcbd6}
.bi-alerts-reference [data-ba-story-chart]{position:absolute;left:13px;right:248px;bottom:11px;height:235px}
.bi-alerts-reference .ba-story-chart{display:block;width:100%;height:100%}
.bi-alerts-reference .ba-anomaly-note{position:absolute;top:42px;left:240px;padding:7px 10px;font-size:10px;line-height:16px;background:#092b36e8;border-color:#b99d61}
.bi-alerts-reference .ba-anomaly-note b{display:flex;align-items:center;gap:7px;font-size:10px}
.bi-alerts-reference .ba-anomaly-note span{display:block;margin-left:17px;font-size:9px}
.bi-alerts-reference .ba-anomaly-note i,.bi-alerts-reference .ba-mini-evidence i{display:inline-block;flex:none;width:9px;height:9px;border-radius:50%;background:#edc866;box-shadow:0 0 10px #f5c952}
.bi-alerts-reference .ba-evidence-note{position:absolute;left:394px;top:13px;width:245px;padding:10px 12px;background:linear-gradient(130deg,#0c3744ed,#042630ed);border-color:#5bafaf;box-shadow:inset 0 0 12px #72e7e822,0 0 10px #5bd7d515}
.bi-alerts-reference .ba-evidence-note h4{display:flex;align-items:center;gap:9px;font-size:12px;line-height:20px;margin-bottom:5px}
.bi-alerts-reference .ba-evidence-note span{display:flex;align-items:center;gap:9px;font-size:10px;line-height:22px}
.bi-alerts-reference .ba-evidence-note .ba-icon{width:16px;height:16px;color:#80d7d5}
.bi-alerts-reference .ba-forecast-note{position:absolute;top:73px;left:720px;padding:9px 12px;font-size:10px;line-height:17px;background:#082b35e8;z-index:1}
.bi-alerts-reference .ba-forecast-note b{font-size:11px;display:block;color:#f1e5b4}
.bi-alerts-reference .ba-forecast-note span{display:block;text-align:center;color:#b5d0d9}
.bi-alerts-reference .ba-story-assumptions{position:absolute;right:12px;top:12px;display:flex;gap:10px}
.bi-alerts-reference .ba-story-assumptions>button{display:flex;align-items:center;gap:9px;min-width:145px;padding:6px 11px;font-size:10px;line-height:14px}
.bi-alerts-reference .ba-story-assumptions b,.bi-alerts-reference .ba-story-assumptions small{display:block;font-weight:400;font-size:10px}
.bi-alerts-reference .ba-story-assumptions .ba-icon{width:21px;height:21px;color:#7ddad8}
.bi-alerts-reference .ba-reviewer{position:absolute;right:12px;top:63px;bottom:9px;width:224px;padding:9px;border-color:#65b2bb;background:linear-gradient(120deg,#0b3543ee,#042630ed);box-shadow:0 0 10px #6be4e32a}
.bi-alerts-reference .ba-reviewer-open{display:block;width:100%;border:0;background:transparent;padding:0;color:inherit}
.bi-alerts-reference .ba-reviewer h4{display:flex;align-items:center;gap:7px;font-size:12px;line-height:20px;margin-bottom:4px}
.bi-alerts-reference .ba-reviewer h4 .ba-icon{width:17px;height:17px}
.bi-alerts-reference .ba-reviewer-open>div{display:flex;align-items:center;gap:9px}
.bi-alerts-reference .ba-reviewer img{width:38px;height:38px;object-fit:cover;border-radius:50%;border:1px solid #d8e4df}
.bi-alerts-reference .ba-reviewer small{display:block;font-size:9px;color:#b1cbd5;line-height:12px}
.bi-alerts-reference .ba-reviewer b{display:block;font-size:11px;font-weight:500;line-height:14px}
.bi-alerts-reference .ba-reviewer blockquote{margin:6px 0 5px;padding:6px 9px;font-size:10px;line-height:14px;color:#c7dee7;background:#0c3b4777;border:1px solid #376574;border-radius:5px}
.bi-alerts-reference .ba-threshold-bar h5{font-size:10px;font-weight:400;line-height:18px;margin-top:2px}
.bi-alerts-reference .ba-threshold-bar input{height:14px;width:100%;padding:0;border:0;border-radius:0;opacity:1;accent-color:#ecd080;background:transparent;cursor:pointer}
.bi-alerts-reference .ba-threshold-bar>div{display:flex;justify-content:space-between;align-items:center;font-size:12px;line-height:16px}
.bi-alerts-reference .ba-threshold-bar span:last-child{text-align:right;color:#f5d891}
.bi-alerts-reference .ba-threshold-bar b{font:inherit}
.bi-alerts-reference .ba-threshold-bar small{display:block;font-size:8px;color:#a2c4d0;line-height:12px}
.bi-alerts-reference .ba-threshold-bar i{font-style:normal;color:#aad5d6;font-size:17px}
.bi-alerts-reference [data-ba-story-session]{display:block;font-size:8px;color:#ebd18b;line-height:13px;margin-top:2px;white-space:nowrap}
.bi-alerts-reference .ba-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;height:162px;margin-top:12px}
.bi-alerts-reference .ba-step{position:relative;padding:9px 11px;background:linear-gradient(120deg,#0b3544b3,#052732b3);overflow:visible;border-color:#3c7780}
.bi-alerts-reference .ba-step:not(:last-child):after{content:'→';position:absolute;left:calc(100% + 6px);top:74px;font-size:21px;color:#81dbd1}
.bi-alerts-reference .ba-step>header{display:flex;align-items:flex-start;justify-content:flex-start;gap:10px;min-height:53px;margin-bottom:4px}
.bi-alerts-reference .ba-step em{display:grid;place-items:center;flex:none;border:1px solid #82c8c5;border-radius:50%;width:29px;height:29px;font-size:17px;font-style:normal;color:#b0f3e5;box-shadow:0 0 9px #67d6ca44,inset 0 0 8px #49cccb22}
.bi-alerts-reference .ba-step h3{font-size:14px;line-height:20px;color:#e6f2f5}
.bi-alerts-reference .ba-step p{font-size:10px;line-height:14px;color:#c1d9df;margin-top:2px}
.bi-alerts-reference .ba-metric-choices{border:1px solid #2c6670;border-radius:5px;background:#082a35;padding:2px 4px}
.bi-alerts-reference .ba-metric-choices button{width:100%;display:flex;align-items:center;gap:9px;padding:2px 6px;height:21px;border:0;border-radius:3px;background:transparent;color:#c7e1e8;font-size:10px}
.bi-alerts-reference .ba-metric-choices .ba-icon{width:15px;height:15px;color:#88e0d8}
.bi-alerts-reference .ba-metric-choices b{margin-left:auto;font-size:15px;font-weight:400;color:#a0f5dc}
.bi-alerts-reference .ba-metric-choices .ba-metric-selected{background:linear-gradient(90deg,#155563,#135463);box-shadow:inset 0 0 6px #67e3dc33;border:1px solid #58c7ce}
.bi-alerts-reference .ba-mini-evidence{display:flex;flex-direction:column;gap:6px;padding:7px 8px;border:1px solid #426c6d;border-radius:7px;width:100%;background:linear-gradient(120deg,#153c4166,#06232c);color:#cfdfdf;font-size:9px}
.bi-alerts-reference .ba-mini-evidence span{display:flex;align-items:center;gap:7px;white-space:nowrap}
.bi-alerts-reference .ba-mini-evidence b{font-size:9px;font-weight:400}
.bi-alerts-reference .ba-mini-evidence .ba-icon{width:14px;height:14px;color:#9ad9d0}
.bi-alerts-reference .ba-mini-forecast-card{position:relative;width:100%;height:87px;border:1px solid #39737e;border-radius:8px;background:#042630;color:#c7dfe7;padding:5px}
.bi-alerts-reference .ba-mini-forecast{width:100%;height:100%}
.bi-alerts-reference .ba-mini-forecast-card>div{position:absolute;right:5px;top:12px;display:flex;flex-direction:column;gap:6px;white-space:nowrap;padding:7px;background:#0c3442ee;border:1px solid #3f7980;border-radius:6px;font-size:9px}
.bi-alerts-reference .ba-mini-forecast-card b{font-size:10px;color:#e3f1f3}
.bi-alerts-reference .ba-step>.ba-threshold-bar{padding:8px 12px;border:1px solid #3c7078;background:#062832;border-radius:8px;height:86px}
.bi-alerts-reference .ba-step .ba-threshold-bar input{margin:9px 0 4px}
.bi-alerts-dialog{position:fixed;inset:0;width:min(730px,92vw);height:fit-content;min-height:0;max-height:88vh;margin:auto;overflow:auto;padding:23px;border:1px solid #64a5ad;border-radius:12px;background:linear-gradient(130deg,#0b3544,#031e2b);box-shadow:0 15px 60px #0008;font-size:14px;line-height:1.5}
.bi-alerts-dialog::backdrop{background:#001019c9}.bi-alerts-dialog[hidden]{display:none}
.bi-alerts-dialog h2{font-size:23px;line-height:29px;color:#f0f7f7;margin:0 35px 8px 0}
.bi-alerts-dialog p{margin:10px 0}.bi-alerts-dialog .ba-context,.bi-alerts-dialog .ba-demo{font-size:11px;color:#afccd5}
.bi-alerts-dialog :is(button,input,select,textarea){font:inherit;color:inherit;border:1px solid #3d6f7d;border-radius:5px;background:#0a3444;padding:6px 10px}
.bi-alerts-dialog :is(button,select){cursor:pointer}.bi-alerts-dialog :is(button,input,select,textarea):disabled{opacity:.65;cursor:default}
.bi-alerts-dialog button{margin:4px 6px 4px 0}.bi-alerts-dialog :focus-visible{outline:2px solid #79e5e5;outline-offset:2px}
.bi-alerts-dialog .ba-close{position:absolute;top:7px;right:10px;font-size:25px;background:transparent;border:0;color:#deedef;padding:0 5px}
.bi-alerts-dialog label{display:flex;align-items:center;gap:12px;margin:9px 0}.bi-alerts-dialog label>select{flex:1;min-width:0}
.bi-alerts-dialog input[type='number']{width:150px;margin-left:auto}.bi-alerts-dialog input[type='checkbox']{width:16px;height:16px;accent-color:#43bfbf}
.bi-alerts-dialog textarea{width:100%;height:65px;resize:vertical}.bi-alerts-dialog .ba-checkbox{font-size:13px}
.bi-alerts-dialog .ba-feedback{display:block;border:1px solid #78815e;background:#7a6c2522;color:#ebd695;border-radius:5px;padding:9px;font-size:13px}
.bi-alerts-dialog .ba-dialog-number{font-size:34px;color:#95e9db}.bi-alerts-dialog .ba-modal-actions{display:flex;gap:5px;flex-wrap:wrap}
@keyframes ba-alert-pulse{50%{opacity:.65;stroke-width:4}}
.bi-alerts-reference[data-bi-alerts-scene-active='true'] .ba-pulse-dot{animation:ba-alert-pulse 3s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.bi-alerts-reference .ba-pulse-dot{animation:none!important}}
.bi-alerts-frame .ba-dashboard-heading h2,.bi-alerts-reference .ba-story-heading h2{font-size:32px;line-height:34px}
.bi-alerts-frame .ba-dashboard-heading p{line-height:12px}
/* Own scoped rules prevent host document typography/margins from clipping cards. */
.bi-alerts-frame .ba-rule label{margin:0}
.bi-alerts-frame .ba-forecast-info p{font-size:9px;line-height:13px;font-weight:400}
.bi-alerts-frame .ba-queue th{padding:2px 3px;height:24px;line-height:10px}
.bi-alerts-reference .ba-threshold-bar input[type='range']{appearance:none;-webkit-appearance:none;height:6px;border-radius:5px;background:linear-gradient(90deg,#75dfde,#edd380);margin:6px 0;opacity:1}
.bi-alerts-reference .ba-threshold-bar input[type='range']::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:14px;height:14px;border:1px solid #fff2b9;border-radius:50%;background:#edd07a;box-shadow:0 0 9px #f3d87a99}
.bi-alerts-reference .ba-threshold-bar input[type='range']::-moz-range-thumb{width:14px;height:14px;border:1px solid #fff2b9;border-radius:50%;background:#edd07a;box-shadow:0 0 9px #f3d87a99}
.bi-alerts-frame [data-ba-main-chart]{height:198px}
.bi-alerts-frame .ba-legend{display:grid;grid-template-columns:.6fr 1.25fr 1.4fr 1.15fr 1.15fr;gap:6px;min-height:24px;font-size:9px;line-height:11px;padding:3px 2px}
.bi-alerts-frame .ba-legend button{white-space:normal;min-width:0;font-size:9px;line-height:11px;align-items:center;gap:5px}
.bi-alerts-frame .ba-legend i{width:16px;flex:none}
.bi-alerts-frame .ba-detail dl{font-size:9px;line-height:13px}
.bi-alerts-frame .ba-detail dd small{font-size:8px}
.bi-alerts-reference .ba-reviewer{padding:7px 9px}
.bi-alerts-reference .ba-no-forecast{font-size:12px;line-height:18px;text-align:center;padding:14px;color:#b5d1da}
.bi-alerts-reference .ba-reviewer>.ba-threshold-bar{position:absolute;left:9px;right:9px;bottom:22px}
.bi-alerts-reference .ba-reviewer>[data-ba-story-session]{position:absolute;left:9px;right:9px;bottom:5px;margin:0;height:12px;line-height:12px}
/* Root review: larger Story canvas/captions and readable Dashboard body, within native viewport fit. */
.bi-alerts-reference .ba-story-board{height:620px}
.bi-alerts-reference .ba-story-heading{height:74px}
.bi-alerts-reference .ba-story-hero{height:320px}
.bi-alerts-reference [data-ba-story-chart]{height:261px}
.bi-alerts-reference .ba-steps{height:190px}
.bi-alerts-reference .ba-step>header{min-height:65px}
.bi-alerts-reference .ba-step p{font-size:11px;line-height:15px}
.bi-alerts-reference .ba-step:not(:last-child):after{top:88px}
.bi-alerts-reference .ba-metric-choices button{font-size:11px;height:22px}
.bi-alerts-reference .ba-mini-evidence,.bi-alerts-reference .ba-mini-evidence b{font-size:10px;line-height:13px}
.bi-alerts-reference .ba-mini-forecast-card>div{font-size:10px;line-height:13px}
.bi-alerts-reference .ba-mini-forecast-card b{font-size:11px}
.bi-alerts-reference .ba-threshold-bar h5{font-size:11px}
.bi-alerts-reference .ba-threshold-bar>div{font-size:13px;line-height:17px}
.bi-alerts-reference .ba-threshold-bar small{font-size:10px;line-height:13px}
.bi-alerts-reference .ba-reviewer small{font-size:10px;line-height:13px}
.bi-alerts-reference .ba-reviewer b{font-size:12px;line-height:15px}
.bi-alerts-reference .ba-reviewer blockquote{font-size:11px;line-height:15px}
.bi-alerts-reference .ba-reviewer>[data-ba-story-session]{font-size:10px;height:14px;line-height:14px}
.bi-alerts-reference .ba-story-assumptions :is(b,small),.bi-alerts-reference .ba-story-assumptions>button{font-size:11px;line-height:14px}
.bi-alerts-reference .ba-evidence-note span{font-size:11px;line-height:23px}
.bi-alerts-reference .ba-anomaly-note b,.bi-alerts-reference .ba-anomaly-note span{font-size:11px}
.bi-alerts-reference .ba-forecast-note span{font-size:11px}
.bi-alerts-reference .ba-story-chart text{font-size:11px}
.bi-alerts-reference .ba-story-history-line{filter:drop-shadow(0 0 2.5px #75edda77)}
.bi-alerts-reference .ba-pulse-dot{filter:drop-shadow(0 0 6px #f2ca69)}
.bi-alerts-reference .ba-story-chart>path[stroke='#f7df86']{filter:drop-shadow(0 0 2px #e2cb6b66)}
.bi-alerts-frame .ba-demand-chart>path[stroke='#78e9cf']{filter:drop-shadow(0 0 2px #75edda66)}
.bi-alerts-frame .ba-queue table,.bi-alerts-frame .ba-queue td b{font-size:10px}
.bi-alerts-frame .ba-queue td small,.bi-alerts-frame .ba-severity{font-size:9.5px}
.bi-alerts-frame .ba-queue th{font-size:9px}
.bi-alerts-frame .ba-avatar{font-size:9px}
.bi-alerts-frame .ba-badge{font-size:9px}
.bi-alerts-frame .ba-detail-grid{height:98px}
.bi-alerts-frame .ba-detail dl{font-size:10px;line-height:13px}
.bi-alerts-frame .ba-detail h3{font-size:11px}
.bi-alerts-frame .ba-detail-actions button{font-size:10px}

/* Shared opening typography; compensate board and ancestor scaling only for these roles. */
.bi-alerts-frame .ba-dashboard-board{height:586px}
.bi-alerts-reference .ba-story-board{height:644px}
.bi-alerts-frame .ba-dashboard-heading{height:70px;align-items:center}
.bi-alerts-frame .ba-dashboard-heading>div:first-child{min-width:0;flex:1}
.bi-alerts-frame .ba-dashboard-heading>div:last-child{flex:none}
.bi-alerts-reference .ba-story-heading{height:98px;gap:12px}
.bi-alerts-reference .ba-story-heading>div{min-width:0;flex:1}
.bi-alerts-reference .ba-story-intro{max-width:440px;flex:1}
.bi-alerts-frame .ba-dashboard-heading h2,.bi-alerts-reference .ba-story-heading h2{
 font-family:'Segoe UI',sans-serif;font-size:calc(var(--atu-feature-title-size,32px) / var(--ba-type-scale,1));font-weight:600;font-style:normal;line-height:1.2;color:var(--atu-feature-title-color,#f8f5ee);letter-spacing:normal;white-space:normal;overflow:visible;text-overflow:clip
}
.bi-alerts-frame .ba-dashboard-heading h2 *,.bi-alerts-reference .ba-story-heading h2 *{font:inherit;color:inherit;letter-spacing:inherit}
.bi-alerts-reference .ba-story-heading>div p{
 font-family:'Segoe UI',sans-serif;font-size:calc(var(--atu-feature-subtitle-size,18px) / var(--ba-type-scale,1));font-weight:400;font-style:normal;line-height:1.4;color:var(--atu-feature-subtitle-color,#d9e9ec)
}
.bi-alerts-frame .ba-dashboard-heading p{
 font-family:'Segoe UI',sans-serif;font-size:calc(var(--atu-feature-intro-size,12px) / var(--ba-type-scale,1));font-weight:400;font-style:normal;line-height:1.4;color:var(--atu-feature-subtitle-color,#d9e9ec)
}

/* The opening is full width and independent from diagram zoom. */
.bi-alerts-frame .ba-dashboard-board{height:516px}
.bi-alerts-reference .ba-story-board{height:546px}
.bi-alerts-frame>.ba-dashboard-heading{height:auto;min-height:70px;padding:12px 12px 4px;margin:0;flex-wrap:wrap}
.bi-alerts-reference>.ba-story-heading{height:auto;min-height:98px;padding:12px;flex-wrap:wrap;align-content:center}
.bi-alerts-reference>.ba-story-heading>div{flex:1 1 300px}
.bi-alerts-reference>.ba-story-heading>.ba-story-intro{flex:1 1 320px;margin-left:auto}
@media(max-width:700px){
 .bi-alerts-frame>.ba-dashboard-heading{gap:8px}
 .bi-alerts-frame>.ba-dashboard-heading>div:first-child{flex-basis:100%}
 .bi-alerts-frame>.ba-dashboard-heading>div:last-child{width:100%;flex-wrap:wrap}
 .bi-alerts-frame>.ba-dashboard-heading input{width:130px}
 .bi-alerts-frame>.ba-dashboard-heading select{width:190px}
 .bi-alerts-reference>.ba-story-heading{gap:8px}
 .bi-alerts-reference>.ba-story-heading>div{flex-basis:calc(100% - 78px)}
 .bi-alerts-reference>.ba-story-heading>.ba-story-intro{max-width:none;flex-basis:100%;margin:0}
 .bi-alerts-reference>.ba-story-heading>small{margin:0}
}

/* Story opening follows the Dashboard physical text anchor; art is independent. */
.bi-alerts-frame>.ba-dashboard-heading{align-items:flex-start}
.bi-alerts-reference>.ba-story-heading{position:relative;padding:12px 64px 4px 12px;align-items:flex-start;align-content:flex-start;text-align:left}
.bi-alerts-reference>.ba-story-heading>.ba-heading-icon{position:absolute;right:12px;top:12px;width:40px;height:40px}
.bi-alerts-reference>.ba-story-heading>.ba-heading-icon .ba-icon{width:28px;height:28px}
.bi-alerts-reference>.ba-story-heading>div{margin:0;text-align:left}
.bi-alerts-reference>.ba-story-heading h2{margin:0;text-align:left}
@media(max-width:700px){
 .bi-alerts-reference>.ba-story-heading>div{flex-basis:100%}
}

/* Source-led static light, glass rims and reflected floor; no added motion. */
:is(.bi-alerts-frame,.bi-alerts-reference) .ba-glass{
 border-color:#427681;
 background:linear-gradient(116deg,#0d3d48c9 0%,#062c38b8 40%,#03232dcc 100%);
 box-shadow:inset 0 1px 0 #b0fff22e,inset 1px 0 0 #8fe7df12,inset 0 -1px 0 #103944,0 3px 8px #0005,0 0 8px #5bd7ca08
}
.bi-alerts-reference .ba-story-hero{
 border-color:#5b9c9e;
 background:radial-gradient(ellipse at 32% 86%,#1765752a,transparent 53%),radial-gradient(ellipse at 68% 100%,#338e8720,transparent 50%),linear-gradient(112deg,#03232e,#01212b 58%,#082c37);
 box-shadow:inset 0 1px 0 #a9f5e33a,inset 0 -1px 0 #619f9633,0 6px 16px #0005,0 0 12px #60bfb711
}
.bi-alerts-reference .ba-evidence-note,.bi-alerts-reference .ba-reviewer{
 border-color:#71bab9;
 background:linear-gradient(125deg,#124552ef,#072e3aeb 46%,#042731f2);
 box-shadow:inset 0 1px 0 #c0fff34d,inset 1px 0 0 #9bf5e623,inset 0 -1px 0 #79d3c829,0 0 9px #57d7cf21,0 5px 10px #00131a77
}
.bi-alerts-reference .ba-step{border-color:#528a8c;background:linear-gradient(122deg,#0c3a46da,#052b36cc 48%,#03232edb);box-shadow:inset 0 1px 0 #b5fff039,inset 1px 0 0 #9ce7db1a,inset 0 -1px 0 #68b5a926,0 5px 10px #00151c66}
.bi-alerts-reference .ba-story-lightspill{filter:blur(3px);pointer-events:none}
.bi-alerts-reference .ba-story-history-line{filter:drop-shadow(0 0 2px #7af3dcaa);stroke-linecap:round;stroke-linejoin:round}
.bi-alerts-reference .ba-peak-aura{filter:blur(4px);pointer-events:none}
.bi-alerts-reference .ba-pulse-dot{filter:drop-shadow(0 0 6px #ffd575aa)}
.bi-alerts-reference .ba-evidence-leader{filter:drop-shadow(0 0 1px #9cddd344)}
.bi-alerts-reference .ba-forecast-envelope{stroke-linejoin:round}
.bi-alerts-reference .ba-mini-forecast path:last-child{filter:drop-shadow(0 0 2px #efd56b55)}
.bi-alerts-frame .ba-demand-lightspill{filter:blur(2.5px);pointer-events:none}
.bi-alerts-frame .ba-demand-core{filter:drop-shadow(0 0 1.5px #73e8cf99);stroke-linecap:round;stroke-linejoin:round}
.bi-alerts-frame .ba-chart-card{background:radial-gradient(ellipse at 34% 90%,#1b6a6c16,transparent 60%),linear-gradient(120deg,#09313ac9,#03242ecc)}

.bi-alerts-frame .ba-glass{border-color:#315e68;box-shadow:inset 0 1px 0 #a5f0df20,inset 0 -1px 0 #17424b55,0 3px 7px #00141c44}

/* 28/10: wide screens widen the board by --ba-extra design px (set in fit). Story notes stay on their chart points
   (chart starts at 13px and grows by --ba-extra; factor = point x / 1000 viewBox: anomaly + evidence follow the
   callout end x=361, forecast the "now" line x=687), and the stretched SVG charts
   counter-scale text/dots by --ba-chart-x so they keep the design proportions. */
.bi-alerts-reference .ba-anomaly-note{left:calc(240px + var(--ba-extra,0px) * .361)}
.bi-alerts-reference .ba-evidence-note{left:calc(394px + var(--ba-extra,0px) * .361)}
.bi-alerts-reference .ba-forecast-note{left:calc(720px + var(--ba-extra,0px) * .687)}
.bi-alerts-frame [data-ba-main-chart] svg :is(text,circle,rect),.bi-alerts-reference [data-ba-story-chart] svg :is(text,circle){transform-box:fill-box;transform-origin:50% 50%;transform:scaleX(var(--ba-chart-x,1))}
.bi-alerts-frame [data-ba-main-chart] svg text[text-anchor='end'],.bi-alerts-reference [data-ba-story-chart] svg text[text-anchor='end']{transform-origin:100% 50%}
.bi-alerts-reference [data-ba-story-chart] svg text:not([text-anchor]){transform-origin:0 50%}
