
* { box-sizing: border-box; margin: 0; padding: 0; }
:root { --ink:#1a1a1a; --mut:#666; --line:#ddd; --brand:#14532d; --brand2:#1d6b3c; --bg:#f6f6f4; --warn:#b45309; }
body { font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.45; }
.wrap { max-width: 640px; margin: 0 auto; padding: 16px 16px 64px; }
.wrap.wide { max-width: 1100px; }
h1 { font-size: 1.5rem; margin: 12px 0 4px; }
h2 { font-size: 1.15rem; margin: 24px 0 8px; }
p.sub { color: var(--mut); margin-bottom: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 14px; }
label { display: block; font-weight: 600; margin: 16px 0 6px; }
label .opt { font-weight: 400; color: var(--mut); font-size: 0.9em; }
input[type=text], select, textarea { width: 100%; font-size: 17px; padding: 13px 12px; border: 1px solid #bbb; border-radius: 10px; background: #fff; color: var(--ink); }
textarea { min-height: 110px; resize: vertical; }
select { min-height: 50px; appearance: auto; }
.radio-row { display: flex; gap: 10px; }
.radio-row label { flex: 1; font-weight: 500; margin: 0; border: 1px solid #bbb; border-radius: 10px; padding: 13px; text-align: center; cursor: pointer; background: #fff; }
.radio-row input { margin-right: 8px; transform: scale(1.3); }
.radio-row label:has(input:checked) { border-color: var(--brand); background: #eaf3ed; font-weight: 700; }
button, .btn { display: block; width: 100%; text-align: center; font-size: 18px; font-weight: 700; padding: 16px; margin-top: 20px; border: 0; border-radius: 12px; background: var(--brand); color: #fff; text-decoration: none; cursor: pointer; }
button:active, .btn:active { background: var(--brand2); }
.btn.alt { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.btn.small { display: inline-block; width: auto; padding: 10px 16px; font-size: 15px; margin: 0; }
.home-btns .btn { margin-top: 14px; padding: 22px; font-size: 20px; }
a.quiet { color: var(--mut); font-size: 0.9em; }
.err { background: #fde8e8; border: 1px solid #f5b5b5; color: #8a1f1f; padding: 12px; border-radius: 10px; margin: 12px 0; font-weight: 600; }
.ok { font-size: 3rem; text-align: center; margin: 24px 0 8px; }
.done-list { list-style: none; }
.done-list li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 0.95em; }
.done-list .yes { color: var(--brand); font-weight: 700; }
.done-list .no { color: var(--mut); }
table { border-collapse: collapse; width: 100%; background: #fff; font-size: 14px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: #eee; position: sticky; top: 0; }
tr:nth-child(even) td { background: #fafafa; }
.scroll { overflow-x: auto; border-radius: 8px; border: 1px solid var(--line); }
.tag { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 12px; font-weight: 700; background: #e5e7eb; }
.tag.warn { background: #fef3c7; color: var(--warn); }
.tag.good { background: #dcfce7; color: var(--brand); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.tabs a { padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.tabs a.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.filters { display: flex; gap: 8px; margin: 10px 0; flex-wrap: wrap; }
.filters select { width: auto; min-height: 42px; padding: 8px; font-size: 15px; }
.muted { color: var(--mut); }
.count-note { text-align: center; color: var(--mut); margin-top: 10px; }
