/* Readable report cards and charts, scoped to the completion report. */
html body .gd-earnings .gd-report-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:end;margin:0 0 24px}
html body .gd-earnings .gd-report-form>label{display:grid;gap:6px;margin:0;min-width:0;font-size:13px}
html body .gd-earnings .gd-report-form input,html body .gd-earnings .gd-report-form select{box-sizing:border-box;width:100%;max-width:100%;min-width:0;height:46px;margin:0;padding:10px 12px;font-size:16px}
html body .gd-earnings .gd-report-form>button{margin:0;min-height:46px;align-self:end}
.gd-report-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 16px}
.gd-report-metric{display:grid;align-content:start;gap:8px;min-width:0;padding:18px;border:1px solid #8495aa33;border-radius:14px;background:#5ebdab09;overflow-wrap:anywhere}
.gd-report-metric>span{font-size:13px;line-height:1.4;color:var(--muted,#aab5ca)}
.gd-report-metric>strong{font-size:clamp(24px,2.5vw,34px);font-weight:700;line-height:1.2;letter-spacing:-.5px}
.gd-report-metric>small{font-size:12px;line-height:1.45;color:var(--muted,#aab5ca)}
.gd-report-trend{font-size:13px;line-height:1.4;font-weight:600}
.gd-report-trend[data-direction=up]{color:#56cbb5}.gd-report-trend[data-direction=down]{color:#ee9ca9}
html[data-theme=day] .gd-report-trend[data-direction=up]{color:#087d69}html[data-theme=day] .gd-report-trend[data-direction=down]{color:#a33950}
.gd-report-comparison,.gd-report-client-note{font-size:12px;line-height:1.55;margin:12px 0;color:var(--muted,#aab5ca)}
.gd-report-chart{margin:24px 0 0;padding:18px;border:1px solid #8495aa33;border-radius:14px;min-width:0}
.gd-report-chart>figcaption{font-size:16px;font-weight:650;line-height:1.4;margin:0 0 16px}
.gd-report-chart-scroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding-bottom:6px}
.gd-report-months{list-style:none;display:grid;grid-template-columns:repeat(var(--report-months,1),minmax(72px,1fr));min-width:calc(var(--report-months,1)*80px);gap:10px;margin:0;padding:0}
.gd-report-months>li{display:grid;grid-template-rows:minmax(32px,auto) 112px auto auto;gap:6px;text-align:center;min-width:0;align-items:end;font-size:12px;line-height:1.4}
.gd-report-month-value{font-size:12px;overflow-wrap:anywhere;line-height:1.3}
.gd-report-bar-track{height:112px;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid #8495aa33}
.gd-report-bar{display:block;width:min(40px,70%);min-height:0;height:var(--report-bar,0%);background:#53b8a8;border-radius:6px 6px 0 0}
.gd-report-months>li>small{color:var(--muted,#aab5ca);font-size:11px}
.gd-report-chart-hint{font-size:12px;color:var(--muted,#aab5ca);margin:10px 0 0}
.gd-report-staff{margin:24px 0 0;padding:0;list-style:none;display:grid;gap:0}
.gd-report-staff>li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px 0;border-bottom:1px solid #8495aa26;line-height:1.4;font-size:14px}
.gd-report-staff>li>span{white-space:nowrap;text-align:right}
.gd-report-demo-note{padding:10px 12px;border-radius:10px;background:#9574c812;font-size:13px;line-height:1.5;margin:0 0 16px}
@media(max-width:680px){.gd-report-cards{grid-template-columns:minmax(0,1fr);gap:10px}.gd-report-metric{grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:16px}.gd-report-metric>strong{grid-column:2;grid-row:1/3;font-size:26px;text-align:right;align-self:center}.gd-report-metric>small{grid-column:1/-1}.gd-report-metric>.gd-report-trend{grid-column:1;grid-row:2}.gd-report-chart{padding:14px}.gd-report-staff>li{grid-template-columns:minmax(0,1fr)}.gd-report-staff>li>span{text-align:left;white-space:normal}}
@media(max-width:420px){html body .gd-earnings .gd-report-form{grid-template-columns:minmax(0,1fr);gap:14px}.gd-report-metric{grid-template-columns:minmax(0,1fr)}.gd-report-metric>strong{grid-column:1;grid-row:auto;text-align:left}.gd-report-metric>.gd-report-trend{grid-row:auto}.gd-report-months{gap:8px}}
html body .gd-earnings .gd-report-form>label:has(select){grid-column:1/-1}
