/* ZENFLOW theme layer: night (A) / ivory (B).
   Colors of existing components come from zenflow-theme-tokens.css (generated);
   this file sets the page canvas, typography and the brand header. */
:root{
  --zf-navy-950:#070c1f; --zf-navy-900:#0b1330; --zf-navy-800:#121c42;
  --zf-gold-500:#c9a45c; --zf-gold-400:#dcbb78; --zf-gold-300:#ead4a0;
  --zf-ivory-50:#fbf8f1; --zf-ivory-100:#f5efe2;
  --serif:"Noto Serif KR","Gowun Batang",serif;
  --zf-brand:"Cormorant Garamond","Noto Serif KR",serif;
}
:root,:root[data-theme=night]{
  --zf-page:var(--zf-navy-950); --zf-ink:var(--zf-ivory-100); --zf-ink-muted:rgba(245,239,226,.68);
  --zf-rule:rgba(220,187,120,.24); --zf-chip:rgba(245,239,226,.06);
  color-scheme:dark;
}
:root[data-theme=ivory]{
  --zf-page:var(--zf-ivory-50); --zf-ink:var(--zf-navy-900); --zf-ink-muted:rgba(11,19,48,.64);
  --zf-rule:rgba(11,19,48,.12); --zf-chip:#fff;
  color-scheme:light;
}

