.insights-operations { display: grid; min-width: 0; gap: 22px; }
.insights-rhythm-card { background: linear-gradient(135deg, rgba(248,252,255,.96), rgba(255,255,255,.93) 58%); }
.insights-rhythm-layout { display: grid; grid-template-columns: minmax(175px, .78fr) minmax(0, 2fr); gap: 28px; }
.insights-weekday-panel { padding-right: 26px; border-right: 1px solid #e5edf6; min-width: 0; }
.insights-panel-subhead { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; min-height: 35px; }
.insights-panel-subhead h4 { margin: 0; color: #385775; font-size: 12px; font-weight: 600; }
.insights-panel-subhead > span { color: #8597aa; font-size: 10px; }
.insights-weekdays { display: grid; gap: 17px; }
.insights-weekday { display: grid; grid-template-columns: 26px minmax(20px, 1fr) auto; align-items: center; gap: 10px; border-radius: 4px; outline-offset: 4px; }
.insights-weekday-name { color: #7c8fa4; font-size: 10px; }
.insights-weekday > strong { color: #536f8c; font-size: 11px; font-weight: 500; text-align: right; min-width: 36px; font-variant-numeric: tabular-nums; }
.insights-weekday-track { height: 8px; border-radius: 4px; background: #eaf1f9; overflow: hidden; }
.insights-weekday-track > i { display: block; height: 100%; background: linear-gradient(90deg, #a9cbf4, #6b9fdf); border-radius: inherit; }
.insights-weekday-best .insights-weekday-track > i { background: linear-gradient(90deg, #72afff, #2777eb); }
.insights-weekday-best > strong, .insights-weekday-best .insights-weekday-name { color: #2777db; font-weight: 600; }
.insights-weekday-track > i.is-negative { background: #c88174; }
.insights-rhythm-highlight { display: flex; align-items: flex-start; gap: 9px; margin-top: 23px; padding-top: 17px; border-top: 1px solid #e7eef7; }
.insights-rhythm-spark { display: grid; place-items: center; flex-shrink: 0; width: 25px; height: 25px; color: #347ede; background: #e9f2ff; border-radius: 7px; font-size: 15px; }
.insights-rhythm-highlight > div { display: grid; gap: 4px; }
.insights-rhythm-highlight strong { font-size: 10px; color: #477199; font-weight: 600; }
.insights-rhythm-highlight div > span { color: #8b9caf; font-size: 9px; line-height: 1.6; }
.insights-hourly-panel { min-width: 0; }
.insights-hourly-heading { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 0; }
.insights-heatmap-controls { flex-shrink: 0; }
.insights-heatmap-controls button { padding: 5px 9px; font-size: 10px; }
.insights-heatmap-scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: #c8d7e9 transparent; }
.insights-heatmap { position: relative; min-width: 520px; padding-top: 39px; padding-bottom: 4px; }
.insights-heatmap-help { position: absolute; top: 13px; left: 38px; color: #95a5b7; font-size: 9px; }
.insights-heatmap-grid { display: grid; grid-template-columns: 30px repeat(24, minmax(0, 1fr)); grid-template-rows: 17px repeat(7, 21px); gap: 5px; align-items: stretch; }
.insights-heatmap-day, .insights-heatmap-hour { display: flex; align-items: center; color: #8093a8; font-size: 9px; }
.insights-heatmap-hour { justify-content: center; font-size: 8px; white-space: nowrap; align-items: flex-start; }
.insights-heatmap-cell { display: grid; place-items: center; border-radius: 4px; outline-offset: 2px; transition: filter 120ms ease, box-shadow 120ms ease; }
.insights-heatmap-cell:hover, .insights-heatmap-cell:focus { box-shadow: 0 0 0 2px #1d5da4; outline: none; z-index: 1; }
.insights-heatmap-tip { visibility: hidden; position: absolute; top: 4px; left: 36px; max-width: calc(100% - 44px); border-radius: 7px; padding: 7px 10px; background: #193c61; color: #fff; font-size: 10px; font-weight: 400; line-height: 1.5; pointer-events: none; z-index: 2; box-shadow: 0 3px 9px #14345312; }
.insights-heatmap-cell:hover .insights-heatmap-tip, .insights-heatmap-cell:focus .insights-heatmap-tip { visibility: visible; }
.insights-heatmap:has(.insights-heatmap-cell:hover) .insights-heatmap-help, .insights-heatmap:has(.insights-heatmap-cell:focus) .insights-heatmap-help { visibility: hidden; }
.insights-heatmap-level-0 { background: #edf3fa; }
.insights-heatmap-level-1 { background: #d7e8ff; }
.insights-heatmap-level-2 { background: #afd1ff; }
.insights-heatmap-level-3 { background: #77aef5; }
.insights-heatmap-level-4 { background: #4589e7; }
.insights-heatmap-level-5 { background: #2466be; }
.insights-heatmap-negative { background: #c88174; }
.insights-heatmap-missing { background: repeating-linear-gradient(-45deg, #f4f6f9 0 3px, #e9eef4 3px 4px); }
.insights-heatmap-peak > i { display: block; width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #ffffff25; }
.insights-heatmap-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.insights-heatmap-footer > span { color: #94a3b4; font-size: 9px; line-height: 1.5; }
.insights-heatmap-scale { display: flex; align-items: center; gap: 3px; }
.insights-heatmap-scale > span { margin: 0 3px; font-size: 9px; color: #8b9dae; }
.insights-heatmap-scale > i { width: 10px; height: 10px; border-radius: 2px; }
.insights-peak-note { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 15px; padding: 10px 12px; border: 1px solid #e4edf9; border-radius: 9px; color: #7b93ae; background: #f4f8fe; font-size: 10px; }
.insights-peak-dot { width: 6px; height: 6px; background: #2d77dd; border-radius: 50%; }
.insights-peak-note strong { color: #4a6c94; font-weight: 500; }
.insights-peak-note > strong { margin-left: auto; color: #286cc6; white-space: nowrap; }
.insights-discovery-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.insights-channel-stack { display: flex; gap: 3px; height: 13px; margin: 4px 0 25px; border-radius: 5px; overflow: hidden; background: #f2f6fb; }
.insights-channel-stack > span { display: block; min-width: 2px; background: var(--insights-channel-color); border-radius: 2px; }
.insights-channel-list { display: grid; gap: 21px; }
.insights-channel-name { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.insights-channel-name > i { width: 7px; height: 7px; flex-shrink: 0; background: var(--insights-channel-color); border-radius: 2px; }
.insights-channel-name > strong { color: #49647e; font-weight: 500; overflow-wrap: anywhere; }
.insights-channel-name > span { margin-left: auto; color: #53708f; font-size: 11px; }
.insights-channel-track { height: 4px; margin: 9px 0 7px 15px; border-radius: 3px; background: #f0f4f9; }
.insights-channel-track > span { display: block; height: 100%; border-radius: inherit; background: var(--insights-channel-color); opacity: .6; }
.insights-channel-details { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 13px; margin-left: 15px; color: #8a9cae; font-size: 10px; font-variant-numeric: tabular-nums; }
.insights-channel-details > strong { color: #59718d; font-weight: 500; margin-left: auto; }
.insights-channel-details small { font-size: 9px; color: #90a0b0; font-weight: 400; }
.insights-pairs-card { background: linear-gradient(150deg, rgba(255,255,255,.95) 25%, rgba(246,251,251,.92)); }
.insights-basket-strip { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; margin: -2px 0 22px; padding: 17px 19px; background: #eff7f7; border: 1px solid #e0eeed; border-radius: 12px; }
.insights-basket-strip > div { display: grid; gap: 5px; }
.insights-basket-strip > div + div { border-left: 1px solid #d7e9e6; padding-left: 21px; }
.insights-basket-strip strong { color: #3d817c; font: 600 24px/1.2 "Sora", sans-serif; letter-spacing: -.7px; font-variant-numeric: tabular-nums; }
.insights-basket-strip span { color: #70908e; font-size: 10px; }
.insights-pair-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.insights-pair-list > li { display: flex; align-items: flex-start; gap: 11px; }
.insights-pair-rank { color: #99adae; font-size: 10px; padding-top: 2px; font-variant-numeric: tabular-nums; }
.insights-pair-main { flex: 1; min-width: 0; }
.insights-pair-names { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 7px; font-size: 11px; line-height: 1.5; }
.insights-pair-names strong { color: #4d6e76; font-weight: 500; overflow-wrap: anywhere; }
.insights-pair-names > span { color: #88b3a6; }
.insights-pair-track { height: 4px; margin: 7px 0 4px; border-radius: 3px; background: #eaf2f0; }
.insights-pair-track > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #9dcabd, #63aa98); }
.insights-pair-share { font-size: 9px; color: #97a8a9; }
.insights-pair-count { color: #52867c; font-size: 12px; font-weight: 600; text-align: right; min-width: 35px; font-variant-numeric: tabular-nums; }
.insights-pair-count small { display: block; margin-top: 3px; color: #99aaa9; font-size: 9px; font-weight: 400; }
.insights-panel-empty { display: grid; place-items: center; min-height: 130px; margin: 0; padding: 25px; border: 1px dashed #dce7ef; border-radius: 11px; background: #f9fbfd; color: #8599aa; text-align: center; font-size: 12px; line-height: 1.7; }
.insights-engagement-card { background: linear-gradient(120deg, rgba(248,253,252,.95), rgba(255,255,255,.92)); }
.insights-engagement-layout { display: grid; grid-template-columns: minmax(170px, .8fr) minmax(0, 1.8fr); gap: 35px; align-items: center; }
.insights-link-coverage > div:first-child { display: flex; align-items: center; gap: 12px; }
.insights-link-coverage strong { color: #3e8a79; font: 600 29px/1.2 "Sora", sans-serif; letter-spacing: -.9px; font-variant-numeric: tabular-nums; }
.insights-link-coverage div > span { color: #77918e; max-width: 125px; font-size: 10px; line-height: 1.5; }
.insights-coverage-track { height: 8px; margin: 13px 0 7px; border-radius: 5px; background: #e5f0ed; overflow: hidden; }
.insights-coverage-track > span { display: block; max-width: none !important; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #9dd4be, #58a98b); }
.insights-link-coverage > span { color: #99aba7; font-size: 10px; }
.insights-engagement-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; border-left: 1px solid #deebe6; padding-left: 30px; }
.insights-engagement-metrics > div { display: grid; align-content: start; gap: 6px; }
.insights-engagement-metrics strong { color: #496f73; font: 600 24px/1.2 "Sora", sans-serif; letter-spacing: -.7px; font-variant-numeric: tabular-nums; }
.insights-engagement-metrics span { color: #69868a; font-size: 11px; }
.insights-engagement-metrics small { color: #9babae; font-size: 9px; line-height: 1.5; }
.insights-weekday:focus-visible { outline: 2px solid #72a9f4; }
@media (max-width: 1100px) {
  .insights-rhythm-layout { grid-template-columns: minmax(170px, .8fr) minmax(0, 1.8fr); gap: 21px; }
  .insights-weekday-panel { padding-right: 20px; }
  .insights-engagement-layout { gap: 24px; }
  .insights-engagement-metrics { gap: 17px; padding-left: 24px; }
}
@media (max-width: 820px) {
  .insights-operations, .insights-discovery-grid { gap: 18px; }
  .insights-rhythm-layout, .insights-discovery-grid { grid-template-columns: 1fr; }
  .insights-weekday-panel { padding: 0 0 21px; border-right: 0; border-bottom: 1px solid #e5edf6; }
  .insights-weekdays { gap: 13px; }
  .insights-weekday { grid-template-columns: 30px minmax(20px, 1fr) 62px; }
  .insights-weekday-track { height: 9px; }
  .insights-rhythm-highlight { margin-top: 18px; padding-top: 0; border: 0; }
  .insights-engagement-layout { grid-template-columns: 1fr; }
  .insights-engagement-metrics { border-left: 0; border-top: 1px solid #deebe6; padding: 22px 0 0; }
  .insights-link-coverage div > span { max-width: none; }
}
@media (max-width: 480px) {
  .insights-channel-details { gap: 6px 9px; font-size: 9px; }
  .insights-basket-strip { padding: 15px; gap: 12px; }
  .insights-basket-strip > div + div { padding-left: 15px; }
  .insights-basket-strip strong { font-size: 21px; }
  .insights-basket-strip span { font-size: 9px; }
  .insights-engagement-metrics { gap: 12px; }
  .insights-engagement-metrics strong { font-size: 21px; }
  .insights-engagement-metrics span { font-size: 10px; }
  .insights-engagement-metrics small { font-size: 8px; }
  .insights-peak-note { font-size: 9px; }
  .insights-peak-note > strong { margin-left: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .insights-heatmap-cell { transition: none; }
}
