.lh-tool{margin:28px 0;padding:20px;border:1px solid #c5d0be;border-radius:8px;background:#f6f5ed;max-width:100%;box-sizing:border-box}
.lh-tool summary{font-family:Georgia,serif;font-size:23px;line-height:1.35;cursor:pointer;color:#294d37;min-height:44px}
.lh-tool[open] summary{margin-bottom:18px}.lh-tool fieldset{border:0;padding:0;margin:22px 0;min-width:0}.lh-tool legend{font-weight:700;margin-bottom:16px}
.lh-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.lh-field{display:grid;gap:7px;align-content:start;min-width:0}.lh-field label{font-weight:600;line-height:1.5}
.lh-tool input,.lh-tool select,.lh-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%}.lh-tool textarea{resize:vertical}.lh-field small{font-size:13px;line-height:1.55;color:#465344}
.lh-actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.lh-actions .button{white-space:normal;min-height:44px;line-height:1.45;max-width:100%}.lh-actions .button:disabled{opacity:.6;cursor:not-allowed}
.lh-tool :focus-visible{outline:3px solid #895332;outline-offset:3px}.lh-errors{padding:14px;border:2px solid #9d482c;background:#fff5ec;margin:16px 0}.lh-error{color:#8b351f;font-size:14px}.lh-field [aria-invalid=true]{border:2px solid #9d482c}
.lh-example-label,.lh-static-example{padding:12px 15px;background:#ebe9d8;border-left:3px solid #8a653e}.lh-tool [hidden]{display:none!important}.lh-tool p,.lh-tool label{overflow-wrap:anywhere}
.lh-figure{margin:26px 0;padding:16px;border:1px solid #d5d9ca;background:#faf8ef;border-radius:8px;box-sizing:border-box}.lh-figure img{display:block;width:100%;height:auto}.lh-figure figcaption{margin-top:12px;font-weight:600;line-height:1.6}.lh-figure p{margin-bottom:0;font-size:14px}
.lh-checklist{border-left:3px solid #9b6f45;background:#f0efdf;padding:18px 22px;margin:22px 0}.lh-checklist h3{margin-top:0}.lh-tool svg{display:block;width:100%;height:auto;max-width:100%;margin:18px 0}
@media(max-width:600px){.lh-fields{grid-template-columns:1fr}.lh-tool{padding:16px}.lh-tool summary{font-size:21px}.lh-figure{padding:10px}.lh-actions{gap:10px}.lh-actions .button{width:100%}}
@media print{.lh-tool,.lh-figure,.lh-checklist{break-inside:avoid;box-shadow:none;background:#fff}.lh-actions,.lh-errors{display:none}.lh-fields{display:block}.lh-field{margin:12px 0}.lh-tool textarea{overflow:visible;min-height:8em}}

.lh-problem-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:24px 0}.lh-problem-grid>div{min-width:0}.lh-problem-grid p{overflow-wrap:anywhere}.lh-source-check{font-size:14px}.lh-tool select{white-space:normal}
@media(max-width:600px){.lh-problem-grid{grid-template-columns:1fr}}

.lh-plan-figure{margin:18px 0}.lh-plan-figure figcaption{font-size:15px;line-height:1.7;overflow-wrap:anywhere}
.lh-confirm[hidden]{display:none!important}.lh-confirm{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;box-sizing:border-box;background:rgba(25,44,32,.55);overflow:auto;overscroll-behavior:contain}.lh-confirm-card{box-sizing:border-box;width:min(100%,38rem);max-height:90vh;overflow:auto;padding:24px;border:2px solid #294d37;border-radius:10px;background:#faf7ed;color:#263c2f}.lh-confirm h3{margin-top:0}.lh-confirm p{line-height:1.65;overflow-wrap:anywhere}.lh-confirm :focus-visible{outline:3px solid #895332;outline-offset:3px}
@media(max-width:600px){.lh-confirm{padding:12px}.lh-confirm-card{padding:18px}}
@media print{.lh-confirm{display:none!important}}

.lh-plan-figure svg{max-width:420px;margin-inline:auto}
