/*
 * Compatibility-only layer for the v0.5.54 render adapter.
 * Layout, spacing, breakpoints and card styling remain owned by the verbatim
 * legacy base.css + responsive.css files.
 */
.sccft-parity-root .scorecell,
.sccft-parity-root .windscorecell{
  appearance:none;
  -webkit-appearance:none;
  padding:0;
  cursor:pointer;
}
.sccft-parity-root .scorebar,
.sccft-parity-root .windscorebar,
.sccft-parity-root [data-chart-hit="1"]{
  touch-action:none;
  user-select:none;
  -webkit-user-select:none;
}
/* v0.5.60: every score cell paints one absolute backend score-band colour.
 * CSS and JavaScript contain no thresholds, relative day normalization or
 * condition-label rules. */
.sccft-parity-root .scorecell--now::after,
.sccft-parity-root .scorecell--active::before,
.sccft-parity-root .scorecell--active::after{
  z-index:2;
}
/* Stable condition header. The selected-hour marker stays on the scorebar;
 * prepared text never follows that marker and therefore cannot hit the date. */
.sccft-parity-root .scorecard .scorehead{
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) auto !important;
  align-items:start !important;
  gap:8px !important;
  margin-bottom:7px !important;
  padding-bottom:0 !important;
  overflow:visible !important;
}
.sccft-parity-root .scorecard .scorehead__left{
  min-width:0 !important;
}
.sccft-parity-root .scorecard .scorehead__left > .label{
  margin:0 0 3px !important;
  line-height:1.1 !important;
}
.sccft-parity-root .scorecard .scorehead__right{
  position:relative !important;
  z-index:2 !important;
  align-items:flex-start !important;
  white-space:nowrap !important;
}
.sccft-parity-root .scorecard .rating{
  position:static !important;
  inset:auto !important;
  transform:none !important;
  display:grid !important;
  grid-template-columns:max-content max-content !important;
  grid-template-areas:"condition score" "detail detail" !important;
  align-items:center !important;
  justify-content:start !important;
  width:max-content !important;
  max-width:100% !important;
  gap:5px 7px !important;
  margin:0 !important;
  font-size:16px !important;
  overflow:visible !important;
  white-space:normal !important;
}
.sccft-parity-root .scorecard .rating__text{
  grid-area:condition;
  display:inline-block !important;
  padding-top:2px !important;
  font-weight:600 !important;
  line-height:1.1 !important;
  min-width:0 !important;
  max-width:none !important;
  overflow:visible !important;
  text-overflow:clip !important;
  white-space:nowrap !important;
}
.sccft-parity-root .scorecard .rating__badge{
  grid-area:score;
  display:inline-flex !important;
  width:auto !important;
  max-width:max-content !important;
  padding:2px 7px !important;
  font-size:11px !important;
  font-variant-numeric:tabular-nums !important;
  overflow:visible !important;
  text-overflow:clip !important;
  white-space:nowrap !important;
}
.sccft-parity-root .scorecard .rating__disc{
  grid-area:detail;
  display:block !important;
  width:max-content !important;
  max-width:min(100%, 340px) !important;
  min-width:0 !important;
  padding:4px 9px !important;
  overflow:visible !important;
  text-overflow:clip !important;
  white-space:normal !important;
  line-height:1.2 !important;
  text-align:left !important;
  border-radius:10px !important;
}
.sccft-parity-root .scorecard .rating__disc-one{
  display:block !important;
  min-width:0 !important;
  max-width:100% !important;
  overflow:visible !important;
  text-overflow:clip !important;
  white-space:normal !important;
}
@media (max-width:759px){
  .sccft-parity-root .scorecard .scorehead{margin-bottom:6px !important;}
  .sccft-parity-root .scorecard .rating{max-width:100% !important;font-size:14px !important;}
  .sccft-parity-root .scorecard .rating__disc{max-width:min(100%, 310px) !important;}
}
.sccft-parity-root .windchartcard .chartfoot--effect-only{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:34px !important;
  padding:2px 12px 10px !important;
  overflow:hidden !important;
}
.sccft-parity-root .windchartcard .chartfoot--effect-only .windscore__label{
  position:static !important;
  inset:auto !important;
  transform:none !important;
  max-width:100% !important;
  margin:0 !important;
  text-align:center !important;
  white-space:normal !important;
  line-height:1.25 !important;
}
.sccft-parity-root .chart .svgwrap,
.sccft-parity-root .chart .svgwrap svg{
  width:100%;
  display:block;
}
.sccft-parity-root .sccft-parity-debug-badge{
  position:relative;
  z-index:20;
  width:max-content;
  margin:0 0 8px auto;
  padding:5px 10px;
  border-radius:999px;
  background:#12313f;
  color:#fff;
  font:700 12px/1.2 ui-sans-serif,system-ui,sans-serif;
  letter-spacing:.01em;
}
.sccft-parity-root .sccwp-uxr-webcamview:empty{
  min-height:200px;
}
.sccft-parity-unavailable{
  padding:18px;
  border-radius:16px;
  background:#f8f3ea;
  color:#1d1d1d;
}


/* v0.5.61 mobile plot clearance.
 * The SVG plot owns a fixed responsive height; headers/footers stay in normal
 * flow and may not cover the bottom axis. Tide keeps its larger existing plot. */
@media (max-width:759px){
  .sccft-parity-root .sccwp-uxr-panel-rws,
  .sccft-parity-root .sccwp-uxr-panel-swell,
  .sccft-parity-root .sccwp-uxr-panel-wind{
    min-height:0 !important;
    height:auto !important;
    overflow:visible !important;
  }
  .sccft-parity-root .rwschartcard .chart,
  .sccft-parity-root .swellchartcard .chart,
  .sccft-parity-root .windchartcard .chart{
    min-height:0 !important;
    height:auto !important;
    padding-bottom:14px !important;
    overflow:visible !important;
  }
  .sccft-parity-root .rwschartcard .svgwrap,
  .sccft-parity-root .swellchartcard .svgwrap,
  .sccft-parity-root .windchartcard .svgwrap{
    height:clamp(220px, 58vw, 250px) !important;
    min-height:220px !important;
    margin-bottom:10px !important;
    overflow:visible !important;
  }
  .sccft-parity-root .rwschartcard .svgwrap svg,
  .sccft-parity-root .swellchartcard .svgwrap svg,
  .sccft-parity-root .windchartcard .svgwrap svg{
    width:100% !important;
    height:100% !important;
    min-height:100% !important;
    overflow:visible !important;
  }
  .sccft-parity-root .windchartcard .chartfoot--effect-only{
    position:static !important;
    margin-top:0 !important;
    min-height:40px !important;
    padding:4px 12px 12px !important;
    overflow:visible !important;
  }
}

