/* BIOGG / BIOFLUX: ocena + udostępnianie pod artykułem */
.biogg-reader-end {
  --biogg-accent: #9bbd3a;
  --biogg-text: inherit;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 3rem 0 1.5rem;
  border-top: 2px solid var(--biogg-accent);
  padding-top: 1.8rem;
  color: var(--biogg-text);
  font: inherit;
}
.biogg-reader-end * { box-sizing: border-box; }
.biogg-reader-end h2 { font-size: clamp(1.15rem,2vw,1.45rem); margin: 0 0 1rem; line-height: 1.3; font-weight: 700; }
.biogg-feedback-rating, .biogg-feedback-share, .biogg-feedback-related { margin-bottom: 2rem; }
.biogg-feedback-form { margin: 0; }
.biogg-feedback-form fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; min-width: 0; }
.biogg-feedback-form legend { display: block; padding: 0; margin-bottom: .85rem; font-weight: 600; line-height: 1.45; }
.biogg-feedback-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; }
.biogg-feedback-options label { display: block; cursor: pointer; position: relative; }
.biogg-feedback-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.biogg-feedback-options span {
  display: flex; justify-content: center; align-items: center; min-height: 48px;
  padding: .7rem .5rem; border: 1px solid #95a38c; border-radius: 12px;
  text-align: center; font-size: .98rem; font-weight: 650;
  background: transparent; transition: background .15s, border .15s;
}
.biogg-feedback-options label:hover span { background: rgba(155,189,58,.1); }
.biogg-feedback-options input:checked + span { background: rgba(155,189,58,.22); border-color: #739925; box-shadow: inset 0 0 0 1px #739925; }
.biogg-feedback-options input:focus-visible + span { outline: 3px solid #6d9f1c; outline-offset: 3px; }
.biogg-feedback-note-label { display: block; font-weight: 600; margin: 0 0 .45rem; }
.biogg-feedback-note-label small { font-weight: 400; opacity: .75; }
.biogg-feedback-form textarea {
  width: 100%; min-height: 78px; border: 1px solid #a6b0a2; border-radius: 10px;
  padding: .8rem 1rem; font: inherit; color: #173d2b !important; background: #ffffff !important; -webkit-text-fill-color: #173d2b !important; caret-color: #173d2b !important; resize: vertical;
}
.biogg-feedback-form textarea::placeholder { color: #65736b !important; opacity: 1; }
.biogg-feedback-submit, .biogg-feedback-copy, .biogg-feedback-facebook {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px;
  border: 1px solid #80992a; border-radius: 10px; padding: .55rem 1rem;
  font: inherit; font-size: .92rem; font-weight: 650; cursor: pointer; text-decoration: none;
}
.biogg-feedback-submit, .biogg-feedback-facebook { background: #b6d653; color: #17240c !important; }
.biogg-feedback-copy { background: transparent; color: inherit; }
.biogg-feedback-submit:hover, .biogg-feedback-facebook:hover { background: #a4c73e; }
.biogg-feedback-submit:disabled { opacity: .6; cursor: not-allowed; }
.biogg-feedback-submit { margin-top: .7rem; }
.biogg-feedback-status { font-size: .95rem; font-weight: 600; margin: .7rem 0 0; }
.biogg-feedback-status:empty, .biogg-feedback-copy-status:empty { display: none; }
.biogg-feedback-privacy { font-size: .78rem; opacity: .7; line-height: 1.5; margin-top: .65rem; }
.biogg-feedback-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; left: -9999px; }
.biogg-feedback-share { border-top: 1px solid rgba(128,128,128,.25); padding-top: 1.6rem; }
.biogg-feedback-share-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.biogg-feedback-copy-status { font-size: .9rem; margin: .5rem 0 0; overflow-wrap: anywhere; }
.biogg-feedback-related { border-top: 1px solid rgba(128,128,128,.25); padding-top: 1.6rem; }
.biogg-feedback-related ul { margin: .25rem 0 0; padding-left: 1.2rem; }
.biogg-feedback-related li { margin: .6rem 0; }
.biogg-feedback-related a { text-decoration: underline; text-underline-offset: .2rem; }
@media (max-width: 480px) {
  .biogg-feedback-options { gap: .35rem; }
  .biogg-feedback-options span { padding: .6rem .2rem; font-size: .87rem; }
  .biogg-feedback-share-actions > * { width: 100%; }
}


/* 0.4.1: restore the approved BIOFLUX controls. Explicit sizes are
   independent of ZAAN's root font size; scoped declarations win over
   older BIOFLUX cosmetic rules without changing other page elements. */
section.biogg-reader-end {
  color: #102b21;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
section.biogg-reader-end h2 {
  font: 700 15px/1.35 Inter, Arial, sans-serif !important;
  color: #102b21 !important;
  margin: 0 0 7px !important;
}
section.biogg-reader-end .biogg-feedback-form legend {
  font: 600 14px/1.45 Inter, Arial, sans-serif !important;
  color: #102b21 !important;
  margin-bottom: 6px !important;
}
section.biogg-reader-end .biogg-feedback-form fieldset { margin: 0 !important; }
section.biogg-reader-end .biogg-feedback-options { gap: 5px; }
section.biogg-reader-end .biogg-feedback-form .biogg-feedback-options label > span {
  font: 700 14px/1.3 Inter, Arial, sans-serif !important;
  color: #102b21 !important;
  -webkit-text-fill-color: currentColor !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  min-height: 42px !important;
  border-radius: 9px !important;
  padding: 8px 5px !important;
}
section.biogg-reader-end .biogg-feedback-form .biogg-feedback-note-label {
  font: 600 14px/1.45 Inter, Arial, sans-serif !important;
  margin: 20px 0 8px !important;
  color: #102b21 !important;
}
section.biogg-reader-end .biogg-feedback-note-label small {
  font: 400 12px/1.45 Inter, Arial, sans-serif !important;
  color: #465e51 !important;
  opacity: 1;
}
section.biogg-reader-end .biogg-feedback-form textarea {
  font: 400 14px/1.5 Inter, Arial, sans-serif !important;
  min-height: 62px !important;
  height: 62px !important;
  padding: 8px !important;
  margin: 0 0 20px !important;
}
section.biogg-reader-end .biogg-feedback-form .biogg-feedback-submit,
section.biogg-reader-end .biogg-feedback-share-actions .biogg-feedback-facebook,
section.biogg-reader-end .biogg-feedback-share-actions .biogg-feedback-copy {
  font: 700 13px/1.35 Inter, Arial, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
  min-height: 40px !important;
  height: auto !important;
  border-radius: 9px !important;
  padding: 10px 11px !important;
  box-shadow: none !important;
  -webkit-text-fill-color: currentColor !important;
  white-space: normal !important;
}
section.biogg-reader-end .biogg-feedback-form .biogg-feedback-submit,
section.biogg-reader-end .biogg-feedback-share-actions .biogg-feedback-facebook {
  background: #123c2a !important;
  border: 1px solid #123c2a !important;
  color: #fff !important;
}
section.biogg-reader-end .biogg-feedback-form .biogg-feedback-submit {
  padding: 11px 20px !important;
  margin: 0 !important;
}
section.biogg-reader-end .biogg-feedback-share-actions .biogg-feedback-copy {
  background: transparent !important;
  border: 1px solid #95a38c !important;
  color: #123c2a !important;
}
section.biogg-reader-end .biogg-feedback-form .biogg-feedback-submit:hover:not(:disabled),
section.biogg-reader-end .biogg-feedback-share-actions .biogg-feedback-facebook:hover {
  background: #20553d !important;
  border-color: #20553d !important;
  color: #fff !important;
}
section.biogg-reader-end .biogg-feedback-share-actions .biogg-feedback-copy:hover {
  background: #e7eddc !important;
  color: #123c2a !important;
}
section.biogg-reader-end .biogg-feedback-form .biogg-feedback-submit:focus-visible,
section.biogg-reader-end .biogg-feedback-share-actions .biogg-feedback-facebook:focus-visible,
section.biogg-reader-end .biogg-feedback-share-actions .biogg-feedback-copy:focus-visible {
  outline: 2px solid #4d7124 !important;
  outline-offset: 3px !important;
}
section.biogg-reader-end .biogg-feedback-form .biogg-feedback-privacy {
  font: 400 11px/1.5 Inter, Arial, sans-serif !important;
  color: #53665b !important;
  opacity: 1 !important;
  margin: 10px 0 0 !important;
}
section.biogg-reader-end .biogg-feedback-status,
section.biogg-reader-end .biogg-feedback-copy-status { font-size: 13px !important; }
section.biogg-reader-end .biogg-feedback-rating { padding-bottom: 0 !important; margin-bottom: 34px; }
section.biogg-reader-end .biogg-feedback-share { padding-top: 21px !important; }
section.biogg-reader-end .biogg-feedback-share-actions { gap: 6px; }
@media (max-width: 480px) {
  section.biogg-reader-end .biogg-feedback-form .biogg-feedback-options label > span { min-height: 44px !important; }
  section.biogg-reader-end .biogg-feedback-share-actions > * { min-height: 44px !important; }
}
