/* A compact projection of the 375px card, not a narrow-screen card layout. */
.template-detail-panel .template-summary{display:flex;flex-wrap:wrap;align-items:flex-start;gap:24px}
.template-summary .template-header-preview{display:block;flex:0 1 300px;width:100%;max-width:300px;min-width:0;margin-inline:auto;padding:12px;background:#f6f7fb;border:1px solid var(--line);border-radius:12px}
.template-thumbnail{container-type:inline-size;min-width:0}
.template-thumbnail .profile-card{margin:0;--design-radius:3.733333cqw}
.template-thumbnail .profile-name h2{font-size:4.5cqw}
.template-thumbnail .profile-name p,.template-thumbnail .profile-contacts>div,.template-thumbnail .profile-company strong{font-size:3.2cqw}
.template-thumbnail .profile-company p{font-size:2.666667cqw}
.template-thumbnail .profile-card.no-portrait .profile-content{padding:5.333333cqw;gap:4.266667cqw}
.template-preview-caption{margin:10px 0 0;font-size:11px;line-height:1.5;text-align:center;color:var(--muted)}
.template-summary .template-summary-info{flex:1 1 260px;min-width:0;padding-top:4px}
.template-summary-info .template-stat-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.template-summary-info dl>div{align-items:baseline;gap:12px}
.template-summary-info dd{min-width:0;overflow-wrap:anywhere;flex-wrap:wrap}
.template-summary-info .actions{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:600px){
 .template-detail-panel .template-summary{gap:18px}
 .template-summary .template-header-preview{flex-basis:300px}
 .template-summary .template-summary-info{flex-basis:100%;padding-top:0}
 .template-summary-info .template-stat-row{gap:12px;margin-bottom:18px}
}