/* v0.5.66 — recovery build: compact condition row, canonical chart readouts and clear icons. */
.sccft-parity-root .scorecard .scorehead{
  margin-bottom:4px !important;
}
.sccft-parity-root .scorecard .scorehead__left > .label{
  margin-bottom:2px !important;
}
.sccft-parity-root .scorecard .rating{
  display:grid !important;
  grid-template-columns:max-content minmax(0,1fr) max-content !important;
  grid-template-areas:"condition detail score" !important;
  width:100% !important;
  max-width:100% !important;
  gap:6px !important;
  align-items:center !important;
  white-space:nowrap !important;
  overflow:hidden !important;
}
.sccft-parity-root .scorecard .rating__text{
  grid-area:condition !important;
  font-weight:800 !important;
  font-size:17px !important;
}
.sccft-parity-root .scorecard .rating__disc{
  grid-area:detail !important;
  display:block !important;
  width:auto !important;
  max-width:100% !important;
  min-width:0 !important;
  padding:3px 7px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  line-height:1 !important;
}
.sccft-parity-root .scorecard .rating__disc-one{
  display:block !important;
  min-width:0 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.sccft-parity-root .scorecard .rating__badge{
  grid-area:score !important;
  padding:1px 5px !important;
  font-size:10px !important;
  opacity:.8;
}
.sccft-parity-root .scorecard .scorebar{margin-top:2px !important;}

.sccft-parity-root .readout__icon{
  width:28px !important;
  height:28px !important;
  border-radius:9px !important;
  padding:4px !important;
  box-sizing:border-box !important;
}
.sccft-parity-root .readout__icon svg{
  display:block;
  width:100%;
  height:100%;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.sccft-parity-root .readout__icon--wind svg{stroke-width:2.2;}

.sccft-parity-root .chart{overflow:hidden !important;}
.sccft-parity-root .sccft-chart-values{
  left:12px !important;
  right:auto !important;
  width:max-content !important;
  max-width:calc(100% - 24px) !important;
  padding:5px 7px !important;
  gap:2px !important;
  border-radius:9px !important;
  overflow:hidden !important;
}
.sccft-parity-root .sccft-chart-values__row{
  grid-template-columns:7px max-content max-content !important;
  width:max-content !important;
  max-width:100% !important;
}
.sccft-parity-root .sccft-chart-values__row span:last-child{
  overflow:hidden;
  text-overflow:ellipsis;
}
.sccft-parity-root .sccft-chart-values--waves{
  width:max-content !important;
  max-width:min(250px,calc(100% - 24px)) !important;
}
.sccft-parity-root .sccft-chart-values--rws{
  left:12px !important;
  right:12px !important;
  width:auto !important;
  max-width:none !important;
}
.sccft-parity-root .sccft-chart-values--single{
  width:max-content !important;
  max-width:calc(100% - 24px) !important;
}
.sccft-parity-root .windchartcard .chartfoot,
.sccft-parity-root .windchartcard .chartfoot--effect-only{
  display:none !important;
}
.sccft-parity-root .charthead .chartmeta{
  max-width:42% !important;
  font-variant-numeric:tabular-nums;
}
@media (max-width:759px){
  .sccft-parity-root .scorecard .rating{gap:4px !important;}
  .sccft-parity-root .scorecard .rating__text{font-size:15px !important;}
  .sccft-parity-root .scorecard .rating__disc{font-size:10px !important;padding:3px 5px !important;}
  .sccft-parity-root .scorecard .rating__badge{font-size:9px !important;padding:1px 4px !important;}
  .sccft-parity-root .sccft-chart-values{left:8px !important;max-width:calc(100% - 16px) !important;}
  .sccft-parity-root .sccft-chart-values--waves{max-width:min(230px,calc(100% - 16px)) !important;}
  .sccft-parity-root .sccft-chart-values--rws{left:8px !important;right:8px !important;}
}

/* v0.5.67 — fixed two-line condition hierarchy and robust compare header. */
.sccft-parity-root .scorecard .rating{
  display:grid !important;
  grid-template-columns:1fr !important;
  grid-template-rows:auto auto !important;
  grid-template-areas:"top" "detail" !important;
  gap:3px !important;
  white-space:normal !important;
  overflow:visible !important;
  min-height:46px !important;
}
.sccft-parity-root .scorecard .rating__top{
  grid-area:top;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-width:0;
}
.sccft-parity-root .scorecard .rating__text{font-size:18px !important;line-height:1.05 !important;}
.sccft-parity-root .scorecard .rating__badge{font-size:10px !important;flex:0 0 auto;}
.sccft-parity-root .scorecard .rating__disc{
  grid-area:detail !important;
  display:block !important;
  width:100% !important;
  max-width:none !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:rgba(29,29,29,.68) !important;
  font-size:12px !important;
  line-height:1.15 !important;
  overflow:visible !important;
}
.sccft-parity-root .scorecard .rating__disc-one{
  display:block !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
}
.sccwp-forecast-uxr-root .charthead--compare{
  grid-template-columns:minmax(0,max-content) minmax(150px,1fr) minmax(48px,max-content) !important;
}
.sccwp-forecast-uxr-root .charthead--compare > .rwschartmeta{
  min-width:48px !important;
  overflow:visible !important;
  text-overflow:clip !important;
}
.sccft-parity-root .sccft-chart-values--rws{
  box-sizing:border-box !important;
  max-width:calc(100% - 24px) !important;
  overflow:visible !important;
}
.sccft-parity-root .readout__icon{margin-right:4px !important;}
.sccft-parity-root .readout__k{padding-left:2px !important;}

/* v0.5.69 — shared condition/graph components; legends are normal-flow content. */
.sccft-parity-root .scorecard .rating{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) max-content !important;
  grid-template-rows:24px 17px !important;
  grid-template-areas:"label score" "descriptor score" !important;
  column-gap:12px !important;
  row-gap:0 !important;
  align-items:center !important;
  width:100% !important;
  height:41px !important;
  min-height:41px !important;
  max-height:41px !important;
  overflow:visible !important;
  white-space:normal !important;
}
.sccft-parity-root .scorecard .rating__label{
  grid-area:label;
  min-width:0;
  font-size:19px !important;
  line-height:1 !important;
  font-weight:850 !important;
  color:#303033 !important;
}
.sccft-parity-root .scorecard .rating__descriptor{
  grid-area:descriptor;
  min-width:0;
  font-size:11px !important;
  line-height:1.1 !important;
  font-weight:650 !important;
  color:rgba(48,48,51,.68) !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
}
.sccft-parity-root .scorecard .rating__score{
  grid-area:score;
  align-self:center;
  min-width:52px;
  padding:5px 8px;
  border-radius:10px;
  background:rgba(255,255,255,.64);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.08);
  text-align:center;
  font-size:14px !important;
  line-height:1 !important;
  font-weight:850 !important;
  font-variant-numeric:tabular-nums;
  color:#303033;
}

