/* The guide follows the portfolio's existing teal, paper and fine-rule palette. */
.portfolio-guide { margin: 0 0 44px; padding: clamp(22px, 3vw, 36px); border: 1px solid #647b7c; border-radius: 6px; background: #f0f5f1; color: #173437; }
.guide-heading { display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; }
.guide-heading h2 { margin: 0 0 10px; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.03em; }
.guide-heading p { margin: 0; max-width: 62ch; line-height: 1.6; }
.guide-symbol { flex: 0 0 auto; font-size: 2rem; color: #206268; }
.guide-form { display: flex; gap: 16px; flex-wrap: wrap; align-items: end; margin-top: 24px; }
.guide-form label { display: grid; gap: 8px; flex: 1 1 190px; font-size: .85rem; font-weight: 700; }
.guide-form textarea { width: 100%; min-height: 48px; border: 1px solid #647b7c; border-radius: 3px; padding: 10px; color: #173437; background: #fffdf8; font: inherit; }
.guide-form button { min-height: 48px; border: 1px solid #173437; border-radius: 3px; padding: 12px 20px; background: #173437; color: #fffdf8; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.guide-form button:disabled { opacity: .7; cursor: wait; }
.guide-form :focus-visible, .guide-output a:focus-visible { outline: 3px solid #267279; outline-offset: 4px; }
.guide-status { margin: 18px 0 0; font-size: .8rem; font-weight: 700; min-height: 1.5em; }
.guide-output { margin-top: 12px; border-top: 1px solid #9aafab; padding-top: 16px; }
.guide-output p { margin: 0 0 18px; max-width: 78ch; line-height: 1.7; }
.guide-links { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.guide-links .text-link { color: #173437; }
.guide-privacy { margin: 18px 0 0; max-width: 90ch; color: #425d5f; font-size: .76rem; line-height: 1.6; }
.guide-privacy a { color: inherit; text-underline-offset: 3px; }
[data-theme="dark"] .portfolio-guide { background: #102a2d; color: #eff5f0; border-color: #5e8284; }
[data-theme="dark"] .guide-symbol, [data-theme="dark"] .guide-privacy, [data-theme="dark"] .guide-links .text-link { color: #c2d8d5; }
[data-theme="dark"] .guide-form textarea { background: #071a1d; color: #eff5f0; border-color: #73918f; }
[data-theme="dark"] .guide-form button { background: #c2d8d5; color: #102a2d; }
[data-theme="dark"] .guide-form :focus-visible, [data-theme="dark"] .guide-output a:focus-visible { outline-color: #9be4dd; }
.no-js .guide-form, .no-js .guide-status, .no-js .guide-examples { display: none; }
@media (max-width: 600px) { .guide-form { display: grid; } .guide-symbol { display: none; } .guide-links { display: grid; } }
@media print { .portfolio-guide { display: none; } }

.questions { padding-top: 48px; padding-bottom: 48px; }
.questions .portfolio-guide { margin: 0; }
.guide-kicker { margin-bottom: 10px !important; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.guide-form { display: block; }
.guide-form label { display: grid; }
.guide-form textarea { min-height: 110px; line-height: 1.6; resize: vertical; font-weight: 400; box-sizing: border-box; }
.guide-actions { display: flex; gap: 16px; justify-content: space-between; align-items: center; margin-top: 12px; }
.guide-actions p { margin: 0; font-size: .75rem; }
.guide-examples { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.guide-examples button { background: transparent; border: 1px solid #647b7c; border-radius: 30px; color: inherit; padding: 10px 14px; min-height: 44px; font: inherit; font-size: .76rem; cursor: pointer; }
.guide-examples button:focus-visible, .guide-output:focus-visible { outline: 3px solid #267279; outline-offset: 4px; }
[data-theme="dark"] .guide-examples button:focus-visible, [data-theme="dark"] .guide-output:focus-visible { outline-color: #9be4dd; }
.guide-links { margin-top: 18px; }
.guide-links:empty { display: none; }
.preview-banner { background: #173437; color: #fffdf8; padding: 12px 20px; text-align: center; font: 600 13px/1.5 system-ui, sans-serif; }
.guide-examples button:disabled { opacity: .65; cursor: wait; }
@media (max-width: 600px) { .guide-actions { align-items: stretch; flex-direction: column; } }
