/* Status card, option 3 (Asaf 17.11, package "Duck_Dive_Status_Card"). Surf and (from 18.11) swim mode.
   Fixed tracks per breakpoint, so a warning, no warning, no report, flat sea or a long line never change the height:
   phone 186px (title · body · warning · sea surface), wide screens the 348px tile area (plus the report strip).
   The phone gives back the 60px in the tiles under it and in the weekly strip, so the strip's columns end where they did. */
html #mapView #dashTiles .dash-tile.fl-status.st3{display:flex!important;flex-direction:column!important;padding:0!important;gap:0!important;row-gap:0!important;background:var(--panel)!important;min-height:0!important;overflow:hidden}
html #mapView #dashTiles .fl-status.st3>.fl-st-actions{display:none!important}
#dashTiles .st3-in{flex:1 1 auto;display:grid;grid-template-columns:minmax(0,1fr);align-content:stretch;box-sizing:border-box;width:100%;min-width:0;text-align:start}
#dashTiles .st3-in>*{min-width:0}
#dashTiles .st3-hr{display:block;height:1px;background:var(--line)}
/* title row: title (and on the phone "לדיווחים"), the source/recency on the other side */
#dashTiles .st3-h{display:flex!important;align-items:center;justify-content:space-between;gap:8px;margin:0!important;padding:0!important;min-height:0!important;white-space:nowrap}
#dashTiles .st3-t{display:flex;align-items:center;gap:6px;min-width:0;color:var(--muted)}
#dashTiles .st3-t .tl{color:var(--muted)!important;font-weight:400!important}
#dashTiles .st3-go{border:0;background:none;padding:0;margin:0;min-height:0;font:inherit;font-weight:500;color:var(--accent-text,var(--accent));cursor:pointer}
#dashTiles .st3-go::before{content:"· ";color:var(--muted);font-weight:400}
#dashTiles .st3-src{min-width:0;display:flex;justify-content:flex-end}
#dashTiles .st3-src #dashReportsTile.st3-srcb{display:inline!important;width:auto!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;font:inherit!important;color:var(--text-2)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;gap:0!important}
#dashTiles .st3-src #dashReportsTile.st3-srcb:disabled{cursor:default;opacity:1;color:var(--text-2)}
#dashTiles .st3-src .st3-n{color:var(--text-2)!important;font-weight:500}
#dashTiles .st3-src .st3-ago,#dashTiles .st3-src bdi{unicode-bidi:isolate}
/* body: rating group, a fine divider, the breaking height */
#dashTiles .st3-b{display:grid;grid-template-columns:minmax(0,1fr) 1px var(--st3-lw,38%);column-gap:14px;align-items:center;min-height:0}
#dashTiles .st3-vd{display:block;align-self:stretch;background:var(--line)}
#dashTiles .st3-r{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
#dashTiles .st3-word{font-weight:700;white-space:nowrap;color:color-mix(in srgb,var(--rc) 55%,var(--text))} /* 19.11: 70 to 55 so every rating word keeps 3:1 or more on the stronger tint, both themes */
#dashTiles .st3-word.st3-none{color:var(--muted)}
#dashTiles .st3-r .fl-ducks{display:flex!important;flex-direction:row!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;position:static!important;transform:none!important}
#dashTiles .st3-r .fl-ducks .surf-rating-button{display:block!important;height:auto!important;min-height:0!important;min-width:0!important;width:auto!important;padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important}
#dashTiles .st3-r .fl-ducks .bath-grid{display:flex!important;gap:3px!important;height:auto!important;min-height:0!important;align-items:center!important}
#dashTiles .st3-r .fl-ducks .bath-score,#dashTiles .st3-r .fl-ducks .bath-verdict,#dashTiles .st3-r .fl-ducks small{display:none!important}
#dashTiles .st3-say{color:var(--text-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;width:100%}
#dashTiles .st3-l{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
#dashTiles .st3-lbl{color:var(--muted)}
#dashTiles .st3-hgt{font-weight:600;color:var(--text)}
#dashTiles .st3-hgt span{white-space:nowrap}
html[lang=en] #dashTiles .st3-hgt span{white-space:normal}
/* rating tint behind the body band, between the two lines and as wide as them (Asaf 18.11, option א; not to the card edge). Same mix as the earlier card's tinted top;
   a little stronger in dark so warm ratings do not turn grey. */
