
:root{
  --c-bg:#f7f7f5;--c-surface:#fff;--c-text:#17191f;--c-muted:#676d77;
  --c-border:#e4e7ec;--c-primary:#5b5bd6;--c-primary2:#7777e8;--c-success:#16865c;
  --c-shadow:0 24px 70px rgba(28,32,45,.10);
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--c-text);background:var(--c-bg);-webkit-font-smoothing:antialiased}a{text-decoration:none;color:inherit}button,input,textarea{font:inherit}.brand{font-weight:900;letter-spacing:-.045em}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 18px;border:1px solid transparent;border-radius:13px;font-weight:800;cursor:pointer;transition:.2s ease}.btn-primary{background:var(--c-primary);color:#fff}.btn-primary:hover{background:#4b4bc4;transform:translateY(-1px)}.btn-secondary{background:#fff;border-color:var(--c-border);color:var(--c-text)}.input,.textarea{width:100%;border:1px solid #dfe2e7;background:#fff;color:var(--c-text);border-radius:14px;padding:14px 15px;outline:none;transition:border-color .18s ease,box-shadow .18s ease}.input:focus,.textarea:focus{border-color:var(--c-primary);box-shadow:0 0 0 4px rgba(91,91,214,.11)}.textarea{min-height:130px;resize:vertical}.field{display:grid;gap:7px;margin-bottom:15px}.field label{font-size:.82rem;font-weight:800}

/* CHOICE SCREEN */
.creation-body{min-height:100vh;background:radial-gradient(circle at 82% 8%,rgba(91,91,214,.13),transparent 30%),radial-gradient(circle at 8% 88%,rgba(22,134,92,.08),transparent 28%),var(--c-bg)}
.creation-topbar{height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,4vw,48px);border-bottom:1px solid rgba(228,231,236,.9);background:rgba(247,247,245,.88);backdrop-filter:blur(16px);position:sticky;top:0;z-index:30}.creation-link{font-size:.9rem;color:var(--c-muted);font-weight:750}.creation-link:hover{color:var(--c-text)}
.creation-shell{width:min(calc(100% - 34px),1080px);margin:auto;padding:clamp(52px,7vw,88px) 0 72px}.creation-heading{text-align:center;max-width:760px;margin:0 auto 42px}.creation-kicker{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid #dadaff;background:#f2f2ff;color:#4c4cb1;border-radius:999px;font-size:.78rem;font-weight:850}.creation-heading h1{font-size:clamp(2.7rem,6vw,5rem);line-height:.96;letter-spacing:-.062em;margin:18px 0 14px}.creation-heading p{font-size:1.08rem;line-height:1.65;color:var(--c-muted);margin:0}.creation-options{display:grid;grid-template-columns:1fr 1fr;gap:22px}.creation-card{position:relative;display:flex;flex-direction:column;min-height:448px;padding:30px;border:1px solid var(--c-border);border-radius:27px;background:rgba(255,255,255,.93);box-shadow:0 16px 50px rgba(28,32,45,.055);overflow:hidden;isolation:isolate;transition:transform .24s cubic-bezier(.2,.8,.2,1),box-shadow .24s ease,border-color .24s ease}.creation-card::before{content:"";position:absolute;z-index:-1;width:240px;height:240px;border-radius:50%;right:-116px;top:-128px;background:radial-gradient(circle,rgba(91,91,214,.13),rgba(91,91,214,0) 70%)}.creation-card::after{content:"";position:absolute;left:0;right:0;bottom:0;height:5px;background:linear-gradient(90deg,transparent,rgba(91,91,214,.62),transparent);opacity:0;transition:opacity .24s ease}.creation-card:hover{transform:translateY(-7px);border-color:#cfd0f5;box-shadow:var(--c-shadow)}.creation-card:hover::after{opacity:1}.creation-card.recommended{border-color:#cfd0ff;background:linear-gradient(180deg,#fff 0%,#fbfbff 100%)}.creation-badge{position:absolute;right:22px;top:22px;padding:6px 10px;border-radius:999px;background:#efefff;color:#4949b4;font-size:.72rem;font-weight:900;letter-spacing:.01em}.creation-icon{width:64px;height:64px;display:grid;place-items:center;border:1px solid #eceeea;border-radius:20px;background:#f5f5f2;font-size:1.85rem;margin-bottom:25px;box-shadow:0 10px 24px rgba(22,24,29,.055);transition:transform .22s ease}.guided-icon{background:#f0f0ff;border-color:#e3e3ff}.creation-card:hover .creation-icon{transform:translateY(-2px) rotate(-4deg) scale(1.055)}.creation-card-copy h2{font-size:1.9rem;line-height:1.05;letter-spacing:-.045em;margin:0 0 11px}.creation-card-copy p{margin:0 0 22px;color:var(--c-muted);line-height:1.68}.creation-card-copy ul{display:grid;gap:10px;list-style:none;padding:0;margin:0;color:#505761;font-size:.91rem}.creation-card-copy li{display:flex;align-items:flex-start;gap:9px}.creation-card-copy li::before{content:"✓";display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;margin-top:1px;border-radius:50%;background:#edf8f3;color:var(--c-success);font-size:.73rem;font-weight:950}.creation-action{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto;padding-top:30px;color:var(--c-primary);font-weight:900}.creation-action b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#f0f0ff;font-size:1.15rem;transition:transform .2s ease}.creation-card:hover .creation-action b{transform:translateX(4px)}.creation-note{display:flex;align-items:flex-start;justify-content:center;gap:9px;margin:26px auto 0;padding:13px 16px;color:var(--c-muted);font-size:.88rem}.creation-note p{margin:0}.creation-note strong{color:var(--c-text)}

/* GUIDED */
.guided-body{min-height:100vh;background:radial-gradient(circle at 86% 9%,rgba(91,91,214,.08),transparent 24%),var(--c-bg)}.guided-topbar{height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(16px,3vw,34px);border-bottom:1px solid var(--c-border);background:rgba(255,255,255,.9);backdrop-filter:blur(16px);position:sticky;top:0;z-index:100}.guided-save{display:flex;align-items:center;gap:8px;color:var(--c-muted);font-size:.8rem;font-weight:650}.save-dot{width:8px;height:8px;border-radius:50%;background:var(--c-success);box-shadow:0 0 0 4px rgba(22,134,92,.08)}.guided-shell{display:grid;grid-template-columns:minmax(0,720px) minmax(340px,520px);gap:clamp(32px,6vw,82px);width:min(calc(100% - 40px),1320px);margin:0 auto;padding:48px 0 72px;align-items:start}.guided-main{min-width:0}.guided-progress-wrap{margin-bottom:42px}.guided-progress-meta{display:flex;justify-content:space-between;gap:20px;color:#777d87;font-size:.78rem;font-weight:850;margin-bottom:9px}.guided-progress{height:8px;border-radius:999px;background:#e9e9e6;overflow:hidden}.guided-progress span{display:block;height:100%;width:12%;border-radius:inherit;background:linear-gradient(90deg,var(--c-primary),var(--c-primary2));transition:width .34s cubic-bezier(.2,.8,.2,1)}.guide-step{display:none;min-height:470px}.guide-step.active{display:block}.guide-step.enter-forward{animation:guideInForward .36s cubic-bezier(.2,.8,.2,1) both}.guide-step.enter-back{animation:guideInBack .32s cubic-bezier(.2,.8,.2,1) both}@keyframes guideInForward{from{opacity:0;transform:translateX(28px)}to{opacity:1;transform:none}}@keyframes guideInBack{from{opacity:0;transform:translateX(-24px)}to{opacity:1;transform:none}}.guide-emoji{width:64px;height:64px;display:grid;place-items:center;border:1px solid var(--c-border);border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(22,24,29,.06);font-size:1.9rem;margin-bottom:22px;animation:gentlePop .48s cubic-bezier(.2,.8,.2,1) both}@keyframes gentlePop{0%{opacity:0;transform:scale(.78) rotate(-7deg)}70%{transform:scale(1.05) rotate(2deg)}100%{opacity:1;transform:none}}.guide-overline{text-transform:uppercase;letter-spacing:.11em;font-size:.73rem;font-weight:900;color:var(--c-primary)}.guide-step h1{font-size:clamp(2.5rem,5.2vw,4.6rem);line-height:.98;letter-spacing:-.058em;margin:10px 0 15px;max-width:700px}.guide-step>p{font-size:1.05rem;color:var(--c-muted);line-height:1.65;max-width:620px;margin:0 0 30px}.guide-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.guide-input,.guide-textarea{font-size:1rem}.guide-textarea{min-height:150px}.guide-textarea.compact{min-height:105px}.guide-hint{display:block;color:#757b85;line-height:1.5;margin-top:5px}.guide-examples{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px;color:var(--c-muted);font-size:.78rem}.guide-examples button{border:1px solid var(--c-border);background:#fff;border-radius:999px;padding:7px 10px;color:#555b66;cursor:pointer;font-size:.78rem;transition:.18s ease}.guide-examples button:hover{border-color:#c8c9f5;color:var(--c-primary);transform:translateY(-1px)}.guide-more{margin-top:6px;border-top:1px solid var(--c-border);padding-top:14px}.guide-more summary{cursor:pointer;color:#545a65;font-size:.86rem;font-weight:850;margin-bottom:14px}.guide-actions{display:flex;align-items:center;gap:12px;border-top:1px solid var(--c-border);padding-top:22px}.guide-actions.finish-hidden{visibility:hidden;height:0;padding:0;border:0}.guide-back{background:transparent;border-color:var(--c-border)}.guide-skip{border:0;background:transparent;color:#737985;font-size:.85rem;font-weight:800;cursor:pointer;margin-right:auto}.guide-next{min-width:150px}.guided-preview{position:sticky;top:106px}.guided-preview-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;color:#626873;font-size:.8rem;font-weight:850}.guided-preview-label small{font-weight:650;color:#8b9099}.guide-cv{aspect-ratio:210/297;background:#fff;border:1px solid #eceef1;border-radius:20px;box-shadow:0 24px 72px rgba(22,24,29,.10);padding:clamp(22px,3vw,38px);overflow:hidden;transform:rotate(1deg);transition:transform .25s ease}.guide-cv:hover{transform:rotate(0)}.guide-cv header{padding-bottom:14px;border-bottom:2px solid var(--c-primary)}.guide-cv header h2{font-size:clamp(1.5rem,2.6vw,2.35rem);letter-spacing:-.045em;margin:0 0 3px}.guide-cv header strong{font-size:.82rem;color:var(--c-primary)}.guide-cv header p{font-size:.62rem;color:#737985;line-height:1.5}.guide-cv section{margin-top:17px}.guide-cv section h3{text-transform:uppercase;letter-spacing:.1em;color:var(--c-primary);font-size:.62rem;margin:0 0 8px}.guide-cv section b{font-size:.78rem}.guide-cv section p{font-size:.68rem;color:#5e6570;line-height:1.55;margin:5px 0}.guide-cv-skills{display:flex;gap:5px;flex-wrap:wrap}.guide-cv-skills span{font-size:.6rem;background:#f1f1ff;color:#4c4cae;padding:4px 6px;border-radius:999px}.guide-cv-empty{height:65%;display:grid;place-items:center;text-align:center;color:#a0a4ac;font-size:.75rem;padding:30px}.guide-finish{text-align:left;position:relative}.finish-emoji{background:#f0fff8}.guide-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:24px 0}.guide-summary>div{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--c-border);border-radius:13px;padding:12px}.guide-summary span{font-size:1.1rem}.guide-summary strong{font-size:.82rem}.guide-finish-btn{min-height:50px;padding:0 20px}.guide-secondary-link{display:inline-block;margin-left:14px;color:var(--c-muted);font-size:.88rem;font-weight:800}.guide-confetti{position:absolute;right:4%;top:8%;width:150px;height:100px;pointer-events:none}.guide-confetti i{position:absolute;font-style:normal;color:var(--c-primary);animation:confettiFloat 2.8s ease-in-out infinite}.guide-confetti i:nth-child(1){left:10%;top:30%;animation-delay:.1s}.guide-confetti i:nth-child(2){left:35%;top:8%;color:#16865c;animation-delay:.7s}.guide-confetti i:nth-child(3){right:10%;top:32%;animation-delay:1.2s}.guide-confetti i:nth-child(4){right:32%;bottom:4%;color:#b7791f;animation-delay:.4s}.guide-confetti i:nth-child(5){left:8%;bottom:0;animation-delay:1.6s}@keyframes confettiFloat{0%,100%{transform:translateY(0) rotate(0);opacity:.55}50%{transform:translateY(-10px) rotate(18deg);opacity:1}}.guide-invalid{border-color:#d64a5d!important;box-shadow:0 0 0 4px rgba(200,62,77,.12)!important;animation:fieldShake .25s ease}@keyframes fieldShake{25%{transform:translateX(-4px)}50%{transform:translateX(4px)}75%{transform:translateX(-2px)}}

@media(max-width:980px){.creation-options{grid-template-columns:1fr}.creation-card{min-height:360px}.guided-shell{grid-template-columns:1fr;width:min(calc(100% - 32px),720px)}.guided-preview{display:none}.guide-step{min-height:430px}}
@media(max-width:620px){.creation-topbar{height:62px}.creation-shell{padding-top:38px}.creation-heading{text-align:left;margin-bottom:28px}.creation-heading h1{font-size:2.85rem}.creation-heading p{font-size:.98rem}.creation-options{gap:14px}.creation-card{padding:22px;border-radius:21px;min-height:352px}.creation-icon{width:56px;height:56px;border-radius:17px}.creation-badge{top:18px;right:18px}.creation-note{justify-content:flex-start}.guided-shell{padding-top:28px}.guide-grid-2{grid-template-columns:1fr}.guide-step h1{font-size:2.55rem}.guide-step{min-height:500px}.guide-actions{position:sticky;bottom:0;background:rgba(247,247,245,.96);backdrop-filter:blur(14px);padding:14px 0 12px;z-index:20}.guide-skip{font-size:.8rem}.guide-next{min-width:125px}.guided-save span:last-child{display:none}.guide-summary{grid-template-columns:1fr}.guide-secondary-link{display:block;margin:16px 0 0}.guide-confetti{display:none}}
@media(prefers-reduced-motion:reduce){.creation-card,.creation-icon,.creation-action b,.guide-step,.guide-emoji,.guide-confetti i,.guide-cv,.guided-progress span{animation:none!important;transition:none!important}}

.guide-optional{color:#7b818c;font-weight:700;font-size:.82em}.guide-photo-uploader{margin-top:8px;background:#fff}.guide-photo-actions{display:flex;gap:10px;flex-wrap:wrap}.guide-preview-header{display:flex;gap:12px;align-items:flex-start}.guide-cv-photo{width:54px;height:54px;border-radius:14px;overflow:hidden;border:1px solid #e6e8ed;flex:none}.guide-cv-photo img{width:100%;height:100%;object-fit:cover;display:block}
/* v5 guided polish */
.creation-selected-template{display:inline-flex;margin-top:18px;padding:8px 11px;border-radius:999px;background:#fff;border:1px solid var(--c-border);color:#656b75;font-size:.82rem}.creation-selected-template strong{color:var(--c-primary);margin-left:4px}.guided-topbar{gap:16px}.guided-topbar .back-link{margin-right:auto}.guided-preview-paper{position:relative;aspect-ratio:210/297;border-radius:22px;overflow:hidden;background:#e9ebee;box-shadow:0 24px 72px rgba(22,24,29,.10);border:1px solid #e5e7eb}.guide-live-page{position:absolute;left:50%;top:0;transform:translateX(-50%) scale(.60);transform-origin:top center;box-shadow:none}.guide-photo-step{min-height:520px}.guided-photo-stage{display:grid;grid-template-columns:210px 1fr;gap:24px;align-items:center;background:#fff;border:1px solid var(--c-border);border-radius:24px;padding:20px;box-shadow:0 16px 42px rgba(22,24,29,.05);transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}.guided-photo-stage.is-dragging{border-color:var(--c-primary);box-shadow:0 0 0 4px rgba(91,91,214,.08),0 20px 52px rgba(22,24,29,.08);transform:translateY(-2px)}.guided-photo-visual{aspect-ratio:1;border-radius:22px;overflow:hidden;background:linear-gradient(145deg,#dfe3e8,#f2f4f6);display:grid;place-items:end center;border:1px solid #d9dde2}.guided-photo-visual img{width:100%;height:100%;object-fit:cover;display:block}.photo-silhouette{width:100%;height:100%;position:relative;overflow:hidden;background:linear-gradient(180deg,#cdd2d8,#e5e8ec)}.photo-silhouette:before{content:'';position:absolute;width:78px;height:78px;border-radius:50%;background:#fff;left:50%;top:23%;transform:translate(-50%,-50%)}.photo-silhouette:after{content:'';position:absolute;width:190px;height:150px;border-radius:50% 50% 0 0;background:#fff;left:50%;bottom:-48px;transform:translateX(-50%)}.guided-photo-kicker{display:inline-flex;color:var(--c-primary);font-size:.75rem;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.guided-photo-copy h2{font-size:1.8rem;letter-spacing:-.04em;margin:8px 0}.guided-photo-copy p{color:var(--c-muted);line-height:1.62;margin:0 0 18px}.guided-photo-buttons{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:12px}.guided-photo-copy small{color:#7d838d}.guide-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:980px){.guided-preview-paper{display:none}.guided-photo-stage{grid-template-columns:180px 1fr}.guide-live-page{transform:translateX(-50%) scale(.54)}}
@media(max-width:620px){.guided-topbar .back-link{display:none}.guided-photo-stage{grid-template-columns:1fr;text-align:center;padding:16px;border-radius:20px}.guided-photo-visual{width:min(72vw,260px);margin:0 auto}.guided-photo-buttons{justify-content:center}.guide-summary{grid-template-columns:1fr}.creation-selected-template{border-radius:12px;line-height:1.45}}

/* v5.1 guided improvements */
.guide-check-grid{display:grid;gap:12px;margin:8px 0 14px}.guide-check-card{display:grid;grid-template-columns:20px 1fr;gap:12px;align-items:start;background:#fff;border:1px solid var(--c-border);border-radius:18px;padding:14px 15px;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.guide-check-card:hover{border-color:#cbccf4;box-shadow:0 12px 28px rgba(22,24,29,.05);transform:translateY(-1px)}.guide-check-card input{margin-top:4px}.guide-check-card strong{display:block;font-size:.95rem;margin-bottom:3px}.guide-check-card span{color:var(--c-muted);font-size:.86rem;line-height:1.55}.guided-file-input{display:block;max-width:100%;margin:0 0 12px;font-size:.84rem;color:#666d77}.guided-file-help{display:block;margin-bottom:5px}
@media(max-width:620px){.guide-check-card{padding:13px 14px;border-radius:16px}.guided-file-input{font-size:.8rem}}

/* v5.2 — guided branching */
.guided-topbar .app-logo{display:inline-flex;align-items:center;gap:8px;flex:none}.guided-topbar .app-logo .brand-mark,.creation-topbar .app-logo .brand-mark{width:34px;height:34px;max-width:34px;object-fit:contain}.guided-topbar .app-logo .brand-word,.creation-topbar .app-logo .brand-word{font-weight:900;font-size:1.14rem;letter-spacing:-.045em}.guided-file-input{position:absolute;width:1px;height:1px;opacity:.001;pointer-events:none}.guide-extra-panel{margin:-4px 0 4px 32px;padding:16px;background:linear-gradient(180deg,#fff,#fbfbff);border:1px solid #e3e4f2;border-radius:18px;box-shadow:0 14px 34px rgba(22,24,29,.04);animation:extraReveal .24s ease both}.guide-extra-panel[hidden]{display:none!important}.guide-extra-head{display:flex;gap:10px;align-items:flex-start;margin-bottom:14px}.guide-extra-head>span{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#f0f0ff}.guide-extra-head strong{display:block}.guide-extra-head small{display:block;color:var(--c-muted);margin-top:2px}.guide-check-card:has(input:checked){border-color:#bfc1f1;background:#fbfbff;box-shadow:0 0 0 3px rgba(91,91,214,.07)}@keyframes extraReveal{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:none}}
@media(max-width:620px){.guided-topbar .app-logo .brand-mark,.creation-topbar .app-logo .brand-mark{width:30px;height:30px;max-width:30px}.guided-topbar .app-logo .brand-word,.creation-topbar .app-logo .brand-word{font-size:1.04rem}.guide-extra-panel{margin-left:0;padding:14px;border-radius:16px}}

/* v5.2.3 — guided/creation logo sizing override */
.guided-topbar .app-logo,.creation-topbar .app-logo{display:flex!important;align-items:center!important;width:148px!important;height:44px!important;flex:0 0 148px!important;overflow:hidden!important}
.guided-topbar .app-logo img,.creation-topbar .app-logo img{width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;object-position:left center!important}
@media(max-width:620px){.guided-topbar .app-logo,.creation-topbar .app-logo{width:112px!important;height:34px!important;flex-basis:112px!important}}

/* v6 creation/guided improvements */
:root{--c-primary:#635BFF;--c-primary-dark:#5148f4;--c-primary-soft:#f3f2ff;--c-border:#e5e7ee;--c-bg:#f6f7fb;--c-text:#17191f;--c-muted:#69707d}
.creation-topbar .brand-logo-app,.guided-topbar .brand-logo-app{display:inline-flex!important;align-items:center!important;gap:9px!important;width:auto!important;height:auto!important;flex:0 0 auto!important;overflow:visible!important}.creation-topbar .brand-mark,.guided-topbar .brand-mark{width:34px!important;height:34px!important;max-width:34px!important;object-fit:contain!important}.creation-topbar .brand-word,.guided-topbar .brand-word{font-size:1.85rem!important;font-weight:900;letter-spacing:-.055em;line-height:1}
.creation-heading p{max-width:840px}.guided-topbar{backdrop-filter:blur(16px)}.guided-shell{grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:24px;width:min(calc(100% - 36px),1440px)}.guided-main{min-width:0}.guided-preview{position:sticky;top:96px;align-self:start}.guided-progress-wrap{margin-bottom:22px}.guide-step{background:#fff;border:1px solid var(--c-border);border-radius:28px;padding:28px;box-shadow:0 16px 40px rgba(20,25,35,.05);min-height:460px}.guide-template-step{min-height:auto}.guide-overline{display:inline-flex;text-transform:uppercase;letter-spacing:.12em;color:var(--c-primary);font-size:.78rem;font-weight:900;margin-bottom:12px}.guide-step h1{font-size:clamp(2.3rem,4vw,3.6rem);letter-spacing:-.055em;line-height:.96;margin:0 0 12px}.guide-step p{max-width:840px}.guide-picker-head{margin-bottom:14px}.guided-template-scroller{padding-bottom:14px}.guided-template-scroller .template-option{min-height:150px}.guided-template-scroller .template-option strong{font-size:1rem}.guided-preview-label{display:flex;justify-content:space-between;align-items:center;color:#5f6671;font-size:.88rem;margin-bottom:12px;padding:0 8px}.guided-preview-paper{background:#eaecf1;border-radius:28px;padding:26px;min-height:740px}.guide-live-page{transform:translateX(-50%) scale(.62)}.guide-actions{display:flex;align-items:center;gap:12px;justify-content:flex-end;margin-top:18px}.guide-actions.finish-hidden{display:none}.guide-skip{border:0;background:transparent;color:#66707a;font-weight:800;cursor:pointer}.guided-photo-stage{border-radius:28px}.guided-photo-visual.has-photo{background:#fff}.guided-photo-visual img{width:100%;height:100%;object-fit:cover}.guide-check-card{border-radius:20px}.guide-extra-panel{border-radius:20px}.guide-summary>div{min-height:72px}
@media(max-width:1180px){.guided-shell{grid-template-columns:1fr}.guided-preview{position:relative;top:auto}.guided-preview-paper{min-height:initial}.guide-live-page{transform:translateX(-50%) scale(.56)}}
@media(max-width:980px){.guided-preview{display:none}.guided-shell{width:min(calc(100% - 28px),900px)}.guide-step{padding:22px;border-radius:24px}}
@media(max-width:620px){.creation-topbar,.guided-topbar{padding:0 14px}.creation-topbar .brand-mark,.guided-topbar .brand-mark{width:30px!important;height:30px!important;max-width:30px!important}.creation-topbar .brand-word,.guided-topbar .brand-word{font-size:1.32rem!important}.guided-topbar .back-link{display:none}.guided-shell{width:min(calc(100% - 20px),900px);padding-top:18px}.guide-step{padding:18px;border-radius:20px;min-height:auto}.guide-step h1{font-size:2.1rem}.guided-template-scroller .template-option{flex-basis:84vw;max-width:84vw}.guide-actions{position:sticky;bottom:0;z-index:30;background:rgba(246,247,251,.92);backdrop-filter:blur(12px);padding:12px 0 8px}.guide-actions .btn{flex:1}.guide-skip{order:-1;width:100%;text-align:center}.guided-photo-copy h2{font-size:1.45rem}}


/* v7 guided UX: country-aware, simpler choices and honest template previews */
.guide-onboarding-grid{display:grid;grid-template-columns:minmax(220px,.72fr) 1.28fr;gap:18px;align-items:start}
.guide-choice-fieldset{margin:0;padding:0;border:0;display:grid;grid-template-columns:1fr;gap:9px}
.guide-choice-fieldset legend{font-size:.82rem;font-weight:850;margin-bottom:8px;color:#373c44}
.guide-choice-card{display:grid;grid-template-columns:38px 1fr;align-items:center;gap:11px;padding:13px 14px;border:1px solid var(--c-border);border-radius:15px;background:#fff;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.guide-choice-card input{position:absolute;opacity:0;pointer-events:none}
.guide-choice-card>span{width:38px;height:38px;border-radius:11px;background:#f5f5fb;display:grid;place-items:center;font-size:1.1rem}
.guide-choice-card strong{font-size:.88rem;line-height:1.35}
.guide-choice-card:has(input:checked){border-color:var(--c-primary);box-shadow:0 0 0 3px rgba(91,91,214,.10);background:#fbfbff}
.guide-choice-card:has(input:checked)>span{background:#ededff}
.guide-choice-card:hover{transform:translateY(-1px);border-color:#cfd0f5}
.guide-invalid-group{border-radius:16px;box-shadow:0 0 0 4px rgba(200,62,77,.10)}
.guide-example-panel{position:relative;border:1px solid #dedffa;background:linear-gradient(180deg,#fbfbff,#f6f6ff);border-radius:18px;padding:16px 17px;margin:0 0 18px}
.guide-example-panel>span{display:inline-flex;margin-bottom:7px;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:var(--c-primary)}
.guide-example-panel p{margin:0;padding-right:120px;color:#4f5560;font-size:.9rem;line-height:1.58}
.guide-example-use{position:absolute;right:13px;top:13px;border:1px solid #d8d9ff;background:#fff;color:#4c4cb1;border-radius:10px;padding:8px 10px;font-size:.75rem;font-weight:850;cursor:pointer}
.guide-template-recommendation{display:flex;gap:12px;align-items:flex-start;margin:0 0 16px;padding:13px 14px;border:1px solid #dce9e3;background:#f5fbf8;border-radius:15px}
.guide-template-recommendation strong{white-space:nowrap;color:#14734f;font-size:.83rem}
.guide-template-recommendation span{color:#5e6963;font-size:.8rem;line-height:1.5}
.guided-template-scroller{display:flex!important;grid-template-columns:none!important;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;padding:5px 3px 13px;margin:0 -3px 4px;overscroll-behavior-inline:contain}
.guided-template-scroller .template-option{flex:0 0 220px;scroll-snap-align:start;display:grid;grid-template-columns:70px 1fr;grid-template-rows:auto auto auto;padding:11px;min-height:112px}
.guided-template-scroller .template-mini{width:70px;height:96px;grid-row:1/4}
.guided-template-scroller .template-option small{line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.guided-template-scroller .template-caption{font-size:.67rem;color:#6e7480;margin-top:5px}
.guide-live-page{--preview-scale:.56;position:absolute;left:50%;top:0;width:210mm;min-height:297mm;transform:translateX(-50%) scale(var(--preview-scale));transform-origin:top center;background:#fff}
.guided-preview-paper{position:relative;width:min(100%,430px);aspect-ratio:210/297;overflow:hidden;background:#fff;border:1px solid #e4e6eb;border-radius:18px;box-shadow:0 24px 70px rgba(20,25,35,.10)}
.guided-photo-copy{align-self:center}
.guided-photo-copy small{display:block;color:#777e87;line-height:1.5;margin-top:9px}

@media(max-width:980px){
  .guide-onboarding-grid{grid-template-columns:1fr}
  .guide-step{min-height:auto;padding-bottom:12px}
}
@media(max-width:620px){
  .guided-shell{width:min(calc(100% - 24px),720px);padding:24px 0 42px}
  .guided-progress-wrap{margin-bottom:28px}
  .guide-step h1{font-size:clamp(2.05rem,11vw,3rem);line-height:1.01}
  .guide-step>p{font-size:.96rem;margin-bottom:22px}
  .guide-grid-2{grid-template-columns:1fr;gap:0}
  .guide-emoji{width:52px;height:52px;border-radius:16px;font-size:1.5rem;margin-bottom:16px}
  .guide-actions{position:sticky;bottom:0;z-index:25;background:rgba(247,247,245,.94);backdrop-filter:blur(16px);margin:18px -12px -8px;padding:14px 12px max(14px,env(safe-area-inset-bottom));gap:8px}
  .guide-back{min-width:44px;padding:0 12px}
  .guide-next{min-width:118px}
  .guide-skip{font-size:.76rem}
  .guide-example-panel p{padding-right:0;padding-top:38px}
  .guide-example-use{left:13px;right:auto;top:12px}
  .guided-template-scroller .template-option{flex-basis:200px}
  .guide-summary{grid-template-columns:1fr}
}


/* =========================================================
   Civora v8 — guiado sin bloqueos y con jerarquía más clara
   ========================================================= */
.guided-shell{grid-template-columns:minmax(0,660px) minmax(300px,430px);gap:clamp(28px,5vw,64px);width:min(calc(100% - 40px),1200px);padding-top:34px}
.guided-progress-wrap{margin-bottom:30px}
.guide-step{min-height:390px}
.guide-step h1{font-size:clamp(2.45rem,4.8vw,4rem);line-height:.98;margin-top:8px}
.guide-step>p{font-size:.98rem;margin-bottom:24px}
.guide-emoji{width:52px;height:52px;border-radius:16px;font-size:1.45rem;margin-bottom:16px}
.guide-onboarding-grid{grid-template-columns:1fr;gap:16px}
.guide-choice-fieldset{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.guide-choice-fieldset legend{grid-column:1/-1}
.guide-choice-card{grid-template-columns:34px 1fr;min-height:58px;padding:10px 12px;border-radius:13px}
.guide-choice-card>span{width:34px;height:34px;border-radius:9px}
.guide-choice-card strong{font-size:.8rem}
.guide-choice-skip{border-style:dashed;background:#fafafa}
.guide-market-note{grid-column:1/-1!important;margin:0!important;font-size:.75rem!important;color:#7b818b!important}
.guide-actions{position:sticky;bottom:12px;z-index:35;background:rgba(247,247,245,.94);backdrop-filter:blur(18px);border:1px solid rgba(225,227,232,.9);border-radius:16px;padding:10px;box-shadow:0 14px 42px rgba(22,24,29,.10)}
.guide-actions .btn{min-height:44px}.guide-next{min-width:138px}
.guide-action-message{min-height:22px;margin:8px 0 6px;color:#636a75;font-size:.78rem;font-weight:700}
.guide-action-message.is-error{color:#b52f43}
.guided-preview{top:90px}.guided-preview-paper{width:min(100%,390px);border-radius:15px}
.guide-live-page{--preview-scale:.49}
.guided-template-scroller .template-option{flex-basis:190px;grid-template-columns:56px 1fr;min-height:100px;padding:9px}
.guided-template-scroller .template-mini{width:56px;height:74px}
.guide-template-recommendation{padding:11px 12px}
.guide-example-panel{padding:14px 15px}
.guide-example-panel p{font-size:.84rem}
.guide-grid-2{gap:10px}
.guide-textarea{min-height:128px}.guide-textarea.compact{min-height:92px}

@media(max-width:980px){
  .guided-shell{grid-template-columns:1fr;width:min(calc(100% - 28px),720px)}
  .guided-preview{position:relative;top:auto;order:-1;display:none}
  .guide-choice-fieldset{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .guided-shell{width:min(calc(100% - 20px),720px);padding-top:18px}
  .guided-progress-wrap{margin-bottom:20px}
  .guide-step h1{font-size:clamp(2rem,10vw,2.8rem)}
  .guide-choice-fieldset{grid-template-columns:1fr}
  .guide-choice-card{min-height:54px}
  .guide-actions{bottom:8px;margin:14px 0 0;padding:8px}
  .guide-back{flex:0 0 auto}.guide-next{flex:1}.guide-skip{font-size:.72rem}
}


/* =========================================================
   Civora v9 — proporción guiado / preview / selector de diseño
   ========================================================= */
@media(min-width:981px){
  .guided-shell{
    grid-template-columns:minmax(0,620px) minmax(460px,540px);
    gap:clamp(32px,4vw,56px);
    width:min(calc(100% - 40px),1240px);
    padding-top:30px;
  }
  .guide-step h1{font-size:clamp(2.35rem,3.6vw,3.35rem);max-width:610px}
  .guide-step>p{max-width:590px}
  .guided-preview{top:88px}
  .guided-preview-paper{
    width:min(100%,520px);
    height:auto;
    aspect-ratio:210/297;
    padding:0;
    border-radius:16px;
    background:#fff;
  }
  .guide-live-page{
    position:absolute;
    left:0;
    top:0;
    width:210mm;
    min-height:297mm;
    transform-origin:top left;
    box-shadow:none;
  }
}
.guided-template-scroller{
  gap:10px;
  padding-bottom:10px;
}
.guided-template-scroller .template-option{
  flex:0 0 178px;
  grid-template-columns:58px minmax(0,1fr);
  grid-template-rows:auto auto auto;
  min-height:96px;
  padding:9px;
  border-radius:13px;
}
.guided-template-scroller .template-mini{
  width:58px;
  height:82px;
  border-radius:7px;
  grid-row:1/4;
}
.guided-template-scroller .template-option strong{font-size:.82rem;line-height:1.2}
.guided-template-scroller .template-option small{font-size:.68rem;line-height:1.3;margin-top:3px}
.guided-template-scroller .template-caption{font-size:.62rem;margin-top:4px}
.guide-template-more{
  margin-top:2px;
  color:#7a808a;
  font-size:.72rem;
  line-height:1.45;
}
.guide-template-recommendation{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:9px;
  margin-bottom:12px;
}
.guide-template-recommendation strong{font-size:.78rem}
.guide-template-recommendation span{font-size:.75rem}
@media(max-width:620px){
  .guided-template-scroller .template-option{flex-basis:170px}
  .guided-template-scroller .template-mini{width:54px;height:76px}
}


/* v10 — selector de plantillas estable y feedback inmediato */
.guided-template-scroller{cursor:grab;scrollbar-width:thin}
.guided-template-scroller.is-dragging{cursor:grabbing;user-select:none}
.guided-template-scroller .template-option{position:relative;touch-action:manipulation}
.guided-template-scroller .template-option.active{
  border-color:var(--c-primary)!important;
  box-shadow:0 0 0 3px rgba(91,91,214,.13),0 10px 26px rgba(35,35,80,.08)!important;
  background:#fbfbff!important;
}
.guided-template-scroller .template-option.active::after{
  content:"✓";position:absolute;right:8px;top:8px;width:22px;height:22px;border-radius:999px;
  display:grid;place-items:center;background:var(--c-primary);color:#fff;font-size:.72rem;font-weight:950;
  box-shadow:0 4px 12px rgba(91,91,214,.24)
}
.guided-preview-paper{position:relative;overflow:hidden}
.guided-preview-paper.is-template-loading::after{
  content:"";position:absolute;right:18px;top:18px;width:28px;height:28px;border-radius:50%;
  border:3px solid rgba(91,91,214,.16);border-top-color:var(--c-primary);
  animation:civoraTemplateSpin .55s linear infinite;z-index:20;background:rgba(255,255,255,.72)
}
.guided-preview-paper.is-template-loading .guide-live-page{
  animation:civoraTemplateSwap .34s cubic-bezier(.2,.8,.2,1)
}
@keyframes civoraTemplateSpin{to{transform:rotate(360deg)}}
@keyframes civoraTemplateSwap{
  0%{opacity:.6;filter:blur(1.2px)}
  100%{opacity:1;filter:none}
}
@media(prefers-reduced-motion:reduce){
  .guided-preview-paper.is-template-loading::after{animation:none}
  .guided-preview-paper.is-template-loading .guide-live-page{animation:none}
}


/* =========================================================
   Civora v12 — creación/guiado para 320–430 px
   ========================================================= */
.guided-mobile-switch{display:none}
.creation-card,.guide-choice-card,.template-option{transition:transform .16s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease}
.creation-card:active,.guide-choice-card:active,.template-option:active{transform:scale(.985)}

@media(max-width:900px){
  .creation-topbar,.guided-topbar{height:60px!important;min-height:60px;padding-left:max(10px,env(safe-area-inset-left))!important;padding-right:max(10px,env(safe-area-inset-right))!important}
  .creation-topbar .app-logo img,.guided-topbar .app-logo img{height:26px!important;max-width:108px!important}
  .creation-shell{width:min(calc(100% - 20px),760px)!important;margin:0 auto!important;padding:28px 0 60px!important}
  .creation-heading h1{font-size:clamp(2.35rem,11vw,3.25rem)!important;line-height:.98!important}
  .creation-heading p{font-size:.94rem!important;line-height:1.6}
  .creation-options{grid-template-columns:1fr!important;gap:12px!important}
  .creation-card{min-height:0!important;padding:18px!important;border-radius:20px!important}
  .creation-card-copy h2{font-size:1.35rem!important}.creation-card-copy p,.creation-card-copy li{font-size:.82rem!important}
  .creation-action{min-height:44px!important}
  .guided-shell{
    display:grid!important;grid-template-columns:1fr!important;width:min(calc(100% - 16px),720px)!important;
    padding:12px 0 calc(22px + env(safe-area-inset-bottom))!important;gap:10px!important
  }
  .guided-mobile-switch{
    grid-column:1/-1;display:flex;position:sticky;top:60px;z-index:80;padding:5px;
    background:rgba(247,247,245,.96);backdrop-filter:blur(16px);border:1px solid #e5e6ea;border-radius:13px;gap:5px
  }
  .guided-mobile-switch button{
    flex:1;min-height:42px;border:0;border-radius:10px;background:transparent;color:#666d77;font-weight:850
  }
  .guided-mobile-switch button.active{background:#fff;color:var(--c-primary);box-shadow:0 5px 15px rgba(20,25,35,.07)}
  .guided-main{min-width:0}
  .guided-preview{display:none!important;position:relative!important;top:auto!important;width:100%!important;min-width:0!important;padding:4px 0 20px!important}
  .guided-shell[data-mobile-view="preview"] .guided-main{display:none!important}
  .guided-shell[data-mobile-view="preview"] .guided-preview{display:grid!important;place-items:start center}
  .guided-preview-label{width:100%;max-width:430px;padding:2px 2px 8px}
  .guided-preview-paper{width:min(100%,430px)!important;border-radius:14px!important;box-shadow:0 16px 45px rgba(20,25,35,.13)!important}
  .guided-progress-wrap{margin:8px 2px 16px!important}
  .guide-step{padding:17px 14px!important;border-radius:18px!important;min-height:0!important}
  .guide-step h1{font-size:clamp(2rem,10vw,2.8rem)!important;line-height:1!important;margin:8px 0 10px!important}
  .guide-step>p{font-size:.9rem!important;line-height:1.55!important;margin-bottom:18px!important}
  .guide-emoji{width:46px!important;height:46px!important;border-radius:14px!important;font-size:1.28rem!important;margin-bottom:12px!important}
  .guide-grid-2,.guide-choice-fieldset{grid-template-columns:1fr!important;gap:0!important}
  .guide-choice-card{min-height:56px!important}
  .guide-step .input,.guide-step .textarea,.guide-step .select{font-size:16px!important;min-height:48px!important;border-radius:12px!important}
  .guide-step .textarea{min-height:112px!important}
  .guide-template-recommendation{grid-template-columns:1fr!important;gap:5px!important}
  .guide-template-recommendation strong{white-space:normal!important}
  .guided-template-scroller{margin-inline:-2px!important;padding-bottom:9px!important;scroll-snap-type:x mandatory!important}
  .guided-template-scroller .template-option{flex:0 0 min(78vw,250px)!important;scroll-snap-align:center!important;min-height:112px!important}
  .guided-template-scroller .template-mini{width:62px!important;height:88px!important}
  .guide-actions{
    position:sticky!important;bottom:max(6px,env(safe-area-inset-bottom))!important;z-index:70!important;
    margin:10px 0 0!important;padding:7px!important;border-radius:14px!important;box-shadow:0 12px 34px rgba(20,25,35,.12)!important
  }
  .guide-actions .btn{min-height:46px!important}
  .guide-next{flex:1!important}.guide-back{flex:0 0 48px!important;font-size:0!important}.guide-back::after{content:'←';font-size:1rem}
  .guide-skip{font-size:.7rem!important;padding:0 7px!important}
  .guided-photo-stage{grid-template-columns:1fr!important;padding:14px!important}
  .guided-photo-copy{text-align:center}.guided-photo-buttons{justify-content:center!important}
  .guide-summary{grid-template-columns:1fr 1fr!important}
}
@media(max-width:430px){
  .creation-shell{width:min(calc(100% - 14px),760px)!important}
  .creation-heading h1{font-size:2.45rem!important}
  .guide-step{padding:15px 12px!important}
  .guided-template-scroller .template-option{flex-basis:82vw!important}
  .guide-actions{gap:5px!important}
  .guide-skip{max-width:92px;white-space:normal;line-height:1.15}
}
@media(max-width:340px){
  .guide-step h1{font-size:1.9rem!important}
  .guide-summary{grid-template-columns:1fr!important}
  .guided-template-scroller .template-option{flex-basis:86vw!important}
}


/* =========================================================
   Civora V13 — creación y guiado mobile-first
   ========================================================= */
:root{--creation-accent:#635bff}
.creation-shell-v13{max-width:1180px}
.creation-options-v13{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}
.creation-options-v13 .guided{order:1}
.creation-options-v13 .manual{order:2}
.creation-design-lab{
  margin:28px 0 18px;padding:24px;border:1px solid var(--c-border);border-radius:26px;background:#fff;
  box-shadow:0 18px 55px rgba(20,25,35,.05);overflow:hidden
}
.creation-design-head{max-width:780px;margin-bottom:18px}
.creation-design-head h2{font-size:clamp(1.7rem,3.5vw,2.5rem);letter-spacing:-.04em;margin:7px 0 8px}
.creation-design-head p{margin:0;color:var(--c-muted);line-height:1.6}
.creation-template-carousel{
  display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;
  padding:4px 2px 16px;scrollbar-width:thin
}
.creation-template-card{
  flex:0 0 260px;scroll-snap-align:start;border:1px solid #e2e4ea;border-radius:20px;background:#fff;padding:10px;
  text-align:left;cursor:pointer;transition:transform .18s ease,border-color .2s ease,box-shadow .2s ease
}
.creation-template-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(20,25,35,.08)}
.creation-template-card.active{border-color:var(--creation-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--creation-accent) 16%,transparent),0 16px 38px rgba(20,25,35,.08)}
.creation-template-preview{
  display:block;position:relative;width:100%;aspect-ratio:210/297;border-radius:13px;overflow:hidden;background:#f2f3f6;border:1px solid #eceef2
}
.creation-template-preview .template-mini{position:absolute;inset:0;width:100%;height:100%}
.creation-template-meta{display:grid;gap:4px;padding:11px 4px 3px}
.creation-template-meta strong{font-size:1rem}
.creation-template-meta small{font-size:.74rem;line-height:1.4;color:#6e7480;min-height:2.1em}
.creation-template-meta em{font-style:normal;font-size:.67rem;font-weight:850;color:var(--c-primary)}
.creation-color-question{margin-top:20px;padding-top:20px;border-top:1px solid #eceef2}
.creation-color-question h3,.guide-color-question h2,.editor-color-question strong{font-size:1.25rem;letter-spacing:-.025em;margin:0}
.creation-color-question p,.guide-color-question p,.editor-color-question p{margin:5px 0 12px;color:#747b85;font-size:.82rem;line-height:1.5}
.civora-color-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.civora-color-choice{
  min-width:0;min-height:72px;padding:8px;border:1px solid #e0e3e8;border-radius:14px;background:#fff;
  display:grid;justify-items:center;align-content:center;gap:7px;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .16s ease
}
.civora-color-choice span{width:32px;height:32px;border-radius:50%;background:var(--swatch);box-shadow:inset 0 0 0 1px rgba(0,0,0,.08),0 5px 12px rgba(0,0,0,.08)}
.civora-color-choice b{font-size:.68rem;line-height:1.15;text-align:center;color:#3f454e}
.civora-color-choice.active{border-color:var(--swatch);box-shadow:0 0 0 3px color-mix(in srgb,var(--swatch) 14%,transparent)}
.civora-color-choice:active{transform:scale(.97)}

.guided-template-showcase{
  display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;
  padding:4px 2px 14px;margin-bottom:18px;scrollbar-width:thin
}
.guide-template-card{
  position:relative;flex:0 0 280px;scroll-snap-align:center;border:1px solid #e1e4e9;background:#fff;border-radius:20px;
  padding:10px;cursor:pointer;text-align:left;transition:border-color .2s ease,box-shadow .2s ease,transform .18s ease
}
.guide-template-card.active{border-color:var(--c-primary);box-shadow:0 0 0 3px rgba(99,91,255,.12),0 16px 36px rgba(20,25,35,.08)}
.guide-template-card.active::after{
  content:"✓";position:absolute;right:17px;top:17px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;
  background:var(--c-primary);color:#fff;font-size:.8rem;font-weight:950;z-index:6;box-shadow:0 7px 17px rgba(99,91,255,.28)
}
.guide-template-preview{
  display:block;position:relative;width:100%;aspect-ratio:210/297;border-radius:13px;overflow:hidden;background:#f2f3f6;border:1px solid #eceef2
}
.guide-template-preview .template-mini{position:absolute;inset:0;width:100%;height:100%}
.guide-template-meta{display:grid;gap:4px;padding:11px 4px 2px}
.guide-template-meta strong{font-size:1rem}
.guide-template-meta small{font-size:.74rem;line-height:1.38;color:#727984}
.guide-template-meta em{font-style:normal;color:var(--c-primary);font-size:.68rem;font-weight:850}
.guide-color-question{margin-top:2px;padding:18px;border:1px solid #e7e8ee;border-radius:18px;background:#fafaff}
.guide-color-question .civora-color-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.guide-template-step-v13{min-height:0}

@media(max-width:900px){
  .creation-shell-v13{padding-top:20px!important}
  .creation-options-v13{grid-template-columns:1fr!important}
  .creation-options-v13 .guided{order:1}.creation-options-v13 .manual{order:2}
  .creation-options-v13 .creation-card.recommended{
    border-color:#cfd0ff!important;background:linear-gradient(180deg,#fbfbff,#f7f7ff)!important;
    box-shadow:0 12px 30px rgba(99,91,255,.08)!important
  }
  .creation-options-v13 .manual{opacity:.94}
  .creation-design-lab{margin-top:18px;padding:16px;border-radius:20px}
  .creation-template-carousel{margin-inline:-4px;padding-inline:4px}
  .creation-template-card{flex-basis:min(78vw,315px);border-radius:18px}
  .creation-template-meta strong{font-size:1.05rem}
  .civora-color-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .guided-template-showcase{margin-inline:-2px}
  .guide-template-card{flex-basis:min(78vw,320px)}
  .guide-color-question{padding:14px}
  .guide-color-question .civora-color-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:430px){
  .creation-heading{margin-bottom:16px!important}
  .creation-heading h1{font-size:2.25rem!important;line-height:.98!important}
  .creation-heading p{font-size:.88rem!important}
  .creation-options-v13 .creation-card{padding:16px!important;border-radius:18px!important}
  .creation-options-v13 .creation-card-copy ul{display:grid;gap:6px}
  .creation-design-head h2{font-size:1.65rem}
  .creation-template-card{flex-basis:82vw}
  .guide-template-card{flex-basis:82vw}
  .civora-color-choice{min-height:68px;padding:7px 4px}
  .civora-color-choice span{width:30px;height:30px}
  .civora-color-choice b{font-size:.64rem}
  .guide-template-recommendation{display:block!important}
}
@media(max-width:350px){
  .civora-color-grid,.guide-color-question .civora-color-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* Civora 13.1 — cierre del guiado: exportar es la acción principal */
.guide-finish-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:8px;
}
.guide-export-first{
  min-width:220px;
  box-shadow:0 12px 28px rgba(91,91,214,.20);
}
.guide-finish-edit{
  min-height:50px;
}
@media(max-width:620px){
  .guide-finish-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }
  .guide-finish-actions .btn{
    width:100%;
    min-width:0;
    min-height:54px;
  }
}
