#project-overview {padding:clamp(1rem,3vw,1.8rem)}
#project-overview h2{font-size:1.6rem}
#project-overview h3{font:650 1.28rem/1.3 system-ui;margin:.2rem 0 .7rem}
#project-overview h4{font-size:1.08rem;margin:0 0 .2rem}
#project-overview p{margin:.45rem 0 .8rem}
#project-overview .muted{color:#5c5065;font-size:.92rem}
.insight-bar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}
#project-overview .quiet{background:#f4eff8;color:#4d2e72}
#project-overview .project-switch{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.45rem;margin:.9rem 0 1.4rem}
#project-overview .project-switch button{border:1px solid #c9bbd5;background:#fff;color:#4b2b6b}
#project-overview .project-switch button[aria-pressed=true]{background:#4b2b6b;color:#fff;border-color:#4b2b6b}
#project-overview .period{display:flex;align-items:center;gap:.55rem;font-size:.92rem}
#project-overview .period select{font-size:1rem}
.insight-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(9rem,100%),1fr));gap:.6rem;margin:.6rem 0}
.insight-stat{padding:.8rem .95rem;border:1px solid #dbd1e3;border-radius:.65rem;background:#f8f5fb;min-width:0}
.insight-stat strong,.insight-stat span{display:block}
.insight-stat strong{font:650 1.65rem/1.2 system-ui;font-variant-numeric:tabular-nums}.insight-stat span{font-size:.92rem}
#project-overview details{border-top:1px solid #e1d9e7;padding:.65rem 0}
#project-overview summary{font-weight:670;color:#553478;cursor:pointer;min-height:2.5rem;align-content:center}
.insight-block{border-top:1px solid #d8ccdf;padding-top:1.15rem;margin-top:1.15rem}
.insight-row{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;padding:.38rem 0;border-bottom:1px solid #eee8f1}
.insight-row b{font-variant-numeric:tabular-nums;flex-shrink:0}
.insight-item{padding:.7rem 0;border-bottom:1px solid #e7dfeb}
.insight-item small,.insight-item span{display:block}.insight-item small{color:#5c5065;font-size:.88rem}
.insight-item .notes{white-space:pre-line;font-size:.96rem}
.insight-partner{padding:1rem;border:1px solid #d8ccdf;border-radius:.65rem;margin:.7rem 0}
.insight-partner dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(11rem,100%),1fr));gap:.45rem .9rem;margin:.6rem 0}
.insight-partner dl>div{padding:.35rem 0}.insight-partner dt{font-size:.91rem;color:#5b5064}.insight-partner dd{margin:0;font-weight:650}
#project-overview .entry-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.05rem .9rem;margin:.5rem 0}
#project-overview .full{grid-column:1/-1}
@media(max-width:620px){#project-overview .project-switch,#project-overview .entry-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:460px){#project-overview .entry-fields{grid-template-columns:1fr}.insight-partner{padding:.7rem}.project-account .project-switch button{padding:.65rem .4rem}}
.brand-workspace #project-overview .project-switch{display:none}
.brand-workspace #review-items,.brand-workspace .review-actions{display:flex;flex-wrap:wrap;gap:.75rem}
.brand-workspace #review-items article{display:flex;align-items:center;gap:.5rem}
.brand-workspace #review-detail{margin-top:1rem;padding:1rem;border:1px solid currentColor;border-radius:.6rem}
.brand-workspace #review-detail textarea{width:100%;margin:.5rem 0}

/* Project reports share their page's established ink, paper and accent. */
#project-overview{--report-line:#dcd6df;--report-soft:#f7f5f9;color:var(--ink,#352449)}
#project-overview .project-switch button[aria-pressed=true]{background:var(--accent);border-color:var(--accent)}
#project-overview .report-nav,.chart-switch{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:.3rem}
#project-overview .report-nav{padding:0 0 .65rem;border-bottom:2px solid var(--report-line);margin:.5rem 0 1.1rem}
#project-overview .report-nav button,#project-overview .chart-switch button{background:transparent;color:var(--ink);border:1px solid transparent;border-radius:.45rem}
#project-overview .report-nav button[aria-pressed=true],#project-overview .chart-switch button[aria-pressed=true]{background:var(--accent,#59368b);color:#fff}
#project-overview .report-nav button:hover:not([aria-pressed=true]),#project-overview .chart-switch button:hover:not([aria-pressed=true]){background:var(--report-soft)}
#project-overview .chart-switch{background:var(--report-soft);padding:.15rem;border-radius:.55rem}
#project-overview .chart-switch button{font-size:.9rem;padding:.35rem .75rem}
.visitor-report{font-variant-numeric:tabular-nums}
#project-overview .insight-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;margin:.7rem 0}
#project-overview .insight-stat{background:var(--report-soft);border:1px solid var(--report-line);padding:.85rem 1rem}
#project-overview .insight-stat:first-child{background:var(--accent);color:white;border-color:var(--accent)}
#project-overview .insight-stat strong{font-size:clamp(1.7rem,3.8vw,2.25rem);margin-bottom:.16rem}
#project-overview .traffic-meta{color:var(--ink);margin:.55rem 0 1.05rem;font-size:.96rem}
.activity-time,.ranking-note{display:block;font-size:.9rem;color:#514b57;line-height:1.45}
.visitor-report .report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;margin:.85rem 0}
.visitor-report .report-card{min-width:0;background:#fff;border:1px solid var(--report-line);border-radius:.75rem;padding:clamp(.85rem,2.5vw,1.2rem)}
#project-overview .report-card h4{font-size:1.1rem;line-height:1.25;margin:0 0 .65rem}
#project-overview .report-card h5{font-size:1rem;margin:1rem 0 .3rem}
#project-overview .report-card .insight-row{font-size:.96rem;align-items:baseline}
#project-overview .rank-list,#project-overview .member-list{list-style:none;padding:0;margin:.4rem 0}
.rank-list li{margin-bottom:.68rem}
.rank-list .insight-row{border:0;padding:0}
.rank-track{height:.32rem;background:var(--report-soft);border-radius:1rem;margin-top:.2rem}
.rank-track i,.chart-column i{display:block;border-radius:.3rem;background:var(--accent)}
.report-card details{margin-top:.6rem}
#project-overview .report-card summary,#project-overview .metric-help summary{color:var(--accent)}
.report-table{max-height:19rem;overflow:auto}
.report-table table{width:100%;border-collapse:collapse;font-size:.91rem}
.report-table td,.report-table th{text-align:right;padding:.32rem .38rem;border-bottom:1px solid var(--report-line)}
.report-table th:first-child{text-align:left}
.report-table thead{position:sticky;top:0;background:var(--report-soft)}
.daily-plot{display:flex;gap:.55rem;height:6.25rem;margin:1.1rem 0 .15rem}
.chart-scale{min-width:1.75rem;display:flex;flex-direction:column;justify-content:space-between;font-size:.85rem;color:#514b57}
.daily-bars{flex:1;display:flex;align-items:end;gap:clamp(1px,.4vw,5px);border-top:1px dashed var(--report-line);border-bottom:1px solid var(--report-line);min-width:0}
.chart-column{flex:1;min-width:0;height:100%;display:flex;align-items:end;justify-content:center}
.chart-column i{width:100%;max-width:2.5rem;border-radius:3px 3px 0 0}
.chart-axis{margin-left:2.3rem;display:flex;justify-content:space-between;gap:1rem;font-size:.86rem;color:#514b57}
#project-overview .metric-help{margin-top:1rem}
#project-overview .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:660px){
  #project-overview .insight-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .visitor-report .report-grid{grid-template-columns:1fr}
  #project-overview .report-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  #project-overview .report-nav button{padding:.55rem .4rem}
  #project-overview .period{flex-wrap:wrap}
}
