/* Facelift "quiet and clean" (approved 9.11.2026). Loaded last: tokens first, then component styles.
   Colour only where there is information (rating, wind, swell). Terms and behaviour unchanged. */

/* ---------- tokens ---------- */
body{
 --bg:#07171F;--panel:#1C3541;--soft:#1A3039;--line:#304E5C;--line-2:#1C3540;--text:#E8EEF1;--text-2:#B8C6CE;--muted:#8FA1AC;
 --accent:#5FD3C8;--action:#0E6E74;--on-action:#FFFFFF;--button:#13262F;--sand:#E9D7AE;--row-hover:#173039;--chip-bg:#1A3039;
 --rating-0:#C9CED3;--rating-1:#E57B62;--rating-2:#E57B62;--rating-3:#E9B872;--rating-4:#8EC5B0;--rating-45:#2E9E8F;--rating-5:#146B6B;
 --sea-in:#C2571F;--shadow:none;
 --r-card:16px;--r-ctl:12px;--r-chip:8px;--r-dialog:22px;
 font-family:Heebo,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}
body.light{
 --bg:#E7EDF1;--panel:#FFFFFF;--soft:#EEF1F2;--line:#D5DFE5;--line-2:#EDF0F2;--text:#0F2230;--text-2:#3E4E59;--muted:#5C6B76;
 --accent:#0E6E74;--action:#0E6E74;--on-action:#FFFFFF;--button:#FFFFFF;--sand:#B08A3E;--row-hover:#F1F4F5;--chip-bg:#F1F4F5;
 --shadow:0 2px 8px rgba(15,35,50,.05);
 --rating-0:#C9CED3;--rating-1:#E57B62;--rating-2:#E57B62;--rating-3:#E9B872;--rating-4:#8EC5B0;--rating-45:#2E9E8F;--rating-5:#146B6B;
}
/* swimming mode: the "deep" theme, tuned */
html.dd-calm body{
 --bg:#0A1430;--panel:#111D40;--soft:#18264F;--line:#24346E;--line-2:#1A2858;--text:#E8EDFF;--text-2:#B9C3E6;--muted:#9AA6D1;
 --accent:#8FD3FF;--action:#2457C5;--button:#111D40;--shadow:0 1px 2px #0003;--sand:#A9C8FF;--row-hover:#15224A;--chip-bg:#18264F;
 --rating-0:#6E6888;--rating-1:#8E7FA8;--rating-2:#8E7FA8;--rating-3:#9FB0D0;--rating-4:#8FD3E8;--rating-45:#5AA8F0;--rating-5:#3D7FF0;
}
html.dd-calm body.light{
 --bg:#F3F5FA;--panel:#FFFFFF;--soft:#EEF2FA;--line:#DCE3F2;--line-2:#E8EDF7;--text:#12204A;--text-2:#3B4770;--muted:#55618C;
 --accent:#2457C5;--action:#2457C5;--button:#FFFFFF;--shadow:0 1px 2px rgba(15,34,48,.04),0 8px 24px rgba(15,34,48,.05);--sand:#2457C5;--row-hover:#EEF2FA;--chip-bg:#EEF2FA;
 --rating-0:#B8B2C8;--rating-1:#7A6A96;--rating-2:#7A6A96;--rating-3:#8494B8;--rating-4:#4FA7C4;--rating-45:#2F6FD0;--rating-5:#1D4FB5;
}
body,button,input,select,textarea{font-family:Heebo,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
body{background:var(--bg);color:var(--text)}
html body{font-size:15px}

/* ---------- header ---------- */
header{background:var(--bg)!important;border-bottom:0!important;box-shadow:none}
header h1{display:flex;align-items:center;gap:10px;font-weight:700;letter-spacing:-.2px}
header .brand-name{display:flex;flex-direction:column;line-height:1.1}
header .brand-main{font-size:17px;font-weight:700;color:var(--text)}
header .brand-sub{font-size:13px;font-weight:400;color:var(--muted)}
header #headerLang,header #headerTheme,header #openMenu{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;border:0!important;background:transparent!important;color:var(--text-2)!important;border-radius:var(--r-ctl);box-shadow:none!important;font-weight:600;font-size:13px}
header #openMenu{font-size:22px!important;color:var(--text)!important}
header #headerLang:hover,header #headerTheme:hover,header #openMenu:hover{background:var(--soft)!important}
@media(max-width:900px){header{height:60px!important;padding:8px 8px 8px 12px!important}header .brand-logo{width:36px!important;height:36px!important}}

/* ---------- tabs ---------- */
.view-tabs{background:var(--bg);border-color:var(--line)!important}
.view-tabs button{display:inline-flex;align-items:center;gap:6px;background:transparent!important;border:0;color:var(--muted)!important;font-weight:500;box-shadow:none!important}
.view-tabs button[aria-selected=true]{color:var(--accent)!important;font-weight:600}
.view-tabs button .ic{flex:none}
@media(max-width:900px){
 .view-tabs{background:color-mix(in srgb,var(--panel) 96%,transparent)!important;border-top:1px solid var(--line)!important;backdrop-filter:blur(8px)}
 .view-tabs button{flex-direction:column;justify-content:center;gap:3px!important;font-size:13px!important;min-height:60px!important;border-top:0!important;border-radius:0!important}
 .view-tabs button[aria-selected=true]{border-top:0!important}
 #navReport{color:var(--muted)!important;background:transparent!important;border:0!important}
 #navReport .nav-plus{width:40px;height:26px;border-radius:13px;background:var(--action);color:var(--on-action);display:flex;align-items:center;justify-content:center}
 #new{display:none!important}
}
@media(min-width:901px){
 .view-tabs{gap:4px;border-bottom:1px solid var(--line)!important}
 .view-tabs button{min-height:44px;padding:0 12px;border-bottom:2px solid transparent!important;border-radius:0!important}
 .view-tabs button[aria-selected=true]{border-bottom-color:var(--accent)!important}
 .view-tabs #new{margin-inline-start:12px;min-height:40px!important;padding:0 16px!important;border-radius:var(--r-ctl)!important;background:var(--action)!important;color:var(--on-action)!important;font-weight:600;border:0!important}
}

/* ---------- surfaces ---------- */
.panel,.dash-card,.dash-tile,#forecastPanel,#reportsPanel,.weekly-forecast,.beach-card,.mr-panel{border-radius:var(--r-card)!important}
.panel,.dash-card{background:var(--panel)!important;border:1px solid transparent!important;box-shadow:var(--shadow)}
body:not(.light) .panel,body:not(.light) .dash-card,body:not(.light) .dash-tile{border-color:var(--line-2)!important;box-shadow:none}
button,select,input,textarea{border-radius:var(--r-ctl)}
button.primary,.primary{background:var(--action)!important;color:var(--on-action)!important;border-color:var(--action)!important}
dialog{border-radius:var(--r-dialog)!important;background:var(--panel);color:var(--text)}
.chip,.badge{border-radius:var(--r-chip)}

/* ---------- beach picker row ---------- */
#spot .forecast-beach-picker select,#beach{background:var(--panel)!important;border:1px solid var(--line)!important;color:var(--text)!important;border-radius:var(--r-ctl)!important;min-height:52px;font-weight:600;font-size:17px}
@media(max-width:900px){
 #forecastPanel{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
 #forecastPanel>#spot{background:transparent!important;border:0!important;padding:0!important;margin:0 0 10px!important}
}

/* ---------- status card ---------- */
#dashTiles .fl-status{display:flex;flex-direction:column;gap:10px;padding:14px 16px 12px!important;background:var(--panel)!important}
.fl-st-top{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.fl-st-main{display:flex;flex-direction:column;gap:2px;min-width:0}
.fl-status .tl-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.fl-status .tl{font-size:13px!important;color:var(--muted)!important;font-weight:400!important}
.fl-inwater{display:inline-flex;align-items:center;gap:5px;font-size:13px;color:var(--muted)}
.fl-inwater i{width:7px;height:7px;border-radius:50%;background:var(--rating-45)}
.fl-status .tbig{font-size:40px!important;font-weight:400!important;letter-spacing:-.5px;line-height:1.1!important;color:var(--text)!important}
.fl-status .tsub{font-size:13px!important;color:var(--text-2)!important}
.fl-st-rate{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:none}
.rating-frame{font-size:20px;font-weight:600;padding:4px 14px;border:2px solid var(--rc,var(--line));border-radius:10px;color:var(--text);line-height:1.3}
.fl-ducks{display:flex}
.fl-st-actions{display:flex;flex-direction:column;gap:8px}
.fl-st-actions #bestWeek{position:static!important;width:100%;min-height:44px;margin:0!important;padding:0 12px!important;border:0!important;border-radius:var(--r-ctl)!important;background:color-mix(in srgb,var(--action) 8%,transparent)!important;color:var(--text)!important;font-size:13px;text-align:start;box-shadow:none!important}
.fl-st-actions #bestWeek svg{color:var(--accent)}
.fl-sea{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;padding:0 12px;border:1.5px solid var(--action)!important;border-radius:var(--r-ctl)!important;background:var(--panel)!important;color:var(--accent)!important;font-size:15px;font-weight:600;cursor:pointer}
body:not(.light) .fl-sea{border-color:var(--accent)!important}
.fl-sea.sea-exit{background:var(--sea-in)!important;border-color:var(--sea-in)!important;color:#fff!important}
.fl-sea:disabled{opacity:.6}
.fl-sea:focus-visible,.fl-st-actions #bestWeek:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* ---------- tiles ---------- */
#dashTiles{gap:8px!important}
#dashTiles .dash-tile:not(.fl-status){background:var(--panel)!important;padding:9px 9px 8px!important;display:flex;flex-direction:column;gap:2px;min-width:0}
#dashTiles .dash-tile .tl-row{display:flex;justify-content:space-between;align-items:center;gap:4px}
#dashTiles .dash-tile:not(.fl-status) .tl{font-size:13px!important;color:var(--muted)!important;font-weight:500!important}
#dashTiles .dash-tile:not(.fl-status) .tbig{font-size:22px!important;font-weight:300!important;letter-spacing:-.5px;line-height:1.1;color:var(--text)!important}
#dashTiles .dash-tile:not(.fl-status) .tbig small{font-size:13px;color:var(--muted);font-weight:400}
#dashTiles .dash-tile:not(.fl-status) .tsub{font-size:13px!important;color:var(--text-2)!important;line-height:1.25;display:flex;align-items:center;gap:4px;flex-wrap:wrap}
#dashTiles .dash-arrow svg{width:16px;height:16px}
#dashTiles .dash-ico svg{width:16px;height:16px}
#dashTiles .dash-spark{height:14px!important;margin-top:auto}
#dashTiles .dash-tx{display:none}
#dashTiles .sea-word{color:var(--text-2)}
@media(max-width:900px){
 #dashTiles{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
 #dashTiles .fl-status{grid-column:1/-1}
 #dashTiles .calm-tile{grid-column:span 2}
}
#dashReportsTile{text-align:start;color:var(--text)!important}
#dashReportsTile .tbig{color:var(--accent)!important}
.fl-ducks .bath-grid{display:flex!important;flex-wrap:nowrap!important;gap:2px!important;grid-template-columns:none!important}
.fl-ducks .bath-slot{width:22px!important;height:22px!important}
.fl-ducks .bath-score,.fl-ducks small{display:none!important}
.fl-st-actions #bestWeek{order:1}.fl-st-actions .fl-sea{order:2}
#dashTiles .tip-i{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;padding:0!important;font-size:11px!important;line-height:1!important;vertical-align:middle;margin-inline-start:2px;border-width:1px!important}
#dashTiles .tl{display:inline-flex;align-items:center;gap:2px}
/* reports tile joins the row of tiles */
#dashReportsTile{border:0!important;background:var(--panel)!important;min-height:0!important;align-items:stretch!important}
#dashReportsTile .drt-wide{display:flex!important;flex-direction:column;gap:2px}
#dashReportsTile .drt-narrow{display:none!important}
#dashReportsTile .trow{display:flex;justify-content:space-between;align-items:center}
#dashReportsTile .drt-chevron{width:16px;height:16px}
#dashReportsTile:disabled{opacity:1;cursor:default}
#dashReportsTile:disabled .tbig{color:var(--muted)!important}
@media(max-width:900px){#spotWater{display:none!important}}
.fl-st-actions #bestWeek{order:1!important}.fl-st-actions .fl-sea{order:2!important}
#mapView #dashTiles .dash-reports-tile{grid-column:auto!important;width:auto}
/* wide: compact 2×2 tiles beside the status card, each tile on one line */
@media(min-width:901px){
 #mapView[data-mode=dashboard] #dashTiles{grid-template-columns:minmax(320px,1.15fr) repeat(2,minmax(0,1fr))!important;grid-auto-rows:auto;align-content:start}
 #mapView[data-mode=dashboard] #dashTiles .fl-status{grid-column:1!important;grid-row:1/span 2!important}
 #dashTiles .dash-tile:not(.fl-status):not(.calm-tile){display:grid!important;grid-template-columns:28px minmax(0,1fr) auto;grid-template-areas:"ico name big" "ico sub big";align-items:center;column-gap:10px;row-gap:0;padding:10px 12px!important;min-height:56px}
 #dashTiles .dash-tile:not(.fl-status):not(.calm-tile) .tl-row{display:contents}
 #dashTiles .dash-tile:not(.fl-status):not(.calm-tile) .tl{grid-area:name;color:var(--text)!important;font-size:14px!important}
 #dashTiles .dash-tile:not(.fl-status):not(.calm-tile) .dash-arrow,#dashTiles .dash-tile:not(.fl-status):not(.calm-tile) .tl-row>.dash-ico{grid-area:ico;justify-self:center}
 #dashTiles .dash-tile:not(.fl-status):not(.calm-tile) .trow{grid-area:big}
 #dashTiles .dash-tile:not(.fl-status):not(.calm-tile) .tsub{grid-area:sub;display:block!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #dashTiles .dash-tile:not(.fl-status):not(.calm-tile) .tsub .dash-ico{display:inline-flex;vertical-align:middle;margin-inline-end:4px}
 #dashTiles .dash-tile:not(.fl-status):not(.calm-tile) .dash-spark{display:none}
 #dashTiles .dash-arrow svg,#dashTiles .dash-ico svg{width:22px;height:22px}
 #dashReportsTile{display:block!important}
 #dashReportsTile .drt-wide{display:grid!important;grid-template-columns:28px minmax(0,1fr) auto;grid-template-areas:"ico name big" "ico sub big";align-items:center;column-gap:10px}
 #dashReportsTile .drt-wide::before{content:"";grid-area:ico;width:20px;height:20px;justify-self:center;background:var(--accent);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E") center/contain no-repeat}
 #dashReportsTile .drt-wide .tl{grid-area:name;color:var(--text)!important;font-size:14px!important;font-weight:500!important}
 #dashReportsTile .drt-wide .tsub{grid-area:sub;font-size:13px;color:var(--text-2)}
 #dashReportsTile .drt-wide .trow{grid-area:big;display:flex;align-items:center;gap:4px}
}
/* beach map card: one legend under the map */
#dashLegend{display:flex;flex-direction:column;gap:8px;font-size:14px;color:var(--muted)}
#dashLegend span{display:flex;align-items:center;gap:6px}
#dashLegend b{color:var(--text)}
#dashLegend .lg-arrow{flex:none;display:inline-flex}
#dashMapCard h3{font-size:17px;font-weight:600}

/* ---------- weekly strip ---------- */
.weekly-forecast .wk-strip{background:var(--panel)!important;border:0!important;border-radius:var(--r-card)!important}
.wk-day{border-radius:9px!important;position:relative;border:1.5px solid transparent!important;background:transparent!important;color:var(--text)!important}
.wk-day[aria-pressed=true]{border-color:var(--accent)!important;background:color-mix(in srgb,var(--accent) 7%,transparent)!important}
.wk-cols>.wk-day+.wk-day::before{content:"";position:absolute;inset-inline-start:-1.5px;top:12%;bottom:12%;width:1px;background:var(--line);pointer-events:none}
.wk-cols>.wk-day[aria-pressed=true]::before,.wk-cols>.wk-day[aria-pressed=true]+.wk-day::before{display:none}
.wk-day b{font-weight:600}
.wk-day small{color:var(--muted)!important}
.wk-day .wk-h{font-weight:700!important;color:var(--text)!important}
.wk-trend path{fill:var(--accent);opacity:.1}
.wk-legend{display:none!important}
.wk-bar{justify-content:flex-end!important}
.weekly-nav button{border-radius:var(--r-ctl)!important;background:var(--panel)!important;border:1px solid var(--line)!important;color:var(--text)!important;min-height:44px}

/* ---------- day table ---------- */
.wk-table{background:var(--panel)!important;border:0!important;border-radius:var(--r-card)!important;padding:14px 0 10px!important}
.wk-table h3{padding:0 14px;font-size:15px;font-weight:600;margin:0 0 6px}
.wk-scroll{overflow-x:auto;scroll-snap-type:x mandatory;container-type:inline-size;scrollbar-width:none;overscroll-behavior-x:contain}
.wk-scroll::-webkit-scrollbar{display:none}
.wk-th,.wk-tr{display:grid!important;grid-template-areas:none!important;column-gap:0!important;padding:0!important;
 grid-template-columns:84px 62px repeat(3,calc((100cqw - 146px)/3)) repeat(3,calc((100cqw - 84px)/3))!important;width:max-content;min-width:100%}
.wk-th>*,.wk-tr>*{grid-area:auto!important;border:0!important}
.wk-th{font-size:13px;color:var(--muted);border-bottom:1px solid var(--line-2)!important}
.wk-th>span{padding:6px 4px!important;align-items:flex-start!important;text-align:start!important}
.wk-th>span:first-child,.wk-th>.wk-p2{scroll-snap-align:start}
.wk-th>span:first-child{padding-inline-start:14px!important}
.wk-tr{border-bottom:1px solid var(--line-2)!important;min-height:56px;cursor:pointer;color:var(--text)}
.wk-tr.sub{min-height:48px;background:color-mix(in srgb,var(--soft) 50%,transparent)}
.wk-tr>.tc,.wk-tr>.tt{padding:8px 4px!important;align-items:flex-start!important;justify-content:center!important;text-align:start!important;flex-direction:column}
.wk-tr>.tt,.wk-th>span:first-child{position:sticky;inset-inline-start:0;z-index:1;background:var(--panel)}
.wk-tr.sub>.tt{background:color-mix(in srgb,var(--soft) 50%,var(--panel))}
.wk-tr>.tt{padding-inline-start:14px!important;flex-direction:row!important;align-items:center!important}
.wk-pill{display:inline-flex;align-items:center;justify-content:center;width:60px;height:26px;border-radius:13px;font-size:13px;font-weight:600;box-sizing:border-box;white-space:nowrap}
.wk-word{font-weight:600;font-size:14px}
.wk-tr .sf .wv{font-size:14px;font-weight:500}
.wk-swell{flex-direction:row!important;align-items:center!important;gap:4px}
.wk-sw{display:flex;flex-direction:column;line-height:1.2}
.wk-sw b{font-weight:500;font-size:14px}
.wk-sw small,.wk-tr .wbr,.wk-tr .wk-sea{font-size:13px!important;color:var(--muted)!important;font-weight:400!important}
.wk-tr .wk-kn{font-size:14px!important}.wk-tr .wk-kn b{font-size:14px!important;font-weight:500}
.wk-tr .wx{flex-direction:row!important;align-items:center!important;gap:6px}
.wk-tr .wx svg{width:22px;height:22px}
.wk-seac,.wk-energy{font-size:14px}
.wk-hint,.wk-note{display:block;padding:8px 14px 0;font-size:13px!important;color:var(--muted)}
@media(min-width:901px){
 .wk-scroll{overflow:visible}
 .wk-th,.wk-tr{grid-template-columns:90px 80px repeat(6,minmax(0,1fr))!important;width:auto}
 .wk-pill{width:64px;height:28px}
 .wk-swipe{display:none}
}

/* ---------- help: rating colours and heights ---------- */
.help-scale{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0}
.help-scale span{display:flex;align-items:center;gap:8px;font-size:14px}
.help-scale i{width:28px;height:14px;border-radius:7px;flex:none}
.help-heights{width:100%;border-collapse:collapse;font-size:14px}
.help-heights td{padding:6px 4px;border-bottom:1px solid var(--line-2)}
.help-heights td:last-child{text-align:end;color:var(--muted)}

/* ---------- menu drawer ---------- */
.drawer-row{min-height:52px}
#sideMenu,.side-menu,.drawer{background:var(--panel)!important;color:var(--text)}
.drawer-count{background:var(--sea-in)!important;color:#fff!important}

/* swimming-mode tiles keep their own stacked layout */
#dashTiles .calm-tile{min-width:0}
#dashTiles .calm-tile .tbig{font-size:20px!important;overflow-wrap:normal;word-break:normal;white-space:nowrap}
@media(min-width:901px){#dashTiles .calm-tile{display:flex!important;flex-direction:column;gap:2px}}
#dashTiles .calm-note{grid-column:1/-1!important;display:block!important;text-align:center}
#dashTiles .calm-note *{white-space:normal}
#dashTiles .calm-note{order:99}

/* ---------- map tab ---------- */
.beach-map-tag,.beach-map-tag[data-quality],.beach-map-tag.tag-selected{font-family:Heebo,system-ui,sans-serif!important;background:var(--panel)!important;color:var(--text)!important;font-weight:500!important;font-size:13px!important;line-height:22px!important;padding:2px 10px 2px 8px!important;padding-inline-start:14px!important;border:1px solid var(--line)!important;outline:0!important;
 box-shadow:inset -6px 0 0 var(--tq,var(--rating-0)),0 2px 8px rgba(15,34,48,.12)!important}
html[dir=ltr] .beach-map-tag,html[dir=ltr] .beach-map-tag[data-quality]{box-shadow:inset 6px 0 0 var(--tq,var(--rating-0)),0 2px 8px rgba(15,34,48,.12)!important}
.beach-map-tag.tag-selected{border:2px solid var(--text)!important;font-weight:700!important}
.beach-map-tag .tag-count{background:var(--soft)!important;color:var(--text-2);font-weight:500}
.beach-map-tag.tag-tubes{box-shadow:inset -6px 0 0 var(--tq,var(--rating-0)),0 0 8px #F6C945!important}
#mapHours{background:var(--panel)!important;border-radius:var(--r-card)!important;box-shadow:0 4px 14px rgba(15,34,48,.08)!important}
#mapHours .mr-head label{font-size:15px;font-weight:700}
#mapHourLabel{font-size:15px;font-weight:700!important}
#mapHourNow{min-height:32px!important;border-radius:10px!important;background:var(--panel)!important;border:1px solid var(--line)!important;color:var(--text)!important;font-size:13px!important}
#mapHourDays{font-size:13px!important}
#mapHourBar span.mr-day{border-inline-start:3px solid #FFFFFF!important}
body:not(.light) #mapHourBar span.mr-day{border-inline-start-color:var(--panel)!important}
#mapHourRange::-webkit-slider-thumb{background:#fff;border:1px solid #061722;width:10px}
@media(max-width:900px){
 #mapView[data-mode=map]{position:relative}
 #mapView[data-mode=map] #mapHours{display:block;position:absolute;z-index:850;top:8px;left:8px;right:8px;margin:0;padding:8px 14px 6px;box-sizing:border-box}
 #mapView[data-mode=map] .maptag{display:none}
}
/* ranked rows (wide map) and beach rows (beaches tab) */
.mr-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto 64px 72px;grid-template-areas:"name chip wave wind" "name chip wave rep";align-items:center;column-gap:8px;width:100%;min-height:56px;padding:8px 12px!important;border:0!important;border-bottom:1px solid var(--line-2)!important;border-radius:0!important;background:transparent!important;color:var(--text)!important;text-align:start;font-size:13px}
.mr-row:last-child{border-bottom:0!important}
.mr-row .mr-name{grid-area:name;display:flex;flex-direction:column;line-height:1.2;min-width:0}
.mr-row .mr-name b{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mr-row .mr-name small{font-size:13px;color:var(--muted)}
.rate-chip{grid-area:chip;justify-self:start;font-size:14px;font-weight:600;padding:2px 10px;border:2px solid var(--rc,var(--line));border-radius:var(--r-chip);color:var(--text);white-space:nowrap;line-height:1.3}
.rate-chip.rate-none{border-color:var(--line);color:var(--muted)}
.mr-row .mr-wave{grid-area:wave;font-weight:500;font-size:13px}
.mr-row .mr-wind{grid-area:wind;display:flex;align-items:center;gap:4px;color:var(--text-2);white-space:nowrap}
.mr-row .mr-wind svg{flex:none}
.mr-row .mr-reports{grid-area:rep;font-size:13px;color:var(--accent);font-weight:600;white-space:nowrap}
.mr-row .mr-reports:empty{display:none}
.mr-row:hover{background:var(--row-hover)!important}
#mapRank{background:var(--panel)!important;padding:10px 0!important}
#mapRank h3{padding:0 12px;font-size:17px!important;font-weight:600}

/* ---------- beaches tab ---------- */
.mr-row:has(.bt-star){grid-template-columns:28px minmax(0,1fr) auto 64px 72px;grid-template-areas:"star name chip wave wind"}
.mr-row .bt-star{grid-area:star;width:28px;height:44px;min-height:44px;padding:0!important;border:0!important;background:transparent!important;display:flex;align-items:center;justify-content:center}
.mr-row .bt-star svg{width:18px;height:18px}
#beachListView .bt-section,#beachListView section{background:transparent}
#beachListView h2,#beachListView .view-heading h2{font-size:22px;font-weight:600}
.bt-fav-list,#beachListView .mr-row{background:var(--panel)!important}
#beachListView .mr-row:first-of-type{border-radius:var(--r-card) var(--r-card) 0 0!important}
#beachListView details,#beachListView .bt-region{border-radius:var(--r-ctl)!important;background:var(--panel)!important;border:0!important;margin-bottom:8px;overflow:hidden}
#beachListView summary{min-height:52px;display:flex;align-items:center;font-weight:600;font-size:15px;padding:0 14px}
@media(min-width:901px){#beachListView{max-width:820px;margin-inline:auto}}

/* ---------- beach card (quick sheet) ---------- */
.qs-tiles .t-wide .tbig,#beachSheet .t-wide .tbig{color:var(--text)!important;font-weight:400!important}
.qs-tiles .rate-chip{display:inline-block;margin-top:4px}
.qs-tiles .bath-score,.qs-tiles .tver small{display:none!important}
.qs-go{min-height:48px!important;border-radius:var(--r-ctl)!important;display:flex!important;align-items:center;justify-content:center;gap:8px;font-weight:600}
.go-beach{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.go-beach .ic{flex:none}

/* ---------- report form ---------- */
#formDialog{background:var(--bg)!important;border-radius:var(--r-dialog)!important}
#formDialog h2{font-size:20px;font-weight:600}
#formDialog #close,#formDialog [data-close]{width:44px;height:44px;min-height:44px;border-radius:22px!important;border:0!important;background:var(--soft)!important;color:var(--text)!important;padding:0!important;box-shadow:none!important;outline:0}
.rfs-dots{gap:6px!important}.rfs-dots i{height:4px!important;background:var(--line)!important}.rfs-dots i.on{background:var(--action)!important}
.rfs-head h3{font-size:24px!important;font-weight:600!important}
#formDialog .rfh-body,#formDialog .rfw-rose,#formDialog .rf2-block{background:var(--panel);border-radius:var(--r-card)}
#formDialog .rfh-g,#formDialog .rfh-scale.rfh-g{--rfh-c:var(--action)}
#formDialog button.primary,#formDialog .rfs-row .primary{min-height:52px!important;border-radius:var(--r-ctl)!important;font-size:16px;font-weight:600}
#formDialog button.primary:disabled{opacity:.45}
#formDialog input,#formDialog select,#formDialog textarea{background:var(--panel)!important;border:1px solid var(--line)!important;color:var(--text)!important;border-radius:var(--r-ctl)!important;min-height:44px}
#formDialog [role=radio],#formDialog .rf2-chip,#formDialog .calm-chips button{border-radius:var(--r-card)!important;border:1px solid var(--line)!important;background:var(--panel)!important;color:var(--text)!important;min-height:44px}
#formDialog [role=radio][aria-checked=true],#formDialog .calm-chips button[aria-checked=true]{border:2px solid var(--action)!important;background:color-mix(in srgb,var(--action) 7%,var(--panel))!important;font-weight:600}
@media(min-width:901px){#formDialog{width:520px!important;max-width:520px!important}}
#openMenu svg{display:block}
#headerTheme svg{display:block}

/* picker row: home and favourite */
#spot .picker-home,#spot .picker-star{width:44px;min-width:44px;height:52px;min-height:52px;padding:0!important;border:1px solid var(--line)!important;background:var(--panel)!important;border-radius:var(--r-ctl)!important;display:flex;align-items:center;justify-content:center;color:var(--accent)}
#spot .picker-star svg{fill:none;stroke:var(--muted)}
#spot .picker-star.on svg{fill:#F6C945;stroke:#C99A1E}
#spot .picker-star[hidden]{display:none!important}
@media(max-width:900px){#spot{display:flex!important;align-items:center;gap:8px}#spot .forecast-beach-picker{flex:1;min-width:0}}

/* ---------- side menu and inner pages ---------- */
.drawer-page,.side-menu,#sideMenu{font-family:Heebo,system-ui,sans-serif}
.drawer-page{background:var(--bg)!important;color:var(--text)!important}
.drawer-page-header{background:var(--bg)!important;border-bottom:1px solid var(--line)!important}
.drawer-page-header h2{font-size:20px!important;font-weight:600!important}
.drawer-page-body{display:flex;flex-direction:column;gap:12px}
.drawer-page-body>label{font-size:13px;font-weight:600;color:var(--text-2)}
.drawer-page-body select,.drawer-page-body input{min-height:48px;background:var(--panel)!important;border:1px solid var(--line)!important;color:var(--text)!important;border-radius:var(--r-ctl)!important}
.drawer-page-body .primary,.drawer-save{min-height:48px!important;border-radius:var(--r-ctl)!important;font-weight:600}
.drawer-page-body details{background:var(--panel);border-radius:var(--r-card);padding:4px 14px;border:0}
.drawer-page-body details summary{min-height:48px;display:flex;align-items:center;font-weight:600}
.drawer-page-body>.report,.drawer-own-report{background:var(--panel)!important;border:0!important;border-radius:var(--r-card)!important;padding:14px!important;margin:0!important}
.drawer-page-body>button:not(.primary):not(.drawer-row),.drawer-page-body>.link{min-height:48px;border-radius:var(--r-ctl)!important;background:var(--panel)!important;border:1px solid var(--line)!important;color:var(--text)!important}
.account-delete{color:#B3261E!important;border-color:color-mix(in srgb,#B3261E 35%,var(--line))!important;background:transparent!important}
body:not(.light) .account-delete{color:#FF8A80!important}
.account-legal{font-size:14px;color:var(--muted)}
.drawer-row{min-height:52px!important;font-size:15px}
.drawer-row svg{stroke-width:1.8}
.drawer-group{border-color:var(--line)!important}
.member-row{background:var(--panel)!important;border:0!important;border-radius:var(--r-card)!important}
.member-row button{min-height:44px;border-radius:var(--r-ctl)!important;margin-inline-end:6px;margin-top:6px}
.member-role[aria-pressed=true]{border-color:var(--action)!important;color:var(--accent)!important}
dialog.admin-report{background:var(--bg)!important}
dialog.admin-report .ar-csv{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;border-radius:var(--r-ctl);background:var(--action);color:var(--on-action);font-weight:600;text-decoration:none}

/* ---------- weekly strip, day tiles as in the mockup ---------- */
.weekly-forecast .wk-strip{position:relative;padding:10px 4px 8px!important;overflow:hidden}
.wk-cols{gap:2px!important}
button.wk-day{display:flex!important;flex-direction:column;align-items:center;gap:0;padding:5px 2px!important;min-height:100px;outline:0!important}
.wk-day .wk-top{display:flex;align-items:center;justify-content:space-between;gap:4px;width:100%;padding:0 2px;box-sizing:border-box}
.wk-day .wk-nd{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2;min-width:0}
.wk-day .wk-nd b{font-size:13px!important;font-weight:600}
.wk-day .wk-nd small{font-size:13px!important}
.wk-day .wk-wx{display:flex;flex:none;height:16px;align-items:center}
.wk-day .wk-wx svg{width:16px!important;height:16px!important}
.wk-day .wk-bars{display:flex!important;align-items:flex-end!important;justify-content:center!important;gap:2px!important;height:42px!important;width:100%;margin-top:4px;padding:0!important}
.wk-day .wk-bars i{flex:none!important;width:13px!important;min-height:8px;border-radius:3px!important}
.wk-day .wk-h{margin-top:4px;font-size:13px!important;font-weight:700!important;white-space:nowrap;color:var(--text)!important;position:static!important}
.wk-day .wk-ar{display:flex!important;justify-content:center;height:18px;margin-top:2px}
.wk-day .wk-ar svg{width:16px;height:16px}
@media(max-width:900px){.wk-day .wk-top{flex-direction:column-reverse;align-items:center;gap:2px}.wk-day .wk-nd{align-items:center}.wk-day .wk-bars i{width:9px!important}}
@media(min-width:901px){.wk-day .wk-bars i{width:16px!important}}

/* ---------- top bars (as in the mockup) ---------- */
header #openMenu{order:4!important;margin:0!important}
header #headerLang{order:2!important}header #headerTheme{order:3!important}
header>div{order:0!important}
/* beach picker: name and area drawn over a transparent native select */
#spot .forecast-beach-picker.has-label{position:relative}
#spot .forecast-beach-picker.has-label select{color:transparent!important;text-shadow:none}
#spot .forecast-beach-picker.has-label select option{color:var(--text);background:var(--panel)}
#spot .picker-label{position:absolute;inset-block:0;inset-inline-start:14px;inset-inline-end:40px;display:flex;flex-direction:column;justify-content:center;line-height:1.15;pointer-events:none;overflow:hidden;white-space:nowrap}
#spot .picker-label b{font-size:17px;font-weight:600;color:var(--text);overflow:hidden;text-overflow:ellipsis}
#spot .picker-label small{font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis}
#spot .beach-picker-chevron{z-index:1;pointer-events:none}
#new svg{flex:none}
#new{display:inline-flex;align-items:center;gap:6px}
@media(min-width:901px){
 :root{--pad-x:max(32px,calc((100vw - 1600px)/2 + 32px));--bars-top:113px}
 header{height:60px!important;padding:0 var(--pad-x)!important;background:var(--panel)!important;border-bottom:0!important}
 header .brand-logo{width:40px!important;height:40px!important}
 header h1{gap:12px}
 header .brand-name{flex-direction:row;align-items:baseline;gap:6px}
 header .brand-main,header .brand-sub{font-size:20px}
 header .brand-sub{font-weight:400}
 header #headerLang{font-size:14px!important}
 .view-tabs{top:60px!important;min-height:52px!important;padding:0 var(--pad-x)!important;background:var(--panel)!important;border-bottom:1px solid var(--line)!important;gap:4px!important}
 .view-tabs>button:not(#new){height:52px!important;min-height:52px!important;padding:0 16px!important;font-size:15px!important;border-bottom:0!important;box-shadow:none!important}
 .view-tabs>button:not(#new)[aria-selected=true]{box-shadow:inset 0 -3px 0 var(--accent)!important}
 .view-tabs #new{height:40px!important;min-height:40px!important;margin-inline-start:8px!important;padding:0 16px!important;font-size:15px!important}
 .view-tabs #spot{gap:8px!important}
 .view-tabs #spot .forecast-beach-picker{min-width:260px!important}
 .view-tabs #spot select{height:40px!important;min-height:40px!important;font-size:15px!important}
 .view-tabs #spot .picker-label{flex-direction:row;align-items:center;justify-content:flex-start;gap:12px}
 .view-tabs #spot .picker-label b{font-size:15px}
 .view-tabs #spot .picker-home,.view-tabs #spot .picker-star{width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important}
 .view-tabs #spot #spotWater{display:none!important}
}

/* ---------- weekly strip, update 10.11: bars fill the tile; compact on phones; bigger weather on wide ---------- */
.wk-day .wk-bars{gap:2px!important;padding:0 2px!important;box-sizing:border-box}
.wk-day .wk-bars i{flex:1 1 0!important;max-width:30%!important;width:auto!important;min-width:0!important;border-radius:3px!important;height:calc(8px + var(--v,0) * 6px)!important;min-height:0!important}
@media(max-width:900px){
 .weekly-forecast .wk-strip{padding:6px 2px 4px!important}
 button.wk-day{min-height:0!important;padding:4px 1px!important}
 .wk-day .wk-top{display:grid!important;grid-template-columns:auto auto;grid-template-areas:"name wx" "date date";justify-content:center;align-items:center;column-gap:2px;padding:0!important}
 .wk-day .wk-nd{display:contents!important}
 .wk-day .wk-nd b{grid-area:name;font-size:13px!important;line-height:1.2}
 .wk-day .wk-nd small{grid-area:date;font-size:12px!important;line-height:1.15;text-align:center}
 .wk-day .wk-wx{grid-area:wx;height:14px}
 .wk-day .wk-wx svg{width:14px!important;height:14px!important}
 .wk-day .wk-bars{height:26px!important;margin-top:3px!important}
 .wk-day .wk-bars i{height:calc(5px + var(--v,0) * 4.2px)!important;border-radius:2px!important}
 .wk-day .wk-h{margin-top:2px!important;font-size:12.5px!important;line-height:1.2}
 .wk-day .wk-ar{height:14px!important;margin-top:1px!important}
 .wk-day .wk-ar svg{width:13px;height:13px}
}
@media(min-width:901px){
 .wk-day .wk-top{justify-content:center!important;gap:8px!important}
 .wk-day .wk-nd{align-items:center!important}
 .wk-day .wk-wx{height:28px}
 .wk-day .wk-wx svg{width:28px!important;height:28px!important}
 .wk-day .wk-bars{height:64px!important;margin-top:6px!important}
 .wk-day .wk-bars i{height:calc(14px + var(--v,0) * 10px)!important;border-radius:4px!important}
}

/* beaches tab: row / weekly switch as a quiet segmented control with icons */
.bt-sw{display:flex!important;gap:0;padding:3px!important;border:0!important;border-radius:12px!important;background:var(--soft)!important;overflow:visible!important}
.bt-sw button{width:44px!important;height:36px!important;min-height:36px!important;padding:0!important;border:0!important;border-radius:9px!important;background:transparent!important;color:var(--muted)!important;display:flex!important;align-items:center;justify-content:center;box-shadow:none!important}
.bt-sw button[aria-pressed=true]{background:var(--panel)!important;color:var(--text)!important;box-shadow:0 1px 3px rgba(15,34,48,.12)!important}
body:not(.light) .bt-sw button[aria-pressed=true]{background:var(--line)!important}
.bt-sw button::before,.bt-sw button .ic-label{display:none!important}
/* top bar: no water temperature beside the picker (it has its own tile) */
.view-tabs #spot #spotWater,#spot #spotWater{display:none!important}

/* ---------- wide tiles, update 10.11: one consistent stacked layout (label and icon, value, detail, trend) ---------- */
@media(min-width:901px){
 #dashTiles .dash-tile:not(.fl-status):not(.calm-tile){display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:4px!important;padding:14px 16px 12px!important;min-height:0!important;grid-template-areas:none!important}
 #dashTiles .dash-tile:not(.fl-status):not(.calm-tile) .tl-row{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important;gap:8px}
 #dashTiles .dash-tile:not(.fl-status):not(.calm-tile) .tl{font-size:14px!important;font-weight:500!important;color:var(--muted)!important}
 #dashTiles .dash-tile:not(.fl-status):not(.calm-tile) .dash-arrow,#dashTiles .dash-tile:not(.fl-status):not(.calm-tile) .tl-row>.dash-ico{justify-self:auto}
 #dashTiles .dash-tile:not(.fl-status):not(.calm-tile) .dash-arrow svg,#dashTiles .dash-tile:not(.fl-status):not(.calm-tile) .tl-row>.dash-ico svg{width:20px!important;height:20px!important}
 #dashTiles .dash-tile:not(.fl-status):not(.calm-tile) .trow{display:flex;align-items:baseline;gap:4px}
 #dashTiles .dash-tile:not(.fl-status):not(.calm-tile) .tbig{font-size:30px!important;font-weight:300!important;line-height:1.1!important}
 #dashTiles .dash-tile:not(.fl-status):not(.calm-tile) .tbig small{font-size:14px!important}
 #dashTiles .dash-tile:not(.fl-status):not(.calm-tile) .tsub{display:flex!important;white-space:normal!important;font-size:13px!important;color:var(--text-2)!important}
 #dashTiles .dash-tile:not(.fl-status):not(.calm-tile) .dash-spark{display:block!important;height:28px!important;width:100%;margin-top:auto!important}
 #dashReportsTile{display:flex!important;flex-direction:column}
 #dashReportsTile .drt-wide{display:flex!important;flex-direction:column!important;gap:4px;height:100%}
 #dashReportsTile .drt-wide::before{display:none!important}
 #dashReportsTile .drt-wide .tl{font-size:14px!important;font-weight:500!important;color:var(--muted)!important}
 #dashReportsTile .drt-wide .trow{display:flex!important;justify-content:space-between;align-items:baseline}
 #dashReportsTile .drt-wide .tbig{font-size:30px!important;font-weight:300!important}
 #dashReportsTile .drt-wide .tsub{font-size:13px!important;color:var(--text-2)!important}
}
@media(min-width:901px){
 #dashReportsTile,#dashReportsTile .drt-wide{text-align:start!important;align-items:stretch!important}
 #dashReportsTile .drt-wide>*{text-align:start!important;align-self:stretch}
 #dashReportsTile .drt-wide .trow{justify-content:space-between!important}
 #dashTiles .fl-status .tbig{font-size:clamp(30px,2.7vw,44px)!important;white-space:nowrap}
}
#dashReportsTile .tl-row{display:flex;justify-content:space-between;align-items:center}
#dashReportsTile .drt-ico{color:var(--accent);flex:none}
@media(max-width:900px){#dashReportsTile .drt-ico{width:13px;height:13px}}

/* ---------- weather and water split (approved 10.11) ---------- */
.fl-graph{margin-top:auto;display:flex;flex-direction:column;gap:2px}
.fl-graph .dash-spark{display:block!important;height:30px!important;width:100%;margin:0!important;border-inline:1px solid var(--line)}
.fl-gx{display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}
.fl-water-bar{margin-top:auto;display:flex;flex-direction:column;gap:4px}
.fl-wb-track{position:relative;display:flex;gap:2px;height:10px}
.fl-wb-track span{display:block;height:100%}
.fl-wb-track .w-warm{flex:5 1 0;background:#E9B872;border-start-start-radius:5px;border-end-start-radius:5px}
.fl-wb-track .w-mild{flex:6 1 0;background:#8EC5B0}
.fl-wb-track .w-cold{flex:4 1 0;background:#A9C8E8;border-start-end-radius:5px;border-end-end-radius:5px}
.fl-wb-track i{position:absolute;top:-4px;width:4px;height:18px;border-radius:2px;background:var(--text);box-shadow:0 0 0 2px var(--panel)}
.fl-wb-words{display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}
.fl-wb-words .on{color:var(--text);font-weight:600}
#dashTiles .t-short{display:none}
@media(min-width:901px){
 #mapView[data-mode=dashboard] #dashTiles{grid-template-columns:minmax(320px,1.2fr) repeat(3,minmax(0,1fr))!important}
 #mapView[data-mode=dashboard] #dashTiles .fl-status{grid-row:1/span 2!important}
}
@media(max-width:900px){
 #dashTiles .fl-graph{display:none!important}
 #dashTiles .t-long{display:none!important}
 #dashTiles .t-short{display:inline!important}
 #dashTiles .fl-wb-track{height:8px}
 #dashTiles .fl-wb-track i{height:16px}
 #dashTiles .fl-wb-words span:not(.on){display:none}
 #dashTiles .fl-wb-words{justify-content:center}
 /* reports: a row under the four tiles */
 #mapView #dashTiles .dash-reports-tile{grid-column:1/-1!important;min-height:48px!important;padding:0 14px!important;display:flex!important;align-items:center}
 #dashReportsTile .drt-wide{display:none!important}
 #dashReportsTile .drt-narrow{display:flex!important;flex-direction:column;justify-content:center;width:100%}
 #dashReportsTile .drt-top{display:flex;justify-content:space-between;align-items:center;width:100%}
 #dashReportsTile .drt-top b{font-size:14px;font-weight:600;color:var(--text)}
 #dashReportsTile .drt-narrow small{font-size:13px;color:var(--text-2)}
}
@media(min-width:901px){#dashTiles .fl-status .tbig{white-space:normal!important}#dashTiles .fl-st-top{flex-wrap:wrap}}

/* ---------- wide map tab, update 10.11: list 600px, map fills the rest, hour bar over the map only, card in the list column ---------- */
@media(min-width:901px){
 #mapView[data-mode=map]{grid-template-columns:600px minmax(0,1fr)!important;grid-template-rows:auto!important;gap:12px!important;padding:12px 32px 16px!important;align-items:stretch!important}
 #mapView[data-mode=map] #mapRank{grid-column:1!important;grid-row:1!important;height:calc(100dvh - var(--desktop-map-top,113px) - 28px)!important;padding:0!important;display:flex!important;flex-direction:column;overflow:hidden}
 #mapView[data-mode=map]>.mapwrap.mapwrap.mapwrap{grid-column:2!important;grid-row:1!important;height:calc(100dvh - var(--desktop-map-top,113px) - 28px)!important;--map-height:calc(100dvh - var(--desktop-map-top,113px) - 28px);border-radius:var(--r-card);overflow:hidden}
 #mapView[data-mode=map] #mapHours{grid-column:2!important;grid-row:1!important;align-self:start;z-index:850;margin:12px!important;height:auto!important;position:relative}
 #mapView[data-mode=map] .map-beach-actions,#mapView[data-mode=map] .map-selected-name,#mapView[data-mode=map] .map-beach-status{display:none!important}
 #mapView[data-mode=map] .maptag{display:none!important}
 #mapRank .mr-top{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:16px 16px 8px}
 #mapRank .mr-top h3{margin:0!important;padding:0!important;font-size:19px!important}
 #mapRank .mr-meta{font-size:13px;color:var(--muted)}
 #mapRank .mr-status{padding:0 16px}
 #mapRank .mr-cols,#mapRank .mr-row{display:grid!important;grid-template-columns:minmax(0,1fr) 76px 92px 86px 76px!important;grid-template-areas:"name chip wave wind rep"!important;column-gap:10px!important}
 #mapRank .mr-cols{padding:6px 16px;font-size:13px;color:var(--muted);border-bottom:1px solid var(--line-2)}
 #mapRank .mr-row{padding:12px 16px!important}
 #mapRank .mr-row .mr-reports:empty{display:block}
 #mapRankRows{overflow:auto;flex:1;min-height:0}
 /* the card in the list column */
 #cardDialog.beach-quick.in-list{position:fixed!important;inset:auto!important;margin:0!important;transform:none!important;max-width:none!important;max-height:none!important;min-height:0!important;padding:12px 20px 20px!important;border:0!important;border-radius:var(--r-card)!important;box-shadow:var(--shadow)!important;background:var(--panel)!important;z-index:800;overflow:auto}
 #cardDialog.beach-quick.in-list::before{display:none}
 #cardDialog.in-list #cardBody{gap:14px!important}
 #cardDialog.in-list #quickClose{display:none!important}
 #cardDialog.in-list .qs-title h2{font-size:26px!important;font-weight:600}
 #cardDialog.in-list .qs-tiles.qs-tiles{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #cardDialog.in-list .qs-go{min-height:52px!important;font-size:16px}
 #cardDialog.in-list .qs-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
 #cardDialog.in-list .qs-actions button{flex-direction:row!important;min-height:48px;font-size:14px}
 body.map-card-open #mapRank{visibility:hidden}
}
.qs-back{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;min-height:44px;padding:0 12px!important;margin-inline-start:-8px;border:0!important;background:transparent!important;color:var(--accent)!important;font-size:15px;font-weight:600;box-shadow:none!important}
.qs-back:hover{background:var(--soft)!important}
.qs-tiles .bath-grid{display:flex!important;flex-wrap:nowrap!important;gap:2px!important;grid-template-columns:none!important}
.qs-tiles .bath-slot{width:22px!important;height:22px!important}

/* ---------- beach card, one design for phone (bottom sheet) and wide (list column), 10.11 ---------- */
#mapView .map-beach-actions,#mapView .map-selected-name,#mapView .map-beach-status{display:none!important}
#cardDialog.beach-quick #cardBody{gap:12px!important}
#cardDialog.beach-quick .qs-head{align-items:flex-start}
#cardDialog.beach-quick .qs-title h2{font-size:22px!important;font-weight:600!important;line-height:1.2}
#cardDialog.beach-quick .qs-area{display:block;margin-top:2px;font-size:13px;color:var(--muted)}
#cardDialog.beach-quick .qs-area:empty{display:none}
#cardDialog.beach-quick .qs-icons button{border:1px solid var(--line)!important;background:var(--panel)!important;border-radius:var(--r-ctl)!important;box-shadow:none!important}
.qc{display:flex;flex-direction:column;gap:10px}
.qc-loading{padding:12px;color:var(--muted);font-size:14px}
.qc-rate{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.qc-rate .rate-chip{font-size:16px;padding:3px 12px;border-radius:10px}
.qc-rate .live-note{font-size:13px;color:var(--muted)}
.qc-rate .bath-grid{display:flex!important;flex-wrap:nowrap!important;gap:2px!important;grid-template-columns:none!important}
.qc-rate .bath-slot{width:22px!important;height:22px!important}
.qc-rate .bath-score,.qc-rate .bath-rating-button small{display:none!important}
.qc-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.qc-tile{background:var(--bg);border-radius:var(--r-ctl);padding:10px 12px;display:flex;flex-direction:column;gap:2px;min-width:0}
body:not(.light) .qc-tile{background:var(--soft)}
.qc-l{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--muted)}
.qc-l svg{flex:none}
.qc-v{font-size:20px;font-weight:400;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.qc-v small{font-size:13px;color:var(--muted)}
.qc-s{font-size:13px;color:var(--text-2);line-height:1.3}
.qc-s:empty{display:none}
#cardDialog.beach-quick .qs-latest{background:transparent!important;border:1px solid var(--line)!important;border-radius:var(--r-ctl)!important;padding:10px 14px!important}
#cardDialog.beach-quick .qs-go{min-height:52px!important;font-size:16px!important;border-radius:var(--r-ctl)!important}
#cardDialog.beach-quick .qs-actions{gap:8px!important}
#cardDialog.beach-quick .qs-actions button{flex-direction:row!important;gap:6px!important;min-height:48px!important;font-size:14px!important;border:1px solid var(--line)!important;background:var(--panel)!important;border-radius:var(--r-ctl)!important;color:var(--text)!important}
#cardDialog.beach-quick .qs-actions button.sea-exit{background:var(--sea-in)!important;border-color:var(--sea-in)!important;color:#fff!important}
@media(max-width:900px){
 .qc-tile{padding:8px 10px}
 .qc-v{font-size:17px}
 #cardDialog.beach-quick .qs-actions button{font-size:13px!important;padding:4px!important}
}
@media(min-width:901px){#cardDialog.in-list .qs-title h2{font-size:26px!important}}

/* ---------- hour bar over the map: lighter, rounded inside the map's corner (10.11) ---------- */
#mapView .mapwrap,#mapView .mapwrap #map,#mapView .mapwrap .leaflet-container{border-radius:var(--r-card)!important;overflow:hidden}
#mapView .mapwrap #map{background:transparent!important}
#mapView[data-mode=map] #mapHours{padding:8px 14px 6px!important;border-radius:14px!important;border:0!important;box-shadow:0 2px 10px rgba(15,34,48,.12)!important;background:color-mix(in srgb,var(--panel) 55%,transparent)!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
#mapView[data-mode=map] #mapHours .mr-head{font-size:13px}
#mapView[data-mode=map] #mapHours .mr-head label{font-size:14px!important;font-weight:600!important}
#mapView[data-mode=map] #mapHourLabel{font-size:14px!important;font-weight:600!important}
#mapView[data-mode=map] #mapHourNow{min-height:28px!important;height:28px;padding:0 10px!important;font-size:13px!important}
#mapView[data-mode=map] #mapHourTrack{height:24px!important;margin-top:2px!important}
#mapView[data-mode=map] #mapHourBar{inset:8px 0!important;border-radius:4px!important}
#mapView[data-mode=map] #mapHourBar span{border-inline-start-width:1px!important;border-inline-start-color:color-mix(in srgb,var(--panel) 55%,transparent)!important}
#mapView[data-mode=map] #mapHourBar span.mr-day{border-inline-start:2px solid var(--panel)!important}
#mapView[data-mode=map] #mapHourRange{height:24px!important}
#mapView[data-mode=map] #mapHourRange::-webkit-slider-runnable-track{height:24px!important}
#mapView[data-mode=map] #mapHourRange::-webkit-slider-thumb{width:8px!important;height:20px!important;margin-top:2px!important;border-radius:4px!important;border:1px solid #061722!important;background:#fff!important;box-shadow:0 1px 3px rgba(0,0,0,.25)}
#mapView[data-mode=map] #mapHourRange::-moz-range-thumb{width:6px!important;height:18px!important}
#mapView[data-mode=map] #mapHourDays{font-size:12px!important;margin-top:0}
@media(min-width:901px){#mapView[data-mode=map] #mapHours{margin:10px!important}}
@media(max-width:900px){#mapView[data-mode=map] #mapHours{top:8px;left:8px;right:8px}}
/* card icons match the beach-conditions page: yellow favourite star, teal home, same sea-entry icon */
#cardDialog.beach-quick .qs-icons .favorite-star{fill:none!important;stroke:var(--muted)!important}
#cardDialog.beach-quick .qs-icons .favorite-on .favorite-star{fill:#F6C945!important;stroke:#C99A1E!important}
#cardDialog.beach-quick .qs-icons .home-btn{color:var(--accent)!important}
#cardDialog.beach-quick .qs-icons svg{width:20px!important;height:20px!important}

/* ===================== tiles per Asaf's guide (10.11): status, wind, swell, weather·water·clothing ===================== */
#dashTiles .fl-status{gap:8px!important}
#dashTiles .fl-st-hero{display:flex;flex-direction:column;gap:8px}
#dashTiles .fl-st-hero .fl-st-rate{flex-direction:row;align-items:center;gap:10px}
#dashTiles .fl-st-actions{margin-top:auto;display:flex;flex-direction:column;gap:8px}
/* source line: reports count and where the rating comes from (opens the reports when there are any) */
#dashTiles .fl-status #dashReportsTile{display:flex!important;align-items:center;gap:8px;width:100%;min-height:40px;padding:0 2px!important;margin:0;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--accent)!important;font-size:14px;text-align:start;order:0;border-radius:var(--r-ctl)!important;cursor:pointer}
#dashTiles .fl-status #dashReportsTile:disabled{cursor:default;opacity:1;color:var(--text-2)!important}
#dashTiles .fl-status #dashReportsTile .fl-src-t{flex:1;min-width:0}
#dashTiles .fl-status #dashReportsTile .fl-src-t b{font-weight:600}
#dashTiles .fl-status #dashReportsTile .fl-src-when{color:var(--muted)}
#dashTiles .fl-status #dashReportsTile .drt-ico{flex:none}
#dashTiles .fl-status #dashReportsTile .drt-chevron{width:16px;height:16px;flex:none}
#dashTiles .fl-status #dashReportsTile:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#dashTiles .fl-st-actions #bestWeek{order:1}
#dashTiles .fl-st-actions .fl-sea{order:2}
#bestWeek .bw-text{display:flex;align-items:center;gap:8px}
#bestWeek .bw-body{flex:1;min-width:0;line-height:1.4}
#bestWeek .bw-body b{font-weight:600}
#bestWeek .t-short{display:none}
/* the triple tile: one frame, three areas, two quiet separators */
#dashTiles .fl-triple{display:flex!important;flex-direction:row!important;gap:16px!important;padding:14px 16px 12px!important;align-items:stretch}
#dashTiles .fl-triple .fl-tp{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:4px}
#dashTiles .fl-triple .fl-wear{flex:1.15 1 0}
#dashTiles .fl-triple .fl-tp-sep{width:1px;flex:none;align-self:stretch;background:var(--line)}
#dashTiles .fl-triple .tl-row{display:flex!important;justify-content:space-between;align-items:center;gap:6px}
#dashTiles .fl-triple .tl{font-size:14px!important;font-weight:500!important;color:var(--muted)!important}
#dashTiles .fl-triple .dash-ico{color:var(--accent);display:inline-flex}
#dashTiles .fl-triple .dash-ico svg{width:22px;height:22px}
#dashTiles .fl-triple .tbig{font-size:30px!important;font-weight:300!important;line-height:1.1;color:var(--text)!important}
#dashTiles .fl-triple .tsub{font-size:13px!important;color:var(--text-2)!important;display:block!important;white-space:normal!important}
#dashTiles .fl-wt-row{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
#dashTiles .fl-feel{font-size:16px;font-weight:600;color:var(--text)}
#dashTiles .fl-wb,.water-help .fl-wb{display:block;width:100%;margin-top:auto;padding:6px 0;border:0;background:transparent;cursor:pointer;min-height:24px}
#dashTiles .fl-wb:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}
.fl-wb-track{position:relative;display:flex!important;gap:2px;height:8px}
.fl-wb-track span{flex:1 1 0;display:block;height:100%}
.fl-wb-track span:first-child{border-radius:4px 0 0 4px}.fl-wb-track span:last-child{border-radius:0 4px 4px 0}
.fl-wb-track i{position:absolute;top:-5px;width:4px;height:18px;border-radius:2px;background:#0F2230;box-shadow:0 0 0 2px var(--panel)}
body:not(.light) .fl-wb-track i{background:#FFFFFF}
#dashTiles .fl-wear-l{font-size:15px;color:var(--text);line-height:1.35}
#dashTiles .fl-wear-l b{font-weight:600}
#dashTiles .fl-uv{margin-top:auto;display:flex;align-items:center;gap:6px;font-size:13px;color:var(--text-2);line-height:1.3}
#dashTiles .fl-uv .fl-fc{color:var(--muted)}
#dashTiles .uv-dot{width:8px;height:8px;border-radius:4px;flex:none;background:var(--muted)}
#dashTiles .uv-dot.mid{background:#E9B872}#dashTiles .uv-dot.hi{background:#E57B62}
#dashTiles .fl-uv{display:block}#dashTiles .fl-uv .uv-act{font-weight:600;color:var(--text)}#dashTiles .uv-lv{font-weight:600}#dashTiles .uv-low{color:var(--muted)}#dashTiles .uv-mid{color:#E9B872}#dashTiles .uv-high{color:#F08F6E}#dashTiles .uv-hi{color:#FF7A5C}
body.light #dashTiles .uv-mid{color:#9A6B1E}body.light #dashTiles .uv-high{color:#B9532F}body.light #dashTiles .uv-hi{color:#A8361F}
/* water help dialog */
dialog.water-help{width:min(380px,calc(100vw - 32px));padding:18px 20px!important;border:0!important;border-radius:var(--r-dialog)!important;background:var(--panel)!important;color:var(--text)!important;box-shadow:0 12px 40px rgba(15,34,48,.25)}
dialog.water-help::backdrop{background:rgba(6,23,34,.45)}
.water-help .wh-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.water-help h2{margin:0;font-size:18px;font-weight:600}
.water-help .wh-head button{width:44px;height:44px;min-height:44px;padding:0;border-radius:22px;border:0;background:var(--soft);color:var(--text);display:grid;place-items:center}
.water-help p{margin:8px 0;font-size:14px;color:var(--text-2)}
.water-help .fl-wb{cursor:default}
.water-help .wh-ends{display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}
.water-help .wh-list{list-style:none;margin:8px 0;padding:0}
.water-help .wh-list li{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line-2);font-size:15px}
.water-help .wh-list li.on b{text-decoration:underline;text-underline-offset:4px}
.water-help .wh-list i{width:28px;height:12px;border-radius:6px}
.water-help .wh-list bdi{color:var(--text-2)}
.water-help small{font-size:13px;color:var(--muted)}
/* layout: wide = status over two rows, wind and swell on top, the triple tile under them */
@media(min-width:901px){
 #mapView[data-mode=dashboard] #dashTiles{grid-template-columns:minmax(320px,1.15fr) repeat(2,minmax(0,1fr))!important;grid-auto-rows:auto!important}
 #mapView[data-mode=dashboard] #dashTiles .fl-status{grid-column:1!important;grid-row:1/span 2!important}
 #mapView[data-mode=dashboard] #dashTiles .fl-wind{grid-column:2!important;grid-row:1!important}
 #mapView[data-mode=dashboard] #dashTiles .fl-swell{grid-column:3!important;grid-row:1!important}
 #mapView[data-mode=dashboard] #dashTiles .fl-triple{grid-column:2/span 2!important;grid-row:2!important}
 #mapView[data-mode=dashboard] #dashTiles .calm-tile{grid-column:auto}
 #dashTiles .fl-status .tbig{font-size:clamp(32px,3vw,44px)!important}
 #dashTiles .fl-status .rating-frame{font-size:18px}
}
/* phone: status full width, wind and swell side by side (no day graphs), then the triple tile; the week strip stays in the first screen */
@media(max-width:900px){
 #mapView #dashTiles{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 #mapView #dashTiles .fl-status,#mapView #dashTiles .fl-triple{grid-column:1/-1!important}
 #mapView #dashTiles .fl-wind,#mapView #dashTiles .fl-swell{grid-column:auto!important}
 #mapView #dashTiles .calm-tile{grid-column:auto}
 #dashTiles .fl-status{padding:12px 14px 10px!important;gap:6px!important}
 #dashTiles .fl-st-hero{flex-direction:row;justify-content:space-between;align-items:flex-end;gap:10px}
 #dashTiles .fl-st-hero .fl-st-rate{flex-direction:column;align-items:flex-end;gap:6px}
 #dashTiles .fl-status .tbig{font-size:30px!important}
 #dashTiles .fl-st-actions{gap:6px}
 #dashTiles .fl-status #dashReportsTile{min-height:32px;font-size:13px}
 #bestWeek{min-height:40px!important;padding:4px 12px!important}
 #bestWeek .bw-facts,#bestWeek .t-long{display:none}
 #bestWeek .t-short{display:inline}
 #dashTiles .fl-triple{gap:10px!important;padding:10px 12px!important}
 #dashTiles .fl-triple .fl-wear{flex:1.3 1 0}
 #dashTiles .fl-triple .tl{font-size:13px!important}
 #dashTiles .fl-triple .tbig{font-size:22px!important}
 #dashTiles .fl-triple .dash-ico svg{width:18px;height:18px}
 #dashTiles .fl-feel{font-size:13px}
 #dashTiles .fl-wear-l{font-size:13px}
 #dashTiles .fl-triple .t-long{display:none!important}
 #dashTiles .fl-wb-track{height:6px}
 #dashTiles .fl-wb-track i{height:16px;top:-5px}
}

/* ===================== day table: 7 columns, swell height | period | energy side by side ===================== */
.wk-th,.wk-tr{grid-template-columns:96px 74px minmax(100px,1fr) minmax(236px,1.9fr) minmax(120px,1fr) minmax(84px,.7fr) 64px!important;width:auto!important;min-width:100%}
.wk-th>span,.wk-tr>.tc,.wk-tr>.tt{justify-content:center!important;align-items:center!important;text-align:center!important}
.wk-th>span{padding:8px 4px!important;line-height:1.15}
.wk-th>span:not(:first-child),.wk-tr>.tc{border-inline-start:1px solid var(--line-2)!important}
.wk-tr>.tt{justify-content:flex-start!important}
.wk-tr>.tc{flex-direction:column}
.wk-sw3{display:grid!important;grid-template-columns:76px 1px 46px 1px 56px;align-items:center;justify-items:center;column-gap:8px;flex-direction:row!important}
.wk-sw3 i{width:1px;height:16px;background:var(--line)}
.wk-sw3 .sw-h{display:inline-flex;align-items:center;gap:4px;justify-self:stretch;justify-content:center}
.wk-sw3 .sw-h b{font-weight:600;font-size:14px;color:var(--text)}
.wk-sw3 .sw-ar{width:14px;height:14px;display:inline-flex;flex:none}
.wk-sw3 .sw-p,.wk-sw3 .sw-e{font-size:13px;color:var(--text-2);white-space:nowrap}
.wk-wind2{gap:1px}
.wk-kn2{font-weight:600;font-size:14px;color:var(--text)}
.wk-wdir{display:inline-flex;align-items:center;gap:4px;font-size:13px;color:var(--text-2)}
.wk-wdir .wd-ar{width:14px;display:inline-flex;justify-content:center}
.wx2{gap:0!important}
.wx2 svg{width:22px;height:22px}
.wx2 b{font-weight:600;font-size:14px}
.wk-tr .wk-seac{font-size:14px;color:var(--text)}
.wk-tr .wk-none{grid-column:2/-1;color:var(--muted)}
.wk-tr .wk-word{font-weight:600}
@media(max-width:900px){
 .wk-scroll{overflow-x:auto!important;scroll-snap-type:none!important}
 .wk-th,.wk-tr{grid-template-columns:84px 62px 96px 236px 112px 76px 56px!important;width:max-content!important;min-width:100%}
 .wk-tr>.tt,.wk-th>span:first-child{position:sticky;inset-inline-start:0;z-index:2;background:var(--panel)}
 .wk-tr.sub>.tt{background:color-mix(in srgb,var(--soft) 50%,var(--panel))}
 .wk-swipe{display:inline!important}
}
@media(min-width:901px){.wk-swipe{display:none!important}}
/* the triple tile keeps its row layout over the generic wide tile rule */
#dashTiles .dash-tile.fl-triple:not(.fl-status):not(.calm-tile){display:flex!important;flex-direction:row!important;align-items:stretch!important;gap:16px!important}
#dashTiles .fl-triple .fl-tp .trow{display:flex;align-items:baseline;gap:8px}
#dashTiles .fl-triple .dash-spark{display:block!important}
#dashTiles .fl-uv .t-short{display:none}
@media(max-width:900px){
 #dashTiles .dash-tile.fl-triple:not(.fl-status):not(.calm-tile){gap:8px!important}
 #dashTiles .fl-triple .fl-weather{flex:.8 1 0}#dashTiles .fl-triple .fl-water{flex:1 1 0}#dashTiles .fl-triple .fl-wear{flex:1.55 1 0}
 #dashTiles .fl-uv .t-long{display:none}#dashTiles .fl-uv .t-short{display:inline}
 #dashTiles .fl-wear-l{line-height:1.3}
 #dashTiles .fl-wt-row{flex-direction:column;align-items:flex-start;gap:0}
}
@media(max-width:900px){
 #forecastPanel>#spot{margin-bottom:0!important}
 #forecast{padding-top:0!important}
 #forecast .weekly-forecast{margin-top:0!important}
 #dashTiles .fl-status .rating-frame{font-size:17px;padding:3px 12px}
}
/* source line keeps icon and text on one row */
#dashTiles .fl-status #dashReportsTile{flex-direction:row!important}
/* swim mode hides the swell tile (as before); the wind tile takes its place */
html.dd-calm #dashTiles .fl-swell:not(.fl-current){display:none!important}
html.dd-calm #dashTiles .fl-wind{display:flex!important}
/* phone table: the fixed time column gets a quiet edge */
@media(max-width:900px){.wk-tr>.tt,.wk-th>span:first-child{box-shadow:-1px 0 0 var(--line)}}
html.dd-calm #dashTiles .dash-tile.fl-swell:not(.fl-status):not(.calm-tile):not(.fl-current){display:none!important}
/* phone: tighter rhythm so the week strip stays in the first screen also with the guest banner */
@media(max-width:900px){
 #mapView #dashTiles{gap:6px!important}
 #dashTiles .fl-status{padding:10px 14px 8px!important;gap:4px!important}
 #dashTiles .fl-st-actions{gap:5px!important}
 #mapView #dashTiles .dash-tile.fl-wind:not(.fl-status):not(.calm-tile),#mapView #dashTiles .dash-tile.fl-swell:not(.fl-status):not(.calm-tile){padding:8px 10px 7px!important}
 #dashTiles .fl-wind .tbig,#dashTiles .fl-swell .tbig{font-size:20px!important}
 #dashTiles .dash-tile.fl-triple:not(.fl-status):not(.calm-tile){padding:8px 10px!important}
}
@media(max-width:900px){
 #spot .forecast-beach-picker select,#beach,#spot .picker-home,#spot .picker-star{min-height:46px!important;height:46px!important}
 #mapView{row-gap:6px!important}
 #guestBanner{padding-top:3px!important;padding-bottom:3px!important}
}

/* ---------- phone, compact conditions tab (approved 10.11): the week strip fits fully in the first screen.
   Scoped to #dashTiles on phones; header, beach picker, bottom bar and the week strip are unchanged. ---------- */
@media(max-width:900px){
 /* status: the reports line joins the title row (moved there by dashboard.js), the hero is a little tighter */
 #dashTiles .fl-status .tl-row{gap:4px 10px;row-gap:0}
 #dashTiles .fl-status .tl-row #dashReportsTile{flex:0 1 auto!important;width:auto!important;max-width:100%;margin-inline-start:auto;min-height:32px!important;margin-block:-8px;padding:0!important;border:0!important;background:transparent!important;font-size:13px!important;color:var(--text-2);gap:5px;align-items:center;min-width:0}
 #dashTiles .fl-status .tl-row #dashReportsTile .fl-src-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #dashTiles .fl-status .tl-row #dashReportsTile .fl-src-t b{font-weight:600}
 #dashTiles .fl-status .tbig{font-size:30px!important;line-height:1.05!important}
 #dashTiles .fl-st-hero .fl-st-rate{gap:4px}
 #dashTiles .fl-status .fl-st-main .tsub{margin-top:2px}
 /* wind and swell: label, value and arrow on one row, detail under it */
 #mapView #dashTiles .dash-tile.fl-wind:not(.fl-status):not(.calm-tile),#mapView #dashTiles .dash-tile.fl-swell:not(.fl-status):not(.calm-tile){display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"tl big ar" "sub sub sub";align-items:center;column-gap:8px;row-gap:1px;padding:7px 12px 8px!important;min-height:0!important}
 #dashTiles .fl-wind .tl-row,#dashTiles .fl-swell .tl-row{display:contents!important}
 #dashTiles .fl-wind .tl,#dashTiles .fl-swell .tl{grid-area:tl;font-size:13px!important}
 #dashTiles .fl-wind .dash-arrow,#dashTiles .fl-swell .dash-arrow{grid-area:ar;justify-self:end}
 #dashTiles .fl-wind .trow,#dashTiles .fl-swell .trow{grid-area:big;justify-self:start;margin:0!important}
 #dashTiles .fl-wind .tbig,#dashTiles .fl-swell .tbig{font-size:22px!important;line-height:1.15!important}
 #dashTiles .fl-wind .tsub,#dashTiles .fl-swell .tsub{grid-area:sub;margin:0!important;line-height:1.3}
 /* air, water, wear: smaller numbers, tighter rows, no empty space */
 #dashTiles .dash-tile.fl-triple:not(.fl-status):not(.calm-tile){padding:7px 10px 8px!important;min-height:0!important}
 #dashTiles .fl-triple .fl-tp{gap:1px!important;min-height:0!important}
 #dashTiles .fl-triple .tl-row{min-height:0;line-height:1.25}
 #dashTiles .fl-triple .tbig{font-size:20px!important;line-height:1.15!important}
 #dashTiles .fl-triple .fl-feel{line-height:1.2}
 #dashTiles .fl-triple .tsub{line-height:1.25}
 #dashTiles .fl-triple .fl-water-bar{margin-top:6px}
 #dashTiles .fl-wear-l{margin-top:2px}
 #dashTiles .fl-uv{margin-top:auto}
}
/* ===================== day table on phone: two swipe pages like Surfline (10.11) ===================== */
.wk-tb,.wk-en-c,.wk-en-h,.wk-dots{display:none!important}
.wk-tb{align-items:center;gap:8px;min-height:40px}
.wk-tb>i{width:5px;align-self:stretch;min-height:38px;border-radius:0;flex:none;background:var(--wk-tone)}
.wk-tb>span{display:flex;flex-direction:column;min-width:0}
.wk-tb b{font-size:14px;font-weight:600;color:var(--text);line-height:1.2;white-space:nowrap}
.wk-tb small{font-size:13px;font-weight:500;line-height:1.2;white-space:nowrap;color:color-mix(in srgb,var(--wk-tone) 72%,var(--text))}
.wk-dots{justify-content:center;gap:0;padding:4px 0 0}
.wk-dots button{display:flex;align-items:center;justify-content:center;width:32px;height:28px;min-width:0!important;min-height:0!important;padding:0;margin:0;border:0;background:transparent!important;box-shadow:none!important;cursor:default}
.wk-dots i{display:block;width:8px;height:8px;border-radius:50%;background:var(--line)}
.wk-dots button.on i{background:var(--accent)}
@media(max-width:900px){
 .wk-scroll{--wk-t:76px;--wk-p:calc(100cqw - var(--wk-t));overflow-x:auto!important;scroll-snap-type:x mandatory!important;scroll-padding-inline-start:var(--wk-t)}
 .wk-th,.wk-tr{grid-template-columns:var(--wk-t) calc(var(--wk-p)*.3) calc(var(--wk-p)*.4) calc(var(--wk-p)*.3) calc(var(--wk-p)*.34) calc(var(--wk-p)*.3) calc(var(--wk-p)*.36)!important;width:max-content!important;min-width:0!important}
 .wk-th>span:nth-child(2),.wk-tr>.wk-rate{display:none!important}
 .wk-th>span{scroll-snap-align:none!important}
 .wk-th>.wk-p1,.wk-th>.wk-p2{scroll-snap-align:start!important}
 .wk-tr>.tt,.wk-th>span:first-child{padding-inline-start:10px!important}
 .wk-tr .wk-pill{display:none!important}
 .wk-tb{display:flex!important}
 .wk-en-c,.wk-en-h{display:flex!important}
 .wk-tr .wk-en-c{font-size:14px;color:var(--text);white-space:nowrap}
 .wk-dots{display:flex!important}
 .wk-sw3{display:flex!important;flex-direction:column!important;align-items:center;gap:1px}
 .wk-sw3>i,.wk-sw3 .sw-e{display:none!important}
}

/* Cluster list on the map: leave room for the floating hours bar so the list fits below it. */
#mapView .group-coast-card{max-height:min(55dvh,calc(var(--map-height,500px) - var(--hours-cover,0px) - 70px))}

/* ===================== side menu and help page, as in the approved mockup (11.11) ===================== */
body{--track:#1C3540;--chev:#6F8794}
body.light{--track:#ECEFF1;--chev:#9AA6AE}
html.dd-calm body{--track:#1A2858;--chev:#7C88B8}
html.dd-calm body.light{--track:#E8EDF7;--chev:#9AA3C2}
#sideMenu.side-menu{border-radius:0!important;width:min(336px,calc(100vw - 44px));background:var(--bg)!important;padding:16px 14px max(20px,env(safe-area-inset-bottom));gap:12px;border:0}
@media(min-width:901px){#sideMenu.side-menu{width:400px;padding:20px 20px 24px}}
#sideMenu .drawer-profile{border:0;padding:4px 4px 4px 0;gap:12px}
#sideMenu .profile-initials{border:0;background:var(--action);color:var(--on-action);font-size:18px;font-weight:600}
#sideMenu .drawer-profile #drawerName{display:flex;flex-direction:column;align-items:flex-start;gap:0;padding:0;color:var(--text);text-align:start}
#sideMenu .drawer-name-text{font-size:18px;font-weight:600;line-height:1.35}
#sideMenu .drawer-name-sub{font-size:13px;color:var(--muted);font-weight:400}
#sideMenu .drawer-name-sub::after{content:' ›'}
#sideMenu .drawer-profile #closeMenu{width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border-radius:22px;background:var(--track);color:var(--text);display:grid;place-items:center}
#sideMenu .drawer-profile #closeMenu::after{content:none}
#sideMenu .drawer-profile #closeMenu svg{width:18px;height:18px;stroke-width:2}
#sideMenu .drawer-group{background:var(--panel);border:0!important;border-radius:var(--r-card);padding:0;overflow:hidden;display:flex;flex-direction:column}
#sideMenu .drawer-row{position:relative;min-height:52px!important;padding:0 16px;gap:14px;border-radius:0;font-size:16px;font-weight:400;color:var(--text)}
#sideMenu .drawer-row:hover{background:var(--row-hover)}
#sideMenu .drawer-group>.drawer-row:not([hidden])~.drawer-row::before{content:'';position:absolute;top:0;inset-inline-start:16px;inset-inline-end:0;height:1px;background:var(--line-2)}
#sideMenu .drawer-icon{color:var(--text-2);width:22px}
#sideMenu .drawer-install{font-weight:600}
#sideMenu .drawer-install .drawer-icon{color:var(--accent)}
.drawer-chevron{display:flex;align-items:center;color:var(--chev)}
.drawer-chevron .ui-action-icon{width:16px;height:16px;stroke-width:2}
html[dir=ltr] .drawer-chevron svg{transform:scaleX(-1)}
#sideMenu .drawer-count{min-width:22px;height:22px;padding:0 6px;box-sizing:border-box;border-radius:11px;background:#E8893A!important;color:#fff!important;font-size:13px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
#sideMenu .drawer-count:empty{display:none}
/* rating mode: a segmented switch inside a card */
#sideMenu .menu-mode{margin:0;padding:12px 14px 14px;gap:10px;border:0;border-radius:var(--r-card);background:var(--panel)}
#sideMenu .menu-mode .menu-lang-title{font-size:13px;font-weight:600;color:var(--muted)}
#sideMenu .menu-mode .menu-lang-seg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:3px;border-radius:12px;background:var(--track)}
#sideMenu .menu-mode .menu-lang-seg button{height:44px;min-height:44px;gap:8px;border:0;border-radius:10px;background:transparent;color:var(--text-2);font-size:15px;font-weight:400}
#sideMenu .menu-mode .menu-lang-seg button[aria-pressed=true]{background:var(--panel);color:var(--text);font-weight:600;box-shadow:0 1px 3px rgba(15,34,48,.12)}
#sideMenu .menu-mode .menu-lang-seg button[data-mode=surf] img{width:24px;height:24px}
#sideMenu .menu-mode .menu-lang-seg button[data-mode=calm] img{width:30px;height:20px}
#sideMenu .menu-mode-desc{font-size:13px;line-height:1.5;color:var(--muted)}
/* bottom: sign-out as a card row, then the credit line */
#sideMenu .drawer-bottom{margin-top:auto;padding-top:0;display:flex;flex-direction:column;gap:12px}
#sideMenu .drawer-exit{min-height:52px;padding:0 16px;gap:14px;font-weight:400;border-radius:var(--r-card);background:var(--panel)!important;font-size:16px;color:#B3261E!important}
body:not(.light) #sideMenu .drawer-exit{color:#FF8A80!important}
#sideMenu .drawer-exit::before{content:none}
#sideMenu .drawer-exit .drawer-icon{color:inherit}
#sideMenu .drawer-foot{margin:4px 0 0;font-size:13px;color:var(--chev);text-align:center}

/* inner pages: round close button like the menu */
.drawer-page .drawer-page-close{width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border-radius:22px;background:var(--track)!important;color:var(--text);display:grid;place-items:center}
.drawer-page .drawer-page-close svg{width:18px;height:18px;stroke-width:2}
.drawer-page-body details summary{color:var(--text)!important}

/* help and symbols */
.help-page .drawer-page-back{display:none!important}
.help-page .drawer-page-header{border-bottom:0!important;padding:12px 16px 8px 8px}
html[dir=ltr] .help-page .drawer-page-header{padding:12px 8px 8px 16px}
.help-page .drawer-page-header h2{font-size:22px!important}
.help-page .drawer-page-body{padding:4px 16px 32px;gap:14px}
.help-main{display:flex;flex-direction:column;gap:14px}
.help-card{background:var(--panel);border-radius:var(--r-card);padding:16px;display:flex;flex-direction:column;gap:10px}
.help-card h3{margin:0;font-size:17px;font-weight:600;color:var(--text)}
.drawer-page-body .help-card p{margin:0;font-size:14px;line-height:1.55;color:var(--text-2)}
.drawer-page-body .help-card .help-note{font-size:13px;color:var(--muted)}
.help-scale-list>div{display:grid;grid-template-columns:28px 64px minmax(0,1fr);align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid var(--line-2)}
.help-scale-list i{width:22px;height:22px;border-radius:6px}
.help-scale-list b{font-size:15px;font-weight:600}
.help-scale-list span{font-size:14px;color:var(--text-2)}
.help-heights-list>div{display:grid;grid-template-columns:minmax(0,1fr) 120px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line-2)}
.help-heights-list>.help-heights-head{padding:6px 0;font-size:13px;color:var(--muted);border-color:var(--line)}
.help-heights-list>div:not(.help-heights-head)>span:first-child{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:500}
.help-heights-list>div:not(.help-heights-head)>span:last-child{font-size:15px;font-variant-numeric:tabular-nums;color:var(--text-2)}
.help-heights-list i{display:inline-block;width:6px;border-radius:3px;background:var(--action)}
.help-arrow{display:flex;align-items:center;gap:12px}
.help-arrow svg{flex:none}
.help-arrow span{font-size:14px;color:var(--text-2)}
.help-arrow b{color:var(--text)}
@media(min-width:901px){
 .drawer-page.help-page{width:min(1120px,calc(100vw - 48px));border:0;border-radius:var(--r-dialog)}
 .help-page .drawer-page-header{padding:20px 24px 8px}
 .help-page .drawer-page-header h2{font-size:26px!important}
 .help-page .drawer-page-body{padding:8px 24px 24px;gap:16px}
 .help-main{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
}
html[dir=ltr] .help-scale-list>div{grid-template-columns:28px 92px minmax(0,1fr)}
#sideMenu .drawer-install{background:transparent!important}
#sideMenu .drawer-install:hover{background:var(--row-hover)!important}
.drawer-page .drawer-icon{color:var(--text-2)}
#sideMenu.side-menu>*{flex-shrink:0}

/* UV line (11.11): index + level on top, general advice below; same on phone and wide */
#dashTiles .fl-uv{display:flex!important;flex-direction:column;align-items:stretch;gap:2px;padding-top:6px}
#dashTiles .fl-uv:empty{display:none!important}
#dashTiles .fl-uv .uv-top{display:flex;flex-wrap:wrap;gap:0 6px;align-items:baseline}
#dashTiles .fl-uv .uv-act{font-weight:400;color:var(--text-2)}
/* ===================== header: menu button at the start, before the logo (11.11) ==============   Hebrew: menu on the right, then logo and name; EN and theme stay on the left. English mirrors itself. */
header #openMenu{order:-1!important;margin:0!important;margin-inline-end:2px!important}
header>div{order:0!important;margin-inline-end:auto!important}
html:not([dir=ltr]) header #openMenu svg{transform:scaleX(-1)}
header #openMenu.has-pending:after{right:auto;left:auto;inset-inline-end:5px;top:5px}
@media(max-width:900px){header{padding:8px 12px 8px 8px!important;gap:4px}html[dir=ltr] header{padding:8px 8px 8px 12px!important}}
=======

/* weather icon in the air tile (11.11): larger, without making the title row taller */
#dashTiles .fl-triple .dash-wx svg{width:40px!important;height:42px!important;margin:-10px 0 -12px}
@media(max-width:900px){#dashTiles .fl-triple .dash-wx svg{width:32px!important;height:34px!important;margin:-8px 0 -10px}}

/* SRF Park card in the list column on the wide map tab (same placement as the beach card) */
.wave-park-card .wp-back{display:none}
@media(min-width:901px){
 .wave-park-card.in-list{position:fixed!important;inset:auto!important;margin:0!important;transform:none!important;max-width:none!important;max-height:none!important;box-sizing:border-box;padding:12px 20px 20px!important;border:0!important;border-radius:var(--r-card)!important;box-shadow:var(--shadow)!important;background:var(--panel)!important;z-index:800;overflow:auto}
 .wave-park-card.in-list .wp-back{display:inline-flex;margin-bottom:6px}
 .wave-park-card.in-list .wp-head [data-close]{display:none!important}
 .wave-park-card.in-list h2{font-size:26px;font-weight:600}
 body.park-card-open #mapRank{visibility:hidden}
}
#mapView[data-mode=map] .leaflet-top{top:var(--hours-cover,0px)}

/* ---------- swim mode, beach conditions (approved 11.11, mockup "תנאי החוף במצב שחייה").
   Same structure as surf: the swell slot holds the "currents" tile (built by calm-mode.js with the swell
   tile's classes, so it takes the same layout); visibility and jellyfish are one compact row of two;
   the offshore line and the safety note sit in the status card. Phone: all tiles above the week strip. ---------- */
#dashTiles .calm-est{font-style:normal;font-weight:400;font-size:12px;color:var(--muted)}
#dashTiles .fl-current .calm-ico{color:var(--muted);display:inline-flex}
#dashTiles .fl-current .tbig{white-space:nowrap}
#dashTiles .calm-lvl{display:inline-flex;gap:2px;margin-inline-start:6px;vertical-align:middle;direction:ltr}
#dashTiles .calm-lvl i{width:10px;height:6px;border-radius:2px;background:var(--line)}
#dashTiles .calm-lvl[data-l="1"] i:first-child{background:var(--rating-4)}
#dashTiles .calm-lvl[data-l="2"] i:nth-child(-n+2){background:var(--rating-2)}
#dashTiles .calm-lvl[data-l="3"] i{background:var(--pending,#ec944c)}
#dashTiles .calm-flag{display:inline-block;padding:0 6px;border-radius:6px;font-weight:500;color:var(--text);background:color-mix(in srgb,var(--pending,#ec944c) 22%,var(--panel))}
#dashTiles .calm-st-extra{display:flex;flex-direction:column;gap:3px}
#dashTiles .calm-warn-line{display:flex;align-items:center;gap:6px;padding:4px 10px;border-radius:10px;font-size:13px;font-weight:500;line-height:1.3;color:var(--text);background:color-mix(in srgb,var(--pending,#ec944c) 20%,var(--panel))}
#dashTiles .calm-warn-line svg{flex:none;color:var(--pending,#ec944c)}
#dashTiles .calm-safety{font-size:12px;line-height:1.3;color:var(--muted)}
#mapView #dashTiles .calm-mini{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:inherit;padding:0!important;border:0!important;background:none!important;min-height:0!important;box-shadow:none!important}
#dashTiles .calm-mc{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;min-height:36px;box-sizing:border-box;padding:5px 12px;border:1px solid var(--line);border-radius:12px;background:var(--panel);font-size:13px}
#dashTiles .calm-mc span{color:var(--text-2,var(--muted));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
#dashTiles .calm-mc b{font-weight:500;white-space:nowrap}
@media(min-width:901px){
 html.dd-calm #mapView[data-mode=dashboard] #dashTiles .fl-status{grid-row:1/span 3!important}
 #mapView[data-mode=dashboard] #dashTiles .calm-mini{grid-column:2/span 2!important;grid-row:3!important}
 #dashTiles .calm-mc{min-height:44px;font-size:14px;padding:8px 14px}
}
@media(max-width:900px){
 /* half-width tile: the level bars, icon and "estimate" stay out so name and word fit on one row */
 #dashTiles .fl-current .calm-lvl,#dashTiles .fl-current .calm-ico,#dashTiles .fl-current .calm-est{display:none!important}
 #mapView #dashTiles .calm-mini{gap:6px}
 #dashTiles .calm-mc{min-height:34px;padding:4px 10px}
 #dashTiles .calm-mc .calm-est{display:none}
}
/* day table, swim mode: rip word in the swell column */
.wk-rip b{font-weight:500}
.wk-rip[data-l="3"] b{color:var(--pending,#ec944c)}
/* the phone compact rules for the swell tile are more specific than the swim-mode hide; this keeps it hidden */
html.dd-calm #mapView #dashTiles .dash-tile.fl-swell:not(.fl-current){display:none!important}
/* phone, swim mode: a little tighter so the week strip also fits on an offshore-wind day */
@media(max-width:900px){
 html.dd-calm #dashTiles .calm-st-extra{gap:2px}
 html.dd-calm #dashTiles .calm-warn-line{padding:2px 8px;line-height:1.25}
 html.dd-calm #dashTiles .calm-safety{line-height:1.2}
 html.dd-calm #dashTiles .calm-mc{min-height:30px;padding:2px 10px}
 html.dd-calm #mapView #dashTiles .dash-tile.fl-wind:not(.fl-status):not(.calm-tile),html.dd-calm #mapView #dashTiles .dash-tile.fl-current:not(.fl-status):not(.calm-tile){padding-block:5px 6px!important}
}
@media(max-width:900px){html.dd-calm #mapView #dashTiles .fl-wind .tsub,html.dd-calm #mapView #dashTiles .fl-current .tsub{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis;min-width:0}}
/* tile dialogs: wind, swell, weather, clothing & UV (11.11) */
#dashTiles [data-tdlg]{cursor:pointer}
#dashTiles [data-tdlg]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (hover:hover){#dashTiles .dash-tile[data-tdlg]:hover,#dashTiles .fl-tp[data-tdlg]:hover{background:color-mix(in srgb,var(--text) 3%,transparent)}}
dialog.tile-help{max-height:calc(100dvh - 32px);overflow:auto}
.tile-help .td-now{display:flex;align-items:center;gap:12px;margin:10px 0 4px}
.tile-help .td-now svg{flex:none}
.tile-help .td-big{font-size:30px;font-weight:600;line-height:1.1;font-variant-numeric:tabular-nums}
.tile-help .td-big small{font-size:15px;font-weight:400;color:var(--text-2)}
.tile-help .td-sub{font-size:14px;color:var(--text-2)}
.tile-help .td-wx{display:inline-grid;place-items:center;color:var(--text-2)}
.tile-help .td-now .td-wx svg{width:34px;height:34px}
.tile-help .td-lbl{font-size:13px;color:var(--muted);margin:12px 0 2px}
.tile-help .td-chart svg{display:block;width:100%;height:auto}
.tile-help .td-chart text{font-family:inherit;font-size:11px;fill:var(--muted)}
.tile-help .td-night{fill:color-mix(in srgb,var(--text) 6%,transparent)}
.tile-help .td-grid{stroke:var(--line-2);stroke-width:1}
.tile-help .td-now-l{stroke:var(--muted);stroke-dasharray:3 3}
.tile-help .td-dot{stroke:var(--panel);stroke-width:2}
.tile-help .td-hrs{display:grid;grid-template-columns:repeat(6,1fr);border-top:1px solid var(--line-2);margin-top:6px}
.tile-help .td-hrs>div{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 0 4px;font-size:13px;font-variant-numeric:tabular-nums;min-width:0}
.tile-help .td-hrs>div.on{background:color-mix(in srgb,var(--accent) 12%,transparent);border-radius:10px}
.tile-help .td-hrs .td-tm{color:var(--muted)}
.tile-help .td-hrs b{font-size:14px;font-weight:600;color:var(--text)}
.tile-help .td-hrs>div>span:last-child{color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.tile-help .td-hrs .td-wx svg{width:20px;height:20px}
.tile-help .td-na{display:block;width:18px;height:18px}
.tile-help .td-lst{list-style:none;margin:6px 0;padding:0}
.tile-help .td-lst li{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:8px 6px;border-bottom:1px solid var(--line-2);font-size:14px}
.tile-help .td-lst li bdi{color:var(--text-2);font-variant-numeric:tabular-nums}
.tile-help .td-lst li.on{background:color-mix(in srgb,var(--accent) 12%,transparent);border-radius:10px;border-color:transparent}
.tile-help .td-lst li.on>b{text-decoration:underline;text-underline-offset:4px}
.tile-help .td-uv li>span{display:flex;flex-direction:column;gap:2px}
.tile-help .td-uv li>span>span{font-size:13px;color:var(--text-2)}
.tile-help .td-note{font-size:13px!important;color:var(--muted)!important}
@media (min-width:901px){dialog.tile-help{width:min(560px,calc(100vw - 32px))}.tile-help .td-cols{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}}

/* Sea entry ("נכנסתי לים", "N במים", "מי נכנס") hidden until app_secrets sea-entry-enabled=1 (11.11.2026). Code and data kept. */
body:not(.sea-on) .fl-sea,body:not(.sea-on) .fl-inwater,body:not(.sea-on) #cardSea,body:not(.sea-on) #quickWho,body:not(.sea-on) #quickPeople,body:not(.sea-on) #seaActionStatus,body:not(.sea-on) .map-beach-actions [data-map-action=sea],body:not(.sea-on) .map-beach-actions [data-map-action=people]{display:none!important}
/* ===================== 11.11: report tab centred like the other tabs; a little more air around the surf tiles (phone) ===================== */
@media(max-width:900px){
 .view-tabs #navReport{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;margin:0!important;padding:6px 2px!important;min-height:60px!important;font-weight:500!important;border-radius:0!important}
 .view-tabs #navReport .nav-plus{width:40px;height:22px;border-radius:11px;flex:none}
 html:not(.dd-calm) #mapView #dashTiles{gap:10px!important}
 html:not(.dd-calm) #dashTiles .fl-status{padding:14px 16px 12px!important;gap:8px!important}
 html:not(.dd-calm) #mapView #dashTiles .dash-tile.fl-wind:not(.fl-status):not(.calm-tile),html:not(.dd-calm) #mapView #dashTiles .dash-tile.fl-swell:not(.fl-status):not(.calm-tile){padding:12px 12px 10px!important}
 html:not(.dd-calm) #dashTiles .dash-tile.fl-triple:not(.fl-status):not(.calm-tile){padding:12px!important}
}

/* ===================== 11.11: tile text layout, version B (approved), sea surface in the status card ===================== */
/* status card: sea surface chip and rating source under the wave line (all widths; the source line only on the phone) */
#dashTiles .fl-st-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:2px}
#dashTiles .fl-st-sea{font-size:13px;color:var(--text-2);background:color-mix(in srgb,var(--accent) 12%,transparent);border-radius:8px;padding:1px 8px;line-height:1.5}
#dashTiles .fl-st-sea .sea-word{color:var(--text);font-weight:500}
#dashTiles .fl-st-src{font-size:13px;color:var(--muted);display:none}
#dashTiles .fl-st-hero .fl-st-meta{order:1}#dashTiles .fl-st-hero .fl-st-rate{order:2}
@media(max-width:900px){
 #dashTiles .fl-st-src{display:inline}
 /* hero: wave words | rating; the sea-surface row sits under the wave words (Hebrew) or across the card (English, where the wave line is longer) */
 #dashTiles .fl-status .fl-st-hero{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"main rate" "meta rate";align-items:end;column-gap:10px;row-gap:6px}
 html[lang=en] #dashTiles .fl-status .fl-st-hero{grid-template-areas:"main rate" "meta meta"}
 #dashTiles .fl-status .fl-st-hero .fl-st-main{grid-area:main}
 #dashTiles .fl-status .fl-st-hero .fl-st-rate{grid-area:rate}
 #dashTiles .fl-status .fl-st-hero .fl-st-meta{grid-area:meta;margin-top:0}
 /* reports chip in the card header: count (and age) only, the source moved down next to the sea surface */
 #dashTiles .fl-status .tl-row #dashReportsTile .fl-src-s{display:none}
 #dashTiles .fl-status .tl-row #dashReportsTile .fl-src-t b{font-weight:500}
 /* wind and swell: label / number with its arrow / detail */
 html:not(.dd-calm) #mapView #dashTiles .dash-tile.fl-wind:not(.fl-status):not(.calm-tile),html:not(.dd-calm) #mapView #dashTiles .dash-tile.fl-swell:not(.fl-status):not(.calm-tile){grid-template-columns:auto minmax(0,1fr)!important;grid-template-areas:"tl tl" "big ar" "sub sub"!important;row-gap:0!important;column-gap:8px!important;align-items:center;padding:10px 12px 9px!important}
 html:not(.dd-calm) #dashTiles .fl-wind .tl,html:not(.dd-calm) #dashTiles .fl-swell .tl{font-size:13px!important;font-weight:500!important;color:var(--muted)!important;line-height:1.3}
 html:not(.dd-calm) #dashTiles .fl-wind .dash-arrow,html:not(.dd-calm) #dashTiles .fl-swell .dash-arrow{justify-self:start!important;align-self:center}
 html:not(.dd-calm) #dashTiles .fl-wind .tbig,html:not(.dd-calm) #dashTiles .fl-swell .tbig{font-size:26px!important;font-weight:300!important;line-height:1.15!important}
 html:not(.dd-calm) #dashTiles .fl-wind .tbig small,html:not(.dd-calm) #dashTiles .fl-swell .tbig small{font-size:14px!important;color:var(--text-2)}
 html:not(.dd-calm) #dashTiles .fl-wind .tsub,html:not(.dd-calm) #dashTiles .fl-swell .tsub{font-size:14px!important;color:var(--text-2)!important;font-weight:400!important}
 html:not(.dd-calm) #dashTiles .fl-swell .tl .tip-i{display:none!important}
 /* combined tile: air | water on top, clothing and UV in a full-width strip below */
 html:not(.dd-calm) #dashTiles .dash-tile.fl-triple:not(.fl-status):not(.calm-tile){display:grid!important;grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr)!important;gap:0!important;padding:0!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-weather,html:not(.dd-calm) #dashTiles .fl-triple .fl-water{padding:10px 12px 10px!important;gap:0!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-tp-sep:nth-of-type(2){display:none!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-tp-sep{background:var(--line-2,var(--line))!important;margin-block:10px}
 html:not(.dd-calm) #dashTiles .fl-triple .tl-row{justify-content:flex-start!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-weather .tl-row,html:not(.dd-calm) #dashTiles .fl-triple .fl-water .tl-row{flex-direction:row-reverse;justify-content:flex-end!important}
 html:not(.dd-calm) #dashTiles .fl-triple .tl{font-size:13px!important;font-weight:500!important}
 html:not(.dd-calm) #dashTiles .fl-triple .dash-ico svg{width:20px!important;height:20px!important;margin:0!important}
 html:not(.dd-calm) #dashTiles .fl-triple .dash-wx svg{width:24px!important;height:24px!important;margin:-3px 0!important}
 html:not(.dd-calm) #dashTiles .fl-triple .tbig{font-size:26px!important;line-height:1.15!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-wt-row{flex-direction:column!important;align-items:flex-start!important;gap:0!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-feel,html:not(.dd-calm) #dashTiles .fl-triple .tsub{font-size:14px!important;font-weight:400!important;color:var(--text-2)!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-water-bar{margin-top:4px!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-weather .tsub,html:not(.dd-calm) #dashTiles .fl-triple .fl-water .tsub{text-align:start!important;align-self:flex-start!important}
 html:not(.dd-calm) #dashTiles .fl-triple .tl-row{line-height:1.3;min-height:0!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-wear{grid-column:1/-1;display:grid!important;grid-template-columns:auto minmax(0,1fr);column-gap:10px;row-gap:2px;align-items:center;border-top:1px solid var(--line-2,var(--line));padding:8px 12px 9px!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-wear .tl-row{display:contents!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-wear .tl{display:none!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-wear .dash-ico{grid-column:1;grid-row:1/span 2;align-self:start;margin-top:1px}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-wear .dash-ico svg{width:22px!important;height:22px!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-wear-w{grid-column:2;grid-row:1;font-size:15px!important;font-weight:500!important;color:var(--text)!important;text-align:start!important;line-height:1.35}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-wear-w b{font-weight:400!important;color:var(--muted)!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-uv{display:block!important;grid-column:2;grid-row:2;line-height:1.35;font-size:13px!important;text-align:start!important;margin:0!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-uv:empty{display:none}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-uv .uv-top,html:not(.dd-calm) #dashTiles .fl-triple .fl-uv .uv-act{display:inline!important;font-size:13px!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-uv .fl-fc{margin-inline-start:4px}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-uv .uv-act{color:var(--text-2)}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-uv .uv-act::before{content:" · "}
}

/* ===================== 11.11 evening: the week strip fits on a 360×700 phone (approved on the mockup) =====================
   Status: wave height, then rating frame + ducks in one row | thin divider | sea surface. "מבוסס תחזית" hidden.
   Wind/swell: label, number (unit after it in Hebrew) and arrow on one row; numbers 26 -> 21. Air | water: descriptor beside the number.
   UV level moves under the air temperature (.fl-uv-air), clothing alone in the strip. Beach picker: name only. Tighter spacing. Surf mode only (status, tiles). */
html #dashTiles .dash-tile .fl-tp .fl-uv.fl-uv-air{display:none!important}
@media(max-width:900px){
 .forecast-beach-picker .picker-label small{display:none!important}
 html:not(.dd-calm) #dashTiles .fl-status .fl-st-hero{grid-template-columns:minmax(0,1fr) 1px auto!important;grid-template-areas:"main sep meta" "rate sep meta"!important;column-gap:14px!important;row-gap:6px!important;align-items:center!important}
 html:not(.dd-calm) #dashTiles .fl-status .fl-st-hero::before{content:"";grid-area:sep;align-self:stretch;background:var(--line-2,var(--line));width:1px}
 html:not(.dd-calm) #dashTiles .fl-status .fl-st-hero .fl-st-rate{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;justify-content:flex-start!important}
 html:not(.dd-calm) #dashTiles .fl-status .fl-st-hero .fl-st-rate:not(:has(.rating-frame)){display:none!important}
 html:not(.dd-calm) #dashTiles .fl-status .fl-st-hero .fl-st-meta{align-self:center;display:block!important;margin:0!important}
 html:not(.dd-calm) #dashTiles .fl-status .fl-st-src{display:none!important}
 html:not(.dd-calm) #dashTiles .fl-status .fl-st-sea{background:none!important;padding:0!important;display:flex!important;flex-direction:column;font-size:13px!important;color:var(--muted)!important;line-height:1.35;white-space:nowrap}
 html:not(.dd-calm) #dashTiles .fl-status .fl-st-sea .sea-word{font-size:15px;color:var(--text);font-weight:500}
 html:not(.dd-calm) #dashTiles .fl-status{padding:10px 16px 10px!important;gap:4px!important}
 html:not(.dd-calm) #dashTiles .fl-status .fl-st-main .tbig{line-height:1.05!important}
 html:not(.dd-calm) #dashTiles .fl-status .fl-st-actions button{min-height:40px!important;padding-block:6px!important;padding-inline:10px!important;gap:8px!important}
 html:not(.dd-calm) #dashTiles .fl-status .fl-st-actions .bw-text,html:not(.dd-calm) #dashTiles .fl-status .fl-st-actions .bw-body{font-size:13px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0!important}
 html:not(.dd-calm) #mapView #dashTiles{gap:8px!important}
 /* wind and swell */
 html:not([lang=en]):not(.dd-calm) #dashTiles .fl-wind .tbig,html:not([lang=en]):not(.dd-calm) #dashTiles .fl-swell .tbig{direction:rtl!important}
 html:not(.dd-calm) #mapView #dashTiles .dash-tile.fl-wind:not(.fl-status):not(.calm-tile),html:not(.dd-calm) #mapView #dashTiles .dash-tile.fl-swell:not(.fl-status):not(.calm-tile){grid-template-columns:auto auto minmax(0,1fr)!important;grid-template-areas:"tl big ar" "sub sub sub"!important;column-gap:10px!important;padding:8px 12px!important}
 html:not(.dd-calm) #dashTiles .fl-wind .tl-row,html:not(.dd-calm) #dashTiles .fl-swell .tl-row{align-self:center}
 html:not(.dd-calm) #dashTiles .fl-wind .tbig,html:not(.dd-calm) #dashTiles .fl-swell .tbig,html:not(.dd-calm) #dashTiles .fl-triple .tbig{font-size:21px!important}
 /* air | water */
 html:not(.dd-calm) #dashTiles .fl-triple .fl-weather{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:baseline!important;align-content:flex-start!important;justify-content:flex-start!important;column-gap:8px!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-weather .tl-row{order:0;flex-basis:100%;width:100%}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-weather .trow{order:1}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-weather .tsub{order:2;align-self:baseline!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-weather .fl-graph{order:3}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-wt-row{flex-direction:row!important;align-items:baseline!important;justify-content:flex-start!important;gap:8px!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-water-bar,html:not(.dd-calm) #dashTiles .fl-triple .fl-wb{margin-top:2px!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-weather,html:not(.dd-calm) #dashTiles .fl-triple .fl-water{padding:8px 12px!important}
 /* UV under the air temperature; the strip keeps the clothing line only */
 html:not(.dd-calm) body #dashTiles .dash-tile.fl-triple .fl-tp .fl-uv.fl-uv-air{display:block!important;order:4;flex-basis:100%;font-size:13px!important;line-height:1.35;margin:2px 0 0!important;white-space:nowrap;text-align:start!important}
 html:not(.dd-calm) body #dashTiles .dash-tile.fl-triple .fl-tp .fl-uv.fl-uv-air:empty{display:none!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-uv-air .uv-act{display:none!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-uv-air .uv-top{display:inline!important;font-size:13px!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-uv-air .fl-fc{color:var(--muted);font-size:12px!important;margin-inline-start:4px}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-wear .fl-uv{display:none!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-wear{padding:7px 12px!important;align-items:center!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-wear .dash-ico{grid-row:1!important;align-self:center!important;margin:0!important}
}

/* ===================== 11.11 night: tiles keep their full size (approved) =====================
   When there are no ducks (flat, no score), no sea surface, no water figure or no UV (evening), the space stays, empty.
   Hidden twins (.fl-st-ghost, .fl-st-ghost-sea, &nbsp; in .fl-uv-air) take the same room; with no water figure, "לא זמין כרגע" sits in the bar's place (.fl-wb-ghost). Phone, surf mode only. */
.fl-st-ghost,.fl-st-ghost-sea,.fl-wb-ghost{display:none!important}
@media(max-width:900px){
 html:not(.dd-calm) #dashTiles .fl-status .fl-st-rate:has(.fl-st-ghost)>.fl-ducks{display:none!important}
 html:not(.dd-calm) #dashTiles .fl-status .fl-st-ghost{display:flex!important;flex-direction:row;align-items:center;gap:10px;visibility:hidden;pointer-events:none}
 html:not(.dd-calm) #dashTiles .fl-status .fl-st-sea.fl-st-ghost-sea{display:flex!important;visibility:hidden}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-water:has(.fl-wb-ghost)>.tsub{height:0!important;overflow:hidden!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-wb-ghost{display:grid!important;align-items:center;margin-top:2px!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-wb-ghost>*{grid-area:1/1;margin:0!important}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-wb-ghost .fl-wb-hide{visibility:hidden;pointer-events:none}
 html:not(.dd-calm) #dashTiles .fl-triple .fl-wb-ghost .fl-wb-hide .fl-wb{margin:0!important}
}
/* Database backup screen (admin-backup.js, 12.11) */
dialog.admin-backup{--ab-warn:#F2B27A}
body.light dialog.admin-backup{--ab-warn:#B5651D}
.admin-backup .ab-body{display:flex;flex-direction:column;gap:14px}
.admin-backup .ab-status{border:1px solid var(--line);border-radius:var(--r-card);padding:14px;display:flex;flex-direction:column;gap:8px;background:var(--panel)}
.admin-backup .ab-status.bad{border-color:var(--ab-warn);background:color-mix(in srgb,var(--ab-warn) 12%,var(--panel))}
.admin-backup .ab-top{display:flex;align-items:center;gap:8px;font-weight:600}
.admin-backup .ab-dot{width:10px;height:10px;border-radius:50%;background:var(--accent);flex:none}
.admin-backup .ab-dot.wait{background:var(--muted)}
.admin-backup .ab-status.bad .ab-dot{background:var(--ab-warn)}
.admin-backup .ab-status.bad .ab-big{font-size:16px;font-weight:600}
.admin-backup .ab-big{font-size:20px;font-weight:700;line-height:1.25}
.admin-backup .ab-sub{margin:0;font-size:13px;color:var(--muted)}
.admin-backup .ab-counts{display:flex;flex-wrap:wrap;gap:6px}
.admin-backup .ab-counts span{font-size:13px;border:1px solid var(--line);border-radius:var(--r-chip);padding:1px 8px;color:var(--text-2);font-variant-numeric:tabular-nums}
.admin-backup .ab-btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border-radius:var(--r-ctl);font-weight:600;font-size:15px;text-decoration:none;width:100%}
.admin-backup .ab-btn svg{width:18px;height:18px}
.admin-backup .ab-btn.primary{background:var(--action);color:var(--on-action)!important;border:0}
.admin-backup .ab-btn.ghost{background:transparent!important;color:var(--accent)!important;border:1.5px solid var(--line)!important}
.admin-backup .ab-btn:disabled{opacity:.6}
.admin-backup .ab-hint{margin:-8px 0 0;font-size:13px;color:var(--muted);text-align:center}
.admin-backup h3{margin:2px 0 -6px;font-size:14px;font-weight:600;color:var(--text-2)}
.admin-backup .ab-list{border:1px solid var(--line);border-radius:var(--r-card);overflow:hidden;background:var(--panel)}
.admin-backup .ab-li{display:flex;align-items:center;gap:10px;min-height:46px;padding:2px 4px 2px 14px;border-top:1px solid var(--line-2);font-variant-numeric:tabular-nums}
html[dir=ltr] .admin-backup .ab-li{padding:2px 14px 2px 4px}
.admin-backup .ab-list>.ab-li:first-child{border-top:0}
.admin-backup .ab-d{flex:1;font-size:14px}
.admin-backup .ab-d{unicode-bidi:isolate}
.admin-backup .ab-d small{display:inline-block;unicode-bidi:isolate;color:var(--muted);font-size:13px;margin-inline-start:8px}
.admin-backup .ab-sz{font-size:13px;color:var(--muted)}
.admin-backup .ab-dl{width:44px;height:44px;display:grid;place-items:center;color:var(--accent)}
.admin-backup .ab-dl svg{width:18px;height:18px}
.admin-backup .ab-more summary{font-size:13px;color:var(--muted);text-align:center;padding:10px;border-top:1px solid var(--line-2);cursor:pointer;list-style:none}
.admin-backup .ab-more summary::-webkit-details-marker{display:none}
.admin-backup .ab-msg{margin:-6px 0 0;font-size:13px;text-align:center;color:var(--text-2)}
.admin-backup .ab-note{margin:0;font-size:13px;color:var(--muted);line-height:1.55}
.drawer-row .drawer-sub{display:block;font-size:13px;color:var(--muted);font-weight:400}
.drawer-row .drawer-sub.bad{color:var(--coral,#E57B62)}

/* ===================== phone: less air under the week strip; table pages by clicking the dots with a mouse (12.11) ===================== */
@media(max-width:900px){
 #forecast .wk-bar{margin-top:4px!important}
 #forecast .weekly-nav{margin-top:0!important}
 #forecast .weekly-nav button{min-height:36px!important;padding:4px 12px!important;font-size:13px}
 #forecast .wk-table{margin-top:8px!important;padding-top:10px!important}
}
@media(hover:hover) and (pointer:fine){
 .wk-swipe{display:none!important}
 .wk-dots button{cursor:pointer}
 .wk-dots button:not(.on):hover i{background:var(--muted)}
}

/* ===================== week strip: weeks are swipe pages with dots, days without a wave forecast say so (12.11) ===================== */
.wk-pages{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;border-radius:var(--r-card)}
.wk-pages::-webkit-scrollbar{display:none}
.wk-page{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
.wk-wdots{display:flex;justify-content:center;gap:0;padding:2px 0 0}
.wk-wdots:empty{display:none}
.wk-wdots button{display:flex;align-items:center;justify-content:center;width:32px;height:24px;min-width:0!important;min-height:0!important;padding:0;margin:0;border:0;background:transparent!important;box-shadow:none!important;cursor:pointer}
.wk-wdots i{display:block;width:8px;height:8px;border-radius:50%;background:var(--line)}
.wk-wdots button.on i{background:var(--accent)}
@media(hover:hover) and (pointer:fine){.wk-wdots button:not(.on):hover i{background:var(--muted)}}
.wk-day .wk-nowave{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;margin:6px 0 0;height:86px;padding:2px;border:1px dashed var(--muted);border-radius:6px;font-size:13px;line-height:1.15;color:var(--muted);text-align:center;white-space:normal;overflow-wrap:anywhere}
.wk-day.wk-nw .wk-h{display:none!important}
@media(max-width:900px){.wk-day .wk-nowave{height:43px;margin-top:3px;font-size:11px;line-height:1.1;padding:0;border-radius:4px}}
/* look-ahead line heads the weekly strip; best day part outlined (option C, approved 12.11) */
#forecast .weekly-forecast>#bestWeek{display:flex!important;align-items:center;width:100%!important;min-height:44px!important;margin:0 0 4px!important;padding:0 4px!important;background:none!important;border:0!important;border-radius:var(--r-ctl)!important;box-shadow:none!important;color:var(--text)!important;font-size:14px!important;text-align:start;cursor:pointer}
#forecast .weekly-forecast>#bestWeek[hidden]{display:none!important}
#forecast .weekly-forecast>#bestWeek:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#forecast .weekly-forecast>#bestWeek .bw-go{color:var(--accent)}
.wk-bars>i.wk-best{outline:2px solid var(--accent);outline-offset:1px}
@media(max-width:900px){#forecast .weekly-forecast>#bestWeek{min-height:40px!important;font-size:13px!important;margin-bottom:0!important}}
@media(min-width:901px){#forecast .weekly-forecast>#bestWeek{min-height:34px!important;margin:-10px 0 -6px!important}}

/* ===================== 12.11 evening: beach conditions, option א (approved on the mockup) =====================
   Status: the verdict word is the focus (frame + ducks on one row), then "גל נשבר" + body-relative height beside sea surface. No metres.
   Air and water become two separate cards (water first), the clothing line its own card under them; band edges 18/22/25/28 under the water bar.
   UV level and its recommendation in the air card. Today's name in the week strip in the accent colour; the selected day keeps its frame.
   Phone, surf mode only. */
#dashTiles .fl-wb-ticks{display:none}
.wk-day.wk-today .wk-nd b{color:var(--accent)!important}
@media(max-width:900px){
 html:not(.dd-calm) #mapView #dashTiles .fl-status{padding:8px 14px 10px!important;gap:4px!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-hero{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"rate rate" "main meta"!important;row-gap:2px!important;column-gap:10px!important;align-items:center!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-hero::before{display:none!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-hero .fl-st-rate{grid-area:rate;justify-content:space-between!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-rate .rating-frame{font-size:32px!important;font-weight:700!important;line-height:1.15!important;padding:3px 16px!important;border-width:2.5px!important;border-radius:15px!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-main{grid-area:main;flex-direction:row!important;flex-wrap:wrap;align-items:baseline!important;gap:0 6px!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-main .tsub{order:-1;font-size:12px!important;color:var(--muted)!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-main .tbig{font-size:21px!important;font-weight:600!important;letter-spacing:0!important;line-height:1.15!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-est{display:none}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-hero .fl-st-meta{grid-area:meta;align-self:baseline!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-sea{flex-direction:row!important;align-items:baseline;gap:4px}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-sea .sea-word{font-size:13px!important;font-weight:600!important}
 /* air and water: separate cards */
 html:not(.dd-calm) #mapView #dashTiles .dash-tile.fl-triple:not(.fl-status):not(.calm-tile){background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-areas:none!important;grid-template-rows:auto!important;gap:8px!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-tp{grid-area:auto!important;grid-column:auto!important;background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:16px!important;min-width:0}
 html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-tp-sep{display:none!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-water{order:1}
 html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-weather{order:2}
 html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-wear{order:3;grid-column:1/-1!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-uv-air{white-space:normal!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-uv-air .uv-top{display:block!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-uv-air .uv-lv{white-space:nowrap}
 html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-uv-air .uv-act{display:block!important;font-size:12px;line-height:1.2;color:var(--text-2)}
 html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-uv-air .uv-act::before{content:none!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-wb-ticks{display:block;position:relative;height:10px;margin-top:0;font-size:10px;line-height:10px;color:var(--muted)}
 html:not(.dd-calm) #mapView #dashTiles .fl-wb-ticks i{position:absolute;top:0;transform:translateX(-50%);font-style:normal}
}

/* ===================== 12.11 night: option א on the wide screen, four tiles (approved on the mockup) =====================
   Same rules as the phone: verdict word first (big frame + ducks on one row), then "גל נשבר" + height beside sea surface.
   Four tiles like the phone: wind, swell, then water (under wind) and air (under swell); no separate clothing card.
   Bottom line of the air tile: UV level and advice on one line. Bottom line of the water tile: the clothing line
   (.fl-wear-in, opens "לבוש והגנה"), level with the UV line. The water bar sits on the base line of the air graph,
   band edges 18/22/25/28 on the line of the graph's hour labels. No "?" on swell.
   Wide screen (>900 px), surf mode only. Day graphs, number sizes and the reports line unchanged. */
#dashTiles .fl-wear-in{display:none}
@media(min-width:901px){
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-hero{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"rate rate" "main meta"!important;row-gap:10px!important;column-gap:12px!important;align-items:center!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-hero::before{display:none!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-hero .fl-st-rate{grid-area:rate;display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-rate .rating-frame{font-size:44px!important;font-weight:700!important;line-height:1.15!important;padding:4px 22px!important;border-width:3px!important;border-radius:18px!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-main{grid-area:main;flex-direction:row!important;flex-wrap:wrap;align-items:baseline!important;gap:0 8px!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-main .tsub{order:-1;font-size:14px!important;color:var(--muted)!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-main .tbig{font-size:28px!important;font-weight:600!important;letter-spacing:0!important;line-height:1.15!important;width:auto!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-est{display:none}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-hero .fl-st-meta{grid-area:meta;align-self:baseline!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-swell .tip-i{display:none!important}
 /* water and air as two tiles under wind and swell */
 html:not(.dd-calm) #mapView #dashTiles .dash-tile.fl-triple:not(.fl-status):not(.calm-tile){background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:inherit!important;row-gap:8px!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-tp{background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:16px!important;padding:14px 16px 12px!important;min-width:0}
 html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-tp-sep,html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-wear{display:none!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-water{order:1}
 html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-weather{order:2}
 /* air tile bottom line: UV level · (forecast) · advice, one line */
 html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-uv-air{display:block!important;font-size:13px;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
 html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-uv-air:empty{display:none!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-uv-air .uv-top{display:inline!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-uv-air .uv-act{display:inline!important;font-size:12px;color:var(--text-2)}
 html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-uv-air .uv-act::before{content:' · '!important}
 /* water tile: bar on the air graph's base line, band edges on the hour-label line, clothing line at the bottom */
 html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-water .fl-wb{margin-top:auto!important;margin-bottom:0!important;position:relative;top:11px}
 html:not(.dd-calm) #mapView #dashTiles .fl-water .fl-wb-ticks{display:block;position:relative;top:1px;height:19px;margin-top:0;margin-bottom:4px;font-size:12px;line-height:19px;color:var(--muted)}
 html:not(.dd-calm) #mapView #dashTiles .fl-water .fl-wb-ticks i{position:absolute;top:0;transform:translateX(-50%);font-style:normal}
 html:not(.dd-calm) #mapView #dashTiles .fl-water .fl-wear-in{display:block;margin-top:0;padding-top:3px;font-size:13px;line-height:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text-2);cursor:pointer}
 html:not(.dd-calm) #mapView #dashTiles .fl-water .fl-wear-in b{font-weight:600}
 html:not(.dd-calm) #mapView #dashTiles .fl-water .fl-wear-in:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}
}

/* ===================== 12.11 late: status card on the wide screen, option ג (approved on the mockup) =====================
   Top part (title, verdict word + ducks, height, sea surface) on a light tint of the rating colour (--rc on the card).
   Below it the latest beach report (who · when, height, sea surface, verifications, text; guests without who and text),
   which opens the reports; with no report, "no recent beach report" + "New report". The reports line stays at the
   bottom and is hidden at 0 reports. The report part never makes the card taller (contain:size), so the week strip
   stays where it was. Wide screen (>900 px), surf mode only. Phone and swim mode unchanged. */
#dashTiles .fl-st-top{display:contents}
#dashTiles .fl-st-rep{display:none}
@media(min-width:901px){
 html:not(.dd-calm) #mapView #dashTiles .fl-status{--st-tint:color-mix(in srgb,var(--rc,var(--muted)) 18%,var(--panel));--st-edge:color-mix(in srgb,var(--rc,var(--muted)) 40%,var(--panel));padding:0!important;gap:0!important;overflow:hidden}
 html:not(.dd-calm) body.light #mapView #dashTiles .fl-status{--st-tint:color-mix(in srgb,var(--rc,var(--muted)) 12%,var(--panel));--st-edge:color-mix(in srgb,var(--rc,var(--muted)) 30%,var(--panel))}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-top{display:flex;flex-direction:column;gap:4px;padding:8px 14px 10px;background:var(--panel);background:var(--st-tint);border-bottom:1px solid var(--line);border-bottom-color:var(--st-edge)}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-top .rating-frame{background:var(--panel)}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-rep{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;contain:size;overflow:hidden;padding:10px 14px 0}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-actions{padding:0 14px 4px}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-actions #dashReportsTile{border-top:1px solid var(--line-2)!important;border-radius:0!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-actions #dashReportsTile:disabled{display:none!important}
 #dashTiles .fl-st-last{all:unset;box-sizing:border-box;width:100%;display:flex;flex-direction:column;gap:6px;cursor:pointer;border-radius:10px}
 #dashTiles .fl-st-last:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
 #dashTiles .fl-st-last-h{display:flex;justify-content:space-between;align-items:baseline;gap:8px;min-width:0}
 #dashTiles .fl-st-last-h b{flex:none;font-size:13px;font-weight:700;color:var(--accent)}
 #dashTiles .fl-st-last-h small{min-width:0;font-size:13px;color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #dashTiles .fl-st-chips{display:flex;flex-wrap:wrap;gap:6px}
 #dashTiles .fl-st-chip{font-size:13px;line-height:1.5;border-radius:var(--r-chip);padding:1px 10px;background:var(--chip-bg);color:var(--text)}
 #dashTiles .fl-st-quote{font-size:14px;line-height:1.4;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 #dashTiles .fl-st-empty{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
 #dashTiles .fl-st-empty-t{display:flex;flex-direction:column;gap:2px;min-width:0}
 #dashTiles .fl-st-empty-t b{font-size:14px;font-weight:600;color:var(--text)}
 #dashTiles .fl-st-empty-t small{font-size:13px;color:var(--text-2)}
 #dashTiles .fl-st-new{flex:none;min-height:44px;padding:0 18px;border:0;border-radius:var(--r-ctl);background:var(--action);color:var(--on-action);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
 #dashTiles .fl-st-new:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
}

/* ===================== 12.11 night: tighter wide tiles, rating on the right, tint ends level with wind/swell =====================
   Approved by Asaf on the mockup. Wide screen (>900 px), surf mode only. Phone and swim mode unchanged.
   - Wind, swell, water and air tiles: inner padding 14/12 → 8/6 (top/bottom), 12 px on the sides.
   - The week strip moves up into grid row 2 (row 2 was empty, which doubled the gap: 20 → 10 px).
   - Status card: the verdict frame sits at the right edge of the card (the top part's rows now fill its width).
   - Status card is a subgrid of the tile rows: the tinted top part fills row 1, so its bottom edge is level
     with the bottom of the wind and swell tiles. Latest report and the reports line sit in row 2.
     (Subgrid needs container-type:normal on this card; its text sizes are fixed px, checked unchanged.) */
@media(min-width:901px){
 html:not(.dd-calm) #mapView #dashTiles .fl-triple .fl-tp,html:not(.dd-calm) #mapView #dashTiles .dash-tile.fl-wind:not(.fl-status):not(.calm-tile),html:not(.dd-calm) #mapView #dashTiles .dash-tile.fl-swell:not(.fl-status):not(.calm-tile){padding:8px 12px 6px!important}
 html:not(.dd-calm) #mapView[data-mode=dashboard] #forecast{grid-row:2!important}
 html:not(.dd-calm) #mapView[data-mode=dashboard] .forecast-provider-footer{grid-row:3!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:subgrid!important;row-gap:inherit!important;container-type:normal!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status>*{grid-column:1!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-top{grid-row:1;align-items:stretch!important;padding:6px 14px 6px}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-hero{row-gap:6px!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-top>*{align-self:stretch!important;width:auto!important}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-rep{grid-row:2;padding-top:2px}
 html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-actions{grid-row:2;align-self:end;margin-top:0}
 html:not(.dd-calm) #mapView #dashTiles .fl-status:has(#dashReportsTile:not(:disabled)) .fl-st-rep{margin-bottom:52px}
}

/* ===================== 15.11: status card sentence and "למנוסים בלבד" (surf mode, approved on the mockup) =====================
   One line under the verdict frame and ducks: a short description of the sea (Verdict.line), cut with an ellipsis,
   and above 2.5 m a separate "למנוסים בלבד" chip in the title row (adds no height). Not shown in swim mode. */
#dashTiles .fl-st-line{grid-area:line;display:flex;align-items:center;gap:8px;min-width:0;font-size:14px;line-height:1.35;color:var(--text)}
#dashTiles .fl-st-say{min-width:0;flex:0 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dashTiles .fl-st-expert{flex:none;margin-inline-start:auto;font-size:13px;line-height:1.2;padding:2px 8px;border-radius:8px;border:1px solid var(--arrow-wind,#c94f2c);color:var(--arrow-wind,#c94f2c);white-space:nowrap}
/* The line shares the ducks' cell beside the frame (ducks at the top, line at the bottom), so the card keeps its height:
   the week strip must stay on the first screen. */
html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-rate:has(.fl-st-line){display:grid!important;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"frame ducks";align-items:stretch!important;column-gap:12px}
html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-rate:has(.fl-st-line)>.rating-frame{grid-area:frame;justify-self:start;align-self:center}
html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-rate:has(.fl-st-line)>.fl-ducks{grid-area:ducks;justify-self:end;align-self:start}
html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-rate>.fl-st-line{grid-area:ducks;align-self:end;justify-content:flex-end;font-size:13px;line-height:1.2}
html:not(.dd-calm) #mapView #dashTiles .fl-status .fl-st-rate>.fl-st-line .fl-st-say{text-align:end}
#dashTiles .tl-row .fl-st-expert{margin-inline-start:8px;margin-inline-end:auto;font-size:12px;padding:1px 7px}

/* ===================== 15.11: surface separation (option 02) is in the tokens at the top.
   Day table on desktop: the time cell as on the phone (rating stripe, part name, verdict word); the separate rating column goes. ===================== */
@media(min-width:901px){
 .wk-th,.wk-tr{grid-template-columns:120px minmax(100px,1fr) minmax(236px,1.9fr) minmax(120px,1fr) minmax(84px,.7fr) 64px!important}
 .wk-th>span:nth-child(2),.wk-tr>.wk-rate{display:none!important}
 .wk-tr .wk-pill{display:none!important}
 .wk-tb{display:flex!important}
}
/* light theme: verdict word darker so it reads at 4.5:1 on white (phone and desktop) */
html:not(.dd-calm) body.light .wk-tb small{color:color-mix(in srgb,var(--wk-tone) 50%,var(--text))}

/* ===================== phone: slimmer top bar, beach picker and bottom tabs (15.11, option A) ==============
   Top bar 64 → 52, beach picker 46 → 42, bottom tabs 61 → 53 (English grows when "Beach conditions" wraps). Same layout, icons and words; only sizes and spacing. */
@media(max-width:900px){
 html body header,html[dir] body header{min-height:52px!important;height:52px!important;padding-top:4px!important;padding-bottom:4px!important}
 html body header .brand-logo{width:32px!important;height:32px!important}
 html body header h1{gap:8px!important}
 html body header .brand-main{font-size:16px!important;line-height:1.1!important}
 html body header .brand-sub{font-size:12px!important;line-height:1.1!important}
 html body header button{height:40px!important;min-height:40px!important}
 html body #spot .forecast-beach-picker select,html body #spot select,html body #spot .bp-open,html body #spot .picker-label,html body #spot .forecast-beach-picker{height:42px!important;min-height:42px!important}
 html body #spot .picker-star,html body #spot .picker-home{height:42px!important;min-height:42px!important;width:42px!important;min-width:42px!important}
 html body .view-tabs button,html body .view-tabs #navReport{min-height:52px!important;height:auto!important;padding:4px 2px!important;gap:2px!important;font-size:12px!important;line-height:1.15!important}
 html body .view-tabs button svg.ic{width:20px!important;height:20px!important}
 html body .view-tabs #navReport .nav-plus{width:36px!important;height:20px!important}
}

/* 17.11: the header light/dark button is removed; the theme is chosen in Settings (by device / light / dark). The element stays hidden because the language button is placed next to it. */
header #headerTheme,header #headerLang{display:none!important}
/* 17.11: the language button left the header too (language is in Settings). In their place: the account button. */
header #headerAccount{order:3!important;min-width:44px;height:44px;padding:0 6px;border:0;background:transparent;color:var(--text-2);border-radius:var(--r-ctl);box-shadow:none;display:grid;place-items:center;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer}
header #headerAccount:hover{background:var(--soft)}
header #headerAccount[data-state="signin"]{color:var(--accent,var(--action))}
header #headerAccount[data-state="pending"],header #headerAccount[data-state="rejected"]{color:var(--text-3,var(--text-2));font-weight:500}
/* The guest row under the header is replaced by the header account button. */
#guestBanner{display:none!important}
header #headerAccount .header-account-circle{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:var(--action);color:var(--on-action);font-size:13px;font-weight:600;letter-spacing:.5px}
header #headerAccount .header-account-circle img{width:100%;height:100%;object-fit:cover}
/* 17.11: the header's edge items (menu, account) line up with the content edge below (their visible marks exactly on it).
   No negative margins: header-row.js falls back to two rows when the header overflows. */
html body header,html[dir] body header{padding-inline:max(4px,calc((100% - 1600px) / 2 + 4px))!important}
header #openMenu{display:flex!important;align-items:center;justify-content:flex-start;padding-inline:0!important}
header #headerAccount{justify-items:end;padding-inline:0!important;margin-inline-end:4px!important}
