:is(.cms-environment-dashboard, .page-automacoes-v5, .amb-col-config-panel) {
    --cms-action-icon-size: 16px;
}

:is(.cms-environment-dashboard, .page-automacoes-v5) .lc-iconlink > .content > svg,
:is(.cms-environment-dashboard, .page-automacoes-v5) button > svg,
:is(.cms-environment-dashboard, .page-automacoes-v5) .card-frame-header-content .block-icons .icon > svg,
.amb-col-config-panel button > svg {
    width: var(--cms-action-icon-size) !important;
    height: var(--cms-action-icon-size) !important;
    padding: 0 !important;
    flex-shrink: 0;
}

:is(.cms-environment-dashboard, .page-automacoes-v5) :is(.lc-iconlink > .content > i, .amb-vm-act > i) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--cms-action-icon-size);
    height: var(--cms-action-icon-size);
    font-size: var(--cms-action-icon-size) !important;
    line-height: 1;
}

.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;
}
.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; }

/* 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; }

.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-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;
    }
}

/* ── Layout base ──────────────────────────────────────────────────────── */
.lcdashboard.csp-billing-review .card-frame:hover {
    box-shadow: none;
}

/* ── Aviso de acesso restrito ─────────────────────────────────────────── */
.csp-billing-review .access-denied {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60vh;
    gap: 16px;
    color: #666;
    color: var(--color-text-secondary, #666);
}

.csp-billing-review .access-denied svg {
    font-size: 64px;
    color: #d32f2f;
    color: var(--color-danger, #d32f2f);
    opacity: 0.5;
}

.csp-billing-review .access-denied h2 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    color: var(--color-text-primary, #333);
}

.csp-billing-review .access-denied p {
    font-size: 13px;
    max-width: 400px;
    text-align: center;
}

/* ── Relatório não gerado ─────────────────────────────────────────────── */
.csp-billing-review .report-not-generated {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60vh;
    gap: 8px;
    color: #666;
    color: var(--color-text-secondary, #666);
}

.csp-billing-review .report-not-generated h2 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    color: var(--color-text-primary, #333);
    margin: 0;
}

.csp-billing-review .report-not-generated p {
    font-size: 13px;
    max-width: 420px;
    text-align: center;
    margin: 0;
}

.csp-billing-review .generate-report-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    background: #1976d2;
    background: var(--color-primary, #1976d2);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.csp-billing-review .generate-report-btn:hover:not(:disabled) {
    background: #1565c0;
    background: var(--color-primary-dark, #1565c0);
}

.csp-billing-review .generate-report-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ── Cards de resumo (dentro de LCDashboard cards) ────────────────────── */
.lcdashboard.csp-billing-review .summary-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    height: 100%;
}

.lcdashboard.csp-billing-review .summary-card-value {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    color: var(--color-text-primary, #333);
}

.lcdashboard.csp-billing-review .summary-card-value.positive {
    color: #2e7d32;
    color: var(--color-success, #2e7d32);
}

.lcdashboard.csp-billing-review .summary-card-value.info {
    color: #1565c0;
    color: var(--color-info, #1565c0);
}

.lcdashboard.csp-billing-review .summary-card-value.warn {
    color: #e65100;
    color: var(--color-warning, #e65100);
}

.lcdashboard.csp-billing-review .summary-card-sub {
    font-size: 11px;
    color: #888;
    color: var(--color-text-secondary, #888);
}

/* ── Top Tab Bar (Reconciliação / Consumo Diário) ─────────────────────── */
.csp-billing-review .top-tab-bar {
    display: flex;
    gap: 0;
    padding: 0 8px;
    margin-bottom: 16px;
    border-bottom: 2px solid #e0e0e0;
    border-bottom: 2px solid var(--color-border, #e0e0e0);
}

.csp-billing-review .top-tab {
    padding: 10px 24px;
    border: none;
    background: transparent;
    color: #666;
    color: var(--color-text-secondary, #666);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    display: flex;
    align-items: center;
}

.csp-billing-review .top-tab:hover {
    color: #333;
    color: var(--color-text-primary, #333);
    background: #e3f2fd;
    background: var(--color-primary-light, #e3f2fd);
    border-radius: 6px 6px 0 0;
}

.csp-billing-review .top-tab.active {
    color: #1565c0;
    color: var(--color-primary, #1565c0);
    border-bottom-color: #1565c0;
    border-bottom-color: var(--color-primary, #1565c0);
    font-weight: 600;
}

/* ── Sub Tabs ─────────────────────────────────────────────────────────── */
.csp-billing-review .view-tabs {
    display: flex;
    gap: 4px;
    padding: 0 8px;
    margin-bottom: 12px;
}

.csp-billing-review .view-tab {
    padding: 6px 16px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    border: 1px solid var(--color-border, #e0e0e0);
    background: #fff;
    background: var(--color-surface, #fff);
    color: #666;
    color: var(--color-text-secondary, #666);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.csp-billing-review .view-tab:hover {
    background: #e3f2fd;
    background: var(--color-primary-light, #e3f2fd);
}

.csp-billing-review .view-tab.active {
    background: #1565c0;
    background: var(--color-primary, #1565c0);
    color: #fff;
    border-color: #1565c0;
    border-color: var(--color-primary, #1565c0);
}

/* ── Badges ───────────────────────────────────────────────────────────── */
.csp-billing-review .fonte-badge {
    display: inline-block;
    background: #e3f2fd;
    background: var(--color-primary-light, #e3f2fd);
    color: #1565c0;
    color: var(--color-primary, #1565c0);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.csp-billing-review .sip-badge {
    display: inline-block;
    background: #f5f5f5;
    background: var(--color-surface-variant, #f5f5f5);
    color: #333;
    color: var(--color-text-primary, #333);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.csp-billing-review .sip-badge-nf {
    background: #e8f5e9;
    color: #2e7d32;
}

.csp-billing-review .cell-muted {
    color: #bbb;
    color: var(--color-text-disabled, #bbb);
}

/* ── Células da tabela ────────────────────────────────────────────────── */
.csp-billing-review .cell-currency {
    text-align: right;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.csp-billing-review .cell-factor {
    text-align: right;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    color: #666;
    color: var(--color-text-secondary, #666);
}

.csp-billing-review .cell-percent {
    text-align: right;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.csp-billing-review .cell-percent.positive {
    color: #2e7d32;
    color: var(--color-success, #2e7d32);
}

.csp-billing-review .cell-percent.negative {
    color: #d32f2f;
    color: var(--color-danger, #d32f2f);
}

.csp-billing-review .cell-percent.zero {
    color: #999;
    color: var(--color-text-secondary, #999);
}

/* ── Destaque coluna Valor NF ─────────────────────────────────────────── */
.csp-billing-review .cell-nf-value {
    color: #2e7d32;
    color: var(--color-success, #2e7d32);
}

/* ── Indicador de cache ───────────────────────────────────────────────── */
.csp-billing-review .cache-info {
    margin-top: 2px;
    font-size: 10px;
    color: #aaa;
    color: var(--color-text-tertiary, #aaa);
    font-style: italic;
}

/* ── Step Monitor Overlay ─────────────────────────────────────────────── */
.step-monitor-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.step-monitor-panel {
    background: #fff;
    background: var(--color-bg-primary, #fff);
    border-radius: 12px;
    padding: 32px;
    min-width: 420px;
    max-width: 520px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.step-monitor-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #333;
    color: var(--color-text-primary, #333);
}

.step-monitor-subtitle {
    font-size: 13px;
    color: #888;
    color: var(--color-text-secondary, #888);
    margin: 0 0 24px 0;
}

.step-monitor-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-monitor-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #f5f5f5;
    background: var(--color-bg-secondary, #f5f5f5);
    transition: all 0.3s ease;
}

.step-monitor-step.active {
    background: #e3f2fd;
    background: var(--color-info-bg, #e3f2fd);
    border-left: 3px solid #1976d2;
    border-left: 3px solid var(--color-info, #1976d2);
}

.step-monitor-step.success {
    background: #e8f5e9;
    background: var(--color-success-bg, #e8f5e9);
    border-left: 3px solid #2e7d32;
    border-left: 3px solid var(--color-success, #2e7d32);
}

.step-monitor-step.failed {
    background: #fce4ec;
    background: var(--color-danger-bg, #fce4ec);
    border-left: 3px solid #d32f2f;
    border-left: 3px solid var(--color-danger, #d32f2f);
}

.step-monitor-step.pending {
    opacity: 0.5;
}

.step-monitor-step .step-icon {
    font-size: 18px;
    min-width: 24px;
    text-align: center;
    line-height: 1.4;
}

.step-monitor-step .step-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.step-monitor-step .step-name {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    color: var(--color-text-primary, #333);
}

.step-monitor-step .step-detail {
    font-size: 11px;
    color: #888;
    color: var(--color-text-secondary, #888);
}

.step-monitor-step .step-error {
    color: #d32f2f;
    color: var(--color-danger, #d32f2f);
    font-weight: 500;
}

.step-monitor-step.active .step-icon {
    animation: pulse-spin 1.5s ease-in-out infinite;
}

@keyframes pulse-spin {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.step-monitor-close-btn {
    display: block;
    margin: 24px auto 0;
    padding: 10px 32px;
    border: none;
    border-radius: 6px;
    background: #1976d2;
    background: var(--color-primary, #1976d2);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.step-monitor-close-btn:hover {
    background: #1565c0;
    background: var(--color-primary-dark, #1565c0);
}

/* ── Row Detail Panel (detalhe contratos por customer) ────────────────── */

.row-detail-panel {
    border-top: 2px solid #1976d2;
    border-top: 2px solid var(--color-primary, #1976d2);
    background: #f8f9fb;
    background: var(--color-background-secondary, #f8f9fb);
    padding: 12px 16px;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; max-height: 0; }
    to   { opacity: 1; max-height: 400px; }
}

.row-detail-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.row-detail-title {
    font-size: 13px;
    color: #333;
    color: var(--color-text-primary, #333);
}

.row-detail-customer-id {
    font-size: 11px;
    color: #888;
    color: var(--color-text-secondary, #888);
    margin-left: 6px;
    font-weight: 400;
}

.row-detail-count {
    font-size: 11px;
    color: #888;
    color: var(--color-text-secondary, #888);
    background: #eee;
    background: var(--color-background-tertiary, #eee);
    padding: 2px 8px;
    border-radius: 10px;
}

.row-detail-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 18px;
    color: #888;
    color: var(--color-text-secondary, #888);
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1;
}

.row-detail-close:hover {
    background: #ddd;
    background: var(--color-background-tertiary, #ddd);
    color: #333;
    color: var(--color-text-primary, #333);
}

.row-detail-empty {
    font-size: 12px;
    color: #999;
    color: var(--color-text-secondary, #999);
    padding: 8px 0;
    font-style: italic;
}

.row-detail-table-wrapper {
    overflow-x: auto;
    max-height: 220px;
    overflow-y: auto;
}

.row-detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.row-detail-table thead th {
    position: sticky;
    top: 0;
    background: #eaedf1;
    background: var(--color-background-tertiary, #eaedf1);
    padding: 6px 10px;
    text-align: left;
    font-weight: 600;
    color: #555;
    color: var(--color-text-primary, #555);
    border-bottom: 1px solid #ddd;
    border-bottom: 1px solid var(--color-border, #ddd);
    white-space: nowrap;
}

.row-detail-table tbody td {
    padding: 5px 10px;
    border-bottom: 1px solid #eee;
    border-bottom: 1px solid var(--color-border-light, #eee);
    color: #333;
    color: var(--color-text-primary, #333);
}

.row-detail-table tbody tr:hover {
    background: #f0f4ff;
    background: var(--color-background-hover, #f0f4ff);
}

.row-detail-tenant {
    font-size: 11px;
    color: #888;
    color: var(--color-text-secondary, #888);
    font-family: monospace;
}

.status-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    padding: 1px 8px;
    border-radius: 10px;
}

.status-badge.active {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-badge.inactive {
    background: #fce4ec;
    color: #c62828;
}

/* ── Modal: Contratos SIP ─────────────────────────────────────────────── */

.sip-contracts-modal {
    background: #fff;
    background: var(--color-background, #fff);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    width: 92vw;
    max-width: 1200px;
    height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideDown 0.2s ease-out;
}

.sip-contracts-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px 12px;
    border-bottom: 1px solid #eee;
    border-bottom: 1px solid var(--color-border, #eee);
}

.sip-contracts-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #333;
    color: var(--color-text-primary, #333);
}

.sip-contracts-count {
    font-size: 12px;
    color: #888;
    color: var(--color-text-secondary, #888);
    background: #eee;
    background: var(--color-background-tertiary, #eee);
    padding: 2px 10px;
    border-radius: 10px;
}

.sip-contracts-filter {
    padding: 8px 20px;
}

.sip-contracts-filter-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border: 1px solid var(--color-border, #ddd);
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    background: #f8f9fb;
    background: var(--color-background-secondary, #f8f9fb);
    color: #333;
    color: var(--color-text-primary, #333);
    transition: border-color 0.2s;
}

.sip-contracts-filter-input:focus {
    border-color: #1976d2;
    border-color: var(--color-primary, #1976d2);
}

.sip-contracts-filter-input::placeholder {
    color: #aaa;
    color: var(--color-text-secondary, #aaa);
}

.sip-contracts-table-wrapper {
    flex: 1 1;
    min-height: 0;
    padding: 0 4px 4px;
}

/* ── RevoGrid cell helpers (SIP contracts) ────────────────────────────── */

.sip-contracts-table-wrapper revo-grid {
    font-size: 12px;
}

.revo-cell--right {
    text-align: right;
}

.revo-cell-status-active {
    color: #2e7d32;
    font-weight: 500;
}

.revo-cell-status-inactive {
    color: #c62828;
    font-weight: 500;
}

/* ── Modal: Histórico 3 meses ─────────────────────────────────────────── */

.history-modal {
    height: auto;
    max-height: 80vh;
}

.history-table-wrapper {
    overflow-x: auto;
}

.history-table tbody td {
    vertical-align: middle;
}

.history-row-current {
    background: #e3f2fd !important;
    background: var(--color-info-bg, #e3f2fd) !important;
}

.history-current-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    background: #1976d2;
    background: var(--color-primary, #1976d2);
    color: #fff;
    padding: 1px 6px;
    border-radius: 8px;
    margin-left: 6px;
    vertical-align: middle;
}

.history-variation {
    display: block;
    font-size: 10px;
    margin-top: 2px;
}

.history-variation.up {
    color: #d32f2f;
    color: var(--color-danger, #d32f2f);
}

.history-variation.down {
    color: #2e7d32;
    color: var(--color-success, #2e7d32);
}

.history-totals-row {
    background: #eaedf1;
    background: var(--color-background-tertiary, #eaedf1);
}

.history-totals-row td {
    border-top: 2px solid #ccc;
    border-top: 2px solid var(--color-border, #ccc);
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.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; }
}
