
:root{--bg:#0e0f10;--card:#16181a;--text:#e7e9ea;--muted:#9aa0a6;--brand:#f15a24;--accent:#ffd166;--line:#202327}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font:16px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1080px;margin:0 auto;padding:24px}
.header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}
.logo{font-weight:800;letter-spacing:.3px;font-size:22px}
.logo b{color:var(--brand)}
.nav a{margin-left:16px;color:var(--text)}
.hero{padding:28px 0}
.hero h1{font-size:32px;margin:0 0 6px}
.hero p{margin:0;color:var(--muted)}
.controls{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}
.input{background:#0c0d0f;border:1px solid var(--line);color:var(--text);padding:10px 12px;border-radius:12px;min-width:280px}
.select{background:#0c0d0f;border:1px solid var(--line);color:var(--text);padding:10px 12px;border-radius:12px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;margin-top:18px}
.card{background:var(--card);padding:16px;border-radius:16px;border:1px solid var(--line)}
.card h3{margin:0 0 8px}
.card p{margin:0 0 12px;color:var(--muted)}
.badge{display:inline-block;background:#121417;border:1px solid var(--line);color:var(--muted);padding:2px 8px;border-radius:999px;font-size:12px}
.qr{background:#fff;padding:8px;border-radius:12px}
.footer{margin-top:40px;padding:20px 0;border-top:1px solid var(--line);color:var(--muted);font-size:14px}
.btn{display:inline-block;background:var(--brand);color:#fff;padding:10px 14px;border-radius:12px;font-weight:600}
.btn:hover{opacity:.95}
.recipe-header{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between}
.section{margin-top:18px}
.section h2{margin:0 0 10px}
.code{font-family:ui-monospace,Menlo,Consolas,monospace;background:#0d0f12;border:1px solid var(--line);padding:14px;border-radius:10px;white-space:pre-wrap}
.kicker{color:var(--muted);font-size:14px}
.hr{height:1px;background:var(--line);border:0;margin:16px 0}
.hide{display:none!important}


.print-btn{display:inline-block;background:#2b7a0b;color:#fff;padding:8px 12px;border-radius:10px;font-weight:600;margin-left:8px}
.print-btn:hover{opacity:.95}

/* Print styles */
@media print{
  .header, .footer, .controls, .btn, .print-btn, .qr, .nav { display:none !important; }
  body{ background:#fff; color:#000; }
  .container{ max-width:none; padding:0; }
  .section{ page-break-inside: avoid; }
  .recipe-header{ justify-content:flex-start; gap:8px; }
  h1{ font-size:24pt; }
  h2{ font-size:16pt; margin-top:16px; }
  ul, ol{ font-size:12pt; }
}
