:root { color-scheme: light; --brand: #5145df; --ink: #24243c; --muted: #6a6b7f; --line: #e8e6f0; --paper: #fff; --danger: #b52c43; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #f7f7fc; color: var(--ink); font: 15px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
button, input, textarea, select { font: inherit; }
button, summary, input[type=checkbox] { cursor: pointer; }
a { color: var(--brand); text-underline-offset: 3px; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #b6afff; outline-offset: 3px; }
.page { max-width: 740px; padding: 64px 24px 28px; margin: auto; }
.hero { text-align: center; margin-bottom: 32px; }
.eyebrow { color: var(--brand); font-size: 12px; font-weight: 650; letter-spacing: .12em; }
h1 { font-size: clamp(34px, 6vw, 46px); line-height: 1.3; letter-spacing: -.04em; margin: 18px 0; }
h2 { font-size: 25px; line-height: 1.4; }
.subtitle { font-size: 18px; line-height: 1.8; margin: 0 0 12px; }
.intro { font-size: 14px; color: var(--muted); max-width: 470px; margin: 0 auto; }
.hero-tags { display: flex; gap: 16px; justify-content: center; margin-top: 22px; color: var(--muted); font-size: 12px; }
.hero-tags span::before { content: "·"; color: var(--brand); margin-right: 6px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: 0 8px 36px #29234d06; }
.field { margin-bottom: 24px; }
.field-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
label { font-size: 14px; font-weight: 600; }
.step { color: var(--brand); font-size: 12px; margin-right: 10px; }
.tag { font-size: 12px; white-space: nowrap; }
.required { color: var(--brand); }
.hint { color: var(--muted); font-size: 12px; margin: 8px 0 10px; line-height: 1.7; }
textarea, input[type=text], input[type=password], input[type=search], select { width: 100%; color: var(--ink); border: 1px solid #dddae9; border-radius: 10px; padding: 12px; background: #fff; min-width: 0; }
textarea { resize: vertical; min-height: 112px; display: block; margin-top: 10px; }
#ideaText { min-height: 145px; }
textarea::placeholder, input::placeholder { color: #8c8b9b; }
details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { color: var(--brand); font-size: 14px; font-weight: 600; }
summary span { color: var(--muted); font-size: 12px; font-weight: 400; margin-left: 8px; }
.details-body { padding-top: 22px; }
.details-body .field:last-child { margin-bottom: 2px; }
.contact-section { padding: 22px 0; }
.check-row { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 13px; }
input[type=checkbox] { accent-color: var(--brand); width: 17px; height: 17px; flex: 0 0 17px; margin: 3px 0 0; }
small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.contact-fields { margin: 16px 0 0 27px; }
.contact-fields input { margin-top: 8px; }
.notice { background: #f7f6fc; border-radius: 12px; padding: 16px; font-size: 12px; color: var(--muted); }
.notice strong { color: var(--ink); font-size: 12px; }
.notice p { margin: 8px 0 12px; }
.notice .check-row { color: var(--ink); }
.primary, .secondary { border-radius: 10px; border: 0; padding: 13px 20px; font-size: 14px; font-weight: 600; }
.primary { background: var(--brand); color: white; }
.secondary { background: #f0eefc; color: var(--brand); }
button:hover { filter: brightness(.97); }
button:disabled { cursor: not-allowed; opacity: .6; }
#submitBtn { width: 100%; margin-top: 22px; }
.submit-hint { font-size: 12px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.message { padding: 10px 12px; font-size: 13px; border-radius: 8px; overflow-wrap: anywhere; }
.error { color: var(--danger); background: #fff1f3; }
.info { color: #306443; background: #edf8f0; }
.honeypot { display: none; }
#turnstileWidget { margin-top: 16px; max-width: 100%; }
.success-card { text-align: center; padding: 48px 32px; }
.success-card p { color: var(--muted); }
.success-icon { background: #eeebff; color: var(--brand); font-size: 30px; border-radius: 50%; width: 64px; height: 64px; line-height: 64px; margin: 0 auto 22px; }
footer { text-align: center; color: var(--muted); font-size: 12px; margin-top: 28px; }
footer a { margin-left: 10px; }
.prose h1 { font-size: 30px; }
.prose h2 { font-size: 19px; margin-top: 28px; }
.prose p, .prose li { color: var(--muted); }
.admin-page { max-width: 1100px; }
.admin-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.admin-header h1 { font-size: 28px; margin: 4px 0; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.login-card { max-width: 440px; margin: 40px auto; }
.login-card input, .login-card button { margin-top: 12px; }
.filters { display: grid; grid-template-columns: 1fr 1fr 2fr auto; gap: 10px; align-items: end; margin-bottom: 20px; }
.filters label { display: block; font-size: 12px; color: var(--muted); }
.filters input, .filters select { margin-top: 5px; }
.list-summary { color: var(--muted); font-size: 13px; margin: 16px 0; }
.idea-item { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: white; margin-bottom: 14px; overflow-wrap: anywhere; }
.idea-meta { font-size: 12px; color: var(--muted); }
.idea-title { white-space: pre-wrap; font-size: 17px; margin: 10px 0 14px; }
.idea-section { white-space: pre-wrap; color: var(--muted); font-size: 14px; }
.idea-section strong { display: block; color: var(--ink); font-size: 12px; margin-top: 14px; }
.idea-editor { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.editor-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.idea-editor select { margin-top: 6px; }
.idea-editor textarea { min-height: 80px; }
.idea-editor button { margin-top: 12px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 24px; font-size: 13px; }
@media(max-width: 600px) {
  .page { padding: 36px 16px 24px; }
  .card { padding: 24px 18px; border-radius: 16px; }
  .desktop-break { display: none; }
  .subtitle { font-size: 16px; }
  .hero-tags { gap: 10px; }
  .field-row label { font-size: 14px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  summary { font-size: 13px; }
  summary span { display: block; margin-left: 18px; }
  .idea-item { padding: 18px; }
}
