:root {
  --bg: #f6f4ef; --card: #ffffff; --ink: #1e1e1e; --muted: #6b6b6b;
  --line: #e2ddd2; --accent: #1f5f8b; --ok: #2e7d32; --danger: #b3261e;
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
.top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: var(--card); border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; letter-spacing: .02em; }
.who { color: var(--muted); font-size: 14px; }
main { max-width: 860px; margin: 28px auto; padding: 0 16px; }
h1 { font-size: 24px; margin: 0 0 12px; }
h2 { font-size: 19px; margin: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; margin-bottom: 16px; }
.narrow { max-width: 460px; margin: 40px auto; }
label { display: block; font-size: 14px; color: var(--muted); margin-top: 8px; }
input, select { width: 100%; padding: 11px 12px; font-size: 16px; border: 1px solid var(--line); border-radius: 8px; margin: 6px 0 12px; background: #fff; }
.btn { display: inline-block; padding: 10px 16px; font-size: 15px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); text-decoration: none; }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); width: 100%; }
.btn.approve { background: var(--ok); color: #fff; border-color: var(--ok); }
.btn.small { padding: 6px 10px; font-size: 13px; }
.btn.danger { color: var(--danger); }
.btn:disabled { opacity: .55; cursor: default; }
.link { background: none; border: none; color: var(--accent); cursor: pointer; font-size: inherit; padding: 0; }
.msg { color: var(--muted); min-height: 1.5em; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.meeting { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.meeting .date { color: var(--muted); font-size: 14px; }
.files { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.files .btn::before { margin-right: 6px; }
.files .audio::before { content: "🎧"; }
.files .minutes::before { content: "📄"; }
.empty { color: var(--muted); font-style: italic; }
.approve-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px; }
.approved { color: var(--ok); font-weight: 600; }
.tally { color: var(--muted); font-size: 14px; }
.admin-row { border-top: 1px dashed var(--line); margin-top: 12px; padding-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 14px; }
.admin-row input[type=file] { width: auto; margin: 0; padding: 4px; }
.progress { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; width: 100%; margin-top: 8px; }
.progress > div { height: 100%; background: var(--accent); width: 0; transition: width .2s; }
.inline-form { display: grid; grid-template-columns: 2fr 2fr 1fr auto; gap: 8px; align-items: center; }
.inline-form input, .inline-form select { margin: 0; }
table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 13px; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #222; color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 14px; max-width: 90vw; }
.toast.err { background: var(--danger); }
@media (max-width: 600px) { .inline-form { grid-template-columns: 1fr; } .btn.primary { width: 100%; } }
