@font-face{font-family:Inter;src:url(/fonts/inter-regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url(/fonts/inter-medium.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url(/fonts/inter-semibold.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url(/fonts/inter-bold.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
html[data-theme="light"] body[data-page="reports"],
html[data-theme="dark"] body[data-page="reports"]{background:#ffffff;color:#0B1F3A;overflow-x:hidden}
body[data-page="reports"] .app,
body[data-page="reports"] .main,
body[data-page="reports"] .content,
body[data-page="reports"] .topbar{max-width:100%;min-width:0}
body[data-page="reports"] .topbar{box-sizing:border-box;overflow-x:auto}
body[data-page="reports"] .topnav{min-width:0;overflow-x:auto}
body[data-page="reports"] .brandLockup{flex:1 1 auto;min-width:0;max-width:100%;overflow:hidden}
body[data-page="reports"] .brandLockup .churchName{min-width:0;overflow:hidden}
body[data-page="reports"] .brandLockup .churchName b{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-page="reports"] .top{display:none}
html[data-theme="light"] body[data-page="reports"] .content,
html[data-theme="dark"] body[data-page="reports"] .content{padding:0 0 40px;background:#ffffff;color:#0B1F3A}
.insights,.insightRail,.insightMain{min-width:0;max-width:100%}
.insights{display:grid;grid-template-columns:76px minmax(0,1fr);min-height:calc(100vh - 92px);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#0B1F3A;background:#ffffff;width:100%}
.insightRail{display:flex;flex-direction:column;gap:6px;padding:16px 10px;border-right:1px solid #e2e8f2;background:#f7f8fb}
.insightRail button{position:relative;width:48px;height:48px;border:0;border-radius:14px;background:transparent;color:#3E5270;cursor:pointer;display:grid;place-items:center}
.insightRail button span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.insightRail button.active,.insightRail button:hover{background:#E8EEF8;color:#0B1F3A;box-shadow:inset 0 0 0 1px #1E4BB8}
.insightRail svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.insightMain{min-width:0;padding:28px 28px 48px}
.insightHead{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;flex-wrap:wrap}
.insightHead h2{margin:0;font-size:clamp(28px,3vw,40px);letter-spacing:-.04em;color:#0B1F3A}
.insightHead p{margin:6px 0 0;color:#3E5270}
.insightRange{display:flex;flex-wrap:wrap;gap:8px;align-items:end}
.insightRange button,.insightRange input{font:inherit}
.insightRange button{border:1px solid #e2e8f2;background:#ffffff;color:#0B1F3A;border-radius:999px;padding:8px 12px;cursor:pointer;font-weight:600}
.insightRange button.active{background:#1E4BB8;border-color:#1E4BB8;color:#fff}
.insightRange label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#3E5270;font-weight:600}
.insightRange input{background:#ffffff;color:#0B1F3A;border:1px solid #e2e8f2;border-radius:10px;padding:8px;max-width:100%;min-width:0}
.insightCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}
.insightCard{background:#ffffff;border:1px solid #e2e8f2;border-radius:18px;padding:16px;box-shadow:0 12px 32px rgba(11,31,58,.06);min-width:0}
.insightCard b{display:block;font-size:32px;letter-spacing:-.04em;line-height:1;color:#0B1F3A}
.insightCard strong{display:block;margin-top:8px;font-size:14px;color:#0B1F3A}
.insightCard small{display:block;margin-top:4px;color:#3E5270;font-size:12px}
.miniBars{display:flex;align-items:flex-end;gap:3px;height:42px;margin-top:14px}
.miniBars i{flex:1;min-width:2px;background:linear-gradient(180deg,#8FB0F0,#1E4BB8);border-radius:3px 3px 0 0;display:block}
.miniBars i.zero{height:4px;background:#e2e8f2}
.insightSplit{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.8fr);gap:14px;margin-top:14px}
.trendCard,.feedCard,.breakCard{background:#ffffff;border:1px solid #e2e8f2;border-radius:18px;padding:16px;box-shadow:0 12px 32px rgba(11,31,58,.06);min-width:0}
.trendCard{background:
  radial-gradient(420px 160px at 90% 0%, rgba(30,75,184,.16), transparent 60%),
  #ffffff}
.trendCard h3,.feedCard h3,.breakCard h3{margin:0 0 12px;font-size:16px;color:#0B1F3A}
.trendWrap{position:relative}
.trendSvg{width:100%;height:auto;display:block}
.trendTip{position:absolute;top:8px;background:#ffffff;color:#0B1F3A;border:1px solid #1E4BB8;border-radius:10px;padding:8px 10px;font-size:13px;pointer-events:none;max-width:220px}
.legend{display:flex;gap:14px;color:#3E5270;font-size:12px;margin-top:8px}
.legend i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}
.legend .g{background:#1E4BB8}
.legend .s{background:#163E96}
.feed{display:grid;gap:10px;max-height:320px;overflow:auto}
.feed article{display:grid;grid-template-columns:10px 1fr;gap:10px;align-items:start}
.feed i{width:10px;height:10px;border-radius:50%;background:#1E4BB8;margin-top:5px}
.feed b{font-weight:600;color:#0B1F3A}
.feed time{display:block;color:#3E5270;font-size:12px}
.bars{display:grid;gap:10px}
.barRow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.barRow span{color:#0B1F3A}
.barTrack{grid-column:1/-1;height:8px;background:#e2e8f2;border-radius:99px;overflow:hidden}
.barTrack b{display:block;height:100%;background:#1E4BB8;border-radius:99px}
.progress{margin-top:18px}
.progress p{margin:0 0 8px;color:#0B1F3A}
.progress .barTrack{height:12px}
.progress small{color:#3E5270}
.insightWait{color:#3E5270}
.insightLegacy{padding-top:8px}
.insightLegacy .reportHero,.insightLegacy .panel,.insightLegacy .kpi{color:#0B1F3A}
.insightRail button:focus-visible,.insightRange button:focus-visible,.insightRange input:focus-visible{outline:3px solid #1E4BB8;outline-offset:2px}
@media (prefers-reduced-motion: no-preference){
  .insightCard{transition:transform .16s ease, box-shadow .16s ease}
  .insightCard:hover{transform:translateY(-3px)}
}
@media (max-width:980px){
  .insightCards,.insightSplit{grid-template-columns:1fr 1fr}
}
@media (max-width:1023px){
  body[data-page="reports"] .topbar{flex-wrap:wrap}
  body[data-page="reports"] .brandLockup img.headerWordmark{height:32px !important;max-width:min(168px,42vw) !important}
}
@media (max-width:720px){
  .insights{display:flex;flex-direction:column;grid-template-columns:1fr;width:100%;max-width:100%;overflow-x:hidden}
  .insightRail{flex-direction:row;flex-wrap:nowrap;width:100%;max-width:100%;min-width:0;overflow-x:auto;border-right:0;border-bottom:1px solid #e2e8f2}
  .insightRail button{flex:0 0 48px}
  .insightMain{padding:18px 14px 36px}
  .insightCards,.insightSplit{grid-template-columns:1fr}
}
