/* SPDX-License-Identifier: MIT */
.lm-tools,.lm-tools *{box-sizing:border-box}.lm-tools{font:1rem/1.6 system-ui,sans-serif;color:#18343b;max-width:1120px;margin:auto;padding:1rem}
.lm-tools h1{font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.2}.lm-tools h2{line-height:1.3}.lm-tools p{max-width:80ch}
.lm-tools a{color:#075f69;text-underline-offset:.2em}.lm-tools nav{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem}
.lm-tools button,.lm-tools input,.lm-tools select,.lm-tools textarea{font:inherit;max-width:100%;border:1px solid #56747b;border-radius:4px;padding:.5rem;background:white;color:#18343b}
.lm-tools button{cursor:pointer;min-height:44px;background:#0b6268;color:white;padding:.6rem 1rem}.lm-tools label{display:block;margin:.5rem 0}.lm-tools label:has(input[type=checkbox]){padding:.4rem 0}
.lm-tools input[type=checkbox]{width:1.3rem;height:1.3rem;vertical-align:middle}.lm-tools label span{display:block;font-size:.9rem}.lm-tools fieldset{min-width:0;margin:1rem 0;border:1px solid #a9bfc3;border-radius:6px;padding:1rem}
.lm-tools legend{font-weight:700;padding:0 .4rem}.lm-controls,.lm-results{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
.lm-tool-card{border:1px solid #a9bfc3;border-radius:6px;padding:1rem;background:#f4f9f8;min-width:0}.lm-tool-card h3{margin-top:0}
.lm-tools .lm-notice{border-left:4px solid #a55a00;background:#fff5de;padding:1rem}.lm-tools .lm-error{color:#8c2020;font-weight:600}
.lm-tools .lm-status{border-left:4px solid #087361;padding:1rem;background:#edf8f2}.lm-tools .table-scroll{overflow:auto;max-width:100%}
.lm-tools table{border-collapse:collapse;width:100%;font-size:.95rem}.lm-tools td,.lm-tools th{border:1px solid #a9bfc3;padding:.65rem;text-align:left;vertical-align:top;min-width:9rem}
.lm-tools th{background:#e3f1ef}.lm-tools details{margin:1rem 0}.lm-tools summary{cursor:pointer;min-height:44px;font-weight:600}
.lm-tools :focus-visible,.growth-context a:focus-visible{outline:3px solid #b26400;outline-offset:3px}.lm-tools [hidden]{display:none!important}
.lm-tools pre{max-width:100%;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#edf2f3;padding:1rem}.lm-tools textarea{width:100%;min-height:10rem}
.lm-actions{display:flex;gap:.7rem;flex-wrap:wrap;margin:1rem 0}.growth-context{margin:1rem 0;padding:.75rem 1rem;border-left:3px solid #16746c;line-height:1.6}.growth-context a{display:inline-block;padding:.35rem 0}
@media(max-width:480px){.lm-tools{padding:.8rem}.lm-tools fieldset{padding:.7rem}.lm-actions button{width:100%}}
@media(prefers-reduced-motion:reduce){.lm-tools *{scroll-behavior:auto!important}}
@media print{.lm-tools form,.lm-tools nav,.lm-actions,.lm-tools .merchant-link{display:none}.lm-results{display:block}.lm-tool-card{break-inside:avoid;margin:1rem 0}.lm-tools details>*{display:block!important}.lm-tools .table-scroll{overflow:visible}}
