/* UX17: keep creation visible; controls stay in the page flow. */
html[data-ux-v17]{--ux17-header:76px;--ux17-bg:#09251f;--ux17-line:#657d79;--ux17-text:#f5f2e9;scroll-padding-top:var(--ux17-header)}
html[data-ux-v17] #v12ResumeDock{display:none!important}
html[data-ux-v17] #v12Box [hidden]{display:none!important}
html[data-ux-v17] :is(#v12Box,#cr16,.cr16-box) img{height:auto}
html[data-ux-v17] #cr16 .cr16-purpose img{width:100%;height:auto!important;aspect-ratio:3/2;object-fit:cover}
html[data-ux-v17].ux17-home :is(body,main){background:var(--ux17-bg)!important;color:var(--ux17-text)}
html[data-ux-v17].ux17-home .hero{min-height:0!important;padding:40px 0 24px!important}
html[data-ux-v17].ux17-home .hero-inner{min-height:0!important;align-items:center;padding-top:var(--ux17-header)!important}
html[data-ux-v17].ux17-home .hero-visual{max-height:400px;min-height:0!important}
html[data-ux-v17].ux17-home .hero-visual .hero-character{max-height:400px;width:auto;height:auto}
html[data-ux-v17].ux17-home .hero-actions{display:flex;gap:8px;flex-wrap:wrap}
html[data-ux-v17].ux17-home .hero-actions a{min-height:44px;padding:10px 15px;font-size:15px;word-break:keep-all}
html[data-ux-v17].ux17-home .hero-actions a:not(.button-primary){background:transparent;color:#efcf84;border:1px solid #70806b}
html[data-ux-v17].ux17-home #ux17Create{display:block!important;box-sizing:border-box;width:min(1200px,100%);margin:0 auto!important;padding:20px 16px!important;background:#09251f!important;border:0!important;box-shadow:none!important;color:#f5f2e9!important}
html[data-ux-v17].ux17-home #ux17Create .r7422-section-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 14px}
html[data-ux-v17].ux17-home #ux17Create h2{margin:0;color:#f5f2e9;font-size:24px;line-height:1.4}
html[data-ux-v17].ux17-home #ux17Create .r7422-service-grid{display:grid!important;grid-template-columns:none!important;grid-template-rows:auto!important;grid-auto-flow:column!important;grid-auto-columns:calc((100% - 36px)/4)!important;gap:12px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity;scrollbar-width:thin;padding:0 0 10px!important;width:100%!important;max-width:100%;min-width:0!important;height:auto!important}
html[data-ux-v17].ux17-home #ux17Create .r7422-service-card{position:relative!important;display:flex!important;flex-direction:column;gap:0;min-width:0!important;min-height:0!important;height:auto!important;width:auto!important;padding:0!important;overflow:hidden;border:1px solid #6f8172;border-radius:14px;background:#123e32;color:#fff;text-decoration:none;scroll-snap-align:start;transform:none!important}
html[data-ux-v17].ux17-home #ux17Create .r7422-service-card>img{display:block;width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:cover}
html[data-ux-v17].ux17-home #ux17Create .r7422-card-title{position:static!important;display:block!important;padding:12px!important;font-size:17px!important;line-height:1.45!important;color:#fff!important;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
html[data-ux-v17] .ux17-rail-controls{display:flex;gap:6px}
html[data-ux-v17] .ux17-rail-controls button{height:44px;min-width:44px;border:1px solid #819585;border-radius:10px;background:#164434;color:#fff;font-size:20px}
html[data-ux-v17].ux17-home :is(.section-ivory,.journey,.closing){background:#0c3027!important;color:#f5f2e9!important}
html[data-ux-v17].ux17-home :is(.section-ivory,.journey,.closing) :is(h2,h3,p,summary){color:inherit}
html[data-ux-v17] #v12Box{min-width:0;max-width:100%;box-sizing:border-box}
html[data-ux-v17] #v12Maker{display:block;overflow:visible;position:relative;scroll-margin-top:var(--ux17-header)}
html[data-ux-v17] #v12Maker>.ux17-maker-controls{position:sticky!important;top:var(--ux17-header)!important;z-index:45;display:flex;flex-wrap:wrap;gap:8px;padding:10px;margin:0;background:#152b42;border:1px solid #8494a8;border-radius:12px}
html[data-ux-v17] #v12Maker>.ux17-maker-controls h2{flex:1 1 100%;margin:0;font-size:16px;line-height:1.4;color:#f5f2e9}
html[data-ux-v17] #v12Maker [data-w12-fold]{background:#efd087!important;color:#132c28!important;font-weight:800}
html[data-ux-v17] #v12Maker iframe{display:block;box-sizing:border-box;width:100%!important;height:68vh!important;height:68dvh!important;min-height:300px!important;max-height:780px;border:1px solid #637585;border-radius:10px;margin-top:8px;background:#0b2522}
html[data-ux-v17] #v12Box .w12-toolbar button{min-height:44px;height:auto;line-height:1.4;word-break:keep-all;white-space:normal}
html[data-ux-v17] #v12Box .w12-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;gap:12px!important;overflow:visible!important;min-width:0!important;max-width:100%;width:100%}
html[data-ux-v17] #v12Box .w12-grid>article{min-width:0!important;width:auto!important;display:flex;flex-direction:column;gap:6px;overflow:hidden}
html[data-ux-v17] #v12Box .w12-grid img{width:100%!important;height:auto!important;aspect-ratio:1;object-fit:contain}
html[data-ux-v17] #v12Box .w12-empty{grid-column:1/-1}
html[data-ux-v17].ux17-embedded :is(html,body,main){margin:0!important;padding-top:0!important;background:#09251f!important;min-width:0!important}
html[data-ux-v17].ux17-embedded{--ux17-header:8px!important}
@media(max-width:760px){
 html[data-ux-v17] :is(body,main){background:#09251f!important}
 html[data-ux-v17].ux17-home .hero{padding:22px 0 12px!important}
 html[data-ux-v17].ux17-home .hero-inner{display:block!important;width:auto!important;margin:0 16px!important;padding:var(--ux17-header) 0 0!important}
 html[data-ux-v17].ux17-home .hero h1{font-size:clamp(26px,7.8vw,38px)!important;line-height:1.28!important;letter-spacing:-.03em;margin:10px 0!important}
 html[data-ux-v17].ux17-home .hero-phone-copy{display:block!important;word-break:keep-all}
 html[data-ux-v17].ux17-home .hero-lead{font-size:15px!important;line-height:1.6!important;margin:10px 0 16px!important;color:#d9e1d8!important}
 html[data-ux-v17].ux17-home #ux17Create{padding:16px 12px!important}
 html[data-ux-v17].ux17-home #ux17Create h2{font-size:20px!important}
 html[data-ux-v17].ux17-home #ux17Create .r7422-service-grid{grid-auto-columns:calc((100% - 10px)/2)!important;gap:10px!important}
 html[data-ux-v17].ux17-home #ux17Create .r7422-card-title{font-size:14px!important;padding:10px 8px!important}
 html[data-ux-v17].ux17-home :is(.journey,.faq,.closing){padding:28px 0!important}
 html[data-ux-v17] #v12Box{padding:12px!important;margin:0!important;width:100%!important;border-radius:0!important}
 html[data-ux-v17] #v12Box .w12-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 html[data-ux-v17] #v12Box .w12-grid :is(strong,small,button){font-size:14px!important;line-height:1.4!important;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
 html[data-ux-v17] #v12Maker{padding:0!important;margin:14px 0!important}
}
@media(prefers-reduced-motion:reduce){html[data-ux-v17] *{scroll-behavior:auto!important}}

/* V17 FIX1: dark surfaces need explicit control, icon and secondary text colors. */
html[data-ux-v17].ux17-home .faq{--ink:#f5f2e9;--muted-dark:#d6e2dc;--line-light:#627e70;background:#0c3027!important;color:#f5f2e9!important;padding:40px 0!important}
html[data-ux-v17].ux17-home .faq .faq-layout{gap:clamp(24px,4vw,56px)!important;align-items:start}
html[data-ux-v17].ux17-home .faq .faq-heading{position:static!important}
html[data-ux-v17].ux17-home .faq .faq-heading h2{font-family:system-ui,-apple-system,"Noto Sans KR",sans-serif!important;font-size:clamp(24px,2.3vw,32px)!important;line-height:1.45!important;word-break:keep-all;color:#f5f2e9!important}
html[data-ux-v17].ux17-home .faq .faq-heading>p{color:#d6e2dc!important}
html[data-ux-v17].ux17-home .faq .accordion,html[data-ux-v17].ux17-home .faq .accordion-item{border-color:#627e70!important}
html[data-ux-v17].ux17-home .faq .accordion-item>button{display:flex!important;align-items:center;justify-content:space-between;gap:12px;min-height:64px!important;height:auto!important;padding:14px 8px!important;background:transparent!important;color:#f5f2e9!important;font:650 17px/1.6 system-ui,-apple-system,"Noto Sans KR",sans-serif!important;white-space:normal!important;text-align:left;word-break:keep-all}
html[data-ux-v17].ux17-home .faq .accordion-item>button span{color:inherit!important;min-width:0;overflow-wrap:anywhere}
html[data-ux-v17].ux17-home .faq .accordion-item>button:hover{background:#164537!important}
html[data-ux-v17].ux17-home .faq .accordion-item>button:focus-visible{outline:3px solid #efd087!important;outline-offset:3px;border-radius:8px}
html[data-ux-v17].ux17-home .faq .accordion-item i{color:#efd087!important;border-color:#efd087!important;flex:0 0 26px}
html[data-ux-v17].ux17-home .faq .accordion-item i::before,html[data-ux-v17].ux17-home .faq .accordion-item i::after{background:#efd087!important}
html[data-ux-v17].ux17-home .faq .accordion-panel>p{color:#d6e2dc!important;font:400 15px/1.8 system-ui,-apple-system,"Noto Sans KR",sans-serif!important}
html[data-ux-v17].ux17-home .faq .accordion-item.is-open .accordion-panel>p{padding:0 8px 20px!important}
html[data-ux-v17].ux17-home .section-ivory .section-kicker.dark{color:#efd087!important}
html[data-ux-v17] .w12-fold-bar{display:none!important}
html[data-ux-v17] .w12-save-note{margin:8px 0 0!important;padding:0!important;background:transparent!important;border:0!important;color:#dce8df!important;font:400 14px/1.5 system-ui!important;max-width:100%;word-break:keep-all}
html[data-ux-v17] .w12-save-note[hidden]{display:none!important}
html[data-ux-v17] .w12-save-note [data-w12-reload]{display:inline-block;margin-left:8px;min-height:44px;padding:8px 12px;border:1px solid #efd087;border-radius:8px;background:#173f32;color:#fff4d4}
@media(max-width:760px){
 html[data-ux-v17].ux17-home .faq{padding:24px 0!important}
 html[data-ux-v17].ux17-home .faq .faq-layout{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
 html[data-ux-v17].ux17-home .faq .accordion-item>button{font-size:16px!important;min-height:58px!important;padding:12px 4px!important}
}

/* Connection feedback remains readable. */
html[data-ux-v17] #ux17CompanionStatus{box-sizing:border-box;padding:10px 14px!important;margin:0!important;background:#123e32!important;color:#fff4d4!important;font:400 14px/1.6 system-ui}

/* Explicit foreground/background pairs for every home information surface. */
html[data-ux-v17].ux17-home main :is(.section-ivory,.section-dark,.store-section){background:#0c3027!important;color:#f5f2e9!important}
html[data-ux-v17].ux17-home main :is(.section-heading,.real-art-copy,.creative-support-copy,.savori-copy,.store-copy) :is(h2,h3,p,li){color:#f5f2e9!important}
html[data-ux-v17].ux17-home main :is(h2 em,.section-kicker,.text-link,.check-list span){color:#efd087!important}
html[data-ux-v17].ux17-home main .text-link{display:inline-block;padding:10px 0;text-decoration:underline;text-underline-offset:4px}
html[data-ux-v17].ux17-home main :is(.business-flow article,.connection-cards article,.creative-support-cards article,.brand-map-card,.creative-principle-line,.business-trust,.savori-tab-panel){background:#123e32!important;color:#f5f2e9!important;border:1px solid #658577!important}
html[data-ux-v17].ux17-home main :is(.business-flow,.connection-cards,.creative-support-cards,.brand-map-card,.creative-principle-line,.business-trust,.savori-tab-panel) :is(h3,p,span,strong,blockquote){color:#f5f2e9!important}
html[data-ux-v17].ux17-home main :is(.business-flow a,.business-flow article>span,.creative-support-cards article>span,.connection-cards article>span,.creative-principle-line b,.business-trust strong){color:#efd087!important;border-color:#658577!important}
html[data-ux-v17].ux17-home main :is(.business-flow,.connection-cards,.creative-support-cards) p{font:400 15px/1.75 system-ui!important}
html[data-ux-v17].ux17-home main :is(.business-flow a,.business-trust span,.creative-principle-line span){font-size:14px!important;line-height:1.65!important}
html[data-ux-v17].ux17-home main :is(.collage-number,figcaption){background:#09251f!important;color:#f5f2e9!important}
html[data-ux-v17].ux17-home main :is(.collage-number,figcaption) :is(strong,span){color:#f5f2e9!important}
html[data-ux-v17].ux17-home main :is(.button-dark,.savori-tabs button){background:#123e32!important;color:#f5f2e9!important;border:1px solid #658577!important}
html[data-ux-v17].ux17-home main .savori-tabs button[aria-selected=true]{background:#efd087!important;color:#132c28!important}
html[data-ux-v17].ux17-home main .store-background{opacity:.15!important}
html[data-ux-v17].ux17-home main :is(h2,h3){word-break:keep-all;overflow-wrap:anywhere}
html[data-ux-v17].ux17-home main h2{font-size:clamp(25px,3vw,38px)!important;line-height:1.5!important}
@media(max-width:760px){
}

html[data-ux-v17].ux17-embedded :is(#appHeader,#siteHeader,.site-header,.app-header,.site-footer,footer,.w12-fold-bar,#savoripImoReturn,.savori-voice-launch,.mobile-tabs,.s10-intro,.page-guide-banner,.savorip-point-charge-floating,#floatingPointRecharge){display:none!important}

/* FIX3: restore the visible character, without changing its existing dialog. */
html[data-ux-v17]:not(.ux17-embedded) .savori-voice-launch{display:block!important;visibility:visible!important;opacity:1!important;overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important;width:64px!important;height:84px!important;z-index:470!important}
html[data-ux-v17]:not(.ux17-embedded) .savori-voice-launch :is(video,img){display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;height:66px!important;object-fit:contain!important;transform:none!important}
html[data-ux-v17] .savori-voice-launch::after{content:none!important}
html[data-ux-v17] .ux17-talk-label{display:block!important;position:absolute;left:50%;bottom:0;transform:translateX(-50%);padding:3px 8px;border:1px solid #efd087;border-radius:999px;background:#102d27;color:#ffdf8d;font:700 12px/1.4 system-ui;white-space:nowrap}
html[data-ux-v17] .savori-voice-launch:focus-visible{outline:3px solid #efd087;outline-offset:5px;border-radius:12px}
html[data-ux-v17].ux17-home .hero-actions .button-primary{background:#efd087!important;color:#102d27!important;border:1px solid #efd087}
@media(max-width:760px){
 html[data-ux-v17].ux17-home .hero-visual{display:block!important;visibility:visible!important;opacity:1!important;position:relative!important;min-height:220px!important;height:auto!important;max-height:none!important;margin:16px 0 0!important;overflow:visible!important}
 html[data-ux-v17].ux17-home .hero-character{display:block!important;position:relative!important;inset:auto!important;width:auto!important;height:220px!important;max-width:100%!important;margin:0 auto!important;object-fit:contain!important;transform:none!important;opacity:1!important}
 html[data-ux-v17].ux17-home .savori-card{position:relative!important;inset:auto!important;width:100%!important;max-width:100%!important;box-sizing:border-box;margin-top:8px!important;transform:none!important}
}
