/* Shared form and dialog geometry. Never controls visibility or visitor skin typography. */
:root{--control-height:40px;--control-font:13px;--control-radius:8px;--form-gap:16px;--dialog-padding:24px}
body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=hidden]),select,textarea):not(:where(.page *,.skin-page *)){box-sizing:border-box;max-width:100%;min-width:0;min-height:var(--control-height)!important;padding:9px 11px!important;font-family:inherit;font-size:var(--control-font)!important;font-weight:400!important;line-height:1.5!important;border:1px solid #dce3ee;border-radius:var(--control-radius)!important;background:#fff;color:#26364c}
body textarea:not(:where(.page *,.skin-page *)){min-height:88px!important;resize:vertical}
body :is(input,textarea)::placeholder{color:#8995a7;opacity:1}
body :is(input,select,textarea):not(:where(.page *,.skin-page *)):focus-visible{outline:3px solid #c6d3ff;outline-offset:2px;border-color:#7892ed}
body :is(input,select,textarea):disabled{cursor:not-allowed;opacity:.6}
body :is(form,.ops-form,.account-card) label:not(:where(.page *,.skin-page *)){font-size:12px;line-height:1.6;font-weight:600}
body :is(form.stack,.ops-form){gap:var(--form-gap)}
body dialog:not(.preview-dialog):not(#drawer){font-family:Pretendard,'Malgun Gothic',sans-serif;font-size:13px;line-height:1.65;color:#26364c;border:1px solid #e1e7f1;border-radius:16px;padding:var(--dialog-padding);max-height:90dvh;overflow:auto;box-sizing:border-box}
body dialog:not(.preview-dialog):not(#drawer) :is(h2,h3):not(:where(.page *,.skin-page *)){font-size:18px;line-height:1.45}
body dialog:not(.preview-dialog):not(#drawer) :is(small,.muted):not(:where(.page *,.skin-page *)){font-size:12px;line-height:1.65}
body dialog::backdrop{background:rgb(25 39 62 / .32)}
@media(max-width:760px){:root{--control-height:44px;--control-font:16px;--dialog-padding:18px}body dialog:not(.preview-dialog):not(#drawer){max-height:94dvh}body dialog:not(.preview-dialog):not(#drawer) :is(h2,h3):not(:where(.page *,.skin-page *)){font-size:17px}}

/* Profile upload pair shares a height even when helper text wraps. */
.two:has([data-drop="avatar"])>label{display:flex;flex-direction:column;gap:8px}
.two:has([data-drop="avatar"]) .dropzone{flex:1}

/* Compact confirmations retain their own geometry, independent of editor dialogs. */
body dialog.confirm-dialog{width:min(440px,calc(100vw - 32px));max-width:440px}
.confirm-dialog h2{padding-right:32px}
.confirm-dialog .confirm-description{margin:12px 0 20px}
.confirm-dialog .feedback-actions{justify-content:flex-end}

.profile-settings>header h2{margin:0 0 8px}.profile-settings>header .workspace-helper{margin:0}.profile-settings .profile-setting-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid var(--ui-border)}
.profile-setting-label:not(.creator-check){display:flex!important;align-items:center;flex-wrap:wrap;gap:8px!important}.profile-setting-label input{flex:none}.profile-settings .profile-setting-row .workspace-helper{margin:8px 0 0;line-height:1.7}.profile-setting-row>button{flex-shrink:0}
.profile-design-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:16px;border-top:1px solid var(--ui-border);font-size:12px;color:var(--ui-muted)}
.profile-images>label{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px}.profile-images .dropzone{flex:none!important;min-height:210px;display:flex;flex-direction:column;justify-content:center}.profile-images .dropzone>img,.profile-images .dropzone>span:first-child{height:56px;min-height:56px;display:flex;align-items:center;justify-content:center}.profile-images .dropzone>img{object-fit:cover;align-self:center}.profile-images>label>button{margin:0}
@media(max-width:600px){.profile-setting-row,.profile-design-link{align-items:flex-start!important;flex-direction:column}.profile-setting-label .pill{font-size:10px}.profile-settings .profile-setting-row{gap:10px}}

/* Shared signup benefit: marketing + email login; visitor preview uses the real renderer. */
.signup-benefit{margin-block:20px;padding:20px;border:1px solid #dce4f5;border-radius:16px;background:#f5f7ff;text-align:left}
.signup-benefit h2{font-size:22px;line-height:1.4;margin:10px 0}.signup-benefit p{font-size:14px;line-height:1.7;margin:0 0 14px}.signup-benefit small{display:block;margin-top:12px;font-size:12px;color:#65748c}.signup-benefit-label{font-size:12px;font-weight:700;color:#4263e8}


body dialog.signup-gift-dialog:not(#drawer):not(.preview-dialog){width:min(480px,calc(100vw - 24px));max-width:480px;max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:24px;overflow:auto;color:#20304b;background:#fff}
.signup-gift-dialog::backdrop{background:#1a294e66;backdrop-filter:blur(3px)}
.signup-gift-close{position:absolute;right:10px;top:10px;z-index:2;background:#ffffff!important;color:#243650!important}.signup-gift-content{padding:0}.signup-gift-copy{text-align:center;background:#3458ef;color:white;padding:30px 18px 22px}
body dialog.signup-gift-dialog:not(#drawer) #signup-gift-title{font-size:32px;line-height:1.3;letter-spacing:-1.1px;margin:12px 0;font-weight:800;color:white}.signup-gift-copy h2 em{color:#f1ff91;font-style:normal}.signup-gift-copy>p{font-size:13px;color:white;margin:0}.signup-gift-copy .signup-benefit-label{font-size:11px;color:#fff;letter-spacing:.6px}
.signup-gift-gallery{touch-action:pan-y}.signup-gift-slides{overflow:hidden}.signup-gift-slide{position:relative;height:240px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 34px 0;margin:0;overflow:hidden}.signup-gift-slide[hidden]{display:none}
.season-spring{background:#ffccdb;color:#672447}.season-summer{background:#81e1df;color:#084956}.season-autumn{background:#ffca7b;color:#633017}.season-winter{background:#a9cafa;color:#163d70}
.signup-gift-skin-label{flex:1;min-width:0}.signup-gift-skin-label span{font-size:11px;display:block}.signup-gift-skin-label strong{display:block;font-size:24px;line-height:1.3;margin:10px 0 14px;word-break:keep-all}.signup-gift-skin-label b{display:inline-block;background:#ffffffc9;border:1px solid #ffffff99;border-radius:30px;padding:5px 10px;font-size:11px}
.signup-gift-phone{width:205px;height:320px;flex:none;align-self:flex-start;border:5px solid white;border-radius:22px;overflow:hidden;box-shadow:0 10px 24px #0002;transform:rotate(5deg);transform-origin:center top;margin-top:4px}.signup-gift-phone .page{width:100%;margin:0;min-height:0;max-width:none}.signup-gift-phone .page .cover{height:100px}.signup-gift-phone .page .page-header{padding-bottom:8px}.signup-gift-phone .page h1{font-size:18px}.signup-gift-phone .visitor-actions{display:none}.signup-gift-phone .page .avatar{width:48px;height:48px;margin-top:-24px}.signup-gift-phone .page .page-bio{font-size:10px}.signup-gift-slide figcaption{position:absolute;bottom:8px;left:20px;font-size:9px;color:inherit}
.signup-gift-season-nav{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;gap:8px;background:#f7f8fc}.signup-gift-season-nav>div{display:flex;gap:6px}.signup-gift-season-nav button{min-width:38px;min-height:36px;padding:5px 12px;font-size:12px;border:0;background:transparent;border-radius:20px}.signup-gift-season-nav button[aria-pressed=true]{background:#3458ef;color:#fff}.signup-gift-season-nav>button{font-size:23px;padding:0 10px}
.signup-gift-action{padding:12px 22px 14px}.signup-gift-action .signup-gift-current{font-size:12px;margin:0 0 12px;color:#20304b;text-align:center}.signup-gift-current strong{margin-left:6px;color:#3458ef}.signup-gift-action .button{display:flex;justify-content:center;width:100%;min-height:46px}.signup-gift-action>p:last-child{text-align:center;font-size:11px;line-height:1.65;color:#65748c;margin:10px 0 0}
.signup-gift-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 18px;border-top:1px solid #e1e7f3;background:#fff;position:sticky;bottom:0;z-index:3}.signup-gift-footer label{display:flex;align-items:center;gap:8px;margin:0;font-size:12px}.signup-gift-footer input{width:18px;height:18px;margin:0;accent-color:#4263e8}
@media(max-width:600px){.signup-gift-copy{padding:34px 14px 18px}body dialog.signup-gift-dialog:not(#drawer) #signup-gift-title{font-size:27px}.signup-gift-copy>p{font-size:12px}.signup-gift-slide{height:195px;padding:14px 24px 0}.signup-gift-phone{width:170px;height:280px}.signup-gift-skin-label strong{font-size:20px}.signup-gift-season-nav{padding:8px 12px}.signup-gift-season-nav button{min-height:38px;padding:4px 11px}.signup-gift-action{padding:10px 18px 12px}.signup-gift-action .button{font-size:13px}.signup-gift-footer{padding:8px 14px}.signup-gift-phone .page .cover{height:85px}}
@media(max-width:350px){body dialog.signup-gift-dialog:not(#drawer) #signup-gift-title{font-size:24px}.signup-gift-phone{width:145px}.signup-gift-slide{padding-inline:18px;height:180px}.signup-gift-skin-label strong{font-size:18px}.signup-gift-season-nav button{min-width:32px;padding:4px 9px}.signup-gift-season-nav>div{gap:2px}}

/* Peek carousel: continuous drag, compact dot navigation, no seasonal text tabs. */
.signup-gift-gallery{overflow:hidden;background:#fff;user-select:none;padding-top:10px}
.signup-gift-slides{display:flex;gap:10px;overflow:visible;transition:transform .3s ease;will-change:transform;margin-inline:16px}
.signup-gift-slides.is-dragging{transition:none;cursor:grabbing}
.signup-gift-slide{box-sizing:border-box;flex:0 0 calc(100% - 20px);border-radius:16px;padding-inline:20px}
.signup-gift-season-nav{justify-content:center;background:white;padding:4px 16px;gap:8px}
.signup-gift-season-nav>button{position:absolute;width:1px;height:1px;min-width:0;min-height:0;padding:0;overflow:hidden;clip-path:inset(50%)}
.signup-gift-season-nav>button:focus-visible{position:static;width:36px;height:36px;clip-path:none}
.signup-gift-season-nav>div{gap:0}
.signup-gift-season-nav button[data-gift-season]{display:grid;place-items:center;width:30px;min-width:30px;min-height:36px;padding:0;background:transparent;color:inherit}
.signup-gift-season-nav button[data-gift-season] span{display:block;width:6px;height:6px;border-radius:50%;background:#c9cfdd;transition:background .2s,transform .2s}
.signup-gift-season-nav button[aria-pressed=true] span{background:#3458ef;transform:scale(1.3)}
.signup-gift-action{padding-top:0}
@media(max-width:600px){.signup-gift-phone{width:150px}.signup-gift-slide{padding-inline:16px}.signup-gift-skin-label strong{font-size:19px}}
@media(max-width:350px){.signup-gift-phone{width:120px}.signup-gift-skin-label strong{font-size:17px}.signup-gift-slide{padding-inline:12px}}
@media(prefers-reduced-motion:reduce){.signup-gift-slides,.signup-gift-season-nav button span{transition:none}}

/* Overlay dots keep the seasonal visual and offer together. */
.signup-gift-gallery{position:relative}
.signup-gift-season-nav{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);padding:0;background:transparent;border-radius:0;box-shadow:none}
.signup-gift-season-nav button[data-gift-season]{min-height:30px;width:20px;min-width:20px}
.signup-gift-action{padding-top:16px}
.signup-gift-action .signup-gift-value{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 0 10px;font-size:12px;line-height:1.5;color:#65748c}
.signup-gift-value strong{font-size:18px;color:#3458ef;font-weight:800}
.signup-gift-action .signup-gift-current{margin-bottom:14px}
.signup-gift-action .button{margin-bottom:2px}

.signup-gift-total{text-align:center;font-size:17px;font-weight:700;margin:0 0 5px}.signup-gift-total strong{font-size:25px;color:#3458ef}.signup-gift-breakdown{text-align:center;font-size:11px;line-height:1.6;color:#65748c;margin:0 0 10px}
