
:root{
  --bg:#ffffff;
  --text:#111827;
  --muted:#4b5563;
  --orange:#f97316;
  --gray:#d1d5db;
  --soft:#fff7ed;
}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.45}
a{color:inherit}
header{position:sticky;top:0;z-index:20;background:#fff;border-bottom:2px solid var(--orange)}
.navwrap{max-width:1100px;margin:0 auto;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.2px}
.brand .dot{width:10px;height:10px;border-radius:999px;background:var(--orange)}
nav{display:flex;gap:16px;flex-wrap:wrap}
nav a{text-decoration:none;font-weight:700;color:var(--text)}
nav a:hover{text-decoration:underline}
main{max-width:1100px;margin:0 auto;padding:24px 18px}
.card{background:#fff;border:2px solid var(--orange);border-radius:16px;padding:18px}
h1{margin:0 0 8px;font-size:34px;line-height:1.15}
h2{margin:18px 0 8px;font-size:20px}
p{margin:10px 0;color:var(--muted)}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:900px){.grid{grid-template-columns:1fr}}
.dropzone{
  border:2px dashed var(--orange);
  background:var(--soft);
  border-radius:16px;
  padding:16px;
  text-align:center;
  cursor:pointer;
  transition:background .15s ease, transform .08s ease;
}
.dropzone:hover{transform:translateY(-1px)}
.dropzone.dragover{background:#ffedd5}
textarea{
  width:100%;
  min-height:320px;
  resize:vertical;
  border-radius:14px;
  border:1px solid var(--gray);
  padding:12px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
}
.label{font-weight:800;margin:8px 0 6px}
.controls{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px;align-items:center}
button, select{
  appearance:none;
  border:2px solid var(--orange);
  background:#fff;
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  font-weight:800;
  cursor:pointer;
}
button.primary{background:var(--orange);color:#fff}
button:hover, select:hover{filter:brightness(1.02)}
.small{font-size:13px;color:var(--muted)}
hr{border:none;border-top:1px solid #e5e7eb;margin:14px 0}
footer{margin-top:26px;border-top:2px solid var(--orange);background:#fff}
.footerwrap{max-width:1100px;margin:0 auto;padding:16px 18px;color:var(--muted);display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
.footerlinks{display:flex;gap:12px;flex-wrap:wrap}
.footerlinks a{color:var(--muted);text-decoration:none;font-weight:700}
.footerlinks a:hover{text-decoration:underline;color:var(--text)}

/* Cookie banner */
.cookie-banner{
  position:fixed;left:16px;right:16px;bottom:16px;z-index:50;
  max-width:1100px;margin:0 auto;
  background:#fff;border:2px solid var(--orange);border-radius:16px;
  padding:12px 12px;display:none;gap:12px;align-items:center;justify-content:space-between;
}
.cookie-banner.show{display:flex}
.cookie-banner .txt{color:var(--muted);font-size:14px}
.cookie-banner .txt a{color:var(--text)}
.cookie-banner .btns{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.notice{background:#fff7ed;border:1px solid var(--orange);padding:10px 12px;border-radius:12px;color:#7c2d12}
