.od-tools .od-weight{max-width:100%}
.od-tools .od-weight [hidden]{display:none!important}
.od-tools .od-weight__sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.od-tools .od-weight__quality{display:flex;align-items:baseline;gap:7px 10px;flex-wrap:wrap;margin:0 0 13px;padding:8px 11px;border-left:3px solid #8fb39d;border-radius:0 6px 6px 0;background:#f6faf7;color:#46534c;font-size:.78rem;line-height:1.35}
.od-tools .od-weight__quality strong{color:var(--od-color-brand,#0f4a35);font-size:.79rem;font-weight:800;white-space:nowrap}
.od-tools .od-weight__form{display:grid;gap:14px;max-width:780px}
.od-tools .od-weight__step{min-width:0;padding-top:12px;border-top:1px solid var(--od-ui-step-divider,#e7ece9)}
.od-tools .od-weight__step:first-of-type{padding-top:0;border-top:0}
.od-tools .od-weight__step-head{display:flex;align-items:flex-start;gap:9px;margin:0 0 9px}
.od-tools .od-weight__step-number{display:grid;place-items:center;flex:0 0 23px;width:23px;height:23px;border-radius:50%;background:var(--od-color-brand-soft,#dcebe2);color:var(--od-color-brand,#0f4a35);font-size:.76rem;font-weight:800;line-height:1}
.od-tools .od-weight__step-head>div{display:grid;gap:1px;min-width:0}
.od-tools .od-weight__step-head strong{color:var(--od-color-text,#17211c);font-size:.94rem;line-height:1.25;font-weight:750}
.od-tools .od-weight__step-head small{color:var(--od-color-text-muted,#66716b);font-size:.78rem;line-height:1.35;font-weight:500}
.od-tools .od-weight__field{display:grid;gap:5px;min-width:0;color:var(--od-color-text,#17211c);font-size:.86rem;font-weight:700}
.od-tools .od-weight__field--species{max-width:620px;margin-left:32px}
.od-tools .od-weight__form select{width:100%;height:var(--od-ui-control-height,42px);padding:6px 11px;border:1px solid var(--od-ui-control-border,#cfdad3);border-radius:var(--od-ui-control-radius,6px);background:var(--od-ui-control-bg,#fff);color:var(--od-color-brand,#0f4a35);font-size:.96rem;font-weight:700;line-height:1.2}
.od-tools .od-weight__inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:620px;margin-left:32px}
.od-tools .od-weight__control{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:var(--od-ui-control-height,42px);overflow:hidden;border:1px solid var(--od-ui-control-border,#cfdad3);border-radius:var(--od-ui-control-radius,6px);background:var(--od-ui-control-bg,#fff);transition:border-color .15s ease,box-shadow .15s ease}
.od-tools .od-weight__control:focus-within,.od-tools .od-weight__form select:focus{outline:2px solid var(--od-color-brand-soft,#dcebe2);outline-offset:1px;border-color:var(--od-color-brand,#0f4a35)}
.od-tools .od-weight__control input{width:100%;height:var(--od-ui-control-inner-height,40px);min-width:0;padding:5px 10px;border:0;background:transparent;color:var(--od-color-brand,#0f4a35);font-size:1.04rem;font-weight:800;line-height:1.15;outline:0!important}
.od-tools .od-weight__control input::placeholder{color:#aab4ae;font-weight:500;opacity:1}
.od-tools .od-weight__control>span{padding:0 10px;color:var(--od-color-text-muted,#66716b);font-size:.8rem;font-weight:700;white-space:nowrap}
.od-tools .od-weight__form button{justify-self:start;min-width:145px;min-height:var(--od-ui-control-height,42px);margin:10px 0 0 32px;padding:8px 20px;cursor:pointer}
.od-tools .od-weight__message{margin:14px 0 0 32px;max-width:748px;padding:10px 12px;border:1px solid #efd4d4;border-radius:6px;background:#fff3f3;color:#7a2424;font-size:.9rem}
.od-tools .od-weight__result{display:grid;gap:12px;margin-top:18px}
.od-tools .od-weight__result[hidden]{display:none}
.od-tools .od-weight__result-main{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(220px,.65fr);gap:8px 24px;align-items:end;padding:16px 19px;border:1px solid var(--od-color-brand-soft,#dcebe2);border-left:4px solid var(--od-color-brand,#0f4a35);border-radius:0 9px 9px 0;background:var(--od-color-result,#eef6f0)}
.od-tools .od-weight__result-main small,.od-tools .od-weight__result-main strong{display:block}
.od-tools .od-weight__result-main small{color:var(--od-color-text-muted,#66716b);font-size:.79rem;font-weight:700}
.od-tools .od-weight__result-main strong{margin-top:3px;color:var(--od-color-brand,#0f4a35);font-size:clamp(1.75rem,3.8vw,2.25rem);line-height:1.06;font-weight:800;letter-spacing:-.02em}
.od-tools .od-weight__main-secondary{padding-left:22px;border-left:1px solid #c9ddd0}
.od-tools .od-weight__main-secondary strong{font-size:clamp(1.2rem,2.45vw,1.6rem);white-space:nowrap}
.od-tools .od-weight__result-main p{grid-column:1/-1;max-width:720px;margin:3px 0 0;color:#3f4b44;font-size:.92rem;line-height:1.42}
.od-tools .od-weight__result-main--unavailable{display:block;border-color:#e6d9bf;border-left-color:#9b7428;background:#fbf8f0}
.od-tools .od-weight__result-main--unavailable strong{color:#6c501a}
.od-tools .od-weight__result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--od-color-border,#dce4df);border-radius:9px;background:#fff;overflow:hidden}
.od-tools .od-weight__result-item{min-width:0;padding:12px 10px;text-align:center}
.od-tools .od-weight__result-item+.od-weight__result-item{border-left:1px solid var(--od-color-border,#dce4df)}
.od-tools .od-weight__result-item small,.od-tools .od-weight__result-item strong{display:block}
.od-tools .od-weight__result-item small{min-height:2.35em;color:var(--od-color-text-muted,#66716b);font-size:.76rem;line-height:1.2}
.od-tools .od-weight__result-item strong{margin-top:4px;color:var(--od-color-text,#17211c);font-size:1.04rem;line-height:1.18;font-weight:750;overflow-wrap:anywhere}
.od-tools .od-weight__warning{padding:9px 11px;border-left:3px solid #b38b3e;background:#fbf8f0;color:#594719;font-size:.82rem;line-height:1.4}
.od-tools .od-weight__sources,.od-tools .od-weight__nearby{padding-top:2px}
.od-tools .od-weight__sources h3,.od-tools .od-weight__nearby h3{margin:0 0 6px;color:#56635c;font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.od-tools .od-weight__sources ul,.od-tools .od-weight__context-card ul{margin:0;padding-left:18px;color:#5b665f;font-size:.78rem;line-height:1.45}
.od-tools .od-weight__sources a,.od-tools .od-weight__context-card a{color:var(--od-color-brand,#0f4a35)}
.od-tools .od-weight__nearby-head p{margin:0 0 9px;color:#5d6861;font-size:.82rem;line-height:1.45}
.od-tools .od-weight__nearby-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.od-tools .od-weight__context-card{min-width:0;padding:12px 13px;border:1px solid #e2ddd2;border-radius:8px;background:#fcfbf8}
.od-tools .od-weight__context-card h4{margin:0 0 8px;color:#4e422c;font-size:.92rem}
.od-tools .od-weight__context-card p{display:grid;gap:2px;margin:7px 0}
.od-tools .od-weight__context-card p span{color:#7a7469;font-size:.73rem}
.od-tools .od-weight__context-card p strong{color:#292d2a;font-size:1rem}
.od-tools .od-weight__context-card>small{display:block;margin:8px 0;color:#6f685c;font-size:.75rem;line-height:1.4}
@media(max-width:760px){
  .od-tools .od-weight__result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .od-tools .od-weight__result-item:nth-child(3){border-left:0;border-top:1px solid var(--od-color-border,#dce4df)}
  .od-tools .od-weight__result-item:nth-child(4){border-top:1px solid var(--od-color-border,#dce4df)}
}
@media(max-width:640px){
  .od-tools .od-weight__field--species,.od-tools .od-weight__inputs,.od-tools .od-weight__form button,.od-tools .od-weight__message{margin-left:0}
  .od-tools .od-weight__inputs{grid-template-columns:1fr;max-width:none}
  .od-tools .od-weight__field--species{max-width:none}
  .od-tools .od-weight__form button{width:100%;justify-self:stretch}
  .od-tools .od-weight__result-main{grid-template-columns:1fr;padding:15px 16px}
  .od-tools .od-weight__main-secondary{padding:8px 0 0;border-left:0;border-top:1px solid #c9ddd0}
  .od-tools .od-weight__result-grid{grid-template-columns:1fr}
  .od-tools .od-weight__result-item+.od-weight__result-item,.od-tools .od-weight__result-item:nth-child(3),.od-tools .od-weight__result-item:nth-child(4){border-left:0;border-top:1px solid var(--od-color-border,#dce4df)}
  .od-tools .od-weight__result-item small{min-height:0}
  .od-tools .od-weight__nearby-grid{grid-template-columns:1fr}
}
.od-tools .od-weight__evidence-list{display:grid;gap:8px;margin:2px 0 8px}
.od-tools .od-weight__evidence-row{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(120px,1fr);gap:2px 10px;padding:8px 0;border-bottom:1px solid #ece8df}
.od-tools .od-weight__evidence-row:last-child{border-bottom:0}
.od-tools .od-weight__evidence-row strong{color:#292d2a;font-size:1rem;line-height:1.2}
.od-tools .od-weight__evidence-row span{color:#6f685c;font-size:.76rem;line-height:1.35}
.od-tools .od-weight__evidence-row a,.od-tools .od-weight__evidence-row>small{grid-column:1/-1;color:var(--od-color-brand,#0f4a35);font-size:.74rem;line-height:1.35}
@media(max-width:520px){.od-tools .od-weight__evidence-row{grid-template-columns:1fr}}
.od-tools .od-weight__context-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 14px;align-items:end;margin:0 0 10px;padding:10px 11px;border-left:3px solid var(--od-color-brand,#0f4a35);background:#f2f7f3;border-radius:0 6px 6px 0}
.od-tools .od-weight__context-summary>small{grid-column:1/-1;margin:0;color:#647068;font-size:.72rem;font-weight:750;text-transform:uppercase;letter-spacing:.025em}
.od-tools .od-weight__context-summary>strong{color:var(--od-color-brand,#0f4a35);font-size:1.18rem;line-height:1.15}
.od-tools .od-weight__context-summary>span{color:#37443d;font-size:.88rem;font-weight:700;white-space:nowrap}
.od-tools .od-weight__context-summary>p{grid-column:1/-1;margin:4px 0 0!important;color:#637068;font-size:.73rem!important;line-height:1.4}
.od-tools .od-weight__evidence-calc{grid-column:1/-1;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:3px}
.od-tools .od-weight__evidence-calc small{color:#7a7469;font-size:.7rem}
.od-tools .od-weight__evidence-calc strong{color:var(--od-color-brand,#0f4a35);font-size:.91rem}
.od-tools .od-weight__evidence-spread{grid-column:1/-1;color:#796f60!important;font-size:.7rem!important;line-height:1.35}
@media(max-width:520px){.od-tools .od-weight__context-summary{grid-template-columns:1fr}.od-tools .od-weight__context-summary>span{white-space:normal}}
.od-tools .od-weight__context-card:only-child{grid-column:1/-1}

/* 0.4.19 — uproszczona hierarchia wyniku 04C */
.od-tools .od-weight__result-main--unavailable{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(220px,.65fr);
  gap:7px 24px;
  align-items:end;
  border-color:#e6d9bf;
  border-left-color:#9b7428;
  background:#fbf8f0;
}
.od-tools .od-weight__result-main--unavailable .od-weight__main-primary small{color:#7b6635}
.od-tools .od-weight__result-main--unavailable .od-weight__main-primary strong{color:var(--od-color-brand,#0f4a35);font-size:clamp(1.65rem,3.4vw,2.05rem)}
.od-tools .od-weight__result-main--unavailable .od-weight__main-secondary{border-left-color:#ddd1b8}
.od-tools .od-weight__result-main--unavailable .od-weight__main-secondary strong{color:#334139}
.od-tools .od-weight__result-main--unavailable p{max-width:680px;color:#5d625e;font-size:.82rem;line-height:1.42}
.od-tools .od-weight__nearby{padding-top:5px}
.od-tools .od-weight__nearby-head{margin-bottom:7px}
.od-tools .od-weight__nearby-head p{margin:0;color:#717b75;font-size:.75rem;line-height:1.4}
.od-tools .od-weight__nearby-grid{gap:8px}
.od-tools .od-weight__context-card{padding:11px 13px;background:#fff;border-color:#e2e7e4}
.od-tools .od-weight__context-card h4{margin:0 0 7px;color:#56635c;font-size:.78rem;font-weight:750}
.od-tools .od-weight__evidence-list{gap:0;margin:0}
.od-tools .od-weight__evidence-row{display:block;padding:8px 0;border-bottom:1px solid #edf0ee}
.od-tools .od-weight__evidence-row:last-child{border-bottom:0}
.od-tools .od-weight__evidence-main,.od-tools .od-weight__resolved-row{display:grid;grid-template-columns:minmax(95px,.7fr) 18px minmax(150px,1.3fr);gap:7px;align-items:baseline}
.od-tools .od-weight__evidence-main>span:first-child,.od-tools .od-weight__resolved-row>span:first-child{color:#3f4a44;font-size:.93rem;font-weight:650}
.od-tools .od-weight__calc-arrow{color:#9aa49e;text-align:center;font-size:.82rem}
.od-tools .od-weight__evidence-main strong,.od-tools .od-weight__resolved-row strong{color:var(--od-color-brand,#0f4a35);font-size:1rem;font-weight:800;line-height:1.2}
.od-tools .od-weight__evidence-meta{display:block;margin:2px 0 0;color:#8a918d;font-size:.7rem;font-weight:500}
.od-tools .od-weight__resolved-row{padding:6px 0 4px}
.od-tools .od-weight__details{margin-top:7px;border-top:1px solid #edf0ee;padding-top:6px}
.od-tools .od-weight__details summary{cursor:pointer;color:#5f6c65;font-size:.74rem;font-weight:700;list-style:none}
.od-tools .od-weight__details summary::-webkit-details-marker{display:none}
.od-tools .od-weight__details summary::before{content:'›';display:inline-block;margin-right:6px;color:var(--od-color-brand,#0f4a35);font-size:.95rem;transform:rotate(0);transition:transform .15s ease}
.od-tools .od-weight__details[open] summary::before{transform:rotate(90deg)}
.od-tools .od-weight__details-body{display:grid;gap:7px;margin-top:8px;padding:9px 10px;border-radius:6px;background:#f8faf9;color:#657069;font-size:.72rem;line-height:1.42}
.od-tools .od-weight__details-body p{display:block;margin:0;color:#657069;font-size:.72rem;line-height:1.42}
.od-tools .od-weight__details-body ul{margin:0;padding-left:17px;color:#657069;font-size:.72rem}
.od-tools .od-weight__detail-item{display:grid;gap:2px;padding-bottom:7px;border-bottom:1px solid #e9eeeb}
.od-tools .od-weight__detail-item:last-of-type{padding-bottom:0;border-bottom:0}
.od-tools .od-weight__details-body .od-weight__detail-head{color:#46524b;font-weight:700}
.od-tools .od-weight__detail-source span{color:#8a918d}
.od-tools .od-weight__details-body a{color:var(--od-color-brand,#0f4a35)}
.od-tools .od-weight__detail-note{margin-top:2px!important;padding-top:7px;border-top:1px solid #e9eeeb}
.od-tools .od-weight__context-summary{grid-template-columns:minmax(0,1fr) auto;margin:0 0 7px;padding:7px 9px;background:#f7faf8;border-left-width:2px}
.od-tools .od-weight__context-summary>strong{font-size:.98rem}
.od-tools .od-weight__context-summary>span{font-size:.78rem}
@media(max-width:640px){
  .od-tools .od-weight__result-main--unavailable{grid-template-columns:1fr}
  .od-tools .od-weight__evidence-main,.od-tools .od-weight__resolved-row{grid-template-columns:minmax(90px,.75fr) 14px minmax(120px,1.25fr)}
}

/* 0.4.20 — wynik w tonach w jednej linii */
@media(max-width:620px){.od-tools .od-weight__main-secondary strong{white-space:nowrap;font-size:clamp(1.15rem,6vw,1.45rem)}}

/* 09G15 — brak referencji: ostrzeżenie PRZED rachunkiem pomocniczym. */
.od-tools .od-weight__result-alert[hidden]{display:none!important}
.od-tools .od-weight__result-alert{grid-column:1/-1;display:grid;gap:4px;margin:-2px 0 6px;padding:12px 14px;border:1px solid #e5b9ad;border-left:5px solid #a83c2d;border-radius:6px;background:#fff3ef;color:#7a2a20}
.od-tools .od-weight__result-alert strong{margin:0;color:#852d22!important;font-size:1.08rem!important;line-height:1.28;letter-spacing:0}
.od-tools .od-weight__result-alert span{font-size:.86rem;line-height:1.4;font-weight:600}
.od-tools .od-weight__result-main--unavailable .od-weight__main-primary{padding-top:4px}
.od-tools .od-weight__result-main--unavailable .od-weight__main-primary small{font-size:.87rem;color:#645733;font-weight:800}
.od-tools .od-weight__result-main--unavailable .od-weight__main-primary strong{font-size:clamp(1.3rem,2.8vw,1.65rem);line-height:1.16}
