/* Gift catalog rules deliberately leave Resource and FAQ layouts unchanged. */
.grid.gifts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.gifts-card{grid-template-columns:124px minmax(0,1fr);min-height:160px;align-items:start}
.gifts-card .thumb{aspect-ratio:1;object-fit:contain}
.gifts-card .card-copy{min-height:124px}
.gifts-card .preview{display:block;overflow:visible;-webkit-line-clamp:unset}
body:has(.prompt-library) .wrap.detail{max-width:1320px}
.prompt-library{--gift-shadow:0 10px 28px rgba(23,33,26,.055)}
.prompt-hero{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr);align-items:center;gap:2rem;margin:-.7rem 0 1.5rem}
.prompt-hero h1{font-size:clamp(2.3rem,4.2vw,4rem);line-height:1.08;max-width:830px;margin:.6rem 0 1rem}
.prompt-hero p{font-size:clamp(1.03rem,1.6vw,1.25rem);line-height:1.5;color:var(--soft);max-width:760px;margin:0}
.prompt-gift-image{display:block;width:100%;height:auto;max-width:350px;justify-self:center;object-fit:contain}
.prompt-event,.prompt-closing{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:1.3rem;align-items:center;border:1px solid rgba(255,255,255,.8);background:rgba(255,255,255,.88);border-radius:18px;padding:1.4rem 1.6rem;box-shadow:var(--gift-shadow)}
.prompt-icon{display:grid;place-items:center;width:70px;height:70px;background:var(--tint);color:var(--green);border-radius:50%;flex-shrink:0}
.prompt-icon svg{width:34px;height:34px}
.prompt-event h2{font:500 clamp(1.4rem,2.3vw,2rem)/1.2 var(--serif);margin:0 0 .45rem}
.prompt-event p{margin:0;color:var(--soft);font-size:.98rem;max-width:700px}
.prompt-button{display:inline-flex;gap:.65rem;align-items:center;justify-content:center;text-align:center;padding:.85rem 1.3rem;border:1px solid var(--green);border-radius:999px;background:linear-gradient(160deg,#3E6B4E,#1E3A2B);color:#fff;text-decoration:none;font-weight:700;min-height:48px;font-size:.93rem;line-height:1.35}
.prompt-button.secondary{background:transparent;color:var(--green)}
.prompt-usage{font-size:.88rem;line-height:1.5;color:var(--soft);margin:1.25rem .25rem}
.prompt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:stretch}
.prompt-card{min-width:0;display:flex;flex-direction:column;padding:1.15rem;background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.95);border-radius:16px;box-shadow:var(--gift-shadow)}
.prompt-card-head{display:grid;grid-template-columns:42px minmax(0,1fr);gap:.8rem;align-items:start}
.prompt-number{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--tint);font-weight:700;color:var(--green)}
.prompt-card h2{font:500 1.23rem/1.23 var(--serif);margin:.1rem 0 .35rem;overflow-wrap:anywhere}
.prompt-card-head p{color:var(--soft);font-size:.86rem;line-height:1.4;margin:0}
.prompt-command-row{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.6rem .9rem;margin-top:1rem}
.prompt-identifier{display:inline-block;flex-shrink:0;white-space:nowrap;font:700 clamp(1.375rem,2vw,1.625rem)/1.2 var(--sans);color:var(--ink);user-select:text}
.prompt-text{font:400 .94rem/1.55 var(--sans);background:#F1F4EF;border-radius:10px;padding:1rem;margin:1rem 0;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text}
.prompt-card-bottom{margin-top:auto;display:flex;flex-direction:column;align-items:start;gap:.85rem}
.prompt-card-bottom h3{font:700 .68rem/1.4 var(--sans);letter-spacing:.05em;color:var(--mid);margin:0 0 .25rem}
.prompt-card-bottom p{font-size:.85rem;line-height:1.45;color:var(--soft);margin:0}
.prompt-copy{align-self:center;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px;border:1px solid var(--line);border-radius:999px;background:#F9FBF6;color:var(--green);font:700 .8rem/1.3 var(--sans);padding:.65rem .95rem;cursor:pointer}
.prompt-copy svg{width:18px;height:18px;flex-shrink:0}
.prompt-copy:hover{background:var(--tint)}
.prompt-copy:disabled{cursor:wait;opacity:.7}
.prompt-status{text-align:center;font-size:.78rem;color:var(--mid);margin:0;line-height:1.4}
.prompt-status:not(:empty){margin-top:.5rem}
.prompt-closing{margin-top:1.25rem;background:#FCF7EE}
.prompt-closing .prompt-icon{background:#F6EAD7;color:#8C6B3B}
.prompt-closing p{font:500 clamp(1.2rem,1.7vw,1.55rem)/1.3 var(--serif);margin:0}
.prompt-library :is(a,button):focus-visible{outline:3px solid var(--mid);outline-offset:4px}
@media(max-width:1050px){.prompt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.prompt-event,.prompt-closing{grid-template-columns:auto minmax(0,1fr)}.prompt-event .prompt-button,.prompt-closing .prompt-button{grid-column:2;justify-self:start}.gifts-card{grid-template-columns:104px minmax(0,1fr)}}
@media(max-width:820px){.grid.gifts-grid{grid-template-columns:1fr}.prompt-hero{grid-template-columns:minmax(0,1.5fr) minmax(180px,1fr);gap:1rem}.prompt-hero h1{font-size:2.5rem}.prompt-gift-image{max-width:260px}}
@media(max-width:620px){.prompt-hero{grid-template-columns:1fr;gap:.8rem;margin:0 0 1rem}.prompt-hero h1{font-size:clamp(2rem,8vw,2.6rem)}.prompt-gift-image{max-width:200px}.prompt-grid{grid-template-columns:1fr}.prompt-event,.prompt-closing{grid-template-columns:1fr;padding:1.15rem;gap:.85rem}.prompt-icon{width:52px;height:52px}.prompt-icon svg{width:28px;height:28px}.prompt-event .prompt-button,.prompt-closing .prompt-button{grid-column:auto;justify-self:stretch}.prompt-card{padding:1rem}.gifts-card{grid-template-columns:86px minmax(0,1fr)}.gifts-card .card-copy{min-height:86px}.gifts-card .card-copy h3{font-size:1.05rem}}
/* Categorized toolkits opt into a separate presentation; the first gift stays unchanged. */
.toolkit-category{margin:2.4rem 0}
.toolkit-category-heading{display:flex;align-items:center;gap:1rem;background:rgba(231,237,223,.72);border-radius:14px;padding:1.1rem 1.3rem;margin-bottom:1rem}
.toolkit-category-heading>span{font:700 1rem/1 var(--sans);color:var(--mid)}
.toolkit-category-heading h2{font:500 clamp(1.35rem,2.3vw,1.9rem)/1.25 var(--serif);margin:0 0 .35rem}
.toolkit-category-heading p{font-size:.92rem;line-height:1.45;color:var(--soft);margin:0}
.social-toolkit .prompt-grid{align-items:start}
.social-toolkit .prompt-card h3{font:500 1.23rem/1.23 var(--serif);margin:.1rem 0 .35rem;overflow-wrap:anywhere}
.social-toolkit .prompt-card-bottom{margin-top:1rem}
.social-toolkit .prompt-card-bottom h4{font:700 .68rem/1.4 var(--sans);letter-spacing:.05em;color:var(--mid);margin:0 0 .25rem}
.toolkit-details{margin:1rem 0;min-width:0}
.toolkit-details summary{cursor:pointer;color:var(--green);font-weight:600;font-size:.9rem;padding:.5rem 0;min-height:44px;display:list-item;list-style-position:inside}
.toolkit-details summary:focus-visible{outline:3px solid var(--mid);outline-offset:4px}
.toolkit-details .prompt-text{margin:.5rem 0 0}
.toolkit-prompt-copy{align-self:stretch;cursor:pointer;font-family:var(--sans)}
.toolkit-prompt-copy svg{width:20px;height:20px;flex-shrink:0}
.toolkit-prompt-copy:disabled{opacity:.7;cursor:wait}
.toolkit-command-copy{width:44px;padding:.65rem;flex-shrink:0}
@media(max-width:620px){.toolkit-category{margin:1.6rem 0}.toolkit-category-heading{padding:1rem;gap:.8rem}}
/* Sequential collections add guidance and deliverables to the shared card system. */
.prompt-workflow{background:#FCF7EE;border:1px solid var(--line);border-radius:16px;padding:1.3rem 1.6rem;margin:1.5rem 0}
.prompt-workflow h2{font:500 clamp(1.4rem,2.3vw,1.9rem)/1.25 var(--serif);margin:0 0 .6rem}
.prompt-workflow p{color:var(--soft);font-size:.97rem;line-height:1.6;margin:0;max-width:1050px}
.toolkit-expected{border-top:1px solid var(--line);padding-top:.8rem;width:100%}
@media(max-width:620px){.prompt-workflow{padding:1.15rem}}
