:root { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
body { margin: 0; background: #f6f7f8; color: #111; }
header { padding: 16px 20px; background: white; border-bottom: 1px solid #e6e6e6; position: sticky; top: 0; z-index: 5; }
h1 { margin: 0; font-size: 18px; }
main { padding: 16px 20px; max-width: 1100px; margin: 0 auto; display: grid; gap: 16px; }
.card { background: white; border: 1px solid #e6e6e6; border-radius: 14px; padding: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
label { display: grid; gap: 6px; font-size: 12px; color: #333; }
input, select, textarea { padding: 10px; border: 1px solid #d7d7d7; border-radius: 10px; font-size: 14px; }
textarea { min-height: 90px; resize: vertical; }
button { padding: 10px 12px; border-radius: 12px; border: 1px solid #d7d7d7; background: #111; color: white; cursor: pointer; font-size: 14px; }
button.secondary { background: white; color: #111; }
button:disabled { opacity: 0.5; cursor: not-allowed; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.small { font-size: 12px; color: #666; line-height: 1.4; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 12px; white-space: pre-wrap; }
hr { border: 0; border-top: 1px solid #eee; margin: 12px 0; }
#pdfCanvas { width: 100%; max-width: 100%; border-radius: 12px; border: 1px solid #eee; }
kbd { background: #f2f2f2; border: 1px solid #ddd; border-bottom-width: 2px; padding: 1px 6px; border-radius: 6px; font-size: 12px; }