.sccft-parity-root .charthead,
.sccft-parity-root .charthead--compare{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) max-content !important;
  grid-template-areas:"title time" !important;
  align-items:start !important;
  gap:8px 12px !important;
  padding:12px 16px 4px !important;
  margin:0 !important;
}
.sccft-parity-root .charthead--compare{
  grid-template-columns:minmax(0,1fr) max-content 58px !important;
  grid-template-areas:"title tabs time" !important;
}
.sccft-parity-root .charthead > .label{
  grid-area:title;
  min-width:0;
  max-width:none !important;
  margin:0 !important;
  line-height:1.05 !important;
  overflow:visible !important;
  white-space:normal !important;
}
.sccft-parity-root .charthead > .chartmeta,
.sccft-parity-root .charthead--compare > .chartmeta,
.sccft-parity-root .charthead--compare > .rwschartmeta{
  grid-area:time;
  display:block !important;
  width:58px !important;
  min-width:58px !important;
  max-width:58px !important;
  margin:0 !important;
  overflow:visible !important;
  white-space:nowrap !important;
  text-align:right !important;
  line-height:1.05 !important;
  font-variant-numeric:tabular-nums;
}
.sccft-parity-root .charthead--compare > .sccft-compare-tabs{
  grid-area:tabs;
  align-self:start;
  margin:0 !important;
  min-width:0 !important;
  white-space:nowrap;
}

.sccft-parity-root .sccft-graph-legend{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:5px 14px;
  width:max-content;
  max-width:calc(100% - 32px);
  margin:4px 16px 0;
  padding:7px 10px;
  border:1px solid rgba(0,0,0,.055);
  border-radius:11px;
  background:rgba(255,255,255,.52);
  box-sizing:border-box;
  overflow:visible;
}
.sccft-parity-root .sccft-graph-legend:empty{display:none;}
.sccft-parity-root .sccft-graph-legend__item{
  display:grid;
  grid-template-columns:8px max-content max-content;
  align-items:center;
  gap:5px;
  width:max-content;
  max-width:100%;
  font-size:11px;
  line-height:1.15;
  color:rgba(48,48,51,.78);
  white-space:nowrap;
}
.sccft-parity-root .sccft-graph-legend__item b{
  font-size:12px;
  font-weight:800;
  color:#4b4b4f;
  font-variant-numeric:tabular-nums;
}
.sccft-parity-root .sccft-graph-legend__swatch{
  width:8px;
  height:8px;
  border-radius:50%;
}
.sccft-parity-root .sccft-graph-legend--comparison{
  display:grid;
  grid-template-columns:repeat(2,max-content);
  gap:5px 18px;
}
.sccft-parity-root .chart{
  padding-top:0 !important;
  overflow:hidden !important;
}
.sccft-parity-root .chart .svgwrap{width:100%;}
.sccft-parity-root .windchartcard .chartfoot,
.sccft-parity-root .windchartcard .chartfoot--effect-only{display:none !important;}

@media (max-width:759px){
  .sccft-parity-root .scorecard .rating{
    grid-template-columns:minmax(0,1fr) 48px !important;
    column-gap:7px !important;
  }
  .sccft-parity-root .scorecard .rating__label{font-size:16px !important;}
  .sccft-parity-root .scorecard .rating__descriptor{font-size:9.5px !important;}
  .sccft-parity-root .scorecard .rating__score{min-width:48px;padding:5px 5px;font-size:12px !important;}
  .sccft-parity-root .charthead,
  .sccft-parity-root .charthead--compare{padding:10px 12px 3px !important;}
  .sccft-parity-root .charthead--compare{
    grid-template-columns:minmax(0,1fr) max-content 48px !important;
    gap:6px !important;
  }
  .sccft-parity-root .charthead > .chartmeta,
  .sccft-parity-root .charthead--compare > .chartmeta,
  .sccft-parity-root .charthead--compare > .rwschartmeta{width:48px !important;min-width:48px !important;max-width:48px !important;}
  .sccft-parity-root .sccft-graph-legend{
    max-width:calc(100% - 24px);
    margin:4px 12px 0;
    gap:4px 10px;
    padding:6px 8px;
  }
  .sccft-parity-root .sccft-graph-legend--comparison{
    grid-template-columns:repeat(2,minmax(0,max-content));
    gap:4px 10px;
  }
  .sccft-parity-root .sccft-graph-legend__item{font-size:9.5px;gap:4px;}
  .sccft-parity-root .sccft-graph-legend__item b{font-size:10.5px;}
}


