.dashboard-saas .graph-card {
  background-color: #FFF;
  height: 250px;
  width: 350px;
  margin-right: 10px !important;
  margin-bottom: 10px !important;
}
.dashboard-saas .graph-card .graph-card-body .graph-card-title {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 160%;
  padding-bottom: 0rem;
}
.dashboard-saas .graph-card .graph-card-body .graph-card-subtitle {
  padding-top: 0rem;
}
.dashboard-saas .graph-card .graph-card-body .graph-card-subtitle span {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  line-height: 160%;
  color: #434a63;
}
.dashboard-saas .graph-card .graph-card-body .graph-card-subtitle canvas {
  padding-top: 1rem;
}
.dashboard-saas .button {
  width: 7rem;
}


.card-reappearing .chart-medium, .card-unfocusing .chart-medium, .card-hidden .chart-medium {
  max-height: 25vh;
}

.card-reappearing .chart-small, .card-unfocusing .chart-small, .card-hidden .chart-small {
    max-height: 10vh;
}

.card-focused .chart-small {
    height: 90vh !important;
    max-height: 70vh !important;
    min-height: 70vh !important;
}

.page:has(.card-focused .chart-small), .page:has(.card-reappearing .chart-small), .page:has(.card-unfocusing .chart-small) {
    overflow: hidden;
}

.card-focused .chart-medium {
  height: 90vh !important;
  max-height: 70vh !important;
  min-height: 70vh !important;
}

.page:has(.card-focused .chart-medium), .page:has(.card-reappearing .chart-medium), .page:has(.card-unfocusing .chart-medium) {
  overflow: hidden;
}

/* ───────────────────────── Visão Geral (redesign) ───────────────────────── */

