/* Shared visual scale with weekly report analytics. */
.console-theme .ops-home {
  --home-blue: #568de1; --home-green: #53b395; --home-orange: #dfac60;
  --home-line: #e3eaf3; --home-text: #253248; --home-muted: #7c899c;
  display: grid; gap: 12px; max-width: 1800px; margin: 0 auto; padding-bottom: 8px;
  color: var(--home-text); font-size: 12px;
}
.console-theme .ops-home :is(h1,h2,h3,p) { margin: 0; color: var(--home-text); }
.console-theme .ops-home button { font-family: inherit; cursor: pointer; }
.console-theme .ops-home :is(button,select,input,summary):focus-visible { outline: 2px solid #568de1; outline-offset: 3px; }
.console-theme .ops-home button:disabled { cursor: wait; opacity: .6; }
.console-theme .ops-home .ops-home-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; min-height: 36px; }
.console-theme .ops-home .ops-home-heading { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.console-theme .ops-home .ops-home-heading h1 { font-size: 20px; line-height: 30px; font-weight: 650; white-space: nowrap; }
.console-theme .ops-home .ops-home-heading > span { color: var(--home-muted); font-size: 12px; }
.console-theme .ops-home .ops-home-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; }
.console-theme .ops-home .ops-home-range { display: flex; padding: 3px; height: 34px; border: 1px solid #e4ebf5; border-radius: 7px; background: #eff3f9; }
.console-theme .ops-home .ops-home-range button { min-width: 48px; padding: 0 10px; border: 0; border-radius: 5px; background: transparent; color: #7b899d; font-size: 12px; line-height: 26px; transition: background .18s,color .18s; }
.console-theme .ops-home .ops-home-range button.active { background: #fff; color: #397acc; box-shadow: 0 1px 4px #294e7214; }
.console-theme .ops-home .ops-home-range button:hover { color: #397acc; }
.console-theme .ops-home .ops-home-controls > select { width: 150px; max-width: 100%; height: 34px; padding: 0 9px; border: 1px solid #dfe7f2; border-radius: 6px; background: #fff; color: #53647c; font-size: 12px; }
.console-theme .ops-home .ops-home-refresh,
.console-theme .ops-home .ops-home-filters > summary { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 11px; border: 1px solid #dbe6f5; border-radius: 6px; background: #fff; color: #5784bc; font-size: 12px; font-weight: 400; line-height: 20px; }
.console-theme .ops-home .ops-home-refresh:hover,
.console-theme .ops-home .ops-home-filters > summary:hover { background: #f1f6fd; }
.console-theme .ops-home .ops-home-filters { position: relative; }
.console-theme .ops-home .ops-home-filters > summary { cursor: pointer; list-style: none; }
.console-theme .ops-home .ops-home-filters > summary::-webkit-details-marker { display: none; }
.console-theme .ops-home .ops-home-filter-popover { position: absolute; z-index: 20; right: 0; top: calc(100% + 8px); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 330px; max-width: calc(100vw - 28px); padding: 15px; border: 1px solid #dfe7f2; border-radius: 9px; background: #fff; box-shadow: 0 8px 28px #173b701a; }
.console-theme .ops-home .ops-home-filter-popover > label { display: grid; gap: 5px; min-width: 0; color: #53647c; font-size: 12px; }
.console-theme .ops-home .ops-home-filter-popover > label:first-child { grid-column: 1 / -1; }
.console-theme .ops-home .ops-home-filter-popover :is(input,select) { width: 100%; min-width: 0; height: 34px; padding: 5px 8px; border: 1px solid #dfe7f2; border-radius: 5px; color: #253248; background: #fff; }
.console-theme .ops-home .ops-home-filter-popover > div { display: flex; justify-content: flex-end; gap: 8px; grid-column: 1 / -1; }
.console-theme .ops-home .ops-home-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.console-theme .ops-home .ops-home-kpi { --metric-tint: #f1f6ff; --metric-color: #568de1; position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; min-width: 0; min-height: 98px; padding: 12px 16px; border: 1px solid #dfe8f5; border-radius: 9px; background: linear-gradient(125deg,var(--metric-tint),#fff); text-align: left; color: #53647c; transition: box-shadow .18s,border-color .18s; }
.console-theme .ops-home .ops-home-kpi::after { content: ''; position: absolute; top: 16px; right: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--metric-color); opacity: .75; }
.console-theme .ops-home .ops-home-kpi.green { --metric-tint: #eef9f4; --metric-color: #53b395; border-color: #dceee5; }
.console-theme .ops-home .ops-home-kpi.violet { --metric-tint: #f4f2fb; --metric-color: #9b9bcf; border-color: #e7e4f3; }
.console-theme .ops-home .ops-home-kpi.orange { --metric-tint: #fff8ed; --metric-color: #dfac60; border-color: #efe6d6; }
.console-theme .ops-home .ops-home-kpi:hover { border-color: var(--metric-color); box-shadow: 0 3px 12px #365e8810; }
.console-theme .ops-home .ops-home-kpi > span { color: #536176; font-size: 12px; line-height: 18px; }
.console-theme .ops-home .ops-home-kpi > strong { color: #253248; font-size: 28px; font-weight: 650; line-height: 32px; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.console-theme .ops-home .ops-home-kpi > small { color: #7c899c; font-size: 11px; line-height: 17px; white-space: nowrap; }
.console-theme .ops-home .ops-home-kpi > .is-danger { color: #c88051; }
.console-theme .ops-home .ops-home-grid { display: grid; grid-template-columns: minmax(0,1.16fr) minmax(0,1fr); gap: 12px; align-items: stretch; }
.console-theme .ops-home .ops-home-panel { min-width: 0; padding: 13px 16px; border: 1px solid var(--home-line); border-radius: 9px; background: #fff; }
.console-theme .ops-home .ops-home-panel > header,
.console-theme .ops-home .ops-home-report-split > div > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 24px; margin-bottom: 12px; }
.console-theme .ops-home .ops-home-panel h2 { font-size: 14px; font-weight: 650; line-height: 22px; }
.console-theme .ops-home .ops-home-panel h3 { font-size: 13px; font-weight: 600; line-height: 22px; }
.console-theme .ops-home .ops-home-panel > header > span { padding: 3px 8px; border-radius: 5px; color: #7c899c; background: #f4f7fb; font-size: 11px; white-space: nowrap; }
.console-theme .ops-home .ops-home-panel > header > span b { color: #5682b8; font-size: 13px; font-weight: 600; }
.console-theme .ops-home .ops-home-ranked-rows { display: grid; align-content: center; gap: 10px; min-height: 164px; }
.console-theme .ops-home .ops-home-ranked-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px 12px; width: 100%; min-width: 0; padding: 3px 6px; border: 0; border-radius: 5px; background: transparent; color: #53647c; font-size: 12px; text-align: left; }
.console-theme .ops-home .ops-home-ranked-row:hover { background: #f6f9fd; }
.console-theme .ops-home .ops-home-ranked-row > span { min-width: 0; overflow-wrap: anywhere; }
.console-theme .ops-home .ops-home-ranked-row > b { color: #35485f; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.console-theme .ops-home .ops-home-ranked-row > i { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: #eff3f8; overflow: hidden; }
.console-theme .ops-home .ops-home-ranked-row em { display: block; height: 100%; border-radius: inherit; background: var(--chart-color); transform-origin: left; animation: opsHomeRowIn .5s ease both; }
.console-theme .ops-home .ops-home-columns { --plot-height: 124px; --label-height: 28px; display: grid; grid-template-columns: 23px minmax(0,1fr); gap: 5px; padding-top: 17px; }
.console-theme .ops-home .ops-home-yaxis { display: grid; grid-template-rows: repeat(5,0); align-content: space-between; height: var(--plot-height); color: #93a0b2; font-size: 10px; line-height: 1; text-align: right; }
.console-theme .ops-home .ops-home-yaxis > span { align-self: center; }
.console-theme .ops-home .ops-home-plot { position: relative; min-width: 0; }
.console-theme .ops-home .ops-home-gridlines { position: absolute; display: flex; flex-direction: column; justify-content: space-between; inset: 0 0 auto; height: var(--plot-height); pointer-events: none; }
.console-theme .ops-home .ops-home-gridlines > i { display: block; height: 1px; width: 100%; background: #edf1f7; }
.console-theme .ops-home .ops-home-column-items { position: relative; display: grid; grid-template-columns: repeat(var(--column-count),minmax(0,1fr)); gap: 6px; min-width: 0; }
.console-theme .ops-home .ops-home-column { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 0 2px; border: 0; border-radius: 3px; background: transparent; color: #53647c; text-align: center; }
.console-theme .ops-home .ops-home-column-track { display: flex; justify-content: center; align-items: flex-end; width: 100%; height: var(--plot-height); }
.console-theme .ops-home .ops-home-column-track > i { position: relative; display: block; width: min(44px,64%); height: var(--bar-height); border-radius: 4px 4px 0 0; background: var(--chart-color,var(--home-blue)); font-style: normal; transform-origin: bottom; animation: opsHomeBarIn .5s ease both; transition: filter .16s; }
.console-theme .ops-home .ops-home-column:hover .ops-home-column-track > i { filter: brightness(1.08); }
.console-theme .ops-home .ops-home-column-track > i > b { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); color: #45576e; font-size: 12px; font-weight: 600; line-height: 17px; white-space: nowrap; }
.console-theme .ops-home .ops-home-column-label { display: block; width: 100%; min-height: var(--label-height); padding-top: 8px; color: #78879b; font-size: 11px; line-height: 16px; overflow-wrap: anywhere; }
.console-theme .ops-home .ops-home-donut-layout { display: grid; grid-template-columns: minmax(0,44%) minmax(0,56%); align-items: center; min-height: 174px; }
.console-theme .ops-home .ops-home-donut { position: relative; width: min(100%,166px); aspect-ratio: 1; justify-self: center; }
.console-theme .ops-home .ops-home-donut > svg { display: block; width: 100%; height: 100%; overflow: visible; animation: opsHomeRingIn .45s ease both; }
.console-theme .ops-home .ops-home-donut svg circle { transition: stroke-width .18s; }
.console-theme .ops-home .ops-home-donut svg circle:hover { stroke-width: 30px; }
.console-theme .ops-home .ops-home-donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; pointer-events: none; }
.console-theme .ops-home .ops-home-donut-center > strong { color: #253248; font-size: 27px; line-height: 32px; font-weight: 650; }
.console-theme .ops-home .ops-home-donut-center > span { color: #8995a6; font-size: 11px; line-height: 18px; }
.console-theme .ops-home .ops-home-legend { display: grid; align-content: center; gap: 6px; min-width: 0; padding: 0 0 0 14px; }
.console-theme .ops-home .ops-home-legend > button { display: grid; grid-template-columns: 7px minmax(0,1fr) auto; align-items: center; gap: 8px; width: 100%; min-width: 0; padding: 6px 8px; border: 0; border-radius: 5px; background: #f7f9fc; color: #64758b; text-align: left; font-size: 12px; line-height: 18px; }
.console-theme .ops-home .ops-home-legend > button:hover { background: #edf3fb; }
.console-theme .ops-home .ops-home-legend > button > i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--chart-color,var(--home-blue)); }
.console-theme .ops-home .ops-home-legend > button > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console-theme .ops-home .ops-home-legend > button > b { color: #35485f; font-size: 12px; font-weight: 600; }
.console-theme .ops-home .ops-home-legend-foot { padding-top: 4px; color: #8492a5; font-size: 11px; text-align: right; }
.console-theme .ops-home .ops-home-report-split { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 16px; height: 100%; }
.console-theme .ops-home .ops-home-report-split > div { min-width: 0; }
.console-theme .ops-home .ops-home-report-split > div + div { padding-left: 14px; border-left: 1px solid #edf1f7; }
.console-theme .ops-home .ops-home-reports .ops-home-donut-layout { grid-template-columns: minmax(0,46%) minmax(0,54%); min-height: 126px; }
.console-theme .ops-home .ops-home-reports .ops-home-donut { width: min(100%,132px); }
.console-theme .ops-home .ops-home-reports .ops-home-donut-center > strong { font-size: 21px; line-height: 27px; }
.console-theme .ops-home .ops-home-reports .ops-home-legend { padding-left: 4px; gap: 5px; }
.console-theme .ops-home .ops-home-reports .ops-home-legend > button { gap: 4px; padding: 4px; font-size: 11px; }
.console-theme .ops-home .ops-home-reports .ops-home-ranked-rows { min-height: 142px; gap: 7px; }
.console-theme .ops-home .ops-home-reports .ops-home-ranked-row { font-size: 11px; }
.console-theme .ops-home .ops-home-daily { display: block; max-width: 100%; padding: 3px 0 0; border: 0; color: #8290a3; background: none; font-size: 11px; line-height: 18px; text-align: left; }
.console-theme .ops-home .ops-home-daily:hover { color: #568de1; }
.console-theme .ops-home .ops-home-attention { display: flex; align-items: center; gap: 14px; min-height: 43px; padding: 8px 13px; border: 1px solid #eee4d4; border-radius: 8px; background: #fffbf4; color: #697486; }
.console-theme .ops-home .ops-home-attention > strong { display: inline-flex; align-items: center; gap: 7px; color: #b68a48; font-size: 12px; line-height: 22px; font-weight: 600; white-space: nowrap; }
.console-theme .ops-home .ops-home-attention > strong > i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #c18f49; background: #f8edd8; font-size: 12px; font-style: normal; }
.console-theme .ops-home .ops-home-attention > button { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: transparent; color: #8c7960; font-size: 11px; line-height: 22px; white-space: nowrap; }
.console-theme .ops-home .ops-home-attention > button > b { color: #bc8b43; font-size: 16px; font-weight: 600; }
.console-theme .ops-home .ops-home-attention > button > span { color: #c9ae86; margin-left: 2px; }
.console-theme .ops-home .ops-home-attention > small { margin-left: auto; color: #9b9286; font-size: 10px; line-height: 16px; text-align: right; }
.console-theme .ops-home .ops-home-attention > small > span { display: block; }
.console-theme .ops-home .ops-home-more { min-width: 0; border: 1px solid #dfe9f7; border-radius: 7px; background: #f7faff; overflow: hidden; }
.console-theme .ops-home .ops-home-more > summary { position: relative; display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 54px 0 18px; color: #111; background: #fff; font-size: 12px; line-height: 22px; cursor: pointer; list-style: none; }
.console-theme .ops-home .ops-home-more > summary::-webkit-details-marker { display: none; }
.console-theme .ops-home .ops-home-more > summary::after { position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border-right: 2px solid #7b8da7; border-bottom: 2px solid #7b8da7; content: ''; transform: translateY(-68%) rotate(45deg); transition: transform .18s ease; }
.console-theme .ops-home .ops-home-more[open] > summary::after { transform: translateY(-30%) rotate(225deg); }
.console-theme .ops-home .ops-home-more > summary:hover { background: #fbfdff; }
.console-theme .ops-home .ops-home-more > summary > span { color: #71829a; font-size: 12px; }
.console-theme .ops-home .ops-home-more > summary > .ops-analysis-summary-title { margin: 0; color: #173e70; font-size: 16px; font-weight: 650; }
.console-theme .ops-home .ops-analysis-stack { display: grid; gap: 14px; padding: 14px; border-top: 1px solid #e2eaf5; }
.console-theme .ops-home .ops-analysis-section { --analysis-tone: #2f80ff; min-width: 0; overflow: hidden; border: 1px solid #dce7f4; border-radius: 7px; background: #fff; box-shadow: 0 2px 9px rgba(38,79,132,.035); }
.console-theme .ops-home .ops-analysis-section.tone-green { --analysis-tone: #22ad78; }
.console-theme .ops-home .ops-analysis-section.tone-orange { --analysis-tone: #f49a32; }
.console-theme .ops-home .ops-analysis-section.tone-purple { --analysis-tone: #7a77df; }
.console-theme .ops-home .ops-analysis-section > .panel-head { align-items: center; padding: 14px 18px; border-bottom: 1px solid #e7edf5; background: linear-gradient(90deg,color-mix(in srgb,var(--analysis-tone),white 94%),#fff 35%); }
.console-theme .ops-home .ops-analysis-section > .panel-head > div { display: grid; grid-template-columns: 29px auto; align-items: center; column-gap: 9px; }
.console-theme .ops-home .ops-analysis-section > .panel-head h2 { margin: 0; color: #162f50; font-size: 17px; line-height: 24px; }
.console-theme .ops-home .ops-analysis-section > .panel-head p { display: block; grid-column: 2; margin-top: 2px; color: #71829a; font-size: 11px; line-height: 18px; }
.console-theme .ops-home .ops-analysis-section > .panel-head .btn { height: 32px; padding: 0 12px; border-color: color-mix(in srgb,var(--analysis-tone),white 65%); color: var(--analysis-tone); background: #fff; }
.console-theme .ops-home .ops-analysis-index { grid-row: 1 / span 2; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; color: #fff; background: var(--analysis-tone); font-size: 11px; font-weight: 700; }
.console-theme .ops-home .ops-analysis-section > .panel-body { padding: 16px 18px 18px; }
.console-theme .ops-home .ops-analysis-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; align-items: stretch; }
.console-theme .ops-home .ops-analysis-block { min-width: 0; min-height: 146px; padding: 13px 14px 14px; border: 1px solid #e7edf5; border-radius: 7px; background: #fbfdff; }
.console-theme .ops-home .ops-analysis-block > h3 { margin: 0 0 12px; padding-bottom: 9px; border-bottom: 1px solid #e9eef5; color: #314d70; font-size: 13px; font-weight: 600; }
.console-theme .ops-home .ops-analysis-block .ops-dashboard-bars { gap: 9px; }
.console-theme .ops-home .ops-analysis-block .ops-dashboard-bar > div { color: #4e6583; font-size: 12px; }
.console-theme .ops-home .ops-analysis-block .ops-dashboard-bar b { color: #1e3859; }
.console-theme .ops-home .ops-analysis-block .ops-dashboard-bar > i { height: 5px; background: #eaf0f7; }
.console-theme .ops-home .ops-analysis-block .ops-dashboard-bar > i em { background: var(--analysis-tone); }
.console-theme .ops-home .ops-analysis-block .ops-dashboard-bar:nth-child(2n) > i em { background: color-mix(in srgb,var(--analysis-tone),#35c58b 42%); }
.console-theme .ops-home .ops-analysis-block .ops-dashboard-bar:nth-child(3n) > i em { background: color-mix(in srgb,var(--analysis-tone),#ffac42 42%); }
.console-theme .ops-home .ops-analysis-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.console-theme .ops-home .ops-analysis-metrics article { display: flex; min-height: 80px; flex-direction: column; justify-content: center; padding: 10px 12px; border-radius: 6px; background: color-mix(in srgb,var(--analysis-tone),white 93%); }
.console-theme .ops-home .ops-analysis-metrics article.muted { background: #f1f4f8; }
.console-theme .ops-home .ops-analysis-metrics strong { color: var(--analysis-tone); font-size: 27px; line-height: 32px; }
.console-theme .ops-home .ops-analysis-metrics article.muted strong { color: #77869a; }
.console-theme .ops-home .ops-analysis-metrics span { color: #657891; font-size: 11px; }
.console-theme .ops-home .ops-analysis-conclusion { display: flex; align-items: stretch; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #e8edf4; }
.console-theme .ops-home .ops-analysis-conclusion > span { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 2px 10px; min-width: 190px; padding: 10px 14px; border-radius: 6px; color: #526a88; background: #f3f8ff; font-size: 11px; }
.console-theme .ops-home .ops-analysis-conclusion strong { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: #16875f; font-size: 26px; line-height: 30px; font-weight: 650; }
.console-theme .ops-home .ops-analysis-conclusion small { color: #8493a6; font-size: 10px; }
.console-theme .ops-home .ops-analysis-conclusion > span.danger { background: #fff5f3; }
.console-theme .ops-home .ops-analysis-conclusion > span.danger strong { color: #df5963; }
.console-theme .ops-home .ops-analysis-section .ops-dashboard-report-cards { margin-bottom: 12px; }
.console-theme .ops-home .ops-analysis-section .ops-dashboard-report-cards article { padding: 12px 14px; border-color: #e5ebf4; background: #fbfdff; }
.console-theme .ops-home .ops-analysis-section .ops-dashboard-report-cards span { color: #657b97; }
.console-theme .ops-home .ops-analysis-section .ops-dashboard-report-cards strong { color: #1f3f67; }
.console-theme .ops-home .ops-analysis-section .ops-dashboard-report-cards em { color: var(--analysis-tone); }
.console-theme .ops-home .ops-home-empty { display: grid; place-items: center; min-height: 165px; color: #555; font-size: 12px; text-align: center; }
.console-theme .ops-home .ops-home-legend > .ops-home-empty { min-height: 0; }
.console-theme .ops-home :is(.ops-home-section-error,.ops-home-error) { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 10px; border: 1px solid #f5ccbd; border-radius: 4px; background: #fff6f1; color: #983b18; font-size: 11px; line-height: 19px; }
.console-theme .ops-home .ops-home-section-error { margin-bottom: 7px; }
.console-theme .ops-home :is(.ops-home-section-error,.ops-home-error) button { flex-shrink: 0; padding: 1px 6px; border: 0; background: transparent; color: #176cd7; }
.console-theme .ops-home .ops-home-page-loading { min-height: 19px; color: #2479f5; font-size: 12px; }
.console-theme .ops-home.is-loading .ops-home-heading::after { content: '更新中…'; align-self: center; padding: 1px 7px; border-radius: 4px; color: #176ad4; background: #eaf3ff; font-size: 11px; font-weight: 400; line-height: 20px; white-space: nowrap; }
.console-theme .ops-home.is-loading .ops-home-refresh { color: #176ad4; border-color: #a9cbf8; background: #edf5ff; cursor: progress; }

.console-theme .ops-home .ops-dashboard-number { display: inline-block; font-variant-numeric: tabular-nums; white-space: nowrap; }
.console-theme .ops-home .ops-dashboard-number > span { display: inline-block; }
.console-theme .ops-home .ops-dashboard-number.is-counting > span { animation: opsHomeNumberRefresh .68s ease both; }
.console-theme .ops-home .ops-home-skeleton { display: grid; gap: 12px; }
.console-theme .ops-home .ops-home-skeleton i { display: block; width: 40%; height: 13px; border-radius: 5px; background: #edf2f8; }
.console-theme .ops-home .ops-home-skeleton .ops-home-kpi i:nth-child(2) { height: 27px; width: 32%; }
.console-theme .ops-home .ops-home-skeleton .ops-home-panel { min-height: 225px; }
.console-theme .ops-home .ops-home-skeleton .ops-home-panel > i + i { margin-top: 22px; width: 100%; height: 125px; background: #f6f8fb; }
.console-theme .ops-home .ops-home-load-error { padding: 20px; }
.console-theme .ops-home .ops-home-load-error p { margin: 8px 0 14px; color: #8290a3; }
.console-theme .ops-home .ops-analysis-section { --analysis-tone: #568de1; }
.console-theme .ops-home .ops-analysis-section.tone-green { --analysis-tone: #53b395; }
.console-theme .ops-home .ops-analysis-section.tone-orange { --analysis-tone: #c69b59; }
.console-theme .ops-home .ops-analysis-section.tone-purple { --analysis-tone: #9b9bcf; }
.console-theme .ops-home .ops-analysis-section > .panel-head h2 { font-size: 14px; }
.console-theme .ops-home .ops-analysis-metrics strong { font-size: 24px; }
.console-theme .ops-home .ops-analysis-conclusion strong { font-size: 23px; }
.console-theme .ops-home .ops-home-more > summary { min-height: 42px; }
.console-theme .ops-home .ops-home-more > summary > .ops-analysis-summary-title { color: #536c8b; font-size: 13px; }
@keyframes opsHomeBarIn { from { transform: scaleY(.05); opacity: .5; } to { transform: scaleY(1); opacity: 1; } }
@keyframes opsHomeRowIn { from { transform: scaleX(.05); opacity: .5; } to { transform: scaleX(1); opacity: 1; } }
@keyframes opsHomeRingIn { from { opacity: .5; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }
@keyframes opsHomeNumberRefresh { 0% { opacity: .35; translate: 0 3px; } 60% { opacity: 1; translate: 0 -1px; } 100% { opacity: 1; translate: 0 0; } }
@media (max-width:1250px) {
  .console-theme .ops-home .ops-home-heading > span { display: none; }
  .console-theme .ops-home .ops-home-report-split { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 10px; }
  .console-theme .ops-home .ops-home-report-split > div + div { padding-left: 10px; }
  .console-theme .ops-home .ops-home-reports .ops-home-donut-layout { grid-template-columns: minmax(0,1fr); }
  .console-theme .ops-home .ops-home-reports .ops-home-donut { width: 108px; }
  .console-theme .ops-home .ops-home-reports .ops-home-legend { padding: 0; }
  .console-theme .ops-home .ops-home-attention { flex-wrap: wrap; gap: 6px 12px; }
  .console-theme .ops-home .ops-analysis-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:1000px) {
  .console-theme .ops-home .ops-home-grid { grid-template-columns: minmax(0,1fr); }
  .console-theme .ops-home .ops-home-reports .ops-home-donut-layout { grid-template-columns: minmax(0,46%) minmax(0,54%); }
  .console-theme .ops-home .ops-home-kpi { padding: 12px; }
}
@media (max-width:700px) {
  .console-theme .ops-home { gap: 10px; }
  .console-theme .ops-home .ops-home-heading h1 { font-size: 20px; }
  .console-theme .ops-home .ops-home-controls { width: 100%; gap: 6px; }
  .console-theme .ops-home .ops-home-range { flex: 1 1 100%; }
  .console-theme .ops-home .ops-home-range button { flex: 1; }
  .console-theme .ops-home .ops-home-controls > select { flex: 1; width: auto; }
  .console-theme .ops-home .ops-home-filter-popover { right: -48px; }
  .console-theme .ops-home .ops-home-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .console-theme .ops-home .ops-home-kpi > strong { font-size: 26px; }
  .console-theme .ops-home .ops-home-panel { padding: 12px; }
  .console-theme .ops-home .ops-home-report-split { grid-template-columns: minmax(0,1fr); }
  .console-theme .ops-home .ops-home-report-split > div + div { padding: 10px 0 0; border-left: 0; border-top: 1px solid #edf1f7; }
  .console-theme .ops-home .ops-home-attention > small { width: 100%; margin: 0; text-align: left; }
  .console-theme .ops-home .ops-home-attention > small > span { display: inline; }
  .console-theme .ops-home .ops-home-more > summary { align-items: flex-start; flex-direction: column; gap: 0; padding: 9px 38px 9px 12px; }
  .console-theme .ops-home .ops-analysis-stack { padding: 9px; gap: 10px; }
  .console-theme .ops-home .ops-analysis-section > .panel-head { padding: 12px; }
  .console-theme .ops-home .ops-analysis-section > .panel-head p { display: none; }
  .console-theme .ops-home .ops-analysis-section > .panel-body { padding: 12px; }
  .console-theme .ops-home .ops-analysis-grid { grid-template-columns: minmax(0,1fr); }
  .console-theme .ops-home .ops-analysis-block { min-height: 0; }
  .console-theme .ops-home .ops-analysis-conclusion { flex-direction: column; }
  .console-theme .ops-home .ops-analysis-conclusion > span { min-width: 0; }
}
@media (prefers-reduced-motion:reduce) {
  .console-theme .ops-home *, .console-theme .ops-home *::before, .console-theme .ops-home *::after { animation: none !important; transition: none !important; }
}

/* Compact dashboard: metrics and actionable rows replace the chart panels. */
.console-theme .ops-home.ops-home-compact { max-width: 1440px; gap: 16px; padding-bottom: 20px; }
.console-theme .ops-home-compact .ops-home-header { min-height: 42px; }
.console-theme .ops-home-compact .ops-home-kpis { gap: 14px; }
.console-theme .ops-home-compact .ops-home-kpi { min-height: 110px; padding: 16px 18px; border-radius: 12px; }
.console-theme .ops-home-compact .ops-home-kpi > strong { font-size: 30px; line-height: 36px; font-variant-numeric: tabular-nums; }
.console-theme .ops-home-compact .ops-home-kpi > span { font-size: 13px; }
.console-theme .ops-home-compact .ops-home-kpi > small { line-height: 20px; }
.console-theme .ops-home-compact .ops-home-status-strip { display: flex; align-items: center; gap: 24px; min-width: 0; padding: 14px 18px; border: 1px solid var(--home-line); border-radius: 12px; background: #fff; }
.console-theme .ops-home-compact .ops-home-status-strip > h2 { flex: none; font-size: 14px; line-height: 24px; font-weight: 600; }
.console-theme .ops-home-compact .ops-home-status-strip > div { display: grid; flex: 1; min-width: 0; grid-template-columns: repeat(4,minmax(0,1fr)); }
.console-theme .ops-home-compact .ops-home-status-item { --status-color: #4c83cd; display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; min-height: 36px; padding: 4px 12px; border: 0; border-radius: 6px; color: #65758c; background: transparent; font-size: 13px; }
.console-theme .ops-home-compact .ops-home-status-item + button { border-left: 1px solid #edf0f5; border-radius: 0; }
.console-theme .ops-home-compact .ops-home-status-item strong { color: var(--status-color); font-size: 23px; line-height: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.console-theme .ops-home-compact .ops-home-status-item.orange { --status-color: #cd8a31; }
.console-theme .ops-home-compact .ops-home-status-item.green { --status-color: #329b77; }
.console-theme .ops-home-compact .ops-home-status-item.red { --status-color: #d16d7e; }
.console-theme .ops-home-compact .ops-home-status-item:hover { background: #f5f8fc; }
.console-theme .ops-home-compact .ops-home-focus-panel { overflow: hidden; min-width: 0; border: 1px solid var(--home-line); border-radius: 12px; background: #fff; }
.console-theme .ops-home-compact .ops-home-focus-panel > header { padding: 16px 20px; border-bottom: 1px solid #edf1f6; }
.console-theme .ops-home-compact .ops-home-focus-panel > header > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; }
.console-theme .ops-home-compact .ops-home-focus-panel h2 { font-size: 15px; line-height: 24px; font-weight: 600; }
.console-theme .ops-home-compact .ops-home-focus-panel > header span { color: #8995a7; font-size: 12px; }
.console-theme .ops-home-compact .ops-home-focus-row { --focus-color: #568de1; --focus-tint: #edf4ff; display: grid; width: 100%; min-width: 0; grid-template-columns: 36px minmax(0,1fr) auto 100px; align-items: center; gap: 16px; min-height: 78px; padding: 14px 20px; border: 0; color: var(--home-text); background: #fff; text-align: left; }
.console-theme .ops-home-compact .ops-home-focus-row + button { border-top: 1px solid #edf1f6; }
.console-theme .ops-home-compact .ops-home-focus-row:hover { background: #f8faff; }
.console-theme .ops-home-compact .ops-home-focus-row.red { --focus-color: #cd6a7c; --focus-tint: #fdf0f3; }
.console-theme .ops-home-compact .ops-home-focus-row.orange { --focus-color: #bc893e; --focus-tint: #fff6e7; }
.console-theme .ops-home-compact .ops-home-focus-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--focus-color); background: var(--focus-tint); font-size: 16px; font-weight: 600; }
.console-theme .ops-home-compact .ops-home-focus-copy { display: grid; min-width: 0; gap: 4px; }
.console-theme .ops-home-compact .ops-home-focus-copy > span { font-size: 14px; line-height: 21px; }
.console-theme .ops-home-compact .ops-home-focus-copy > small { color: #8895a8; font-size: 12px; line-height: 18px; }
.console-theme .ops-home-compact .ops-home-focus-count { display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; min-width: 68px; color: var(--focus-color); }
.console-theme .ops-home-compact .ops-home-focus-count > strong { font-size: 27px; line-height: 34px; font-weight: 600; font-variant-numeric: tabular-nums; }
.console-theme .ops-home-compact .ops-home-focus-count > small { color: #8591a3; font-size: 12px; }
.console-theme .ops-home-compact .ops-home-focus-count.is-zero > strong { color: #99a6b7; }
.console-theme .ops-home-compact .ops-home-focus-action { display: flex; align-items: center; justify-content: flex-end; gap: 12px; color: #6d89af; font-size: 12px; white-space: nowrap; }
.console-theme .ops-home-compact .ops-home-focus-action > span { font-size: 20px; }
.console-theme .ops-home-compact .ops-home-compact-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 0 2px; color: #8995a7; font-size: 11px; line-height: 20px; }
.console-theme .ops-home-compact .ops-home-compact-footer > div { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.console-theme .ops-home-compact .ops-home-compact-footer button { padding: 0; border: 0; background: transparent; color: #6789b7; font-size: 12px; }
.console-theme .ops-home-compact .ops-home-compact-footer small { color: #8995a7; font-size: 11px; }
.console-theme .ops-home-compact .ops-home-stat-warnings { display: grid; gap: 6px; }
.console-theme .ops-home-compact .ops-home-stat-warnings .ops-home-section-error { margin: 0; }
.console-theme .ops-home-compact .ops-home-compact-placeholder { display: grid; gap: 16px; padding: 18px; border: 1px solid var(--home-line); border-radius: 12px; background: #fff; }
.console-theme .ops-home-compact .ops-home-compact-placeholder > i { width: 100%; height: 30px; }
@media (max-width: 1000px) {
  .console-theme .ops-home-compact .ops-home-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .console-theme .ops-home-compact .ops-home-heading > span { display: none; }
}
@media (max-width: 700px) {
  .console-theme .ops-home.ops-home-compact { gap: 12px; }
  .console-theme .ops-home-compact .ops-home-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .console-theme .ops-home-compact .ops-home-kpi { min-height: 96px; padding: 12px; }
  .console-theme .ops-home-compact .ops-home-kpi > strong { font-size: 26px; }
  .console-theme .ops-home-compact .ops-home-status-strip { display: block; padding: 12px; }
  .console-theme .ops-home-compact .ops-home-status-strip > h2 { margin-bottom: 8px; }
  .console-theme .ops-home-compact .ops-home-status-item { flex-direction: column; gap: 2px; padding: 4px; font-size: 12px; }
  .console-theme .ops-home-compact .ops-home-focus-panel > header { padding: 12px 14px; }
  .console-theme .ops-home-compact .ops-home-focus-panel > header span { display: none; }
  .console-theme .ops-home-compact .ops-home-focus-row { grid-template-columns: 32px minmax(0,1fr) auto; gap: 10px; padding: 12px 14px; }
  .console-theme .ops-home-compact .ops-home-focus-icon { width: 32px; height: 32px; }
  .console-theme .ops-home-compact .ops-home-focus-copy > small { font-size: 11px; }
  .console-theme .ops-home-compact .ops-home-focus-action { display: none; }
  .console-theme .ops-home-compact .ops-home-scope-note { display: none; }
}
