.pm { --pm-accent: var(--color-primary, #17635c); --pm-border: #c9d9d5; --pm-surface: #f3f8f6; max-width: none; margin: 0; padding: clamp(16px, 4vw, 40px); color: #203c38; }
.pm, .pm * { box-sizing: border-box; }
.pm-content { min-width: 0; overflow-wrap: anywhere; }
.pm [hidden] { display: none !important; }
.pm .pm-lead { font-size: clamp(1.08rem, 2.4vw, 1.4rem); font-weight: 700; }
.pm .pm-section { margin-block: 2.5rem; }
.pm .pm-panel, .pm .pm-notice, .pm .pm-terms { padding: clamp(16px, 3vw, 28px); margin-block: 1.5rem; border: 1px solid var(--pm-border); border-radius: 16px; background: #fff; }
.pm .pm-notice { border-left: 5px solid var(--pm-accent); background: var(--pm-surface); }
.pm .pm-notice--accordion > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; cursor: pointer; list-style: none; font-size: 1.2rem; font-weight: 700; }
.pm .pm-notice--accordion > summary::-webkit-details-marker { display: none; }
.pm .pm-notice--accordion > summary::after { content: '＋'; flex: 0 0 auto; font-size: 1.3rem; line-height: 1; }
.pm .pm-notice--accordion[open] > summary::after { content: '−'; }
.pm .pm-notice--accordion summary + p { margin-top: 1rem; }
.pm .pm-terms { background: #f7f7f5; }
.pm .pm-notice h2, .pm .pm-terms h2 { font-size: 1.2rem; margin-top: 0; }
.pm .pm-notice p:last-child, .pm .pm-terms p:last-child { margin-bottom: 0; }
.pm .pm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pm .pm-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.pm .pm-card { --pm-card-color: #17635c; display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--pm-card-color); border-radius: 16px; color: #fff; text-decoration: none; background: var(--pm-card-color); transition: box-shadow .2s, transform .2s; }
.pm .pm-card--writing { --pm-card-color: #7551a3; }
.pm .pm-card--learning { --pm-card-color: #28699a; }
.pm .pm-card--notes { --pm-card-color: #98712b; }
.pm .pm-card--comparison { --pm-card-color: #446d9c; }
.pm .pm-card--improvement { --pm-card-color: #176a66; }
.pm .pm-card--image { --pm-card-color: #a35676; }
.pm .pm-card:hover, .pm .pm-card:focus-visible { box-shadow: 0 9px 25px rgb(18 59 55 / 20%); transform: translateY(-2px); }
.pm .pm-card-visual { display: flex; align-items: center; justify-content: center; height: 112px; margin: -4px -4px 20px; border-radius: 12px; color: #fff; background: rgb(255 255 255 / 12%); }
.pm .pm-card-visual svg { width: 78px; height: 78px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.pm .pm-card h3 { color: #fff; font-size: 1.2rem; margin: 0 0 12px; }
.pm .pm-card p { color: #fff; margin: 0 0 20px; }
.pm .pm-card-link { display: inline-flex; align-items: center; justify-content: center; gap: .5em; align-self: flex-start; min-height: 44px; margin-top: auto; padding: 9px 18px; border: 2px solid #fff; border-radius: 9px; color: #fff; background: transparent; font-weight: 700; line-height: 1.4; text-decoration: none; transition: color .2s, background .2s; }
.pm .pm-card:hover .pm-card-link, .pm .pm-card:focus-visible .pm-card-link { color: var(--pm-card-color); background: #fff; }
.pm .pm-example { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 16px; margin-block: 20px; }
.pm .pm-example > div { min-width: 0; padding: 20px; border: 1px solid var(--pm-border); border-radius: 12px; background: #f7f8f7; }
.pm .pm-example > div:last-child { background: var(--pm-surface); }
.pm .pm-example h3 { margin: 0 0 12px; font-size: 1.1rem; }
.pm .pm-example blockquote { margin: 0; padding: 0; border: 0; color: inherit; background: none; font-style: normal; white-space: pre-wrap; }
.pm .pm-example blockquote::before, .pm .pm-example blockquote::after { content: none; }
.pm .pm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pm .pm-chips li { padding: 6px 12px; border-radius: 8px; background: #e6f0ec; font-size: .92rem; }
.pm .pm-question { border: 0; min-width: 0; padding: 0; margin: 0; }
.pm .pm-question legend { display: block; width: 100%; font-size: clamp(1.15rem, 3vw, 1.5rem); font-weight: 700; padding: 0; }
.pm .pm-progress, .pm .pm-output-label { display: block; font-weight: 700; }
.pm .pm-input, .pm select, .pm textarea, .pm input[type="text"] { display: block; width: 100%; max-width: 100%; min-width: 0; padding: 13px; border: 1px solid #788f89; border-radius: 8px; background: #fff; color: #203c38; font: inherit; font-size: 16px; line-height: 1.7; }
.pm textarea { min-height: 160px; resize: vertical; }
.pm .pm-output { min-height: 360px; margin-top: 10px; }
.pm .pm-options { display: grid; gap: 10px; }
.pm .pm-option { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid var(--pm-border); border-radius: 10px; cursor: pointer; }
.pm .pm-option:has(input:checked) { background: var(--pm-surface); border-color: var(--pm-accent); }
.pm .pm-option input { flex: 0 0 auto; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--pm-accent); }
.pm .pm-option span { min-width: 0; }
.pm .pm-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.pm .pm-button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; max-width: 100%; padding: 12px 22px; border: 2px solid var(--pm-accent); border-radius: 9px; background: var(--pm-accent); color: #fff; font: inherit; font-weight: 700; line-height: 1.5; text-align: center; cursor: pointer; white-space: normal; }
.pm .pm-button--secondary { color: var(--pm-accent); background: #fff; }
.pm .pm-button:hover { filter: brightness(.92); }
.pm .pm-button:disabled { opacity: .55; cursor: not-allowed; }
.pm .pm-catalog-action { margin-block: 1.5rem 0; }
.pm .pm-catalog-action .pm-button { text-decoration: none; }
.pm .pm-maker-nav__buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pm .pm-maker-nav__buttons .pm-button { width: 100%; text-decoration: none; }
.pm .pm-maker-nav__current { background: var(--pm-surface); }
.pm :is(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid #c25b00; outline-offset: 4px; }
.pm .pm-error { color: #a52323; font-weight: 700; }
.pm .pm-hint { font-size: .92rem; }
.pm .pm-summary { display: grid; grid-template-columns: minmax(100px, 1fr) minmax(0, 3fr); gap: 0; }
.pm .pm-summary dt, .pm .pm-summary dd { margin: 0; padding: 10px; border-bottom: 1px solid var(--pm-border); white-space: pre-wrap; }
.pm .pm-summary dt { font-weight: 700; background: var(--pm-surface); }
.pm .pm-summary dd { min-width: 0; }
@media (max-width: 640px) {
 .page-hero--prompt-maker .page-title { font-size: 1.45rem; line-height: 1.45; text-wrap: balance; overflow-wrap: anywhere; }
 .pm .pm-grid, .pm .pm-example, .pm .pm-maker-nav__buttons { grid-template-columns: minmax(0, 1fr); }
 .pm .pm-card { padding: 18px; }
 .pm .pm-card-visual { height: 90px; }
 .pm .pm-actions { align-items: stretch; }
 .pm .pm-actions .pm-button { flex: 1 1 100%; width: 100%; }
 .pm .pm-summary { grid-template-columns: minmax(0, 1fr); }
 .pm .pm-summary dt { border-bottom: 0; padding-bottom: 4px; }
 .pm .pm-summary dd { padding-top: 4px; }
}
