/* Widgety pro partnery (Pages/Widgets) – samostatné styly bez webu kolem (iframe na cizích webech).
   Widget sjízdnosti: tabule Sjizdnost-Prezentace, karta „Nově od sezony 2027“ (hodnoty přepsané z tabule). */
:root {
  --c-water: #4a90e2; --c-dry: #b4bcc1; --c-high: #e0574a; --c-advise: #8e5bb5; --c-nodata: #f2f4f3; --c-nodata-edge: #c4ccd0;
  --w-low: var(--c-dry);
  --w-lower: linear-gradient(90deg, var(--c-dry) 0 4px, var(--c-water) 4px 8px, var(--c-dry) 8px);
  --w-ok: var(--c-water);
  --w-higher: linear-gradient(90deg, var(--c-high) 0 4px, var(--c-water) 4px 8px, var(--c-high) 8px);
  --w-high: var(--c-high);
  --w-advise: repeating-linear-gradient(180deg, var(--c-advise) 0 8px, #fff 8px 12px);
  --w-nodata: linear-gradient(90deg, var(--c-nodata-edge) 0 2px, var(--c-nodata) 2px 10px, var(--c-nodata-edge) 10px);
}
body { margin: 0; padding: 4px; font-family: Roboto, Arial, sans-serif; color: #1c2b2a; background: transparent; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wv {
  box-sizing: border-box; background: #fff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0, 0, 0, .10);
  padding: 14px 16px; display: flex; flex-direction: column; --wv-name: 13px;
}
.wv-kicker { font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #5d6f6c; }
.wv-title { font-size: 18px; font-weight: 500; color: #16302c; margin: 2px 0 10px; }
.wv-list { list-style: none; margin: 0; padding: 0; }
.wv-node { display: grid; grid-template-columns: 30px minmax(0, 1fr); min-height: 26px; position: relative; }
.wv-dot {
  position: absolute; left: 1px; top: 3px; width: 20px; height: 20px; box-sizing: border-box; border-radius: 50%;
  background: #fff; border: 3px solid #16302c; z-index: 2;
}
.wv-name { grid-column: 2; display: flex; align-items: center; font-size: var(--wv-name); font-weight: 500; color: #1c2b2a; text-decoration: none; }
a.wv-name:hover { color: #00695c; text-decoration: underline; }
.wv-seg { display: grid; grid-template-columns: 30px minmax(0, 1fr); min-height: 34px; position: relative; }
.wv-line { position: absolute; top: -13px; bottom: -13px; left: 5px; width: 12px; z-index: 1; }
.wv-note { grid-column: 2; align-self: center; padding: 4px 0; font-size: calc(var(--wv-name) - 1px); line-height: 1.3; color: #35514c; }
.w-low { background: var(--w-low); }
.w-lower { background: var(--w-lower); }
.w-ok { background: var(--w-ok); }
.w-higher { background: var(--w-higher); }
.w-high { background: var(--w-high); }
.w-advise { background: var(--w-advise); }
.w-nodata, .w-unavailable { background: var(--w-nodata); }

.wv-legend { display: flex; gap: 2px; margin-top: 12px; }
.wv-leg { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1 1 0; min-width: 0; font-size: 10px; line-height: 1.15; text-align: center; color: #5d6f6c; }
.wv-swatch { display: block; width: 100%; height: 12px; }
.wv-swatch.w-lower { background: linear-gradient(180deg, var(--c-dry) 0 4px, var(--c-water) 4px 8px, var(--c-dry) 8px); }
.wv-swatch.w-higher { background: linear-gradient(180deg, var(--c-high) 0 4px, var(--c-water) 4px 8px, var(--c-high) 8px); }
.wv-swatch.w-advise { background: repeating-linear-gradient(90deg, var(--c-advise) 0 8px, #fff 8px 12px); }
.wv-swatch.w-nodata, .wv-swatch.w-unavailable { background: var(--c-nodata); box-shadow: inset 0 0 0 2px var(--c-nodata-edge); }
.wv-logo { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 11px; color: #5d6f6c; text-decoration: none; }
.wv-logo:hover { color: #00695c; }