#dashTiles .st3-in{--st3-tint:color-mix(in srgb,var(--rc,var(--muted)) 32%,var(--panel))} /* 19.11: 24 to 32 (smoky coral for חלש) */
body.light #dashTiles .st3-in{--st3-tint:color-mix(in srgb,var(--rc,var(--muted)) 24%,var(--panel))} /* 19.11: 16 to 24 */
#dashTiles .st3-b{margin:calc(-1*var(--st3-gy)) 0;padding:var(--st3-gy) 10px;background:var(--st3-tint)}
/* reserved warning row: transparent when there is no warning */
#dashTiles .st3-w{display:flex;align-items:center;gap:6px;font-weight:600;color:var(--arrow-wind,#c94f2c)}
#dashTiles .st3-w svg{flex:none}
#dashTiles .st3-w[data-off]{visibility:hidden}
#dashTiles .st3-s{display:flex;align-items:center;color:var(--muted);white-space:nowrap}
#dashTiles .st3-s b{color:var(--text);font-weight:600;margin-inline-start:6px}
/* report strip (wide screens) */
#dashTiles .st3-rep{display:flex;flex-direction:column;justify-content:center;min-width:0}
#dashTiles .st3-rl{display:flex;align-items:center;justify-content:space-between;gap:10px}
#dashTiles .st3-rn{color:var(--text)}
#dashTiles .st3-a{border:0;background:none;padding:0;margin:0;font:inherit;font-weight:500;color:var(--accent-text,var(--accent));white-space:nowrap;cursor:pointer}
#dashTiles .st3-last{display:flex;flex-direction:column;gap:4px;width:100%;min-width:0;border:0;background:none;padding:0;margin:0;font:inherit;color:inherit;text-align:start;cursor:pointer}
#dashTiles .st3-l1{display:flex;align-items:center;gap:6px;min-width:0;white-space:nowrap;overflow:hidden;color:var(--text)}
#dashTiles .st3-m{color:var(--muted)}
#dashTiles .st3-chips{display:flex;gap:6px;margin-inline-start:6px;min-width:0;overflow:hidden}
#dashTiles .st3-chips .fl-st-chip{flex:none}
#dashTiles .st3-l2{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;color:var(--text-2)}
#dashTiles .st3-note{min-width:0;flex:1 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dashTiles .st3-full[hidden]{display:none}
/* phone */
@media(max-width:900px){
 #dashTiles .st3-in{grid-template-rows:17px 1px 84px 1px 17px 1px 17px;row-gap:5px;padding:8px 14px;font-size:13px;--st3-lw:38%;--st3-gy:5px;--st3-px:14px}
 #dashTiles .st3-wide{display:none!important}
 html[lang=en] #dashTiles .st3-go,#dashTiles .st3-calm .st3-go{display:none!important} /* English titles are longer: the source itself opens the reports */
 #dashTiles .st3-h{font-size:12px;line-height:17px;gap:6px}
 #dashTiles .st3-word{font-size:24px;line-height:28px}
 #dashTiles .st3-r .fl-ducks{margin:2px 0 3px!important}
 #dashTiles .st3-r .fl-ducks .bath-slot{width:18px!important;height:18px!important}
 #dashTiles .st3-say{font-size:13px;line-height:16px;height:32px}
 #dashTiles .st3-lbl{font-size:12px;line-height:15px}
 #dashTiles .st3-hgt{font-size:18px;line-height:21px}
 #dashTiles .st3-w,#dashTiles .st3-s{font-size:13px;line-height:17px}
 html #mapView #dashTiles .fl-status.dd-skel-card{min-height:186px;box-sizing:border-box}
 /* the 60px back: tighter tiles in the right column and a lower weekly strip (Asaf 17.11) */
 html:not(.dd-calm) body #mapView #dashTiles .pm-row .fl-triple .fl-tp.fl-tp{padding-top:2px!important;padding-bottom:2px!important}
 html body #forecast .weekly-forecast.wk-sticky>#bestWeek{--hb:27px}
 html body #forecast .weekly-forecast>#bestWeek{min-height:27px!important}
 html body .wk-v2 .wk-day .wk-bars{height:36px!important}
 html body .wk-sticky .wk-v2 .wk-day .wk-bars{height:calc(36px - var(--p,0) * 14px)!important}
 html body .wk-v2 .wk-day .wk-nd{line-height:1.05!important}
 html body #forecast .weekly-forecast .wk-strip.wk-v2{padding-top:1px!important}
}
/* wide screens */
@media(min-width:901px){
 #dashTiles .st3-calm .st3-say{-webkit-line-clamp:3!important;height:auto!important} /* the swim safety note is never cut (narrower swim card) */
 #dashTiles .st3-in{grid-template-rows:20px 1px minmax(0,1fr) 1px 22px 1px 20px 1px 50px;row-gap:9px;padding:12px 18px;font-size:14px;--st3-lw:40%;--st3-gy:9px;--st3-px:18px}
 #dashTiles .st3-go{display:none!important}
 #dashTiles .st3-h{font-size:14px;line-height:20px}
 #dashTiles .st3-word{font-size:34px;line-height:38px}
 #dashTiles .st3-r .fl-ducks{margin:4px 0 6px!important}
 #dashTiles .st3-r .fl-ducks .bath-slot{width:24px!important;height:24px!important}
 #dashTiles .st3-say{font-size:15px;line-height:19px;height:38px}
 #dashTiles .st3-lbl{font-size:13px;line-height:18px}
 #dashTiles .st3-hgt{font-size:26px;line-height:31px}
 #dashTiles .st3-w,#dashTiles .st3-s{font-size:14px;line-height:20px}
}
