@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:wght@500;600&family=Source+Sans+3:wght@400;600&display=swap');
:root { --bg:#f6f7f6; --ink:#1d2624; --muted:#5c6a67; --line:#d9dfdd; --accent:#1f5f5b; --white:#fff; --bad:#9b2c2c; --good:#1f6b3a; }
* { box-sizing:border-box; border-radius:0; }
body { margin:0; background:var(--bg); color:var(--ink); font:17px/1.6 'Source Sans 3', sans-serif; }
h1,h2,h3 { font-family:'Source Serif 4', serif; font-weight:600; line-height:1.25; margin:0 0 .6em; }
h1 { font-size:36px; } h2 { font-size:26px; } h3 { font-size:20px; }
a { color:var(--accent); }
.wrap { max-width:980px; margin:0 auto; padding:0 24px; }
.site-header { background:var(--white); border-bottom:1px solid var(--line); }
.head-inner { display:flex; justify-content:space-between; align-items:center; min-height:68px; flex-wrap:wrap; gap:8px; }
.brand { font-family:'Source Serif 4', serif; font-size:21px; color:var(--ink); text-decoration:none; font-weight:600; }
.brand span { color:var(--muted); font-weight:500; font-size:16px; margin-left:8px; }
nav a { margin-left:22px; text-decoration:none; color:var(--muted); font-weight:600; font-size:15px; }
nav a.on, nav a:hover { color:var(--accent); }
.main { padding:48px 24px 72px; min-height:70vh; animation:fade .4s ease; }
@keyframes fade { from { opacity:0; transform:translateY(8px);} to { opacity:1; transform:none; } }
.site-footer { border-top:1px solid var(--line); padding:24px 0; color:var(--muted); font-size:14px; background:var(--white); }
.lead { color:var(--muted); max-width:640px; margin-bottom:32px; }
.card { background:var(--white); border:1px solid var(--line); padding:28px; margin-bottom:20px; }
.narrow { max-width:460px; }
label { display:block; font-weight:600; font-size:15px; margin:14px 0 6px; }
input[type=text], input[type=email], input[type=password], textarea { width:100%; padding:10px 12px; font:inherit; border:1px solid var(--line); background:var(--white); }
input:focus, textarea:focus { outline:2px solid var(--accent); outline-offset:-1px; }
button, .btn { display:inline-block; background:var(--accent); color:#fff; border:1px solid var(--accent); padding:10px 20px; font:inherit; font-weight:600; cursor:pointer; text-decoration:none; }
button:hover { filter:brightness(1.1); }
button.ghost { background:transparent; color:var(--accent); }
button.danger { background:transparent; color:var(--bad); border-color:var(--bad); }
button:disabled { opacity:.5; cursor:default; }
.small { font-size:14px; padding:6px 12px; }
.tabs { display:flex; border-bottom:1px solid var(--line); margin-bottom:20px; }
.tabs button { background:none; color:var(--muted); border:none; border-bottom:3px solid transparent; padding:10px 16px; }
.tabs button.on { color:var(--accent); border-bottom-color:var(--accent); }
.msg { margin-top:14px; padding:10px 14px; border-left:3px solid var(--accent); background:#eef4f3; font-size:15px; }
.msg.err { border-color:var(--bad); background:#f8eded; }
.row { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.spread { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.muted { color:var(--muted); font-size:15px; }
.badge { display:inline-block; font-size:13px; font-weight:600; padding:2px 8px; border:1px solid; }
.badge.ok { color:var(--good); } .badge.no { color:var(--bad); } .badge.wait { color:var(--muted); }
.question { border-top:1px solid var(--line); padding:20px 0; }
.option { display:flex; gap:10px; align-items:flex-start; font-weight:400; margin:8px 0; cursor:pointer; }
.option input { margin-top:6px; }
.result { text-align:left; border-left:4px solid; padding:20px 24px; background:var(--white); }
.result.ok { border-color:var(--good); } .result.no { border-color:var(--bad); }
table { width:100%; border-collapse:collapse; background:var(--white); font-size:15px; }
th, td { border:1px solid var(--line); padding:8px 10px; text-align:left; vertical-align:top; }
th { background:#eef1f0; font-weight:600; }
.tablewrap { overflow-x:auto; margin-bottom:28px; }
.edit-q { border:1px solid var(--line); padding:16px; margin:14px 0; background:#fafbfa; }
.opt-edit { display:flex; gap:8px; align-items:center; margin:6px 0; }
.opt-edit input[type=text] { flex:1; }
@media (max-width:600px){ nav a { margin:0 16px 0 0; } h1 { font-size:28px; } .card { padding:20px; } }