/* canvas: starfield instead of the mountain photo */
html[data-theme] body{
  background:
    radial-gradient(1px 1px at 12% 18%,#ffffff88 50%,transparent 51%),
    radial-gradient(1px 1px at 72% 12%,#ffffff99 50%,transparent 51%),
    radial-gradient(1.5px 1.5px at 38% 64%,#ffe9b380 50%,transparent 51%),
    radial-gradient(1px 1px at 88% 52%,#ffffff77 50%,transparent 51%),
    radial-gradient(1px 1px at 22% 82%,#ffffff66 50%,transparent 51%),
    radial-gradient(900px 520px at 85% -10%,rgba(157,138,201,.20),transparent 60%),
    radial-gradient(700px 520px at -10% 35%,rgba(47,110,115,.16),transparent 60%),
    var(--zf-page);
  background-attachment:fixed;
  color:var(--zf-ink);
  transition:background-color .3s,color .3s;
}
html[data-theme=ivory] body{background:var(--zf-page)}

/* brand header: small ZENAMI over large ZENFLOW */
html[data-theme] body #easyWorkflow .zenami-brand{
  background:transparent;border:0;padding:4px 0;margin:4px 0 16px;gap:14px;color:var(--zf-ink)
}
html[data-theme] body #easyWorkflow .zenami-brand img{
  width:56px;height:56px;border-radius:50%;box-shadow:0 0 0 1px rgba(220,187,120,.5)
}
.zf-brand-text{display:flex;flex-direction:column;line-height:1.05}
.zf-brand-zenami{font:600 13px/1.2 var(--zf-brand);letter-spacing:.32em;color:var(--zf-gold-400)}
:root[data-theme=ivory] .zf-brand-zenami{color:var(--zf-gold-500)}
.zf-brand-zenflow{font:600 28px/1.1 var(--zf-brand);letter-spacing:.08em;color:var(--zf-ink)}

/* free-standing text that sits directly on the page canvas */
html[data-theme] body #easyWorkflow .easy-toolbar>b,
html[data-theme] body #easyWorkflow .easy-heading h1,
html[data-theme] body #easyWorkflow .easy-heading p{color:var(--zf-ink)!important;-webkit-text-fill-color:var(--zf-ink)!important;text-shadow:none!important}
html[data-theme] body #easyWorkflow .easy-heading p{color:var(--zf-ink-muted)!important;-webkit-text-fill-color:var(--zf-ink-muted)!important}
html[data-theme] body #easyWorkflow .easy-heading h1{font-family:var(--serif);letter-spacing:-.01em}

/* theme toggle */
#zfThemeToggle{
  width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;display:inline-grid;place-items:center;
  border:1px solid var(--zf-rule);background:var(--zf-chip);color:var(--zf-ink);font-size:18px;line-height:1
}
#zfThemeToggle:focus-visible{outline:3px solid var(--zf-gold-300);outline-offset:2px}
/* toolbar: title | theme | detail toggle | language */
html body #easyWorkflow .easy-toolbar{grid-template-columns:minmax(0,1fr) auto auto 120px;align-items:center}
html body #easyWorkflow .easy-toolbar>b{grid-column:1;grid-row:1}
html body #easyWorkflow .easy-toolbar #zfThemeToggle{grid-column:2;grid-row:1}
html body #easyWorkflow .easy-toolbar #easyModeToggle{grid-column:3;grid-row:1}
html body #easyWorkflow .easy-toolbar #langSwitcher{grid-column:4;grid-row:1}
@media(max-width:600px){
  html body #easyWorkflow .easy-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
  html body #easyWorkflow .easy-toolbar>b{flex:1 0 100%;max-width:none}
  html body #easyWorkflow .easy-toolbar #easyModeToggle{order:3}
  html body #easyWorkflow .easy-toolbar #langSwitcher{order:2}
}

/* easy mode hides the album-map rail, so don't reserve its 88px column */
html body[data-easy="true"][data-album-map=ready] main.wrap{width:auto;margin-left:auto;margin-right:auto}
html body[data-easy="true"][data-album-map=ready] .shop-player{right:0}

/* usage / preview notice (its text color is fixed inline in music-customer-limits.js: white on a black card) */
html[data-theme] body #musicUsageNotice{
  background:#111!important;border:2px solid var(--zf-gold-500)!important;border-radius:14px!important;
  box-shadow:0 8px 24px rgba(0,0,0,.18);max-width:960px!important;width:calc(100% - 56px);margin:14px auto 0!important
}
@media (prefers-reduced-motion:reduce){html[data-theme] body{transition:none}}

/* ── first screen (zenflow-home.mjs) ── */
html body #easyWorkflow .zf-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:32px;align-items:center;margin:4px 0 28px;padding:40px 36px;border-radius:28px;color:var(--zf-ivory-100);
  background:radial-gradient(1px 1px at 15% 25%,#ffffff99 50%,transparent 51%),radial-gradient(1px 1px at 80% 18%,#ffffff88 50%,transparent 51%),radial-gradient(1.5px 1.5px at 62% 70%,#ffe9b3aa 50%,transparent 51%),radial-gradient(800px 420px at 85% 0%,rgba(157,138,201,.28),transparent 60%),var(--zf-navy-900);
  box-shadow:0 20px 50px rgba(0,0,0,.28);border:1px solid rgba(220,187,120,.25)}
html[data-theme=night] body #easyWorkflow .zf-hero{background:transparent;box-shadow:none;border:0;padding:24px 4px}
html body #easyWorkflow .zf-eyebrow{margin:0 0 14px;font:600 12px/1.4 var(--sans);letter-spacing:.22em;color:var(--zf-gold-300)!important;-webkit-text-fill-color:var(--zf-gold-300)!important}
html body #easyWorkflow .zf-hero .easy-heading h1{word-break:keep-all;font-family:var(--serif);font-size:clamp(30px,4.4vw,48px);line-height:1.25;margin:0 0 14px;color:var(--zf-ivory-100)!important;-webkit-text-fill-color:var(--zf-ivory-100)!important}
html body #easyWorkflow .zf-hero .easy-heading p{word-break:keep-all;font-size:17px;margin:0 0 26px;color:rgba(245,239,226,.75)!important;-webkit-text-fill-color:rgba(245,239,226,.75)!important}
.zf-hero-actions{display:flex;gap:10px;flex-wrap:wrap}
html body #easyWorkflow .zf-hero .zf-cta{min-height:52px;padding:14px 26px;border:0!important;border-radius:999px;font-weight:700;font-size:16px;background:linear-gradient(180deg,var(--zf-gold-300),var(--zf-gold-500))!important;color:var(--zf-navy-950)!important;-webkit-text-fill-color:var(--zf-navy-950)!important;box-shadow:0 10px 28px rgba(201,164,92,.3)}
html body #easyWorkflow .zf-hero .zf-cta::before{content:"▶ "}
html body #easyWorkflow .zf-hero .zf-cta-ghost{min-height:52px;padding:14px 22px;border-radius:999px;font-weight:600;background:transparent!important;border:1px solid rgba(234,212,160,.5)!important;color:var(--zf-ivory-100)!important;-webkit-text-fill-color:var(--zf-ivory-100)!important}
html body #easyWorkflow .zf-trust{margin:20px 0 0;font-size:14px;color:rgba(245,239,226,.7)!important;-webkit-text-fill-color:rgba(245,239,226,.7)!important}
html body #easyWorkflow .zf-trust::before{content:"✦ ";color:var(--zf-gold-400)!important;-webkit-text-fill-color:var(--zf-gold-400)!important}
.zf-hero-art{position:relative;display:grid;place-items:center;aspect-ratio:1;width:min(300px,100%);margin:0 auto}
.zf-hero-art img{width:86%;height:auto;border-radius:50%;box-shadow:0 0 0 1px rgba(234,212,160,.4),0 26px 70px rgba(0,0,0,.45)}
.zf-orbit{position:absolute;inset:-4%;border-radius:50%;border:1px dashed rgba(234,212,160,.28);animation:zf-spin 60s linear infinite}
.zf-orbit::after{content:"";position:absolute;top:8%;left:50%;width:8px;height:8px;border-radius:50%;background:var(--zf-gold-300);box-shadow:0 0 14px var(--zf-gold-300)}
@keyframes zf-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.zf-orbit{animation:none}}
/* the brand row above the hero already shows the logo */
html body #easyWorkflow .zenami-brand img{display:none}
@media(max-width:700px){
  html body #easyWorkflow .zf-hero{grid-template-columns:1fr;padding:28px 20px;gap:18px}
  .zf-hero-art{order:-1;width:170px}
  html body #easyWorkflow .zf-hero .zf-cta,html body #easyWorkflow .zf-hero .zf-cta-ghost{flex:1 1 100%}
}

