/* F0 셸 — Stitch 충실 적용 공통 문법. 모든 층 CSS 뒤 맨 마지막에 로드(studio-look.css는 이 파일로 대체, 같은 규칙을 A절에 다시 담음).
   명세: teams/design/APP-STITCH-FIDELITY-SPEC-20261118.md §1 / 서버 사실: teams/development/DASHBOARD-F0-F5-SERVER-FACTS-20261118.md
   A. 화면 공통(다크 강조 카드·큰 숫자·눈썹 점) — F1~F5가 화면별로 교체할 때까지 유지  B. 셸(사이드바·상단 바·페이지 머리·카드·필)
   다크 강조 카드는 화면당 1장: H1 다음 예약(#dashboard-jobs) · H3 슬롯 요약(.h3-slot) · 미디어 저장 용량(#media-cards 첫 카드). */

/* ── 1·6. 다크 강조 카드: 면 #0c0c0c, 반경 24, 경계 없음, 점 격자(정지) ── */
html body.a-product .main-shell :is(#dashboard-jobs,.h3-slot,#media-cards>.media-card:first-child){
  background-color:#0c0c0c!important;
  background-image:radial-gradient(rgba(255,255,255,.07) 1px,transparent 1px)!important;
  background-size:16px 16px!important;
  border:0!important;border-radius:20px!important;box-shadow:none!important;color:#fff!important;
}
/* 글자: 기본 #fff, 보조 #d4d4d8, 최소 #a1a1aa */
html body.a-product .main-shell :is(#dashboard-jobs,.h3-slot,#media-cards>.media-card:first-child) :is(h2,h3,strong,b,.h3-slot-sum){color:#fff!important}
html body.a-product .main-shell :is(#dashboard-jobs,.h3-slot,#media-cards>.media-card:first-child) :is(p,small,span,.h3-slot-note):not(.badge,.badge *,.h3-pill,.h3-pill *){color:#d4d4d8!important}
html body.a-product .main-shell #dashboard-jobs .dashboard-job-row small{color:#a1a1aa!important}
html body.a-product .main-shell :is(#dashboard-jobs,.h3-slot,#media-cards>.media-card:first-child) :is(.h3-slot-sum,.dashboard-job-row strong){color:#fff!important}
/* 머리 구분선·목록 행: 다크 면 위 헤어라인 */
html body.a-product .main-shell #dashboard-jobs .panel-heading{border-color:#27272a!important;background:transparent!important}
html body.a-product .main-shell #dashboard-jobs :is(.dashboard-job-list,.dashboard-job-empty){background:transparent!important;border-color:#27272a!important}
html body.a-product .main-shell #dashboard-jobs .dashboard-job-row{background:transparent!important;border-color:#27272a!important;transition:background-color .12s ease}
html body.a-product .main-shell #dashboard-jobs .dashboard-job-row:hover{background:rgba(255,255,255,.08)!important}
/* 상태 필: 다크 면 위에서도 밝은 면 + 기존 글리프·글자색 쌍(반전 금지) */
html body.a-product .main-shell #dashboard-jobs .badge{background:#fff!important;border-color:#fff!important;color:#0c0c0c!important}
html body.a-product .main-shell #dashboard-jobs .badge.scheduled,html body.a-product .main-shell #dashboard-jobs .badge.scheduled::before{color:var(--pn-cobalt,#1d4ed8)!important}
/* 링크·버튼: 흰 글자 + 흰 밑줄 2px(호버는 두께만), 면 버튼은 흰 면 + 검정 글자 */
html body.a-product .main-shell :is(#dashboard-jobs,.h3-slot,#media-cards>.media-card:first-child) .text-button{color:#fff!important;text-decoration:underline;text-decoration-color:#fff;text-decoration-thickness:2px;text-underline-offset:4px;background:transparent!important}
html body.a-product .main-shell :is(#dashboard-jobs,.h3-slot,#media-cards>.media-card:first-child) .text-button:hover{text-decoration-thickness:3px;background:transparent!important}
html body.a-product .main-shell :is(#dashboard-jobs,.h3-slot,#media-cards>.media-card:first-child) .text-button :is(.icon,svg){color:#fff!important;stroke:currentColor}
html body.a-product .main-shell .h3-slot .secondary{background:#fff!important;color:#0c0c0c!important;border-color:#fff!important}
html body.a-product .main-shell .h3-slot .secondary:hover{background:#e4e4e7!important;border-color:#e4e4e7!important}
/* 포커스 링: 다크 면 위는 흰색 3px */
html body.a-product .main-shell :is(#dashboard-jobs,.h3-slot,#media-cards>.media-card:first-child) :is(a,button,[tabindex]):focus-visible,
html body.a-product .main-shell #dashboard-jobs:focus-visible{outline:3px solid #fff!important;outline-offset:2px!important;box-shadow:none!important}

/* ── 2. 라임 포인트: 다크 면 위에서만(진행 막대 채움·눈썹 점) ── */
html body.a-product .main-shell :is(.h3-slot,#media-cards>.media-card:first-child) progress{appearance:none;-webkit-appearance:none;height:8px;border:0;border-radius:999px;overflow:hidden;background:#71717a;accent-color:#c8ff00}
html body.a-product .main-shell :is(.h3-slot,#media-cards>.media-card:first-child) progress::-webkit-progress-bar{background:#71717a;border-radius:999px}
html body.a-product .main-shell :is(.h3-slot,#media-cards>.media-card:first-child) progress::-webkit-progress-value{background:#c8ff00;border-radius:999px}
html body.a-product .main-shell :is(.h3-slot,#media-cards>.media-card:first-child) progress::-moz-progress-bar{background:#c8ff00;border-radius:999px}

/* ── 3. 큰 숫자: Space Grotesk 700, 40–56px, tabular-nums, 단위는 14px 보조 ── */
html body.a-product .main-shell :is(.h1-stat,.st-card,.media-card,.h3-slot)>strong,
html body.a-product .main-shell .h3-slot>div>strong{
  font-family:var(--pn-font-display,"Space Grotesk","Pretendard",sans-serif)!important;font-weight:700!important;
  font-size:clamp(40px,3.4vw,56px)!important;line-height:1.08!important;letter-spacing:-.02em!important;font-variant-numeric:tabular-nums;
}
html body.a-product .main-shell :is(.h1-stat,.st-card,.media-card)>strong>small,
html body.a-product .main-shell .h3-slot>div>strong>small{
  font-family:var(--pn-font-body,"Pretendard",sans-serif)!important;font-size:14px!important;font-weight:600!important;letter-spacing:0!important;line-height:1.4!important;
}

/* ── 4. 눈썹 라벨: 12px 700, 자간 .06em, 앞에 8px 점(밝은 면 ink / 다크 면 라임) ── */
html body.a-product .main-shell :is(.panel .eyebrow,.h3-slot-k,.media-card-k,.st-card-k){
  display:inline-flex;align-items:center;gap:8px;font-size:12px!important;font-weight:700!important;letter-spacing:.06em!important;text-transform:none!important;
}
html body.a-product .main-shell :is(.panel .eyebrow,.h3-slot-k,.media-card-k,.st-card-k)::before{
  content:"";flex:none;width:8px;height:8px;border-radius:50%;background:#0c0c0c;
}
html body.a-product .main-shell :is(#dashboard-jobs,.h3-slot,#media-cards>.media-card:first-child) :is(.eyebrow,.h3-slot-k,.media-card-k){color:#fff!important}
html body.a-product .main-shell :is(#dashboard-jobs,.h3-slot,#media-cards>.media-card:first-child) :is(.eyebrow,.h3-slot-k,.media-card-k)::before{background:#c8ff00}

/* ── 5. 반경·헤어라인: 요약·강조 카드 24px, 선택·대표 카드만 1.5px ink, 그림자 없음 ── */
html body.a-product .main-shell :is(.h1-stat,.st-card,.media-card){border-radius:20px!important;box-shadow:0 1px 2px rgba(12,12,12,.04)!important}
html body.a-product .main-shell .start-card.is-next{border:1.5px solid #0c0c0c!important}
/* H1 상태 4칸: 바깥 묶음 테두리를 빼고 칸마다 24px 헤어라인 카드로(이중 테두리 방지) */
html body.a-product .main-shell .stats.studio-status-cards.h1-summary{border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important}
html body.a-product .main-shell .h1-summary .h1-stat{border:1px solid #e4e4e7!important;background:#fff!important}
html body.a-product .main-shell .h1-summary .h1-stat:hover{border-color:#0c0c0c!important}

/* ── forced-colors: 다크 면·점 격자가 사라져도 경계로 구분 ── */
@media (forced-colors:active){
  html body.a-product .main-shell :is(#dashboard-jobs,.h3-slot,#media-cards>.media-card:first-child){border:1px solid ButtonText!important;background-image:none!important;box-shadow:none!important}
  html body.a-product .main-shell :is(.panel .eyebrow,.h3-slot-k,.media-card-k,.st-card-k)::before{background:ButtonText;forced-color-adjust:none}
  html body.a-product .main-shell :is(#dashboard-jobs,.h3-slot,#media-cards>.media-card:first-child) :is(a,button,[tabindex]):focus-visible{outline-color:Highlight!important}
}
/* ── 모션: 전환 ≤.12s, reduced-motion에서는 변화 없음 ── */
@media (prefers-reduced-motion:reduce){
  html body.a-product .main-shell :is(#dashboard-jobs,.h3-slot,#media-cards>.media-card:first-child) *{transition:none!important;animation:none!important}
}


/* ══════════ B. 셸 ══════════ */
/* ── 사이드바(≥1024): 폭 264, 면 #f8f8f9, 우측 1px #e4e4e7 ── */
@media(min-width:1024px){
  html body.a-product .sidebar[data-studio-navigation="true"]{width:264px!important;padding:20px 16px 16px!important;background:#f8f8f9!important;border-right:1px solid #e4e4e7!important}
  html body.a-product .main-shell{margin-left:264px!important}
}
html body.a-product .sidebar[data-studio-navigation="true"]{background:#f8f8f9}
/* 로고: 40px 검정 타일 + 라임 P, POSTNORI 18px 800, 라임 필 배지, 영문 모노 보조 */
html body.a-product .sidebar .f0-logo{display:flex!important;align-items:center;gap:10px;margin:0 0 16px!important;padding:0 4px!important;min-height:44px;text-decoration:none;color:#0c0c0c}
.f0-logo-tile{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#0c0c0c;color:#c8ff00;font-family:var(--pn-font-display,"Space Grotesk","Pretendard",sans-serif);font-size:20px;font-weight:800;line-height:1}
.f0-logo-text{display:grid;gap:2px;min-width:0}
.f0-logo-name{display:flex;align-items:center;gap:8px;min-width:0}
.f0-logo-word{font-family:var(--pn-font-display,"Space Grotesk","Pretendard",sans-serif);font-size:18px;font-weight:800;letter-spacing:-.01em;line-height:1.1;color:#0c0c0c}
.f0-logo-badge{flex:none;display:inline-flex;align-items:center;min-height:20px;padding:0 8px;border-radius:999px;background:#c8ff00;color:#0c0c0c;font-size:12px;font-weight:700;line-height:1;white-space:nowrap}
.f0-logo-sub{font-family:var(--pn-font-display,"Space Grotesk","Pretendard",sans-serif);font-size:12px;font-weight:700;letter-spacing:.08em;line-height:1.2;color:#52525b}
/* 워크스페이스 카드: 흰 면·반경 12·헤어라인(전환 기능 없음 → 정적 카드) */
html body.a-product .sidebar .workspace.f0-workspace{display:flex!important;align-items:center;gap:10px;margin:0 0 12px!important;padding:10px 12px!important;border:1px solid #e4e4e7!important;border-radius:12px!important;background:#fff!important}
.f0-workspace-avatar{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#0c0c0c;color:#fff;font-size:13px;font-weight:700}
.f0-workspace>div{display:grid;min-width:0}
html body.a-product .sidebar .f0-workspace strong{max-width:none!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px!important;font-weight:700;color:#0c0c0c!important}
html body.a-product .sidebar .f0-workspace small{font-size:12px!important;color:#52525b!important}
/* 대표 CTA: 라임 필 48px 전폭(글자 ink 700) */
html body.a-product .sidebar .f0-cta{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px!important;height:48px;margin:0 0 16px;padding:0 16px;border:0;border-radius:999px;background:#c8ff00;color:#0c0c0c!important;font-size:15px;font-weight:700;cursor:pointer;transition:background-color .12s ease}
html body.a-product .sidebar .f0-cta :is(.icon,svg){color:#0c0c0c!important}
html body.a-product .sidebar .f0-cta:hover{background:#b5ea00}
html body.a-product .sidebar .f0-cta:focus-visible{outline:3px solid #0c0c0c;outline-offset:2px}
/* 그룹 라벨: 12px Space Grotesk 700 자간 .08em #52525b, 한국어 + 영문 보조(장식, 읽지 않음) */
html body.a-product .sidebar[data-studio-navigation="true"] :is(.studio-nav-heading,.brands-heading .nav-label){margin:10px 0 2px!important;padding:0 8px!important;font-family:var(--pn-font-display,"Space Grotesk","Pretendard",sans-serif)!important;font-size:12px!important;font-weight:700!important;letter-spacing:.08em!important;text-transform:uppercase;color:#52525b!important}
html body.a-product .sidebar[data-studio-navigation="true"] .studio-nav-heading .studio-nav-toggle,html body.a-product .sidebar[data-studio-navigation="true"] .brands-heading .studio-nav-toggle{font:inherit!important;letter-spacing:inherit!important;color:#52525b!important;min-height:44px}
.studio-nav-heading[data-en]:not(:has(.studio-nav-toggle))::after,.studio-nav-heading[data-en] .studio-nav-toggle>span:first-child::after{content:" " attr(data-en);content:" " attr(data-en) / ""}
.studio-nav-heading[data-en] .studio-nav-toggle>span:first-child::after{content:" STUDIO";content:" STUDIO" / ""}
#nav-group-ops .studio-nav-toggle>span:first-child::after{content:" OPERATIONS";content:" OPERATIONS" / ""}
#nav-group-account .studio-nav-toggle>span:first-child::after{content:" CHANNELS";content:" CHANNELS" / ""}
.sidebar .brands-heading .nav-label:not(:has(.studio-nav-toggle))::after,.sidebar .brands-heading .nav-label .studio-nav-toggle>span:first-child::after{content:" BRANDS";content:" BRANDS" / ""}
/* 메뉴 항목: 44px·반경 10·15px 600, 활성 = 검정 면 + 흰 글자 700, 호버 #f4f4f5 */
html body.a-product .sidebar[data-studio-navigation="true"] .nav-item{min-height:44px!important;padding:0 12px!important;border-radius:10px!important;font-size:15px!important;font-weight:600!important;color:#27272a!important;background:transparent;transition:background-color .12s ease}
html body.a-product .sidebar[data-studio-navigation="true"] .nav-item:hover{background:#f4f4f5!important;color:#0c0c0c!important}
html body.a-product .sidebar[data-studio-navigation="true"] .nav-item.active,html body.a-product .sidebar[data-studio-navigation="true"] .nav-item[aria-current="page"]{background:#0c0c0c!important;color:#fff!important;font-weight:700!important;border-color:#0c0c0c!important;box-shadow:none!important;outline-color:#0c0c0c}
html body.a-product .sidebar[data-studio-navigation="true"] .nav-item.active :is(.icon,svg,span),html body.a-product .sidebar[data-studio-navigation="true"] .nav-item[aria-current="page"] :is(.icon,svg,span){color:#fff!important}
html body.a-product .sidebar[data-studio-navigation="true"] .nav-item small{min-width:24px;padding:2px 8px;border-radius:999px;background:#e4e4e7!important;color:#0c0c0c!important;font-size:12px!important;font-weight:700;text-align:center}
html body.a-product .sidebar[data-studio-navigation="true"] .nav-item.active small{background:#c8ff00!important;color:#0c0c0c!important}
html body.a-product .sidebar[data-studio-navigation="true"] .nav-item:focus-visible{outline:3px solid #0c0c0c!important;outline-offset:2px!important}
html body.a-product .sidebar[data-studio-navigation="true"] .nav-item.active:focus-visible{outline:3px solid #0c0c0c!important;outline-offset:3px!important;box-shadow:0 0 0 2px #fff inset!important}
/* 브랜드 목록 */
html body.a-product .sidebar[data-studio-navigation="true"] .brand-nav{min-height:44px!important;padding:0 10px!important;border-radius:10px!important;font-size:15px!important;font-weight:600;color:#27272a!important;border:1.5px solid transparent}
html body.a-product .sidebar[data-studio-navigation="true"] .brand-nav.chosen{background:#fff!important;border-color:#0c0c0c!important;color:#0c0c0c!important}
html body.a-product .sidebar[data-studio-navigation="true"] .brand-nav .avatar{background:#e4e4e7!important;color:#0c0c0c!important}
/* 하단: 슬롯 할당 카드 + 사용자 행 */
html body.a-product .sidebar .f0-slot{margin:0 0 8px;padding:12px 14px;border:1px solid #e4e4e7;border-radius:14px;background:#fff}
.f0-slot-head{display:grid;gap:2px}
.f0-slot-k{font-family:var(--pn-font-display,"Space Grotesk","Pretendard",sans-serif);font-size:12px;font-weight:700;letter-spacing:.08em;color:#52525b}
html body.a-product .sidebar .f0-slot strong{font-size:14px!important;font-weight:700;color:#0c0c0c!important;font-variant-numeric:tabular-nums}
html body.a-product .sidebar .f0-slot progress{display:block;width:100%;height:6px;margin-top:10px;border:0;border-radius:999px;overflow:hidden;appearance:none;-webkit-appearance:none;background:#e4e4e7;accent-color:#0c0c0c}
html body.a-product .sidebar .f0-slot progress::-webkit-progress-bar{background:#e4e4e7;border-radius:999px}
html body.a-product .sidebar .f0-slot progress::-webkit-progress-value{background:#0c0c0c;border-radius:999px}
html body.a-product .sidebar .f0-slot progress::-moz-progress-bar{background:#0c0c0c;border-radius:999px}
html body.a-product .sidebar[data-studio-navigation="true"] .profile[data-action="account-menu"]{min-height:56px;margin:0!important;width:100%!important;padding:10px 12px!important;border:1px solid #e4e4e7!important;border-radius:14px!important;background:#fff!important}
html body.a-product .sidebar[data-studio-navigation="true"] .profile[data-action="account-menu"] .avatar{width:32px;height:32px;background:#0c0c0c!important;color:#fff!important;border-radius:50%!important;font-size:13px;font-weight:700}
html body.a-product .sidebar[data-studio-navigation="true"] .profile strong{font-size:14px;font-weight:700;color:#0c0c0c!important}
html body.a-product .sidebar[data-studio-navigation="true"] .profile small{font-size:12px;color:#52525b!important}
/* ── 상단 바: 64px·흰·헤어라인, 브레드크럼 모노, 상태 필·슬롯 라임 필·아바타(벨 없음) ── */
html body.a-product .main-shell>.topbar{background:#fff!important;border-bottom:1px solid #e4e4e7!important}
@media(min-width:1024px){html body.a-product .main-shell:not(.calendar-shell)>.topbar,html body.a-product .main-shell>.topbar{min-height:64px!important;height:64px!important;padding-top:0!important;padding-bottom:0!important}}
html body.a-product .main-shell>.topbar .f0-crumb{display:inline-flex;align-items:center;gap:8px;font-family:var(--pn-font-display,"Space Grotesk","Pretendard",sans-serif);font-size:12px!important;font-weight:600;letter-spacing:.08em;color:#52525b!important}
html body.a-product .main-shell>.topbar .f0-crumb strong{font-family:var(--pn-font-display,"Space Grotesk","Pretendard",sans-serif);font-size:12px!important;font-weight:600;letter-spacing:.08em;color:#52525b!important}
html body.a-product .main-shell>.topbar .f0-crumb .slash{color:#52525b!important}
html body.a-product .main-shell>.topbar .top-right{display:flex;align-items:center;gap:10px}
html body.a-product .main-shell>.topbar .f0-status{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:6px 14px;border:0!important;border-radius:999px;background:#f4f4f5!important;color:#0c0c0c!important;font-size:13px!important;font-weight:700;line-height:1.5;white-space:nowrap}
.f0-dot{flex:none;width:8px;height:8px;border-radius:50%;background:#c8ff00;box-shadow:0 0 0 1.5px #0c0c0c}
html body.a-product .main-shell>.topbar .f0-slot-pill{display:inline-flex;align-items:center;min-height:32px;padding:6px 14px;border-radius:999px;background:#c8ff00;color:#0c0c0c!important;font-size:13px!important;font-weight:700;line-height:1.5;white-space:nowrap;font-variant-numeric:tabular-nums}
html body.a-product .main-shell>.topbar .f0-avatar{flex:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}
html body.a-product .main-shell>.topbar .f0-avatar>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#0c0c0c;color:#fff!important;font-size:13px;font-weight:700}
html body.a-product .main-shell>.topbar .f0-avatar:focus-visible{outline:3px solid #0c0c0c;outline-offset:2px}
html body.a-product .main-shell>.topbar .top-home{min-height:44px;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px;color:#0c0c0c!important}
/* ── 페이지 머리: 눈썹(모노) → h1 48–56px/800/-.03em → 설명 16px → 액션 필(검정 주) ── */
html body.a-product .main-shell:not(.calendar-shell) .page-heading .eyebrow.eyebrow.eyebrow{display:inline-flex!important;align-items:center;gap:8px;min-height:28px;margin:0;padding:5px 14px;border-radius:999px;background:#0c0c0c!important;color:#c8ff00!important;font-family:var(--pn-font-body,"Pretendard",sans-serif)!important;font-size:12px!important;font-weight:700!important;letter-spacing:.04em!important;text-transform:none!important;line-height:1.5}
html body.a-product .main-shell:not(.calendar-shell) .page-heading .eyebrow.eyebrow.eyebrow::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:#c8ff00}
html body.a-product .main-shell:not(.calendar-shell) .page-heading h1{font-size:clamp(36px,3.75vw,54px)!important;font-weight:800!important;letter-spacing:-.03em!important;line-height:1.1!important;margin:14px 0 10px!important;color:#0c0c0c!important;overflow-wrap:anywhere}
html body.a-product .main-shell:not(.calendar-shell) .page-heading p{font-size:16px!important;line-height:1.55!important;color:#52525b!important}
html body.a-product .main-shell:not(.calendar-shell) .page-heading .primary[data-action="compose"]{display:none!important}
html body.a-product .main-shell:not(.calendar-shell) .page-heading .primary{min-height:48px!important;padding:0 22px;border-radius:999px!important;background:#0c0c0c!important;border:1px solid #0c0c0c!important;color:#fff!important;font-weight:700!important}
html body.a-product .main-shell:not(.calendar-shell) .page-heading .primary :is(.icon,svg){color:#fff!important}
html body.a-product .main-shell:not(.calendar-shell) .page-heading .primary:hover{background:#27272a!important}
/* ── 카드: 흰 면·반경 20(모듈)·1px #e4e4e7·그림자 0 1px 2px까지 ── */
html body.a-product .main-shell:not(.calendar-shell) main>.panel,html body.a-product .main-shell:not(.calendar-shell) main :is(.dashboard-main,.dashboard-side)>.panel,html body.a-product .main-shell:not(.calendar-shell) main :is(.h4-brand-card,.h3-slot,.h7-card,.h7-scope,.h7-soon,.h7-prep,.h6-day,.account-card,.channel-directory,.settings-card,.h5-inbox,.media-library>section){border-radius:20px!important}
html body.a-product .main-shell:not(.calendar-shell) main :is(.panel,.h4-brand-card,.h7-card:not(.h7-quick),.h7-scope,.h7-soon,.h7-prep,.h6-day,.account-card){box-shadow:0 1px 2px rgba(12,12,12,.04)}
html body.a-product .main-shell :is(.h5-summary,.h7-quick){box-shadow:none!important;border-radius:20px!important}
html body.a-product .main-shell:not(.calendar-shell) main .panel-heading h2{font-size:20px!important;font-weight:800!important;letter-spacing:-.02em!important}
/* ── 버튼: 48px 필·700, 보조는 1.5px 검정 외곽선 ── */
html body.a-product .main-shell:not(.calendar-shell) main :is(.primary,.secondary){min-height:48px!important;border-radius:999px!important;font-weight:700!important}
html body.a-product .main-shell:not(.calendar-shell) main .secondary:not(:disabled):not([aria-pressed="true"]):not([aria-current="page"]){border:1.5px solid #0c0c0c!important}
html body.a-product .main-shell:not(.calendar-shell) :is(.h3-slot,.h7-quick) .secondary{border-color:#fff!important}
/* ── 필 탭: 선택 = 검정 필 + 흰 글자, 비선택 = 흰 면 1px 헤어라인 ── */
html body.a-product .main-shell:not(.calendar-shell) main .filter-row{display:flex;flex-wrap:wrap;gap:8px;padding:14px 18px;background:transparent;border-bottom:1px solid #e4e4e7}
html body.a-product .main-shell:not(.calendar-shell) main .filter-row>button{min-height:44px!important;padding:0 16px!important;border:1px solid #e4e4e7!important;border-radius:999px!important;background:#fff!important;color:#0c0c0c!important;font-size:14px!important;font-weight:700!important;box-shadow:none!important}
html body.a-product .main-shell:not(.calendar-shell) main .filter-row>button.active{background:#0c0c0c!important;border-color:#0c0c0c!important;color:#fff!important}
html body.a-product .main-shell:not(.calendar-shell) main :is(.posts-chip,.media-chips button)[aria-pressed="true"]{background:#0c0c0c!important;border-color:#0c0c0c!important;color:#fff!important}
html body.a-product .main-shell:not(.calendar-shell) main :is(.posts-chip,.media-chips button)[aria-pressed="true"] span{color:#fff!important}
/* ── 채널 아이콘 흰 타일 40px ── */
html body.a-product .main-shell:not(.calendar-shell) main .social{display:inline-grid!important;place-items:center;flex:none;width:40px!important;height:40px!important;border-radius:12px!important;background:#fff!important;border:1px solid #e4e4e7!important;box-sizing:border-box}
html body.a-product .main-shell:not(.calendar-shell) main .social img{width:22px!important;height:22px!important;display:block}
html body.a-product .main-shell .st-card>strong>small{display:block;margin:8px 0 0}
/* ── forced-colors · 모션 ── */
@media(forced-colors:active){
  .f0-logo-tile,.f0-logo-badge,.f0-slot-pill,html body.a-product .sidebar .f0-cta{border:1px solid ButtonText}
  html body.a-product .sidebar[data-studio-navigation="true"] .nav-item.active{border:2px solid Highlight!important}
}
@media(prefers-reduced-motion:reduce){html body.a-product .sidebar *,html body.a-product .main-shell>.topbar *{transition:none!important;animation:none!important}}
/* 사이드바 높이: 메뉴가 길면 메뉴 영역만 스크롤, 하단(슬롯·사용자)은 항상 보임 */
html body.a-product .sidebar[data-studio-navigation="true"] .studio-nav-block{margin:0!important}
html body.a-product .sidebar[data-studio-navigation="true"] .studio-nav-items{gap:2px}
html body.a-product .sidebar[data-studio-navigation="true"] .brands-heading{margin-top:4px!important}
@media(min-width:1024px){
  html body.a-product .sidebar[data-studio-navigation="true"]{scroll-padding-bottom:190px;scroll-padding-top:16px}
  html body.a-product .sidebar[data-studio-navigation="true"]>*{flex-shrink:0}
  html body.a-product .sidebar[data-studio-navigation="true"] .sidebar-bottom{position:sticky!important;bottom:-16px;z-index:1;margin-top:auto;padding:12px 0 16px!important;background:#f8f8f9;border-top:1px solid #e4e4e7!important}
}

/* ══ r2 — 승인 시안(preview-f0-home 2b9749633185)·디자인 판정 필수 3건·QA 확인 반영 ══ */
/* 본문 여백·최대 폭(시안: 패딩 40, 최대 1240), 상단 바 좌우 40 */
@media(min-width:1024px){
  html body.a-product .main-shell:not(.calendar-shell)>main{max-width:1240px!important;padding:40px 40px 0!important;margin:0!important}
  html body.a-product .main-shell>.topbar{padding-left:40px!important;padding-right:40px!important}
}
/* 사이드바 세로 밀도: 그룹 라벨은 보이는 높이 36px(터치 영역은 44px로 확장), 항목 간격 0 → 1440×900·브랜드 2개에서 `SNS 계정`까지 보임 */
@media(min-width:1024px){
  html body.a-product .sidebar[data-studio-navigation="true"]{padding-top:16px!important}
  html body.a-product .sidebar .f0-logo{margin-bottom:10px!important}
  html body.a-product .sidebar .workspace.f0-workspace{margin-bottom:8px!important}
  html body.a-product .sidebar .f0-cta{margin-bottom:8px}
  html body.a-product .sidebar[data-studio-navigation="true"] nav,html body.a-product .sidebar[data-studio-navigation="true"] .studio-nav-items{gap:0!important}
  html body.a-product .sidebar[data-studio-navigation="true"] :is(.studio-nav-heading,.brands-heading .nav-label){margin:0!important}
  html body.a-product .sidebar[data-studio-navigation="true"] .brands-heading{display:flex!important;flex-direction:row!important;flex-wrap:nowrap;align-items:center;gap:4px;margin:0!important;padding:0!important;height:36px;min-height:0!important}
  html body.a-product .sidebar[data-studio-navigation="true"] .brands-heading .nav-label{flex:1 1 auto;min-width:0}
  html body.a-product .sidebar[data-studio-navigation="true"] .studio-nav-block{gap:0!important}
  html body.a-product .sidebar[data-studio-navigation="true"] .studio-nav-heading .studio-nav-toggle,html body.a-product .sidebar[data-studio-navigation="true"] .brands-heading .studio-nav-toggle{position:relative;min-height:36px!important;height:36px}
  html body.a-product .sidebar[data-studio-navigation="true"] .studio-nav-toggle::before{content:"";position:absolute;left:0;right:0;top:-4px;bottom:-4px}
  html body.a-product .sidebar[data-studio-navigation="true"] .brands-heading .icon-button{position:relative;width:36px;height:36px;min-height:36px}
  html body.a-product .sidebar[data-studio-navigation="true"] .brands-heading .icon-button::before{content:"";position:absolute;inset:-4px}
  html body.a-product .sidebar[data-studio-navigation="true"] .brand-nav-list{margin:0!important}
  html body.a-product .sidebar[data-studio-navigation="true"] .sidebar-bottom{padding:10px 0 12px!important;bottom:-12px;border-top:0!important}
  /* 메뉴가 넘칠 때 하단 16px 페이드 */
  html body.a-product .sidebar[data-studio-navigation="true"] .sidebar-bottom::before{content:"";position:absolute;left:0;right:0;top:-16px;height:16px;background:linear-gradient(rgba(248,248,249,0),#f8f8f9);pointer-events:none}
  html body.a-product .sidebar .f0-slot{margin-bottom:6px}
  html body.a-product .sidebar .f0-menu-toggle{display:none!important}
}
/* 모바일(≤900): 메뉴 기본 접힘 — 로고 줄 + 라임 CTA만 보이고 나머지는 `메뉴` 버튼으로. 901–1023은 기존 아이콘 레일(W4)을 유지 */
@media(max-width:900px){
  html body.a-product .sidebar[data-studio-navigation="true"]{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;gap:10px;padding:12px 16px!important}
  html body.a-product .sidebar[data-studio-navigation="true"]>.f0-logo{flex:1 1 0!important;width:auto!important;max-width:none!important;min-width:0;justify-content:flex-start!important;margin:0!important;padding:0!important}
  html body.a-product .main-shell>.topbar .mobile-menu{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1.5px solid #0c0c0c;border-radius:999px;background:#fff;color:#0c0c0c!important;font-size:13px;font-weight:700}
  html body.a-product .sidebar .f0-menu-toggle{flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:1.5px solid #0c0c0c;border-radius:999px;background:#fff;color:#0c0c0c;font-size:14px;font-weight:700;cursor:pointer}
  html body.a-product .sidebar .f0-menu-toggle[aria-expanded="true"]{background:#0c0c0c;color:#fff}
  html body.a-product .sidebar .f0-menu-toggle:focus-visible{outline:3px solid #0c0c0c;outline-offset:2px}
  html body.a-product .sidebar .f0-cta{flex:1 1 100%;margin:0}
  html body.a-product .sidebar[data-studio-navigation="true"]:not(.is-menu-open)>:not(.f0-logo):not(.f0-menu-toggle):not(.f0-cta){display:none!important}
  html body.a-product .sidebar[data-studio-navigation="true"].is-menu-open>:not(.f0-logo):not(.f0-menu-toggle):not(.f0-cta){flex:1 1 100%}
}
/* 카드 문법 통일: 1px #e4e4e7, 반경 20(모듈)/16(내부) */
html body.a-product .main-shell:not(.calendar-shell) main :is(.panel,.settings-card,.st-card,.h1-stat,.media-card:not(:first-child),.account-card,.h4-brand-card,.h6-day,.h7-card:not(.h7-quick),.h7-scope,.h7-soon,.h7-prep){border-color:#e4e4e7!important}
html body.a-product .main-shell:not(.calendar-shell) main :is(.settings-card,.st-card){border:1px solid #e4e4e7!important;border-radius:20px!important;box-shadow:0 1px 2px rgba(12,12,12,.04)!important}
html body.a-product .main-shell:not(.calendar-shell) main .post-status-card{border:1px solid #e4e4e7!important;border-radius:16px!important}
/* 토스트 그림자: 중립(연보라·장식 그림자 없음) */
html body #toast{box-shadow:0 8px 24px rgba(12,12,12,.12)!important}
@media(forced-colors:active){html body.a-product .main-shell .page-heading .eyebrow.eyebrow.eyebrow{border:1px solid ButtonText}html body.a-product .main-shell .page-heading .eyebrow.eyebrow.eyebrow::before{background:ButtonText;forced-color-adjust:none}}
html body.a-product .main-shell:not(.calendar-shell) main .panel{border-radius:20px!important}
@media(min-width:1024px){html body.a-product .sidebar[data-studio-navigation="true"] .brands-heading{gap:8px}}
/* 901–1023: 기존 64px 아이콘 레일 유지 — 로고 타일·아이콘 CTA·아이콘 메뉴만 */
@media(min-width:901px) and (max-width:1023px){
  html body.a-product .sidebar .f0-logo-text,html body.a-product .sidebar .workspace.f0-workspace,html body.a-product .sidebar .f0-slot,html body.a-product .sidebar .f0-menu-toggle{display:none!important}
  html body.a-product .sidebar .f0-logo{justify-content:center;padding:0!important;margin:0 0 10px!important}
  html body.a-product .sidebar .f0-cta{width:44px;height:44px;min-height:44px!important;margin:0 auto 10px;padding:0}
  html body.a-product .sidebar .f0-cta span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
/* ── r3 (디자인 판정 F6b 답 (가)): 900px 이하에서는 모든 화면의 상단 바에서 `공개 홈페이지`·시간대를 숨겨 대시보드와 같은 구성(상태 필·슬롯 필·아바타)으로. app.js 불변 ── */
@media(max-width:900px){html body.a-product .main-shell>.topbar :is(.top-home,.time-zone){display:none!important}}
/* ── r4 (디자인 판정 F0 r3 답): 390 대시보드 상단 바를 다른 화면과 같은 87px로 — 대시보드 셸 고유 여백(10px 16px·행 간격 10px)을 공통(12px·간격 없음)으로 ── */
@media(max-width:900px){html body.a-product .main-shell.dashboard-shell>.topbar{padding:12px!important;row-gap:normal!important}}
/* ── r5 (디자인 필수): 데스크톱 사이드바 = 메뉴 영역만 스크롤 + 하단 슬롯·사용자 행 항상 전체 표시 ── */
@media(min-width:1024px){
  html body.a-product .sidebar[data-studio-navigation="true"]{display:flex!important;flex-direction:column;overflow:hidden!important}
  html body.a-product .sidebar[data-studio-navigation="true"]>.f0-scroll{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px 0}
  html body.a-product .sidebar[data-studio-navigation="true"]>.f0-scroll>*{flex:none}
  html body.a-product .sidebar[data-studio-navigation="true"]>.f0-scroll:focus-visible{outline:3px solid #0c0c0c;outline-offset:-3px}
  html body.a-product .sidebar[data-studio-navigation="true"]>.sidebar-bottom{position:static!important;flex:none!important;margin-top:0!important;bottom:auto!important}
  html body.a-product .sidebar[data-studio-navigation="true"]>.sidebar-bottom::before{display:none!important}
}
/* ── r6 (디자인 개정): 메뉴 스크롤 영역 위·아래 12px 페이드 — 더 있는 쪽 가장자리만(.f0-up/.f0-down), 마스크라 배경색에 상관없다. 스크롤이 없으면 효과 없음 ── */
@media(min-width:1024px){
  html body.a-product .sidebar[data-studio-navigation="true"]>.f0-scroll.f0-up{-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 12px);mask-image:linear-gradient(to bottom,transparent 0,#000 12px)}
  html body.a-product .sidebar[data-studio-navigation="true"]>.f0-scroll.f0-down{-webkit-mask-image:linear-gradient(to top,transparent 0,#000 12px);mask-image:linear-gradient(to top,transparent 0,#000 12px)}
  html body.a-product .sidebar[data-studio-navigation="true"]>.f0-scroll.f0-up.f0-down{-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 12px,#000 calc(100% - 12px),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 12px,#000 calc(100% - 12px),transparent 100%)}
}
