.prep-page h1 { font-size: clamp(1.6rem, 5vw, 2.3rem); margin-bottom: 1.5rem; }
.prep { line-height: 1.9; }
.prep [hidden] { display: none !important; }
.prep p { margin-bottom: 1rem; }
.prep-lead { font-size: 1.15rem; }
.prep-notice { background: #fff; border-left: 3px solid var(--color-accent); padding: 1.2rem; margin: 1.5rem 0; }
.prep-example { margin: 1.5rem 0; padding: 1rem; border: 1px solid var(--color-border); }
.prep summary { cursor: pointer; }
.prep fieldset { min-width: 0; border: 0; margin: 2rem 0; padding: 0; }
.prep legend, .prep h2 { font-size: 1.25rem; font-weight: 500; margin-bottom: 1rem; }
.prep-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.prep-grid label { display: block; min-width: 0; }
.prep select, .prep input[type=number], .prep textarea { display: block; width: 100%; min-width: 0; padding: .8rem; font: inherit; font-size: 1rem; color: var(--color-text); background: #fff; border: 1px solid #a8a29e; border-radius: 0; }
.prep select, .prep input[type=number] { min-height: 48px; margin-top: .5rem; }
.prep small { display: block; color: var(--color-text-light); font-size: .85rem; margin-top: .5rem; }
.prep-area { display: flex; gap: .5rem; }
.prep-area select { width: 5.5rem; flex-shrink: 0; }
.prep .prep-scope { margin-bottom: 1rem; }
.prep-scope label { display: inline-flex; align-items: center; padding: .65rem .8rem .65rem 0; gap: .4rem; }
.prep-scope input { width: 1.2rem; height: 1.2rem; }
.prep-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0 1.5rem; }
.prep button { padding: .9rem 1.2rem; font: inherit; font-size: 1rem; background: #0f766e; color: #fff; border: 1px solid #0f766e; cursor: pointer; min-height: 48px; }
.prep button:hover { background: #115e59; }
.prep button.prep-secondary { background: #fff; color: #115e59; }
.prep :is(button, input, select, textarea, summary):focus-visible { outline: 3px solid #0f766e; outline-offset: 3px; }
.prep-error { color: #b91c1c; }
.prep-status { color: #57534e; }
.prep-result { padding: 1.5rem; background: #fff; border: 1px solid var(--color-border); margin: 2rem 0; }
.prep textarea { resize: vertical; line-height: 1.8; }
.prep-checklist, .prep-next { margin-top: 2rem; }
.prep-checklist ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.prep-print-summary { display: none; }
@media (max-width: 600px) { .prep-grid { grid-template-columns: 1fr; } .prep-result { padding: 1rem; } .prep-actions button { width: 100%; } }
@media print {
    html.prep-active .site-header, html.prep-active .site-footer, html.prep-active .breadcrumb, html.prep-active .breadcrumbs { display: none !important; }
    html.prep-active .page-content { max-width: none; padding: 0; }
    .prep-editor, .prep-example, .prep-actions, .prep-status, .prep-error, .prep-result > p, .prep-result > label, .prep textarea { display: none !important; }
    .prep-print-summary { display: block; white-space: pre-wrap; overflow-wrap: anywhere; font: 11pt/1.7 sans-serif; }
    .prep-result { border: 0; padding: 0; }
    .prep h2 { break-after: avoid; }
}
