/* A quiet home view: one metric, its change, and one shared-scale growth chart. */
.growth-home{min-width:0;max-width:100%;color:#243b2c}
.growth-home button,.growth-home summary{font:inherit}
.growth-metric-controls{display:flex;align-items:flex-start;gap:15px;flex-wrap:wrap;margin:0 0 18px}
.growth-metric-primary{display:inline-flex;gap:3px;min-width:0;padding:4px;border:1px solid #e2e8e0;border-radius:8px;background:#f7f9f5}
.growth-metric-controls button{border:0;border-radius:5px;background:transparent;color:#66765e;padding:9px 17px;min-height:37px;line-height:1.4;font-size:12px;font-weight:500;cursor:pointer;white-space:normal}
.growth-metric-controls button:hover{color:#243b2c;background:#edf2e9}
.growth-metric-controls button[aria-pressed="true"]{background:#fff;color:#233e2a;box-shadow:0 1px 4px #233b2914;font-weight:650}
.growth-metric-controls button:focus-visible,.growth-home summary:focus-visible,.growth-data-table-wrap:focus-visible{outline:2px solid #527555;outline-offset:3px}
.growth-other-metrics{min-width:0;max-width:100%;padding-top:4px}
.growth-other-metrics summary{font-size:11px;line-height:1.6;color:#65775e;cursor:pointer;padding:9px 1px;min-height:37px}
.growth-other-metrics>div{display:flex;flex-wrap:wrap;gap:3px;padding:4px 0 0}
.growth-other-metrics button{font-size:11px;min-height:32px;padding:7px 10px}
.growth-other-metrics button[aria-pressed="true"]{background:#eaf2e6;box-shadow:none}
.growth-stats{display:grid;grid-template-columns:1.15fr 1.15fr 1fr 1fr;gap:20px;min-width:0;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid #e0e7dc}
.growth-stat{min-width:0;padding:2px 0}
.growth-stat+.growth-stat{padding-left:19px;border-left:1px solid #e3e9df}
.growth-stat-label{display:block;font-size:12px;line-height:1.7;color:#64765d;font-weight:500;word-break:keep-all;overflow-wrap:anywhere}
.growth-stat-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;max-width:100%;font:500 clamp(24px,2.3vw,32px) var(--mono,monospace);line-height:1.25;letter-spacing:-.065em;color:#375d37;margin:13px 0 10px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.growth-stat.is-primary .growth-stat-value{font-size:clamp(28px,2.7vw,37px);color:#1e3325}
.growth-stat.is-primary .growth-stat-label{color:#405b3d;font-weight:600}
.growth-stat-value small{font:500 12px var(--font,sans-serif);letter-spacing:0;color:#68765f}
.growth-stat-value.is-negative{color:#94664b}
.growth-stat-value.is-missing{color:#899481}
.growth-stat p{margin:0;font-size:10px;line-height:1.85;color:#65755d;word-break:keep-all;overflow-wrap:anywhere}
.growth-stat-explanation{display:block;color:#66785d;font-size:10px;line-height:1.8;margin-top:3px;word-break:keep-all;overflow-wrap:anywhere}
.growth-chart-section{min-width:0;max-width:100%}
.growth-chart-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}
.growth-chart-head>div{min-width:0}
.growth-chart-head h2{font-size:17px;font-weight:650;line-height:1.5;letter-spacing:-.035em;color:#29452f;margin:0}
.growth-chart-head p{font-size:11px;color:#6a7a61;line-height:1.7;margin:5px 0 0;word-break:keep-all;overflow-wrap:anywhere}
.growth-chart-legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px 19px;padding-top:4px;font-size:11px;line-height:1.6;color:#536b4f}
.growth-chart-legend>span{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px}
.growth-chart-legend i{width:19px;border-top:2px solid #557d4e;flex:none}
.growth-chart-legend i.is-previous{border-top:2px dashed #7d8f70}
.growth-chart-legend small{font:inherit;font-size:10px;color:#6d7b64;white-space:nowrap}
.growth-chart-svg{display:block;width:100%;height:auto;min-height:225px;max-height:340px;overflow:visible}
.growth-chart-svg.is-mobile{display:none}
.growth-grid-line{stroke:#e5eade;stroke-width:1;vector-effect:non-scaling-stroke}
.growth-zero-line{stroke:#a7b59b;stroke-width:1;vector-effect:non-scaling-stroke}
.growth-axis-label{fill:#687a5e;font:11px var(--font,sans-serif)}
.growth-curve{stroke:#537b4c;stroke-width:2.7;stroke-linejoin:round;stroke-linecap:round}
.growth-curve.is-previous{stroke:#7d8f70;stroke-width:2;stroke-dasharray:5 6}
.growth-dot{fill:#547d4d;stroke:#fff;stroke-width:1.3}
.growth-dot.is-previous{fill:#7d8f70}
.growth-dot.is-partial{fill:#fff;stroke:#537b4c;stroke-width:1.6}
.growth-dot.is-partial.is-previous{stroke:#7d8f70}
.growth-chart-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:7px 17px;margin:6px 0 10px;color:#6a7b60;font-size:10px;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}
.growth-chart-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:254px;text-align:center;padding:35px 20px;border-bottom:1px solid #e8ede3;background:linear-gradient(180deg,#fbfcf9,transparent);color:#718266}
.growth-chart-empty strong{font-size:15px;font-weight:550;line-height:1.8;color:#526b4b;word-break:keep-all}
.growth-chart-empty p{font-size:12px;line-height:1.9;margin:10px 0 0;word-break:keep-all;overflow-wrap:anywhere}
.growth-data-details{margin-top:12px;color:#64795a;font-size:11px;line-height:1.8}
.growth-data-details summary{cursor:pointer;display:list-item;width:fit-content;max-width:100%;padding:5px 0;color:#5c7452;font-size:10px}
.growth-data-details>p{max-width:80ch;margin:9px 0 12px;word-break:keep-all;overflow-wrap:anywhere}
.growth-data-table-wrap{width:100%;max-width:100%;overflow-x:auto;border:1px solid #e3e9de;border-radius:6px}
.growth-data-table-wrap table{width:100%;min-width:470px;border-collapse:collapse;font-size:11px;text-align:right}
.growth-data-table-wrap caption{text-align:left;padding:10px 12px;background:#f5f8f1;color:#4f6749;font-weight:550}
.growth-data-table-wrap th,.growth-data-table-wrap td{padding:8px 12px;border-bottom:1px solid #e8ede2;font-weight:400;white-space:nowrap}
.growth-data-table-wrap thead th{font-size:10px;font-weight:550;color:#607454}
.growth-data-table-wrap tr:last-child td,.growth-data-table-wrap tr:last-child th{border-bottom:0}
.growth-data-table-wrap tr> :first-child{text-align:left}
.growth-reflection{display:flex;align-items:baseline;gap:10px;margin:22px 0 0;padding:17px 0;border-top:1px solid #e3e9df;font-size:12px;font-weight:500;line-height:1.9;letter-spacing:-.02em;color:#4b6745;word-break:keep-all;overflow-wrap:anywhere}
.growth-reflection>span{flex:none;font-size:18px;color:#66845c}
.growth-daily-note{margin:0 0 5px;font-size:10px;line-height:1.85;color:#65765d;word-break:keep-all;overflow-wrap:anywhere}
@media(max-width:1000px){.growth-stats{gap:14px}.growth-stat+.growth-stat{padding-left:13px}.growth-stat-value{font-size:26px}.growth-stat.is-primary .growth-stat-value{font-size:30px}.growth-chart-head{gap:15px}.growth-chart-legend{flex-direction:column;gap:5px}.growth-chart-svg{min-height:210px}}
@media(max-width:650px){
  .growth-metric-controls{margin-bottom:18px;gap:6px 13px}
  .growth-metric-primary{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .growth-metric-controls button{padding:9px 6px;font-size:11px;min-width:0}
  .growth-other-metrics{width:100%;padding-top:0}
  .growth-other-metrics summary{padding:5px 0;min-height:29px;font-size:10px}
  .growth-other-metrics>div{padding-top:2px}
  .growth-other-metrics button{padding:6px 11px;font-size:11px}
  .growth-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 18px;margin-bottom:24px;padding-bottom:20px}
  .growth-stat+.growth-stat{padding:0;border-left:0}
  .growth-stat:nth-child(even){padding-left:17px;border-left:1px solid #e4eadf}
  .growth-stat.is-comparison{padding-top:17px;border-top:1px solid #e4eadf}
  .growth-stat-label{font-size:11px}
  .growth-stat-value{font-size:25px;margin-top:10px;margin-bottom:8px;gap:4px}
  .growth-stat.is-primary .growth-stat-value{font-size:31px;margin:9px 0 7px}
  .growth-stat-value small{font-size:11px}
  .growth-stat p,.growth-stat-explanation{font-size:10px;line-height:1.8}
  .growth-chart-head{flex-direction:column;gap:12px;margin-bottom:9px}
  .growth-chart-head h2{font-size:16px}
  .growth-chart-legend{flex-direction:row;justify-content:flex-start;gap:7px 16px;font-size:10px;padding-top:0}
  .growth-chart-legend small{font-size:9px}
  .growth-chart-legend i{width:16px}
  .growth-chart-svg.is-desktop{display:none}
  .growth-chart-svg.is-mobile{display:block;min-height:175px;max-height:300px}
  .growth-axis-label{font-size:12px}
  .growth-chart-meta{font-size:9px;margin-top:2px;gap:4px}
  .growth-data-details{font-size:10px}
  .growth-chart-empty{min-height:210px;padding:25px 15px}
  .growth-chart-empty strong{font-size:13px}
  .growth-chart-empty p{font-size:11px}
  .growth-reflection{font-size:11px;margin-top:18px;padding:15px 0;gap:8px}
}
@media(max-width:380px){.growth-stat-value{font-size:23px}.growth-stat.is-primary .growth-stat-value{font-size:28px}.growth-stats{column-gap:13px;row-gap:17px}.growth-stat:nth-child(even){padding-left:13px}.growth-chart-legend{gap:5px 12px}.growth-chart-legend>span{gap:5px}.growth-axis-label{font-size:12px}.growth-chart-svg.is-mobile{min-height:155px}}
@media(forced-colors:active){.growth-metric-controls button[aria-pressed="true"]{outline:1px solid Highlight}.growth-curve,.growth-dot{stroke:CanvasText}.growth-curve.is-previous,.growth-dot.is-previous{stroke:Highlight}.growth-dot{fill:CanvasText}.growth-dot.is-partial{fill:Canvas}.growth-zero-line,.growth-grid-line{stroke:GrayText}.growth-axis-label{fill:CanvasText}}
