/* Approved creator workspace: shared blue/white controls, visitor pages excluded. */
.creator-shell{display:grid;grid-template-columns:202px minmax(0,1fr);max-width:1600px;margin:0 auto;min-height:calc(100vh - 76px)}
.creator-sidebar{background:#fff;border-right:1px solid #e3e9f2;padding:24px 14px;display:flex;flex-direction:column;gap:12px;align-self:start;position:sticky;top:76px;min-height:calc(100vh - 76px)}
.creator-sidebar .workspace-primary-nav{display:flex;flex-direction:column;align-items:stretch;gap:6px}.creator-sidebar .workspace-primary-nav>.creator-nav-group>a{display:flex;align-items:center;gap:12px;border:0!important;padding:12px;border-radius:8px;font-size:13px}.creator-sidebar .workspace-primary-nav>.creator-nav-group>a[aria-current]{background:#eef3fc;color:#3458d4}.workspace-nav-icon{font-size:18px;line-height:22px}.creator-section-nav{display:flex;flex-direction:column;border-left:1px solid #e3e9f2;margin-left:20px;padding-left:10px;gap:4px}.creator-section-nav a{font-size:13px;line-height:1.5;padding:9px 10px;border-radius:7px}.creator-section-nav a[aria-current]{background:#eef3fc;color:#3458d4}.creator-help{margin-top:auto;padding:20px 10px 4px;font-size:12px;color:#526b94}
.creator-shell .workspace{width:100%;max-width:none;margin:0;min-width:0;padding:30px;gap:26px;grid-template-columns:minmax(0,1fr) 320px}.creator-shell .workspace.workspace-wide{display:block}.creator-shell .workspace-wide #editor{max-width:960px;margin:0}.creator-shell #editor{min-width:0}.creator-shell .workspace-editor-tabs{display:none}.creator-shell .workspace-destinations{grid-template-columns:repeat(2,minmax(0,1fr))}.creator-shell .preview-dock{min-width:0;top:96px}.creator-shell .phone{max-width:100%}.creator-edit-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 22px;padding:14px 0;border-bottom:1px solid #e3e9f2}.creator-edit-toolbar .save-state{font-size:12px;line-height:1.6;color:#526581;white-space:normal}.creator-edit-toolbar .row{flex-shrink:0}.creator-shell .editor-head{margin-bottom:22px}.creator-shell .editor-head h1{font-size:25px}.creator-shell .panel{border:1px solid #e3e9f2;border-radius:12px;background:#fff;box-shadow:0 3px 16px #263c6507}.creator-onboarding ol{list-style:none;margin:18px 0;padding:0}.creator-onboarding li{display:flex;gap:14px;align-items:center;margin:18px 0}.creator-onboarding li a{display:block}.creator-onboarding strong,.creator-onboarding small{display:block}.creator-onboarding small{margin-top:3px}.creator-step{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#eef3fc;color:#6b788f;flex:none;font-size:12px}.creator-step.done{background:#eaf0ff;color:#3458d4}.creator-step.current{background:#4165e8;color:#fff}.creator-onboarding>.button{width:100%}.creator-content-actions{display:flex;gap:16px;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.creator-content-actions .workspace-subtabs{margin:0;min-width:0;flex:1}.workspace-subtabs button{flex:1;background:transparent;border-color:transparent;min-width:0}.workspace-subtabs button[aria-pressed=true]{background:white;color:#3458d4;border-color:#d4def6}.creator-content-group+.creator-content-group{margin-top:24px;border-top:1px solid #e3e9f2;padding-top:20px}.creator-content-group h2{font-size:16px}.creator-content-group .item-row{flex-wrap:wrap;gap:12px}.creator-content-group .item-text{min-width:0;flex:1}.creator-content-group .item-text p{word-break:break-word}.creator-product-tools{flex-basis:100%;display:flex;gap:4px;flex-wrap:wrap}.creator-add-options{display:grid;gap:10px;margin-top:20px}.creator-add-dialog{max-width:480px!important}
#modal.creator-content-dialog{width:960px;max-width:calc(100vw - 40px);max-height:90dvh;background:#f7f9fc;padding:28px;color:#27364f}.creator-card-form{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;margin-top:20px}.creator-card-fields{background:#fff;border:1px solid #e3e9f2;border-radius:12px;padding:20px;min-width:0}.creator-card-fields input,.creator-card-fields textarea{min-width:0;width:100%}.creator-card-fields input[type=checkbox]{width:auto}.creator-card-preview{min-width:0}.creator-card-preview h3{font-size:14px}.creator-card-preview #card-sample{margin-top:14px}.creator-card-preview .link-card,.creator-card-preview .product-card{max-width:100%;width:100%}.creator-card-advanced{border-top:1px solid #e3e9f2;padding-top:16px}.creator-card-advanced summary{font-weight:600;cursor:pointer}.creator-card-advanced>.stack{padding-top:16px}.creator-card-footer{grid-column:1/-1;border-top:1px solid #e3e9f2;padding-top:14px;background:#f7f9fc}.creator-card-footer p,.naver-editor-footer>p{font-size:12px;color:#526581;margin:0 0 12px}.creator-card-footer [role=alert],.naver-editor-footer [role=alert]{color:#9a4c3e;font-weight:600}.creator-content-dialog>h2{font-size:24px}.creator-content-dialog .dropzone{min-height:100px}.creator-shell .purchase-history{padding:0;max-width:none}.creator-shell .purchase-history h1{font-size:18px}.creator-shell #skin-payment-history{min-width:0}.creator-shell .purchase-order{max-width:100%}.creator-standalone>main{width:100%;min-width:0;margin:0!important;padding:28px!important;max-width:none!important}.creator-standalone .ig-grid{grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr)}.creator-standalone .ig-campaigns{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.creator-standalone+.workspace-bottom-nav{display:none}
@media(min-width:761px) and (max-width:1150px){.creator-shell{grid-template-columns:172px minmax(0,1fr)}.creator-shell .workspace{padding:22px;grid-template-columns:minmax(0,1fr)}.creator-shell .preview-dock{display:none}.creator-shell .floating-mobile{display:block;position:static;transform:none;margin:0 0 16px auto}.creator-edit-toolbar{flex-wrap:wrap}}
@media(max-width:760px){.creator-shell{display:block;min-height:0}.creator-sidebar{display:none}.creator-shell .workspace,.creator-shell .workspace.workspace-wide{padding:22px 16px 100px}.creator-shell .workspace-editing{padding-bottom:195px}.creator-shell .workspace-wide:has(.creator-edit-toolbar){padding-bottom:195px}.creator-shell .workspace-destinations{grid-template-columns:1fr}.creator-shell .workspace-editor-tabs{display:flex;flex-wrap:wrap;gap:0;border-bottom:1px solid #e3e9f2}.workspace-editor-tabs a{flex:1 1 auto;padding:10px 7px}.workspace-bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}.creator-standalone+.workspace-bottom-nav{display:grid}.creator-edit-toolbar{position:fixed;bottom:calc(69px + env(safe-area-inset-bottom));left:0;right:0;z-index:7;background:#fff;padding:10px 16px 12px;margin:0;border:1px solid #e3e9f2;display:block}.creator-edit-toolbar .row{display:flex;margin-top:7px;gap:10px}.creator-edit-toolbar .row button{flex:1}.creator-edit-toolbar .save-state{font-size:11px}.creator-shell .editor-navigation{margin-bottom:12px}.creator-shell .preview-dock{display:none}.creator-content-actions{gap:8px;flex-wrap:wrap}.creator-content-actions>button{width:100%}.creator-content-actions .workspace-subtabs{flex-basis:100%}.creator-shell .workspace #editor .item-row .item-text{flex-basis:100%}.creator-content-group .item-row>.row{width:100%}.creator-shell .workspace-destination{min-height:72px;padding:16px}.creator-standalone>main{padding:22px 16px 110px!important}.creator-standalone .ig-grid{grid-template-columns:minmax(0,1fr)}.creator-standalone .ig-campaigns{grid-template-columns:minmax(0,1fr)}
#modal.creator-content-dialog,#modal.naver-editor-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding:22px 16px 0;overflow-y:auto}.creator-card-form{display:flex;flex-direction:column;gap:18px}.creator-card-fields{padding:16px}.creator-card-footer,.naver-editor-footer{position:sticky;bottom:0;margin:0 -16px;padding:12px 16px calc(14px + env(safe-area-inset-bottom));z-index:4;border-top:1px solid #e3e9f2;background:#fff}.creator-card-footer p{font-size:11px}.creator-card-footer .row button.primary{min-width:50%}.creator-card-preview{max-width:360px;width:100%;margin:auto}.creator-card-fields .two{grid-template-columns:1fr}.creator-card-fields .dropzone{padding:12px}.creator-card-fields input,.creator-card-fields textarea{font-size:16px}.creator-content-dialog .close{position:sticky;top:0;float:right;z-index:5}.creator-card-fields .stack{min-width:0}}

.creator-edit-toolbar .save-state{display:block!important}
#modal.card-editor-dialog.creator-content-dialog{width:960px;max-width:calc(100vw - 40px)}
@media(max-width:760px){#modal.card-editor-dialog.creator-content-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding:22px 16px 0}}

@media(max-width:760px){#modal.card-editor-dialog.creator-content-dialog,#modal.naver-editor-dialog{position:fixed;inset:0;margin:0}}

/* Keep every creator route anchored to the same content edge. */
.creator-nav-group{min-width:0}.creator-nav-group>.creator-section-nav{margin-top:4px;margin-bottom:8px}
.creator-sidebar .creator-section-nav a{display:block;padding:9px 10px;border:0;font-size:13px;line-height:1.5}
.creator-standalone>main{padding:30px!important}
.creator-standalone>main>*{max-width:960px}
.creator-standalone>main>.account-heading{margin-top:0}
@media(min-width:761px) and (max-width:1150px){.creator-standalone>main{padding:22px!important}}
@media(max-width:760px){.creator-standalone>main{padding:22px 16px 110px!important}}

.creator-standalone>main.account-main>.account-card{max-width:960px}html:has(.creator-shell){scrollbar-gutter:stable}


.creator-unsaved{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px;padding:14px 16px;border:1px solid #dce5f6;border-radius:10px;background:#eef3fc}.creator-unsaved p{margin:0;font-size:13px;line-height:1.7;color:#526581}.creator-unsaved button{flex:none}
@media(max-width:760px){.creator-shell .workspace-editor-tabs{white-space:normal;overflow:visible}.creator-shell .workspace-editor-tabs a{flex:0 1 auto;border:1px solid transparent;border-radius:7px;padding:9px 10px;font-size:12px;line-height:1.5}.creator-shell .workspace-editor-tabs a[aria-current]{border-color:#d4def6;background:#eef3fc;color:#3458d4;font-weight:700}.creator-shell .workspace-bottom-nav a[aria-current]{font-weight:700}.creator-unsaved{align-items:flex-start;flex-direction:column;gap:10px}.creator-standalone>main>.workspace-editor-tabs{margin-bottom:22px}}

/* Compact mobile location tabs; swipe without growing the editing header. */
@media(max-width:760px){
 .creator-shell .workspace-editor-tabs{position:sticky;top:var(--header-height,64px);z-index:4;background:#f7f9fc;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;gap:4px;padding:5px 0;min-height:54px;scroll-padding-inline:8px}
 .creator-shell .workspace-editor-tabs a{flex:none;min-height:44px;display:flex;align-items:center;justify-content:center;padding:10px 12px;white-space:nowrap}
 .creator-shell input,.creator-shell textarea{scroll-margin-block:100px 200px;font-size:16px}
 .creator-keyboard-open .workspace-bottom-nav{display:none!important}
 .creator-keyboard-open .creator-edit-toolbar{bottom:var(--creator-keyboard-inset,0px);padding-bottom:10px}
 .creator-keyboard-open .creator-edit-toolbar .row button{min-height:44px}
 .creator-keyboard-open .creator-shell .workspace-editor-tabs{position:static}
 .creator-keyboard-open #modal.card-editor-dialog.creator-content-dialog,.creator-keyboard-open #modal.naver-editor-dialog{top:var(--creator-visible-top,0px);bottom:auto;height:var(--creator-visible-height,100dvh);max-height:var(--creator-visible-height,100dvh)}
 .creator-keyboard-open .creator-card-footer,.creator-keyboard-open .naver-editor-footer{padding-bottom:12px}
}

/* Shared creator layout contract: navigation, heading, action bar, then content. */
.creator-shell .workspace #editor{display:flex;flex-direction:column}.creator-shell #editor-content{display:contents}.creator-shell .workspace #editor>*,.creator-shell #editor-content>*{order:5}.creator-shell #editor>.editor-navigation{order:0}.creator-shell #editor>.workspace-editor-tabs{order:1}.creator-shell #editor .editor-head{order:2;margin:0 0 24px}.creator-shell #editor>.workspace-subtabs{order:5}.creator-shell #editor>.creator-edit-toolbar,.creator-shell #editor>.floating-mobile{order:4}
.creator-shell main h1:not(.phone h1){font-size:25px;line-height:1.4;letter-spacing:-.6px;margin:6px 0 8px}.creator-shell .editor-head p,.creator-shell .account-heading>p,.creator-shell .ig-heading>p{font-size:13px;line-height:1.8;margin:0;color:#71809a}.creator-shell .editor-head .eyebrow,.creator-shell .ig-heading .eyebrow{font-size:11px;line-height:1.6;letter-spacing:1.4px}.creator-shell .panel{padding:24px;margin-bottom:20px}.creator-shell .panel h2{font-size:16px;line-height:1.5}.creator-shell .panel h3{font-size:14px;line-height:1.6}.creator-shell .workspace-helper{font-size:13px;line-height:1.8}.creator-shell .creator-edit-toolbar{margin:0 0 20px}.creator-standalone .ig-grid{grid-template-columns:minmax(0,1fr) 280px}.creator-standalone .ig-campaigns{grid-template-columns:minmax(0,1fr)}
@media(max-width:760px){.creator-shell main h1:not(.phone h1){font-size:23px}.creator-shell .panel{padding:20px 16px;margin-bottom:16px}.creator-shell .creator-edit-toolbar{margin:0}.creator-standalone .ig-grid{grid-template-columns:minmax(0,1fr)}}

/* Creator header and navigation use the same outer frame. Public pages keep their own frame. */
body:has(.creator-shell) .site-header-inner{max-width:1600px;padding-inline:26px}
@media(min-width:761px){.creator-shell .editor-navigation{display:none}}
@media(max-width:760px){body:has(.creator-shell) .site-header-inner{padding-inline:16px}}

/* Catalog shares the creator frame; larger previews open on selection. */
.creator-shell .workspace-store #editor{max-width:none}.creator-shell .workspace-store .skin-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.workspace-store .skin-option-body .row{flex-wrap:wrap}
@media(max-width:1199px){.creator-shell .workspace-store .skin-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}}
@media(max-width:760px){.creator-shell .workspace-store .skin-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
@media(max-width:359px){.creator-shell .workspace-store .skin-options{grid-template-columns:minmax(0,1fr)}}
.workspace-store .skin-catalog>.row>button[data-tab=skins]{display:none}.workspace-store .skin-category-tabs{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;scrollbar-width:thin;padding-bottom:4px}.workspace-store .skin-category-tabs button{flex:none}

/* Store is a destination independent of page editing. */
.creator-store-link{display:none}
@media(max-width:760px){.site-header-actions .creator-store-link{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 10px;border-radius:8px;font-size:12px;font-weight:600}.creator-store-link[aria-current]{background:#eaf0ff;color:#3458d4}}
@media(max-width:460px){.site-header-actions .workspace-public-link{display:none}}

/* Compact shared editing header: navigation supplies the parent route. */
.creator-shell .editor-navigation{display:none}
.creator-heading-preview{display:none}
@media(max-width:1150px){
 .creator-shell .editor-head>div:has(.creator-heading-preview){display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:center}
 .creator-shell .editor-head>div:has(.creator-heading-preview)>.eyebrow,.creator-shell .editor-head>div:has(.creator-heading-preview)>p{grid-column:1/-1}
 .creator-shell .creator-heading-preview{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;grid-column:2;grid-row:2;font-size:12px;white-space:nowrap}
}
@media(max-width:760px){
 .creator-shell .workspace,.creator-shell .workspace.workspace-wide{padding-top:10px}
 .creator-shell .workspace-editor-tabs{margin-bottom:12px}
 .creator-shell #editor .editor-head{margin-bottom:16px}
 .creator-shell .editor-head .eyebrow{display:none}
 .creator-shell .editor-head>div:has(.creator-heading-preview)>h1{grid-row:1}
 .creator-shell .editor-head>div:has(.creator-heading-preview)>.creator-heading-preview{grid-row:1}
 .creator-shell .editor-head p{margin-top:4px}
}

/* Shared creator headings also cover embedded account and analytics screens. */
.creator-shell :is(.account-heading,.an-heading){margin:0 0 24px}
.creator-shell :is(.account-heading,.an-heading)>p{font-size:13px;line-height:1.8;margin:0;color:#71809a}
.creator-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.creator-panel-heading h2{margin:0;flex:1 0 auto}
.creator-panel-heading>button{flex:none;min-height:44px}
.creator-panel-tools{display:flex;justify-content:flex-end;margin-top:8px}
.creator-panel-tools button{min-height:44px}
.creator-shell .creator-heading-preview-always{display:inline-flex;align-items:center;justify-content:center;min-height:44px;white-space:nowrap}
@media(min-width:1151px){
 .creator-shell .editor-head>div:has(.creator-heading-preview-always){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 12px;align-items:center}
 .creator-shell .editor-head>div:has(.creator-heading-preview-always)>:is(.eyebrow,p){grid-column:1/-1}
 .creator-heading-preview-always{grid-column:2;grid-row:2}
}
@media(max-width:760px){
 .creator-shell :is(.account-heading,.an-heading){margin:0 0 16px}
 .creator-shell :is(.account-heading,.an-heading)>.eyebrow{display:none}
 .creator-shell :is(.account-heading,.an-heading)>p{margin:4px 0 0}
 .creator-shell .an-tabs{margin-bottom:16px;gap:18px}
 .creator-shell .ig-workflow{padding-top:10px;gap:6px 10px}
 .creator-panel-heading{gap:10px}
}

.creator-shell .an-custom-dates{margin-top:12px}
.creator-shell .an-custom-dates summary{font-size:12px;line-height:1.6;padding:10px 0;color:var(--ui-accent);cursor:pointer}
.creator-shell .an-custom-dates .an-dates{margin-top:8px}

/* Schedule editor uses the same fields and sticky footer as content editing. */
#modal.creator-round-dialog{width:640px;max-width:calc(100vw - 32px)}
.creator-round-dialog>h2{font-size:22px;line-height:1.4;margin:0 36px 8px 0}
.creator-round-dialog>.workspace-helper{font-size:13px;line-height:1.8;color:var(--ui-muted)}
.creator-round-form{display:grid;gap:16px;margin-top:20px;min-width:0}
.creator-round-form h3{font-size:14px;margin:0}
.creator-round-form label,.creator-round-form .two{min-width:0}
.creator-round-form :is(input,select,textarea){max-width:100%;min-width:0;box-sizing:border-box}
.creator-round-form select{width:100%;text-overflow:ellipsis}
.creator-round-form small{font-size:12px;line-height:1.7;color:var(--ui-muted)}
.creator-round-form .creator-round-choice{display:flex;align-items:flex-start;gap:10px;line-height:1.6}
.creator-round-choice input[type=checkbox]{width:18px;height:18px;flex:none;margin:2px 0 0}
.creator-round-form .creator-card-footer button{width:100%;min-height:44px}
.campaign-schedule{gap:16px;align-items:flex-start}
.campaign-schedule .item-text{min-width:0;flex:1}
.campaign-schedule :is(h3,p,small){overflow-wrap:anywhere}
.campaign-schedule>.row{flex:none}
@media(max-width:760px){
 #modal.creator-round-dialog{position:fixed;inset:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding:20px 16px 0}
 .creator-round-form .two{grid-template-columns:minmax(0,1fr)}
 .creator-round-form .creator-card-fields{padding:16px}
 .creator-round-form .creator-card-footer{margin:0 -16px}
 .campaign-schedule{display:flex;flex-direction:column;gap:12px}
 .campaign-schedule>.row{width:100%;justify-content:flex-end}
 .campaign-schedule>.row button{min-height:44px}
 .creator-keyboard-open #modal.creator-round-dialog{top:var(--creator-visible-top,0px);bottom:auto;height:var(--creator-visible-height,100dvh);max-height:var(--creator-visible-height,100dvh)}
}

.creator-round-form [data-round-error]{color:#9a4c3e;font-weight:600;overflow-wrap:anywhere}
.creator-round-form [data-round-error]:empty{display:none}

/* Instagram content uses the creator modal, fields and action footer. */
.instagram-content-dialog{max-width:720px}
.instagram-content-dialog [data-ig-content]{display:grid;gap:16px;min-width:0}
.instagram-content-dialog h3{margin:0;font-size:16px}
.instagram-content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.instagram-content-grid button,.instagram-photo-options button{display:flex;flex-direction:column;text-align:left;padding:8px;gap:8px;min-width:0;height:auto;white-space:normal}
.instagram-content-grid img,.instagram-content-placeholder{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;background:var(--ui-bg,#f5f7fc)}
.instagram-content-placeholder{display:grid;place-items:center}
.instagram-content-grid strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:13px}
.instagram-photo-options{display:flex;gap:10px;overflow-x:auto;padding:3px}
.instagram-photo-options button{flex:0 0 108px}
.instagram-photo-options img{width:90px;height:90px;object-fit:cover;border-radius:6px}
.instagram-photo-options [aria-pressed=true]{outline:2px solid var(--ui-accent,#4664f5)}
.instagram-content-dialog select{width:100%;min-width:0}
.instagram-content-dialog [role=alert]{color:#a13b40;font-size:13px;overflow-wrap:anywhere}
@media(max-width:759px){.instagram-content-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}

.instagram-content-dialog .creator-round-choice{display:flex;align-items:flex-start;gap:10px;font-weight:500;line-height:1.6}
.instagram-content-dialog .creator-round-choice input{flex:0 0 18px;width:18px;height:18px;margin:3px 0 0}
.instagram-content-dialog .creator-round-choice span{min-width:0;flex:1}
.instagram-content-dialog .creator-card-footer>.primary{width:100%}

/* Keep destructive and primary card actions readable at narrow widths. */
:is(.creator-card-footer,.naver-editor-footer)>.row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px}
:is(.creator-card-footer,.naver-editor-footer)>.row>[data-action=delete-card]{min-width:60px;white-space:nowrap;justify-self:start}
:is(.creator-card-footer,.naver-editor-footer)>.row>.primary{min-width:0;width:100%;white-space:nowrap}
@media(min-width:761px){.creator-content-actions{align-items:center}}

/* Align visibility with the adjacent style control, not its heading. */
.creator-card-fields .creator-card-visible{align-self:end;display:flex;align-items:center;gap:8px;min-height:40px;margin:0}
.creator-card-fields .creator-card-visible input[type=checkbox]{width:18px;height:18px;min-height:18px;margin:0;padding:0;flex:none}
@media(max-width:760px){.creator-card-fields .creator-card-visible{min-height:44px}}

/* Shared check control: 24px first line, 18px native control, wrapped text stays aligned. */
.creator-card-fields label.creator-check.creator-card-visible{align-items:flex-start;padding-block:8px}
.creator-card-fields label.creator-check.creator-card-visible>input{align-self:flex-start;margin:3px 0 0}
.instagram-selection-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.instagram-selection-heading>[data-back]{flex:none;white-space:nowrap;justify-self:start}

/* Plan observation shares creator cards; no quota enforcement controls. */
.creator-plan-usage{margin-bottom:20px}.creator-usage-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.creator-usage-heading h2{margin:10px 0 4px;font-size:19px}.creator-usage-heading p,.creator-usage-metrics p,.creator-usage-benefits p,.creator-usage-details p{font-size:13px;line-height:1.7;color:#71819d}.creator-usage-notice{padding:14px 16px;background:#f0f4ff;border-radius:12px;font-size:13px;line-height:1.7;margin:18px 0}.creator-usage-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.creator-usage-metrics article{min-width:0;border:1px solid #e1e7f0;border-radius:12px;padding:18px}.creator-usage-metrics h3,.creator-usage-benefits h3{font-size:15px;margin:0 0 12px}.creator-usage-value strong{font-size:28px;color:#27334a}.creator-usage-value span{margin-left:6px}.creator-usage-metrics dl{margin:14px 0 0;font-size:12px}.creator-usage-metrics dl>div{display:flex;justify-content:space-between;gap:10px;padding-top:8px;flex-wrap:wrap}.creator-usage-metrics dd{margin:0;font-weight:600}.creator-usage-active{display:flex;flex-wrap:wrap;gap:8px 20px;padding:18px 0;font-size:13px}.creator-usage-active>span{color:#71819d}.creator-usage-details{border-top:1px solid #e1e7f0;padding-top:16px;font-size:13px}.creator-usage-details summary{cursor:pointer}.creator-usage-benefits{margin-top:20px;padding-top:18px;border-top:1px solid #e1e7f0}.creator-usage-heading button{flex-shrink:0}@media(max-width:600px){.creator-usage-metrics{grid-template-columns:1fr}.creator-usage-heading{align-items:flex-start}.creator-usage-metrics article{padding:16px}.creator-usage-heading h2{font-size:18px}}

.creator-usage-metric-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}.creator-usage-metric-heading h3{margin:0}.creator-usage-badge{display:inline-flex;align-items:center;flex-shrink:0;border-radius:7px;padding:4px 8px;background:#eef3ff;color:#4563b8;font-size:12px;line-height:1.5;font-weight:600}.creator-usage-badge[data-level=near]{background:#fff5df;color:#8c6114}.creator-usage-badge[data-level=reached]{background:#fff0e8;color:#995128}.creator-usage-overall{margin:0 0 18px;font-size:13px;line-height:1.7}.creator-usage-overall p{margin-top:6px;color:#71819d;font-size:12px}.creator-usage-progress{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#71819d;margin:16px 0 6px}.creator-usage-progress strong{color:#27334a;flex-shrink:0}.creator-usage-metrics progress{display:block;width:100%;height:6px;border:0;border-radius:8px;overflow:hidden;appearance:none;background:#edf1f8;color:#6079ed}.creator-usage-metrics progress::-webkit-progress-bar{background:#edf1f8;border-radius:8px}.creator-usage-metrics progress::-webkit-progress-value{background:#6079ed;border-radius:8px}.creator-usage-metrics progress::-moz-progress-bar{background:#6079ed;border-radius:8px}.creator-usage-metrics .creator-usage-upgrade{padding-top:14px;border-top:1px solid #e1e7f0;margin-top:16px}.creator-usage-metrics .creator-usage-threshold-note{font-size:12px;padding:10px 12px;background:#f6f8fc;border-radius:8px;margin-top:12px}

.creator-usage-request{margin-top:18px}.creator-usage-request p{font-size:12px;color:#71819d;line-height:1.7;margin-top:8px}.email-increase-item{border-top:1px solid #e1e7f0;padding:16px 0;overflow-wrap:anywhere}.email-increase-item p{font-size:13px;line-height:1.7}.email-increase-item details{font-size:13px}

/* Internal page navigation shares analytics' quiet underline treatment. */
.creator-shell .creator-inner-tabs{display:flex;gap:20px;padding:0;margin:0 0 24px;background:transparent;border:0;border-bottom:1px solid var(--ui-border,#e3e9f2);border-radius:0;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
.creator-shell .creator-inner-tabs>a,.creator-shell .creator-inner-tabs>button{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:0;padding:12px 0;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;box-shadow:none;color:var(--ui-muted,#74819a);font:500 13px/1.5 Pretendard,'Malgun Gothic',sans-serif;text-decoration:none}
.creator-shell .creator-inner-tabs>[aria-current=page],.creator-shell .creator-inner-tabs>[aria-pressed=true],.creator-shell .creator-inner-tabs>[aria-selected=true]{color:var(--ui-accent,#4165e8);border-bottom-color:var(--ui-accent,#4165e8);background:transparent;box-shadow:none}
.creator-shell .creator-inner-tabs>:focus-visible{outline:2px solid var(--ui-accent,#4165e8);outline-offset:-2px}
.creator-shell .creator-content-actions .creator-inner-tabs{margin:0;align-self:stretch}
.creator-shell .membership-shell{width:100%;max-width:none;margin:0;display:grid;gap:20px;font-size:13px}
.creator-shell .membership-shell>.membership-current{margin:0;padding:20px;background:#fff;border:1px solid #e3e9f2;border-radius:12px}
.creator-shell .membership-shell>.membership-environment,.creator-shell .membership-shell>.membership-benefit,.creator-shell .membership-shell>.workspace-helper,.creator-shell .membership-shell>.membership-footnote{margin:0}
.creator-shell .membership-shell #billing-panel:empty{display:none}.creator-shell .membership-shell #billing-panel:not(:empty){margin:0}
.creator-shell .membership-plan{border-radius:12px;padding:24px}.creator-shell .membership-manage{border-radius:12px;padding:20px}
@media(max-width:760px){.creator-shell .membership-shell{gap:16px}.creator-shell .membership-plan{padding:20px}.creator-shell .membership-shell>.membership-current{padding:16px}.creator-shell .creator-inner-tabs{gap:20px;margin-bottom:20px}}

.creator-shell .creator-inner-tabs{max-width:100%;min-width:0}.creator-shell .creator-inner-tabs>button{gap:6px}.creator-shell .creator-inner-tabs>button>span{font-size:11px;color:inherit}

.creator-shell .creator-inner-tabs{flex-wrap:nowrap}.creator-shell .skin-category-tabs.creator-inner-tabs{padding:0}.creator-shell .skin-category-tabs.creator-inner-tabs span{margin-left:0}

.creator-shell .creator-inner-tabs>button{flex-direction:row}.creator-shell .proposal-tabs.creator-inner-tabs span{background:transparent;padding:0;border-radius:0}

/* Narrow publish comparisons read top-to-bottom without compressing Korean text. */
@media(max-width:480px){.creator-shell #editor .compare{grid-template-columns:minmax(0,1fr)}}

/* Creator editor components: information, primary actions, secondary operations. */
.creator-service-brand{display:inline-flex;align-items:center;gap:6px;vertical-align:middle;font-size:11px;font-weight:600;line-height:20px;white-space:nowrap;padding:3px 7px;border-radius:6px;background:#f5f7fb;color:#526581}
.creator-service-brand img{display:block;object-fit:contain;flex:none}
.creator-service-brand--naver{background:#eefaf3;color:#12643c}.creator-service-brand--instagram{background:#fcf1f7;color:#884269}
.creator-shell .creator-content-group>h2{display:flex;align-items:center;gap:6px;margin:0 0 8px;font-size:15px}
.creator-shell .creator-content-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 20px;padding:20px 0;align-items:center}
.creator-shell .creator-content-item .item-text{min-width:0}
.creator-shell .creator-content-item h3{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0;font-size:14px;line-height:1.6;white-space:normal;overflow-wrap:anywhere}
.creator-shell .creator-content-item .item-text>p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;overflow-wrap:anywhere;margin:6px 0;font-size:12px;line-height:1.7}
.creator-shell .creator-item-source{display:block;margin-top:6px}
.creator-shell .creator-item-actions{display:flex;gap:6px;flex-wrap:nowrap;justify-content:flex-end}
.creator-shell .creator-item-actions button{min-height:40px;min-width:40px;padding:8px 11px;margin:0}
.creator-shell .creator-content-item .creator-product-tools{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 12px;background:#f7f9fc;border-radius:8px;margin:0}
.creator-tools-label{font-size:11px;color:#71809a;margin-right:4px}.creator-shell .creator-product-tools button{min-height:36px;font-size:12px;padding:6px 10px;background:#fff;border:1px solid #e3e9f2;border-radius:6px}
.creator-shell .creator-content-imports header{margin-bottom:16px}.creator-shell .creator-content-imports h2{margin:0}.creator-shell .creator-content-imports p{margin:6px 0 0}
.creator-import-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.creator-import-options>button{min-height:52px;white-space:normal;padding:12px}.creator-import-options .creator-service-brand{background:transparent;padding:0;font-size:12px}
.creator-content-footer,.creator-design-guide{display:flex;justify-content:space-between;align-items:center;gap:16px}.creator-content-footer p{margin:0}
.creator-design-guide{padding:18px 20px;background:#fff;border:1px solid #e3e9f2;border-radius:12px;margin-bottom:20px}.creator-design-guide strong{font-size:14px}.creator-design-guide p{font-size:12px;line-height:1.7;color:#71809a;margin:5px 0 0}.creator-design-guide button{flex:none}
.creator-settings-heading{margin-bottom:18px}.creator-settings-heading h2{margin:0}.creator-settings-heading p{margin:6px 0 0}
.creator-shell .layout-setting{padding:18px 0}.creator-shell .layout-setting-header{gap:12px}.creator-shell .layout-setting-header h2{font-size:14px}.creator-shell .layout-setting-title{max-width:520px}.creator-shell .layout-setting-description{font-size:12px;color:#71809a}
@media(max-width:760px){.creator-shell .creator-content-item{grid-template-columns:minmax(0,1fr);gap:12px;padding:18px 0}.creator-shell .creator-item-actions{justify-content:flex-start}.creator-shell .creator-item-actions button{min-width:44px;min-height:44px}.creator-import-options{grid-template-columns:minmax(0,1fr);gap:8px}.creator-import-options>button{justify-content:flex-start;text-align:left;min-height:48px}.creator-content-footer,.creator-design-guide{align-items:flex-start;flex-direction:column;gap:12px}.creator-shell .creator-content-item .creator-product-tools{padding:10px;gap:6px}.creator-tools-label{width:100%}.creator-shell .creator-product-tools button{min-height:44px}.creator-design-guide{padding:16px}}

/* Compact settings and schedules share a stable information/action grid. */
.creator-shell .layout-setting{display:grid;grid-template-columns:110px minmax(0,1fr) auto;align-items:center;gap:16px;padding:16px 0}
.creator-shell .layout-setting-header{display:contents}
.creator-shell .layout-setting-header h2{grid-column:1;grid-row:1;margin:0;line-height:1.6}
.creator-shell .layout-setting-actions{grid-column:3;grid-row:1;display:flex;align-items:center;gap:8px;margin:0}
.creator-shell .layout-setting-title,.creator-shell .layout-setting-description{grid-column:2;grid-row:1;min-width:0;width:100%;max-width:none;margin:0}
.creator-shell .layout-setting-title{font-size:11px;line-height:1.6;gap:4px}
.creator-shell .layout-setting-title input{width:100%;min-width:0}
.creator-shell .creator-skin-color-notice{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px}
.creator-shell .creator-skin-color-notice h2{margin:0;font-size:15px}
.creator-shell .creator-skin-color-notice p{margin:6px 0 0}
.creator-shell .creator-skin-color-notice button{flex:none}
.creator-shell .campaign-list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}
.creator-shell .campaign-list-heading h2{margin:0}
.campaign-list-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.creator-shell .campaign-schedule{display:grid;grid-template-columns:minmax(0,1fr) 280px;align-items:center;gap:20px;padding:20px 0}
.creator-shell .campaign-schedule h3{font-size:14px;line-height:1.6;margin:6px 0;white-space:normal;overflow-wrap:anywhere}
.creator-shell .campaign-schedule p{font-size:12px;line-height:1.7;margin:4px 0}
.campaign-status{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.creator-shell .campaign-schedule-actions{display:grid;grid-template-columns:60px 70px minmax(0,1fr);gap:6px;width:100%;margin:0}
.creator-shell .campaign-schedule-actions button{min-height:44px;white-space:nowrap;padding:8px;font-size:12px}
@media(max-width:1000px){
.creator-shell .layout-setting{grid-template-columns:minmax(0,1fr) auto;gap:12px}
.creator-shell .layout-setting-actions{grid-column:2}
.creator-shell .layout-setting-title,.creator-shell .layout-setting-description{grid-column:1/-1;grid-row:2}
}
@media(max-width:760px){
.creator-shell .campaign-list-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:4px}
.campaign-list-tools{width:100%}
.creator-shell .campaign-schedule{grid-template-columns:minmax(0,1fr);gap:12px;padding:18px 0}
.creator-shell .campaign-schedule-actions{grid-template-columns:60px 70px minmax(0,1fr)}
.creator-shell .creator-skin-color-notice{flex-direction:column;align-items:flex-start;gap:12px;padding:16px}
}

.creator-content-groups{display:grid;gap:20px;margin-bottom:20px}
.creator-shell .creator-content-groups>.creator-content-group{margin:0;min-width:0}
.creator-shell .creator-content-group>h2{padding-bottom:16px;margin-bottom:0;border-bottom:1px solid var(--ui-border,#e3e9f2)}
.creator-shell .creator-content-group>h2 small{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;border-radius:6px;background:#eef3ff;color:#4664bf;font-size:12px}
.creator-shell .layout-setting-actions>button{height:44px;min-height:44px;min-width:44px;padding:8px}
@media(max-width:760px){.creator-content-groups{gap:16px;margin-bottom:16px}}

@media(min-width:1001px){.layout-title-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.creator-shell .layout-setting-title{display:block}}
