/* THEME:START — shared/themes.json의 "paper". scripts/apply-themes.mjs가 씀, 여기 직접 고치지 말 것 */
:root {
  --accent: #92400e; --accent-2: #78350f; --glow: #fca5a5;
  --radius: 12px; --btn-radius: 10px; --head-weight: 800;
  --header-bg: rgba(255,255,255,.88); --header-top: 0px;
  --hero-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect x='0.5' y='0.5' width='23' height='23' fill='none' stroke='%2392400e' stroke-opacity='.18'/%3E%3C/svg%3E");
  --hero-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2392400e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16zM14 6l4 4M13 20h7'/%3E%3C/svg%3E");
}
/* THEME:END */
.accent { color: var(--accent); }
.hint { font-size: .85rem; color: var(--muted); margin: 2px 0 0; }
select { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text); }
#text { min-height: 280px; line-height: 1.7; font-size: 1.05rem; resize: vertical; }
.opts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0; }
.opts label { display: inline-flex; gap: 6px; align-items: center; margin: 0; font-weight: normal; }
.opts input { width: auto; }
.target-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px 14px; margin: 10px 0 6px; }
.target-row > div { min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.chip { border: 1px solid var(--border); background: var(--bg); color: var(--text); border-radius: 99px; padding: 6px 12px; font-size: .9rem; cursor: pointer; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.btn.small-btn { padding: 8px 12px; font-size: .9rem; }
.progress-msg { margin: 8px 0 0; font-weight: 600; }
.meter.over > span { background: var(--bad, #d33); }
.meter.met > span { background: var(--good, #2a8); }
.basis-note { margin-top: 12px; }
.tips li { margin: .4em 0; }
