.report-layout-switch{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:0 0 20px;font-size:.85rem}.report-layout-switch .segmented{margin:0}.report-layout-switch button{font:inherit!important;padding:9px 18px!important;width:auto!important;height:auto!important}.compact-report{--compact-ink:#14365c}.compact-report .report-controls{gap:12px;margin-bottom:16px;flex-wrap:wrap}.compact-overview{display:flex;flex-wrap:wrap;gap:12px 28px;padding:15px 18px;background:#eef4f8;border:1px solid #d7e2eb;border-radius:12px;font-size:.8rem}.compact-overview b{font-size:.95rem}.compact-help{font-size:.76rem;line-height:1.55;color:#50657b;margin:12px 0 18px}.compact-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.compact-card{position:relative;min-width:0;padding:18px;background:rgba(255,255,255,.95);border:1px solid #d7e2eb;border-radius:16px;box-shadow:0 4px 16px #16385c08;--chart-color:#003880}.compact-card .compact-card-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;border-bottom:1px solid #e4ebf1;padding-bottom:10px}.compact-card h2{font-family:var(--ui-font);font-weight:700;line-height:1.3;font-size:1rem;margin:0!important;color:#14365c}.compact-card .compact-card-heading>span{font-size:.72rem;color:#50657b}.compact-chart{display:block;width:100%;height:auto;margin-top:8px;touch-action:pan-y;overflow:visible}.compact-chart:focus-visible{outline:3px solid #008fa8;outline-offset:3px;border-radius:5px}.compact-gridline{stroke:#e3eaf0;stroke-width:1}.compact-tick{font-size:12px;fill:#50657b}.compact-axis-title{font-size:12px;fill:#14365c;font-weight:600}.compact-value{fill:none;stroke:var(--chart-color);stroke-width:1.35;stroke-linejoin:round;stroke-linecap:round}.compact-reference{fill:none;stroke:#858c95;stroke-width:1;stroke-dasharray:5 5}.compact-target{fill:none;stroke:#ac741a;stroke-width:1;stroke-dasharray:2 5}.compact-dot{fill:var(--chart-color);stroke:var(--chart-color);stroke-width:1}.compact-dot.is-open{fill:white}.compact-hit{fill:transparent;cursor:crosshair}.compact-hit.is-selected{fill:#12345b0c}.compact-protein{--chart-color:#008a9e}.compact-carbs{--chart-color:#a46c00}.compact-fat{--chart-color:#bc5524}.compact-weight{--chart-color:#7952a1}.compact-card-note{font-size:.7rem;color:#50657b;margin:6px 0 0;line-height:1.5}.compact-empty{min-height:180px;display:grid;place-items:center;color:#50657b;font-size:.85rem}.compact-tooltip{position:fixed;top:0;left:0;right:auto;z-index:1000;max-width:calc(100vw - 20px);width:260px;padding:14px;border-radius:10px;background:#14365c;color:white;box-shadow:0 6px 24px #12345b30;pointer-events:none;font-size:.8rem}.compact-tooltip[hidden]{display:none}.compact-tooltip strong,.compact-tooltip small{display:block}.compact-tooltip small{font-size:.72rem;color:#d9e5ef;line-height:1.5;margin-top:4px}.compact-tooltip dl{margin:10px 0 0}.compact-tooltip dl div{display:flex;justify-content:space-between;gap:10px;padding:4px 0}.compact-tooltip dd{margin:0;font-weight:600;text-align:right}.compact-notes{padding:15px 18px;margin-top:18px;border:1px solid #d7e2eb;border-radius:12px;background:#ffffffdc;font-size:.8rem;line-height:1.6}.compact-notes summary{font-weight:600;cursor:pointer}.compact-notes .report-goal-note{margin-top:12px}.compact-card .meal-ring-layout{min-height:230px;padding:16px 0;gap:16px}.compact-card .report-ring{width:150px}.compact-card .ring-legend>div{font-size:.76rem}.compact-card .ring-legend b{white-space:nowrap}
@media(min-width:1200px){.compact-chart-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.compact-chart-grid{grid-template-columns:1fr}.compact-card{padding:14px}.compact-help{font-size:.8rem}.compact-overview{gap:8px;flex-direction:column}.report-layout-switch{justify-content:flex-start;flex-wrap:wrap}.compact-report .report-controls{align-items:stretch}.compact-card .meal-ring-layout{min-height:200px}.compact-tick,.compact-axis-title{font-size:18px}}

.compact-period-details{margin-top:10px;padding-top:8px;border-top:1px solid #ffffff40}.compact-tooltip{font-size:.75rem}.compact-tooltip dl div{padding:2px 0}.compact-card .report-ring [data-tip]{cursor:pointer}.compact-card .report-ring [data-tip]:focus{outline:none;stroke-width:24}

.compact-card .report-ring>div{pointer-events:none}

.compact-report .page-heading{margin-bottom:16px}.compact-report .page-heading h1{font-family:var(--ui-font);font-size:clamp(1.5rem,2.4vw,2rem);font-weight:700;letter-spacing:-.5px}.compact-report .page-heading p{font-size:.85rem}
.compact-card .meal-ring-layout{flex-wrap:wrap;justify-content:center}.compact-card .ring-legend{min-width:155px}.compact-card .ring-legend>div{gap:6px}

.compact-tooltip.is-inline{position:static;width:100%;max-width:none;margin:12px 0 4px;box-shadow:none;pointer-events:auto}.compact-hit.is-selected{fill:#12345b06}

.report-range-form{margin:0 0 20px;padding:16px;border:1px solid #d7e2eb;border-radius:12px;background:#ffffffdf}.report-range-fields{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}.report-range-fields label{flex:1;min-width:150px;margin:0}.report-range-fields input{margin-bottom:0}.report-range-fields button{margin-bottom:0}.report-controls .segmented{flex-wrap:wrap}@media(max-width:500px){.report-range-fields{flex-direction:column;align-items:stretch}.report-range-fields label{width:100%}.report-controls .segmented{min-width:0}}

/* One aligned toolbar for period and presentation in both report views. */
.report-navigation{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px;padding:10px 0;border-bottom:1px solid #d7e2eb}
.report-navigation .segmented{display:flex;align-items:center;gap:4px;margin:0;min-width:0;padding:4px;background:rgba(255,255,255,.8);border:1px solid #d7e2eb;border-radius:10px}
.report-navigation .report-layout-switch{margin:0;flex-shrink:0}
.report-navigation .segmented button{font:inherit!important;font-size:.85rem!important;line-height:1.4!important;padding:10px 16px!important;height:auto!important;width:auto!important;white-space:nowrap}
@media(max-width:650px){.report-navigation{flex-wrap:wrap;gap:10px}.report-navigation .report-layout-switch{margin-left:auto}.report-navigation .segmented button{padding:9px 10px!important}.report-navigation .report-periods{flex-wrap:wrap}}

/* Subtle button surfaces keep report navigation readable over the photo. */
.report-navigation .segmented button{border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;color:#425c75!important;box-shadow:none!important}
.report-navigation .segmented button:hover{background:#edf3f8!important;color:#14365c!important}
.report-navigation .segmented button.active,.report-navigation .segmented button[aria-pressed="true"]{background:#e2edf5!important;border-color:#b9cddd!important;color:#14365c!important;font-weight:600!important}
.report-navigation .segmented button:focus-visible{outline:2px solid #008fa8;outline-offset:2px}
