:root{--bg:#f6f4ef;--ink:#1f2933;--muted:#5b6472;--card:#fffdf8;--accent:#18645a;--accent2:#e4b363;--line:#ded7c8;--danger:#8d2b2b}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--ink);line-height:1.5}.hero{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:2rem;max-width:1180px;margin:auto}.eyebrow{text-transform:uppercase;letter-spacing:.08em;color:var(--accent);font-weight:800;font-size:.78rem}h1{font-size:clamp(2rem,4vw,4rem);line-height:.95;margin:.2rem 0}h2{margin-top:0;font-size:1.18rem}main{max-width:1180px;margin:auto;padding:0 1rem 2rem}.card{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:1.25rem;margin:1rem 0;box-shadow:0 12px 32px rgba(31,41,51,.06)}.grid{display:grid;gap:1.2rem}.two{grid-template-columns:repeat(2,minmax(0,1fr))}label,legend{font-weight:750;display:block;margin:.75rem 0 .35rem}.hint{font-weight:500;color:var(--muted);font-size:.9rem}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);padding:.82rem;font:inherit}textarea{resize:vertical}fieldset{border:1px dashed var(--line);border-radius:16px;padding:.5rem .9rem}.radio{font-weight:600;margin:.55rem 0;display:flex;gap:.5rem;align-items:center}.radio input{width:auto}button{border:0;border-radius:999px;background:var(--accent);color:#fff;font-weight:800;padding:.78rem 1rem;cursor:pointer}button:hover{filter:brightness(1.05)}button.secondary{background:#ece6d9;color:var(--ink)}.actions{display:flex;gap:.65rem;flex-wrap:wrap;margin-top:1rem}.compact{margin-top:0}.outputHead{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}#resultat{min-height:260px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.history{display:grid;gap:.7rem}.history article{border-left:5px solid var(--accent2);padding:.75rem;background:#fff;border-radius:12px}.history button{padding:.45rem .7rem;margin-right:.4rem}#status{color:var(--accent);font-weight:700;min-height:1.5rem}footer{max-width:1180px;margin:0 auto 2rem;padding:0 1rem;color:var(--muted)}@media(max-width:780px){.hero{display:block;padding:1rem}.two{grid-template-columns:1fr}.outputHead{display:block}}@media print{button,.actions,#historial,footer,.hero,.card:not(.output){display:none}.card{box-shadow:none;border:0}body{background:#fff}#resultat{border:0;min-height:0}}