/* new engines coming soon (zenflow-home.mjs): inside the hero, which is navy in both themes */
html body #easyWorkflow .zf-coming{margin:22px 0 0;padding:14px 18px;border:1px solid var(--zf-gold-500);border-radius:16px}
html body #easyWorkflow .zf-coming-title{margin:0 0 6px;font-weight:700;font-size:15px;letter-spacing:.04em;color:var(--zf-gold-300)!important;-webkit-text-fill-color:var(--zf-gold-300)!important}
html body #easyWorkflow .zf-coming ul{margin:0;padding:0 0 0 18px}
html body #easyWorkflow .zf-coming li{margin:4px 0;font-size:14px;line-height:1.6;word-break:keep-all;color:var(--zf-ivory-100)!important;-webkit-text-fill-color:var(--zf-ivory-100)!important}
html body #easyWorkflow .zf-coming li::marker{color:var(--zf-gold-400)}
html body #easyWorkflow .zf-coming b{color:var(--zf-gold-300)!important;-webkit-text-fill-color:var(--zf-gold-300)!important}
/* privacy policy and terms links at the very bottom (clear of the fixed four-step bar) */
.zf-legal{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;margin:24px auto 0;padding:18px 16px 110px;font-size:14px;color:var(--zf-ink-muted)}
.zf-legal a{color:var(--zf-ink);text-decoration:underline;text-underline-offset:3px}

/* folded advanced panels */
html body #easyWorkflow .zf-more{margin:28px 0 8px;border:1px solid var(--zf-rule);border-radius:18px;background:var(--zf-chip);padding:0}
html body #easyWorkflow .zf-more>summary{cursor:pointer;list-style:none;padding:16px 20px;font-weight:700;color:var(--zf-ink)!important;-webkit-text-fill-color:var(--zf-ink)!important}
html body #easyWorkflow .zf-more>summary::before{content:"＋ ";color:var(--zf-gold-400)}
html body #easyWorkflow .zf-more[open]>summary::before{content:"－ "}
html body #easyWorkflow .zf-more-body{padding:0 16px 16px}

/* AI singer voice cards */
.zf-voice-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0 14px}
html body .zf-voice-cards .zf-voice-card{display:flex;flex-direction:column;align-items:center;gap:6px;min-height:84px;padding:12px 6px;border-radius:14px;font-weight:700;font-size:14px;line-height:1.3;text-align:center}
.zf-voice-icon{font-size:28px;line-height:1}
html body .zf-voice-cards .zf-voice-card[aria-checked=true]{background:linear-gradient(180deg,var(--zf-gold-300),var(--zf-gold-500))!important;color:#111!important;-webkit-text-fill-color:#111!important;border-color:transparent!important}
.zf-has-voice-cards>label:has(#creativeVocalVoice){position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:520px){.zf-voice-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* album images: one-click recommended fill first */
.zf-image-quick{margin:4px 0 14px}
html body #videoCatalogFill.zf-recommended{width:100%;min-height:52px;border-radius:14px;font-weight:700;font-size:15px;background:linear-gradient(180deg,var(--zf-gold-300),var(--zf-gold-500))!important;color:#111!important;-webkit-text-fill-color:#111!important;border:0!important}
html body #videoCatalogFill.zf-recommended::before{content:"✨ "}

/* 3D~6D three.js stage (orb-stage.mjs). The old CSS orbs stay in the DOM but are hidden once WebGL runs. */
.orb-wrap.zf-stage-on{position:relative}
.orb-wrap.zf-stage-on>:not(.zf-stage-view){visibility:hidden!important}
.zf-stage-view{position:absolute;inset:-12%;pointer-events:none;z-index:2}
/* keep the light inside each card so it never spills onto the neighbouring stage */
#orbsContainer .orb-item:has(.zf-stage-on){overflow:hidden}
.zf-stage-view canvas{position:absolute;inset:0;width:100%!important;height:100%!important;display:block}

/* premium stage frame: deep glass panels with a gold hairline and a soft inner glow */
html body #easyWorkflow .color-orbit-home{
  background:radial-gradient(900px 380px at 50% -20%,rgba(157,138,201,.22),transparent 60%),
    radial-gradient(600px 300px at 10% 120%,rgba(47,110,115,.18),transparent 60%),
    linear-gradient(160deg,#070c1f,#0d1636 55%,#0a0f24);
  border:1px solid rgba(220,187,120,.35);
  box-shadow:0 24px 60px rgba(3,6,20,.55),inset 0 1px 0 rgba(234,212,160,.18)
}
html body #easyWorkflow .color-orbit-home .orb-item:has(.zf-stage-on){
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.01));
  border:1px solid rgba(234,212,160,.22);border-radius:20px;
  box-shadow:inset 0 0 40px rgba(220,187,120,.05);
  transition:border-color .4s,box-shadow .4s,transform .4s
}
html body #easyWorkflow .color-orbit-home .orb-item:has(.zf-stage-on):hover{
  border-color:rgba(234,212,160,.55);transform:translateY(-2px);
  box-shadow:inset 0 0 50px rgba(220,187,120,.09),0 10px 30px rgba(0,0,0,.35)
}
html body #easyWorkflow .color-orbit-home .orb-label{letter-spacing:.06em}

