* { box-sizing: border-box; }
body { margin: 0; background: #f9fafb; color: #111827; font-family: Pretendard, system-ui, sans-serif; }
main { padding: 64px 20px 96px; background: #fff; }
.page { width: 100%; max-width: 820px; margin: 0 auto; }
.heading { margin-bottom: 32px; }
.eyebrow { margin: 0 0 8px; color: #6d28d9; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
h1 { margin: 0 0 10px; font-size: 34px; line-height: 1.2; }
.heading p:last-child, .success > p { color: #6b7280; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 32px; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; box-shadow: 0 8px 30px rgba(17, 24, 39, .04); }
.field { display: flex; min-width: 0; flex-direction: column; gap: 8px; }
.full { grid-column: 1 / -1; }
label { font-size: 14px; font-weight: 700; }
.optional, small { color: #6b7280; font-weight: 400; }
input, textarea { width: 100%; border: 1px solid #d1d5db; border-radius: 9px; background: #fff; color: #111827; font: inherit; font-size: 14px; padding: 11px 12px; }
input:focus, textarea:focus { border-color: #6d28d9; outline: 3px solid #ede9fe; }
textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
input[type="file"] { padding: 8px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.error { margin: 0; color: #dc2626; font-size: 14px; }
button, .jira-button { border: 0; border-radius: 9px; background: #6d28d9; color: #fff; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700; padding: 11px 18px; text-decoration: none; }
button:hover, .jira-button:hover { background: #5b21b6; }
button:disabled { cursor: wait; opacity: .65; }
.actions button { margin-left: auto; }
.success { text-align: center; }
.success-icon { display: inline-grid; width: 52px; height: 52px; margin-bottom: 18px; place-items: center; border-radius: 50%; background: #dcfce7; color: #15803d; font-size: 26px; font-weight: 800; }
.result-card { margin-top: 28px; padding: 28px; border: 1px solid #e5e7eb; border-radius: 16px; background: #fff; text-align: left; }
.result-card h2 { margin: 0 0 10px; font-size: 20px; }
.result-card p { color: #4b5563; line-height: 1.55; }
.result-card li { margin: 7px 0; }
.jira-button { display: inline-block; margin-top: 8px; }
.notice { margin: 20px 0 0; padding: 14px 16px; border-radius: 9px; background: #fff7ed; color: #9a3412 !important; font-weight: 600; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.card-heading h2 { margin: 0; }
.markdown-card textarea { min-height: 360px; background: #f9fafb; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
[hidden] { display: none !important; }
@media (max-width: 680px) {
  main { padding: 40px 14px 72px; }
  h1 { font-size: 28px; }
  form { grid-template-columns: 1fr; padding: 22px 18px; }
  .field, .full { grid-column: 1; }
  .actions, .card-heading { align-items: stretch; flex-direction: column; }
  .actions button { width: 100%; margin-left: 0; }
  .result-card { padding: 22px 18px; }
}
