.template-gallery{width:min(1180px,calc(100% - 32px));margin:auto;padding:42px 0 80px}.template-gallery__header{max-width:760px;margin-bottom:24px}.template-gallery__header h1{font-size:clamp(2rem,5vw,4rem)}.template-filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}.template-grid,.workspace-template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px}.template-card{display:flex;min-width:0;flex-direction:column;padding:14px;border:1px solid var(--color-border);border-radius:22px;background:linear-gradient(145deg,#10192b,#080e1b);box-shadow:0 18px 48px #0004}.template-card h2{margin:8px 0 4px}.template-card__type,.template-card__author{margin:12px 0 0;color:#a78bfa;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.template-features{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0;padding:0;list-style:none}.template-features li{padding:4px 8px;border:1px solid #8b5cf644;border-radius:999px;font-size:.75rem}.template-card__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:14px}.template-preview{position:relative;display:grid;grid-template-columns:34% 1fr;grid-template-rows:28% 14% 1fr;gap:9px;min-height:210px;padding:20px;overflow:hidden;border-radius:15px;background:#211044}.template-preview span{display:block;border-radius:9px;background:#ffffff22}.template-preview__portrait{grid-row:1/-1}.template-preview__cards{grid-column:2;box-shadow:inset 0 0 0 1px #ffffff1c}.template-preview--bento-pro{grid-template-columns:45% 1fr;background:#111827}.template-preview--bento-pro .template-preview__cards{transform:translateX(-16px)}.template-preview--minimal-light,.template-preview--resume-classic,.template-preview--resume-modern,.template-preview--resume-executive,.template-preview--resume-bento{background:#f8fafc}.template-preview--minimal-light span,.template-preview--resume-classic span,.template-preview--resume-modern span,.template-preview--resume-executive span,.template-preview--resume-bento span{background:#1e293b22}.template-preview--midnight-neon{background:linear-gradient(145deg,#020617,#071c28);box-shadow:inset 0 0 36px #22d3ee22}.template-preview--aurora{background:radial-gradient(circle at 20% 15%,#22d3ee66,transparent 38%),radial-gradient(circle at 85% 70%,#a855f766,transparent 42%),#07111f}.template-preview--resume-developer{background:#07111f}.template-preview--resume-modern{grid-template-columns:38% 1fr}.template-preview--resume-executive{border-top:8px solid #7c2d12}.template-preview--resume-bento{grid-template-columns:1fr 1fr}.workspace-template-choice{display:grid;gap:8px;min-height:120px;padding:20px;border:1px solid var(--color-border);border-radius:18px;background:#111827;color:inherit;text-align:left}.workspace-template-choice.is-selected{border-color:#a78bfa;box-shadow:0 0 0 2px #8b5cf633}.template-profile-bento-pro .profile-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.template-profile-bento-pro .profile-section:nth-child(3n){grid-column:span 2}.template-profile-minimal-light{--color-text:#172033;--color-text-muted:#526074;--color-surface:#fff;color:#172033}.template-profile-minimal-light .profile-hero,.template-profile-minimal-light .profile-section{background:#fff;box-shadow:none}.template-profile-midnight-neon{--color-focus:#67e8f9}.template-profile-midnight-neon .profile-hero{border-color:#22d3ee66;box-shadow:0 0 44px #22d3ee1c}.template-profile-aurora{position:relative}.template-profile-aurora::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 15% 10%,#22d3ee2d,transparent 35%),radial-gradient(circle at 85% 25%,#a855f72d,transparent 38%)}.template-resume-modern .resume-header{grid-template-columns:minmax(180px,28%) 1fr}.template-resume-executive h1{font-family:Georgia,serif;letter-spacing:.02em}.template-resume-developer{--color-text:#e2e8f0;--color-text-muted:#94a3b8;background:#07111f;color:#e2e8f0}.template-resume-bento .resume-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:700px){.template-profile-bento-pro .profile-body,.template-resume-bento .resume-list{grid-template-columns:1fr}.template-profile-bento-pro .profile-section:nth-child(3n){grid-column:auto}}@media(prefers-reduced-motion:reduce){.template-card,.template-preview{animation:none!important;transition:none!important}}@media print{.template-profile-bento-pro .profile-body,.template-resume-bento .resume-list{display:block}.template-profile-midnight-neon,.template-profile-aurora,.template-resume-developer,.template-profile-minimal-light{background:#fff!important;color:#111!important}}