/* 15초 공유 영상 (share-clip.mjs): gold button with black text; dialog follows the page theme */
html body #easyWorkflow .color-orbit-toolbar .zf-share-open{
  margin-left:auto;min-height:40px;padding:8px 14px;border:0;border-radius:30px;cursor:pointer;
  background:linear-gradient(180deg,var(--zf-gold-300),var(--zf-gold-500))!important;color:#111!important;-webkit-text-fill-color:#111!important;
  font-weight:800;font-size:13px;box-shadow:0 4px 14px rgba(220,187,120,.25)
}
html body #easyWorkflow .color-orbit-toolbar .zf-share-open:hover{filter:brightness(1.06)}
.zf-share-dialog{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:20px;border:1px solid var(--zf-rule);
  border-radius:20px;background:var(--zf-page);color:var(--zf-ink);box-shadow:0 24px 60px rgba(0,0,0,.45)}
.zf-share-dialog::backdrop{background:rgba(7,12,31,.6)}
.zf-share-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.zf-share-head h2{margin:0;font-size:20px;color:var(--zf-ink)}
.zf-share-close{min-width:44px;min-height:44px;border:1px solid var(--zf-rule);border-radius:50%;background:var(--zf-chip);color:var(--zf-ink);font-size:22px;cursor:pointer}
.zf-share-lead{margin:12px 0 6px;line-height:1.6;color:var(--zf-ink)}
.zf-share-note{margin:6px 0;font-size:13px;line-height:1.5;color:var(--zf-ink-muted)}
.zf-share-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 8px}
/* ids needed: shop-layout.css forces white text on everything with an id-level !important rule */
html body #zfShareDialog.zf-share-dialog .zf-share-make,html body #zfShareDialog.zf-share-dialog .zf-share-save{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;border:0;border-radius:14px;
  background:linear-gradient(180deg,var(--zf-gold-300),var(--zf-gold-500))!important;color:#111!important;-webkit-text-fill-color:#111!important;font-weight:800;text-decoration:none;cursor:pointer}
