:root{color-scheme:light;--ink:#192b3d;--muted:#516477;--blue:#244b70;--line:#d5dee6;--paper:#fff;--warning:#fff4d6}
*{box-sizing:border-box}.tool-card{max-width:54rem;margin:1.5rem auto;padding:clamp(1rem,3vw,2rem);background:var(--paper);border:1px solid var(--line);border-radius:1rem;color:var(--ink);box-shadow:0 8px 30px #142d4410}.tool-card h1{font-size:clamp(1.7rem,4vw,2.5rem);line-height:1.15}.tool-card h2{font-size:1.2rem}.tool-card p{line-height:1.6;color:var(--muted)}.actions,.result-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.actions button,.tool-card button{font:inherit;padding:.7rem 1rem;border:1px solid var(--line);border-radius:.6rem;background:#fff;color:var(--ink);cursor:pointer}.tool-card .primary{margin-top:1rem;background:var(--blue);border-color:var(--blue);color:#fff;font-weight:700}.warning{padding:1rem;border:1px solid #d8ae49;border-radius:.6rem;background:var(--warning);color:#513d0d!important;font-weight:800}.tool-card form{display:grid;gap:.6rem;max-width:28rem;margin:1.5rem 0}.tool-card label{font-weight:700}.tool-card select{font:inherit;padding:.75rem;border:1px solid #8999a8;border-radius:.5rem;background:#fff;color:var(--ink)}#error{color:#9d2020}#result{margin:1.5rem 0;padding:1rem;border:1px solid var(--line);border-radius:.75rem;background:#f7fafc}.result-head h2{margin:.2rem 0}.result-head .actions{justify-content:flex-end}#output{max-width:100%;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#102032;color:#f3f7fa;border-radius:.5rem;padding:1rem;font: .88rem/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}.privacy{font-weight:700}.ad-slot{min-height:90px;margin:1rem auto;max-width:54rem;padding:.5rem;text-align:center;color:#8995a2}.share-dialog{max-width:min(28rem,90vw);border:1px solid var(--line);border-radius:.8rem}.share-dialog::backdrop{background:#101c2b88}.share-dialog button{margin:.4rem;padding:.65rem}.share-dialog img{display:block;max-width:100%;margin:.75rem auto}@media(max-width:600px){.tool-card{margin:.6rem .35rem;padding:1rem}.result-head{align-items:flex-start}.result-head .actions{width:100%}.result-head .actions button{flex:1}.ad-slot{min-height:60px}}
#nudge{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.6rem .8rem;margin-top:.75rem;border-radius:.5rem;background:#e8f1f7;color:var(--ink)}#nudge[hidden]{display:none}#nudge button{padding:.25rem .55rem}
