.frame-page{background:#f3f7fc;min-height:100vh}.frame-page [hidden]{display:none!important}.editor-header{background:#fff;border-bottom:1px solid var(--line)}.editor-header-inner{min-height:88px;display:flex;justify-content:space-between;align-items:center;gap:24px}.editor-header .brand img{width:195px}.back-to-site{font-size:16px;font-weight:700;text-decoration:none}.back-to-site:hover{color:var(--blue)}.frame-main{padding-block:35px 44px}.editor-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:35px;margin-bottom:28px}.editor-intro .eyebrow{font-size:13px;margin-bottom:12px}.editor-intro h1{font-size:clamp(30px,3.2vw,43px);letter-spacing:-.04em;margin:0}.editor-intro>p{max-width:370px;color:var(--muted);font-size:17px;margin:0;line-height:1.55}.editor-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(325px,.9fr);gap:28px;align-items:start}.photo-preview{min-width:0;position:sticky;top:24px}.preview-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:14px}.preview-heading h2{font-size:16px;font-weight:700;margin:0;line-height:1.5}.preview-heading>span{color:var(--muted);font-size:14px;white-space:nowrap}.preview-stage{background:#e2eaf4;border:1px solid #d6e1ee;border-radius:12px;padding:22px;min-height:440px;display:flex;align-items:center;justify-content:center}.canvas-wrap{width:100%;max-width:430px;position:relative;filter:drop-shadow(0 10px 16px #06284f18)}#photo-canvas{display:block;width:100%;height:auto;border-radius:3px;background:#fff;outline-offset:6px}#photo-canvas:focus-visible{outline:3px solid var(--blue)}.has-photo #photo-canvas{touch-action:none;cursor:grab}.has-photo #photo-canvas.is-dragging{cursor:grabbing}.canvas-wrap[data-format=perfil] #photo-canvas{border-radius:50%}.canvas-wrap[data-format=perfil]{max-width:490px}.empty-photo{position:absolute;left:17%;top:22%;width:66%;height:41%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--navy);border:0;background:transparent;cursor:pointer;border-radius:30px;padding:16px}.empty-photo strong{font-size:20px}.empty-photo span{font-size:15px;color:var(--muted)}.empty-photo svg{margin-bottom:5px}.canvas-wrap[data-format=perfil] .empty-photo{top:23%;height:40%}.empty-photo:hover{background:#0066ce08}.preview-help,.profile-crop-note{color:var(--muted);font-size:14px;line-height:1.55;text-align:center;margin:14px 10px 0}.profile-crop-note{margin-top:6px}.editor-controls{min-width:0;padding:27px;background:#fff;border:1px solid var(--line);border-radius:12px}.editor-controls h2,.format-fieldset legend{font-size:18px;line-height:1.35;font-weight:700;margin:0 0 16px;width:100%;display:flex;align-items:center;gap:10px}.step{font-size:14px;line-height:1;display:inline-grid;place-items:center;flex-shrink:0;width:27px;height:27px;border-radius:50%;background:#e8f2fc;color:var(--blue)}.format-fieldset,.adjust-fieldset{margin:0;padding:0;border:0;min-width:0}.format-fieldset legend{padding:0}.format-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.format-option{display:flex;align-items:center;position:relative;gap:10px;padding:15px 12px;border:1px solid var(--line);border-radius:8px;cursor:pointer;font-size:16px;min-width:0}.format-option input{position:absolute;opacity:0;width:1px;height:1px}.format-option:has(input:checked){background:#eef6ff;border:2px solid var(--blue);padding:14px 11px}.format-option:has(input:focus-visible){outline:3px solid var(--blue);outline-offset:4px}.format-option strong{display:block;line-height:1.3}.format-option small{font-size:14px;line-height:1.35;display:block;color:var(--muted);margin-top:5px}.format-symbol{display:block;flex-shrink:0;border:2px solid var(--blue);margin-left:auto;width:20px;height:25px;border-radius:3px}.format-symbol.circle{width:23px;height:23px;border-radius:50%}.upload-section,.adjust-section,.export-section{border-top:1px solid var(--line);padding-top:22px;margin-top:22px}.upload-button,.download-button,.share-button{width:100%;cursor:pointer}.frame-page .button{font-size:16px;min-height:50px}.input-hint{margin:8px 0 0;font-size:14px;color:var(--muted);line-height:1.55}.privacy-note{display:flex;gap:8px;align-items:center;font-size:14px;color:#176440;margin:12px 0 0}.privacy-note svg{flex-shrink:0}.zoom-label{display:flex;justify-content:space-between;align-items:center;font-size:16px}.zoom-label output{color:var(--muted);font-variant-numeric:tabular-nums;font-size:14px}#photo-zoom{width:100%;margin:10px 0 0;min-height:38px;accent-color:var(--blue);cursor:pointer}input:focus-visible{outline:3px solid var(--blue);outline-offset:4px}.adjust-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.adjust-buttons .button{padding:10px 12px;cursor:pointer}.text-button{display:block;border:0;background:transparent;color:var(--muted);text-decoration:underline;text-underline-offset:4px;cursor:pointer;font-size:14px;padding:8px 0;margin-top:5px}.frame-page button:disabled,.adjust-fieldset:disabled{opacity:.45;cursor:default}.frame-page button:disabled:hover{transform:none}.editor-status{font-size:14px;line-height:1.5;margin:0 0 14px;color:var(--muted);min-height:21px}.editor-status[data-kind=error]{color:#a51b29;background:#fff0f1;padding:10px 12px;border-radius:5px}.editor-status[data-kind=success]{color:#176440}.share-button{margin-top:10px}.download-help{font-size:14px;color:var(--muted);line-height:1.5;margin:12px 0 0}.download-fallback{margin-top:16px;font-size:14px}.download-fallback a{color:var(--blue);font-weight:700}.download-fallback p{margin:8px 0 0;color:var(--muted);line-height:1.5}.editor-footer{border-top:1px solid var(--line);padding-block:23px 30px;display:flex;gap:20px;justify-content:space-between;color:var(--muted);font-size:14px}.editor-footer a{color:var(--blue)}.editor-alert{background:#fff0f1;color:#a51b29;padding:18px;border-radius:6px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1400px){.canvas-wrap{max-width:460px}.preview-stage{padding-block:26px}}
@media(max-width:1050px){.editor-layout{gap:22px;grid-template-columns:minmax(0,1fr) minmax(325px,.95fr)}.editor-controls{padding:22px}.format-option{padding:13px 10px}.format-option:has(input:checked){padding:12px 9px}.format-symbol{display:none}.preview-stage{padding:16px;min-height:360px}.editor-intro{gap:25px}.editor-intro>p{max-width:310px;font-size:16px}}
@media(max-width:760px){.editor-header-inner{min-height:78px}.editor-header .brand img{width:168px}.back-to-site{font-size:14px}.frame-main{padding-block:27px 34px}.editor-intro{display:block;margin-bottom:23px}.editor-intro h1{font-size:34px}.editor-intro>p{margin-top:13px;max-width:540px;font-size:16px}.editor-intro .eyebrow{font-size:12px;letter-spacing:.11em}.editor-layout{display:flex;flex-direction:column;gap:0}.editor-controls{display:contents}.format-section{order:0;width:100%}.upload-section{order:1;width:100%;border-top:0;padding:0;margin:20px 0}.photo-preview{order:2;width:100%;position:static}.adjust-section{order:3;width:100%;background:white;border:1px solid var(--line);border-radius:10px;padding:22px;margin-top:22px}.export-section{order:4;width:100%;padding:22px;background:white;border:1px solid var(--line);border-radius:10px;margin-top:15px}.format-option{padding:14px;background:#fff}.format-option:has(input:checked){padding:13px}.format-symbol{display:block}.format-fieldset legend,.editor-controls h2{font-size:18px}.preview-stage{padding:16px;min-height:0}.canvas-wrap{max-width:410px}.canvas-wrap[data-format=perfil]{max-width:420px}.preview-heading h2{font-size:15px}.preview-heading>span{font-size:13px}.privacy-note{margin-top:9px}.editor-footer{flex-direction:column;gap:9px}.empty-photo strong{font-size:18px}.empty-photo span{font-size:14px}.empty-photo svg{width:30px;height:30px}.input-hint,.privacy-note{font-size:14px}}
@media(max-width:380px){.frame-page .wrap{width:calc(100% - 28px)}.editor-header .brand img{width:148px}.back-to-site{font-size:13px}.editor-intro h1{font-size:30px}.preview-stage{padding:10px}.format-option small{font-size:13px}.format-symbol{display:none}.empty-photo{padding:8px;gap:6px}.empty-photo strong{font-size:17px}.empty-photo span{font-size:13px}.adjust-section,.export-section{padding:18px}}
.name-field{margin-top:20px}.name-field label{display:block;font-weight:700;font-size:16px;margin-bottom:7px}.name-field label span{font-weight:400;color:var(--muted);font-size:14px}.name-field input{display:block;width:100%;min-height:48px;padding:11px 13px;border:1px solid #aebfd1;border-radius:6px;background:white;color:var(--navy);font:inherit;font-size:16px;line-height:1.4}.name-field input::placeholder{color:#63788c}.name-field input:disabled{background:#f3f7fc}
