.pel-tool{margin:28px 0;padding:20px;border:1px solid #c5d0be;border-radius:8px;background:#f6f5ed;max-width:100%;box-sizing:border-box}
.pel-tool summary{font-family:Georgia,serif;font-size:23px;line-height:1.35;cursor:pointer;color:#294d37;min-height:44px}
.pel-tool[open]>summary{margin-bottom:18px}.pel-tool fieldset{border:0;padding:0;margin:22px 0;min-width:0}.pel-tool legend{font-weight:700;margin-bottom:16px}
.pel-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.pel-field{display:grid;gap:7px;align-content:start;min-width:0}.pel-field label{font-weight:600;line-height:1.5}
.pel-tool input,.pel-tool select,.pel-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%}.pel-tool textarea{resize:vertical}.pel-field small{font-size:13px;line-height:1.55;color:#465344}
.pel-actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.pel-actions .button{white-space:normal;min-height:44px;line-height:1.45;max-width:100%}.pel-actions .button:disabled{opacity:.6;cursor:not-allowed}
.pel-tool :focus-visible{outline:3px solid #895332;outline-offset:3px}.pel-errors{padding:14px;border:2px solid #9d482c;background:#fff5ec;margin:16px 0}.pel-error{color:#8b351f;font-size:14px}.pel-field [aria-invalid=true]{border:2px solid #9d482c}
.pel-example-label,.pel-static-example{padding:12px 15px;background:#ebe9d8;border-left:3px solid #8a653e}.pel-tool [hidden]{display:none!important}.pel-tool p,.pel-tool label{overflow-wrap:anywhere}
.pel-figure{margin:26px 0;padding:16px;border:1px solid #d5d9ca;background:#faf8ef;border-radius:8px;box-sizing:border-box}.pel-figure img{display:block;width:100%;height:auto}.pel-figure figcaption{margin-top:12px;font-weight:600;line-height:1.6}.pel-figure p{margin-bottom:0;font-size:14px}
.pel-tool svg{display:block;width:100%;height:auto;max-width:100%;margin:18px 0}.pel-source-check{font-size:14px}.pel-tool select{white-space:normal}.pel-subtool{border-top:1px solid #c5d0be;padding:18px 0}.pel-subtool>summary{font-size:20px}
.pel-condition{padding:12px 16px;border-left:3px solid #8a653e;background:#edf0e3;font-weight:600;color:#294d37}.pel-ledger-link{padding:16px 20px;border-left:3px solid #8a653e;background:#f0efdf}
.pel-record-group{margin:20px 0}.pel-record-group table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}.pel-record-group td,.pel-record-group th{padding:8px;border-bottom:1px solid #c5d0be;vertical-align:top;overflow-wrap:anywhere}.pel-record-group caption{text-align:left;padding:8px 0;font-weight:600}.pel-record-group .button{min-height:44px;max-width:100%;white-space:normal;padding:7px;font-size:14px}.pel-blank{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.7}
@media(max-width:650px){.pel-fields{grid-template-columns:1fr}.pel-tool{padding:16px}.pel-tool summary{font-size:21px}.pel-figure{padding:10px}.pel-actions{gap:10px}.pel-actions .button{width:100%}.pel-record-group table,.pel-record-group tbody,.pel-record-group tr,.pel-record-group td{display:block;width:100%;box-sizing:border-box}.pel-record-group thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.pel-record-group tr{margin:12px 0;border:1px solid #c5d0be;background:#fffdf8}.pel-record-group td:before{content:attr(data-label) ': ';font-weight:600}.pel-record-group td:has(button):before{content:none}.pel-record-group caption{display:block}}
@media print{.pel-tool,.pel-figure{box-shadow:none;background:#fff}.pel-actions,.pel-errors{display:none}.pel-fields{display:block}.pel-field{margin:12px 0}.pel-tool textarea{overflow:visible;min-height:8em}.pel-record-group{break-inside:auto}}

.pel-figures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:26px 0}.pel-figures .pel-figure{margin:0}.pel-figures .pel-figure p{overflow-wrap:anywhere}.pel-figures .pel-figure figcaption{font-size:16px}.pel-figures .pel-figure p{font-size:14px}.pel-hero-note{padding:12px 16px;border-left:3px solid #8a653e;background:#edf0e3;color:#294d37}
@media(max-width:1000px){.pel-figures{grid-template-columns:1fr}.pel-figures .pel-figure img{max-width:360px;margin-inline:auto}}

.pel-conflict pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:.9rem}.pel-conflict{border:2px solid #a95128;padding:16px;border-radius:10px}.pel-conflict-record{padding:12px 0;border-bottom:1px solid #cad3c5}.pel-storage{margin:20px 0;padding:16px;border:1px solid #cad3c5}.pel-permission{display:flex;align-items:center;gap:12px;min-height:44px}.pel-permission input{width:24px;height:24px}.pel-coordinate-list{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.pel-figure img{object-fit:contain}.pel-actions button{white-space:normal}

.pel-field[hidden]{display:none}.pel-coordinate-details pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.pel-figure img{object-fit:contain}.pel-example-label{overflow-wrap:anywhere}

.pel-harvest-view{margin:22px 0;padding:20px;border:1px solid #b8c7ad;border-radius:10px;background:#fffdf7;min-width:0;overflow-wrap:anywhere}.pel-harvest-view h3{margin-top:0}
.pel-harvest-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.pel-harvest-counts>div{padding:12px;background:#eef1e6;border:1px solid #d4ddca;border-radius:8px;min-width:0}.pel-harvest-counts dt{font-size:14px;line-height:1.5}.pel-harvest-counts dd{font:600 28px/1.3 Georgia,serif;margin:7px 0 0;color:#294d37}
.pel-harvest-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}.pel-harvest-group{padding:16px;border:1px solid #b8c7ad;border-radius:9px;background:#f5f4e9;min-width:0}.pel-harvest-group h4{font:600 23px/1.4 Georgia,serif;margin:0 0 14px}.pel-harvest-group h4>span{display:block;font:500 15px/1.5 system-ui,sans-serif;margin-top:6px}
.pel-harvest-group figure{margin:16px 0}.pel-harvest-group img{display:block;width:100%;max-width:240px;height:auto;margin:auto;object-fit:contain}.pel-harvest-group figcaption{font-size:13px;line-height:1.55;margin-top:10px}.pel-harvest-group dl{margin:16px 0}.pel-harvest-group dl>div{padding:10px 0;border-top:1px solid #d3dac9}.pel-harvest-group dt{font-size:14px;line-height:1.5}.pel-harvest-group dd{margin:5px 0 0;font-weight:600;font-size:21px;line-height:1.4;color:#294d37}.pel-harvest-group dd span{font-size:16px}
.pel-harvest-missing,.pel-harvest-neutral{padding:10px 12px;border:1px dashed #896441;background:#fff9ed;border-radius:5px;font-size:14px}.pel-harvest-unclassified{padding:16px;background:#f0eddc;border-left:3px solid #8a653e;margin:20px 0}.pel-harvest-unclassified h4{margin-top:0}.pel-harvest-unclassified ul{padding-left:20px}.pel-harvest-note{font-size:14px;line-height:1.7}
.pel-confirm{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;background:rgb(27 42 31 / .67);padding:16px;box-sizing:border-box;overflow:auto}.pel-confirm[hidden]{display:none!important}.pel-confirm-card{width:min(100%,560px);max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;padding:24px;background:#fffdf7;color:#263c2f;border:2px solid #8a653e;border-radius:12px;box-shadow:0 14px 48px rgb(0 0 0 / .22);overflow-wrap:anywhere}.pel-confirm h2{font:600 24px/1.4 Georgia,serif;margin-top:0}.pel-confirm p{white-space:pre-line;line-height:1.7}.pel-confirm .button{min-height:44px;white-space:normal;max-width:100%}.pel-confirm :focus-visible{outline:3px solid #895332;outline-offset:3px}
@media(max-width:1000px){.pel-harvest-groups{grid-template-columns:1fr}}
@media(max-width:650px){.pel-harvest-view{padding:14px}.pel-harvest-counts{grid-template-columns:1fr;gap:8px}.pel-harvest-counts>div{padding:10px}.pel-harvest-group{padding:14px}.pel-confirm-card{padding:18px}.pel-confirm .button{width:100%}}
@media print{.pel-confirm{display:none}.pel-harvest-view,.pel-harvest-group,.pel-harvest-counts>div{background:#fff;box-shadow:none}}