/* v0.5.69 — component-width responsive GraphHeader. */
.sccft-parity-root .rwschartcard{ container-type:inline-size; container-name:sccft-rws-card; }
.sccft-parity-root .rwschartcard .charthead--compare{
  display:grid !important;
  grid-template-columns:minmax(180px,1fr) max-content 58px;
  grid-template-areas:"title tabs time";
  align-items:start !important;
  column-gap:12px !important;
}
.sccft-parity-root .rwschartcard .charthead--compare > .label{ grid-area:title; white-space:nowrap; min-width:180px; }
.sccft-parity-root .rwschartcard .charthead--compare > .sccft-compare-tabs{ grid-area:tabs; }
.sccft-parity-root .rwschartcard .charthead--compare > .chartmeta{ grid-area:time; width:58px; min-width:58px; margin-left:0 !important; text-align:right; }
@container sccft-rws-card (max-width: 650px){
  .sccft-parity-root .rwschartcard .charthead--compare{
    grid-template-columns:minmax(180px,1fr) 58px;
    grid-template-areas:"title time" "tabs tabs";
    row-gap:8px;
  }
  .sccft-parity-root .rwschartcard .charthead--compare > .sccft-compare-tabs{ justify-self:start; }
}


/* v0.5.70 — mobile readout/score containment and compare-tab breathing room. */
.sccft-parity-root .scorecard .rating__score{
  white-space:nowrap !important;
  word-break:keep-all !important;
  overflow-wrap:normal !important;
  min-width:68px !important;
  box-sizing:border-box !important;
}
.sccft-parity-root .rwschartcard .charthead--compare > .sccft-compare-tabs{
  margin-left:8px !important;
}
@media (max-width:759px){
  .sccft-parity-root .scorecard .rating{
    grid-template-columns:minmax(0,1fr) 72px !important;
    column-gap:10px !important;
  }
  .sccft-parity-root .scorecard .rating__score{
    min-width:72px !important;
    width:72px !important;
    padding:6px 7px !important;
    font-size:13px !important;
    line-height:1 !important;
  }
  .sccft-parity-root .readout__line{
    grid-template-columns:34px minmax(132px,1fr) minmax(0,1.25fr) !important;
    column-gap:9px !important;
    padding-left:7px !important;
    padding-right:8px !important;
  }
  .sccft-parity-root .readout__icon{
    width:30px !important;
    height:30px !important;
    margin-right:0 !important;
  }
  .sccft-parity-root .readout__k{
    padding-left:0 !important;
    font-size:11px !important;
    line-height:1.12 !important;
    overflow-wrap:anywhere;
  }
  .sccft-parity-root .readout__cols{
    grid-template-columns:44px 50px 40px 34px !important;
    column-gap:3px !important;
    font-size:10.5px !important;
  }
  .sccft-parity-root .rwschartcard .charthead--compare > .sccft-compare-tabs{
    margin-left:0 !important;
    margin-top:3px !important;
  }
}
@media (max-width:390px){
  .sccft-parity-root .readout__line{
    grid-template-columns:32px minmax(118px,1fr) minmax(0,1.18fr) !important;
    column-gap:8px !important;
  }
  .sccft-parity-root .readout__cols{
    grid-template-columns:40px 44px 36px !important;
    column-gap:2px !important;
  }
  .sccft-parity-root .readout__cols .is-deg{display:none !important;}
}


/* v0.5.71 — stable graph header/date contract. */
.sccft-parity-root .charthead{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) max-content;
  grid-template-areas:"title time";
  align-items:start !important;
  gap:6px 12px !important;
}
.sccft-parity-root .charthead > .label{grid-area:title;min-width:0;}
.sccft-parity-root .charthead > .chartmeta{
  grid-area:time;
  width:auto !important;
  min-width:92px !important;
  max-width:150px;
  white-space:nowrap;
  text-align:right;
  font-size:11px !important;
}
.sccft-parity-root .rwschartcard .charthead--compare{
  grid-template-columns:minmax(180px,1fr) max-content;
  grid-template-areas:"title time" "tabs tabs" !important;
  row-gap:7px !important;
}
.sccft-parity-root .rwschartcard .charthead--compare > .sccft-compare-tabs{
  grid-area:tabs !important;
  justify-self:start !important;
  margin-left:0 !important;
  margin-top:0 !important;
}
.sccft-parity-root .rwschartcard .charthead--compare > .chartmeta{
  grid-area:time !important;
  width:auto !important;
  min-width:92px !important;
}
@media (max-width:759px){
  .sccft-parity-root .charthead > .chartmeta,
  .sccft-parity-root .rwschartcard .charthead--compare > .chartmeta{
    min-width:108px !important;
    font-size:10.5px !important;
  }
  .sccft-parity-root .rwschartcard .charthead--compare{
    grid-template-columns:minmax(0,1fr) max-content !important;
  }
  .sccft-parity-root .rwschartcard .charthead--compare > .label{
    min-width:0 !important;
  }
}


/* v0.5.72 — compact three-column marine readout and fixed wind symbol.
   Exact degrees remain in title/aria metadata; the visible card uses the
   backend compass label only. These final scoped rules replace the stacked
   v0.5.65/v0.5.70 sizing overrides without changing engine data. */