.csp-resume-filter-panel { min-width: 0; }
.csp-resume-filter-help { margin: 0 0 1rem; color: #6f768b; font-family: 'Inter', sans-serif; font-size: .76rem; line-height: 1.45; }

/* KPI tile */
.csp-kpi-tile { display: flex; align-items: center; gap: .6rem; height: 100%; padding: .2rem .1rem; min-width: 0; }
.csp-kpi-tile.clickable { cursor: pointer; }
.csp-kpi-icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.csp-kpi-body { display: flex; flex-direction: column; min-width: 0; }
.csp-kpi-label { font-family: 'Inter', sans-serif; font-size: .72rem; color: #8b90a3; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csp-kpi-value { font-family: 'Inter', sans-serif; font-size: 1.5rem; font-weight: 600; color: #2B304F; line-height: 1.25; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.csp-kpi-unity { font-size: .9rem; font-weight: 500; margin-left: 2px; color: #2B304F; }
.csp-kpi-subtitle { font-family: 'Inter', sans-serif; font-size: .68rem; color: #9a9fb0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csp-kpi-source { font-family: 'Inter', sans-serif; font-size: .62rem; color: var(--text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csp-kpi-unavailable { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; color: var(--status-yellow); line-height: 1.25; }
.csp-kpi-unavailable-reason { font-family: 'Inter', sans-serif; font-size: .64rem; color: var(--text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Cached data remains visible while the latest source responses are fetched. */
.csp-refresh-status { display: inline-flex; align-items: center; gap: .35rem; color: #6f768b; font-family: 'Inter', sans-serif; font-size: .72rem; white-space: nowrap; }
.csp-refresh-status::before { content: ''; width: .58rem; height: .58rem; border: 2px solid #d6d9e2; border-top-color: #5C2D91; border-radius: 50%; animation: csp-refresh-spin .7s linear infinite; }
@keyframes csp-refresh-spin { to { transform: rotate(360deg); } }

/* Workload usage bars */
.csp-workload-list { display: flex; flex-direction: column; gap: .55rem; height: 100%; overflow: auto; padding: .2rem 0; }
.csp-workload-row { display: flex; flex-direction: column; gap: .25rem; }
.csp-workload-head { display: flex; align-items: center; gap: .4rem; font-family: 'Inter', sans-serif; font-size: .78rem; color: #2B304F; }
.csp-workload-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.csp-workload-label { flex: 1 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csp-workload-pct { flex: 0 0 auto; font-weight: 600; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.csp-workload-track { width: 100%; height: 7px; background: #EEF1F6; border-radius: 4px; overflow: hidden; }
.csp-workload-fill { height: 100%; border-radius: 4px; transition: width .3s ease; }

/* Top users by consumption */
.csp-topusers { display: flex; flex-direction: column; height: 100%; }
.csp-topusers-tabs.lct-container--bar-only { height: auto; flex: 0 0 auto; margin-bottom: .45rem; overflow: visible; }
.csp-topusers-tabs .lct-bar { padding: 0 .1rem 0 0; background: transparent; border-bottom-color: #EEF1F6; }
.csp-topusers-tabs .lct-tab { padding: .28rem .45rem; font-size: .72rem; }
.csp-topusers-tabs .lct-tab-icon { font-size: 13px; }
.csp-topusers-tabs .lct-tab-badge { min-width: auto; height: 15px; padding: 0 4px; font-size: .58rem; }
.csp-topusers-body { flex: 1 1 auto; min-height: 0; overflow: auto; }
.csp-topusers-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.csp-topusers-item { display: flex; align-items: center; gap: .5rem; }
.csp-topusers-rank { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; background: #F1F5FB; color: #8b90a3; font-size: .68rem; display: flex; align-items: center; justify-content: center; font-family: 'Inter', sans-serif; }
.csp-topusers-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.csp-topusers-name { font-family: 'Inter', sans-serif; font-size: .76rem; color: #2B304F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csp-topusers-track { width: 100%; height: 5px; background: #EEF1F6; border-radius: 3px; overflow: hidden; }
.csp-topusers-fill { height: 100%; border-radius: 3px; }
.csp-topusers-value { flex: 0 0 auto; font-family: 'Inter', sans-serif; font-size: .76rem; font-weight: 600; color: #2B304F; text-align: right; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; min-width: 54px; }
.csp-topusers-unity { font-weight: 400; color: #9a9fb0; font-size: .66rem; }

/* Secure Score gauge wrapper */
.csp-gauge-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; position: relative; overflow: hidden; }
.csp-gauge-wrap .gauge-chart { box-shadow: none; min-height: 0; padding: .2rem .4rem 1.7rem; }
.csp-gauge-wrap .gauge-chart > .header { display: none; }
.csp-gauge-wrap .gauge-chart > .chart { transform: translateY(-8%); }
.csp-gauge-meta { position: absolute; left: 0; right: 0; bottom: .45rem; text-align: center; font-family: 'Inter', sans-serif; font-size: .72rem; color: #8b90a3; }

/* Lists (alerts / automation / users) */
.csp-alert-list, .csp-automation-list, .csp-userlist-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; height: 100%; overflow: auto; }
.csp-alert-item, .csp-automation-item, .csp-userlist-item { display: flex; align-items: center; gap: .5rem; }
.csp-alert-label, .csp-automation-label { flex: 1 1 auto; font-family: 'Inter', sans-serif; font-size: .76rem; color: #2B304F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csp-alert-qty { flex: 0 0 auto; font-family: 'Inter', sans-serif; font-size: .8rem; font-weight: 600; color: #2B304F; text-align: right; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; min-width: 32px; }

.csp-resume-dashboard--classic .csp-alert-item {
  min-width: 0;
  align-items: stretch;
}

.csp-resume-dashboard--classic .csp-alert-item .lc-recommendation-card {
  width: 100%;
  box-sizing: border-box;
  padding: 8px;
  gap: 6px;
  overflow-wrap: anywhere;
}

.csp-resume-dashboard--classic .lc-recommendation-card__classification {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
}

.csp-resume-dashboard--classic .lc-recommendation-card__header {
  flex-wrap: wrap;
  align-items: flex-start;
}

.csp-resume-dashboard--classic .lc-recommendation-card__title {
  font-size: 12px;
}

.csp-resume-dashboard--classic .lc-recommendation-card__section--evidence li {
  grid-template-columns: minmax(0, 1fr);
}

.csp-resume-dashboard--classic .lc-recommendation-card__section--evidence li small {
  grid-column: 1;
}

.csp-source-retry {
  border: 1px solid var(--line-default);
  border-radius: 4px;
  padding: 4px 8px;
  color: var(--text-default);
  background: var(--background-white);
  cursor: pointer;
  font-size: 11px;
}

.csp-fraud-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  gap: 4px;
}

.csp-fraud-card__source {
  font-size: 11px;
  color: var(--text-light);
}

.csp-fraud-card__metric {
  flex: 1 1;
  min-height: 0;
}

.csp-fraud-card .description {
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Status pills */
.csp-pill { flex: 0 0 auto; font-family: 'Inter', sans-serif; font-size: .64rem; font-weight: 600; padding: .1rem .45rem; border-radius: 10px; white-space: nowrap; }
.csp-pill.success { background: #E6F4EA; color: #1E7E45; }
.csp-pill.warning { background: #FDF3DA; color: #B7791F; }
.csp-pill.danger { background: #FBE6E6; color: #C0392B; }
.csp-pill.info { background: #E8F0FB; color: #2B6CB0; }
.csp-pill.muted { background: #EEF1F6; color: #8b90a3; }

/* Users without license */
.csp-userlist-avatar { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: #5C2D91; color: #fff; font-size: .62rem; font-family: 'Inter', sans-serif; display: flex; align-items: center; justify-content: center; }
.csp-userlist-info { display: flex; flex-direction: column; min-width: 0; }
.csp-userlist-name { font-family: 'Inter', sans-serif; font-size: .76rem; color: #2B304F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csp-userlist-upn { font-family: 'Inter', sans-serif; font-size: .66rem; color: #9a9fb0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 1200px) {
  .csp-resume-dashboard .lcdashboard-cards-panel {
    display: block;
    min-height: 0 !important;
  }

  .csp-resume-dashboard .lcdashboard-cards-panel-body {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    grid-auto-rows: auto;
    min-height: 0 !important;
  }

  .csp-resume-dashboard .card-frame {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: 320px;
  }

  .csp-resume-dashboard .card-frame.card-focused {
    grid-column: 1 / -1 !important;
  }

  .csp-resume-dashboard :is(#Card_101, #Card_102, #Card_103, #Card_104, #Card_105, #Card_106, #Card_107, #Card_108, #Card_109, #Card_110) {
    min-height: 180px;
  }

  .csp-resume-dashboard :is(#Card_307, #Card_308, #Card_309) {
    grid-column: 1 / -1 !important;
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .csp-resume-dashboard .lcdashboard-cards-panel-body {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .csp-resume-dashboard .card-frame,
  .csp-resume-dashboard :is(#Card_307, #Card_308, #Card_309) {
    grid-column: 1 !important;
  }

  .csp-resume-dashboard .card-frame .card-frame-header-content .title,
  .csp-resume-dashboard .lc-title {
    font-size: 15px;
  }
}

/* Cockpit de valor: cards flow by content group instead of 23 elastic rows. */
.csp-resume-dashboard--flow .lcdashboard-cards-panel {
  display: block;
  min-height: 0 !important;
  max-height: none;
}

.csp-resume-dashboard--flow .lcdashboard-cards-panel > div:not(.lcdashboard-cards-panel-header):not(.lcdashboard-cards-panel-footer) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.csp-resume-dashboard--flow .lcdashboard-cards-panel-body {
  display: grid;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0 !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  grid-template-rows: none !important;
  grid-auto-rows: minmax(150px, auto);
  align-items: stretch;
}

.csp-resume-dashboard--flow .card-frame {
  grid-column: auto !important;
  grid-column-start: auto !important;
  grid-column-end: auto !important;
  grid-row: auto !important;
  grid-row-start: auto !important;
  grid-row-end: auto !important;
  min-width: 0;
  min-height: 0;
}

.csp-resume-dashboard--flow .card-frame.card-focused {
  grid-column: 1 / -1 !important;
  grid-row: 1 / -1 !important;
  z-index: 10;
}

.csp-resume-dashboard--flow :is(#Card_107, #Card_108, #Card_104, #Card_106, #Card_109, #Card_110) {
  grid-column: span 2 !important;
  height: 170px;
  min-height: 150px;
}

.csp-resume-dashboard--flow :is(#Card_107, #Card_108, #Card_104, #Card_106, #Card_109, #Card_110) .card-content-body {
  height: calc(100% - 20px);
  min-height: 0;
  max-height: none;
}

.csp-resume-dashboard--flow :is(#Card_107, #Card_108, #Card_104, #Card_106, #Card_109, #Card_110) .csp-kpi-tile,
.csp-resume-dashboard--flow :is(#Card_107, #Card_108, #Card_104, #Card_106, #Card_109, #Card_110) .csp-kpi-body {
  min-height: 0;
}

.csp-resume-dashboard--flow :is(#Card_101, #Card_102, #Card_103, #Card_105) {
  grid-column: span 3 !important;
  min-height: 170px;
}

.csp-resume-dashboard--flow :is(#Card_201, #Card_202, #Card_203, #Card_204) {
  grid-column: span 3 !important;
  min-height: 280px;
}

.csp-resume-dashboard--flow :is(#Card_301, #Card_302, #Card_303, #Card_304, #Card_305, #Card_306) {
  grid-column: span 4 !important;
  min-height: 240px;
}

.csp-resume-dashboard--flow :is(#Card_307, #Card_308) {
  grid-column: span 6 !important;
  min-height: 320px;
}

.csp-resume-dashboard--flow #Card_309 {
  grid-column: 1 / -1 !important;
  min-height: 320px;
}

.csp-resume-dashboard--flow .card-frame.csp-resume-dashboard-context-card {
  min-width: 0;
  min-height: 0;
  padding: 0.6rem;
}

.csp-resume-dashboard--flow .card-frame.csp-resume-dashboard-context-card > .card-content-body {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
}

.csp-resume-dashboard-group {
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  grid-gap: 0.7rem 1rem;
  gap: 0.7rem 1rem;
  align-content: stretch;
}

.csp-resume-dashboard-group.is-focused {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: none;
  grid-auto-rows: minmax(260px, auto);
  height: auto;
  min-height: 100%;
}

.csp-resume-dashboard-group--summary {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
}

.csp-resume-dashboard-group.has-preview {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}

.csp-resume-dashboard-group--licenses {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
}

.csp-resume-dashboard-group--licenses .csp-resume-dashboard-group__item--101,
.csp-resume-dashboard-group--licenses .csp-resume-dashboard-group__item--102,
.csp-resume-dashboard-group--licenses .csp-resume-dashboard-group__item--103 {
  grid-column: span 1;
}

.csp-resume-dashboard-group--licenses .csp-resume-dashboard-group__item--201 {
  grid-column: 1 / -1;
  min-height: 220px;
}

.csp-resume-dashboard-group--usage {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
}

.csp-resume-dashboard-group--posture {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
}

.csp-resume-dashboard-group--risks {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
}

.csp-resume-dashboard-group--governance,
.csp-resume-dashboard-group--outcomes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
}

.csp-resume-dashboard-group__item {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  gap: 0.45rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line-light);
}

.csp-resume-dashboard-group__item-header {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.csp-resume-dashboard-group__item-title {
  min-width: 0;
  color: var(--text-default);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
}

.csp-resume-dashboard-group__item-title .lc-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: inherit;
}

.csp-resume-dashboard-group__item-actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.35rem;
}

.csp-resume-dashboard-group__item-actions .icon {
  display: inline-flex;
  min-width: 24px;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  color: var(--icon-default);
  cursor: pointer;
}

.csp-resume-dashboard-group__item-content {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
}

.csp-resume-dashboard-group__item-content > * {
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
}

.csp-resume-dashboard-preview {
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  align-items: center;
  grid-gap: 0.5rem 0.8rem;
  gap: 0.5rem 0.8rem;
}

.csp-resume-dashboard-preview__metric {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.15rem;
}

.csp-resume-dashboard-preview__label {
  overflow: hidden;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.csp-resume-dashboard-preview__value {
  overflow: hidden;
  color: var(--text-default);
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.csp-resume-dashboard-preview__detail {
  overflow: hidden;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.csp-resume-dashboard--flow #Card_401:not(.card-focused) {
  grid-column: 1 / -1 !important;
  min-height: 150px;
}

.csp-resume-dashboard--flow :is(#Card_402, #Card_403, #Card_404, #Card_405):not(.card-focused) {
  grid-column: span 6 !important;
  min-height: 165px;
}

.csp-resume-dashboard--flow :is(#Card_402, #Card_403):not(.card-focused) {
  min-height: 175px;
}

.csp-resume-dashboard--flow #Card_405:not(.card-focused) {
  grid-column: 1 / -1 !important;
  min-height: 160px;
}

.csp-resume-dashboard--flow :is(#Card_406, #Card_407):not(.card-focused) {
  grid-column: span 6 !important;
  min-height: 165px;
}

.csp-resume-dashboard-group--outcomes .csp-resume-dashboard-group__item--309:only-child {
  grid-column: 1 / -1;
}

.csp-risk-alerts-table {
  min-width: 0;
  max-width: 100%;
}

.csp-risk-alerts-table__action {
  min-height: 28px;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--line-default);
  border-radius: 0.25rem;
  background: var(--background-white);
  color: var(--color-primary-purple);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  cursor: pointer;
}

.csp-risk-alerts-table__action:hover {
  border-color: var(--color-primary-purple);
  background: var(--background-lightest);
}

.csp-risk-alerts-table__action:focus-visible {
  outline: 2px solid var(--color-primary-purple);
  outline-offset: 2px;
}

@media (max-width: 1200px) {
  .csp-resume-dashboard--flow .lcdashboard-cards-panel-body {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(4, minmax(150px, auto)) !important;
  }

  .csp-resume-dashboard-group--summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .csp-resume-dashboard--flow .lcdashboard-cards-panel-body {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-rows: max-content !important;
  }

  .csp-resume-dashboard--flow :is(#Card_401, #Card_402, #Card_403, #Card_404, #Card_405, #Card_406, #Card_407):not(.card-focused) {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    height: auto !important;
  }

  .csp-resume-dashboard-group--summary,
  .csp-resume-dashboard-group--licenses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .csp-resume-dashboard-group--summary {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
  }

  .csp-resume-dashboard-group--summary .csp-resume-dashboard-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .csp-resume-dashboard-group--licenses .csp-resume-dashboard-group__item--101,
  .csp-resume-dashboard-group--licenses .csp-resume-dashboard-group__item--102,
  .csp-resume-dashboard-group--licenses .csp-resume-dashboard-group__item--103 {
    grid-column: span 1;
  }

  .csp-resume-dashboard-group--usage,
  .csp-resume-dashboard-group--posture,
  .csp-resume-dashboard-group--risks,
  .csp-resume-dashboard-group--governance,
  .csp-resume-dashboard-group--outcomes {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-rows: minmax(120px, auto);
  }
}


@media (max-width: 1100px) {
  .csp-resume-dashboard--flow.lcdashboard .lcdashboard-cards .lcdashboard-cards-panel .lcdashboard-cards-panel-body .card-frame .card-frame-header-content .title,
  .csp-resume-dashboard--flow.lcdashboard .lcdashboard-cards .lcdashboard-cards-panel .lcdashboard-cards-panel-body .card-frame .csp-resume-dashboard-group__item-title .lc-title {
    font-size: 14px !important;
    line-height: 1.25;
  }

  .csp-resume-dashboard--flow .card-frame.csp-resume-dashboard-context-card {
    padding: 0.5rem;
  }

  .csp-resume-dashboard--flow .card-frame.csp-resume-dashboard-context-card .card-title {
    height: auto;
    min-height: 1.25rem;
  }
}
.csp-compliance-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    min-height: 0;
    padding: 12px;
    color: var(--text-default);
    font-family: 'Inter', sans-serif;
}

.csp-compliance-block__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.csp-compliance-block__header strong {
    font-size: 14px;
}

.csp-compliance-block__header p {
    margin: 4px 0 0;
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.4;
}

.csp-compliance-block__summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.csp-compliance-block__summary-item,
.csp-compliance-block__status {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 3px 7px;
    border: 1px solid var(--line-default);
    border-radius: 999px;
    font-size: 11px;
    line-height: 1.2;
}

.csp-compliance-block__summary-item[data-state='Conforme'],
.csp-compliance-block__status[data-state='Conforme'] {
    border-color: var(--status-green);
    color: var(--status-green);
}

.csp-compliance-block__summary-item[data-state='Drift'],
.csp-compliance-block__status[data-state='Drift'],
.csp-compliance-block__summary-item[data-state='Failed'],
.csp-compliance-block__status[data-state='Failed'] {
    border-color: var(--status-red);
    color: var(--status-red);
}

.csp-compliance-block__summary-item[data-state='AcceptedException'],
.csp-compliance-block__status[data-state='AcceptedException'] {
    border-color: var(--color-primary-purple);
    color: var(--color-primary-purple);
}

.csp-compliance-block__summary-item[data-state='Blocked'],
.csp-compliance-block__status[data-state='Blocked'] {
    border-color: var(--status-yellow);
    color: var(--text-default);
}

.csp-compliance-block__summary-item[data-state='Processing'],
.csp-compliance-block__status[data-state='Processing'] {
    border-color: var(--color-primary-blue);
    color: var(--color-primary-blue);
}

.csp-compliance-block__source,
.csp-compliance-block__no-exception {
    margin: 0;
    color: var(--text-light);
    font-size: 11px;
}

.csp-compliance-block__table-wrap {
    min-height: 0;
    overflow: auto;
    border: 1px solid var(--line-default);
    border-radius: 6px;
}

.csp-compliance-block__table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-size: 12px;
}

.csp-compliance-block__table th,
.csp-compliance-block__table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--line-default);
    text-align: left;
    vertical-align: top;
}

.csp-compliance-block__table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--background-lightest);
    color: var(--text-default);
    font-weight: 600;
}

.csp-compliance-block__table tbody tr:last-child td {
    border-bottom: 0;
}

.csp-compliance-block__table td strong,
.csp-compliance-block__table td small {
    display: block;
}

.csp-compliance-block__table td small {
    margin-top: 3px;
    color: var(--text-light);
    font-size: 11px;
    line-height: 1.3;
}

.csp-compliance-block__exception {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

@media (max-width: 900px) {
    .csp-compliance-block__header {
        flex-direction: column;
    }

    .csp-compliance-block__summary {
        justify-content: flex-start;
    }
}

.value-cockpit-host .lcdashboard-cards-panel-body { display: grid !important; grid-template-rows: repeat(4, auto) !important; align-content: start; align-self: start; min-height: 0 !important; grid-gap: 12px; gap: 12px; }
.value-cockpit-host .lcdashboard-cards { container-type: inline-size; }
.value-cockpit-host .card-content-body,
.value-cockpit-host .card-content-body-content { display: block !important; padding: 0 !important; height: auto !important; min-height: 0 !important; max-height: none !important; overflow: visible !important; width: 100%; }
.value-cockpit-host .card-frame-header-content { height: auto; min-height: 0; }
.value-cockpit-host .card-frame-header-content .card-title { width: 100%; height: auto !important; align-items: flex-start; overflow: visible; }
.value-cockpit-host .card-frame .card-title .lc-title { font-size: clamp(11px, 1.5vh, 14px) !important; font-weight: 400; line-height: 1.4; }
.value-cockpit {
	--vc-accent: #7651cc;
	--vc-text: #2c3344;
	--vc-muted: #7b8190;
	--vc-border: #e8ebf0;
	--vc-green: #20a275;
	--vc-amber: #ce9233;
	--vc-red: #d96a75;
	--vc-blue: #5986c6;
	--tone: var(--vc-accent);
	--tint: #f2eef9;
	min-width: 0;
	padding: 0;
	background: transparent;
	color: var(--vc-text);
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	line-height: 1.5;
	letter-spacing: 0;
	container-type: inline-size;
}
.value-cockpit *, .value-cockpit *::before, .value-cockpit *::after { box-sizing: border-box; }
.value-cockpit button, .value-cockpit input, .value-cockpit select { font: inherit; font-size: 12px !important; letter-spacing: 0; }
.value-cockpit button { cursor: pointer; }
.value-cockpit button:focus-visible, .value-cockpit input:focus-visible, .value-cockpit select:focus-visible { outline: 2px solid var(--vc-accent); outline-offset: 3px; }
.value-cockpit h1, .value-cockpit h2, .value-cockpit p { margin: 0; }
.value-cockpit svg { flex-shrink: 0; }
.value-cockpit .tone-green { --tone: var(--vc-green); --tint: #ebf7f2; }
.value-cockpit .tone-amber { --tone: var(--vc-amber); --tint: #fff6e6; }
.value-cockpit .tone-red { --tone: var(--vc-red); --tint: #fcedef; }
.value-cockpit .tone-blue { --tone: var(--vc-blue); --tint: #edf3fc; }
.value-cockpit-host .value-cockpit__metric { min-height: 105px; }
.value-cockpit__metric-content { display: grid; grid-template-columns: 27px minmax(0, 1fr) 15px; align-content: start; grid-gap: 9px; gap: 9px; }
.value-cockpit__metric::after { content: ''; position: absolute; height: 3px; bottom: 0; left: 0; right: 0; background: var(--tone); opacity: .6; }
.value-cockpit__metric-icon { display: grid; place-items: center; height: 27px; width: 27px; border-radius: 6px; background: var(--tint); color: var(--tone); font-size: 20px; }
.value-cockpit .value-cockpit__metric h2 { font-size: 11px !important; line-height: 1.45; font-weight: 400; min-height: 32px; }
.value-cockpit__metric strong { display: block; color: var(--tone); font-size: 21px; line-height: 1.35; font-weight: 500; overflow-wrap: anywhere; margin: 4px 0 1px; }
.value-cockpit__metric strong.is-unavailable { font-size: 13px; line-height: 1.9; overflow-wrap: normal; }
.value-cockpit__metric small { display: block; color: var(--vc-muted); font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.value-cockpit__metric-content > button { align-self: start; border: 0; background: transparent; color: #abb0ba; padding: 3px 0; font-size: 14px; }
.value-cockpit__panel-title-action { display: flex; flex: 0 0 auto; align-items: center; margin-left: 8px; }
.value-cockpit__panel-intro { display: flex; align-items: center; gap: 7px; padding: 0 0 8px; min-width: 0; width: 100%; }
.value-cockpit__panel-intro p { color: var(--vc-muted); font-size: 10px; line-height: 1.45; margin: 0; min-width: 0; flex: 1 1; }
.value-cockpit__panel-icon { color: var(--vc-accent); font-size: 18px; line-height: 1; padding-top: 1px; }
.value-cockpit__link { display: inline-flex; align-items: center; gap: 4px; background: none; color: var(--vc-accent); padding: 1px 0; border: 0; font-size: 9px !important; max-width: 150px; line-height: 1.4; text-align: right; white-space: nowrap; }
.value-cockpit__link svg { width: 12px; height: 12px; }
.value-cockpit-host .value-cockpit__recommendations,
.value-cockpit-host .value-cockpit__actions { height: clamp(240px, 32vh, 360px); min-height: 0; overflow: hidden; }
.value-cockpit-host .value-cockpit__recommendations .card-content-body,
.value-cockpit-host .value-cockpit__recommendations .card-content-body-content,
.value-cockpit-host .value-cockpit__actions .card-content-body,
.value-cockpit-host .value-cockpit__actions .card-content-body-content { display: flex !important; flex-direction: column; flex: 1 1; overflow: hidden !important; }
.value-cockpit__grid { display: flex; flex: 1 1; width: 100%; min-width: 0; min-height: 0; overflow: hidden; }
.value-cockpit__grid .revo-grid-table,
.value-cockpit__grid .revo-grid-table > div { display: flex; flex-direction: column; flex: 1 1; height: 100%; min-height: 0; min-width: 0; }
.value-cockpit__grid .revo-grid-table__grid { flex: 1 1; min-height: 0; }
.value-cockpit__grid .revo-grid-table__cell--right { text-align: right; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.value-cockpit__panel-intro, .value-cockpit__partial { flex-shrink: 0; }
.value-cockpit__recommendation-title { display: flex; align-items: center; gap: 6px; }
.value-cockpit__small-icon { display: grid; place-items: center; flex-shrink: 0; width: 25px; height: 25px; border-radius: 6px; color: var(--tone); background: var(--tint); font-size: 17px; }
.value-cockpit__badge { display: inline-block; padding: 2px 5px; border-radius: 4px; background: var(--tint); color: var(--tone); font-size: 9px; line-height: 1.35; max-width: 100%; overflow-wrap: anywhere; text-align: center; }
.value-cockpit__row-action { background: #f4f0fc; color: var(--vc-accent); border: 1px solid #eee7f8; border-radius: 4px; padding: 3px 7px; font-size: 10px !important; width: 100%; overflow-wrap: anywhere; }
.value-cockpit__impact-body { display: flex; align-items: center; gap: 10px; padding: 2px 0 4px; min-height: 172px; }
.value-cockpit__donut { width: 45%; aspect-ratio: 1; min-width: 100px; max-width: 160px; position: relative; flex-shrink: 0; }
.value-cockpit__donut-total { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; pointer-events: none; }
.value-cockpit__donut-total strong { font-size: 21px; color: var(--vc-accent); line-height: 1.2; font-weight: 500; }
.value-cockpit__donut-total small { font-size: 9px; color: var(--vc-muted); }
.value-cockpit__impact-body ul { list-style: none; padding: 0; margin: 0; min-width: 0; flex: 1 1; }
.value-cockpit__impact-body li + li { margin-top: 9px; }
.value-cockpit__impact-body li button { display: grid; grid-template-columns: 6px minmax(0, 1fr) auto; align-items: center; grid-gap: 5px; gap: 5px; width: 100%; background: transparent; border: 0; padding: 0; text-align: left; font-size: 10px !important; color: var(--vc-text); }
.value-cockpit__impact-body li i { width: 6px; height: 6px; border-radius: 2px; }
.value-cockpit__impact-body li strong { font-size: 10px; font-weight: 500; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.value-cockpit__impact-body li small { grid-column: 2 / 4; font-size: 9px; color: var(--vc-muted); margin-top: -4px; }
.value-cockpit__bars { display: flex; align-items: stretch; justify-content: space-evenly; gap: 10px; padding: 3px 18px 17px; min-height: 182px; background: repeating-linear-gradient(to top, transparent 0, transparent 36px, #f3f4f7 37px, transparent 38px); background-size: calc(100% - 36px) 136px; background-position: center 23px; background-repeat: no-repeat; }
.value-cockpit__bars button { display: flex; flex-direction: column; align-items: center; min-width: 0; flex: 1 1; background: none; border: 0; padding: 0; color: var(--vc-text); }
.value-cockpit__bars strong { font-size: 11px; font-weight: 500; }
.value-cockpit__bar-track { display: flex; align-items: flex-end; height: 116px; width: 33px; margin-top: 6px; }
.value-cockpit__bar-track i { width: 100%; min-height: 0; display: block; border-radius: 4px 4px 0 0; }
.value-cockpit__bar-label { font-size: 10px; margin-top: 8px; text-align: center; overflow-wrap: anywhere; }
.value-cockpit__bars small { font-size: 9px; color: var(--vc-muted); text-align: center; }
.value-cockpit__controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(48px, 1fr)); grid-gap: 8px; gap: 8px; padding: 16px 15px 20px; }
.value-cockpit__controls button { display: flex; flex-direction: column; align-items: center; gap: 10px; background: none; border: 0; padding: 0; color: var(--vc-text); min-width: 0; font-size: 10px !important; }
.value-cockpit__controls button > span:first-child { height: 29px; display: flex; align-items: center; justify-content: center; text-align: center; overflow-wrap: anywhere; font-weight: 500; }
.value-cockpit__ring { width: 54px; height: 54px; flex-shrink: 0; position: relative; border-radius: 50%; background: conic-gradient(var(--tone) var(--ring-score), #edf0f4 0); display: grid; place-items: center; }
.value-cockpit__ring::before { content: ''; position: absolute; inset: 4px; background: #fff; border-radius: 50%; }
.value-cockpit__ring strong { position: relative; font-size: 12px; font-weight: 500; }
.value-cockpit__control-empty { color: var(--vc-muted); font-size: 9px; margin-top: -5px; }
.value-cockpit__empty { padding: 15px; color: var(--vc-muted); font-size: 11px; text-align: center; }
.value-cockpit__partial { padding: 0 15px 8px; color: var(--vc-amber); font-size: 10px; }
.value-cockpit__journey { padding: 0; }
.value-cockpit__journey-title { display: flex; align-items: center; gap: 8px; }
.value-cockpit__journey-title > svg { font-size: 20px; color: var(--vc-accent); }
.value-cockpit .value-cockpit__journey h2 { font-size: 13px !important; font-weight: 500; }
.value-cockpit__journey p { font-size: 10px; color: var(--vc-muted); }
.value-cockpit__journey ol { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-gap: 20px; gap: 20px; }
.value-cockpit__journey li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.value-cockpit__journey li > svg { margin-left: auto; color: #c5bddb; font-size: 16px; }
.value-cockpit__journey li > button { display: flex; align-items: center; gap: 8px; min-width: 0; background: transparent; border: 0; padding: 0; color: var(--vc-text); text-align: left; }
.value-cockpit__journey-icon { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border: 1px solid #e7e0f4; border-radius: 6px; color: var(--vc-accent); background: #f2edf9; font-size: 20px; }
.value-cockpit__journey-number { color: var(--vc-accent); font-size: 16px; font-weight: 500; }
.value-cockpit__journey strong { display: block; font-size: 12px; font-weight: 500; }
.value-cockpit__journey small { display: block; font-size: 10px; color: var(--vc-muted); line-height: 1.4; }
.value-cockpit-ai-unavailable { padding: 20px; font-size: 13px; color: var(--text-default); }
@container (max-width: 1150px) {
	.value-cockpit-host .lcdashboard-cards-panel-body { grid-template-rows: repeat(6, auto) !important; }
	.value-cockpit__metric--1 { grid-area: 1 / 1 / 2 / 5 !important; }
	.value-cockpit__metric--2 { grid-area: 1 / 5 / 2 / 9 !important; }
	.value-cockpit__metric--3 { grid-area: 1 / 9 / 2 / 13 !important; }
	.value-cockpit__metric--4 { grid-area: 2 / 1 / 3 / 5 !important; }
	.value-cockpit__metric--5 { grid-area: 2 / 5 / 3 / 9 !important; }
	.value-cockpit__metric--6 { grid-area: 2 / 9 / 3 / 13 !important; }
	.value-cockpit__recommendations { grid-area: 3 / 1 / 4 / 9 !important; }
	.value-cockpit__impact { grid-area: 3 / 9 / 4 / 13 !important; }
	.value-cockpit__adoption { grid-area: 4 / 1 / 5 / 7 !important; }
	.value-cockpit__compliance { grid-area: 4 / 7 / 5 / 13 !important; }
	.value-cockpit__actions { grid-area: 5 / 1 / 6 / 13 !important; }
	.value-cockpit__journey-card { grid-area: 6 / 1 / 7 / 13 !important; }
	.value-cockpit__journey ol { gap: 12px; }
	.value-cockpit__journey-icon { display: none; }
}
@container (max-width: 650px) {
	.value-cockpit-host .lcdashboard-cards-panel-body { grid-template-rows: repeat(9, auto) !important; gap: 10px; }
	.value-cockpit__metric--1 { grid-area: 1 / 1 / 2 / 7 !important; }
	.value-cockpit__metric--2 { grid-area: 1 / 7 / 2 / 13 !important; }
	.value-cockpit__metric--3 { grid-area: 2 / 1 / 3 / 7 !important; }
	.value-cockpit__metric--4 { grid-area: 2 / 7 / 3 / 13 !important; }
	.value-cockpit__metric--5 { grid-area: 3 / 1 / 4 / 7 !important; }
	.value-cockpit__metric--6 { grid-area: 3 / 7 / 4 / 13 !important; }
	.value-cockpit__recommendations { grid-area: 4 / 1 / 5 / 13 !important; }
	.value-cockpit__impact { grid-area: 5 / 1 / 6 / 13 !important; }
	.value-cockpit__adoption { grid-area: 6 / 1 / 7 / 13 !important; }
	.value-cockpit__compliance { grid-area: 7 / 1 / 8 / 13 !important; }
	.value-cockpit__actions { grid-area: 8 / 1 / 9 / 13 !important; }
	.value-cockpit__journey-card { grid-area: 9 / 1 / 10 / 13 !important; }
	.value-cockpit__metric-content { grid-template-columns: 23px minmax(0, 1fr); gap: 7px; }
	.value-cockpit-host .value-cockpit__metric { min-height: 128px; }
	.value-cockpit__metric-icon { width: 23px; height: 23px; font-size: 17px; }
	.value-cockpit__metric strong { font-size: 18px; }
	.value-cockpit__metric-content > button { position: absolute; right: 6px; top: 4px; }
	.value-cockpit__journey ol { grid-template-columns: 1fr; gap: 15px; }
	.value-cockpit__journey-icon { display: grid; }
	.value-cockpit__journey li > svg { display: none; }
	.value-cockpit__impact-body { justify-content: center; }
	.value-cockpit__donut { max-width: 160px; }
}
@container (max-width: 350px) {
	.value-cockpit-host .card-frame .card-title .lc-segment-title-row-resume { flex-direction: column; align-items: flex-start; gap: 4px; }
	.value-cockpit-host .card-frame .card-title .value-cockpit__panel-title-action { align-self: flex-end; margin-left: 0; }
}
@media (min-width: 1200px) and (min-height: 675px) and (min-aspect-ratio: 16/10) {
	.value-cockpit-host .lcdashboard-cards-panel-body { gap: 8px; }
	.value-cockpit-host .card-frame { padding: 8px 10px; }
	.value-cockpit-host .value-cockpit__metric { min-height: 94px; }
	.value-cockpit__metric-content { grid-template-columns: 23px minmax(0, 1fr); gap: 7px; }
	.value-cockpit__metric-icon { width: 23px; height: 23px; font-size: 17px; }
	.value-cockpit .value-cockpit__metric h2 { min-height: 28px; line-height: 1.3; padding-right: 9px; }
	.value-cockpit__metric strong { font-size: 19px; margin: 2px 0; }
	.value-cockpit__metric strong.is-unavailable { font-size: 12px; line-height: 1.6; }
	.value-cockpit__metric small { line-height: 1.3; }
	.value-cockpit__metric-content > button { position: absolute; right: 6px; top: 4px; }
	.value-cockpit__panel-intro { padding-bottom: 6px; gap: 6px; }
	.value-cockpit__panel-intro p { line-height: 1.3; }
	.value-cockpit__small-icon { width: 20px; height: 20px; font-size: 15px; }
	.value-cockpit__impact-body { min-height: 96px; padding: 0 0 4px; }
	.value-cockpit__donut { min-width: 90px; max-width: 90px; }
	.value-cockpit__impact-body ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 6px 10px; gap: 6px 10px; }
	.value-cockpit__impact-body li + li { margin-top: 0; }
	.value-cockpit__bars { min-height: 112px; padding: 0 12px 8px; gap: 6px; background-size: calc(100% - 24px) 76px; background-position: center 18px; }
	.value-cockpit__bar-track { height: 68px; width: 27px; margin-top: 3px; }
	.value-cockpit__bar-label { margin-top: 4px; }
	.value-cockpit__controls { gap: 6px; padding: 0 0 4px; }
	.value-cockpit__controls button { gap: 5px; }
	.value-cockpit__controls button > span:first-child { height: 26px; }
	.value-cockpit__ring { width: 42px; height: 42px; }
	.value-cockpit__ring strong { font-size: 11px; }
	.value-cockpit__empty { padding: 8px 0; font-size: 10px; }
	.value-cockpit__partial { padding: 0 0 5px; }
	.value-cockpit__journey ol { gap: 12px; margin-top: 8px; }
	.value-cockpit__journey li { gap: 7px; }
	.value-cockpit__journey-icon { display: grid; width: 27px; height: 27px; font-size: 17px; }
	.value-cockpit__journey li > button { gap: 6px; }
}
.csp-card-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 320px;
    line-height: 1.45;
}

.csp-card-info strong { color: #2B304F; }
.csp-card-info-status { font-size: 11px; font-weight: 600; }
.csp-card-info-status.granted { color: #1E7E45; }
.csp-card-info-status.missing,
.csp-card-info-status.partial { color: #B7791F; }
.csp-card-info-status.unknown { color: #6f768b; }

.csp-permission-empty {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    padding: 8px 10px;
    text-align: center;
    color: #6f768b;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.4;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: auto;
}

.csp-permission-empty strong { color: #2B304F; font-size: 13px; }
.csp-permission-empty-icon { color: #B7791F; font-size: 26px; }
.csp-permission-empty span,
.csp-permission-empty small {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.csp-permission-empty small { color: #9a9fb0; }

/* "Aceitar acessos SaaS": mesmo contorno verde-azulado dos botões do painel de aceite. */
.csp-permission-empty .csp-permission-empty-action {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-width: 100%;
    height: 28px;
    margin-top: 6px;
    padding: 0 12px;
    border: 1px solid #0c7c86;
    border-radius: 5px;
    background: #ffffff;
    color: #0c7c86;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.csp-permission-empty .csp-permission-empty-action svg {
    flex: 0 0 auto;
    font-size: 14px;
    transition: transform .15s ease;
}

.csp-permission-empty .csp-permission-empty-action:hover {
    background: #0c7c86;
    color: #ffffff;
}

.csp-permission-empty .csp-permission-empty-action:hover svg { transform: translateX(2px); }

.csp-permission-empty .csp-permission-empty-action:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(12, 124, 134, .25);
}

.csp-permission-empty .csp-permission-empty-action:active { background: #0a6870; border-color: #0a6870; color: #ffffff; }

.csp-permissions-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    height: 100%;
    overflow: auto;
    padding-right: 4px;
    color: #2B304F;
    font-family: 'Inter', sans-serif;
}

.csp-permissions-summary {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: #F1F5FB;
    border-radius: 6px;
}

.csp-permissions-summary > svg { flex: 0 0 auto; color: #2E8B57; font-size: 24px; }
.csp-permissions-summary strong,
.csp-permissions-summary span { display: block; }
.csp-permissions-summary span { margin-top: 3px; color: #6f768b; font-size: 12px; line-height: 1.4; }

.csp-permissions-error {
    padding: 10px 12px;
    border-left: 3px solid #B7791F;
    background: #FFF8F0;
    color: #7a5719;
    font-size: 12px;
    line-height: 1.45;
}

.csp-permissions-section { display: flex; flex-direction: column; gap: 8px; }
.csp-permissions-section h4 { margin: 0; color: #173192; font-size: 13px; text-transform: uppercase; }
.csp-permissions-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.csp-permissions-list li {
    padding: 5px 8px;
    border: 1px solid #DCE2EF;
    border-radius: 4px;
    background: #fff;
    font-size: 11px;
}
.csp-permissions-muted { margin: 0; color: #8b90a3; font-size: 12px; }

.csp-permissions-application {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 8px;
    border-bottom: 1px solid #EEF1F6;
}
.csp-permissions-application span,
.csp-permissions-application small { color: #8b90a3; font-size: 11px; }

.csp-permissions-cards { display: flex; flex-direction: column; gap: 6px; }
.csp-permission-card-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-gap: 3px 8px;
    gap: 3px 8px;
    padding: 8px 0;
    border-bottom: 1px solid #EEF1F6;
}
.csp-permission-card-row > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.csp-permission-card-row > div span,
.csp-permission-card-row small { color: #8b90a3; font-size: 11px; line-height: 1.35; }
.csp-permission-card-row small { grid-column: 1 / -1; color: #B7791F; }
.csp-permission-status {
    align-self: start;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}
.csp-permission-status.granted { background: #E6F4EA; color: #1E7E45; }
.csp-permission-status.missing,
.csp-permission-status.partial { background: #FDF3DA; color: #B7791F; }
.csp-permission-status.unknown { background: #EEF1F6; color: #6f768b; }
.csp-permission-status.not-required { background: #E8F0FB; color: #2B6CB0; }

@media (max-width: 700px) {
    .csp-permission-card-row { grid-template-columns: minmax(0, 1fr); }
    .csp-permission-status { justify-self: start; }
}

.csp-graph-credentials-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.csp-graph-credentials-revalidate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: #173192;
    cursor: pointer;
}
.csp-graph-credentials-revalidate:hover { background: #F1F5FB; }
.csp-graph-credentials-revalidate:disabled { color: #8b90a3; cursor: default; }
.csp-graph-credential {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid #EEF1F6;
}
.csp-graph-credential-title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.csp-graph-credential > span,
.csp-graph-credential > small { color: #8b90a3; font-size: 11px; overflow-wrap: anywhere; }
.csp-graph-credential .csp-graph-credential-missing { color: #B7791F; }

.sideModalReport {
    background-color: #fafafa;
    width: 100%;
    border-radius: 5px;
    margin-bottom: 0.6rem;
    display: flex;
    min-height: 1.8rem;
    vertical-align: middle;
    padding-top: 5px;
}

.rowContent {
    word-break: break-all;
}

.ticketLink:link {
    text-decoration: none !important;
}

.ticketLink:hover {
    text-decoration: none !important;
}

.ticketLink:visited {
    text-decoration: none !important;
}

.ticketLink:active {
    text-decoration: none !important;
}

.lcdashboard .card-frame:has(.no-content) {
    /*background-color:rgba(255,255,255,0.6) !important;*/
    opacity: .6;
}

.lcdashboard .card-frame:has(.no-content) .block-icons {
    display: none;
}

div.comparative {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 10px;
}

div.comparative>p {
    font-size: 12px;
    color: var(--text-default);
}

.reconmentations {
    padding: 0px 8px;
    font-size: 12px;
    color: #6c63ff;
    cursor: pointer;
}

.security-domain-metrics {
    display: flex;
    gap: 1rem;
    margin: 0.65rem 8px 0.25rem;
}

.security-domain-metric {
    display: flex;
    min-width: 0;
    flex: 1 1;
    flex-direction: column;
    gap: 0.15rem;
}

.security-domain-metric__label {
    color: var(--text-light);
    font-size: 10px;
    line-height: 1.2;
}

.security-domain-metric__value {
    color: var(--text-default);
    font-size: 12px;
    line-height: 1.25;
}

.security-domain-metric__value--success {
    color: var(--status-green);
}

.security-domain-metric__value--warning {
    color: var(--status-yellow);
}

.security-domain-metric__value--danger {
    color: var(--status-red);
}

.security-domain-metric__value--unavailable {
    color: var(--text-light);
}

.lcdashboard .right-sidepanel {
    max-height: calc(100vh - 64px);
}

.suggestion-content {
    margin-top: 16px;
    max-height: calc(100vh - 240px);
    overflow-y: auto;
    padding-right: 0.5rem;
}

.right-sidepanel-content .suggestion-content .suggestion-paragraph {
    margin-bottom: 1rem;
    font-size: 14px;
}

.security-score-ai-message {
    align-self: flex-start;
    width: 100%;
    max-width: 95%;
    box-sizing: border-box;
    padding: 12px 14px;
    color: #333333;
    color: var(--text-dark, #333333);
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border: 1px solid var(--background-light, #e0e0e0);
    border-radius: 8px 8px 8px 0;
    box-shadow: 0 1px 2px rgba(31, 45, 61, 0.06);
    overflow-wrap: anywhere;
}

.security-score-ai-message.is-streaming {
    border-bottom: 2px solid #00FF00;
    animation: security-score-ai-border-animation 3s infinite ease-in-out;
}

@keyframes security-score-ai-border-animation {
    0%, 100% {
        border-color: #00FF00;
    }

    50% {
        border-color: #00FFFF;
    }
}

.security-score-ai-message .suggestion-paragraph {
    margin: 0 0 0.85rem;
    font-size: 13px !important;
    line-height: 1.55;
}

.security-score-ai-message .suggestion-paragraph:last-child {
    margin-bottom: 0;
}

.security-score-ai-message .lc-loading-chat {
    margin-top: 0.8rem;
}

@media (prefers-reduced-motion: reduce) {
    .security-score-ai-message.is-streaming {
        animation: none;
    }
}

.right-sidepanel-content .sideModalReport {
    margin-top: 16px;
    max-height: calc(100vh - 240px);
    padding-right: 0.5rem;
}

.security-score-posture {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    gap: .5rem;
}

.security-score-dashboard,
.security-score-flow {
    flex: 1 1 auto;
    min-height: 0;
}

.security-score-dashboard {
    overflow: hidden;
}

.security-score-dashboard-grid {
    min-width: 0;
    min-height: 0;
    height: 100%;
    max-height: 100%;
}

.security-score-dashboard-grid.lcdashboard--scroll {
    max-height: 100%;
}

.security-score-dashboard-grid .lcdashboard-cards,
.security-score-dashboard-grid .lcdashboard-cards .lcdashboard-cards-panel,
.security-score-dashboard-grid .lcdashboard-cards .lcdashboard-cards-panel-body {
    min-width: 0;
}

@media (max-width: 900px) {
    .security-score-dashboard-grid .lcdashboard-cards-panel {
        display: block;
        min-height: 0 !important;
    }

    .security-score-dashboard-grid .lcdashboard-cards-panel-body {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-rows: none !important;
        grid-auto-rows: minmax(220px, auto);
        min-height: 0 !important;
    }

    .security-score-dashboard-grid .card-frame {
        grid-column: auto !important;
        grid-row: auto !important;
        min-width: 0;
        min-height: 220px;
    }

    .security-score-dashboard-grid .card-frame.card-focused {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 560px) {
    .security-score-dashboard-grid .lcdashboard-cards-panel-body {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .security-score-dashboard-grid .card-frame,
    .security-score-dashboard-grid .card-frame.card-focused {
        grid-column: 1 !important;
    }
}

.security-score-flow {
    overflow: auto;
}

.fraud-events {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
    color: var(--text-default);
}

.fraud-events__source {
    color: var(--text-light);
    font-size: 0.75rem;
}

.fraud-events__table-wrapper {
    max-width: 100%;
    overflow-x: auto;
}

.fraud-events__table {
    width: 100%;
    min-width: 44rem;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.fraud-events__table th,
.fraud-events__table td {
    padding: 0.45rem 0.55rem;
    border-bottom: 1px solid var(--background-lightest);
    text-align: left;
    vertical-align: top;
}

.fraud-events__table th {
    color: var(--text-light);
    font-weight: 600;
    white-space: nowrap;
}

.fraud-events__table td {
    color: var(--text-default);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.security-score-ai-panel {
    align-self: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.lcdashboard .right-sidepanel.security-score-ai-side-panel .security-score-ai-report {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    margin-top: 0;
    padding: 0;
    overflow: hidden;
}

.lcdashboard .right-sidepanel.security-score-ai-side-panel .security-score-ai-content {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    margin-top: 0;
    padding: 16px 0.75rem 2rem 0.25rem;
    scroll-padding-bottom: 2rem;
}

.security-score-ai-bottom-spacer {
    flex: 0 0 0.25rem;
    width: 100%;
}

.lcdashboard .right-sidepanel.security-score-ai-side-panel .right-sidepanel-content,
.lcdashboard .right-sidepanel.security-score-ai-side-panel .filter-content {
    min-height: 0;
}

.lcdashboard .right-sidepanel.security-score-ai-side-panel .filter-content {
    overflow: hidden;
}

.lcdashboard .right-sidepanel.security-score-ai-side-panel .chat-container {
    min-height: 0;
    height: 100%;
}
.csp-service-health-context {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--line-default);
    border-radius: 0.5rem;
    background: var(--background-lightest);
    font-family: 'Inter', sans-serif;
}

.csp-service-health-context__icon {
    flex: 0 0 auto;
    margin-top: 0.1rem;
    color: var(--icon-blue);
    font-size: 1.35rem;
}

.csp-service-health-context__body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.csp-service-health-context__description {
    color: var(--text-light);
    font-size: 0.75rem;
    line-height: 1.4;
}

.csp-service-health-context__link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    width: fit-content;
    color: var(--text-link-hover);
    font-size: 0.76rem;
    font-weight: 600;
    text-decoration: none;
}

.csp-service-health-context__link:hover,
.csp-service-health-context__link:focus-visible {
    color: var(--text-link-hover);
    text-decoration: underline;
}

.csp-tenant-identity-aggregates {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    padding: 12px;
    color: var(--text-default);
    font-family: 'Inter', sans-serif;
}

.csp-tenant-identity-aggregates__notice {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 10px;
    border: 1px solid var(--line-default);
    border-radius: 6px;
    background: var(--background-lightest);
    font-size: 12px;
    line-height: 1.4;
}

.csp-tenant-identity-aggregates__notice strong {
    color: var(--color-primary-purple-dark);
    font-size: 13px;
}

.csp-tenant-identity-aggregates__notice span,
.csp-tenant-identity-aggregate p {
    color: var(--text-light);
}

.csp-tenant-identity-aggregates__items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-gap: 8px;
    gap: 8px;
    min-height: 0;
    flex: 1 1;
}

.csp-tenant-identity-aggregate {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--line-default);
    border-radius: 6px;
}

.csp-tenant-identity-aggregate h3 {
    margin: 0;
    color: var(--text-default);
    font-size: 13px;
}

.csp-tenant-identity-aggregate p {
    margin: 0;
    font-size: 11px;
    line-height: 1.35;
}

.csp-tenant-identity-aggregate .csp-permission-empty {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 0;
    padding: 0;
    text-align: left;
    color: var(--text-light);
    font-size: 11px;
    line-height: 1.35;
}

.csp-tenant-identity-aggregate .csp-permission-empty-icon {
    color: var(--status-yellow);
    font-size: 22px;
}

.csp-tenant-identity-aggregate .csp-permission-empty strong {
    color: var(--color-primary-purple-dark);
    font-size: 12px;
}

.csp-tenant-identity-aggregate .csp-permission-empty span,
.csp-tenant-identity-aggregate .csp-permission-empty small {
    color: var(--text-light);
    font-size: 11px;
    line-height: 1.35;
}

@media (max-width: 900px) {
    .csp-tenant-identity-aggregates__items {
        grid-template-columns: 1fr;
    }
}

.security-governance-tabs {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.security-governance-tabs__bar {
    flex: 0 0 auto;
}

.security-governance-tabs__content {
    flex: 1 1 auto;
    min-height: 0;
}

.security-governance-tabs__content--posture {
    overflow: hidden;
}

.security-governance-tabs__posture {
    display: flex;
    height: 100%;
    min-height: 0;
    flex-direction: column;
}

.security-governance-tabs__posture > :first-child {
    flex: 1 1 auto;
    min-height: 0;
}

.security-governance-tabs__panel {
    height: 100%;
    min-height: 0;
    overflow: auto;
    padding: 1rem;
    background: var(--background-lightest);
}

.security-governance-source,
.security-governance-permissions {
    max-width: 72rem;
    margin: 0 auto;
    border: 1px solid var(--line-light);
    border-radius: 0.5rem;
    background: var(--background-white);
    color: var(--text-default);
    box-shadow: 0 0.25rem 1rem var(--line-light);
}

.security-governance-source {
    padding: 1.25rem;
}

.security-governance-source__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.security-governance-source__eyebrow {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.security-governance-source h2,
.security-governance-permissions h2 {
    margin: 0;
    color: var(--text-default);
    font-size: 1.1rem;
}

.security-governance-source p,
.security-governance-permissions__header p {
    margin: 0.8rem 0 0;
    color: var(--text-dark);
    line-height: 1.5;
}

.security-governance-source__source {
    font-size: 0.8rem;
    font-weight: 600;
}

.security-governance-source__limitation {
    padding: 0.75rem;
    border-left: 0.2rem solid var(--status-red);
    background: var(--background-lightest);
    font-size: 0.85rem;
}

.security-governance-demo-panel {
    max-width: 100%;
}

.security-governance-demo-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-gap: 0.75rem;
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.security-governance-demo-kpis article {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.9rem;
    border: 1px solid var(--line-light);
    border-radius: 0.35rem;
    background: var(--background-lightest);
}

.security-governance-demo-kpis span {
    color: var(--text-dark);
    font-size: 0.78rem;
}

.security-governance-demo-kpis strong {
    color: var(--text-default);
    font-size: 1.25rem;
    font-weight: 700;
}

.security-governance-demo-table-wrap {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line-light);
    border-radius: 0.35rem;
}

.security-governance-source__action {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.5rem 0.9rem;
    border-radius: 0.25rem;
    background: var(--color-primary);
    color: var(--text-white);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.security-governance-source__action:hover {
    background: var(--color-primary-dark);
    color: var(--text-white);
}

.security-governance-permissions__header {
    padding: 1.25rem 1.25rem 0;
}

.security-governance-permissions .csp-permissions-panel {
    margin-top: 1rem;
    border-top: 1px solid var(--line-light);
    border-radius: 0;
    box-shadow: none;
}

@media (max-width: 48rem) {
    .security-governance-demo-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .security-governance-source__header {
        flex-direction: column;
    }

    .security-governance-source__action {
        width: 100%;
        justify-content: center;
    }
}

.rgo { --rgo-blue: var(--primary, #471fcc); --rgo-green: var(--status-green, #13b66b); --rgo-amber: var(--status-yellow, #ffb516); --rgo-red: var(--status-red, #ed3d50); --rgo-muted: var(--text-light, #75849a); color: #182233; color: var(--text-default, #182233); font-family: Inter, sans-serif; height: 100%; min-height: 0; background: var(--background-default); letter-spacing: 0; }
.rgo { overflow: hidden; }
.rgo .security-governance-dashboard { height: 100%; min-height: 0; overflow: hidden; }
.rgo .security-governance-dashboard .lcdashboard-cards,
.rgo .security-governance-dashboard .lcdashboard-cards-panel,
.rgo .security-governance-dashboard .lcdashboard-cards-panel-body { height: 100%; min-height: 0; max-height: 100%; overflow: hidden; }
.rgo .security-governance-dashboard .card-frame { min-height: 0; overflow: hidden; }
.rgo .security-governance-dashboard .rgo-summary-card { padding: 8px 10px; gap: 4px; }
.rgo .rgo-summary-card .card-frame-header-content { flex-shrink: 0; }
.rgo .security-governance-dashboard .rgo-summary-card .card-title { line-height: 1.2; align-items: center; }
.rgo .lcdashboard-cards { min-width: 0; container: governance-cards / inline-size; }
.rgo .security-governance-dashboard .card-title { height: auto; min-height: 20px; white-space: normal; line-height: 1.4; }
.rgo .security-governance-dashboard .card-content-body { height: auto; max-height: none; min-height: 0; flex: 1 1; overflow-y: auto; overflow-x: hidden; }
.rgo .security-governance-dashboard .card-content-body-content { display: block; width: 100%; min-width: 0; }
.rgo .lcdashboard-cards-panel-header { padding: 14px 16px; }
.rgo .security-governance-policy-panel { min-height: 320px; height: 100%; }
.rgo .right-sidepanel .security-governance-tabs { height: auto; overflow: visible; }
.rgo .right-sidepanel .security-governance-tabs__panel { padding: 8px 0; overflow: visible; }
.rgo .right-sidepanel .security-governance-source { padding: 12px; box-shadow: none; border: 0; }
.rgo * { box-sizing: border-box; }
.rgo h1, .rgo h2, .rgo h3, .rgo p { margin: 0; letter-spacing: 0; }
.rgo .rgo-heading h1 { font-size: 26px !important; line-height: 1.25; font-weight: 700; }
.rgo .rgo-heading p { margin-top: 5px; font-size: 13px; color: #63738b; }
.rgo-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.rgo-update { display: flex; align-items: center; gap: 14px; flex-shrink: 0; font-size: 10px; color: #63738b; }
.rgo-update strong { display: block; margin-top: 4px; font-size: 11px; font-weight: 500; }
.rgo .rgo-update > span, .rgo .rgo-comparison-row > span, .rgo .rgo-health-row > span, .rgo .rgo-domain-value > span { font-size: 10px !important; }
.rgo .rgo-gauge-value > span { font-size: 13px !important; }
.rgo .rgo-identity > span, .rgo .rgo-rank { font-size: 11px !important; }
.rgo button { font: inherit; cursor: pointer; }
.rgo .rgo-detail-icon { display: inline-grid; place-items: center; border: 0; padding: 0; width: 20px; height: 20px; background: transparent; color: inherit; }
.rgo .rgo-detail-icon svg { width: 16px; height: 16px; }
.rgo button:focus-visible, .rgo a:focus-visible { outline: 2px solid var(--rgo-blue); outline-offset: 3px; }
.rgo-update button { border: 0; color: var(--rgo-blue); background: transparent; width: 32px; height: 32px; font-size: 20px; }
.rgo-update button:disabled { opacity: .5; cursor: wait; }
.rgo-link { display: inline-flex; align-items: center; gap: 5px; border: 0; padding: 0; background: transparent; color: var(--rgo-blue); font-size: 10px !important; line-height: 1.5; text-align: left; }
.rgo-link svg { width: 14px; height: 14px; flex-shrink: 0; }
.rgo-green { color: var(--rgo-green); --meter-color: var(--rgo-green); }
.rgo-blue { color: var(--rgo-blue); --meter-color: var(--rgo-blue); }
.rgo-amber { color: var(--rgo-amber); --meter-color: var(--rgo-amber); }
.rgo-red { color: var(--rgo-red); --meter-color: var(--rgo-red); }
.rgo-muted { color: var(--rgo-muted); --meter-color: var(--rgo-muted); }
.rgo-score-body { display: grid; grid-template-columns: minmax(100px, .85fr) minmax(0, 1.15fr); grid-gap: 10px; gap: 10px; align-items: center; margin-top: 0; }
.rgo-gauge-block { text-align: center; }
.rgo-gauge { position: relative; height: 80px; width: 148px; max-width: 100%; margin: 0 auto; overflow: hidden; }
.rgo-gauge-ring { width: 100%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 270deg, var(--meter-color) 0deg var(--score), #eaf0f7 var(--score) 180deg, transparent 180deg); -webkit-mask: radial-gradient(circle, transparent 57%, #000 58%); mask: radial-gradient(circle, transparent 57%, #000 58%); }
.rgo-gauge-value { position: absolute; bottom: 0; left: 0; width: 100%; color: #182233; }
.rgo-gauge-value strong { font-size: 24px; line-height: 1.1; }
.rgo-gauge-value > span { font-size: 13px; color: #63738b; margin-left: 4px; }
.rgo-gauge-value small { display: block; font-size: 10px; margin-top: 2px; }
.rgo .rgo-delta { font-size: 10px; line-height: 1.2; margin-top: 4px; }
.rgo-delta small { display: block; margin-top: 2px; color: #63738b; color: var(--text-dark, #63738b); font-size: 9px; }
.rgo-comparison { border-left: 1px solid #e9eef5; border-left: 1px solid var(--line-light, #e9eef5); padding-left: 10px; min-width: 0; }
.rgo .rgo-comparison h3 { font-size: 11px !important; line-height: 1.2; margin-bottom: 4px; }
.rgo-comparison-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(24px, .6fr) 20px; grid-gap: 5px; gap: 5px; align-items: center; margin-bottom: 4px; font-size: 10px; line-height: 1.2; }
.rgo-comparison-row strong { text-align: right; font-weight: 500; }
.rgo-meter { height: 8px; border-radius: 3px; background: #edf2f8; overflow: hidden; }
.rgo-meter > span { display: block; height: 100%; background: var(--meter-color); border-radius: inherit; }
.rgo-comparison-row:not(:first-of-type) .rgo-meter > span { background: #a2afc0; }
.rgo .rgo-insight { display: flex; gap: 5px; padding: 2px 0 0; font-size: 10px; line-height: 1.3; }
.rgo-insight svg { color: var(--rgo-blue); font-size: 18px; flex-shrink: 0; }
.rgo-domain-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-gap: 6px; gap: 6px; }
.rgo-domain { border-left: 1px solid #edf1f7; border-left: 1px solid var(--line-light, #edf1f7); padding: 4px 6px; min-width: 0; }
.rgo-domain:first-child { border-left: 0; }
.rgo-domain .rgo-link { max-width: 100%; overflow-wrap: anywhere; }
.rgo .rgo-domain h3 { display: flex; align-items: center; gap: 4px; font-size: 11px !important; }
.rgo-domain-icon { display: grid; place-items: center; width: 20px; height: 20px; color: var(--text-default); color: var(--icon-default, var(--text-default)); flex-shrink: 0; font-size: 18px; }
.rgo-domain-value { display: flex; align-items: baseline; gap: 4px; margin: 6px 0 4px; }
.rgo-domain-value strong { font-size: 18px; }
.rgo-domain-value span { font-size: 10px; color: #63738b; }
.rgo .rgo-domain p { font-size: 10px; line-height: 1.3; color: #63738b; color: var(--text-dark, #63738b); margin: 5px 0; min-height: 26px; }
.rgo-health-row { display: grid; grid-template-columns: 17px minmax(0, 1fr) auto 12px; grid-gap: 7px; gap: 7px; align-items: center; padding: 5px 0; border-bottom: 1px solid #eff3f8; color: #273449; text-decoration: none !important; font-size: 10px; min-height: 25px; }
.rgo-health-row:last-child { border-bottom: 0; }
.rgo-health-row > svg { font-size: 16px; }
.rgo-health-row small { color: #63738b; font-size: 9px; }
.rgo-health-row small.rgo-green { color: var(--rgo-green); }
.rgo-health-row small.rgo-amber { color: #b47700; }
.rgo-list { min-height: 175px; }
.rgo-alert-row, .rgo-recommendation { display: grid; grid-template-columns: 22px minmax(0, 1fr) 12px; align-items: center; grid-gap: 8px; gap: 8px; border: 0; border-bottom: 1px solid #eff3f8; background: transparent; width: 100%; padding: 8px 0; text-align: left; color: #263247; }
.rgo-alert-row:hover, .rgo-recommendation:hover, .rgo-health-row:hover { background: #f6f9fe; }
.rgo .rgo-alert-row, .rgo .rgo-recommendation { min-width: 0; max-width: 100%; }
.rgo-alert-row > span, .rgo-recommendation > span { min-width: 0; }
.rgo-alert-row > svg, .rgo-recommendation > svg { width: 12px; height: 12px; }
.rgo-alert-row strong, .rgo-recommendation strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 10px; font-weight: 500; line-height: 1.4; }
.rgo-alert-row small, .rgo-recommendation small { display: block; color: #63738b; font-size: 9px; margin-top: 3px; }
.rgo-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-left: 5px; }
.rgo-rank { display: grid; place-items: center; width: 22px; height: 22px; color: var(--text-light); font-size: 11px; }
.rgo .rgo-plan > p { color: #63738b; color: var(--text-dark, #63738b); font-size: 10px; line-height: 1.3; margin-top: 0; }
.rgo-plan-progress, .rgo-mfa { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.rgo-donut { display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; background: conic-gradient(var(--meter-color) var(--score), #eaf0f7 0); background: conic-gradient(var(--meter-color) var(--score), var(--background-light, #eaf0f7) 0); position: relative; }
.rgo-donut::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: white; background: var(--card-background, white); }
.rgo-donut > strong { position: relative; font-size: 15px; color: #182233; }
.rgo-plan-progress > div:last-child > strong { font-size: 20px; }
.rgo-plan-progress small, .rgo-mfa small { display: block; color: #63738b; color: var(--text-dark, #63738b); font-size: 10px; line-height: 1.2; margin-top: 2px; }
.rgo .rgo-plan .lc-button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; min-height: 0; font-size: 11px; line-height: 1.2; }
.rgo-compliance-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-gap: 8px; gap: 8px; }
.rgo-compliance { display: block; border: 0; border-left: 1px solid #e9eff7; border-left: 1px solid var(--line-light, #e9eff7); padding: 1px 4px; background: transparent; text-align: left; color: var(--text-default); min-width: 0; line-height: 1.1; }
.rgo-compliance:first-child { border-left: 0; }
.rgo-compliance > svg { flex-shrink: 0; font-size: 17px; }
.rgo-compliance strong { display: block; font-size: 9px; line-height: 1.4; font-weight: 500; }
.rgo-compliance small { display: block; font-size: 9px; line-height: 1.2; margin: 2px 0 3px; color: #63738b; color: var(--text-dark, #63738b); }
.rgo-compliance b { font-size: 13px; }
.rgo-identity { margin: 6px 0; display: flex; align-items: center; gap: 8px; }
.rgo-identity > strong { font-size: 24px; }
.rgo-identity > span { font-size: 11px; color: #63738b; max-width: 160px; }
.rgo-mfa { margin-bottom: 0; }
.rgo-mfa > div:last-child { min-width: 0; overflow-wrap: anywhere; }
.rgo-mfa > div:last-child > strong { font-size: 14px !important; }
.rgo-empty { padding: 18px 0; font-size: 11px; color: #63738b; line-height: 1.6; }
.rgo-error { padding: 6px; margin-bottom: 6px !important; color: #b72b3d; color: var(--status-red, #b72b3d); background: #fff2f4; background: var(--background-lightest, #fff2f4); font-size: 11px; line-height: 1.3; overflow-wrap: anywhere; }
@container governance-cards (max-width: 1100px) {
	.rgo-gauge-block, .rgo-comparison { min-width: 0; overflow-wrap: anywhere; }
}
@container governance-cards (max-width: 650px) {
	.rgo .security-governance-dashboard .lcdashboard-cards-panel { overflow-y: auto; }
	.rgo .security-governance-dashboard .lcdashboard-cards-panel-body { height: auto; max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-template-rows: none !important; grid-auto-rows: minmax(176px, auto); }
	.rgo .card-frame:not(.card-focused) { grid-column: auto !important; grid-row: auto !important; min-width: 0; }
	.rgo .card-frame.rgo-summary-card:not(.card-focused) .card-content-body { flex: none; overflow: visible; }
	.rgo .card-frame.rgo-list-card:not(.card-focused) { height: 224px; }
	.rgo .card-frame[data-tour-card-id="301"]:not(.card-focused),
	.rgo .card-frame[data-tour-card-id="303"]:not(.card-focused),
	.rgo .card-frame[data-tour-card-id="307"]:not(.card-focused) { grid-column: 1 / -1 !important; }
	.rgo .card-frame.card-focused { grid-column: 1 / -1 !important; grid-row: 1 / -1 !important; }
}
@container governance-cards (max-width: 420px) {
	.rgo .security-governance-dashboard .lcdashboard-cards-panel-body { grid-template-columns: minmax(0, 1fr) !important; }
	.rgo-domain-grid, .rgo-compliance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
	.rgo-heading { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 0; }
	.rgo .rgo-heading h1 { font-size: 23px !important; }
	.rgo-update { width: 100%; justify-content: space-between; }
	.rgo .right-sidepanel:not(.focused) { width: min(480px, 100%) !important; }
	.rgo .lcdashboard--fixed-sidebar { grid-template-columns: minmax(0, 1fr) !important; }
	.rgo .lcdashboard--fixed-sidebar .right-sidepanel.pinned { grid-column: 1 / -1; position: absolute; inset: 0; }
}
/* ─── Freshness / Status Bar ─────────────────────────────────────── */
.sync-freshness {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    margin-bottom: 16px;
}

.sync-freshness-ok {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.sync-freshness-warn {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.1) 0%, rgba(234, 179, 8, 0.05) 100%);
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.sync-freshness-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.sync-freshness-main {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.sync-freshness-icon { font-size: 16px; }

.sync-freshness-ok .sync-freshness-icon,
.sync-freshness-ok .sync-freshness-status { color: #22c55e; }

.sync-freshness-warn .sync-freshness-icon,
.sync-freshness-warn .sync-freshness-status { color: #eab308; }

.sync-freshness-error .sync-freshness-icon,
.sync-freshness-error .sync-freshness-status { color: #ef4444; }

.sync-freshness-details {
    display: flex;
    gap: 16px;
    color: #666;
    font-size: 11px;
}

.sync-freshness-note {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #999;
    font-size: 10px;
    font-style: italic;
}

.sync-freshness-note .disclaimer-icon {
    font-size: 12px;
}

/* ─── Summary Cards Row (matches SummaryCards pattern) ────────────── */
.sync-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 16px;
    gap: 16px;
    margin-bottom: 20px;
    padding: 0 4px;
}

@media (max-width: 1200px) {
    .sync-cards-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .sync-cards-container { grid-template-columns: 1fr; }
}

.sync-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sync-card-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
}
.sync-card-primary .sync-card-icon   { color: rgba(255, 255, 255, 0.8); }
.sync-card-primary .sync-card-title  { color: rgba(255, 255, 255, 0.9); }
.sync-card-primary .sync-card-value  { color: #fff; }
.sync-card-primary .sync-card-meta   { color: rgba(255, 255, 255, 0.7); }
.sync-card-primary .sync-card-footer { border-top-color: rgba(255, 255, 255, 0.2); }

.sync-card-clickable { cursor: pointer; }
.sync-card-clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.sync-card-clickable:hover .sync-card-arrow {
    transform: translateX(4px);
}

.sync-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sync-card-icon { font-size: 20px; color: #3b82f6; }
.sync-card-title {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    flex: 1 1;
}
.sync-card-arrow {
    font-size: 16px;
    color: #9ca3af;
    transition: transform 0.2s ease;
}

.sync-card-value {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.sync-card-meta {
    font-size: 11px;
    color: #9ca3af;
}

/* List-style items inside card */
.sync-card-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1;
}
.sync-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid #f3f4f6;
}
.sync-list-item:last-child { border-bottom: none; }
.sync-list-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.sync-list-name {
    flex: 1 1;
    font-size: 12px;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sync-list-value {
    font-size: 12px;
    font-weight: 600;
    color: #111827;
}

.sync-card-footer {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}
.sync-card-link {
    font-size: 11px;
    color: #3b82f6;
    font-weight: 500;
}

/* ─── Service Status Row (3 columns) ─────────────────────────────── */
.sync-services-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 16px;
    gap: 16px;
    margin-bottom: 20px;
    padding: 0 4px;
}
@media (max-width: 900px) {
    .sync-services-row { grid-template-columns: 1fr; }
}
.sync-service-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
}
.sync-service-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.sync-service-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1;
}
.sync-service-name { font-size: 13px; font-weight: 600; color: #111827; }
.sync-service-detail { font-size: 11px; color: #6b7280; }
.sync-service-latency { font-size: 11px; color: #9ca3af; font-weight: 500; }

/* ─── Table Panel ────────────────────────────────────────────────── */
.sync-table-panel {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    margin-bottom: 20px;
}
.sync-table-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f3f4f6;
}
.sync-table-panel-header .panel-icon  { font-size: 18px; color: #3b82f6; }
.sync-table-panel-header .panel-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    flex: 1 1;
}
.sync-table-panel-header .panel-badge {
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 12px;
    background: #eff6ff;
    color: #3b82f6;
}

/* ─── Inline table ───────────────────────────────────────────────── */
.sync-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.sync-table th {
    text-align: left;
    font-weight: 600;
    color: #6b7280;
    font-size: 11px;
    padding: 6px 8px;
    border-bottom: 2px solid #e5e7eb;
    white-space: nowrap;
}
.sync-table th.r { text-align: right; }
.sync-table td {
    padding: 6px 8px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}
.sync-table td.r { text-align: right; }
.sync-table tr:hover { background: #f9fafb; }
.sync-table tr:last-child td { border-bottom: none; }

/* ─── Status badges ──────────────────────────────────────────────── */
.sbadge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
}
.sbadge-ok   { background: rgba(34, 197, 94, 0.1);  color: #16a34a; }
.sbadge-warn { background: rgba(234, 179, 8, 0.1);  color: #ca8a04; }
.sbadge-err  { background: rgba(239, 68, 68, 0.1);  color: #dc2626; }
.sbadge-info { background: rgba(59, 130, 246, 0.1); color: #2563eb; }

.text-truncate {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.lar-page { padding: 8px 16px 32px; color: #172033; color: var(--text-color, #172033); }
.lar-header, .lar-rules-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.lar-header h3, .lar-rules-heading h4 { margin: 0; }
.lar-context, .lar-lifecycle, .lar-preview, .lar-document, .lar-rule, .lar-versions, .lar-alert { margin-bottom: 16px; border-radius: 10px; }
.lar-snapshot-select { width: 100%; }
.lar-inline-alert { margin-top: 12px; }
.lar-financial-context { display: grid; justify-items: end; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.lar-financial-context strong { font-size: 18px; text-align: right; }
.lar-document .ant-select { width: 100%; margin-top: 4px; }
.lar-concurrency { margin-top: 10px; overflow-wrap: anywhere; }
.lar-rule { border-left: 4px solid #7252d3; border-left: 4px solid var(--color-primary, #7252d3); }
.lar-rule .ant-card-head-title { min-width: 280px; }
.lar-rule .ant-card-head-title .ant-input { width: min(420px, 55vw); font-weight: 600; }
.lar-priority { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #7252d3; color: white; }
.lar-condition-group { margin-top: 10px; padding: 12px; border: 1px solid #dce1eb; border-radius: 8px; background: #fafbfe; }
.lar-depth-1 { background: #f5f2ff; border-color: #d9d0f4; }
.lar-depth-2 { background: #eef6ff; border-color: #c8ddf4; }
.lar-depth-3 { background: #f3f8f6; border-color: #cce4da; }
.lar-group-toolbar { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.lar-condition-list { display: grid; grid-gap: 8px; gap: 8px; }
.lar-condition-row { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(140px, .8fr) minmax(160px, 1.2fr) 32px; align-items: center; grid-gap: 8px; gap: 8px; }
.lar-condition-field, .lar-condition-operator, .lar-condition-value { width: 100%; }
.lar-nested-row { display: grid; grid-template-columns: minmax(0, 1fr) 32px; align-items: start; grid-gap: 4px; gap: 4px; }
.lar-empty-group, .lar-no-value { padding: 7px 10px; color: #667085; font-style: italic; }
.lar-target-panel { display: grid; grid-gap: 12px; gap: 12px; padding: 14px; border-radius: 8px; background: #f7f8fc; }
.lar-target-select { width: 100%; }
.lar-target-panel label { display: grid; grid-gap: 5px; gap: 5px; font-weight: 600; }
.lar-target-panel .ant-input-number { width: 100%; }
.lar-metric { border-top: 3px solid; }
.lar-metric .ant-statistic-content, .lar-money { text-align: right; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.lar-money { margin-top: 6px; font-size: 16px; font-weight: 600; }
.lar-alert ul { margin: 8px 0 0; padding-left: 20px; }
.lar-versions .ant-table-cell:nth-child(1), .lar-versions .ant-table-cell:nth-child(5), .lar-versions .ant-table-cell:nth-child(6) { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
    .lar-page { padding-inline: 4px; }
    .lar-condition-row { grid-template-columns: 1fr; padding: 8px; border-bottom: 1px solid #e5e7eb; }
    .lar-target-inputs { grid-template-columns: 1fr; }
    .lar-rule .ant-card-head { align-items: flex-start; }
}
