.bc-tool{margin:28px 0;padding:20px;border:1px solid #c5d0be;border-radius:8px;background:#f6f5ed;max-width:100%;box-sizing:border-box}
.bc-tool summary{font-family:Georgia,serif;font-size:23px;line-height:1.35;cursor:pointer;color:#294d37;min-height:44px}
.bc-tool[open]>summary{margin-bottom:18px}.bc-tool fieldset{border:0;padding:0;margin:22px 0;min-width:0}.bc-tool legend{font-weight:700;margin-bottom:16px}
.bc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.bc-field{display:grid;gap:7px;align-content:start;min-width:0}.bc-field label{font-weight:600;line-height:1.5}
.bc-tool input,.bc-tool select,.bc-tool textarea{width:100%;box-sizing:border-box;font:inherit;color:#263c2f;border:1px solid #919e88;border-radius:5px;min-height:44px;padding:10px;background:#fffdf8;max-width:100%}.bc-tool textarea{resize:vertical}.bc-field small{font-size:13px;line-height:1.55;color:#465344}
.bc-actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.bc-actions .button{white-space:normal;min-height:44px;line-height:1.45;max-width:100%}.bc-actions .button:disabled{opacity:.6;cursor:not-allowed}
.bc-tool :focus-visible{outline:3px solid #895332;outline-offset:3px}.bc-errors{padding:14px;border:2px solid #9d482c;background:#fff5ec;margin:16px 0}.bc-error{color:#8b351f;font-size:14px}.bc-field [aria-invalid=true]{border:2px solid #9d482c}
.bc-example-label,.bc-static-example{padding:12px 15px;background:#ebe9d8;border-left:3px solid #8a653e}.bc-tool [hidden]{display:none!important}.bc-tool p,.bc-tool label{overflow-wrap:anywhere}
.bc-figure{margin:26px 0;padding:16px;border:1px solid #d5d9ca;background:#faf8ef;border-radius:8px;box-sizing:border-box}.bc-figure img{display:block;width:100%;height:auto}.bc-figure figcaption{margin-top:12px;font-weight:600;line-height:1.6}.bc-figure p{margin-bottom:0;font-size:14px}
.bc-tool svg{display:block;width:100%;height:auto;max-width:100%;margin:18px 0}.bc-source-check{font-size:14px}.bc-tool select{white-space:normal}.bc-subtool{border-top:1px solid #c5d0be;padding:18px 0}.bc-subtool>summary{font-size:20px}
.bc-condition{padding:12px 16px;border-left:3px solid #8a653e;background:#edf0e3;font-weight:600;color:#294d37}.bc-ledger-link{padding:16px 20px;border-left:3px solid #8a653e;background:#f0efdf}
.bc-record-group{margin:20px 0}.bc-record-group table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}.bc-record-group td,.bc-record-group th{padding:8px;border-bottom:1px solid #c5d0be;vertical-align:top;overflow-wrap:anywhere}.bc-record-group caption{text-align:left;padding:8px 0;font-weight:600}.bc-record-group .button{min-height:44px;max-width:100%;white-space:normal;padding:7px;font-size:14px}.bc-blank{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.7}
@media(max-width:650px){.bc-fields{grid-template-columns:1fr}.bc-tool{padding:16px}.bc-tool summary{font-size:21px}.bc-figure{padding:10px}.bc-actions{gap:10px}.bc-actions .button{width:100%}.bc-record-group table,.bc-record-group tbody,.bc-record-group tr,.bc-record-group td{display:block;width:100%;box-sizing:border-box}.bc-record-group thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.bc-record-group tr{margin:12px 0;border:1px solid #c5d0be;background:#fffdf8}.bc-record-group td:before{content:attr(data-label) ': ';font-weight:600}.bc-record-group td:has(button):before{content:none}.bc-record-group caption{display:block}}
@media print{.bc-tool,.bc-figure{box-shadow:none;background:#fff}.bc-actions,.bc-errors{display:none}.bc-fields{display:block}.bc-field{margin:12px 0}.bc-tool textarea{overflow:visible;min-height:8em}.bc-record-group{break-inside:auto}}
.bc-harvest{margin:24px 0;padding:24px;border:1px solid #b5c3a9;border-radius:10px;background:#fffdf5;color:#263c2f;box-sizing:border-box;overflow-wrap:anywhere}
.bc-harvest figcaption{font-family:Georgia,serif;font-size:27px;line-height:1.3;color:#294d37}.bc-harvest-origin{font-size:14px;border-left:3px solid #8a653e;padding-left:12px}.bc-harvest-window{line-height:1.65}
.bc-harvest-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}.bc-harvest-count{padding:16px 13px;background:#eaf0df;border-top:3px solid #527447;border-radius:4px}.bc-harvest-count:last-child{background:#f3e9d9;border-color:#97663e}.bc-harvest-count dt{font-weight:600;line-height:1.4;min-height:2.8em}.bc-harvest-count dd{font-size:42px;font-weight:600;line-height:1.25;margin:8px 0}.bc-harvest-count .bc-harvest-detail{font-size:13px;line-height:1.55;font-weight:400;margin:8px 0 0}
.bc-harvest-ratio{padding:18px 0;border-top:1px solid #d5dccb;border-bottom:1px solid #d5dccb}.bc-harvest-ratio p{margin:10px 0;line-height:1.65}.bc-harvest-track{height:18px;background:#e2e7d8;border:1px solid #819675;border-radius:9px;overflow:hidden}.bc-harvest-track span{display:block;height:100%;background:#527447}.bc-harvest-unknown{padding:12px;border-left:3px solid #97663e;background:#f5eee3}
.bc-harvest-weights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}.bc-harvest-weights dt{font-size:14px;line-height:1.5}.bc-harvest-weights dd{margin:8px 0 0;font-size:19px;font-weight:600;line-height:1.4}.bc-harvest-warnings{padding-left:22px;line-height:1.6}.bc-harvest-boundary{border-top:1px solid #d5dccb;padding-top:16px;font-size:14px;line-height:1.65}
.bc-confirm[hidden]{display:none!important}.bc-confirm{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(22,36,25,.55);box-sizing:border-box}.bc-confirm-card{width:100%;max-width:560px;max-height:calc(100dvh - 40px);overflow:auto;padding:24px;background:#fffdf5;border:2px solid #527447;border-radius:10px;box-shadow:0 8px 40px #17261855;box-sizing:border-box;overflow-wrap:anywhere}.bc-confirm-card h2{font-size:26px;margin:0 0 16px}.bc-confirm-card p{line-height:1.65}.bc-confirm-card :focus-visible{outline:3px solid #895332;outline-offset:3px}.bc-confirm-card .bc-actions{margin-bottom:0}
@media(max-width:650px){.bc-harvest{padding:16px}.bc-harvest figcaption{font-size:24px}.bc-harvest-counts,.bc-harvest-weights{grid-template-columns:1fr}.bc-harvest-count dt{min-height:0}.bc-harvest-count dd{font-size:36px}.bc-harvest-count .bc-harvest-detail{font-size:14px}.bc-confirm{padding:12px}.bc-confirm-card{padding:18px;max-height:calc(100dvh - 24px)}}
@media print{.bc-harvest{background:#fff;box-shadow:none}.bc-harvest-counts,.bc-harvest-weights{grid-template-columns:repeat(3,minmax(0,1fr))}.bc-harvest-count{break-inside:avoid}.bc-harvest-track{display:none}.bc-confirm{display:none}}