.sccft-parity-root .readoutcard{
  min-height:0 !important;
  padding:7px 9px !important;
  align-self:end !important;
}
.sccft-parity-root .readout{
  gap:1px !important;
}
.sccft-parity-root .readout__line{
  grid-template-columns:24px minmax(112px,1fr) minmax(172px,1.18fr) !important;
  column-gap:8px !important;
  min-height:30px !important;
  padding:3px 8px !important;
}
.sccft-parity-root .readout__icon,
.sccft-parity-root .readout__icon--wind{
  width:24px !important;
  height:24px !important;
  min-width:24px !important;
  border-radius:8px !important;
  padding:3px !important;
  margin:0 !important;
}
.sccft-parity-root .readout__icon svg{
  width:100% !important;
  height:100% !important;
  stroke-width:1.9 !important;
}
.sccft-parity-root .readout__icon--wind svg{stroke-width:1.8 !important;}
.sccft-parity-root .readout__k{
  padding:0 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  overflow-wrap:normal !important;
  font-size:11px !important;
  line-height:1.1 !important;
}
.sccft-parity-root .readout__v{min-width:0 !important;width:100% !important;}
.sccft-parity-root .readout__cols{
  display:grid !important;
  grid-template-columns:minmax(48px,.88fr) minmax(56px,1fr) minmax(42px,.72fr) !important;
  column-gap:6px !important;
  width:100% !important;
  min-width:0 !important;
  align-items:center !important;
  font-size:11px !important;
  font-variant-numeric:tabular-nums;
}
.sccft-parity-root .readout__cols > span{
  min-width:0 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.sccft-parity-root .readout__cols > span:nth-child(1),
.sccft-parity-root .readout__cols > span:nth-child(2){text-align:right !important;}
.sccft-parity-root .readout__cols > span:nth-child(3){text-align:center !important;}
@media (max-width:759px){
  .sccft-parity-root .readoutcard{padding:7px 8px !important;}
  .sccft-parity-root .readout__line{
    grid-template-columns:24px minmax(108px,1fr) minmax(130px,1.08fr) !important;
    column-gap:7px !important;
    min-height:31px !important;
    padding:3px 5px !important;
  }
  .sccft-parity-root .readout__icon,
  .sccft-parity-root .readout__icon--wind{
    width:24px !important;
    height:24px !important;
    min-width:24px !important;
  }
  .sccft-parity-root .readout__k{font-size:11px !important;}
  .sccft-parity-root .readout__cols{
    grid-template-columns:minmax(40px,.82fr) minmax(47px,.96fr) minmax(37px,.7fr) !important;
    column-gap:3px !important;
    font-size:10.5px !important;
  }
}
@media (max-width:390px){
  .sccft-parity-root .readout__line{
    grid-template-columns:24px minmax(101px,1fr) minmax(118px,1.02fr) !important;
    column-gap:6px !important;
  }
  .sccft-parity-root .readout__k{font-size:10.5px !important;}
  .sccft-parity-root .readout__cols{
    grid-template-columns:minmax(37px,.82fr) minmax(43px,.94fr) minmax(34px,.68fr) !important;
    column-gap:2px !important;
    font-size:10px !important;
  }
}

/* v0.5.73 — stable first paint, accessible loader and compact overflow guards. */
.sccwp-forecast-uxr-root{
  position:relative;
  width:min(1320px, calc(100vw - 36px));
  max-width:1320px;
  min-width:0;
  margin-inline:auto;
}
.sccwp-forecast-uxr-root .sccft-loading-stage{
  position:absolute;
  inset:0;
  z-index:40;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  width:100%;
  min-height:560px;
  padding:28px 0;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease, visibility .18s ease;
}
.sccwp-forecast-uxr-root.is-loading .sccft-loading-stage{
  opacity:1;
  visibility:visible;
}
.sccwp-forecast-uxr-root.is-loading .app{
  visibility:hidden;
  opacity:0;
  pointer-events:none;
}
.sccwp-forecast-uxr-root.is-ready .app{
  visibility:visible;
  opacity:1;
  transition:opacity .22s ease;
}
.sccwp-forecast-uxr-root .sccft-loading-stage__spinner{
  width:34px;
  height:34px;
  border:4px solid rgba(69,76,80,.18);
  border-top-color:rgba(69,76,80,.72);
  border-radius:50%;
  animation:sccft-loader-spin .8s linear infinite;
}
.sccwp-forecast-uxr-root .sccft-loading-stage__text{
  font-size:15px;
  font-weight:700;
  color:#5f6264;
}
.sccwp-forecast-uxr-root .sccft-loading-stage__grid{
  width:100%;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:8px;
}
.sccwp-forecast-uxr-root .sccft-loading-stage__grid span{
  display:block;
  min-height:220px;
  border-radius:24px;
  background:linear-gradient(100deg,#f5f0e6 20%,#faf7f0 38%,#f5f0e6 56%);
  background-size:220% 100%;
  animation:sccft-loader-shimmer 1.25s ease-in-out infinite;
}
.sccwp-forecast-uxr-root .factor,
.sccwp-forecast-uxr-root .factor__v,
.sccwp-forecast-uxr-root .factor__cols,
.sccwp-forecast-uxr-root .factor__cols > span{
  min-width:0;
}
.sccwp-forecast-uxr-root .factor__cols > span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
@keyframes sccft-loader-spin{to{transform:rotate(360deg)}}
@keyframes sccft-loader-shimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}
@media (max-width:759px){
  .sccwp-forecast-uxr-root{
    width:calc(100vw - 18px) !important;
    max-width:none !important;
    min-height:720px;
  }
  .sccwp-forecast-uxr-root .sccft-loading-stage{min-height:720px;padding-top:22px;}
  .sccwp-forecast-uxr-root .sccft-loading-stage__grid{grid-template-columns:minmax(0,1fr);gap:14px;}
  .sccwp-forecast-uxr-root .sccft-loading-stage__grid span{min-height:190px;}
  .sccwp-forecast-uxr-root .factor__cols{grid-template-columns:minmax(0,1fr) minmax(0,1.75fr) minmax(0,.8fr) !important;}
}
@media (prefers-reduced-motion:reduce){
  .sccwp-forecast-uxr-root .sccft-loading-stage__spinner,
  .sccwp-forecast-uxr-root .sccft-loading-stage__grid span{animation:none;}
  .sccwp-forecast-uxr-root.is-ready .app,
  .sccwp-forecast-uxr-root .sccft-loading-stage{transition:none;}
}

/* v0.5.74 — non-blocking progressive navigation status and shared icon fit. */
.sccwp-forecast-uxr-root .sccft-navigation-status{
  position:fixed;
  z-index:120;
  left:50%;
  top:calc(var(--sccwp-sticky-offset, 0px) + 12px);
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:9px;
  max-width:min(92vw,420px);
  padding:10px 14px;
  border:1px solid rgba(70,70,70,.12);
  border-radius:999px;
  background:rgba(250,247,240,.97);
  box-shadow:0 10px 28px rgba(25,25,25,.16);
  color:#4d5052;
  font-size:13px;
  font-weight:700;
}
.sccwp-forecast-uxr-root .sccft-navigation-status[hidden]{display:none !important;}
.sccwp-forecast-uxr-root .sccft-navigation-status[data-status="error"]{
  border-color:rgba(207,104,69,.34);
  background:#fff7ef;
}
.sccwp-forecast-uxr-root .sccft-navigation-status__spinner{
  width:17px;
  height:17px;
  flex:0 0 17px;
  border:2.5px solid rgba(69,76,80,.18);
  border-top-color:rgba(69,76,80,.76);
  border-radius:50%;
  animation:sccft-loader-spin .75s linear infinite;
}
.sccwp-forecast-uxr-root .sccft-navigation-status[data-status="error"] .sccft-navigation-status__spinner{display:none;}
.sccwp-forecast-uxr-root .sccft-navigation-status__retry{
  appearance:none;
  border:0;
  border-radius:999px;
  padding:6px 10px;
  background:#d9dca7;
  color:#404244;
  font:inherit;
  cursor:pointer;
}
.sccwp-forecast-uxr-root.is-updating .segbtn[aria-busy="true"],
.sccwp-forecast-uxr-root.is-updating .iconbtn[aria-busy="true"]{
  opacity:.62;
  cursor:progress;
}
.sccwp-forecast-uxr-root .readout__icon--wind svg{
  width:100%;
  height:100%;
  overflow:visible;
}
@media (max-width:759px){
  .sccwp-forecast-uxr-root .sccft-navigation-status{
    top:calc(var(--sccwp-sticky-offset, 0px) + 8px);
    padding:9px 12px;
    font-size:12px;
  }
}
@media (prefers-reduced-motion:reduce){
  .sccwp-forecast-uxr-root .sccft-navigation-status__spinner{animation:none;}
}

/* v0.5.78.8 — mobile alignment and compact-card hotfix from device screenshots.
   Render-only: no Condition Engine, score, source or JSON changes. */
@media (max-width:759px){
  /* Conditions: title/control row, status + score row, then the secondary description. */
  .sccft-parity-root .scorecard .scorehead{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-areas:"title controls" "rating rating" !important;
    align-items:center !important;
    gap:6px 10px !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
  }
  .sccft-parity-root .scorecard .scorehead__left{
    display:contents !important;
  }
  .sccft-parity-root .scorecard .scorehead__left > .label{
    grid-area:title !important;
    margin:0 !important;
    min-width:0 !important;
    font-size:20px !important;
    line-height:1.08 !important;
    white-space:nowrap !important;
  }
  .sccft-parity-root .scorecard .scorehead__right{
    grid-area:controls !important;
    position:static !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:7px !important;
    min-width:0 !important;
  }
  .sccft-parity-root .scorecard .scorehead__right [data-role="condition-time"]{
    width:auto !important;
    min-width:0 !important;
    max-width:132px !important;
    margin:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }
  .sccft-parity-root .scorecard .rating{
    grid-area:rating !important;
    position:static !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-areas:"status score" "descriptor descriptor" !important;
    align-items:center !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    transform:none !important;
    column-gap:10px !important;
    row-gap:5px !important;
    pointer-events:none !important;
  }
  .sccft-parity-root .scorecard .rating__label{
    grid-area:status !important;
    position:static !important;
    justify-self:start !important;
    margin:0 !important;
    padding:5px 14px !important;
    border:1px solid color-mix(in srgb,var(--condition-color) 55%,#777) !important;
    border-radius:999px !important;
    background:color-mix(in srgb,var(--condition-color) 72%,white) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.52) !important;
    color:#303033 !important;
    font-size:16px !important;
    font-weight:800 !important;
    line-height:1.05 !important;
    white-space:nowrap !important;
    transform:none !important;
  }
  .sccft-parity-root .scorecard .rating__score{
    grid-area:score !important;
    position:static !important;
    justify-self:end !important;
    width:auto !important;
    min-width:72px !important;
    max-width:none !important;
    margin:0 !important;
    padding:6px 8px !important;
    transform:none !important;
    white-space:nowrap !important;
  }
  .sccft-parity-root .scorecard .rating__descriptor{
    grid-area:descriptor !important;
    position:static !important;
    display:block !important;
    min-width:0 !important;
    max-width:100% !important;
    margin:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    font-size:11px !important;
    line-height:1.25 !important;
  }
  .sccft-parity-root .scorecard .scorebar{
    clear:both !important;
    margin-top:9px !important;
  }

  /* Live: keep the collapsed header vertically centred with equal top/bottom breathing room. */
  .sccft-parity-root .sccwp-uxr-panel-live{
    min-height:0 !important;
    padding:9px 12px !important;
  }
  .sccft-parity-root .sccwp-uxr-panel-live .livehead{
    min-height:28px !important;
    margin:0 !important;
    padding:0 !important;
    align-items:center !important;
  }
  .sccft-parity-root .sccwp-uxr-panel-live .livehead > .label{
    margin:0 !important;
    line-height:1.05 !important;
  }

  /* Webcam and graphs: remove the stacked card + header top padding. */
  .sccft-parity-root .sccwp-uxr-webcamcard,
  .sccft-parity-root .swellchartcard,
  .sccft-parity-root .rwschartcard,
  .sccft-parity-root .tidechartcard,
  .sccft-parity-root .windchartcard{
    padding-top:9px !important;
  }
  .sccft-parity-root .sccwp-uxr-webcamcard > .label{
    margin:0 0 8px !important;
    line-height:1.08 !important;
  }
  .sccft-parity-root .charthead,
  .sccft-parity-root .charthead--compare{
    margin:0 !important;
    padding:0 2px 4px !important;
  }

  /* Shared two-row graph header: title/date first, selector centred underneath. */
  .sccft-parity-root .windchartcard .charthead--compare,
  .sccft-parity-root .rwschartcard .charthead--compare{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) max-content !important;
    grid-template-areas:"title time" "tabs tabs" !important;
    align-items:start !important;
    column-gap:8px !important;
    row-gap:5px !important;
  }
  .sccft-parity-root .windchartcard .charthead--compare > .label,
  .sccft-parity-root .rwschartcard .charthead--compare > .label{
    grid-area:title !important;
    min-width:0 !important;
    margin:0 !important;
  }
  .sccft-parity-root .windchartcard .charthead--compare > .chartmeta,
  .sccft-parity-root .rwschartcard .charthead--compare > .chartmeta{
    grid-area:time !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
    justify-self:end !important;
    text-align:right !important;
    white-space:nowrap !important;
  }
  .sccft-parity-root .windchartcard .charthead--compare > .sccft-compare-tabs,
  .sccft-parity-root .rwschartcard .charthead--compare > .sccft-compare-tabs{
    grid-area:tabs !important;
    justify-self:center !important;
    align-self:start !important;
    margin:1px 0 0 !important;
  }
}


