/* SoftTools Tools - tool UI styles. All classes prefixed st-. */
.st-tool{max-width:720px;margin:0 auto;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:28px}
.st-tool label{display:block;font-weight:600;color:#0f172a;margin-bottom:6px}
.st-field{margin-bottom:16px}
.st-field input,.st-field select,.st-textarea{width:100%;padding:12px 14px;border:1px solid #cbd5e1;border-radius:9px;font-size:1rem;font-family:inherit;color:#1f2937;background:#fff}
.st-field input:focus,.st-field select:focus,.st-textarea:focus{outline:3px solid #bfdbfe;border-color:#2563eb}
.st-textarea{resize:vertical;line-height:1.6}
.st-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.st-checks{display:flex;flex-wrap:wrap;gap:8px 22px;margin-bottom:16px}
.st-checks label{display:flex;align-items:center;gap:7px;font-weight:500;color:#334155;cursor:pointer}
.st-actions{display:flex;flex-wrap:wrap;gap:10px;margin:6px 0 16px}
.st-btn{display:inline-block;padding:12px 22px;border:0;border-radius:9px;background:#2563eb;color:#fff;font-size:1rem;font-weight:700;cursor:pointer;font-family:inherit}
.st-btn:hover{background:#1d4ed8}
.st-btn-secondary{background:#e2e8f0;color:#0f172a}
.st-btn-secondary:hover{background:#cbd5e1}
.st-output-row{display:flex;gap:10px;margin-bottom:14px}
.st-output-row input{flex:1;padding:12px 14px;border:1px solid #cbd5e1;border-radius:9px;font-size:1rem;font-family:ui-monospace,Menlo,Consolas,monospace}
.st-result{background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;padding:18px 20px;color:#1e3a8a;line-height:1.7}
.st-result strong{color:#0f172a}
.st-result .st-big{font-size:1.5rem;font-weight:800;color:#2563eb;display:block;margin:4px 0}
.st-result-text{margin:4px 0 0;color:#475569}
.st-error{background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;border-radius:9px;padding:12px 16px;margin:0 0 16px}
.st-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}
.st-stat{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:14px 10px;text-align:center}
.st-stat-num{display:block;font-size:1.4rem;font-weight:800;color:#2563eb}
.st-stat-label{font-size:.82rem;color:#64748b}
.st-meter{height:10px;background:#e2e8f0;border-radius:6px;overflow:hidden;margin:4px 0 8px}
.st-meter-fill{height:100%;width:0;background:#dc2626;border-radius:6px;transition:width .25s ease,background .25s ease}
.st-qr-box{text-align:center;padding:10px 0}
.st-qr-box svg{max-width:100%;height:auto;border:1px solid #e2e8f0;border-radius:10px;padding:8px;background:#fff}
.st-lorem-output p{margin-bottom:1em;color:#334155}
.st-lorem-output p:last-child{margin-bottom:0}
input[type="range"]{accent-color:#2563eb}
@media (max-width:640px){
  .st-tool{padding:20px}
  .st-stats{grid-template-columns:repeat(2,1fr)}
  .st-row{grid-template-columns:1fr}
  .st-output-row{flex-direction:column}
}
