:root { color-scheme: light; --ink:#352a31; --muted:#786a73; --rose:#9b657d; --line:#eadfe4; --paper:#fffdfd; --wash:#f8f1f4; }
* { box-sizing:border-box; }
body { margin:0; font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",sans-serif; color:var(--ink); background:linear-gradient(160deg,#fbf6f8 0%,#f3e9ee 100%); min-height:100vh; }
button { touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
header, main { width:min(960px,calc(100% - 32px)); margin:auto; }
header { padding:54px 0 28px; }
.eyebrow { margin:0 0 8px; color:var(--rose); font-size:12px; letter-spacing:.18em; font-weight:700; }
h1 { margin:0; font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:clamp(34px,7vw,58px); font-weight:500; }
.lead,.count { color:var(--muted); }
.filter-panel { margin-bottom:18px; }
.toolbar { display:flex; gap:14px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.tabs { display:flex; gap:8px; flex-wrap:wrap; }
button,input { font:inherit; }
.tabs button,.months button,.copy,.copy-all { min-height:42px; border:1px solid var(--line); border-radius:999px; padding:9px 15px; background:var(--paper); color:var(--ink); cursor:pointer; }
.tabs button.active,.copy-all { background:var(--ink); color:white; border-color:var(--ink); }
input { width:min(320px,100%); padding:11px 14px; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.82); }
.months { display:flex; gap:8px; overflow-x:auto; padding:12px 1px 4px; scrollbar-width:thin; }
.months button { flex:none; color:var(--muted); }
.months button.active { background:var(--rose); color:white; border-color:var(--rose); }
.list { display:grid; gap:12px; padding-bottom:60px; }
.month-group { display:grid; gap:12px; }
.month-heading { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:22px 2px 2px; }
.month-heading h2 { margin:0; font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:24px; font-weight:500; }
.month-heading span { color:var(--muted); font-size:12px; }
.card { border:1px solid var(--line); border-radius:18px; overflow:hidden; background:rgba(255,253,253,.92); box-shadow:0 7px 28px rgba(72,42,57,.05); }
.card-head { width:100%; border:0; background:transparent; text-align:left; padding:18px 20px; display:grid; grid-template-columns:1fr auto; gap:8px 18px; cursor:pointer; color:inherit; }
.meta { display:flex; align-items:center; gap:10px; color:var(--muted); font-size:12px; }
.badge { color:var(--rose); font-weight:700; }
.title { font-size:17px; line-height:1.55; }
.chevron { grid-column:2; grid-row:1/3; align-self:center; font-size:22px; transition:.2s; }
.card.open .chevron { transform:rotate(180deg); }
.details { border-top:1px solid var(--line); padding:18px; }
.actions { display:flex; justify-content:flex-end; margin-bottom:12px; }
.choices { display:grid; gap:14px; }
.choice { border:1px solid var(--line); border-radius:14px; background:white; overflow:hidden; }
.choice-top { display:flex; justify-content:space-between; align-items:center; padding:11px 14px; background:var(--wash); position:sticky; top:0; }
.choice-top strong { font-size:18px; }
pre { margin:0; padding:16px; white-space:pre-wrap; word-break:break-word; line-height:1.85; font-family:inherit; font-size:14px; }
#toast { position:fixed; left:50%; bottom:28px; transform:translate(-50%,20px); opacity:0; background:var(--ink); color:white; padding:10px 17px; border-radius:999px; transition:.2s; pointer-events:none; }
#toast.show { opacity:1; transform:translate(-50%,0); }
@media (max-width:640px) {
  header,main { width:min(100% - 20px,960px); }
  header { padding:28px 4px 18px; }
  .lead { font-size:14px; line-height:1.65; }
  .filter-panel { position:sticky; top:0; z-index:20; margin-inline:-10px; padding:10px; background:rgba(248,241,244,.94); backdrop-filter:blur(14px); border-bottom:1px solid var(--line); }
  .toolbar { display:grid; gap:10px; }
  .tabs { display:grid; grid-template-columns:repeat(3,1fr); }
  .tabs button { padding-inline:8px; }
  input { width:100%; min-height:46px; font-size:16px; }
  .months { padding-bottom:2px; }
  .count { margin:14px 2px 6px; font-size:13px; }
  .month-heading { margin-top:18px; }
  .card { border-radius:15px; }
  .card-head { padding:15px; grid-template-columns:minmax(0,1fr) auto; }
  .title { font-size:16px; }
  .details { padding:10px; }
  .actions { position:sticky; top:124px; z-index:5; margin:-2px -2px 10px; padding:6px 2px; background:rgba(255,253,253,.95); }
  .copy-all { width:100%; min-height:46px; }
  .copy { min-width:92px; }
  pre { padding:14px; font-size:15px; line-height:1.9; }
}
