:root { --paper: #f4f1ea; --surface: #fbf9f4; --ink: #17181a; --muted: #6b6a66; --rule: #dcd7cc; --accent: #7a1f2b; --accent-soft: #efe0e2; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
header { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 20px; border-bottom: 1px solid var(--rule); background: var(--surface); }
.brand { font-weight: 700; }
main { max-width: 56rem; margin: 0 auto; padding: 20px; }
.muted { color: var(--muted); }
h1 { font-size: 24px; margin: 8px 0 4px; letter-spacing: -0.01em; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin: 28px 0 8px; }
button { font: inherit; font-weight: 600; border: 1px solid var(--ink); background: var(--ink); color: var(--surface); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
button.secondary { background: transparent; color: var(--ink); border-color: var(--rule); }
button.danger { background: transparent; color: var(--accent); border-color: var(--accent); }
button:disabled { opacity: 0.5; cursor: default; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.tabs button { padding: 6px 12px; font-size: 14px; }
.tabs button[aria-pressed="false"] { background: transparent; color: var(--muted); border-color: var(--rule); }
ul.list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
ul.list li { border-bottom: 1px solid var(--rule); padding: 12px 0; display: flex; justify-content: space-between; gap: 12px; }
ul.list a { color: var(--ink); font-weight: 600; text-decoration: none; }
input[type="text"], textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: 10px 12px; }
textarea { min-height: 28rem; font-family: ui-serif, Georgia, serif; font-size: 16px; line-height: 1.6; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.meta { font-size: 13px; color: var(--muted); }
.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 14px 16px; }
.notice { background: var(--accent-soft); color: var(--accent); border-radius: 10px; padding: 10px 14px; margin: 12px 0; }
pre { white-space: pre-wrap; font-size: 12px; max-height: 24rem; overflow: auto; }
details summary { cursor: pointer; color: var(--muted); }
