.flumenPortalAlerts .alert-subscription-dialog.alert-subscription-center {
    background: var(--background-color, #f4f7fb);
    left: var(--flumen-navigation-width, 4.75rem);
}

.alert-subscription-center .alert-subscription-dialog-card {
    max-height: min(84dvh, 46rem);
    max-width: 46rem;
    overflow-y: auto;
    width: min(100%, 46rem);
}
.alert-subscription-center .alert-subscription-center-list {
    display: flex;
    flex-direction: column;
    max-height: min(42dvh, 24rem);
    min-height: 0;
    overflow: hidden;
}
.alert-subscription-center-toolbar {
    align-items: center;
    display: flex;
    gap: .65rem;
    justify-content: space-between;
    margin-bottom: .65rem;
}
.alert-subscription-center-toolbar h3 { margin: 0; }
.alert-subscription-center-search {
    border: 1px solid #cbd8e8;
    border-radius: .4rem;
    box-sizing: border-box;
    color: #102c59;
    font: 500 .76rem/1 Ubuntu, Roboto, sans-serif;
    max-width: 15rem;
    min-width: 0;
    padding: .5rem .65rem;
    width: 100%;
}
.alert-subscription-center-search:focus-visible { outline: 2px solid #3874af; outline-offset: 2px; }
.alert-subscription-center-results {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.alert-subscription-center .alert-subscription-center-list li { text-align: left; }
.alert-subscription-center .alert-subscription-center-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 620px) {
    .alert-subscription-center-toolbar { align-items: stretch; flex-direction: column; }
    .alert-subscription-center-search { max-width: none; }
}
.flumen-alert-tabs { background: #eef3f9; border-radius: .55rem; display: flex; gap: .2rem; padding: .22rem; }
.flumen-alert-tabs button { background: transparent; border: 0; border-radius: .38rem; color: #5e7695; cursor: pointer; font: 700 .78rem/1 Ubuntu, Roboto, sans-serif; padding: .55rem .75rem; }
.flumen-alert-tabs button.is-active { background: #fff; box-shadow: 0 .12rem .35rem rgba(14,42,82,.13); color: #102c59; }
.flumen-alert-summary { display: grid; gap: .6rem; grid-template-columns: repeat(3, 1fr); }
.flumen-alert-summary button { background: #fff; border: 1px solid #d8e2ef; border-left: .28rem solid #7285a0; border-radius: .55rem; color: #264c73; cursor: pointer; padding: .7rem .75rem; text-align: left; }
.flumen-alert-summary button strong, .flumen-alert-summary button span { display: block; }
.flumen-alert-summary button strong { font: 800 1.25rem/1 Ubuntu, Roboto, sans-serif; margin-bottom: .25rem; }
.flumen-alert-summary button span { font: 700 .7rem/1 Ubuntu, Roboto, sans-serif; text-transform: uppercase; }
.flumen-alert-summary .is-critical { border-left-color: #bf3d4e; }.flumen-alert-summary .is-warning { border-left-color: #c88431; }.flumen-alert-summary .is-insight { border-left-color: #3874af; }
.flumen-alert-summary button.is-active { background: #f5f8fc; box-shadow: inset 0 0 0 1px #afc1d6; }
.flumen-alert-filter { display: flex; gap: .6rem; justify-content: flex-end; }.flumen-alert-filter select { border: 1px solid #cbd8e8; border-radius: .42rem; color: #315473; font: 600 .75rem/1 Ubuntu, Roboto, sans-serif; padding: .48rem; }
.flumen-alert-list { display: grid; gap: .6rem; }.flumen-alert-card { background: #fff; border: 1px solid #dbe4f0; border-left: .28rem solid #7285a0; border-radius: .58rem; cursor: pointer; display: grid; gap: .45rem; padding: .85rem .95rem; }.flumen-alert-card:hover { border-color: #aebfd3; box-shadow: 0 .3rem .8rem rgba(14,42,82,.08); }.flumen-alert-card.is-critical { border-left-color: #bf3d4e; }.flumen-alert-card.is-warning { border-left-color: #c88431; }.flumen-alert-card.is-insight { border-left-color: #3874af; }
.flumen-alert-card-meta { color: #6b7e99; display: flex; flex-wrap: wrap; font: 600 .7rem/1.3 Ubuntu, Roboto, sans-serif; gap: .55rem; }.flumen-alert-card-meta .severity { font-weight: 800; text-transform: uppercase; }.flumen-alert-card h3 { color: #173760; font: 800 .95rem/1.2 Ubuntu, Roboto, sans-serif; margin: 0; }.flumen-alert-card p { color: #526f91; font: 500 .78rem/1.42 Ubuntu, Roboto, sans-serif; margin: 0; }.flumen-alert-card .recommendation { background: #f4f7fb; border-radius: .36rem; color: #315473; font: 600 .73rem/1.35 Ubuntu, Roboto, sans-serif; padding: .55rem .65rem; }
.flumen-alert-empty { color: #6b7e99; font: 500 .8rem/1.4 Ubuntu, Roboto, sans-serif; margin: .8rem 0; text-align: center; }
.flumen-alert-detail { align-items: stretch; background: rgba(4,14,39,.3); display: flex; inset: 0; justify-content: flex-end; position: fixed; z-index: 2147483648; }.flumen-alert-detail-panel { background: #fff; box-shadow: -1rem 0 2.5rem rgba(1,10,45,.22); color: #102c59; display: grid; gap: 1rem; grid-template-rows: auto 1fr auto; max-width: 31rem; padding: 1.35rem; width: min(100%,31rem); }.flumen-alert-detail header { align-items: flex-start; display:flex; justify-content:space-between; }.flumen-alert-detail h2 { font:800 1.3rem/1.2 Ubuntu,Roboto,sans-serif; margin:.2rem 0 0; }.flumen-alert-detail header button { background:transparent;border:0;color:#59708f;cursor:pointer;font-size:1.25rem; }.flumen-alert-detail small { color:#6b7e99;font:700 .7rem/1 Ubuntu,Roboto,sans-serif;text-transform:uppercase; }.flumen-alert-detail p { color:#486785;font:500 .85rem/1.5 Ubuntu,Roboto,sans-serif; }.flumen-alert-detail dl { background:#f4f7fb;border-radius:.5rem;display:grid;gap:.55rem .7rem;grid-template-columns:7rem 1fr;margin:0;padding:.8rem; }.flumen-alert-detail dt { color:#6b819d;font:700 .72rem/1.2 Ubuntu,Roboto,sans-serif; }.flumen-alert-detail dd { color:#24486f;font:600 .78rem/1.2 Ubuntu,Roboto,sans-serif;margin:0; }.flumen-alert-detail footer { display:flex;gap:.6rem;justify-content:flex-end; }.flumen-alert-detail footer button { background:#fff;border:1px solid #b7c7da;border-radius:.45rem;color:#435f80;cursor:pointer;font:700 .78rem/1 Ubuntu,Roboto,sans-serif;padding:.65rem .85rem; }.flumen-alert-detail .flumen-alert-acknowledge { border-color:#9db3cb;color:#274f7a; }.flumen-alert-detail .flumen-alert-resolve { border-color:#83a995;color:#286348; }.flumen-alert-detail .flumen-alert-close { background:#c01466;color:#fff;border-color:#c01466; }
@media (max-width: 620px) { .flumen-alert-summary { grid-template-columns: 1fr; }.flumen-alert-filter { justify-content: stretch; }.flumen-alert-filter select { flex:1; }.flumen-alert-detail-panel { max-width:none; width:100%; } }
.flumen-navigation-alert-indicator { background:#7285a0; border:2px solid #071539; border-radius:50%; box-shadow:0 0 0 1px rgba(255,255,255,.72); cursor:pointer; height:.5rem; position:absolute; right:.05rem; top:.04rem; width:.5rem; z-index:2; }.flumen-navigation-alert-indicator.is-critical { background:#bf3d4e; }.flumen-navigation-alert-indicator.is-warning { background:#c88431; }.flumen-navigation-alert-indicator.is-insight { background:#3874af; }.analysis-matrix-value-chain-level, #analysisMatrixAlertSubscriptions { position:relative; }
.flumen-dashboard-alert-summary { align-items:center; background:#fff; border:1px solid #dbe4f0; border-left:4px solid #bf3d4e; border-radius:.55rem; color:#183b65; cursor:pointer; display:flex; gap:.8rem; justify-content:flex-start; margin:0 0 .8rem; padding:.75rem .9rem; text-align:left; width:100%; }.flumen-dashboard-alert-summary:hover { box-shadow:0 .3rem .8rem rgba(14,42,82,.1); }.flumen-dashboard-alert-summary-title { font:800 .76rem/1 Ubuntu,Roboto,sans-serif; text-transform:uppercase; }.flumen-dashboard-alert-summary-copy { color:#526f91; font:600 .78rem/1.25 Ubuntu,Roboto,sans-serif; }.flumen-dashboard-alert-summary-copy strong { color:#173760; font-size:1.05rem; }.flumen-dashboard-alert-summary-counts { display:flex; gap:.35rem; margin-left:auto; }.flumen-dashboard-alert-summary-counts i { border-radius:999px; color:#fff; font:700 .65rem/1 Ubuntu,Roboto,sans-serif; font-style:normal; min-width:1.15rem; padding:.28rem .35rem; text-align:center; }.flumen-dashboard-alert-summary-counts .is-critical { background:#bf3d4e; }.flumen-dashboard-alert-summary-counts .is-warning { background:#c88431; }.flumen-dashboard-alert-summary-counts .is-insight { background:#3874af; }
.flumen-alert-history-list { display:grid; gap:.55rem; }.flumen-alert-history-list article { border-left:2px solid #b7c7da; display:grid; gap:.6rem; grid-template-columns:8rem 1fr; padding:.2rem 0 .5rem .75rem; }.flumen-alert-history-list time { color:#6b819d; font:600 .7rem/1.35 Ubuntu,Roboto,sans-serif; }.flumen-alert-history-list strong { color:#173760; font:700 .82rem/1.2 Ubuntu,Roboto,sans-serif; }.flumen-alert-history-list p { color:#526f91; font:500 .76rem/1.35 Ubuntu,Roboto,sans-serif; margin:.2rem 0; }.flumen-alert-history-list small { color:#788ba3; font:600 .68rem/1 Ubuntu,Roboto,sans-serif; }
.flumen-alert-detail footer { align-items:center; justify-content:space-between; }.flumen-alert-detail footer span { display:flex; gap:.45rem; }.flumen-alert-detail .flumen-alert-detail-share-actions button { font-size:.72rem; padding:.55rem .62rem; }.flumen-alert-detail .flumen-alert-save.is-saved { background:#eff5fb; border-color:#799bbb; color:#173f6a; }
.flumen-company-map-alert-indicator { background:#3874af; border:2px solid #fff; border-radius:50%; box-shadow:0 .08rem .25rem rgba(4,20,52,.3); height:.62rem; position:absolute; right:-.14rem; top:-.14rem; width:.62rem; z-index:3; }.flumen-company-map-alert-indicator.is-critical { background:#bf3d4e; }.flumen-company-map-alert-indicator.is-warning { background:#c88431; }.analysis-matrix-company-map-marker-icon { position:relative; }.analysis-matrix-company-map-marker.has-alert { cursor:pointer; pointer-events:auto; }.analysis-matrix-company-map-cluster .flumen-company-map-alert-indicator { right:.2rem; top:.2rem; }

/* Routed Alerts uses the complete workspace; embedded centers remain dialogs. */
.flumenPortalAlerts .alert-subscription-dialog.alert-subscription-center {
    inset: var(--analysis-matrix-header-height, 4rem) 0 0 var(--analysis-matrix-navigation-width, var(--flumen-navigation-width, 0px));
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    overflow: auto;
    box-sizing: border-box;
}
.flumenPortalAlerts .alert-subscription-center > .alert-subscription-dialog-card {
    width: 100%;
    max-width: none;
    min-height: 100%;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
    align-content: start;
    padding: clamp(1rem, 2.5vw, 2rem);
    overflow: visible;
}
.flumenPortalAlerts .alert-subscription-center .alert-subscription-center-list {
    max-height: none;
    overflow: visible;
}
.flumenPortalAlerts .alert-subscription-center .alert-subscription-center-results {
    overflow: visible;
}
.flumenPortalAlerts .alert-subscription-center .flumen-alert-tabs,
.flumenPortalAlerts .alert-subscription-center .flumen-alert-filter,
.flumenPortalAlerts .alert-subscription-center footer,
.flumenPortalAlerts .alert-center-rule-actions {
    flex-wrap: wrap;
}
.flumenPortalAlerts .alert-subscription-center .flumen-alert-tabs button {
    white-space: normal;
}
