/* Tool pages: layered on top of the site's /style.css */
.tool textarea,.tool input,.tool select{width:100%;font:inherit;color:var(--tx);background:var(--card);border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.tool textarea{min-height:220px;resize:vertical}.tool label{display:block;font-weight:600;margin:14px 0 6px}
.tool .hint{color:var(--mut);font-size:14px;margin:4px 0 0}
.tool .err{background:#fef2f2;border:1px solid #fca5a5;color:#991b1b;border-radius:10px;padding:10px 12px;margin-top:12px}
[data-theme=dark] .tool .err{background:#2a1414;color:#fca5a5}
.tool .ok{background:#ecfdf5;border:1px solid #6ee7b7;color:#065f46;border-radius:10px;padding:10px 12px;margin-top:12px}
[data-theme=dark] .tool .ok{background:#0f2a20;color:#6ee7b7}
.tool pre.out{white-space:pre-wrap;word-break:break-word;background:var(--bg2);border:1px solid var(--line);border-radius:12px;padding:14px;font:14px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;max-height:520px;overflow:auto}
.steps{counter-reset:s;list-style:none;padding:0}.steps li{counter-increment:s;margin:8px 0;padding-left:34px;position:relative}
.steps li:before{content:counter(s);position:absolute;left:0;top:1px;width:24px;height:24px;border-radius:50%;background:var(--a);color:#fff;font-size:13px;font-weight:700;display:grid;place-items:center}
.score{font-size:44px;font-weight:800;letter-spacing:-.03em}.pill{display:inline-block;padding:2px 10px;border-radius:99px;font-size:13px;font-weight:600;background:var(--chip);border:1px solid var(--line)}
.pill.bad{background:#fef2f2;color:#991b1b;border-color:#fca5a5}.pill.mid{background:#fffbeb;color:#92400e;border-color:#fcd34d}.pill.good{background:#ecfdf5;color:#065f46;border-color:#6ee7b7}
.checks{list-style:none;padding:0}.checks li{border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin:8px 0;background:var(--card)}
.fine{color:var(--mut);font-size:13.5px}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media(max-width:640px){.two{grid-template-columns:1fr}.tool textarea{min-height:180px}}
.foot{border-top:1px solid var(--line);margin-top:40px;padding-top:18px}
@media print{.top,.noprint,.foot{display:none!important}.tool pre.out{max-height:none;border:0}}
@media print{body.printing-report .tool>*:not(#full){display:none!important}body.printing-report #full>*:not(#reportBox){display:none!important}body.printing-report #reportBox>*:not(#repOut){display:none!important}body.printing-report #repOut .row{display:none!important}}
.tool textarea.short{min-height:70px}.tool textarea.mid{min-height:140px}.tool input.inline-file{width:auto;border:0;padding:0}.mt{margin-top:14px}.pad{padding:16px}.grid.my{margin:16px 0}