/* v0.5.78.9 — tablet/desktop condition, webcam and chart-card polish.
   Render-only: no Condition Engine, score, source, model or JSON changes. */
@media (min-width:760px){
  /* Reuse the proven mobile condition hierarchy on tablet and desktop. */
  .sccft-parity-root .scorecard .scorehead{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-areas:"title controls" "rating rating" !important;
    align-items:center !important;
    gap:6px 10px !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
  }
  .sccft-parity-root .scorecard .scorehead__left{display:contents !important;}
  .sccft-parity-root .scorecard .scorehead__left > .label{
    grid-area:title !important;
    margin:0 !important;
    min-width:0 !important;
    line-height:1.08 !important;
    white-space:nowrap !important;
  }
  .sccft-parity-root .scorecard .scorehead__right{
    grid-area:controls !important;
    position:static !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:7px !important;
    min-width:0 !important;
  }
  .sccft-parity-root .scorecard .scorehead__right [data-role="condition-time"]{
    width:auto !important;
    min-width:0 !important;
    max-width:150px !important;
    margin:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }
  .sccft-parity-root .scorecard .rating{
    grid-area:rating !important;
    position:static !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-areas:"status score" "descriptor descriptor" !important;
    align-items:center !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 !important;
    transform:none !important;
    column-gap:10px !important;
    row-gap:5px !important;
    overflow:visible !important;
    pointer-events:none !important;
  }
  .sccft-parity-root .scorecard .rating__label{
    grid-area:status !important;
    position:static !important;
    justify-self:start !important;
    margin:0 !important;
    padding:5px 14px !important;
    border:1px solid color-mix(in srgb,var(--condition-color) 55%,#777) !important;
    border-radius:999px !important;
    background:color-mix(in srgb,var(--condition-color) 72%,white) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.52) !important;
    color:#303033 !important;
    font-size:16px !important;
    font-weight:800 !important;
    line-height:1.05 !important;
    white-space:nowrap !important;
    transform:none !important;
  }
  .sccft-parity-root .scorecard .rating__score{
    grid-area:score !important;
    position:static !important;
    justify-self:end !important;
    width:auto !important;
    min-width:70px !important;
    max-width:none !important;
    margin:0 !important;
    padding:5px 8px !important;
    transform:none !important;
    white-space:nowrap !important;
  }
  .sccft-parity-root .scorecard .rating__descriptor{
    grid-area:descriptor !important;
    position:static !important;
    display:block !important;
    min-width:0 !important;
    max-width:100% !important;
    margin:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    font-size:11px !important;
    line-height:1.25 !important;
  }
  .sccft-parity-root .scorecard .scorebar{
    clear:both !important;
    margin-top:9px !important;
  }

  /* Use the mobile-proven player ratio and one clipping wrapper on larger devices. */
  .sccft-parity-root .sccwp-uxr-webcamcard{
    min-height:0 !important;
    padding:12px !important;
    display:flex !important;
    flex-direction:column !important;
    overflow:hidden !important;
  }
  .sccft-parity-root .sccwp-uxr-webcamcard > .label{
    margin:0 0 8px !important;
    padding:0 !important;
    line-height:1.08 !important;
  }
  .sccft-parity-root .sccwp-uxr-webcamview{
    position:relative !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    aspect-ratio:16/10 !important;
    border-radius:16px !important;
    overflow:hidden !important;
    background:#111 !important;
    line-height:0 !important;
  }
  .sccft-parity-root .sccwp-uxr-webcamview iframe,
  .sccft-parity-root .sccwp-uxr-webcamview img,
  .sccft-parity-root .sccwp-uxr-webcamview video{
    position:absolute !important;
    top:0 !important;
    bottom:0 !important;
    left:-6px !important;
    width:calc(100% + 6px) !important;
    max-width:none !important;
    height:100% !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    display:block !important;
    border:0 !important;
    border-radius:0 !important;
    object-fit:cover !important;
    object-position:center !important;
  }

  /* Remove historical fixed card heights; keep the rendered graph size and trim only dead space. */
  .sccft-parity-root .swellchartcard,
  .sccft-parity-root .rwschartcard,
  .sccft-parity-root .tidechartcard,
  .sccft-parity-root .windchartcard,
  .sccft-parity-root .multimodelcard{
    min-height:0 !important;
    height:auto !important;
    padding:12px !important;
    display:flex !important;
    flex-direction:column !important;
    overflow:hidden !important;
  }
  .sccft-parity-root .swellchartcard .charthead,
  .sccft-parity-root .rwschartcard .charthead,
  .sccft-parity-root .tidechartcard .charthead,
  .sccft-parity-root .windchartcard .charthead,
  .sccft-parity-root .multimodelcard .charthead{
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
  }
  .sccft-parity-root .swellchartcard .chart,
  .sccft-parity-root .rwschartcard .chart,
  .sccft-parity-root .tidechartcard .chart,
  .sccft-parity-root .windchartcard .chart,
  .sccft-parity-root .multimodelcard .chart{
    flex:0 0 auto !important;
    min-height:0 !important;
    height:auto !important;
    margin:0 !important;
    padding:0 0 2px !important;
  }
  .sccft-parity-root .chart .svgwrap{
    margin:0 !important;
  }
}

