:root { --ink:#1a1a1a; --muted:#6b6b6b; --paper:#faf9f6; --green:#2f7d5b; --card:#fff; --line:#e6e3dc; }
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink);
  font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif; }
.wrap { max-width:720px; margin:0 auto; padding:32px 24px 64px; }
.brand { letter-spacing:.12em; text-transform:uppercase; font-size:12px; color:var(--green); font-weight:600; margin:0 0 8px; }
h1 { font-size:28px; line-height:1.25; margin:0 0 12px; }
.muted { color:var(--muted); }
.error { color:#b00020; }
a { color:var(--ink); }
.link { background:none; border:none; color:var(--green); cursor:pointer; font:inherit; padding:0; text-decoration:none; }
.topbar { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.card { display:flex; flex-direction:column; gap:10px; background:var(--card); border:1px solid var(--line); border-radius:14px; padding:20px; margin-top:16px; }
label { font-size:13px; color:var(--muted); }
input[type=email], input[type=search], #code { font:inherit; padding:12px 14px; border:1px solid var(--line); border-radius:10px; background:#fff; width:100%; }
button[type=submit] { font:inherit; font-weight:600; color:#fff; background:var(--green); border:none; border-radius:10px; padding:12px 16px; cursor:pointer; }
.resend { margin-top:14px; }
#search { margin:8px 0 20px; }
ul.notes { list-style:none; padding:0; margin:0; }
.note-row a { display:flex; justify-content:space-between; align-items:baseline; gap:12px; background:var(--card); border:1px solid var(--line); border-radius:14px; padding:18px 20px; margin-bottom:12px; text-decoration:none; }
.note-title { font-size:18px; }
.note-date { color:var(--muted); font-size:13px; white-space:nowrap; }
.tabs { display:flex; gap:16px; border-bottom:1px solid var(--line); margin:16px 0 20px; }
.tab { background:none; border:none; padding:10px 0; font-size:14px; color:var(--muted); cursor:pointer; border-bottom:2px solid transparent; }
.tab.active { color:var(--ink); border-bottom-color:var(--green); }
.panel { display:none; }
.panel.active { display:block; }
.panel ul { padding-left:20px; }
pre { white-space:pre-wrap; word-wrap:break-word; font:inherit; }
