.lgf{margin-block:28px 40px;padding:28px!important;border:1px solid #d1d8d1;border-radius:14px;background:#f4f6f2;scroll-margin-top:110px;box-sizing:border-box}.lgf h2{font-size:clamp(25px,3vw,36px);line-height:1.4;margin:0 0 14px}.lgf p{line-height:1.75}.lgf-intro{max-width:900px}.lgf-controls{display:grid;grid-template-columns:1.35fr 1fr;gap:18px;margin-block:22px 16px}.lgf-controls>div{min-width:0}.lgf label{display:block;font-size:15px;font-weight:600;margin-bottom:8px}.lgf input,.lgf select{display:block;width:100%;max-width:100%;min-height:48px;padding:12px;border:1px solid #7c8a7c;border-radius:5px;background:#fff;color:#26362c;font:inherit;box-sizing:border-box}.lgf-buttons{display:flex;gap:12px;flex-wrap:wrap}.lgf button{font:inherit;font-weight:600;min-height:46px;padding:11px 18px;border:1px solid #385342;border-radius:5px;background:#fff;color:#263e2e;cursor:pointer}.lgf button:first-child{background:#385342;color:#fff}.lgf a{text-decoration:underline;text-underline-offset:4px}.lgf :focus-visible{outline:3px solid #315740;outline-offset:4px}.lgf #lgf-count{font-size:15px;font-weight:600;margin-top:20px}.lgf #lgf-results{list-style:none;padding:0;margin:18px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.lgf #lgf-results li{padding:20px;border:1px solid #d1d8d1;background:#fff;border-radius:8px;min-width:0;overflow-wrap:anywhere}.lgf #lgf-results h3{font-size:20px;line-height:1.5;margin:8px 0 12px}.lgf #lgf-results p{font-size:15px;margin:0}.lgf-topic{font-size:12px;color:#536753}.lgf-small{font-size:13px;max-width:900px}.lgf-warning{font-size:14px;border-inline-start:3px solid #866142;padding-inline-start:15px;margin-top:20px}.lgf #lgf-empty{padding:16px;background:#fff;border:1px solid #d1d8d1;border-radius:6px}.lgf [hidden]{display:none!important}
@media(max-width:650px){.lgf{width:90%;padding:20px!important}.lgf-controls,.lgf #lgf-results{grid-template-columns:1fr}.lgf-buttons{display:grid;grid-template-columns:1fr}.lgf #lgf-results li{padding:16px}.lgf input{font-size:16px}.lgf select{font-size:15px}.lgf h2{font-size:27px}}
@media print{.lgf{display:none!important}}
