/* assets/css/site.css - minimal B/W theme */
* { box-sizing: border-box; }
html,body { margin:0; padding:0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; background:#fff; color:#111; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
a { color: inherit; text-decoration: underline; }
img { max-width:100%; height:auto; display:block; }

.container { max-width:1100px; margin:0 auto; padding:20px; }
.header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 0; border-bottom:1px solid #eee; }
.brand { font-weight:700; font-size:1.15rem; letter-spacing:0.2px; }
.nav { display:flex; gap:12px; align-items:center; }
.nav a { padding:8px 10px; border-radius:6px; font-size:0.95rem; color:#111; }
.nav a:hover { background:#f5f5f5; }

.h-hero { padding:18px 0; }
.h-hero h1 { margin:0 0 8px 0; font-size:1.45rem; line-height:1.2; }
.h-hero p { margin:0; color:#444; }

.calc-wrap { display:flex; gap:20px; align-items:flex-start; margin-top:18px; }
@media (max-width:880px) { .calc-wrap { flex-direction:column; } }

.calc-form { flex:1; background:#fff; padding:16px; border:1px solid #efefef; border-radius:10px; box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
.calc-result { width:360px; max-width:100%; background:#111; color:#fff; padding:18px; border-radius:10px; }
@media (max-width:880px) { .calc-result { width:100%; } }

.field { margin-bottom:12px; display:flex; flex-direction:column; gap:6px; }
label { font-size:0.9rem; color:#222; }
input[type="number"], input[type="text"], select { padding:10px 12px; border-radius:8px; border:1px solid #ddd; font-size:1rem; width:100%; outline:none; }
input[type="number"]:focus, select:focus { border-color:#333; box-shadow:0 0 0 3px rgba(0,0,0,0.03); }

.btn { display:inline-block; padding:10px 14px; border-radius:8px; background:#111; color:#fff; border:none; cursor:pointer; font-weight:600; text-decoration:none; }
.btn:disabled { opacity:0.55; cursor:not-allowed; }

.result-value { font-size:1.35rem; font-weight:700; margin-bottom:6px; }
.result-meta { font-size:0.9rem; color:#ddd; }

.small { font-size:0.85rem; color:#666; }
.kv { display:flex; justify-content:space-between; gap:8px; margin-bottom:8px; }
.copy-btn { margin-top:10px; background:#fff; color:#111; border:1px solid #ddd; }

.footer { margin-top:40px; padding:18px 0; border-top:1px solid #eee; color:#666; font-size:0.9rem; }
.footer a { color:#333; }

a:focus, button:focus, input:focus { outline:3px solid rgba(17,17,17,0.08); outline-offset:2px; }

@media print {
  .nav, .btn { display:none !important; }
  body { background:#fff; color:#000; }
}