.zf-share-dialog .zf-share-make:disabled{opacity:.55;cursor:wait}
.zf-share-dialog .zf-share-cancel{min-height:48px;padding:10px 16px;border:1px solid var(--zf-rule);border-radius:14px;background:var(--zf-chip);color:var(--zf-ink);cursor:pointer}
.zf-share-progress{width:100%;height:8px;accent-color:var(--zf-gold-400)}
.zf-share-status{min-height:1.5em;margin:6px 0;font-weight:700;color:var(--zf-ink)}
.zf-share-video{display:block;width:min(100%,300px);aspect-ratio:9/16;margin:8px auto;border-radius:14px;background:#000}
@media(max-width:520px){html body #easyWorkflow .color-orbit-toolbar .zf-share-open{font-size:12px;padding:8px 10px}}
.zf-share-name{display:grid;gap:6px;margin:12px 0 4px;font-weight:700;font-size:14px;color:var(--zf-ink)}
.zf-share-name input{min-height:46px;padding:10px 12px;border:1px solid var(--zf-rule);border-radius:12px;background:var(--zf-chip);color:var(--zf-ink);font-size:16px}
/* share video on phones: photo thumbnails, live preview of what is being recorded */
#zfShareDialog [hidden]{display:none!important}
.zf-share-thumbs{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 6px}
.zf-share-thumbs img{width:48px;height:48px;object-fit:cover;border-radius:8px;border:1px solid var(--zf-rule)}
.zf-share-live{display:flex;justify-content:center;margin:6px 0}
.zf-share-live canvas{width:135px;height:240px;border-radius:12px;border:1px solid var(--zf-rule);background:#070c1f}
/* customer review 2026-10-28: AI "준비 중", one step system, readable step numbers */
html body .zf-ai-off{opacity:.55!important;cursor:not-allowed!important;filter:grayscale(.6)}
.zf-ai-note{margin:6px 0;padding:8px 10px;border-radius:10px;background:var(--zf-chip);color:var(--zf-ink);font-weight:700;font-size:14px}
html body #easyWorkflow .easy-start{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
html body #easyWorkflow .easy-start .zf-step-optional{opacity:.85}
html body #easyWorkflow .easy-start .zf-step-optional b{font-size:.92em}
.song-guide nav button b{display:block}

/* National Gugak Center source line above the instrument list (public/gugak-samples.js) */
.instrument-list-heading .gugak-credit{margin:4px 0 8px;font-size:12px;line-height:1.5;opacity:.85}

/* Non-Korean first visit: hidden until the first translation pass (script in my-color-sound.html head) */
html.zf-pre-translate body{visibility:hidden}
html.zf-pre-translate::after{content:"";position:fixed;left:50%;top:45%;width:30px;height:30px;margin-left:-15px;border:3px solid var(--zf-gold-300);border-top-color:transparent;border-radius:50%;animation:zf-pre-spin 1s linear infinite}
@keyframes zf-pre-spin{to{transform:rotate(360deg)}}

/* ---------- One-direction four-step flow (public/simple-flow.mjs) ---------- */
#zfFlowBar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;align-items:center;gap:6px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:var(--zf-page);border-top:1px solid var(--zf-rule);box-shadow:0 -6px 18px rgba(0,0,0,.25);font-family:inherit}
#zfFlowBar ol{display:flex;flex:1;gap:4px;margin:0;padding:0;list-style:none;min-width:0}
#zfFlowBar li{flex:1;min-width:0}
#zfFlowBar button{width:100%;min-height:44px;padding:6px 4px;border:1px solid var(--zf-rule);border-radius:10px;background:var(--zf-chip);color:var(--zf-ink);font:inherit;font-size:12px;font-weight:700;line-height:1.2;cursor:pointer}
#zfFlowBar #zfFlowPrev,#zfFlowBar #zfFlowNext{width:auto;flex:0 0 auto;padding:6px 10px}
#zfFlowBar #zfFlowNext{background:var(--zf-gold-300);border-color:var(--zf-gold-300);color:var(--zf-fg-000000ff, #000)}
#zfFlowBar [aria-current=step]{background:var(--zf-gold-300);border-color:var(--zf-gold-300);color:var(--zf-fg-000000ff, #000)}
#zfFlowBar [data-skip=true]{opacity:.45}
#zfFlowBar button:disabled{opacity:.4;cursor:default}
html[data-zf-flow=on] body{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
@media(max-width:420px){#zfFlowBar button{font-size:11px}#zfFlowBar #zfFlowPrev,#zfFlowBar #zfFlowNext{padding:6px 7px}}
/* the old 30-second guide repeated the old numbering; the bar replaces it */
html[data-zf-flow=on] #customerQuickGuide{display:none}
/* the song window: scenes and the list first; the rest behind "더 찾기" */
html[data-zf-flow=on] #vaultBuffet .buffet-modes,html[data-zf-flow=on] #buffetModeStatus{display:none}
html[data-zf-flow=on] #vaultLibraryModal:not(.zf-more) :is(#easySourceRoutes,.creative-launch,.vault-learning,.vault-content-section,#vaultSearchForm,.vault-discovery,#vaultCatalogSettings,.vault-recommend-actions,#vaultBuffet .buffet-tools,#vaultBuffet > p:last-of-type){display:none}
#zfMoreSongs{display:block;width:100%;min-height:44px;margin:8px 0;border:1px dashed var(--zf-rule);border-radius:10px;background:transparent;color:var(--zf-ink);font:inherit;font-weight:700;cursor:pointer}
/* the question sheet and the short lyrics sheet */
.zf-sheet{width:min(520px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;padding:18px;border:1px solid var(--zf-rule);border-radius:16px;background:var(--zf-page);color:var(--zf-ink)}
.zf-sheet::backdrop{background:rgba(0,0,0,.55)}
.zf-sheet h2{margin:0 0 10px;font-size:18px}
.zf-sheet header{display:flex;justify-content:space-between;align-items:center;gap:8px}
.zf-sheet label{display:block;margin:10px 0;font-weight:700}
.zf-sheet input[type=text],.zf-sheet textarea{display:block;width:100%;box-sizing:border-box;margin-top:4px;padding:10px;border:1px solid var(--zf-rule);border-radius:10px;background:var(--zf-chip);color:var(--zf-ink);font:inherit}
.zf-sheet button{min-height:44px;padding:8px 12px;border:1px solid var(--zf-rule);border-radius:10px;background:var(--zf-chip);color:var(--zf-ink);font:inherit;font-weight:700;cursor:pointer}
.zf-sheet-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
.zf-sheet-choices button,#zfLyricsNext{background:var(--zf-gold-300);border-color:var(--zf-gold-300);color:var(--zf-fg-000000ff, #000)}
.zf-sheet-note,.zf-sheet-notice{font-size:13px;line-height:1.5;color:var(--zf-ink-muted)}
.zf-sheet-notice{padding:8px 10px;border:1px solid var(--zf-rule);border-radius:10px}
.zf-sheet-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.zf-singers{display:grid;grid-template-columns:1fr 1fr;gap:6px;border:0;padding:0;margin:10px 0}
.zf-singers [aria-pressed=true]{background:var(--zf-gold-300);color:var(--zf-fg-000000ff, #000)}
#zfPickerNext{margin-left:6px;background:var(--zf-gold-300);border-color:var(--zf-gold-300);color:var(--zf-fg-000000ff, #000)}
#zfLyricsWithAlbum{display:block;margin:8px 0;font-weight:700}
#zfSongShort{margin:4px 0;font-weight:700}
#zfSongDetails summary{cursor:pointer;font-size:13px;color:var(--zf-ink-muted)}
/* inside a step window the bar sits at the window's bottom edge; leave room for it */
dialog[open]:has(> #zfFlowBar){padding-bottom:calc(76px + env(safe-area-inset-bottom))}

/* ===== readability (20261029-readability) =====
   Owner, 10/29: "노랑색 바탕은 검은색으로 변경해" — every yellow/gold surface becomes black with white bold text; gold stays
   only as a 2px outline. In the night theme the outline is white so a black button still stands out on the navy page.
   Minimum text 13px; the step bar 14px. Selectors are the originals (from the CSS that used a yellow background token),
   lifted with :root:root:not(#zf-readability) so they win. */
:root,:root[data-theme=night]{--zf-solid:#111;--zf-on-solid:#fff;--zf-solid-edge:#fff}
:root[data-theme=ivory]{--zf-solid:#111;--zf-on-solid:#fff;--zf-solid-edge:var(--zf-gold-500)}
:root:root:not(#zf-readability) .vault-contents button[aria-pressed=true],
html:root:root:not(#zf-readability) body[data-shop=ready] .instrument-listen[aria-pressed=true],
html:root:root:not(#zf-readability) body[data-shop=ready] .instrument-row-actions button[aria-pressed=true],
:root:root:not(#zf-readability) .album-map-rail [aria-current=step],
:root:root:not(#zf-readability) .album-map-step-cards [aria-current=step],
:root:root:not(#zf-readability) #albumMapRailFinish,
html:root:root:not(#zf-readability) body[data-shop=ready][data-album-map=ready] #albumMapRailFinish,
html:root:root:not(#zf-readability) body[data-shop=ready] #albumDimensionChoices .album-dimension-step-links [aria-current=step],
:root:root:not(#zf-readability) #albumDimensionChoices .album-song-modes button[aria-pressed=true],
:root:root:not(#zf-readability) #albumDimensionChoices .album-song-options button[data-dimension-save],
:root:root:not(#zf-readability) #creativeSingerGenerate:enabled,
html:root:root:not(#zf-readability) body[data-shop=ready] #creativeStudio #creativeSingerGenerate:enabled,
html:root:root:not(#zf-readability) body[data-shop=ready] #creativeStudio .song-guide nav button[aria-current=step],
html:root:root:not(#zf-readability) body[data-shop=ready] #creativeStudio #songGuideAction:enabled,
:root:root:not(#zf-readability) .song-repeat select,
html:root:root:not(#zf-readability) body #creativeStudio #selectedSongFull:enabled,
:root:root:not(#zf-readability) #arrangementItems .arrangement-preview,
html:root:root:not(#zf-readability) body[data-shop=ready] #arrangementCoach #arrangementNextSinger,
html:root:root:not(#zf-readability) body #easyAlbumReview [data-easy-album-seconds][aria-pressed=true],
html:root:root:not(#zf-readability) body[data-shop=ready] #easyWorkflow .easy-primary,
html:root:root:not(#zf-readability) body[data-shop=ready] #easyAlbumReview .easy-primary,
html:root:root:not(#zf-readability) body[data-shop=ready] #easyInstrumentPicker button[data-easy-audition],
html:root:root:not(#zf-readability) body[data-shop=ready] #easyWorkflow button[aria-pressed=true],
:root:root:not(#zf-readability) .customer-route button[aria-current=step],
:root:root:not(#zf-readability) .easy-nature-actions .easy-texture-listen,
html:root:root:not(#zf-readability) body #easyWorkflow .growth-purpose-options [aria-pressed=true],
:root:root:not(#zf-readability) .emotion-options button[aria-pressed=true],
:root:root:not(#zf-readability) .emotion-actions button[data-emotion-action=apply]:not(:disabled),
html:root:root:not(#zf-readability) body #vaultLibraryModal #vaultBuffet button[aria-pressed=true],
:root:root:not(#zf-readability) .flow-next,
:root:root:not(#zf-readability) .bio6d-guide button,
:root:root:not(#zf-readability) .buffet-options button[aria-pressed="true"],
:root:root:not(#zf-readability) .buffet-versions button[aria-pressed="true"],
:root:root:not(#zf-readability) #premiumPreviewContinue,
html:root:root:not(#zf-readability) body #easyWorkflow .zf-hero .zf-cta,
html:root:root:not(#zf-readability) body .zf-voice-cards .zf-voice-card[aria-checked=true],
html:root:root:not(#zf-readability) body #videoCatalogFill.zf-recommended,
html:root:root:not(#zf-readability) body #easyWorkflow .color-orbit-toolbar .zf-share-open,
html:root:root:not(#zf-readability) body #zfShareDialog.zf-share-dialog .zf-share-make,
html:root:root:not(#zf-readability) body #zfShareDialog.zf-share-dialog .zf-share-save,
:root:root:not(#zf-readability) #zfFlowBar #zfFlowNext,
:root:root:not(#zf-readability) #zfFlowBar [aria-current=step],
:root:root:not(#zf-readability) .zf-sheet-choices button,
:root:root:not(#zf-readability) #zfLyricsNext,
:root:root:not(#zf-readability) .zf-singers [aria-pressed=true],
:root:root:not(#zf-readability) #zfPickerNext,
html:root:root:not(#zf-readability) body #albumFormatMusic[aria-pressed=true],
html:root:root:not(#zf-readability) body #albumFormatVideo[aria-pressed=true]{
  background:var(--zf-solid)!important;background-image:none!important;color:var(--zf-on-solid)!important;
  -webkit-text-fill-color:var(--zf-on-solid)!important;text-shadow:none!important;font-weight:800!important;
  border:2px solid var(--zf-solid-edge)!important;box-shadow:none!important;filter:none!important}
:root:root:not(#zf-readability) .album-map-rail [aria-current=step] *,
:root:root:not(#zf-readability) .album-map-step-cards [aria-current=step] *,
:root:root:not(#zf-readability) #albumMapRailFinish *,
html:root:root:not(#zf-readability) body[data-shop=ready][data-album-map=ready] #albumMapRailFinish *,
html:root:root:not(#zf-readability) body[data-shop=ready] #albumDimensionChoices .album-dimension-step-links [aria-current=step] *,
:root:root:not(#zf-readability) #albumDimensionChoices .album-song-options button[data-dimension-save] *,
:root:root:not(#zf-readability) #creativeSingerGenerate:enabled *,
html:root:root:not(#zf-readability) body[data-shop=ready] #creativeStudio #creativeSingerGenerate:enabled *,
html:root:root:not(#zf-readability) body[data-shop=ready] #creativeStudio .song-guide nav button[aria-current=step] *,
html:root:root:not(#zf-readability) body[data-shop=ready] #creativeStudio #songGuideAction:enabled *,
:root:root:not(#zf-readability) .song-repeat select *,
html:root:root:not(#zf-readability) body #creativeStudio #selectedSongFull:enabled *,
:root:root:not(#zf-readability) #arrangementItems .arrangement-preview *,
html:root:root:not(#zf-readability) body[data-shop=ready] #arrangementCoach #arrangementNextSinger *,
html:root:root:not(#zf-readability) body[data-shop=ready] #easyWorkflow .easy-primary *,
html:root:root:not(#zf-readability) body[data-shop=ready] #easyAlbumReview .easy-primary *,
html:root:root:not(#zf-readability) body[data-shop=ready] #easyInstrumentPicker button[data-easy-audition] *,
:root:root:not(#zf-readability) .customer-route button[aria-current=step] *,
:root:root:not(#zf-readability) .easy-nature-actions .easy-texture-listen *,
:root:root:not(#zf-readability) .emotion-actions button[data-emotion-action=apply]:not(:disabled) *,
:root:root:not(#zf-readability) .flow-next *,
:root:root:not(#zf-readability) .bio6d-guide button *,
:root:root:not(#zf-readability) .buffet-options button[aria-pressed="true"] *,
:root:root:not(#zf-readability) .buffet-versions button[aria-pressed="true"] *,
:root:root:not(#zf-readability) #premiumPreviewContinue *,
html:root:root:not(#zf-readability) body #easyWorkflow .zf-hero .zf-cta *,
html:root:root:not(#zf-readability) body .zf-voice-cards .zf-voice-card[aria-checked=true] *,
html:root:root:not(#zf-readability) body #videoCatalogFill.zf-recommended *,
html:root:root:not(#zf-readability) body #easyWorkflow .color-orbit-toolbar .zf-share-open *,
html:root:root:not(#zf-readability) body #zfShareDialog.zf-share-dialog .zf-share-make *,
html:root:root:not(#zf-readability) body #zfShareDialog.zf-share-dialog .zf-share-save *,
:root:root:not(#zf-readability) #zfFlowBar #zfFlowNext *,
:root:root:not(#zf-readability) #zfFlowBar [aria-current=step] *,
:root:root:not(#zf-readability) .zf-sheet-choices button *,
:root:root:not(#zf-readability) #zfLyricsNext *,
:root:root:not(#zf-readability) #zfPickerNext *,
html:root:root:not(#zf-readability) body #albumFormatVideo[aria-pressed=true] *{color:var(--zf-on-solid)!important;-webkit-text-fill-color:var(--zf-on-solid)!important;text-shadow:none!important;background-color:transparent!important;background-image:none!important}
:root:root:not(#zf-readability) .zf-voice-card[aria-checked=true] .zf-voice-dot{background-color:var(--zf-gold-400)!important}


/* the optional step stays readable: a dashed outline says "optional" instead of fading it out */
#zfFlowBar [data-skip=true]{opacity:1;border-style:dashed;color:var(--zf-ink-muted)}
/* text sizes: the step bar 14px, nothing under 13px (the small brand line under the stage 12px) */
#zfFlowBar button,#zfFlowBar #zfFlowPrev,#zfFlowBar #zfFlowNext{font-size:14px}
/* phones: two rows (the four steps, then previous / next) so 14px labels fit on one line */
@media(max-width:520px){
  #zfFlowBar{flex-wrap:wrap;gap:6px;padding:6px 8px calc(6px + env(safe-area-inset-bottom))}
  #zfFlowBar ol{order:-1;flex:1 1 100%;gap:4px}
  #zfFlowBar button{font-size:14px;padding:4px 2px;min-height:44px;line-height:1.15;word-break:keep-all}
  #zfFlowBar #zfFlowPrev,#zfFlowBar #zfFlowNext{flex:1 1 0;padding:4px 8px;min-height:42px}
  html[data-zf-flow=on] body,dialog[open]:has(> #zfFlowBar){padding-bottom:calc(118px + env(safe-area-inset-bottom))}
}
html:root:root:not(#zf-readability) body #easyWorkflow #orbitMotionToggle,
html:root:root:not(#zf-readability) body #easyWorkflow .color-orbit-toolbar .zf-share-open,
html:root:root:not(#zf-readability) body #easyWorkflow .color-orbit-home .orb-label,
html:root:root:not(#zf-readability) body #easyWorkflow .color-orbit-home .dimension-inclusion-status,
html:root:root:not(#zf-readability) body #easyWorkflow .color-orbit-home .drone-count,
html:root:root:not(#zf-readability) body #easyWorkflow .color-orbit-home .orb-color-key small,
html:root:root:not(#zf-readability) body #easyWorkflow .easy-dimensions button span,
html:root:root:not(#zf-readability) body #zfThemeToggle,html:root:root body #easyModeToggle,
html:root:root:not(#zf-readability) body .zf-eyebrow,html:root:root body .shop-kicker,html:root:root body .video-kicker,
html:root:root:not(#zf-readability) body .vault-header p,html:root:root body #buffetInventory,html:root:root body .vault-track-meta,html:root:root body .vault-usage-tags,
html:root:root:not(#zf-readability) body .vault-axis-line,html:root:root body #albumOutputSummary,html:root:root body #videoDurationPolicy{font-size:13px!important}
html:root:root:not(#zf-readability) body #easyWorkflow .color-orbit-toolbar>span{font-size:12px!important;letter-spacing:.5px!important;color:#e6eefc!important}
html:root:root:not(#zf-readability) body #easyWorkflow .color-orbit-home .orb-label,html:root:root body #easyWorkflow .color-orbit-home .dimension-inclusion-status,html:root:root body #easyWorkflow .color-orbit-home .drone-count{color:#fff!important}
