.tool-card{border:1px solid rgb(var(--line)/.16);background:rgb(var(--panel));border-radius:16px;padding:clamp(1.1rem,3vw,2rem);margin:1.5rem 0 2rem}
.tool-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:1rem}.tool-label{display:block;font-size:.9rem;font-weight:600;color:rgb(var(--ink));margin-bottom:.4rem}.tool-field{width:100%;padding:.75rem;border:1px solid rgb(var(--line)/.25);border-radius:9px;background:rgb(var(--bg));color:rgb(var(--ink));font:inherit}.tool-field:focus{outline:2px solid rgb(var(--accent)/.5);outline-offset:2px}.tool-result{margin-top:1.2rem;padding:1rem;border-radius:10px;background:rgb(var(--bgAlt));color:rgb(var(--ink));line-height:1.6}.tool-result strong{font-size:1.35rem}.tool-button{display:inline-block;border:0;border-radius:9px;background:rgb(var(--accent));color:white;padding:.7rem 1rem;font-weight:600;cursor:pointer}.tool-button:focus-visible{outline:3px solid rgb(var(--ink));outline-offset:3px}.tool-help{font-size:.88rem;color:rgb(var(--soft));line-height:1.65;margin-top:.7rem}.tool-check{display:flex;gap:.75rem;align-items:flex-start;padding:.8rem 0;border-bottom:1px solid rgb(var(--line)/.12);color:rgb(var(--ink));line-height:1.5}.tool-check input{margin-top:.35rem;accent-color:rgb(var(--accent));width:18px;height:18px;flex:none}.tool-check small{display:block;color:rgb(var(--soft));margin-top:.25rem}.tool-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1rem}@media print{header,footer,.no-print{display:none!important}.tool-card{border:0;padding:0}.tool-check{break-inside:avoid}}
