.od-firewood{--fw-green:#0f4a35;--fw-soft:#f3f8f4;--fw-border:#dbe5df;padding-top:2px}
.od-firewood__modes{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:0 0 24px}
.od-firewood__modes button{position:relative;min-height:58px;padding:8px 9px;border:1px solid #cfdcd4;border-radius:9px;background:#fff;color:#425048;font-size:.78rem;font-weight:720;line-height:1.2;text-align:left}
.od-firewood__modes button>span{display:inline-grid;place-items:center;width:20px;height:20px;margin-right:5px;border-radius:50%;background:#edf3ef;color:#52705d;font-size:.7rem}
.od-firewood__modes button small{display:block;margin:4px 0 0 25px;color:#8a958e;font-size:.62rem;font-weight:600}
.od-firewood__modes button.is-active{border-color:var(--fw-green);background:var(--fw-green);color:#fff}
.od-firewood__modes button:not(.is-active):hover,.od-firewood__modes button:not(.is-active):focus,.od-firewood__modes button:not(.is-active):focus-visible{border-color:#b8cdbf!important;background:#f1f8f3!important;color:var(--fw-green)!important;outline:0!important;box-shadow:0 0 0 2px rgba(15,74,53,.08)!important}
.od-firewood__modes button.is-active>span{background:#fff;color:var(--fw-green)}
.od-firewood__modes button:disabled{cursor:default;opacity:.78}
.od-firewood__mode-intro{margin:0 0 18px}.od-firewood__mode-intro h3{margin:0 0 5px;font-size:1.28rem}.od-firewood__mode-intro p{max-width:790px;margin:0;color:#5d6861;line-height:1.55}
.od-firewood__form{display:grid;gap:14px}.od-firewood__panel{padding:16px 18px;border:1px solid var(--fw-border);border-left:4px solid #64a878;border-radius:12px;background:#fff}.od-firewood__panel h4{margin:0 0 13px;font-size:1rem;color:#25332b}
.od-firewood__grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(180px,.75fr);gap:14px}.od-firewood__grid--amount{grid-template-columns:minmax(0,1fr) minmax(180px,.55fr)}
.od-firewood__field{display:grid;gap:6px;color:#33423a;font-size:.84rem;font-weight:720}.od-firewood__field>small{color:#758078;font-size:.72rem;font-weight:500;line-height:1.4}.od-firewood__field select,.od-firewood__field input{width:100%;height:42px;padding:6px 10px;border:1px solid #cfdad3;border-radius:7px;background:#fff;color:#1c2821;outline:none}.od-firewood__field select:focus-visible,.od-firewood__field input:focus-visible{border-color:#71a781;box-shadow:0 0 0 3px #e4f1e7}
.od-firewood__input-unit{display:flex;align-items:center}.od-firewood__input-unit input{border-radius:7px 0 0 7px}.od-firewood__input-unit b{display:grid;place-items:center;height:42px;min-width:42px;border:1px solid #cfdad3;border-left:0;border-radius:0 7px 7px 0;background:#f5f8f6;color:#526159}
.od-firewood__field small.is-quality-r{color:#356845}.od-firewood__field small.is-quality-s{color:#496d58}.od-firewood__field small.is-quality-g{color:#5f735f}.od-firewood__field small.is-quality-u{color:#7b6044}
.od-firewood__moisture-help{margin-top:12px;border-top:1px solid #edf1ee}.od-firewood__moisture-help summary{padding:10px 2px 0;color:var(--fw-green);font-size:.78rem;font-weight:750;cursor:pointer}.od-firewood__moisture-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.od-firewood__moisture-list>div{padding:10px 12px;border:1px solid #e2e9e4;border-radius:8px;background:#f9fbf9}.od-firewood__moisture-list strong,.od-firewood__moisture-list b{display:block}.od-firewood__moisture-list strong{font-size:.78rem}.od-firewood__moisture-list b{margin-top:3px;color:#366649;font-size:.77rem}.od-firewood__moisture-list p{margin:5px 0 0;color:#68736c;font-size:.69rem;line-height:1.4}
.od-firewood__stack{margin-top:12px;padding-top:12px;border-top:1px solid #edf1ee}
.od-firewood__submit{justify-self:start;min-width:190px;min-height:42px;padding:8px 18px;cursor:pointer}
.od-firewood__message{margin-top:15px;padding:12px 14px;border:1px solid #e2caca;border-left:4px solid #b75a5a;border-radius:9px;background:#fff7f7;color:#7b3333}
.od-firewood__confirm{margin-top:15px;padding:15px 16px;border:1px solid #d7dfd8;border-left:4px solid #7f9d86;border-radius:10px;background:#fafcf9}.od-firewood__confirm strong{display:block;margin-bottom:5px}.od-firewood__confirm p{margin:4px 0;color:#566159;line-height:1.5}.od-firewood__confirm button{margin-top:8px;padding:8px 13px;border:1px solid var(--fw-green);border-radius:7px;background:#fff;color:var(--fw-green);font-weight:750;cursor:pointer}.od-firewood__confirm button:hover,.od-firewood__confirm button:focus-visible{background:#eaf3ec}
.od-firewood__result{margin-top:18px;border:1px solid #cfe0d3;border-radius:12px;overflow:hidden;background:#fff}.od-firewood__main{padding:20px 22px;background:#edf6ef}.od-firewood__main small{display:block;margin-bottom:4px;color:#54715d;font-size:.78rem;font-weight:750;text-transform:uppercase;letter-spacing:.025em}.od-firewood__main strong{display:block;color:#143d29;font-size:clamp(1.8rem,4vw,2.55rem);line-height:1.08}.od-firewood__main p{margin:7px 0 0;color:#55635a;font-size:.8rem}.od-firewood__main.is-partial{background:#f5f7f5}.od-firewood__main.is-partial strong{font-size:1.35rem;color:#38453d}
.od-firewood__result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #e1e9e3}.od-firewood__result-grid>div{padding:13px 15px;border-right:1px solid #e5ebe7;border-bottom:1px solid #e5ebe7}.od-firewood__result-grid>div:nth-child(3n){border-right:0}.od-firewood__result-grid small{display:block;color:#738078;font-size:.68rem}.od-firewood__result-grid strong{display:block;margin-top:3px;font-size:.94rem;color:#27372e}
.od-firewood__quality{margin:12px 15px;padding:10px 12px;border-left:3px solid #67a777;border-radius:7px;background:#f6faf7;color:#536158;font-size:.74rem;line-height:1.45}
.od-firewood__steps,.od-firewood__sources{margin:0;border-top:1px solid #e3eae5}.od-firewood__steps summary,.od-firewood__sources summary{padding:11px 15px;color:var(--fw-green);font-size:.78rem;font-weight:750;cursor:pointer}.od-firewood__steps ol{display:flex;flex-wrap:wrap;align-items:center;gap:7px;list-style:none;margin:0;padding:0 15px 14px;counter-reset:none}.od-firewood__steps li{padding:6px 9px;border:1px solid #dce6df;border-radius:7px;background:#f8faf8;color:#39483f;font-size:.72rem}.od-firewood__steps li+li:before{content:'→';margin-right:9px;color:#77a284}.od-firewood__sources ul{margin:0;padding:0 34px 14px}.od-firewood__sources li{margin:4px 0;color:#59655d;font-size:.72rem}.od-firewood__sources a{color:var(--fw-green)}
@media(max-width:900px){.od-firewood__modes{grid-template-columns:repeat(2,minmax(0,1fr))}.od-firewood__grid,.od-firewood__grid--amount{grid-template-columns:1fr}.od-firewood__moisture-list{grid-template-columns:1fr 1fr}.od-firewood__result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.od-firewood__result-grid>div:nth-child(3n){border-right:1px solid #e5ebe7}.od-firewood__result-grid>div:nth-child(2n){border-right:0}}
@media(max-width:560px){.od-firewood__modes{grid-template-columns:1fr}.od-firewood__modes button{min-height:44px}.od-firewood__modes button small{display:inline;margin-left:7px}.od-firewood__panel{padding:14px}.od-firewood__moisture-list{grid-template-columns:1fr}.od-firewood__result-grid{grid-template-columns:1fr}.od-firewood__result-grid>div{border-right:0!important}.od-firewood__submit{width:100%}.od-firewood__steps ol{display:grid;grid-template-columns:1fr}.od-firewood__steps li+li:before{content:'↓';margin-right:7px}}

/* 05C.2.2 — equivalent-energy species comparison */
.od-firewood__compare-base-amount{margin-top:14px}
.od-firewood__compare-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:12px}.od-firewood__compare-heading h4{margin:0 0 4px}.od-firewood__compare-heading p{margin:0;color:#68736c;font-size:.74rem;line-height:1.45}.od-firewood__compare-unit{width:min(260px,38%);flex:0 0 auto}
.od-firewood__compare-rows{display:grid;gap:9px}.od-firewood__compare-row{position:relative;display:grid;grid-template-columns:minmax(220px,1.35fr) minmax(120px,.48fr) minmax(230px,1fr) 34px;gap:10px;align-items:start;padding:11px 12px;border:1px solid #dce6df;border-left:4px solid #79aa87;border-radius:10px;background:#fff}.od-firewood__compare-row:hover{background:#f7fbf8}.od-firewood__compare-row .od-firewood__field>small{min-height:1em}.od-firewood__target-profile[hidden]{display:none!important}
.od-firewood__remove-compare{align-self:center;width:30px;height:30px;padding:0;border:1px solid #c9d8ce;border-radius:50%;background:#fff;color:#66736b;font-size:1.15rem;line-height:1;cursor:pointer}.od-firewood__remove-compare:hover,.od-firewood__remove-compare:focus-visible{border-color:#8eb79a;background:#edf6ef;color:var(--fw-green);outline:0}
.od-firewood__equivalents{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px 15px;border-top:1px solid #dce7df;background:#fbfdfb}.od-firewood__equivalents>div{padding:12px 13px;border:1px solid #dce7df;border-left:4px solid #65a776;border-radius:9px;background:#fff}.od-firewood__equivalents strong{display:block;color:#173f2b;font-size:1.2rem;line-height:1.15}.od-firewood__equivalents span{display:block;margin-top:4px;color:#2d3d33;font-size:.8rem;font-weight:750}.od-firewood__equivalents small{display:block;margin-top:3px;color:#77827b;font-size:.68rem}
.od-firewood__compare-table-wrap{overflow-x:auto;border-top:1px solid #e0e8e2}.od-firewood__compare-table{width:100%;border-collapse:collapse;font-size:.78rem}.od-firewood__compare-table th,.od-firewood__compare-table td{padding:10px 12px;border-bottom:1px solid #e5ebe7;text-align:right;vertical-align:middle}.od-firewood__compare-table th:first-child,.od-firewood__compare-table td:first-child{text-align:left}.od-firewood__compare-table th{background:#f7faf8;color:#526158;font-size:.68rem;font-weight:800}.od-firewood__compare-table td strong{display:block;color:#2d3b32}.od-firewood__compare-table td small{display:block;margin-top:2px;color:#7a857e;font-size:.66rem;line-height:1.35}.od-firewood__compare-table tr.is-unavailable{background:#fafbfa;color:#7b857f}.od-firewood__compare-note{margin:0;padding:12px 15px;color:#59665e;font-size:.74rem;line-height:1.5}
@media(max-width:900px){.od-firewood__compare-heading{align-items:stretch;flex-direction:column}.od-firewood__compare-unit{width:100%}.od-firewood__compare-row{grid-template-columns:1fr 150px 34px}.od-firewood__target-profile{grid-column:1/3}.od-firewood__equivalents{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.od-firewood__compare-row{grid-template-columns:1fr 34px}.od-firewood__compare-row>.od-firewood__field{grid-column:1}.od-firewood__compare-row>.od-firewood__remove-compare{grid-column:2;grid-row:1/3}.od-firewood__target-profile{grid-column:1!important}.od-firewood__equivalents{grid-template-columns:1fr}.od-firewood__compare-table{min-width:580px}}

/* 0.5.19 — clearer two-layer comparison result + safer responsive rows */
.od-firewood__compare-rows,.od-firewood__compare-row,.od-firewood__compare-row>*{min-width:0}
.od-firewood__compare-row{grid-template-columns:minmax(0,1.25fr) minmax(92px,.46fr) minmax(0,1.05fr) 34px}
.od-firewood__compare-row .od-firewood__field select,.od-firewood__compare-row .od-firewood__field input{min-width:0;max-width:100%}
.od-firewood__compare-explainer{padding:13px 15px;border-top:1px solid #dce7df;background:#f8fbf9;color:#536159}
.od-firewood__compare-explainer strong{display:block;color:#2c3b32;font-size:.82rem}
.od-firewood__compare-explainer p{margin:4px 0 0;font-size:.73rem;line-height:1.5}
.od-firewood__equivalents{grid-template-columns:repeat(2,minmax(0,1fr))}
.od-firewood__equivalents>div{display:grid;gap:3px;padding:13px 14px}
.od-firewood__equivalents>div>strong{font-size:.93rem;line-height:1.25;color:#26372e}
.od-firewood__equivalents>div>small{margin:0 0 5px}
.od-firewood__equivalents>div>span{margin-top:6px;color:#6a776f;font-size:.66rem;font-weight:700;text-transform:uppercase;letter-spacing:.02em}
.od-firewood__equivalents>div>b{display:block;color:#153f2b;font-size:1.02rem;line-height:1.25}
.od-firewood__equivalents>div>b em{display:inline;font-size:.64rem;font-weight:650;font-style:normal;color:#6d7a72}
.od-firewood__compare-table th,.od-firewood__compare-table td{white-space:normal}
@media(max-width:1100px){
  .od-firewood__compare-row{grid-template-columns:minmax(0,1fr) minmax(110px,.42fr) 34px}
  .od-firewood__target-profile{grid-column:1/3}
}
@media(max-width:720px){
  .od-firewood__equivalents{grid-template-columns:1fr}
}
@media(max-width:560px){
  .od-firewood__compare-row{grid-template-columns:minmax(0,1fr) 34px}
  .od-firewood__compare-row>.od-firewood__field{grid-column:1}
  .od-firewood__compare-row>.od-firewood__remove-compare{grid-column:2;grid-row:1/3}
  .od-firewood__target-profile{grid-column:1!important}
}

/* 0.5.20 — automatic LP stack profile selection + normalized comparison unit */
.od-firewood__stack-auto{display:grid;grid-template-columns:minmax(150px,.42fr) minmax(190px,.58fr);gap:12px;max-width:520px}
.od-firewood__stack-note{display:block;margin-top:7px;color:#6f7b73;font-size:.7rem;line-height:1.45}
.od-firewood__compare-heading{display:block;margin-bottom:12px}
.od-firewood__compare-actions{display:flex;align-items:end;gap:14px;justify-content:flex-end;margin-top:14px}
.od-firewood__compare-actions .od-firewood__compare-unit{width:min(270px,42%)}
.od-firewood__compare-actions .od-firewood__submit{margin:0}
.od-firewood__compare-row{grid-template-columns:minmax(0,1.3fr) minmax(128px,.46fr) minmax(250px,1fr) 34px}
.od-firewood__moisture-field .od-firewood__input-unit{min-width:128px}
.od-firewood__moisture-field .od-firewood__input-unit input{min-width:84px}
.od-firewood__target-stack{display:grid;grid-template-columns:minmax(96px,.4fr) minmax(130px,.6fr);gap:8px;min-width:0}
.od-firewood__target-stack[hidden]{display:none!important}
.od-firewood__base-conversion{font-weight:700;color:#315d42!important}
.od-firewood__compare-result .od-firewood__main{padding-bottom:17px}
.od-firewood__equivalents>div{grid-template-columns:1fr}
.od-firewood__equivalents>div>span{margin-top:9px}
.od-firewood__equivalents>div>b{font-size:1.28rem;line-height:1.18}
.od-firewood__equivalents>div>em{display:block;margin-top:2px;color:#557061;font-size:.7rem;font-weight:700;font-style:normal}
.od-firewood__equivalents>div>span+ b + em{margin-bottom:6px}
.od-firewood__compare-table tr.is-base{background:#edf6ef}
.od-firewood__compare-table tr.is-base td{border-bottom-color:#cfe0d3}
.od-firewood__compare-table tr.is-base strong{color:#124b31}
.od-firewood__compare-table th:last-child,.od-firewood__compare-table td:last-child{min-width:118px}
@media(max-width:1100px){
  .od-firewood__compare-row{grid-template-columns:minmax(0,1fr) minmax(130px,.45fr) 34px}
  .od-firewood__target-stack{grid-column:1/3}
}
@media(max-width:760px){
  .od-firewood__compare-actions{align-items:stretch;flex-direction:column}
  .od-firewood__compare-actions .od-firewood__compare-unit{width:100%}
  .od-firewood__compare-actions .od-firewood__submit{width:100%}
  .od-firewood__stack-auto{grid-template-columns:1fr 1fr;max-width:none}
}
@media(max-width:560px){
  .od-firewood__target-stack{grid-column:1!important;grid-template-columns:1fr 1fr}
  .od-firewood__stack-auto{grid-template-columns:1fr}
}


/* 0.5.21 — compact comparison rows + equal field heights */
.od-firewood__compare-row{
  grid-template-columns:minmax(200px,1.85fr) 108px minmax(218px,1.15fr) 32px;
  gap:8px;
  align-items:end;
  padding:10px 11px;
}
.od-firewood__compare-row .od-firewood__field{gap:5px;min-width:0}
.od-firewood__compare-row .od-firewood__field select,
.od-firewood__compare-row .od-firewood__field input{height:40px;min-height:40px}
.od-firewood__compare-row .od-firewood__input-unit b{height:40px;min-width:30px;padding:0 7px}
.od-firewood__compare-row .od-firewood__moisture-field .od-firewood__input-unit{min-width:0;width:100%}
.od-firewood__compare-row .od-firewood__moisture-field .od-firewood__input-unit input{min-width:0;width:calc(100% - 30px);padding-left:9px;padding-right:7px}
.od-firewood__target-species select{min-width:0}
.od-firewood__target-stack{display:grid;grid-template-columns:minmax(92px,.42fr) minmax(116px,.58fr);gap:8px;min-width:0}
.od-firewood__target-stack[hidden]{display:none!important}
.od-firewood__remove-compare{width:30px;height:30px;margin-bottom:5px;align-self:end}
@media(max-width:1100px){
  .od-firewood__compare-row{grid-template-columns:minmax(220px,1fr) 108px 32px}
  .od-firewood__target-stack{grid-column:1/3}
  .od-firewood__remove-compare{grid-column:3;grid-row:1}
}
@media(max-width:640px){
  .od-firewood__compare-row{grid-template-columns:minmax(0,1fr) 96px 32px}
  .od-firewood__target-stack{grid-column:1/3;grid-template-columns:96px minmax(0,1fr)}
}
@media(max-width:520px){
  .od-firewood__compare-row{grid-template-columns:minmax(0,1fr) 32px}
  .od-firewood__compare-row>.od-firewood__moisture-field{grid-column:1}
  .od-firewood__target-stack{grid-column:1!important;grid-template-columns:1fr 1fr}
  .od-firewood__remove-compare{grid-column:2;grid-row:1/3}
}

/* 0.5.22 — comparison result hierarchy + bark state */
.od-firewood__compare-result{scroll-margin-top:86px}
.od-firewood__base-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:9px;color:#536159;font-size:.8rem}
.od-firewood__base-meta b{display:inline-block;padding:4px 8px;border:1px solid #bdd4c4;border-radius:999px;background:#fff;color:#174c31;font-size:.92rem}
.od-firewood__compare-main small{font-size:.86rem;letter-spacing:.02em}
.od-firewood__check{display:flex;align-items:center;gap:8px;align-self:end;min-height:42px;padding:0 10px;border:1px solid #cfdad3;border-radius:7px;background:#f8fbf9;color:#33423a;font-size:.8rem;font-weight:720;cursor:pointer}
.od-firewood__check input{width:16px;height:16px;margin:0;accent-color:var(--fw-green)}
.od-firewood__stack-auto--compare{grid-template-columns:minmax(120px,.34fr) minmax(170px,.46fr) minmax(110px,.2fr);max-width:690px}
.od-firewood__target-stack{grid-template-columns:minmax(84px,.32fr) minmax(112px,.43fr) minmax(92px,.25fr)}
.od-firewood__target-stack .od-firewood__check{min-height:40px;padding:0 8px}
.od-firewood__compare-table th:first-child,.od-firewood__compare-table td:first-child{width:38%}
.od-firewood__compare-table th:nth-child(2),.od-firewood__compare-table td:nth-child(2){width:20%}
.od-firewood__compare-table th:nth-child(3),.od-firewood__compare-table td:nth-child(3){width:22%}
.od-firewood__compare-table th:nth-child(4),.od-firewood__compare-table td:nth-child(4){width:20%}
.od-firewood__compare-table td:nth-child(3) strong{white-space:nowrap}
@media(max-width:760px){.od-firewood__stack-auto--compare{grid-template-columns:1fr 1fr}.od-firewood__stack-auto--compare .od-firewood__check{grid-column:1/3}}
@media(max-width:560px){.od-firewood__stack-auto--compare{grid-template-columns:1fr}.od-firewood__stack-auto--compare .od-firewood__check{grid-column:1}.od-firewood__target-stack{grid-template-columns:1fr 1fr}.od-firewood__target-stack .od-firewood__check{grid-column:1/3}}


/* 0.5.23 — compact comparison inputs + five-column result table */
.od-firewood__compare-row{
  grid-template-columns:minmax(170px,1.55fr) 90px minmax(214px,1.25fr) 30px;
  gap:6px;
  align-items:end;
}
.od-firewood__compare-row .od-firewood__field select,
.od-firewood__compare-row .od-firewood__field input,
.od-firewood__compare-row .od-firewood__input-unit b{
  height:42px;
  min-height:42px;
}
.od-firewood__compare-row .od-firewood__field select,
.od-firewood__compare-row .od-firewood__field input{border-radius:7px}
.od-firewood__compare-row .od-firewood__input-unit input{border-radius:7px 0 0 7px}
.od-firewood__compare-row .od-firewood__input-unit b{border-radius:0 7px 7px 0}
.od-firewood__moisture-field .od-firewood__input-unit b{min-width:28px;padding:0 6px}
.od-firewood__target-stack{
  grid-template-columns:70px minmax(98px,1fr) 42px;
  gap:6px;
  align-items:end;
}
.od-firewood__target-stack .od-firewood__check{min-height:42px;height:42px}
.od-firewood__check--wk{
  min-width:42px;
  width:42px;
  padding:0 4px!important;
  gap:3px;
  justify-content:center;
  border-radius:7px;
  text-transform:lowercase;
}
.od-firewood__check--wk input{width:14px;height:14px}
.od-firewood__check--wk span{font-size:.68rem;line-height:1;font-weight:800}
.od-firewood__remove-compare{margin-bottom:6px}

.od-firewood__compare-table th:first-child,.od-firewood__compare-table td:first-child{width:33%}
.od-firewood__compare-table th:nth-child(2),.od-firewood__compare-table td:nth-child(2){width:12%;text-align:right}
.od-firewood__compare-table th:nth-child(3),.od-firewood__compare-table td:nth-child(3){width:18%;text-align:right}
.od-firewood__compare-table th:nth-child(4),.od-firewood__compare-table td:nth-child(4){width:22%;text-align:right}
.od-firewood__compare-table th:nth-child(5),.od-firewood__compare-table td:nth-child(5){width:15%;text-align:right;min-width:92px}
.od-firewood__compare-table td:nth-child(4) strong{white-space:nowrap}

@media(max-width:760px){
  .od-firewood__compare-row{grid-template-columns:minmax(180px,1fr) 90px 30px}
  .od-firewood__target-stack{grid-column:1/3;grid-template-columns:78px minmax(110px,1fr) 42px}
  .od-firewood__remove-compare{grid-column:3;grid-row:1}
}
@media(max-width:520px){
  .od-firewood__compare-row{grid-template-columns:minmax(0,1fr) 30px}
  .od-firewood__compare-row>.od-firewood__moisture-field{grid-column:1}
  .od-firewood__target-stack{grid-column:1!important;grid-template-columns:78px minmax(0,1fr) 42px}
  .od-firewood__remove-compare{grid-column:2;grid-row:1/3}
  .od-firewood__compare-table{min-width:650px}
}


/* 0.5.24 — harmonized comparison controls + sortable seven-column result table */
.od-firewood__compare-row{
  grid-template-columns:minmax(182px,1.45fr) 104px minmax(222px,1.25fr) 30px;
  gap:7px;
  align-items:end;
}
.od-firewood__compare-row .od-firewood__field select,
.od-firewood__compare-row .od-firewood__field input{
  height:42px!important;
  min-height:42px!important;
  padding:6px 10px;
  border-radius:7px;
  line-height:1.2;
}
.od-firewood__compare-row .od-firewood__input-unit{
  width:100%;height:42px;min-height:42px;overflow:hidden;
  border:1px solid #cfdad3;border-radius:7px;background:#fff;
}
.od-firewood__compare-row .od-firewood__input-unit input{
  height:40px!important;min-height:40px!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
.od-firewood__compare-row .od-firewood__input-unit b{
  height:40px!important;min-height:40px!important;border:0;border-left:1px solid #cfdad3;border-radius:0;background:#f5f8f6;
}
.od-firewood__compare-row .od-firewood__input-unit:focus-within{border-color:#71a781;box-shadow:0 0 0 3px #e4f1e7}
.od-firewood__target-stack{grid-template-columns:76px minmax(100px,1fr) 42px;gap:6px}
.od-firewood__remove-compare{margin:0;align-self:end;width:30px;height:30px;margin-bottom:6px}

.od-firewood__compare-table{min-width:880px;table-layout:fixed}
.od-firewood__compare-table th,.od-firewood__compare-table td{padding:9px 9px}
.od-firewood__compare-table th{position:relative;text-align:center;vertical-align:middle;line-height:1.2}
.od-firewood__compare-table th small{display:block;margin-top:3px;color:#748079;font-size:.62rem;font-weight:600;white-space:nowrap}
.od-firewood__compare-table th[data-compare-sort]{cursor:pointer;padding-right:17px}
.od-firewood__compare-table th[data-compare-sort]:hover{background:#eef5f0;color:#244c34}
.od-firewood__compare-table th[data-compare-sort]::after{content:'↕';position:absolute;right:4px;top:4px;color:#9aa79f;font-size:9px;font-weight:400;opacity:.7}
.od-firewood__compare-table th[data-compare-sort].is-sorted::after{content:'▲';color:#356845;opacity:1}
.od-firewood__compare-table th[data-compare-sort].is-sorted[aria-sort="descending"]::after{content:'▼'}
.od-firewood__compare-table th:first-child,.od-firewood__compare-table td:first-child{width:25%;text-align:left}
.od-firewood__compare-table th:nth-child(2),.od-firewood__compare-table td:nth-child(2){width:9%;text-align:right}
.od-firewood__compare-table th:nth-child(3),.od-firewood__compare-table td:nth-child(3){width:14%;text-align:right}
.od-firewood__compare-table th:nth-child(4),.od-firewood__compare-table td:nth-child(4){width:14%;text-align:right}
.od-firewood__compare-table th:nth-child(5),.od-firewood__compare-table td:nth-child(5){width:16%;text-align:right}
.od-firewood__compare-table th:nth-child(6),.od-firewood__compare-table td:nth-child(6){width:11%;text-align:right}
.od-firewood__compare-table th:nth-child(7),.od-firewood__compare-table td:nth-child(7){width:11%;text-align:right}
.od-firewood__compare-table td:nth-child(n+2){font-variant-numeric:tabular-nums}
.od-firewood__compare-table td:nth-child(3) strong,
.od-firewood__compare-table td:nth-child(4) strong,
.od-firewood__compare-table td:nth-child(5) strong{white-space:nowrap}

@media(max-width:760px){
  .od-firewood__compare-row{grid-template-columns:minmax(180px,1fr) 104px 30px}
  .od-firewood__target-stack{grid-column:1/3;grid-template-columns:78px minmax(112px,1fr) 42px}
}
@media(max-width:520px){
  .od-firewood__compare-row{grid-template-columns:minmax(0,1fr) 30px}
  .od-firewood__compare-row>.od-firewood__moisture-field{grid-column:1}
  .od-firewood__target-stack{grid-column:1!important;grid-template-columns:78px minmax(0,1fr) 42px}
}

/* 0.5.25 — final comparison density pass */
.od-firewood__compare-row{
  grid-template-columns:minmax(184px,1.75fr) 92px minmax(206px,1.18fr) 30px;
  gap:7px;
  align-items:end;
}
.od-firewood__compare-row .od-firewood__field select,
.od-firewood__compare-row .od-firewood__field>input,
.od-firewood__compare-row .od-firewood__input-unit,
.od-firewood__compare-row .od-firewood__input-unit input,
.od-firewood__compare-row .od-firewood__input-unit b{
  box-sizing:border-box;
}
.od-firewood__compare-row .od-firewood__field select,
.od-firewood__compare-row .od-firewood__field>input,
.od-firewood__compare-row .od-firewood__input-unit{
  height:42px!important;
  min-height:42px!important;
  border-radius:7px!important;
}
.od-firewood__compare-row .od-firewood__field>input{border:1px solid #cfdad3!important}
.od-firewood__compare-row .od-firewood__input-unit{
  display:flex;
  align-items:stretch;
  overflow:hidden;
  border:1px solid #cfdad3;
  background:#fff;
}
.od-firewood__compare-row .od-firewood__input-unit input{
  height:40px!important;
  min-height:40px!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.od-firewood__compare-row .od-firewood__input-unit b{
  height:40px!important;
  min-height:40px!important;
  border:0!important;
  border-left:1px solid #cfdad3!important;
  border-radius:0!important;
}
.od-firewood__target-stack{
  grid-template-columns:70px minmax(102px,1fr) 32px;
  gap:7px;
  align-items:end;
}
.od-firewood__bark-field{display:grid;grid-template-rows:auto 42px;gap:5px;min-width:0}
.od-firewood__bark-field>span{display:block;color:#33423a;font-size:.84rem;font-weight:720;line-height:1.2;text-align:center}
.od-firewood__check--wk{
  width:32px!important;
  min-width:32px!important;
  height:42px!important;
  min-height:42px!important;
  padding:0!important;
  justify-content:center;
  border-radius:7px!important;
}
.od-firewood__check--wk input{width:15px;height:15px}
.od-firewood__remove-compare{
  align-self:end;
  width:30px;
  height:30px;
  margin:0 0 6px 0!important;
  position:relative;
  z-index:1;
}

/* cards: up to six variants as a clear 3 × 2 matrix */
.od-firewood__equivalents{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px;
  padding:14px 15px;
}
.od-firewood__equivalents>div{
  border-color:#cfded3;
  border-left:4px solid #59a06d;
  box-shadow:0 1px 2px rgba(24,67,43,.06);
  background:#fff;
}
.od-firewood__equivalents>div:hover{border-color:#b8d1bf;background:#f8fcf9}

/* seven useful columns, compact enough to fit the desktop tool width */
.od-firewood__compare-table-wrap{overflow-x:visible}
.od-firewood__compare-table{
  min-width:0!important;
  width:100%;
  table-layout:fixed;
  font-size:.72rem;
}
.od-firewood__compare-table th,
.od-firewood__compare-table td{
  padding:7px 5px!important;
  line-height:1.25;
}
.od-firewood__compare-table th{
  font-size:.62rem;
  overflow-wrap:normal;
  word-break:normal;
}
.od-firewood__compare-table th small{font-size:.57rem;margin-top:2px}
.od-firewood__compare-table th[data-compare-sort]{padding-right:13px!important}
.od-firewood__compare-table th[data-compare-sort]::after{right:3px;top:3px}
.od-firewood__compare-table th:first-child,.od-firewood__compare-table td:first-child{width:23%;text-align:left}
.od-firewood__compare-table th:nth-child(2),.od-firewood__compare-table td:nth-child(2){width:8%;text-align:right}
.od-firewood__compare-table th:nth-child(3),.od-firewood__compare-table td:nth-child(3){width:13%;text-align:right}
.od-firewood__compare-table th:nth-child(4),.od-firewood__compare-table td:nth-child(4){width:14%;text-align:right}
.od-firewood__compare-table th:nth-child(5),.od-firewood__compare-table td:nth-child(5){width:16%;text-align:right}
.od-firewood__compare-table th:nth-child(6),.od-firewood__compare-table td:nth-child(6){width:13%;text-align:right}
.od-firewood__compare-table th:nth-child(7),.od-firewood__compare-table td:nth-child(7){width:13%;text-align:right}
.od-firewood__compare-table td strong{font-size:.72rem}
.od-firewood__compare-table td small{font-size:.59rem;line-height:1.25}
.od-firewood__compare-table td:nth-child(n+2){white-space:nowrap}
.od-firewood__compare-table td:first-child{white-space:normal}

@media(max-width:900px){
  .od-firewood__equivalents{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .od-firewood__compare-row{grid-template-columns:minmax(180px,1fr) 92px 30px}
  .od-firewood__target-stack{grid-column:1/3;grid-template-columns:78px minmax(110px,1fr) 32px}
  .od-firewood__compare-table-wrap{overflow-x:auto}
  .od-firewood__compare-table{min-width:690px!important}
}
@media(max-width:560px){
  .od-firewood__equivalents{grid-template-columns:1fr!important}
  .od-firewood__compare-row{grid-template-columns:minmax(0,1fr) 30px}
  .od-firewood__compare-row>.od-firewood__moisture-field{grid-column:1}
  .od-firewood__target-stack{grid-column:1!important;grid-template-columns:78px minmax(0,1fr) 32px}
  .od-firewood__remove-compare{grid-column:2;grid-row:1/3}
}


/* 0.5.26 — strict control geometry + non-overlapping row actions */
.od-firewood__field select,
.od-firewood__field>input,
.od-firewood__input-unit,
.od-firewood__check{
  box-sizing:border-box!important;
}
.od-firewood__field select,
.od-firewood__field>input{
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  padding:0 12px!important;
  border-radius:7px!important;
  line-height:40px!important;
}
.od-firewood__input-unit{
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  display:flex!important;
  align-items:stretch!important;
  overflow:hidden!important;
  border:1px solid #cfdad3!important;
  border-radius:7px!important;
  background:#fff!important;
}
.od-firewood__input-unit input{
  box-sizing:border-box!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  padding:0 10px!important;
  border:0!important;
  border-radius:0!important;
  line-height:40px!important;
  box-shadow:none!important;
}
.od-firewood__input-unit b{
  box-sizing:border-box!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 8px!important;
  border:0!important;
  border-left:1px solid #cfdad3!important;
  border-radius:0!important;
  line-height:40px!important;
}
.od-firewood__compare-row{
  grid-template-columns:minmax(185px,1.5fr) 94px minmax(210px,1fr)!important;
  gap:7px!important;
  align-items:end!important;
  padding:11px 48px 11px 12px!important;
}
.od-firewood__compare-row .od-firewood__target-stack{
  grid-template-columns:72px minmax(105px,1fr) 34px!important;
  gap:7px!important;
  align-items:end!important;
  min-width:0!important;
}
.od-firewood__bark-field{
  display:grid!important;
  grid-template-rows:17px 42px!important;
  gap:5px!important;
  align-items:end!important;
}
.od-firewood__bark-field>span{
  height:17px!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  margin:0!important;
  line-height:1!important;
}
.od-firewood__check--wk{
  width:34px!important;
  min-width:34px!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:7px!important;
}
.od-firewood__remove-compare{
  position:absolute!important;
  top:10px!important;
  right:10px!important;
  width:28px!important;
  min-width:28px!important;
  height:28px!important;
  min-height:28px!important;
  margin:0!important;
  padding:0!important;
  z-index:3!important;
}
.od-firewood__equivalents>div.is-unavailable{
  border-left-color:#9aa79f!important;
  background:#fafbfa!important;
}
.od-firewood__equivalents>div.is-unavailable b{font-size:.88rem!important;color:#66736b!important}

@media(max-width:760px){
  .od-firewood__compare-row{
    grid-template-columns:minmax(180px,1fr) 94px!important;
    padding-right:48px!important;
  }
  .od-firewood__compare-row .od-firewood__target-stack{
    grid-column:1/3!important;
    grid-template-columns:72px minmax(110px,1fr) 34px!important;
  }
}
@media(max-width:520px){
  .od-firewood__compare-row{grid-template-columns:1fr!important;padding-right:48px!important}
  .od-firewood__compare-row>.od-firewood__moisture-field{grid-column:1!important}
  .od-firewood__compare-row .od-firewood__target-stack{grid-column:1!important}
}

/* 0.5.27 — compare-row remove action in its own grid column */
.od-firewood__compare-row{
  grid-template-columns:minmax(185px,1.5fr) 94px minmax(210px,1fr) 30px!important;
  padding-right:12px!important;
}
.od-firewood__remove-compare{
  position:static!important;
  grid-column:4!important;
  grid-row:1!important;
  align-self:end!important;
  justify-self:center!important;
  width:30px!important;
  min-width:30px!important;
  height:30px!important;
  min-height:30px!important;
  margin:0 0 6px 0!important;
}
@media(max-width:760px){
  .od-firewood__compare-row{
    grid-template-columns:minmax(180px,1fr) 94px 30px!important;
    padding-right:12px!important;
  }
  .od-firewood__compare-row .od-firewood__target-stack{grid-column:1/3!important}
  .od-firewood__remove-compare{grid-column:3!important;grid-row:1!important}
}
@media(max-width:520px){
  .od-firewood__compare-row{grid-template-columns:minmax(0,1fr) 30px!important;padding-right:12px!important}
  .od-firewood__compare-row>.od-firewood__moisture-field{grid-column:1!important}
  .od-firewood__compare-row .od-firewood__target-stack{grid-column:1!important}
  .od-firewood__remove-compare{grid-column:2!important;grid-row:1!important}
}


/* 0.5.28 — compact square remove action matching the wk control */
.od-firewood__compare-row{
  grid-template-columns:minmax(185px,1.5fr) 94px minmax(210px,1fr) 34px!important;
}
.od-firewood__remove-compare{
  position:static!important;
  grid-column:4!important;
  grid-row:1!important;
  align-self:end!important;
  justify-self:center!important;
  box-sizing:border-box!important;
  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #cfdad3!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#66736b!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:1rem!important;
  font-weight:700!important;
  line-height:1!important;
  box-shadow:none!important;
}
.od-firewood__remove-compare:hover,
.od-firewood__remove-compare:focus-visible{
  border-color:#9fbaa7!important;
  background:#f1f8f3!important;
  color:#0f4a35!important;
  outline:0!important;
  box-shadow:0 0 0 2px rgba(15,74,53,.07)!important;
}
.od-firewood__remove-compare[hidden]{display:none!important}
@media(max-width:760px){
  .od-firewood__compare-row{grid-template-columns:minmax(180px,1fr) 94px 34px!important}
  .od-firewood__compare-row .od-firewood__target-stack{grid-column:1/3!important}
  .od-firewood__remove-compare{grid-column:3!important;grid-row:1!important}
}
@media(max-width:520px){
  .od-firewood__compare-row{grid-template-columns:minmax(0,1fr) 34px!important}
  .od-firewood__compare-row>.od-firewood__moisture-field{grid-column:1!important}
  .od-firewood__compare-row .od-firewood__target-stack{grid-column:1!important}
  .od-firewood__remove-compare{grid-column:2!important;grid-row:1!important}
}

/* 0.5.29 — plain inline remove x, matching other row-based Tools */
.od-firewood__compare-row{
  grid-template-columns:minmax(185px,1.5fr) 94px minmax(210px,1fr) 22px!important;
}
.od-firewood__remove-compare{
  position:static!important;
  grid-column:4!important;
  grid-row:1!important;
  align-self:end!important;
  justify-self:center!important;
  width:22px!important;
  min-width:22px!important;
  max-width:22px!important;
  height:25px!important;
  min-height:25px!important;
  max-height:25px!important;
  margin:0 0 8px 0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  color:#849188!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:1.1rem!important;
  font-weight:400!important;
  line-height:1!important;
  box-shadow:none!important;
}
.od-firewood__remove-compare:hover,
.od-firewood__remove-compare:focus-visible{
  border:0!important;
  background:#f7f3f3!important;
  color:#8a2929!important;
  outline:0!important;
  box-shadow:none!important;
}
.od-firewood__remove-compare[hidden]{display:none!important}
@media(max-width:760px){
  .od-firewood__compare-row{grid-template-columns:minmax(180px,1fr) 94px 22px!important}
  .od-firewood__compare-row .od-firewood__target-stack{grid-column:1/3!important}
  .od-firewood__remove-compare{grid-column:3!important;grid-row:1!important}
}
@media(max-width:520px){
  .od-firewood__compare-row{grid-template-columns:minmax(0,1fr) 22px!important}
  .od-firewood__compare-row>.od-firewood__moisture-field{grid-column:1!important}
  .od-firewood__compare-row .od-firewood__target-stack{grid-column:1!important}
  .od-firewood__remove-compare{grid-column:2!important;grid-row:1!important}
}

/* 0.5.30 — slight breathing room before remove x; compact secondary controls */
.od-firewood__compare-row{
  grid-template-columns:minmax(185px,1.55fr) 88px minmax(196px,.95fr) 26px!important;
  gap:8px!important;
}
.od-firewood__compare-row .od-firewood__target-stack{
  grid-template-columns:68px minmax(96px,1fr) 34px!important;
  gap:7px!important;
}
.od-firewood__remove-compare{
  width:20px!important;
  min-width:20px!important;
  max-width:20px!important;
  justify-self:end!important;
  margin:0 1px 8px 4px!important;
}
@media(max-width:760px){
  .od-firewood__compare-row{grid-template-columns:minmax(180px,1fr) 88px 26px!important}
  .od-firewood__compare-row .od-firewood__target-stack{grid-column:1/3!important;grid-template-columns:68px minmax(96px,1fr) 34px!important}
  .od-firewood__remove-compare{grid-column:3!important;grid-row:1!important;margin-left:4px!important}
}
@media(max-width:520px){
  .od-firewood__compare-row{grid-template-columns:minmax(0,1fr) 26px!important}
  .od-firewood__compare-row>.od-firewood__moisture-field{grid-column:1!important}
  .od-firewood__compare-row .od-firewood__target-stack{grid-column:1!important}
  .od-firewood__remove-compare{grid-column:2!important;grid-row:1!important}
}

/* 0.5.31 — mode 3: commercial firewood offer comparison */
.od-firewood__offer-rows{display:grid;gap:10px}
.od-firewood__offer-row{padding:13px 14px;border:1px solid #d8e3dc;border-left:4px solid #65aa79;border-radius:10px;background:#fff}
.od-firewood__offer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;color:#25332b}
.od-firewood__offer-head>strong{font-size:.9rem}
.od-firewood__remove-offer{border:0;background:transparent;color:#87918b;font-size:1rem;line-height:1;padding:2px 4px;cursor:pointer}
.od-firewood__remove-offer:hover,.od-firewood__remove-offer:focus-visible{color:#a34343;background:#fff3f3;outline:0;border-radius:4px}
.od-firewood__offer-material{display:grid;grid-template-columns:minmax(190px,1.55fr) 104px minmax(95px,.7fr) 104px;gap:8px;align-items:end}
.od-firewood__offer-material .od-firewood__field select,
.od-firewood__offer-material .od-firewood__field>input,
.od-firewood__offer-material .od-firewood__input-unit,
.od-firewood__offer-price .od-firewood__field select,
.od-firewood__offer-price .od-firewood__input-unit,
.od-firewood__offer-stack .od-firewood__field select,
.od-firewood__offer-stack .od-firewood__input-unit{height:42px;min-height:42px;border-radius:7px;box-sizing:border-box}
.od-firewood__offer-stack{display:grid;grid-template-columns:78px 130px 34px;gap:8px;align-items:end;margin-top:9px;padding-top:9px;border-top:1px solid #edf1ee}
.od-firewood__offer-stack[hidden]{display:none!important}
.od-firewood__offer-price{display:grid;grid-template-columns:minmax(135px,.8fr) minmax(150px,1fr) minmax(150px,1fr);gap:8px;align-items:end;margin-top:9px}
.od-firewood__offer-actions{margin-top:1px}
.od-firewood__offer-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid #d9e4dc}
.od-firewood__offer-highlights>div{padding:16px 18px;background:#f4f9f5}
.od-firewood__offer-highlights>div+div{border-left:1px solid #d9e4dc}
.od-firewood__offer-highlights small{display:block;margin-bottom:5px;color:#587061;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.02em}
.od-firewood__offer-highlights strong{display:block;color:#0d4b35;font-size:1.2rem;line-height:1.25}
.od-firewood__offer-highlights p{margin:5px 0 0;color:#68766d;font-size:.74rem}
.od-firewood__offer-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:13px 14px;border-bottom:1px solid #d9e4dc;background:#fbfdfb}
.od-firewood__offer-cards>div{display:grid;gap:5px;padding:12px 13px;border:1px solid #d6e3d9;border-left:4px solid #62a976;border-radius:9px;background:#fff}
.od-firewood__offer-cards strong{font-size:.88rem}.od-firewood__offer-cards small{color:#758078;font-size:.68rem}.od-firewood__offer-cards b{font-size:1.15rem;color:#0d4b35}.od-firewood__offer-cards span{font-size:.76rem}.od-firewood__offer-cards em{font-size:.78rem;font-style:normal;font-weight:750;color:#365d43}
.od-firewood__offer-table-wrap{overflow-x:visible}
.od-firewood__offer-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:.73rem}
.od-firewood__offer-table th,.od-firewood__offer-table td{padding:8px 7px;border:1px solid #dbe3de;vertical-align:middle}
.od-firewood__offer-table th{position:relative;background:#f7f9f8;color:#34433a;font-size:.68rem;line-height:1.2;text-align:center}
.od-firewood__offer-table th small{display:block;margin-top:2px;color:#78837c;font-size:.58rem;font-weight:600;white-space:nowrap}
.od-firewood__offer-table th[data-offer-sort]{cursor:pointer;padding-right:15px}
.od-firewood__offer-table th[data-offer-sort]:hover{background:#eef5f0;color:#244c34}
.od-firewood__offer-table th[data-offer-sort]::after{content:'↕';position:absolute;right:3px;top:3px;color:#9aa79f;font-size:8px;font-weight:400;opacity:.7}
.od-firewood__offer-table th[data-offer-sort].is-sorted::after{content:'▲';color:#356845;opacity:1}
.od-firewood__offer-table th[data-offer-sort].is-sorted[aria-sort="descending"]::after{content:'▼'}
.od-firewood__offer-table th:first-child,.od-firewood__offer-table td:first-child{width:23%;text-align:left}
.od-firewood__offer-table th:nth-child(2),.od-firewood__offer-table td:nth-child(2){width:8%;text-align:right}
.od-firewood__offer-table th:nth-child(3),.od-firewood__offer-table td:nth-child(3){width:10%;text-align:right}
.od-firewood__offer-table th:nth-child(4),.od-firewood__offer-table td:nth-child(4){width:12%;text-align:right}
.od-firewood__offer-table th:nth-child(5),.od-firewood__offer-table td:nth-child(5){width:13%;text-align:right}
.od-firewood__offer-table th:nth-child(6),.od-firewood__offer-table td:nth-child(6){width:11%;text-align:right}
.od-firewood__offer-table th:nth-child(7),.od-firewood__offer-table td:nth-child(7){width:13%;text-align:right}
.od-firewood__offer-table th:nth-child(8),.od-firewood__offer-table td:nth-child(8){width:10%;text-align:right}
.od-firewood__offer-table td:first-child strong,.od-firewood__offer-table td:first-child small{display:block}.od-firewood__offer-table td:first-child small{margin-top:3px;color:#748079;font-size:.62rem;line-height:1.35}
.od-firewood__offer-table td:nth-child(n+2){font-variant-numeric:tabular-nums}.od-firewood__offer-table td:nth-child(n+3){white-space:nowrap}
@media(max-width:900px){.od-firewood__offer-material{grid-template-columns:minmax(180px,1.4fr) 100px 1fr 100px}.od-firewood__offer-table-wrap{overflow-x:auto}.od-firewood__offer-table{min-width:820px}}
@media(max-width:700px){.od-firewood__offer-material{grid-template-columns:1fr 110px}.od-firewood__offer-price{grid-template-columns:1fr 1fr}.od-firewood__offer-price .od-firewood__field:last-child{grid-column:1/3}.od-firewood__offer-stack{grid-template-columns:78px minmax(110px,1fr) 34px}.od-firewood__offer-highlights,.od-firewood__offer-cards{grid-template-columns:1fr}.od-firewood__offer-highlights>div+div{border-left:0;border-top:1px solid #d9e4dc}}
@media(max-width:480px){.od-firewood__offer-material,.od-firewood__offer-price{grid-template-columns:1fr}.od-firewood__offer-price .od-firewood__field:last-child{grid-column:auto}.od-firewood__offer-stack{grid-template-columns:72px minmax(0,1fr) 34px}}


/* 0.5.32 — offer-card rhythm, readable units and true placeholders */
.od-firewood__field>input::placeholder,
.od-firewood__input-unit input::placeholder{
  color:#9aa49e!important;
  opacity:1!important;
  font-weight:400!important;
}
.od-firewood__field>input:not(:placeholder-shown),
.od-firewood__input-unit input:not(:placeholder-shown){
  color:#27342d;
  font-weight:600;
}
.od-firewood__offer-material{
  grid-template-columns:minmax(205px,1.65fr) 104px 108px minmax(126px,.9fr);
  gap:10px;
}
.od-firewood__offer-material .od-firewood__field,
.od-firewood__offer-price .od-firewood__field,
.od-firewood__offer-stack .od-firewood__field{min-width:0}
.od-firewood__offer-material .od-firewood__field select,
.od-firewood__offer-material .od-firewood__field>input,
.od-firewood__offer-material .od-firewood__input-unit,
.od-firewood__offer-price .od-firewood__field select,
.od-firewood__offer-price .od-firewood__input-unit,
.od-firewood__offer-stack .od-firewood__field select,
.od-firewood__offer-stack .od-firewood__input-unit{width:100%}
.od-firewood__offer-price{
  grid-template-columns:minmax(145px,.82fr) minmax(175px,1fr) minmax(205px,1.12fr);
  gap:10px;
  align-items:end;
  margin-top:11px;
  padding-top:2px;
}
.od-firewood__offer-price .od-firewood__field>span:first-child{
  min-height:2.2em;
  display:flex;
  align-items:flex-end;
  line-height:1.1;
}
.od-firewood__offer-extra>span:first-child{font-size:.78rem}
.od-firewood__offer-stack{gap:10px;margin-top:11px;padding-top:11px}
@media(max-width:900px){
  .od-firewood__offer-material{grid-template-columns:minmax(190px,1.45fr) 100px 108px minmax(126px,.9fr)}
  .od-firewood__offer-price{grid-template-columns:minmax(140px,.8fr) minmax(165px,1fr) minmax(195px,1.1fr)}
}
@media(max-width:760px){
  .od-firewood__offer-material{grid-template-columns:1fr 105px}
  .od-firewood__offer-price{grid-template-columns:1fr 1fr}
  .od-firewood__offer-price .od-firewood__field:last-child{grid-column:1/3}
  .od-firewood__offer-price .od-firewood__field>span:first-child{min-height:auto}
}
@media(max-width:480px){
  .od-firewood__offer-material,.od-firewood__offer-price{grid-template-columns:1fr}
  .od-firewood__offer-price .od-firewood__field:last-child{grid-column:auto}
}


/* 0.5.33 — simple mp labels, stronger placeholders, roomier offer unit */
.od-firewood__field>input::placeholder,
.od-firewood__input-unit input::placeholder{
  color:#bcc6c0!important;
  opacity:1!important;
  font-weight:400!important;
}
.od-firewood__field>input:not(:placeholder-shown),
.od-firewood__input-unit input:not(:placeholder-shown){
  color:#1c2821!important;
  font-weight:600!important;
}
.od-firewood__offer-material{
  grid-template-columns:minmax(200px,1.6fr) 104px 104px minmax(138px,.95fr);
}
.od-firewood__offer-material [data-offer-unit]{min-width:138px}
@media(max-width:900px){
  .od-firewood__offer-material{grid-template-columns:minmax(185px,1.4fr) 100px 104px minmax(132px,.92fr)}
  .od-firewood__offer-material [data-offer-unit]{min-width:132px}
}
@media(max-width:760px){
  .od-firewood__offer-material{grid-template-columns:1fr 118px}
  .od-firewood__offer-material [data-offer-unit]{min-width:0}
}
@media(max-width:480px){
  .od-firewood__offer-material{grid-template-columns:1fr}
}


/* 0.5.34 — offer actions stay inside the card; two offers visible from start */
.od-firewood__offer-actions{
  display:grid!important;
  grid-template-columns:minmax(190px,270px) minmax(160px,220px);
  justify-content:end;
  align-items:end;
  gap:12px;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}
.od-firewood__offer-actions .od-firewood__compare-unit{
  width:100%!important;
  min-width:0;
}
.od-firewood__offer-actions .od-firewood__submit{
  width:100%;
  max-width:220px;
  min-width:0;
  box-sizing:border-box;
}
@media(max-width:620px){
  .od-firewood__offer-actions{grid-template-columns:1fr;justify-content:stretch}
  .od-firewood__offer-actions .od-firewood__submit{max-width:none}
}


/* 0.5.35 — offer result table compression + action row aligned with compare-species */
.od-firewood__offer-actions{
  display:flex!important;
  align-items:end!important;
  gap:14px!important;
  justify-content:flex-end!important;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  margin-top:14px;
}
.od-firewood__offer-actions .od-firewood__compare-unit{
  width:min(270px,42%)!important;
  min-width:0;
  flex:0 1 270px;
}
.od-firewood__offer-actions .od-firewood__submit{
  width:auto!important;
  min-width:190px;
  max-width:none!important;
  flex:0 0 auto;
  margin:0;
}
.od-firewood__offer-table-wrap{
  overflow-x:hidden;
}
.od-firewood__offer-table{
  width:100%;
  table-layout:fixed;
  font-size:.69rem;
}
.od-firewood__offer-table th,
.od-firewood__offer-table td{
  padding:6px 4px;
  line-height:1.22;
}
.od-firewood__offer-table th{
  font-size:.63rem;
  padding-right:11px;
}
.od-firewood__offer-table th small{
  font-size:.54rem;
}
.od-firewood__offer-table th:first-child,.od-firewood__offer-table td:first-child{width:24%}
.od-firewood__offer-table th:nth-child(2),.od-firewood__offer-table td:nth-child(2){width:8%}
.od-firewood__offer-table th:nth-child(3),.od-firewood__offer-table td:nth-child(3){width:10%}
.od-firewood__offer-table th:nth-child(4),.od-firewood__offer-table td:nth-child(4){width:12%}
.od-firewood__offer-table th:nth-child(5),.od-firewood__offer-table td:nth-child(5){width:12%}
.od-firewood__offer-table th:nth-child(6),.od-firewood__offer-table td:nth-child(6){width:10%}
.od-firewood__offer-table th:nth-child(7),.od-firewood__offer-table td:nth-child(7){width:12%}
.od-firewood__offer-table th:nth-child(8),.od-firewood__offer-table td:nth-child(8){width:12%}
.od-firewood__offer-table td:first-child strong{font-size:.68rem;line-height:1.2}
.od-firewood__offer-table td:first-child small{font-size:.56rem;line-height:1.22;margin-top:2px}
.od-firewood__offer-table td:nth-child(n+2){white-space:nowrap}
.od-firewood__offer-table td:nth-child(8){font-size:.66rem}
@media(max-width:900px){
  .od-firewood__offer-table-wrap{overflow-x:auto}
  .od-firewood__offer-table{min-width:720px}
}
@media(max-width:620px){
  .od-firewood__offer-actions{align-items:stretch!important;flex-direction:column!important;gap:10px!important}
  .od-firewood__offer-actions .od-firewood__compare-unit{width:100%!important;max-width:none;flex:0 0 auto}
  .od-firewood__offer-actions .od-firewood__submit{width:100%!important;min-width:0}
}


/* 0.5.36 — offer comparison polish: identical placeholders, inset actions, readable compact table ranges */
.od-firewood__offer-row [data-offer-amount]::placeholder,
.od-firewood__offer-row [data-offer-price]::placeholder,
.od-firewood__offer-row [data-offer-extra]::placeholder{
  color:#c5cec9!important;
  opacity:1!important;
  font-weight:400!important;
}
.od-firewood__offer-row [data-offer-amount]:not(:placeholder-shown),
.od-firewood__offer-row [data-offer-price]:not(:placeholder-shown),
.od-firewood__offer-row [data-offer-extra]:not(:placeholder-shown){
  color:#1c2821!important;
  font-weight:600!important;
}
.od-firewood__offer-actions{
  width:auto!important;
  max-width:calc(100% - 28px)!important;
  margin:14px 14px 0 auto!important;
  padding:0!important;
}
.od-firewood__offer-table{font-size:.72rem}
.od-firewood__offer-table th,.od-firewood__offer-table td{padding:7px 5px}
.od-firewood__offer-table td:nth-child(n+2){letter-spacing:-.005em}
@media(max-width:620px){
  .od-firewood__offer-actions{width:auto!important;max-width:none!important;margin:14px 0 0!important}
}

/* 0.5.37 — visible placeholder consistency; offer actions now use the exact compare-species action row */
.od-firewood__offer-row input[data-offer-amount]::placeholder,
.od-firewood__offer-row input[data-offer-price]::placeholder,
.od-firewood__offer-row input[data-offer-extra]::placeholder{
  color:#d0d7d3!important;
  opacity:1!important;
  font-weight:400!important;
}
.od-firewood__offer-row input[data-offer-amount]:not(:placeholder-shown),
.od-firewood__offer-row input[data-offer-price]:not(:placeholder-shown),
.od-firewood__offer-row input[data-offer-extra]:not(:placeholder-shown){
  color:#1c2821!important;
  font-weight:600!important;
}


/* 0.5.38 — targeted offer UI fixes */
.od-firewood__offer-row input[data-offer-amount]::placeholder,
.od-firewood__offer-row input[data-offer-price]::placeholder,
.od-firewood__offer-row input[data-offer-extra]::placeholder{
  color:#d2d9d5!important;
  opacity:1!important;
  font-weight:400!important;
  -webkit-text-fill-color:#d2d9d5!important;
}
.od-firewood__offer-row input[data-offer-amount]:not(:placeholder-shown),
.od-firewood__offer-row input[data-offer-price]:not(:placeholder-shown),
.od-firewood__offer-row input[data-offer-extra]:not(:placeholder-shown){
  color:#1c2821!important;
  -webkit-text-fill-color:#1c2821!important;
  font-weight:600!important;
}
.od-firewood__offer-actions{
  padding-right:18px!important;
  box-sizing:border-box!important;
}
@media(max-width:620px){
  .od-firewood__offer-actions{padding-right:0!important}
}

/* 0.5.41 — Mode 4 fuel selection; table visuals are intentionally global in tools.css. */
.od-firewood__need-building-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.od-firewood__panel-note{margin:10px 0 0;color:#69746e;font-size:.7rem;line-height:1.45}
.od-firewood__need-fuels{display:grid;gap:9px}
.od-firewood__need-fuel-row{
  display:grid;
  grid-template-columns:minmax(220px,1.5fr) minmax(110px,.55fr) minmax(110px,.55fr) 24px;
  gap:10px;
  align-items:end;
  min-width:0;
  padding:10px 11px;
  border:1px solid #dce6df;
  border-left:4px solid #79aa87;
  border-radius:10px;
  background:#fff;
}
.od-firewood__need-fuel-row>*{min-width:0}
.od-firewood__need-fuel-row:hover{background:#f8fbf9}
.od-firewood__need-remove{align-self:end;margin-bottom:9px!important}
.od-firewood__need-share-summary{margin:9px 0 0;color:#6b756f;font-size:.73rem;text-align:right}
.od-firewood__need-share-summary strong{color:#8b5f2c}
.od-firewood__need-share-summary.is-ok strong{color:#2f7546}
.od-firewood__need-table th:first-child,.od-firewood__need-table td:first-child{width:32%}
.od-firewood__need-table td:nth-child(n+2){white-space:nowrap}
@media(max-width:820px){
  .od-firewood__need-building-grid{grid-template-columns:1fr 1fr}
  .od-firewood__need-building-grid>.od-firewood__field:last-child{grid-column:1/2}
  .od-firewood__need-fuel-row{grid-template-columns:minmax(180px,1fr) 96px 96px 24px}
}
@media(max-width:620px){
  .od-firewood__need-building-grid{grid-template-columns:1fr}
  .od-firewood__need-building-grid>.od-firewood__field:last-child{grid-column:auto}
  .od-firewood__need-fuel-row{grid-template-columns:minmax(0,1fr) 26px}
  .od-firewood__need-fuel-row>.od-firewood__field{grid-column:1}
  .od-firewood__need-remove{grid-column:2;grid-row:1/4;align-self:center;margin:0!important}
}
.od-firewood__need-fuel-row{grid-template-columns:minmax(220px,1.5fr) minmax(110px,.55fr) 24px}
.od-firewood__form.is-need-mix .od-firewood__need-fuel-row{grid-template-columns:minmax(220px,1.5fr) minmax(110px,.55fr) minmax(110px,.55fr) 24px}
@media(max-width:820px){
  .od-firewood__need-fuel-row{grid-template-columns:minmax(180px,1fr) 96px 24px}
  .od-firewood__form.is-need-mix .od-firewood__need-fuel-row{grid-template-columns:minmax(180px,1fr) 96px 96px 24px}
}
@media(max-width:620px){
  .od-firewood__need-fuel-row,.od-firewood__form.is-need-mix .od-firewood__need-fuel-row{grid-template-columns:minmax(0,1fr) 26px}
}

/* 0.5.42 — Mode 4: building survey, compact shared row editor and sortable global table. */
.od-firewood__need-building-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
.od-firewood__need-building-grid .od-firewood__field>input{width:100%;min-width:0}
.od-firewood__need-survey{display:grid;gap:12px}
.od-firewood__need-survey-core{grid-template-columns:repeat(2,minmax(0,1fr))}
.od-firewood__need-survey-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:end}
.od-firewood__need-editor{--od-row-columns:minmax(220px,1.6fr) minmax(125px,.55fr) 26px}
.od-firewood__form.is-need-mix .od-firewood__need-editor{--od-row-columns:minmax(220px,1.6fr) minmax(125px,.55fr) minmax(120px,.5fr) 26px}
.od-firewood__need-row-grid{grid-template-columns:var(--od-row-columns)!important}
.od-firewood__need-fuels{display:grid;gap:7px}
.od-firewood__need-fuel-row{padding:8px 10px!important;border:1px solid #dce6df!important;border-left:4px solid #79aa87!important;border-radius:10px!important;background:#fff!important;align-items:center!important}
.od-firewood__need-fuel-row:hover{background:#f8fbf9!important}
.od-firewood__need-fuel-row .od-firewood__field{display:block}
.od-firewood__need-fuel-row .od-firewood__field input,
.od-firewood__need-fuel-row .od-firewood__field select{width:100%;min-width:0}
.od-firewood__need-remove{align-self:center!important;margin:0!important}
.od-firewood__need-table th:first-child,.od-firewood__need-table td:first-child{width:34%}
.od-firewood__need-table td:nth-child(n+2){white-space:nowrap}
.od-firewood__need-table td:first-child{white-space:normal}
@media(max-width:820px){
  .od-firewood__need-building-grid{grid-template-columns:1fr 1fr}
  .od-firewood__need-building-grid>.od-firewood__field:last-child{grid-column:auto}
  .od-firewood__need-survey-grid{grid-template-columns:1fr 1fr}
  .od-firewood__need-editor{--od-row-columns:minmax(180px,1fr) 110px 26px}
  .od-firewood__form.is-need-mix .od-firewood__need-editor{--od-row-columns:minmax(180px,1fr) 105px 100px 26px}
}
@media(max-width:620px){
  .od-firewood__need-building-grid,.od-firewood__need-survey-core,.od-firewood__need-survey-grid{grid-template-columns:1fr}
  .od-firewood__need-editor,.od-firewood__form.is-need-mix .od-firewood__need-editor{--od-row-columns:minmax(0,1fr) 26px}
  .od-firewood__need-fuel-row>.od-row-editor__field{grid-column:1}
  .od-firewood__need-remove{grid-column:2;grid-row:1/4;align-self:center!important}
}
@media(min-width:821px){
  .od-firewood__need-building-grid .od-firewood__field>span:first-child{min-height:2.35em;display:flex;align-items:flex-end}
}

/* 0.5.43 — Mode 4: refined demand survey; shared appliance picker is global in tools.css. */
.od-firewood__need-known-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.od-firewood__need-survey-core{grid-template-columns:minmax(220px,1fr) minmax(0,1fr)}
@media(max-width:700px){
  .od-firewood__need-known-grid,.od-firewood__need-survey-core{grid-template-columns:1fr}
}


/* Cost-mode input/output proportions. Shared controls own appearance and interactions. */
.od-firewood__cost-editor{
  --od-row-columns:minmax(0,1fr) 80px 100px 76px 24px;
}
.od-firewood__form.is-cost-mix .od-firewood__cost-editor{
  --od-row-columns:minmax(0,1fr) 76px 70px 92px 76px 24px;
}
.od-firewood__cost-row-grid{grid-template-columns:var(--od-row-columns)!important;column-gap:6px!important}
.od-firewood__cost-fuels{display:grid;gap:7px}
.od-firewood__cost-species-field{grid-column:1;grid-row:1}
.od-firewood__cost-moisture-field{grid-column:2;grid-row:1}
.od-firewood__cost-share-field{grid-column:3;grid-row:1}
.od-firewood__cost-price-field{grid-column:3;grid-row:1}
.od-firewood__cost-unit-field{grid-column:4;grid-row:1}
.od-firewood__cost-remove,.od-firewood__cost-remove-slot{grid-column:5;grid-row:1}
.od-firewood__cost-stack{grid-row:2}
.od-firewood__form.is-cost-mix .od-firewood__cost-price-field{grid-column:4}
.od-firewood__form.is-cost-mix .od-firewood__cost-unit-field{grid-column:5}
.od-firewood__form.is-cost-mix .od-firewood__cost-remove,.od-firewood__form.is-cost-mix .od-firewood__cost-remove-slot{grid-column:6}
.od-firewood__cost-table th[data-cost-sort="species"]{width:24%}
.od-firewood__cost-table th[data-cost-sort="moisture"]{width:8%}
.od-firewood__cost-table th[data-cost-sort="share"]{width:7%}
.od-firewood__cost-table th[data-cost-sort="energy"]{width:11%}
.od-firewood__cost-table th[data-cost-sort="quantity"]{width:16%}
.od-firewood__cost-table th[data-cost-sort="price"]{width:10%}
.od-firewood__cost-table th[data-cost-sort="season_cost"]{width:18%}
.od-firewood__cost-table th[data-cost-sort="cost_kwh"]{width:13%}
.od-firewood__cost-table.is-cost-mix th[data-cost-sort="species"]{width:20%}
.od-firewood__cost-table.is-cost-mix th[data-cost-sort="moisture"]{width:7%}
.od-firewood__cost-table.is-cost-mix th[data-cost-sort="energy"]{width:10%}
.od-firewood__cost-table.is-cost-mix th[data-cost-sort="price"]{width:9%}
@container(max-width:620px){
  .od-firewood__cost-editor .od-row-editor__head{display:none}
  .od-firewood__cost-row-grid{grid-template-columns:var(--od-row-columns)!important}
  .od-firewood__cost-fuel-row .od-row-editor__mobile-label{display:block;font-size:.65rem;margin-bottom:5px}
}
@container(max-width:520px){
  .od-firewood__cost-fuel-row.od-firewood__cost-row-grid{grid-template-columns:minmax(0,1fr) 24px!important}
  .od-firewood__cost-species-field{grid-column:1;grid-row:1}
  .od-firewood__cost-moisture-field{grid-column:1;grid-row:2}
  .od-firewood__cost-share-field{grid-column:1;grid-row:3}
  .od-tools .od-firewood__cost-editor .od-firewood__cost-price-field{grid-column:1;grid-row:3}
  .od-tools .od-firewood__cost-editor .od-firewood__cost-unit-field{grid-column:1;grid-row:4}
  .od-tools .od-firewood__cost-editor .od-firewood__cost-remove{grid-column:2;grid-row:1}
   .od-firewood__cost-stack{grid-row:5}
  .od-firewood__form.is-cost-mix .od-firewood__cost-price-field{grid-row:4}
  .od-firewood__form.is-cost-mix .od-firewood__cost-unit-field{grid-row:5}
  .od-firewood__form.is-cost-mix .od-firewood__cost-stack{grid-row:6}
}
@container(max-width:600px){.od-tools .od-firewood__cost-table th[data-cost-sort]{width:auto}}

/* 09F2 — selected sort headers show a small triangle instead of a second arrow. */
.od-firewood__compare-table th[data-compare-sort].is-sorted::after,
.od-firewood__offer-table th[data-offer-sort].is-sorted::after{font-size:8px}

/* 09G3: clearer baseline quantity in species comparison, without changing data. */
.od-firewood__compare-main .od-firewood__base-meta{align-items:center;gap:9px 12px}
.od-firewood__compare-main .od-firewood__base-amount{
  display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;
  padding:7px 11px;background:#fff;border:1px solid #bdd7c5;
  border-left:4px solid #27724d;border-radius:8px;
}
.od-firewood__compare-main .od-firewood__base-amount small{
  display:inline;margin:0;font-size:.72rem;letter-spacing:0;
  font-weight:750;color:#426450;text-transform:none;
}
.od-firewood__compare-main .od-firewood__base-amount strong{
  display:inline;margin:0;color:#104b31;font-size:1.3rem;
  line-height:1.15;font-weight:800;white-space:nowrap;
}
/* 09G3: offer cards adapt to their actual widget width (not viewport width).
   Prevent 4-column min-widths from pushing the editor beyond its right edge. */
.od-firewood [data-mode-panel="offers"]{container:od-firewood-offers / inline-size;min-width:0;max-width:100%}
.od-firewood [data-offers-form],
.od-firewood [data-offers-form] .od-firewood__panel,
.od-firewood__offer-rows,.od-firewood__offer-row,
.od-firewood__offer-material,.od-firewood__offer-price,
.od-firewood__offer-stack{min-width:0;max-width:100%;box-sizing:border-box}
.od-firewood__offer-material>*,.od-firewood__offer-price>*,
.od-firewood__offer-stack>*{min-width:0;max-width:100%}
.od-firewood__offer-material select,.od-firewood__offer-material input,
.od-firewood__offer-price select,.od-firewood__offer-price input,
.od-firewood__offer-stack select,.od-firewood__offer-stack input{
  min-width:0!important;max-width:100%;box-sizing:border-box;
}
.od-firewood__offer-material [data-offer-unit]{min-width:0!important}
@container od-firewood-offers (max-width:730px){
  .od-firewood__offer-material{
    grid-template-columns:minmax(0,1.45fr) minmax(0,.85fr)!important;
    gap:10px;
  }
  .od-firewood__offer-price{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .od-firewood__offer-price .od-firewood__field:last-child{
    grid-column:1/-1;
  }
}
@container od-firewood-offers (max-width:430px){
  .od-firewood__offer-material,
  .od-firewood__offer-price{grid-template-columns:minmax(0,1fr)!important}
  .od-firewood__offer-price .od-firewood__field:last-child{grid-column:auto}
  .od-firewood__offer-stack{grid-template-columns:68px minmax(0,1fr) 34px}
}

/* 09G4A — dependable 0.1 amount controls regardless of decimal precision. */
.od-firewood .od-firewood__amount-control{position:relative;display:flex;min-width:0;width:100%;height:42px}
.od-firewood .od-firewood__amount-control>input{height:42px;min-width:0;width:100%;padding-right:42px!important}
.od-firewood .od-firewood__amount-control>input::-webkit-inner-spin-button,
.od-firewood .od-firewood__amount-control>input::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}
.od-firewood .od-firewood__amount-control>input{-moz-appearance:textfield}
.od-firewood .od-firewood__amount-spin{position:absolute;right:1px;top:1px;bottom:1px;width:34px;display:flex;flex-direction:column;border-left:1px solid #cfdad3;overflow:hidden;border-radius:0 6px 6px 0}
.od-firewood .od-firewood__amount-spin button{flex:1;display:flex;align-items:center;justify-content:center;min-height:0!important;height:50%;width:100%;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:#f8faf8!important;color:#326747!important;font:700 9px/1 Arial,sans-serif!important;box-shadow:none!important;cursor:pointer;touch-action:manipulation;user-select:none}
.od-firewood .od-firewood__amount-spin button+button{border-top:1px solid #cfdad3!important}
.od-firewood .od-firewood__amount-spin button:hover,.od-firewood .od-firewood__amount-spin button:focus-visible{background:#e8f4eb!important;outline:1px solid #96c4a8;outline-offset:-1px}

/* 09G5 — money steppers share the exact-amount control without hiding zł. */
.od-firewood .od-firewood__offer-price .od-firewood__money-control{
  flex:1 1 0;min-width:0;width:auto;height:42px;border-radius:7px 0 0 7px;
}
.od-firewood .od-firewood__offer-price .od-firewood__money-control>input{
  width:100%;min-width:0;border-radius:7px 0 0 7px!important;
}
.od-firewood .od-firewood__offer-price .od-firewood__input-unit>b{flex:0 0 34px;min-width:34px}
.od-firewood .od-firewood__offer-highlights strong span{display:block;overflow-wrap:anywhere}
.od-firewood .od-firewood__offer-highlights strong span:first-child{font-size:1.02rem;line-height:1.35}
.od-firewood .od-firewood__offer-highlights strong span+span{font-size:1.28rem;line-height:1.3;margin-top:3px;font-variant-numeric:tabular-nums}

/* 09G50 — koszt ogrzewania: wygodny edytor, bez ściskania 5 pól w jednym rzędzie.
   Dotyczy wyłącznie trybu kosztowego; globalne sterowanie strzałkami pozostaje bez zmian. */
.od-tools .od-firewood__cost-editor .od-row-editor__head{display:none!important}
.od-tools .od-firewood__cost-fuel-row.od-firewood__cost-row-grid{
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  gap:10px!important;
  padding:13px 14px!important;
  align-items:end!important;
  border:1px solid #dce6df;
  border-left:4px solid #75a783;
  border-radius:10px;
  background:#fff;
}
.od-tools .od-firewood__cost-fuel-row .od-row-editor__mobile-label{
  display:block!important;
  margin:0 0 5px!important;
  color:#44564b;font-size:.73rem;font-weight:750;line-height:1.25;
}
.od-tools .od-firewood__cost-fuel-row>.od-firewood__field{display:block;min-width:0}
.od-tools .od-firewood__cost-fuel-row .od-firewood__field>select,
.od-tools .od-firewood__cost-fuel-row .od-firewood__field>.od-speed-stepper,
.od-tools .od-firewood__cost-fuel-row .od-firewood__field>input{
  display:flex;width:100%;max-width:100%;min-width:0;
  min-height:42px;box-sizing:border-box;
}
.od-tools .od-firewood__cost-fuel-row .od-speed-stepper>input{
  min-width:0;width:100%;height:42px!important;
  font-size:.87rem;font-weight:650;color:#243d2d;
}
.od-tools .od-firewood__cost-fuel-row .od-firewood__field>select{
  font-size:.85rem;font-weight:650;color:#243d2d;
}
.od-tools .od-firewood__cost-fuel-row>.od-firewood__cost-species-field{grid-column:1/12!important;grid-row:1!important}
.od-tools .od-firewood__cost-fuel-row>.od-firewood__cost-remove{grid-column:12/-1!important;grid-row:1!important;align-self:end!important;margin-bottom:8px!important}
.od-tools .od-firewood__cost-fuel-row>.od-firewood__cost-moisture-field{grid-column:1/5!important;grid-row:2!important}
.od-tools .od-firewood__cost-fuel-row>.od-firewood__cost-price-field{grid-column:5/10!important;grid-row:2!important}
.od-tools .od-firewood__cost-fuel-row>.od-firewood__cost-unit-field{grid-column:10/-1!important;grid-row:2!important}
.od-tools .od-firewood__cost-fuel-row>.od-firewood__cost-share-field{display:none;grid-column:4/7!important;grid-row:2!important}
.od-tools .od-firewood__form.is-cost-mix .od-firewood__cost-fuel-row>.od-firewood__cost-moisture-field{grid-column:1/4!important}
.od-tools .od-firewood__form.is-cost-mix .od-firewood__cost-fuel-row>.od-firewood__cost-share-field:not([hidden]){display:block;grid-column:4/7!important}
.od-tools .od-firewood__form.is-cost-mix .od-firewood__cost-fuel-row>.od-firewood__cost-price-field{grid-column:7/11!important}
.od-tools .od-firewood__form.is-cost-mix .od-firewood__cost-fuel-row>.od-firewood__cost-unit-field{grid-column:11/-1!important}
.od-tools .od-firewood__cost-fuel-row>.od-firewood__cost-stack{grid-column:1/-1!important;grid-row:3!important}
@container(max-width:430px){
  .od-tools .od-firewood__cost-fuel-row>.od-firewood__cost-moisture-field{grid-column:1/7!important;grid-row:2!important}
  .od-tools .od-firewood__cost-fuel-row>.od-firewood__cost-price-field{grid-column:1/-1!important;grid-row:3!important}
  .od-tools .od-firewood__cost-fuel-row>.od-firewood__cost-unit-field{grid-column:7/-1!important;grid-row:2!important}
  .od-tools .od-firewood__form.is-cost-mix .od-firewood__cost-fuel-row>.od-firewood__cost-moisture-field{grid-column:1/7!important}
  .od-tools .od-firewood__form.is-cost-mix .od-firewood__cost-fuel-row>.od-firewood__cost-share-field:not([hidden]){grid-column:7/-1!important;grid-row:2!important}
  .od-tools .od-firewood__form.is-cost-mix .od-firewood__cost-fuel-row>.od-firewood__cost-price-field{grid-column:1/9!important;grid-row:3!important}
  .od-tools .od-firewood__form.is-cost-mix .od-firewood__cost-fuel-row>.od-firewood__cost-unit-field{grid-column:9/-1!important;grid-row:3!important}
  .od-tools .od-firewood__cost-fuel-row>.od-firewood__cost-stack,
  .od-tools .od-firewood__form.is-cost-mix .od-firewood__cost-fuel-row>.od-firewood__cost-stack{grid-row:4!important}
}
/* Wyniki: nazwa gatunku czytelna w osobnym wierszu, bez łamania wyrazów. */
@media(min-width:621px){
  .od-tools .od-firewood__cost-table-wrap{overflow-x:auto}
  .od-tools .od-firewood__cost-table{min-width:780px;table-layout:fixed}
}
.od-tools .od-firewood__cost-table tbody td:first-child{overflow-wrap:normal;word-break:normal;hyphens:none;text-align:left}
.od-tools .od-firewood__cost-table tbody td:first-child>strong{display:block;line-height:1.35;overflow-wrap:normal;word-break:normal;hyphens:none}
.od-tools .od-firewood__cost-table tbody td:first-child>small{display:block;margin-top:3px;line-height:1.35;overflow-wrap:normal;word-break:normal;hyphens:none;color:#64756a}


/* 09G51 — highlight the exact ingredient lacking reference data, not the whole form. */
.od-tools .od-firewood__cost-fuel-row.is-cost-data-unavailable{
  border-color:#be5959!important;
  box-shadow:inset 3px 0 0 #b64e4e;
  background:#fff8f7;
}
.od-tools .od-firewood__cost-fuel-row.is-cost-data-unavailable select[data-cost-fuel-species]{
  border-color:#b64e4e!important;
}

/* 09G52 — koszt ogrzewania: bez przewijania bocznego, pokazujemy koszty, nie 8 ciasnych kolumn. */
.od-tools .od-firewood__cost-table-wrap{overflow-x:visible;max-width:100%;min-width:0}
.od-tools .od-firewood__cost-table,
.od-tools .od-firewood__cost-table.is-cost-mix{width:100%;max-width:100%;min-width:0;table-layout:fixed}
.od-tools .od-firewood__cost-table th[data-cost-sort],
.od-tools .od-firewood__cost-table.is-cost-mix th[data-cost-sort]{width:auto}
.od-tools .od-firewood__cost-table.is-cost-mix th[data-cost-sort="species"]{width:38%}
.od-tools .od-firewood__cost-table.is-cost-mix th[data-cost-sort="share"]{width:10%}
.od-tools .od-firewood__cost-table.is-cost-mix th[data-cost-sort="quantity"]{width:17%}
.od-tools .od-firewood__cost-table.is-cost-mix th[data-cost-sort="price"]{width:17%}
.od-tools .od-firewood__cost-table.is-cost-mix th[data-cost-sort="season_cost"]{width:18%}
.od-tools .od-firewood__cost-table:not(.is-cost-mix) th[data-cost-sort="species"]{width:42%}
.od-tools .od-firewood__cost-table:not(.is-cost-mix) th[data-cost-sort="quantity"]{width:19%}
.od-tools .od-firewood__cost-table:not(.is-cost-mix) th[data-cost-sort="price"]{width:19%}
.od-tools .od-firewood__cost-table:not(.is-cost-mix) th[data-cost-sort="season_cost"]{width:20%}
.od-tools .od-firewood__cost-table :is(th,td){box-sizing:border-box;overflow-wrap:normal;word-break:normal;padding:7px 5px}
.od-tools .od-firewood__cost-table th{font-size:.66rem}
.od-tools .od-firewood__cost-table td{font-size:.76rem;line-height:1.35}
.od-tools .od-firewood__cost-table td:first-child{padding:9px 8px}
.od-tools .od-firewood__cost-table .od-table__number{white-space:nowrap;font-variant-numeric:tabular-nums}
.od-tools .od-firewood__cost-table td small{overflow-wrap:normal;word-break:normal}
.od-tools .od-firewood__cost-table td .od-firewood__cost-species-meta{font-size:.67rem;line-height:1.4}
.od-tools .od-firewood__cost-table .od-firewood__cost-amount strong{color:#075034;font-size:.86rem}
.od-tools .od-firewood__cost-table tbody td:not(:first-child){text-align:center}
.od-tools [data-mode-panel="cost"] .od-result-highlight>div:first-child strong{font-size:clamp(1.5rem,3.1vw,1.8rem)}
/* Przy ekranach węższych od 600 px, wspólny komponent tabeli pokazuje całe
   dane jako karty dwu-kolumnowe, bez suwaka poziomego. */
@container(max-width:600px){
  .od-tools .od-firewood__cost-table,
  .od-tools .od-firewood__cost-table.is-cost-mix{display:block;min-width:0;max-width:100%}
  .od-tools .od-firewood__cost-table thead{display:none}
  .od-tools .od-firewood__cost-table tbody{display:grid;gap:10px;padding:7px 0}
  .od-tools .od-firewood__cost-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--od-color-border);border-radius:8px;overflow:hidden}
  .od-tools .od-firewood__cost-table tbody td{display:block;text-align:left!important;padding:9px 11px;min-width:0;border:0;border-top:1px solid #e5ebe7}
  .od-tools .od-firewood__cost-table tbody td:first-child{grid-column:1/-1;border-top:0;background:#f6faf7}
  .od-tools .od-firewood__cost-table tbody td:last-child{background:#edf6ef}
  .od-tools .od-firewood__cost-table tbody td[data-label]::before{content:attr(data-label);display:block;margin-bottom:4px;font-size:.65rem;color:#65776b;font-weight:650}
  .od-tools .od-firewood__cost-table tbody td:first-child::before{display:none}
  .od-tools .od-firewood__cost-table tbody td .od-table__number{white-space:normal}
}

/* 09G52 — w szerokości tabletowej 541–600 px nadal pokazujemy kompaktową
   tabelę; karty uruchamiamy dopiero tam, gdzie nawet 5 kolumn byłoby ciasne. */
@container (min-width:541px) and (max-width:600px){
  .od-tools .od-firewood__cost-table,
  .od-tools .od-firewood__cost-table.is-cost-mix{display:table;width:100%;table-layout:fixed}
  .od-tools .od-firewood__cost-table thead{display:table-header-group;width:auto}
  .od-tools .od-firewood__cost-table tbody{display:table-row-group;width:auto;padding:0}
  .od-tools .od-firewood__cost-table thead tr,
  .od-tools .od-firewood__cost-table tbody tr{display:table-row;border:0;border-radius:0}
  .od-tools .od-firewood__cost-table thead th{display:table-cell;text-align:center;padding:7px 4px}
  .od-tools .od-firewood__cost-table tbody td{display:table-cell;min-width:0;padding:8px 4px;border-top:0;border-bottom:1px solid #e5ebe7;text-align:center!important}
  .od-tools .od-firewood__cost-table tbody td:first-child{background:transparent;text-align:left!important;padding-left:8px}
  .od-tools .od-firewood__cost-table tbody td:last-child{background:transparent}
  .od-tools .od-firewood__cost-table tbody td[data-label]::before{display:none}
  .od-tools .od-firewood__cost-table th[data-cost-sort="species"]{width:38%}
  .od-tools .od-firewood__cost-table th[data-cost-sort="share"]{width:10%}
  .od-tools .od-firewood__cost-table th[data-cost-sort="quantity"]{width:17%}
  .od-tools .od-firewood__cost-table th[data-cost-sort="price"]{width:17%}
  .od-tools .od-firewood__cost-table th[data-cost-sort="season_cost"]{width:18%}
}

/* 09G53 — koszt sezonu: zakres jako dwie odrębne, niełamane kwoty. */
.od-tools [data-mode-panel="cost"] .od-result-highlight>div:first-child .od-firewood__cost-range{
  display:grid;gap:5px;margin-top:8px;min-width:0;font-size:inherit;line-height:1.2;
}
.od-tools [data-mode-panel="cost"] .od-firewood__cost-range-line{
  display:flex;gap:6px;align-items:baseline;white-space:nowrap;min-width:0;
}
.od-tools [data-mode-panel="cost"] .od-firewood__cost-range-prefix{
  display:inline-block;flex:0 0 19px;color:#5c7163;font-size:.74rem;font-weight:650;
}
.od-tools [data-mode-panel="cost"] .od-firewood__cost-range-amount{
  color:#143d29;font-size:clamp(1.08rem,2.15vw,1.52rem);font-weight:780;font-variant-numeric:tabular-nums;letter-spacing:-.02em;
}
.od-tools [data-mode-panel="cost"] .od-firewood__cost-range-unit{
  color:#143d29;font-size:.87rem;font-weight:750;
}
.od-tools [data-mode-panel="cost"] .od-firewood__cost-single{
  white-space:nowrap;font-size:clamp(1.16rem,2.25vw,1.6rem)!important;
}

/* 09G54 — entered amounts versus examples, not solely distinguishable by color. */
.od-tools .od-firewood__cost-fuel-row input::placeholder{opacity:1!important;color:#9ca9a3!important;font-style:italic!important;font-weight:400!important}
.od-tools .od-firewood__cost-fuel-row input:placeholder-shown{background:#fbfcfb!important}
.od-tools .od-firewood__cost-fuel-row input:not(:placeholder-shown){color:#123b2d!important;font-weight:750!important;font-style:normal!important;background:#fff!important}
.od-tools .od-firewood__cost-fuel-row.is-cost-blank [data-cost-fuel-species]{font-style:italic!important;font-weight:500!important;color:#788980!important;background:#fafcfa!important}