@media (min-width:760px) and (max-width:1180px){
  /* Tablet cards are content-driven; adjacent graph cards no longer inherit desktop floor heights. */
  .sccft-parity-root .swellchartcard,
  .sccft-parity-root .rwschartcard,
  .sccft-parity-root .tidechartcard,
  .sccft-parity-root .windchartcard,
  .sccft-parity-root .sccwp-uxr-webcamcard{
    align-self:start !important;
    height:auto !important;
    min-height:0 !important;
  }
}

@media (min-width:1181px){
  /* Desktop rows remain aligned and continue to grow together when a legend expands. */
  .sccft-parity-root .swellchartcard,
  .sccft-parity-root .rwschartcard,
  .sccft-parity-root .sccwp-uxr-webcamcard,
  .sccft-parity-root .tidechartcard,
  .sccft-parity-root .windchartcard,
  .sccft-parity-root .multimodelcard{
    align-self:stretch !important;
    height:100% !important;
    min-height:0 !important;
  }
}

/* v0.5.78.10 — tablet width and two-column containment hotfix.
   Presentation only: mobile, desktop, Condition Engine, scores and JSON stay unchanged. */
@media (min-width:760px) and (max-width:1180px){
  /* Do not let a half-width Elementor/shortcode column collapse the complete tool.
     Keep the proven tablet canvas centred inside the page content and cap it at 980px. */
  .sccft-parity-root,
  .elementor-shortcode > .sccft-parity-root{
    width:min(980px, calc(100vw - 48px)) !important;
    max-width:min(980px, calc(100vw - 48px)) !important;
    min-width:0 !important;
    margin:0 0 34px !important;
    overflow:visible !important;
  }

  .sccft-parity-root .app{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    grid-template-areas:
      "top top"
      "map sticky"
      "readout score"
      "live webcam"
      "swell rws"
      "tide wind" !important;
    grid-auto-columns:minmax(0,1fr) !important;
    gap:14px !important;
    align-items:start !important;
    justify-items:stretch !important;
    overflow:visible !important;
  }

  .sccft-parity-root .app > *,
  .sccft-parity-root .card,
  .sccft-parity-root .stickybar,
  .sccft-parity-root .chart,
  .sccft-parity-root .svgwrap{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }

  /* Tablet uses the Wind tabs; never create an implicit third/full-width model card. */
  .sccft-parity-root .sccwp-uxr-panel-multimodel-wind,
  .sccft-parity-root .sccwp-uxr-panel-multimodel-swell{
    display:none !important;
  }

  /* Stable graph headers: no vertical title wrapping or tab/date collisions. */
  .sccft-parity-root .charthead,
  .sccft-parity-root .charthead--compare{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) max-content !important;
    grid-template-areas:"title time" "tabs tabs" !important;
    align-items:start !important;
    column-gap:8px !important;
    row-gap:5px !important;
    min-width:0 !important;
  }
  .sccft-parity-root .charthead > .label,
  .sccft-parity-root .charthead--compare > .label{
    grid-area:title !important;
    min-width:0 !important;
    max-width:100% !important;
    white-space:nowrap !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  .sccft-parity-root .charthead > .chartmeta,
  .sccft-parity-root .charthead [data-role$="-meta"],
  .sccft-parity-root .charthead--compare > .chartmeta{
    grid-area:time !important;
    justify-self:end !important;
    min-width:0 !important;
    max-width:150px !important;
    padding-left:4px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  .sccft-parity-root .charthead > .sccft-compare-tabs,
  .sccft-parity-root .charthead--compare > .sccft-compare-tabs{
    grid-area:tabs !important;
    grid-column:1/-1 !important;
    justify-self:center !important;
    width:auto !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:1px 0 0 !important;
  }

  .sccft-parity-root .sccft-graph-legend{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow:hidden !important;
  }
  .sccft-parity-root .sccft-graph-legend__item,
  .sccft-parity-root .sccft-chart-values__row{
    min-width:0 !important;
  }

  /* Preserve the v0.5.78.9 content-driven tablet cards after the width repair. */
  .sccft-parity-root .swellchartcard,
  .sccft-parity-root .rwschartcard,
  .sccft-parity-root .tidechartcard,
  .sccft-parity-root .windchartcard,
  .sccft-parity-root .sccwp-uxr-webcamcard{
    align-self:start !important;
    height:auto !important;
    min-height:0 !important;
  }
}

/* v0.6.1.2 — tablet row alignment.
   Presentation only: paired tablet cards stretch to the same grid-row height.
   Mobile, desktop, webcam aspect ratio, Condition Engine and JSON stay unchanged. */
@media (min-width:760px) and (max-width:1180px){
  .sccft-parity-root .app{
    align-items:stretch !important;
  }

  /* These cards form three explicit tablet rows. Let the shorter card fill the
     row created by the taller neighbour, instead of keeping content height. */
  .sccft-parity-root .sccwp-uxr-panel-live,
  .sccft-parity-root .sccwp-uxr-webcamcard,
  .sccft-parity-root .swellchartcard,
  .sccft-parity-root .rwschartcard,
  .sccft-parity-root .tidechartcard,
  .sccft-parity-root .windchartcard{
    align-self:stretch !important;
    height:auto !important;
    min-height:0 !important;
    box-sizing:border-box !important;
  }

  /* Keep content anchored at the top while the card itself reaches the shared
     row bottom. This avoids stretching the webcam image or graph SVG. */
  .sccft-parity-root .sccwp-uxr-panel-live,
  .sccft-parity-root .sccwp-uxr-webcamcard,
  .sccft-parity-root .swellchartcard,
  .sccft-parity-root .rwschartcard,
  .sccft-parity-root .tidechartcard,
  .sccft-parity-root .windchartcard{
    justify-content:flex-start !important;
  }
}
