/* v35: Forecast button + bottom sheet, monthly production, supplies row + adjust sheet. Ported from the approved mockups. */
#sheet2{position:fixed;left:50%;bottom:0;transform:translate(-50%,105%);width:100%;max-width:480px;max-height:92dvh;overflow-y:auto;background:#fff;border-radius:30px 30px 0 0;box-shadow:0 -10px 30px rgba(21,57,104,.28);z-index:55;transition:transform .25s;padding-bottom:20px}
#sheet2.on{transform:translate(-50%,0)}
#shade2{position:fixed;inset:0;background:rgba(11,22,38,.45);z-index:52;opacity:0;pointer-events:none;transition:opacity .2s}#shade2.on{opacity:1;pointer-events:auto}
.fcbtn{display:flex;align-items:center;gap:10px;width:100%;margin:10px 0 2px;background:linear-gradient(180deg,#1FA463,#16844E);color:#fff;border-radius:16px;padding:14px 16px;text-align:left;font-family:inherit;border:0;cursor:pointer;box-shadow:0 6px 16px rgba(22,132,78,.28)}
.fcbtn .t{font-size:19px;font-weight:800;letter-spacing:-.2px}
.fcbtn .s{display:block;font-size:12.5px;font-weight:700;color:#D6F5E4;margin-top:1px}
.fcbtn .sp{flex:1}
.fcbtn .ex{text-align:right}.fcbtn .ex b{display:block;font-size:22px;line-height:1}.fcbtn .ex small{font-size:11px;font-weight:700;color:#D6F5E4}
.fcbtn .chv{transition:transform .2s}.fcbtn.open .chv{transform:rotate(180deg)}
.fccalc{display:flex;align-items:center;gap:8px;background:#fff;border-radius:12px;padding:10px 12px;font-size:14px;color:#335;}
.fccalc b{color:#153968;font-size:17px}
.fccalc .dl{margin-left:auto;font-size:12.5px;font-weight:800;color:#146C43;background:#DDF3E8;border-radius:99px;padding:4px 9px;white-space:nowrap}
.fcsaved{display:flex;gap:6px;align-items:center;margin-top:8px;font-size:12.5px;font-weight:700;color:#146C43}
.prod{margin-top:6px}
.prod .ph{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.prod .ph b{font-size:15px;color:#153968}.prod .ph span{font-size:12px;font-weight:600;color:var(--gray)}
.prod .psub{font-size:12.5px;color:#6B7A8F;margin:2px 0 8px}
.ptot{display:flex;gap:8px;margin-top:8px}.ptot>div{flex:1;background:#F3F6FA;border-radius:12px;padding:8px 10px}.ptot small{display:block;font-size:11px;font-weight:700;color:#6B7A8F}.ptot b{font-size:19px;color:#153968}
.cols{display:flex;align-items:flex-end;gap:5px;height:118px;padding:6px 2px 0;position:relative}
.col{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;min-width:0}
.col .v{font-size:12px;font-weight:800;color:#153968;margin-bottom:3px}.col .bar2{width:100%;max-width:30px;border-radius:7px 7px 2px 2px;background:#A9BAD0}
.col.now .bar2{background:#009CA6}.col.zero .v{color:#98A5B6}.col.zero .bar2{height:4px!important;background:#C9D3E0}
.cmon{display:flex;gap:5px;padding:5px 2px 0}.cmon span{flex:1;text-align:center;font-size:11.5px;font-weight:700;color:#6B7A8F}.cmon span.now{color:#009CA6;font-weight:800}
.fline2{position:absolute;left:0;right:0;border-top:2px dashed #16844E;z-index:2;pointer-events:none}.fline2 em{position:absolute;right:0;top:-18px;font-style:normal;font-size:11px;font-weight:800;color:#16844E;background:#fff;padding:0 4px;border-radius:6px}
.pacechip{display:flex;align-items:center;gap:8px;margin-top:10px;background:#F3FAF6;border-radius:12px;padding:9px 12px;font-size:13px;color:#335}
.pacechip b{color:#146C43}
.bigex{text-align:center;padding:6px 0 4px}.bigex b{display:block;font-size:54px;line-height:1;color:#153968;letter-spacing:-2px}.bigex span{font-size:13px;font-weight:700;color:#6B7A8F}
.rng{width:100%;accent-color:#16844E;height:36px;margin:2px 0 0}
.impact{display:flex;align-items:center;gap:10px;background:#153968;color:#fff;border-radius:16px;padding:12px 14px;margin-top:12px}
.impact small{display:block;font-size:11px;font-weight:700;color:#BFD0E6}.impact b{font-size:22px}
.impact .arw{margin-left:auto;text-align:right;background:none;box-shadow:none;border:0;padding:0;width:auto}.impact .up{color:#7FF0B5;font-size:13px;font-weight:800}
.adjbtn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:12px;background:#153968;color:#fff;border:0;border-radius:14px;padding:13px;font:800 16px Arial,sans-serif}
.adjbtn.ghost{background:#EAF1FA;color:#153968;width:auto;margin:0;padding:9px 14px;font-size:14px;border-radius:99px}
.supp{display:flex;align-items:center;gap:11px;margin-top:10px;background:#F3F6FA;border-radius:16px;padding:10px 12px}
.supp .ico{width:38px;height:38px;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;color:#153968;flex:none}
.supp .tx{flex:1;min-width:0}.supp .tx small{display:block;font-size:11.5px;font-weight:800;letter-spacing:.5px;color:#6B7A8F;text-transform:uppercase}.supp .tx b{font-size:19px;color:#153968}.supp .tx b em{font-style:normal;font-size:13px;color:#6B7A8F;font-weight:700;margin-left:5px}
.supp .sub2{font-size:12px;color:#8F5400;font-weight:700;margin-top:1px}
.ptwo{margin-top:8px;font-size:12.5px;color:#6B7A8F}
.pingc{margin:12px 0 4px;background:#FFF7E8;border:1.5px solid #F2C879;border-radius:18px;padding:12px 14px}
.pingc .q{font-size:17px;font-weight:800;color:#5A3A00;display:flex;gap:8px;align-items:center}.pingc p{margin:4px 0 10px;font-size:14px;color:#6B5320;line-height:1.35}
.pingc .row2{display:flex;gap:8px}.pingc .row2 button{flex:1;border-radius:12px;padding:11px;font:800 15px Arial;border:0}.pingc .yes{background:#C77700;color:#fff}.pingc .no{background:#fff;color:#6B5320;border:1.5px solid #E7C98E!important}
.pstate{margin-top:6px;border-radius:14px;padding:10px 12px;font-size:13.5px;line-height:1.35;display:flex;gap:10px;align-items:flex-start}
.pstate.wait{background:#EAF1FA;color:#153968}.pstate.none{background:#FFF1DA;color:#6B4200}.pstate.go{background:#E8F7F8;color:#0B5F66}
.pstate b{display:block;font-size:15px}.pstate .ic{flex:none;margin-top:1px}
.col.ghost .bar2{background:repeating-linear-gradient(45deg,#DDE5EF 0 4px,#EEF2F7 4px 8px)!important;border:1.5px dashed #AEBBCD}
.col.ghost .v{color:#98A5B6}
.otag{display:inline-block;font-size:11px;font-weight:800;border-radius:99px;padding:2px 8px;background:#FDE6E4;color:#A02B20;margin-left:6px;vertical-align:middle}
.otag.am{background:#FFF1DA;color:#8F5400}.otag.bl{background:#EAF1FA;color:#153968}
.sh .dirrow{display:flex;gap:8px;margin:6px 0 2px}
.rsn{display:flex;gap:10px;align-items:center;width:100%;text-align:left;background:#fff;border:1.5px solid #D7E2EE;border-radius:14px;padding:12px;margin-top:8px;font:700 15.5px Arial;color:#223044}
.rsn small{display:block;font-weight:400;font-size:12.5px;color:#6B7A8F;margin-top:1px}
.rsn .rd{width:22px;height:22px;border-radius:50%;border:2px solid #AEBBCD;flex:none;display:flex;align-items:center;justify-content:center}
.rsn.on{border-color:#16844E;background:#F3FAF6}.rsn.on .rd{border-color:#16844E;background:#16844E;color:#fff}
.rsn.down.on{border-color:#C77700;background:#FFF9EE}.rsn.down.on .rd{border-color:#C77700;background:#C77700}
.newtot{display:flex;align-items:center;justify-content:center;gap:12px;margin:6px 0 4px}
.newtot .a{font-size:26px;font-weight:700;color:#98A5B6}.newtot .b{font-size:50px;font-weight:800;color:#153968;letter-spacing:-1.5px;line-height:1}.newtot .d{font-size:15px;font-weight:800;border-radius:99px;padding:3px 10px}.newtot .d.up{background:#E3F7EC;color:#0F5A37}.newtot .d.dn{background:#FFF1DA;color:#8F5400}
.nbox{width:100%;border:1.5px solid #D7E2EE;border-radius:14px;padding:10px 12px;font:15px Arial;color:#223044;min-height:44px;background:#fff}
.nbox.ph{color:#98A5B6}.ncount{font-size:12px;color:#8896A8;text-align:right;margin-top:3px}
.savebtn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:10px;background:linear-gradient(180deg,#1FA463,#16844E);color:#fff;border:0;border-radius:15px;padding:15px;font:800 17px Arial;box-shadow:0 6px 14px rgba(22,132,78,.3)}
.savebtn.dis{background:#C8D2DF;box-shadow:none}
.conf{text-align:center;padding:10px 6px 4px}.conf .ok{width:64px;height:64px;border-radius:50%;background:#E3F7EC;color:#16844E;display:flex;align-items:center;justify-content:center;margin:6px auto 10px}
.conf h3{margin:0;font-size:22px;color:#153968}.conf .eq{font-size:34px;font-weight:800;color:#153968;margin:8px 0 2px}.conf p{font-size:14px;color:#4B5A6E;margin:4px 0}
.conf .box{text-align:left;background:#F3F6FA;border-radius:14px;padding:10px 12px;margin-top:12px;font-size:13.5px;color:#3A4756;line-height:1.5}.conf .box b{color:#153968}
.lockn{font-size:12.5px;color:#6B7A8F;margin-top:8px;display:flex;gap:6px;align-items:center}
.alog{display:flex;flex-direction:column;gap:7px;margin-top:6px}
.alog .ev{display:flex;gap:10px;background:#F6F8FB;border-radius:12px;padding:9px 11px}.alog .ev .dot{width:30px;height:30px;border-radius:10px;flex:none;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px}
.alog .ev .up{background:#E3F7EC;color:#0F5A37}.alog .ev .dn{background:#FFF1DA;color:#8F5400}.alog .ev .sh2{background:#EAF1FA;color:#153968}.alog .ev .ot{background:#EEF2F7;color:#4B5A6E}
.alog .ev b{font-size:14.5px;color:#153968;display:block}.alog .ev span{font-size:12.5px;color:#6B7A8F;display:block}.alog .ev i{font-style:normal;font-size:13px;color:#223044;display:block;margin-top:2px}
.alog .ev.new{outline:2px solid #1FA463;background:#F3FAF6}
.ev b .nwtag{display:inline-block!important;font-size:10px;font-weight:800;background:#1FA463;color:#fff;border-radius:99px;padding:2px 7px;margin-left:6px;vertical-align:middle}
.alr{display:flex;gap:10px;background:#fff;border-radius:16px;padding:12px;margin:8px 16px;box-shadow:0 2px 8px rgba(21,57,104,.08);border-left:5px solid #C77700}.alr b{color:#153968;font-size:15px;display:block}.alr span{font-size:13px;color:#6B7A8F}.alr .go{margin-left:auto;align-self:center;background:#C77700;color:#fff;border-radius:99px;padding:7px 12px;font:800 13px Arial;flex:none}
#sheet2{padding-bottom:calc(20px + env(safe-area-inset-bottom))}
.fcbtn:disabled{opacity:.85}
.fcbtn.view{background:linear-gradient(180deg,#5E8F78,#4A7A64);box-shadow:none}
.fcsaved.err{color:#A02B20}
.fline .fx{font-size:13px;font-weight:700;color:#D6F5FA;white-space:nowrap}.fline .fx b{font-size:17px;color:#fff}
.alr{cursor:pointer;text-decoration:none}
.nxt2{font-size:12.5px;color:#6B7A8F;margin-top:2px}
.supp .sub3{font-size:12px;color:#6B7A8F;margin-top:1px}
.alog .ev .rv{margin-left:auto;align-self:flex-start;background:#fff;border:1.5px solid #D7E2EE;color:#A02B20;border-radius:99px;padding:4px 10px;font:800 12px Arial;flex:none}
.alog .ev.rev{opacity:.62}.alog .ev.rev b{text-decoration:line-through}
.alog .ev .tx{flex:1;min-width:0}
.sh .errline2{color:#A02B20;font-size:13px;font-weight:700;margin-top:8px;text-align:center}
.pad .alr{margin:8px 0}
