
:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #111827;
  background: #f3f4f6;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.hero {
  padding: calc(24px + env(safe-area-inset-top)) 20px 28px;
  color: white;
  background: linear-gradient(145deg, #111827, #1f2937);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.eyebrow { margin: 0 0 6px; font-size: 12px; letter-spacing: .18em; opacity: .7; }
h1 { margin: 0; font-size: 28px; line-height: 1.2; }
.sub { margin: 8px 0 0; opacity: .75; font-size: 14px; }
main { max-width: 760px; margin: -14px auto 0; padding: 0 14px 40px; }
.summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.summary-card {
  background: white; border-radius: 16px; padding: 16px;
  box-shadow: 0 8px 24px rgba(17,24,39,.08);
}
.summary-card span { display:block; font-size:12px; color:#6b7280; margin-bottom:5px; }
.summary-card strong { font-size:20px; }
.filters { display:flex; gap:8px; overflow-x:auto; padding:4px 0 12px; scrollbar-width:none; }
.filters::-webkit-scrollbar { display:none; }
.filter, .ghost {
  border:0; border-radius:999px; padding:9px 13px; white-space:nowrap; font-weight:600;
}
.filter { background:#e5e7eb; color:#374151; }
.filter.active { background:#111827; color:white; }
.ghost { background:rgba(255,255,255,.12); color:white; }
.ghost.dark { color:#111827; background:#e5e7eb; }
.site-list { display:grid; gap:12px; }
.site-card {
  background:white; border-radius:18px; padding:16px;
  box-shadow: 0 6px 20px rgba(17,24,39,.06);
  transition: .2s ease;
}
.site-card.done { opacity:.58; }
.site-card.done h3 { text-decoration: line-through; }
.card-top { display:flex; gap:14px; justify-content:space-between; }
.tag {
  display:inline-block; font-size:11px; padding:4px 8px; border-radius:999px;
  background:#eef2ff; color:#3730a3; margin-bottom:8px;
}
h3 { margin:0; font-size:18px; }
.site-card p { margin:7px 0 0; color:#6b7280; font-size:13px; line-height:1.45; }
.open-btn {
  display:block; margin-top:14px; text-align:center; text-decoration:none;
  background:#111827; color:white; padding:11px 14px; border-radius:12px; font-weight:700;
}
.check-wrap { position:relative; width:30px; height:30px; flex:0 0 30px; }
.check-wrap input { position:absolute; opacity:0; width:100%; height:100%; margin:0; }
.checkmark {
  display:grid; place-items:center; width:30px; height:30px; border-radius:50%;
  border:2px solid #d1d5db; color:transparent; font-weight:900;
}
.check-wrap input:checked + .checkmark { background:#10b981; border-color:#10b981; color:white; }
.notes { margin-top:16px; background:white; border-radius:18px; padding:16px; }
.notes-head { display:flex; align-items:center; justify-content:space-between; }
.notes h2 { margin:0; font-size:18px; }
textarea {
  width:100%; min-height:150px; margin-top:12px; resize:vertical; border:1px solid #e5e7eb;
  border-radius:14px; padding:12px; font:inherit; line-height:1.5; outline:none;
}
textarea:focus { border-color:#9ca3af; box-shadow:0 0 0 3px rgba(156,163,175,.18); }
@media (min-width: 720px) {
  .site-list { grid-template-columns: 1fr 1fr; }
  .hero { padding-left:max(24px, calc((100vw - 760px)/2)); padding-right:max(24px, calc((100vw - 760px)/2)); }
}
