/* V45 — compact toolbox cards, readable detail page, contact-gated download modal */
.toolbox-archive-v45 .page-hero,
.toolbox-detail-v45 .page-hero{padding-bottom:clamp(36px,5vw,64px)}
.toolbox-archive-v45 .section,
.toolbox-detail-v45 .section{padding-block:clamp(52px,7vw,86px)}

.toolbox-archive-v45 .resource-grid--visual{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
.toolbox-archive-v45 .resource-card{min-height:0;height:auto;border-radius:24px;background:#fff;overflow:hidden}
.toolbox-archive-v45 .resource-card-cover{aspect-ratio:1/1;background:#f5f1e8}
.toolbox-archive-v45 .resource-card-cover img{object-fit:cover}
.toolbox-archive-v45 .resource-card-body{height:auto;min-height:0;padding:20px;gap:9px}
.toolbox-archive-v45 .resource-card h2{font-size:clamp(20px,1.7vw,25px);line-height:1.55;margin:2px 0}
.toolbox-archive-v45 .resource-card p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0;line-height:1.9}
.toolbox-archive-v45 .resource-meta{margin-top:4px}
.toolbox-archive-v45 .resource-card .resource-status{margin-top:14px;padding-top:14px}

.toolbox-detail-v45 .page-hero{padding-top:clamp(104px,10vw,140px)}
.toolbox-detail-v45 .resource-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,410px);align-items:center;gap:clamp(34px,6vw,78px);padding:clamp(24px,3vw,42px);background:#fff;border:1px solid rgba(23,23,20,.1);border-radius:32px;box-shadow:0 20px 55px rgba(23,23,20,.06)}
.toolbox-detail-v45 .resource-detail>div:first-child{display:flex;min-width:0;flex-direction:column;align-items:flex-start}
.toolbox-detail-v45 .breadcrumb{margin-bottom:18px}
.toolbox-detail-v45 h1{margin:14px 0 12px;font-size:clamp(38px,4.8vw,66px);line-height:1.32}
.toolbox-detail-v45 .lead{max-width:760px;margin:0;color:var(--ink-2);font-size:clamp(16px,1.5vw,20px);line-height:2}
.toolbox-detail-v45 .resource-facts{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 0}
.toolbox-detail-v45 .resource-fact{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid var(--border);border-radius:999px;background:var(--paper)}
.toolbox-detail-v45 .resource-fact span,.toolbox-detail-v45 .resource-fact strong{font-size:12px;line-height:1.4}
.toolbox-detail-v45 .resource-fact span{color:var(--muted)}
.toolbox-detail-v45 .hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.toolbox-detail-v45 .resource-preview{width:100%;max-width:410px;min-height:0;aspect-ratio:1/1;padding:0;border-radius:25px;background:#f5f1e8;overflow:hidden}
.toolbox-detail-v45 .resource-preview img{width:100%;height:100%;object-fit:cover;border-radius:0}
.toolbox-detail-v45 .resource-grid--visual .resource-card{min-height:0}
.toolbox-detail-v45 .resource-card-body{height:auto}
.toolbox-detail-v45 .resource-card .resource-status{margin-top:14px}

#downloadModal .modal-card{width:min(100%,510px);padding:28px;border-radius:26px}
#downloadModal .modal-card h2{margin:0 0 8px;font-size:27px;line-height:1.5}
#downloadModal .modal-card>.muted{margin:0 0 22px;line-height:1.9}
.download-contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.download-contact-fields[hidden]{display:none!important}
.download-contact-fields .form-group{margin:0}
#downloadPhone{text-align:left}
.download-privacy-note{margin:16px 0 0;text-align:center}

@media(max-width:980px){
 .toolbox-archive-v45 .resource-grid--visual{grid-template-columns:repeat(2,minmax(0,1fr))}
 .toolbox-detail-v45 .resource-detail{grid-template-columns:1fr minmax(260px,340px);gap:30px}
}
@media(max-width:767px){
 .toolbox-archive-v45 .page-hero,.toolbox-detail-v45 .page-hero{padding-top:92px}
 .toolbox-archive-v45 .resource-grid--visual{grid-template-columns:1fr;gap:16px}
 .toolbox-archive-v45 .resource-card{display:grid;grid-template-columns:118px minmax(0,1fr);align-items:stretch}
 .toolbox-archive-v45 .resource-card-cover{width:118px;height:100%;min-height:178px;aspect-ratio:auto;border-bottom:0;border-left:1px solid var(--border)}
 .toolbox-archive-v45 .resource-card-body{padding:16px}
 .toolbox-archive-v45 .resource-card h2{font-size:20px}
 .toolbox-archive-v45 .resource-card p{-webkit-line-clamp:2;font-size:13px}
 .toolbox-archive-v45 .resource-meta{display:none}
 .toolbox-archive-v45 .resource-card .resource-status{margin-top:8px;padding-top:10px}
 .toolbox-detail-v45 .resource-detail{display:flex;flex-direction:column;padding:14px;border-radius:24px;gap:22px}
 .toolbox-detail-v45 .resource-preview{order:-1;max-width:none;border-radius:18px}
 .toolbox-detail-v45 .resource-detail>div:first-child{width:100%;padding:4px 8px 10px}
 .toolbox-detail-v45 .breadcrumb{margin-bottom:10px}
 .toolbox-detail-v45 h1{font-size:clamp(31px,9vw,40px);margin-top:10px}
 .toolbox-detail-v45 .lead{font-size:15px;line-height:1.95}
 .toolbox-detail-v45 .resource-facts{margin-top:18px}
 .toolbox-detail-v45 .hero-actions{display:grid;grid-template-columns:1fr;margin-top:20px;width:100%}
 .download-contact-fields{grid-template-columns:1fr}
 #downloadModal .modal-card{padding:22px 18px}
}
@media(max-width:420px){
 .toolbox-archive-v45 .resource-card{grid-template-columns:96px minmax(0,1fr)}
 .toolbox-archive-v45 .resource-card-cover{width:96px;min-height:158px}
 .toolbox-archive-v45 .resource-card-body{padding:14px}
 .toolbox-archive-v45 .resource-card h2{font-size:18px}
 .toolbox-archive-v45 .resource-status>span{display:none}
}

/* Product Design v49 — curated resource shelf. */
.toolbox-curation-note{max-width:720px;margin:0 0 28px;padding:16px 18px;border-right:3px solid var(--plum);background:var(--paper);color:var(--ink-2);line-height:1.9}
.toolbox-archive-v45 .resource-card-cover img,
.toolbox-detail-v45 .resource-preview img{object-fit:contain;background:linear-gradient(135deg,#faf9f6,#eeeae1)}
.toolbox-archive-v45 .resource-card{border-radius:20px;box-shadow:none}
.toolbox-archive-v45 .resource-card:hover{transform:translateY(-2px);box-shadow:0 14px 38px rgba(23,23,20,.065)}
.toolbox-detail-v45 .resource-detail{border-radius:28px;box-shadow:none}
@media(max-width:767px){
  .toolbox-curation-note{margin-bottom:20px;font-size:13px}
  .toolbox-archive-v45 .resource-card{border-radius:18px}
}
