/* Crophalo: the Satellites & prices tab: the rain chart with its gaps and first estimates, and the cards. Only the tokens of css/app.css. Nothing rests on colour alone:
   a first estimate is an outlined lighter bar, a day not read is a hatched marker. */
.sat-grid { --min: 330px; }
.sat-card h3 { font-size: var(--fs-headline); margin-bottom: var(--space-8); }
.sat-card .wk-big { margin-bottom: var(--space-4); }
.sr-bar { fill: var(--c-rain); } .sr-bar.early { fill: var(--accent-soft); stroke: var(--c-rain); stroke-width: 1; stroke-dasharray: 2 1.5; }
.sr-gap { fill: var(--card); stroke: var(--ink2); stroke-width: 1; }
.ch-key.early { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--c-rain); }
.ch-key.gap { background: var(--card); box-shadow: inset 0 0 0 1px var(--ink2); }
.sat-card .disc { margin-top: var(--space-8); } .sat-card .tbl { max-height: 40vh; overflow: auto; }
.sat-card .region { margin-top: var(--space-8); }
.gr-line { fill: none; stroke: var(--c-rain); stroke-width: 1.5; } .gr-dot { fill: var(--c-rain); }
.gr-trend { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 5 3; } .gr-zero { stroke: var(--ink3); stroke-width: 1; }
.gr-gap { fill: var(--fill); stroke: var(--ink2); stroke-width: .5; stroke-dasharray: 2 2; }
.ch-key.trend { background: none; box-shadow: inset 0 -2px 0 0 var(--ink); }
.gr-head, .eco-head { display: flex; flex-wrap: wrap; gap: var(--space-12); align-items: center; justify-content: space-between; }
.gr-box { fill: var(--fill2); stroke: var(--ink2); stroke-width: 1; } .gr-field, .eco-pix { fill: var(--c-hi); stroke: var(--ink); stroke-width: 1; }
.eco-list { list-style: none; margin: 0 0 var(--space-8); padding: 0; display: grid; gap: var(--space-4); } .eco-pass { display: flex; flex-wrap: wrap; gap: 4px var(--space-8); align-items: baseline; }
.sat-card h4 { margin: var(--space-8) 0 var(--space-4); font-size: var(--fs-subhead, 1rem); } .eco-means { flex: 1 1 14rem; margin: 0; }
.hl-dot { fill: var(--c-g); stroke: var(--ink); stroke-width: .75; }
.sat-grid { align-items: start; }   /* a short card stays short: no empty white boxes stretched to the tallest card */
/* the GRACE-FO tile: one word (Falling, Rising, Roughly stable) and what it covers; the word is also written, so colour is never the only cue */
.sat-tile { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-4) var(--space-8); margin: var(--space-8) 0; padding: var(--space-8) var(--space-12); border-radius: 10px; background: var(--fill2); border-left: 4px solid var(--ink2); font-size: var(--fs-small); line-height: 1.35; }
.sat-tile b { font-size: var(--fs-headline); color: var(--ink); }
.sat-tile span { flex: 1 1 14rem; color: var(--ink2); }
.sat-tile[data-dir=fall] { border-left-color: var(--c-hi); }
.sat-tile[data-dir=rise] { border-left-color: var(--c-rain); }

/* each card is one closed line (name, one figure and its date) that opens; inside, a closed "Show more" and one source link */
.sat-fold > summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-4) var(--space-12); min-height: var(--touch); cursor: pointer; list-style: none; }
.sat-fold > summary::-webkit-details-marker { display: none; }
.sat-fold > summary .sat-name { margin: 0; }
.sat-one { color: var(--ink2); font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.sat-fold[open] > summary { margin-bottom: var(--space-8); }
.sat-more { margin-top: var(--space-8); }
.sat-src { margin: var(--space-8) 0 0; font-size: var(--fs-small); overflow-wrap: anywhere; }

/* the one-page report: the cards inside the fold "What NASA satellites see", each its own closed line, across the whole width */
.lf-satcards { display: grid; gap: var(--space-8); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); align-items: start; }
.lf-satcards .sat-card { margin: 0; }
