/* Crawlable prompt documents and generation case studies. */
.pagination-numbers{display:flex;align-items:center;gap:6px}.pagination-number{display:grid;place-items:center;min-width:38px;height:38px;border:1px solid transparent;border-radius:10px;text-decoration:none;font-size:14px}.pagination-number[aria-current=page]{background:var(--wine,#a92e43);color:#fff;font-weight:700}.pagination-number:hover{border-color:currentColor}.pagination-gap{padding:0 4px}.library-pagination [aria-disabled=true]{opacity:.4;pointer-events:none}.library-pagination{flex-wrap:wrap;gap:12px}.library-placeholder img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.example-card-label{position:absolute;bottom:12px;left:12px;padding:5px 9px;background:#fff6eb;color:#672e35;border-radius:6px;font-size:12px}.library-placeholder:has(img) .library-setting{display:none}
.prompt-page,.examples-page,.case-page{padding-top:32px;padding-bottom:72px}.content-breadcrumb{margin-bottom:32px;font-size:14px}.content-breadcrumb a{text-decoration:none;color:var(--wine,#a92e43)}.prompt-page-header{max-width:900px;margin-bottom:36px}.prompt-page-header h1{font-family:Georgia,'Times New Roman',serif;font-weight:500;font-size:clamp(30px,4vw,50px);line-height:1.15;letter-spacing:-.025em;overflow-wrap:anywhere;margin:10px 0 18px}.prompt-page-header>p:not(.eyebrow){font-size:16px;line-height:1.7;color:#716660;max-width:760px}.prompt-page-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:28px;align-items:start}.prompt-document{background:#fffdf9;border:1px solid #e8dfd5;border-radius:20px;padding:28px;min-width:0}.prompt-document-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.prompt-document-heading h2,.prompt-help h2,.case-page h2{font-size:22px;line-height:1.35;margin:0}.prompt-document-heading .button{flex-shrink:0}.full-prompt{font-family:inherit;font-size:16px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;margin:0;padding:0;max-height:none}.full-prompt:focus-visible{outline:2px solid #a92e43;outline-offset:5px}.original-prompt{margin:24px 0}.original-prompt summary{cursor:pointer;margin-bottom:12px;font-weight:600}.detail-actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-top:22px}.prompt-help{display:grid;gap:22px}.prompt-help section{padding:24px;border:1px solid #e8dfd5;border-radius:20px}.prompt-help ol{padding-left:21px;margin:16px 0 24px}.prompt-help li{margin:0 0 14px;padding-left:5px;line-height:1.65}.prompt-help p{line-height:1.65;overflow-wrap:anywhere;font-size:15px}.prompt-help h3{font-size:15px;margin:18px 0 8px}.detail-credit .text-link{display:flex;margin-top:14px;line-height:1.5}.detail-related,.detail-example{margin-top:44px}.detail-related h2,.detail-example h2{font-size:26px;margin-bottom:22px}.related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.untested-note{color:#716660;font-size:14px;margin:26px 0}.case-section{padding-top:20px;padding-bottom:52px}.case-section .section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.case-section h2{font-family:Georgia,serif;font-size:clamp(28px,3vw,36px);font-weight:500;line-height:1.2;margin:8px 0}.case-disclosure{font-size:14px!important;color:#716660;line-height:1.7;margin:16px 0 24px;max-width:900px}.case-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.case-card{border:1px solid #e8dfd5;border-radius:18px;overflow:hidden;background:#fffdf9;min-width:0}.case-card>a{display:block;text-decoration:none;color:inherit}.case-card img{display:block;aspect-ratio:3/4;object-fit:cover;width:100%;height:auto}.case-card a>div{padding:18px}.case-card .eyebrow{font-size:12px;letter-spacing:.04em;line-height:1.5;margin:0 0 9px}.case-card h3{font-size:18px;line-height:1.4;font-weight:600;margin:0 0 14px;overflow-wrap:anywhere}.case-card .text-link{font-size:14px}.detail-example .case-grid{grid-template-columns:minmax(240px,340px)}.case-comparison{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:start;margin:30px 0 36px}.case-reference-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.case-reference-grid.one-input{grid-template-columns:minmax(0,340px)}.case-reference-grid figure,.case-result{margin:0;min-width:0}.case-reference-grid img,.case-result img{width:100%;height:auto;display:block;border-radius:16px;border:1px solid #e8dfd5}.case-reference-grid figcaption{font-size:13px;line-height:1.55;margin-top:10px;color:#716660}.case-result h2{margin-bottom:20px}.case-facts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:12px 20px;font-size:14px;line-height:1.6;margin-top:28px;border-top:1px solid #e8dfd5;padding-top:24px}.case-facts dt{color:#716660}.case-facts dd{margin:0;overflow-wrap:anywhere}.case-inputs>p{font-size:14px;color:#716660;line-height:1.6}.case-observations{padding:26px 30px;background:#f2e9df;border-radius:18px;margin-bottom:30px}.case-observations p{font-size:16px;line-height:1.8;margin-bottom:0}.case-page .prompt-document{max-width:100%}.case-page .prompt-document>a{margin-top:20px}.case-page .detail-related p{line-height:1.8}
@media(max-width:1000px){.case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.prompt-page-layout{grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:20px}.prompt-document{padding:22px}.prompt-document-heading{align-items:flex-start;flex-direction:column}.case-comparison{gap:26px}.case-section .section-heading{align-items:flex-start}}
@media(max-width:680px){.prompt-page,.examples-page,.case-page{padding-top:24px;padding-bottom:44px}.content-breadcrumb{margin-bottom:25px}.prompt-page-header{margin-bottom:26px}.prompt-page-layout,.case-comparison{grid-template-columns:1fr}.prompt-help{grid-template-columns:1fr}.prompt-document,.prompt-help section{padding:20px;border-radius:16px}.full-prompt{font-size:15px;line-height:1.85}.related-grid{grid-template-columns:1fr 1fr}.case-grid{gap:14px}.case-card a>div{padding:14px}.case-card h3{font-size:16px}.case-card .eyebrow{font-size:12px}.case-section .section-heading{display:block}.case-section .section-heading>a{margin-top:14px;display:inline-flex}.case-comparison{gap:28px}.case-reference-grid{max-width:480px}.case-observations{padding:22px}.library-pagination{justify-content:center}.pagination-numbers{order:3;width:100%;justify-content:center}.library-pagination>.button{flex:1;justify-content:center}.prompt-page-header h1{font-size:32px}.detail-actions{align-items:flex-start;flex-direction:column}}
@media(max-width:380px){.case-grid,.related-grid{grid-template-columns:1fr}.case-facts{grid-template-columns:1fr;gap:5px}.case-facts dd{margin-bottom:10px}}

/* Preserve the full generated composition, including photo-booth grids. */
.library-grid:has(.library-placeholder img) .library-placeholder{aspect-ratio:4/5}
.library-placeholder img{object-fit:contain}
.case-card img{object-fit:contain;background:#f3eeeb}
.prompt-result-preview{margin:0;border:1px solid #e8dfd5;border-radius:18px;overflow:hidden;background:#fffdf9}
.prompt-result-preview>a{display:block}
.prompt-result-preview img{display:block;width:100%;height:auto}
.prompt-result-preview figcaption{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;font-size:13px;line-height:1.6;color:#716660}
.prompt-result-preview figcaption .text-link{font-size:14px}
@media(max-width:680px){
 .prompt-page-layout:has(.prompt-result-preview) .prompt-help{display:contents}
 .prompt-page-layout:has(.prompt-result-preview)>.prompt-document{grid-row:2}
 .prompt-result-preview{grid-row:1}
}
