/* Creation workspace follows Perfiles' gf-create-dialog__content layout. */
.gfc.gfc-modal.gfc-create-dialog{inset:var(--wp-admin--admin-bar--height,0px) 0 0;width:min(1080px,calc(100vw - 32px));height:min(900px,calc(100dvh - 40px - var(--wp-admin--admin-bar--height,0px)));max-height:calc(100dvh - 40px - var(--wp-admin--admin-bar--height,0px));margin:auto;padding:0;border:1px solid var(--ast-global-color-7,var(--gfc-line));border-radius:10px;background:var(--gfc-panel);color:var(--gfc-text);font-family:inherit;font-size:14px;line-height:1.5;box-shadow:0 24px 80px color-mix(in srgb,var(--gfc-bg) 70%,transparent)}
.gfc.gfc-modal.gfc-create-dialog[open]{display:flex;flex-direction:column}.gfc-create-dialog [hidden]{display:none!important}
.gfc.gfc-create-dialog::backdrop{background:color-mix(in srgb,var(--gfc-bg) 80%,transparent);backdrop-filter:none}
.gfc-create-dialog .gfc-modal-panel{display:flex;flex:1 1 auto;flex-direction:column;width:100%;height:100%;max-height:none;min-height:0;min-width:0;border:0;border-radius:0;box-shadow:none}
.gfc-create-dialog .gfc-modal-header{padding:18px 24px;border-color:var(--ast-global-color-7,var(--gfc-line));background:var(--gfc-panel)}
.gfc-create-dialog .gfc-modal-header h2{margin:3px 0 0;font-size:clamp(23px,2.8vw,32px);line-height:1.15;overflow-wrap:anywhere}
.gfc-create-dialog .gfc-modal-header>div>span{font-size:12px;letter-spacing:.04em}
.gfc.gfc-create-dialog .gfc-modal-close{border-radius:6px;background:var(--gfc-panel);border-color:var(--ast-global-color-7,var(--gfc-line));font-size:22px}
.gfc-create-dialog .gfc-modal-body.gfc-create-dialog-content{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;min-width:0;margin:0;padding:0;overflow:hidden}
.gfc-create-dialog-content>.gfc-feedback{flex:0 0 auto;max-height:110px;overflow:auto;margin:14px 24px 0;padding:12px 14px;font-size:13px;line-height:1.5}
.gfc-create-dialog-content>.gfc-empty,.gfc-create-dialog-content>p{padding:20px 24px}
.gfc-create-dialog .gfc-create-form.gfc-form{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0;max-width:none;margin:0;padding:0;border:0;background:transparent}
.gfc-create-dialog .gfc-create-form-heading{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:12px;padding:12px 24px;border-bottom:1px solid var(--ast-global-color-7,var(--gfc-line))}
.gfc-create-form-heading>p{margin:0;font-size:12px;line-height:1.5}
.gfc-create-workspace{display:grid;flex:1 1 auto;grid-template-columns:190px minmax(0,1fr);gap:0;min-height:0;min-width:0}
.gfc-create-workspace--single{grid-template-columns:minmax(0,1fr)}
.gfc .gfc-form-progress{min-height:0;min-width:0;padding:18px 12px;border-right:1px solid var(--ast-global-color-7,var(--gfc-line));overflow-y:auto;background:var(--gfc-bg);scrollbar-width:thin}
.gfc .gfc-form-progress ol{display:grid;gap:5px;margin:0;padding:0;list-style:none}.gfc .gfc-form-progress li{margin:0;padding:0}
.gfc-create-dialog .gfc-form-progress [role=tab]{display:flex;align-items:center;gap:8px;width:100%;min-height:48px;margin:0;padding:9px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--gfc-text);font:inherit;font-size:12px;font-weight:400;line-height:1.4;text-align:left;text-transform:none;letter-spacing:normal;box-shadow:none}
.gfc-form-progress [role=tab]>span:first-child{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border:1px solid var(--ast-global-color-7,var(--gfc-line));border-radius:50%;font-size:11px}
.gfc-form-progress [role=tab]>span:nth-child(2){min-width:0;overflow-wrap:anywhere}
.gfc-create-dialog .gfc-form-progress [aria-current=step]{background:var(--gfc-panel);border-color:var(--ast-global-color-7,var(--gfc-line));color:var(--gfc-heading);font-weight:600}
.gfc-form-progress [aria-current=step]>span:first-child{border-color:var(--gfc-alt);color:var(--gfc-alt)}
.gfc-create-dialog .gfc-create-form-body{min-width:0;min-height:0;padding:22px 26px;overflow-y:auto;overflow-wrap:anywhere;overscroll-behavior:contain;scrollbar-width:thin}
.gfc .gfc-mobile-progress{display:none;margin:0 0 16px;color:var(--gfc-alt);font-size:12px;font-weight:600;line-height:1.5;letter-spacing:.02em}
.gfc-create-dialog .gfc-form-section{min-width:0;margin:0;padding:0;border:0}
.gfc-create-dialog .gfc-form-section>legend{float:none;display:block;width:100%;margin:0 0 17px;padding:0;color:var(--gfc-heading);font-family:inherit;font-size:22px;font-weight:600;line-height:1.3}
.gfc-create-dialog .gfc-form-section>legend:focus{outline:none}
.gfc-create-dialog .gfc-section-description{margin:0 0 18px;font-size:13px;line-height:1.55}
.gfc-create-dialog .gfc-form-section .gfc-field{margin-bottom:18px}
.gfc-create-dialog .gfc-field>label{display:flex;flex-direction:column;gap:7px;min-width:0;margin:0 0 7px;color:var(--gfc-heading);font-size:13px;font-weight:600;line-height:1.35}
.gfc-create-dialog .gfc-field>label>[aria-hidden]{display:contents}
.gfc-create-dialog .gfc-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}
.gfc-create-dialog input:not([type=hidden]):not([type=checkbox]):not([type=file]),.gfc-create-dialog textarea,.gfc-create-dialog select{display:block;width:100%;max-width:100%;min-width:0;min-height:46px;margin:0;padding:11px 12px;border:1px solid var(--ast-global-color-7,var(--gfc-line));border-radius:6px;background:var(--gfc-bg);color:var(--gfc-text);font:inherit;font-size:14px;font-weight:400;line-height:1.4;box-shadow:none}
.gfc-create-dialog select{padding-right:30px}.gfc-create-dialog option{background:var(--gfc-bg);color:var(--gfc-text)}
.gfc-create-dialog textarea{min-height:140px;resize:vertical}.gfc-create-dialog :is(input,textarea)::placeholder{color:var(--gfc-text);opacity:.55}
.gfc-create-dialog .gfc-help{font-size:13px;line-height:1.55}.gfc-create-dialog .gfc-check{font-size:13px;font-weight:400}
.gfc-create-dialog .gfc-form-context{padding:14px 16px;margin:0 0 18px;border-radius:7px;border-color:var(--ast-global-color-7,var(--gfc-line));font-size:13px}
.gfc-create-dialog .gfc-form-context>span{font-size:12px}.gfc-create-dialog .gfc-form-context>strong{font-size:15px}
.gfc-create-dialog .gfc-form-footer.gfc-create-submit{display:flex;position:static;flex:0 0 auto;align-items:center;justify-content:space-between;gap:10px;margin:0;padding:14px 24px max(14px,env(safe-area-inset-bottom));border-top:1px solid var(--ast-global-color-7,var(--gfc-line));background:var(--gfc-panel)}
.gfc-create-dialog .gfc-form-footer-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-left:auto;width:auto}
.gfc-create-dialog :is(.gfc-form-footer button,.gfc-store-selector button){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:44px;margin:0;padding:11px 18px;border:1px solid var(--ast-global-color-7,var(--gfc-line));border-radius:6px;background:var(--gfc-panel);color:var(--gfc-heading);font:inherit;font-size:13px;font-weight:700;line-height:1.3;text-transform:none;text-decoration:none;letter-spacing:normal;box-shadow:none;transition:filter .2s ease,border-color .2s ease}
.gfc-create-dialog :is(.gfc-form-footer button,.gfc-modal-close,.gfc-store-selector button):hover{border-color:var(--gfc-alt);background:var(--gfc-panel);color:var(--gfc-heading);filter:brightness(.85)}
.gfc-create-dialog :is(button,input,select,textarea):disabled{opacity:.6;cursor:wait}
.gfc-create-dialog :is(a,input,textarea,select,button):focus-visible{outline:2px solid var(--gfc-alt);outline-offset:3px}
.gfc-create-dialog .gfc-store-selector{flex:0 0 auto;padding:14px 24px;border-bottom:1px solid var(--ast-global-color-7,var(--gfc-line))}
.gfc-create-dialog .gfc-store-selector .gfc-search{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;margin:0}.gfc-create-dialog .gfc-store-selector .gfc-field{flex:1 1 220px;margin:0;max-width:none}
.gfc-image-fields{display:grid;gap:22px}.gfc-image-field-label{display:block;margin-bottom:10px;color:var(--gfc-heading);font-size:13px;font-weight:600}
.gfc-create-dialog .gfc-create-upload{position:relative;display:block;min-width:0;margin:0;padding:16px;border:1px dashed var(--ast-global-color-7,var(--gfc-line));border-radius:7px;background:var(--gfc-bg);cursor:pointer}
.gfc-create-upload:focus-within{outline:2px solid var(--gfc-alt);outline-offset:3px}
.gfc-create-upload-zone{display:flex;align-items:center;gap:16px}.gfc-create-upload-zone>i{flex:0 0 auto;color:var(--gfc-alt);font-size:30px}
.gfc-create-upload-zone strong{display:block;color:var(--gfc-heading);font-size:14px;font-weight:600;line-height:1.4}
.gfc-create-upload-zone small{display:block;margin-top:4px;font-size:12px;font-weight:400;line-height:1.5;color:var(--gfc-text)}
.gfc-create-dialog .gfc-create-upload input[type=file]{position:absolute!important;left:0;top:0;width:1px!important;height:1px!important;min-height:0!important;overflow:hidden;margin:0!important;padding:0!important;border:0!important;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}
.gfc-upload-filename{display:block;margin-top:8px;font-size:12px;font-weight:400;overflow-wrap:anywhere}
.gfc-upload-preview{margin-top:12px}.gfc-upload-preview img{display:block;width:112px;height:112px;aspect-ratio:1;object-fit:cover;border-radius:8px}.gfc-upload-preview--hero img{width:min(100%,360px);height:auto;aspect-ratio:16/6}
.gfc-upload-feedback{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.gfc-upload-feedback>p{margin:0;font-size:12px;line-height:1.5}.gfc-upload-feedback>button{min-height:44px;padding:7px 12px;font-size:12px}
@media(max-width:760px){
 .gfc-create-workspace{grid-template-columns:minmax(0,1fr)}.gfc .gfc-form-progress{display:none}.gfc .gfc-mobile-progress:not([hidden]){display:block}
 .gfc-create-dialog .gfc-modal-header{padding:16px 20px}.gfc-create-dialog .gfc-create-form-heading{padding:9px 20px}.gfc-create-dialog .gfc-create-form-body{padding:20px}
 .gfc-create-dialog .gfc-form-footer.gfc-create-submit{padding:12px 20px max(12px,env(safe-area-inset-bottom))}
 .gfc-create-dialog :is(input:not([type=hidden]):not([type=file]),textarea,select){font-size:16px}
}
@media(max-width:540px){
 .gfc.gfc-modal.gfc-create-dialog{width:calc(100vw - 12px);height:calc(100dvh - 16px - var(--wp-admin--admin-bar--height,0px));max-height:calc(100dvh - 16px - var(--wp-admin--admin-bar--height,0px));border-radius:8px}
 .gfc-create-dialog .gfc-modal-header{padding:12px 16px;gap:12px}.gfc-create-dialog .gfc-modal-header>div>span{font-size:11px}
 .gfc-create-dialog .gfc-create-form-heading{padding:8px 16px}.gfc-create-dialog .gfc-create-form-body{padding:18px 16px}.gfc-create-dialog .gfc-form-section>legend{font-size:21px}
 .gfc-create-dialog .gfc-form-grid{grid-template-columns:minmax(0,1fr);gap:0}
 .gfc-create-dialog .gfc-form-footer.gfc-create-submit{padding:12px 16px max(12px,env(safe-area-inset-bottom))}
 .gfc-create-dialog .gfc-form-footer-actions{flex:1 1 auto;justify-content:flex-end;gap:7px}
 .gfc-create-dialog .gfc-form-footer button{flex:0 1 auto;padding:10px 12px;font-size:12px}
 .gfc-create-dialog .gfc-store-selector{padding:12px 16px}.gfc-create-dialog .gfc-store-selector .gfc-search>button{width:auto}
}
@media(max-height:520px){.gfc-create-workspace{grid-template-columns:minmax(0,1fr)}.gfc .gfc-form-progress{display:none}.gfc .gfc-mobile-progress:not([hidden]){display:block}}
@media(prefers-reduced-motion:reduce){.gfc-create-dialog *{transition:none!important;animation:none!important}}
