:root {
  --ink: #1f2a24;
  --muted: #6b766f;
  --paper: #f3f0e8;
  --surface: #fffdf8;
  --line: #d9d4c7;
  --brand: #2f6b50;
  --brand-deep: #204d3a;
  --brand-soft: #dcebe2;
  --danger: #a33d32;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 5%, rgba(170, 204, 183, 0.4), transparent 22rem),
    linear-gradient(150deg, #eee9dd, #f8f5ed 52%, #eef2ea);
}
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.screen { width: min(760px, 100%); margin: 0 auto; padding: 22px 16px 48px; }
.center-screen { min-height: 100vh; display: grid; place-items: center; }
.pair-card {
  width: min(440px, 100%);
  padding: 28px 24px;
  border: 1px solid rgba(47, 107, 80, 0.16);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 22px 60px rgba(47, 64, 54, 0.13);
}
.logo {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 17px;
  color: white;
  background: var(--brand);
  font-weight: 900;
}
.eyebrow { margin: 0 0 7px; color: var(--brand); font-size: 12px; font-weight: 850; letter-spacing: .16em; }
h1 { margin: 0 0 12px; font-size: clamp(30px, 9vw, 48px); letter-spacing: -.04em; }
h2 { margin: 0 0 12px; font-size: 22px; }
.muted { color: var(--muted); line-height: 1.7; }
label { display: grid; gap: 7px; margin-bottom: 14px; color: var(--muted); font-size: 13px; font-weight: 750; }
input, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: white;
}
textarea { min-height: 76px; resize: vertical; }
.primary, .quiet {
  border: 0;
  border-radius: 11px;
  padding: 11px 15px;
  font-weight: 850;
}
.primary { width: 100%; color: white; background: var(--brand); }
.quiet { color: var(--brand-deep); background: var(--brand-soft); }
.error { min-height: 20px; color: var(--danger); font-size: 13px; }
.hero { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 16px 4px 22px; }
.hero h1 { font-size: clamp(28px, 8vw, 44px); margin-bottom: 8px; }
.panel {
  margin-bottom: 16px;
  padding: 20px;
  border: 1px solid rgba(47, 107, 80, 0.13);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.88);
}
.section-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.task-list { display: grid; gap: 12px; }
.task {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
}
.task strong { font-size: 17px; }
.task h3 { margin: 10px 0 6px; font-size: 18px; line-height: 1.45; }
.task-content { white-space: pre-wrap; padding: 11px 12px; border-radius: 10px; background: #f7fbf8; color: var(--ink); font-size: 14px; line-height: 1.75; }
.task p { margin: 7px 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.task .actions { display: flex; justify-content: flex-end; margin-top: 10px; }
.task .actions button { border: 0; border-radius: 9px; padding: 10px 14px; color: white; background: var(--brand); font-weight: 850; }
.task .actions button.secondary { color: var(--brand-deep); background: var(--brand-soft); }
.task input[type=file] { padding: 11px; background: #f7fbf8; font-size: 12px; }
.file-hint { color: #748178 !important; font-size: 11.5px !important; }
.media-list { display:grid; gap:7px; margin:10px 0; }
.media-item { display:flex; align-items:center; gap:9px; padding:10px 11px; border:1px solid #c9ddd1; border-radius:10px; color:var(--brand-deep); background:#f4faf6; text-decoration:none; }
.media-item b { flex:none; padding:3px 7px; border-radius:999px; color:white; background:var(--brand); font-size:11px; }
.media-item span { min-width:0; overflow:hidden; color:var(--ink); font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.review-card { white-space: pre-wrap; padding: 18px; border-radius: 15px; background: #f7fbf8; border-left: 4px solid var(--brand); line-height: 1.8; }
.review-card.empty { color: var(--muted); border-left-color: var(--line); }
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 14px;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 0 16px 28px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  padding: 11px 16px;
  border-radius: 999px;
  color: white;
  background: var(--brand-deep);
  box-shadow: 0 10px 30px rgba(31, 42, 36, .2);
}
@media (max-width: 520px) {
  .hero { align-items: flex-start; }
  .hero .quiet { padding: 9px 11px; }
  .panel { padding: 17px; }
}
