:root { --ink:#16140f; --paper:#f6f3ec; --line:#d9d3c4; --accent:#c8553d; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--paper); color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.card { width: 100%; max-width: 560px; }
h1 {
  font-weight: 600; font-size: clamp(2.4rem, 8vw, 3.6rem);
  line-height: 1; margin: 0 0 4px; letter-spacing: -.02em;
}
p.sub { margin: 0 0 28px; color: #6b6457; font-size: .98rem; }
label {
  display: block; font-size: .8rem; text-transform: uppercase;
  letter-spacing: .08em; color: #6b6457; margin: 18px 0 8px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
textarea {
  width: 100%; min-height: 140px; resize: vertical; padding: 14px 16px;
  font-size: 1.05rem; line-height: 1.5; border: 1px solid var(--line);
  border-radius: 12px; background: #fffdf8; color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
textarea:focus, input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.meta {
  display: flex; justify-content: flex-end; font-size: .8rem; color: #9a9281; margin-top: 6px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.meta b { color: var(--ink); font-weight: 600; }
.row { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-end; }
.row > div { flex: 1; min-width: 200px; }
input[type=file] {
  font-size: .9rem; width: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.colorwrap { display: flex; align-items: center; gap: 10px; }
input[type=color] {
  width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; padding: 4px; cursor: pointer;
}
.colorwrap span {
  font-size: .9rem; color: #6b6457;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.colorwrap.disabled { opacity: .4; pointer-events: none; }
button {
  margin-top: 28px; width: 100%; padding: 16px; border: none; border-radius: 12px;
  cursor: pointer; background: var(--ink); color: var(--paper);
  font-size: 1.05rem; font-weight: 600; letter-spacing: .01em;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  transition: transform .08s ease, opacity .15s ease;
}
button:hover { opacity: .92; }
button:active { transform: translateY(1px); }
.hint {
  font-size: .78rem; color: #9a9281; margin-top: 14px; text-align: center;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.opt { text-transform: none; letter-spacing: 0; }
