/* Biorytm 2.1.0 – style izolowane od motywu WordPressa. */
.zr-biorytm {
  --zr-ink: #253b32;
  --zr-muted: #65736b;
  --zr-forest: #2c5140;
  --zr-olive: #687755;
  --zr-gold: #b89966;
  --zr-paper: #f8f8f4;
  --zr-border: #e4e9e2;
  --zr-physical: #2e6e9e;
  --zr-emotional: #bb5e67;
  --zr-intellectual: #2f876c;
  max-width: 1100px;
  margin: 0 auto;
  color: var(--zr-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  container-type: inline-size;
  isolation: isolate;
}
.zr-biorytm, .zr-biorytm *, .zr-biorytm *::before, .zr-biorytm *::after { box-sizing: border-box; }
.zr-biorytm .zr-biorytm__shell {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--zr-border);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(28, 56, 39, .08), 0 2px 7px rgba(28, 56, 39, .035);
}
.zr-biorytm h2, .zr-biorytm h3, .zr-biorytm p { margin: 0; }
.zr-biorytm a { color: var(--zr-forest); text-underline-offset: 3px; }
.zr-biorytm a:hover { color: #1a3529; }
.zr-biorytm .zr-biorytm__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 28px 32px 24px;
  background: linear-gradient(113deg, #f6f8f2 0%, #fdfcf9 61%, #f5f3eb 100%);
  border-bottom: 1px solid var(--zr-border);
}
.zr-biorytm .zr-biorytm__head-text { min-width: 0; }
.zr-biorytm .zr-biorytm__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 750;
  color: #6a775f;
  letter-spacing: .13em;
}
.zr-biorytm .zr-biorytm__eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--zr-gold); }
.zr-biorytm .zr-biorytm__heading {
  margin-top: 7px;
  color: #253e32;
  font-weight: 750;
  font-size: clamp(23px, 3.2vw, 31px);
  letter-spacing: -.035em;
  line-height: 1.18;
}
.zr-biorytm .zr-biorytm__intro { margin-top: 8px; color: var(--zr-muted); font-size: 14px; max-width: 560px; }
.zr-biorytm .zr-biorytm__periods {
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 15px 18px 10px;
  border: 1px solid #e3e8df;
  border-radius: 14px;
  color: var(--zr-forest);
  background: rgba(255,255,255,.84);
  font-variant-numeric: tabular-nums;
  font-size: 23px;
  font-weight: 760;
  letter-spacing: -.06em;
}
.zr-biorytm .zr-biorytm__periods i { color: var(--zr-gold); font-style: normal; font-weight: 500; }
.zr-biorytm .zr-biorytm__periods small { padding-left: 4px; font-size: 10px; letter-spacing: .11em; color: var(--zr-muted); font-weight: 700; }
.zr-biorytm .zr-biorytm__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(130px, .55fr) auto;
  gap: 13px;
  align-items: end;
  margin: 0;
  padding: 23px 32px 14px;
  background: #fff;
  border: 0;
}
.zr-biorytm .zr-biorytm__field { display: flex; flex-direction: column; min-width: 0; gap: 7px; }
.zr-biorytm .zr-biorytm__field label { font-size: 12px; font-weight: 750; color: #425548; margin: 0; }
.zr-biorytm .zr-biorytm__field input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #d9e2d7;
  border-radius: 10px;
  box-shadow: none;
  color: #2b3c34;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color-scheme: light;
}
.zr-biorytm .zr-biorytm__field input:focus-visible { border-color: var(--zr-olive); outline: 3px solid rgba(104, 119, 85, .17); outline-offset: 0; }
.zr-biorytm .zr-biorytm__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border-radius: 10px;
  padding: 10px 17px;
  font: 700 13px/1.3 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.zr-biorytm .zr-biorytm__button--primary {
  color: #fff;
  border: 1px solid var(--zr-forest);
  background: var(--zr-forest);
  box-shadow: 0 5px 12px rgba(44,81,64,.13);
}
.zr-biorytm .zr-biorytm__button--primary:hover { color:#fff; background:#1c3b2c; transform:translateY(-1px); }
.zr-biorytm .zr-biorytm__button--secondary {
  color: var(--zr-forest);
  border: 1px solid #bfd0c3;
  background: #fff;
  width: 100%;
}
.zr-biorytm .zr-biorytm__button--secondary:hover { background: #ecf4ed; }
.zr-biorytm .zr-biorytm__button:focus-visible { outline: 3px solid rgba(184,153,102,.5); outline-offset: 3px; }
.zr-biorytm .zr-biorytm__button:disabled { opacity:.53; cursor:not-allowed; box-shadow:none; transform:none; }
.zr-biorytm .zr-biorytm__status { color: #9b4337; font-size:13px; font-weight:600; padding:0 32px; }
.zr-biorytm .zr-biorytm__status:not(:empty) { padding-bottom: 12px; }
.zr-biorytm .zr-biorytm__status[data-state="success"] { color: #32644e; }
.zr-biorytm .zr-biorytm__stats {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
  margin: 5px 32px 22px;
}
.zr-biorytm .zr-biorytm__stat {
  padding: 12px 16px 11px;
  background: #f6f8f5;
  border: 1px solid #e7eee7;
  border-radius: 12px;
  min-width: 0;
}
.zr-biorytm .zr-biorytm__stat span { display:block; font-size: 11px; font-weight: 700; color:#6b796f; margin-bottom: 4px; }
.zr-biorytm .zr-biorytm__stat strong { display:block; font-size: 16px; color:var(--zr-ink); font-weight: 760; font-variant-numeric: tabular-nums; overflow-wrap: break-word; }
.zr-biorytm .zr-biorytm__chart-panel {
  margin:0 32px;
  overflow:hidden;
  border: 1px solid #e6ece4;
  border-radius:16px;
  background: #fff;
}
.zr-biorytm .zr-biorytm__chart-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:15px;
  flex-wrap:wrap;
  padding:19px 21px 12px;
}
.zr-biorytm .zr-biorytm__chart-heading h3 { color:var(--zr-ink); font-size:17px; font-weight:750; letter-spacing:-.015em; }
.zr-biorytm .zr-biorytm__chart-heading p { margin-top:3px; color:#78857b; font-size:12px; }
.zr-biorytm .zr-biorytm__legend { display:flex; gap:13px; flex-wrap:wrap; justify-content:flex-end; margin-top:4px; }
.zr-biorytm .zr-biorytm__legend span { display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:700; color:#40544a; white-space:nowrap; }
.zr-biorytm .zr-biorytm__legend small { font-size:11px; font-weight:500; color:#87948a; }
.zr-biorytm .zr-biorytm__legend-dot { display:inline-block; width:9px; height:9px; border-radius:3px; }
.zr-biorytm .zr-biorytm__legend-dot--physical { background:var(--zr-physical); }
.zr-biorytm .zr-biorytm__legend-dot--emotional { background:var(--zr-emotional); }
.zr-biorytm .zr-biorytm__legend-dot--intellectual { background:var(--zr-intellectual); }
.zr-biorytm .zr-biorytm__chart-wrap { position:relative; width:100%; height:365px; overflow:hidden; background:#fcfdfb; touch-action:pan-y; }
.zr-biorytm .zr-biorytm__chart { display:block; width:100%; height:100%; border:0; margin:0; padding:0; cursor:crosshair; outline-offset:-4px; }
.zr-biorytm .zr-biorytm__chart:focus-visible { outline: 3px solid rgba(104,119,85,.6); }
.zr-biorytm .zr-biorytm__tooltip {
  position:absolute;
  z-index:3;
  pointer-events:none;
  width:max-content;
  max-width:min(270px,calc(100% - 12px));
  background:#243e31;
  color:#fff;
  border:1px solid rgba(255,255,255,.15);
  border-radius:11px;
  padding:10px 12px;
  box-shadow:0 12px 26px rgba(20,43,30,.18);
  font-size:12px;
  line-height:1.5;
  font-variant-numeric:tabular-nums;
  transform:translate(-50%,0);
  white-space:normal;
}
.zr-biorytm .zr-biorytm__tooltip[hidden] { display:none; }
.zr-biorytm .zr-biorytm__tooltip strong { display:block; font-weight:800; font-size:13px; margin-bottom:5px; }
.zr-biorytm .zr-biorytm__tooltip span { display:block; white-space:nowrap; }
.zr-biorytm .zr-biorytm__tooltip i { display:inline-block; width:7px; height:7px; margin-right:5px; border-radius:50%; }
.zr-biorytm .zr-biorytm__chart-footer {
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:5px 18px;
  padding:10px 20px 12px;
  border-top:1px solid #eef1eb;
  color:#748177;
  font-size:12px;
}
.zr-biorytm .zr-biorytm__picked { font-weight:750; color:#486353; font-variant-numeric:tabular-nums; }
.zr-biorytm .zr-biorytm__dashboard {
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:stretch;
  gap:17px;
  margin:19px 32px 0;
}
.zr-biorytm .zr-biorytm__panel {
  min-width:0;
  padding:23px 23px 20px;
  border:1px solid #e5ebe4;
  border-radius:15px;
  background:#fff;
}
.zr-biorytm .zr-biorytm__section-kicker { display:block; margin-bottom:5px; font-size:10px; letter-spacing:.14em; font-weight:800; color:#8b9b87; }
.zr-biorytm .zr-biorytm__section-top h3 { font-size:18px; color:var(--zr-ink); font-weight:760; letter-spacing:-.025em; }
.zr-biorytm .zr-biorytm__section-top p { margin-top:5px; color:var(--zr-muted); font-size:12px; }
.zr-biorytm .zr-biorytm__overview { margin-top:13px; color:#52685b; font-size:13px; line-height:1.6; }
.zr-biorytm .zr-biorytm__phase-list { margin-top:14px; }
.zr-biorytm .zr-biorytm__phase-item { border-left:3px solid #ddd; padding:8px 0 9px 12px; margin:0 0 11px; background:linear-gradient(90deg,#fbfcfa 0%,#fff 80%); border-radius:0 8px 8px 0; }
.zr-biorytm .zr-biorytm__phase-item--physical { border-left-color:var(--zr-physical); }
.zr-biorytm .zr-biorytm__phase-item--emotional { border-left-color:var(--zr-emotional); }
.zr-biorytm .zr-biorytm__phase-item--intellectual { border-left-color:var(--zr-intellectual); }
.zr-biorytm .zr-biorytm__phase-item>div { display:flex; align-items:center; flex-wrap:wrap; gap:6px 10px; justify-content:space-between; }
.zr-biorytm .zr-biorytm__phase-item strong { font-size:13px; color:#2b4335; font-weight:780; }
.zr-biorytm .zr-biorytm__phase-item span { color:#597361; font-size:11px; font-weight:750; }
.zr-biorytm .zr-biorytm__phase-item p { margin-top:3px; font-size:12px; color:#647468; line-height:1.48; }
.zr-biorytm .zr-biorytm__guide { margin-top:15px; padding:13px 14px; border-radius:10px; border:1px solid #e7e9df; background:#f8f9f3; }
.zr-biorytm .zr-biorytm__guide strong { font-size:12px; color:var(--zr-forest); }
.zr-biorytm .zr-biorytm__guide p { margin-top:4px; color:#5d6d62; line-height:1.6; font-size:12px; }
.zr-biorytm .zr-biorytm__guide b { color:#33483b; font-weight:750; }
.zr-biorytm .zr-biorytm__bars { margin-top:21px; }
.zr-biorytm .zr-biorytm__bar-row { margin-bottom:20px; }
.zr-biorytm .zr-biorytm__bar-head { display:flex; justify-content:space-between; align-items:baseline; gap:8px; margin-bottom:9px; }
.zr-biorytm .zr-biorytm__bar-head strong { font-size:13px; font-weight:740; color:#42564a; }
.zr-biorytm .zr-biorytm__bar-head output { font-size:20px; font-weight:800; color:var(--zr-ink); font-variant-numeric:tabular-nums; }
.zr-biorytm .zr-biorytm__balance { position:relative; height:12px; overflow:hidden; background:#edf1ed; border-radius:6px; }
.zr-biorytm .zr-biorytm__balance>i { position:absolute; z-index:2; left:calc(50% - 1px); top:0; height:100%; width:2px; background:#7c8b7f; opacity:.8; }
.zr-biorytm .zr-biorytm__bar-fill { position:absolute; top:0; left:50%; width:0; height:100%; border-radius:6px; }
.zr-biorytm .zr-biorytm__bar-fill--physical { background:var(--zr-physical); }
.zr-biorytm .zr-biorytm__bar-fill--emotional { background:var(--zr-emotional); }
.zr-biorytm .zr-biorytm__bar-fill--intellectual { background:var(--zr-intellectual); }
.zr-biorytm .zr-biorytm__scale { display:flex; justify-content:space-between; margin-top:-8px; font-size:10px; color:#89978b; font-variant-numeric:tabular-nums; }
.zr-biorytm .zr-biorytm__share { margin-top:29px; padding:17px 16px 16px; background:#f4f7f2; border:1px solid #e2e9de; border-radius:12px; }
.zr-biorytm .zr-biorytm__share>strong { font-size:14px; font-weight:750; }
.zr-biorytm .zr-biorytm__share>p { margin:5px 0 13px; color:#657467; font-size:12px; }
.zr-biorytm .zr-biorytm__share .zr-biorytm__privacy { margin:10px 0 0; color:#77857b; font-size:11px; }
.zr-biorytm .zr-biorytm__share .zr-biorytm__copy-status { margin:5px 0 0; font-size:12px; font-weight:750; color:#357354; }
.zr-biorytm .zr-biorytm__support { margin-top:14px; font-size:11px; color:#7c897f; overflow-wrap:anywhere; }
.zr-biorytm .zr-biorytm__footer {
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:14px;
  padding:18px 32px 22px;
  margin-top:23px;
  border-top:1px solid var(--zr-border);
  background: #f8f9f5;
}
.zr-biorytm .zr-biorytm__footer p { max-width:560px; color:#738075; font-size:11px; line-height:1.6; }
.zr-biorytm .zr-biorytm__footer a { font-weight:740; }
.zr-biorytm .zr-biorytm__footer code { background:#eef0e8; color:#425844; padding:2px 5px; border-radius:4px; }
@container (max-width: 830px) {
  .zr-biorytm .zr-biorytm__header { padding:24px 22px; }
  .zr-biorytm .zr-biorytm__form { grid-template-columns:repeat(2,minmax(0,1fr)); padding:20px 22px 14px; }
  .zr-biorytm .zr-biorytm__button--primary { width:100%; }
  .zr-biorytm .zr-biorytm__stats { margin:4px 22px 17px; }
  .zr-biorytm .zr-biorytm__chart-panel { margin:0 22px; }
  .zr-biorytm .zr-biorytm__dashboard { margin:17px 22px 0; }
  .zr-biorytm .zr-biorytm__footer { padding:18px 22px; }
}
@container (max-width: 720px) {
  .zr-biorytm .zr-biorytm__dashboard { grid-template-columns:1fr; }
  .zr-biorytm .zr-biorytm__legend { justify-content:flex-start; }
}
@container (max-width: 510px) {
  .zr-biorytm .zr-biorytm__shell { border-radius:15px; }
  .zr-biorytm .zr-biorytm__header { padding:21px 17px; gap:12px; }
  .zr-biorytm .zr-biorytm__heading { font-size:23px; }
  .zr-biorytm .zr-biorytm__periods { display:none; }
  .zr-biorytm .zr-biorytm__intro { font-size:12px; }
  .zr-biorytm .zr-biorytm__form { padding:17px 15px 12px; gap:11px; grid-template-columns:1fr; }
  .zr-biorytm .zr-biorytm__field input { font-size:16px; }
  .zr-biorytm .zr-biorytm__status { padding:0 15px; }
  .zr-biorytm .zr-biorytm__stats { margin:3px 15px 14px; grid-template-columns:1fr 1fr; gap:8px; }
  .zr-biorytm .zr-biorytm__stat { padding:9px 11px; }
  .zr-biorytm .zr-biorytm__stat:last-child { grid-column:1 / -1; }
  .zr-biorytm .zr-biorytm__stat strong { font-size:13px; }
  .zr-biorytm .zr-biorytm__chart-panel { margin:0 15px; }
  .zr-biorytm .zr-biorytm__chart-heading { padding:14px 12px 7px; }
  .zr-biorytm .zr-biorytm__chart-heading h3 { font-size:15px; }
  .zr-biorytm .zr-biorytm__legend { gap:6px 10px; }
  .zr-biorytm .zr-biorytm__legend span { font-size:11px; }
  .zr-biorytm .zr-biorytm__legend small { display:none; }
  .zr-biorytm .zr-biorytm__chart-wrap { height:295px; }
  .zr-biorytm .zr-biorytm__chart-footer { padding:8px 12px 10px; }
  .zr-biorytm .zr-biorytm__dashboard { margin:14px 15px 0; gap:12px; }
  .zr-biorytm .zr-biorytm__panel { padding:17px 16px; }
  .zr-biorytm .zr-biorytm__footer { padding:15px; margin-top:16px; }
  .zr-biorytm .zr-biorytm__button--secondary { white-space:normal; }
}
@media (prefers-reduced-motion: reduce) {
  .zr-biorytm .zr-biorytm__button { transition:none; }
  .zr-biorytm .zr-biorytm__button:hover { transform:none; }
}
