/* Scoped replacement for the old fixed-height beach rows. */
#favoritesList>.beach-swipe-card,#beachList>.beach-swipe-card,
#favoritesView:not(.compact-view) #favoritesList>.beach-swipe-card,
#beachListView:not(.compact-view) #beachList>.beach-swipe-card,
.compact-view #favoritesList>.beach-swipe-card,.compact-view #beachList>.beach-swipe-card{
 display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;
 height:auto;min-height:0;padding:12px;gap:6px 10px;overflow:visible;isolation:isolate;align-content:start;align-items:start;margin:0;background:var(--panel);border-radius:3px;border:0;border-bottom:1px solid var(--line);
}
#favoritesList,#beachList{min-width:0;gap:10px}
.beach-swipe-card *{box-sizing:border-box}
.beach-swipe-card .beach-row-info{grid-column:1;grid-row:1;min-width:0;align-self:center}
#favoritesList>.beach-swipe-card h3,#beachList>.beach-swipe-card h3{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-height:0;height:auto;margin:0;font-size:18px;line-height:1.35}
.beach-swipe-card .beach-title{white-space:normal;overflow-wrap:anywhere;text-align:start;max-width:100%;min-height:36px;font-size:inherit;padding:0}
.beach-swipe-card .water-temperature{white-space:nowrap;margin:0;font-size:11px}
.beach-swipe-card .beach-row-actions{grid-column:2;grid-row:1;display:flex;flex-wrap:nowrap;gap:4px;align-self:start;width:auto;max-width:none;margin:0}
.beach-swipe-card .beach-row-actions .club-action{width:36px;height:36px;min-height:36px;min-width:36px;padding:6px;margin:0}
.beach-swipe-card .beach-row-actions .club-icon{width:22px;height:22px}
.beach-swipe-card .beach-row-actions .action-label{display:none}
.bc-report-line{grid-column:1/-1;grid-row:2;font-size:11px;line-height:1.45;color:var(--muted);overflow-wrap:anywhere}
.bc-carousel{grid-column:1/-1;grid-row:3;min-width:0;max-width:100%;font-variant-numeric:tabular-nums}
.bc-source{color:var(--muted);font-size:11px;line-height:1.5;margin-bottom:6px}
.bc-pages{display:grid;grid-auto-flow:column;grid-auto-columns:100%;align-items:stretch;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;direction:rtl;max-width:100%;touch-action:pan-x pan-y}
.bc-pages::-webkit-scrollbar{display:none}
.bc-slide{scroll-snap-align:start;min-width:0;margin:0;padding:4px 0;align-content:center;overflow-wrap:anywhere}
.bc-main{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:6px}
.bc-metric{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;font-size:14px}
.bc-metric>b{white-space:normal;line-height:1.3;font-size:14px}
.bc-metric small{font-size:10px;color:var(--muted);line-height:1.35}
.bc-metric .bath-rating-button{margin:0;padding:0;min-width:0;min-height:44px;max-width:100%;background:transparent}
.bc-metric .bath-rating-button>small{display:none}
.bc-metric .forecast-wind-inline{display:flex;flex-direction:column-reverse;gap:3px;min-width:0;text-align:center}
.bc-metric .forecast-wind-inline>div{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:3px}
.bc-metric .wind-bearing{flex-basis:100%;white-space:nowrap}
.bc-metric .wind-direction-tile{width:32px;height:32px;min-width:32px;font-size:9px}
.bc-metric .heavy-wind-arrow{scale:.7}
.bc-metric .forecast-weather-inline{display:flex;flex-direction:column;gap:4px;align-items:center;min-width:0}
.bc-metric .forecast-weather-icon{width:26px;height:26px;margin:0}
.bc-metric .forecast-weather-inline b{font-size:14px;white-space:nowrap}
.bc-field-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;text-align:center}
.bc-field-grid>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.bc-field-grid small{font-size:10px;line-height:1.35;color:var(--muted)}
.bc-field-grid b{font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.bc-note{display:block;font-size:10px;color:var(--muted);line-height:1.4;margin-top:6px}
.bc-slide>p{margin:4px 0;font-size:12px;line-height:1.5}
.bc-slide>.surf-rating-button{margin:5px auto 0}
.bc-pagination{display:flex;align-items:center;justify-content:center;gap:5px;margin-top:5px;border-top:1px solid var(--line);padding-top:4px;min-width:0}
.bc-pagination button{min-height:32px;min-width:32px;padding:3px;background:transparent;border:0;color:var(--muted)}
.bc-pagination [data-bc-caption]{font-size:11px;color:var(--muted);text-align:center}
.bc-dots{display:flex;gap:0}
.bc-dots button{font-size:9px;min-width:22px}
.bc-dots button[aria-pressed=true]{color:var(--accent)}
.bc-pagination button:disabled{opacity:.3}
.bc-loading{grid-column:1/-1;text-align:center}
.beach-swipe-card .favorite-order-controls{grid-column:1/-1;grid-row:4;position:static;min-width:0}
#favoritesList>.beach-swipe-card:has(.favorite-order-controls),#beachList>.beach-swipe-card:has(.favorite-order-controls){height:auto!important;min-height:0!important}
.compact-view .beach-swipe-card .bc-pages{display:block;overflow:visible;scroll-snap-type:none}
.compact-view .beach-swipe-card .bc-slide:not(.bc-main),.compact-view .beach-swipe-card .bc-pagination,.compact-view .beach-swipe-card .bc-source{display:none}
.compact-view .beach-swipe-card .bc-main{display:grid;padding:2px 0;gap:4px}
.compact-view .beach-swipe-card .bc-metric{gap:0}
.compact-view .beach-swipe-card .bc-metric>small,.compact-view .beach-swipe-card .wind-bearing,.compact-view .beach-swipe-card .forecast-wind-inline small{display:none}
.compact-view .beach-swipe-card .forecast-wind-inline,.compact-view .beach-swipe-card .forecast-weather-inline{flex-direction:row;gap:4px;flex-wrap:wrap;justify-content:center}
.compact-view .beach-swipe-card .forecast-wind-inline>div{flex-wrap:nowrap}
.compact-view .beach-swipe-card .wind-direction-tile{width:24px;height:24px;min-width:24px}
.compact-view .beach-swipe-card .heavy-wind-arrow{scale:.55}
.compact-view .beach-swipe-card .bc-metric>b,.compact-view .beach-swipe-card .forecast-weather-inline b{font-size:12px}
.compact-view .beach-swipe-card .forecast-weather-icon{width:20px;height:20px}
.compact-view .beach-swipe-card .bath-rating-button{height:auto;width:auto;min-width:0;min-height:35px;font-size:12px;line-height:1.2;gap:0}
.compact-view #favoritesList>.beach-swipe-card,.compact-view #beachList>.beach-swipe-card{padding:8px 10px;gap:2px 8px}
@media(min-width:800px){.bc-slide{padding:8px 0}.bc-metric .forecast-wind-inline,.bc-metric .forecast-weather-inline{flex-direction:row;gap:8px}.bc-field-grid{gap:10px}}
@media(prefers-reduced-motion:reduce){.bc-pages{scroll-behavior:auto}}
#favoritesList>.beach-swipe-card>.beach-row-actions,#beachList>.beach-swipe-card>.beach-row-actions{grid-column:2;grid-row:1;max-width:none;gap:4px;flex-wrap:nowrap}
#favoritesList>.beach-swipe-card>.beach-row-info,#beachList>.beach-swipe-card>.beach-row-info{grid-column:1;grid-row:1}
#favoritesList>.beach-swipe-card .beach-title,#beachList>.beach-swipe-card .beach-title{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
.compact-view .bc-report-line::after{content:' · מדדים: תחזית'}

/* Report action stays explicit after isolating cards from legacy row styles. */
#favoritesList>.beach-swipe-card .beach-row-actions .primary,
#beachList>.beach-swipe-card .beach-row-actions .primary{background:var(--accent);color:#052b2a;border:0}
.light #favoritesList>.beach-swipe-card .beach-row-actions .primary,
.light #beachList>.beach-swipe-card .beach-row-actions .primary{color:#fff}
#favoritesList>.beach-swipe-card .beach-row-actions .primary::before,
#beachList>.beach-swipe-card .beach-row-actions .primary::before{content:none!important}
#favoritesList>.beach-swipe-card .beach-row-actions .primary svg,
#beachList>.beach-swipe-card .beach-row-actions .primary svg{display:block!important;width:22px;height:22px;stroke:currentColor;stroke-width:2.5;visibility:visible;opacity:1;flex-shrink:0}
