/* SANGMI V61 UX polish layer - preview only */
html[data-sangmi-preview="v61"]{scroll-behavior:smooth}
html[data-sangmi-preview="v61"] body{background:linear-gradient(180deg,#fffaf9 0,#fff 18%,#fff 100%)}
.v61ProgressWrap{position:sticky;top:58px;z-index:24;margin:0 auto 18px;max-width:1180px;padding:8px 18px 0;pointer-events:none}
.v61Progress{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:9px 10px;border:1px solid rgba(92,64,77,.12);border-radius:18px;background:rgba(255,255,255,.9);box-shadow:0 10px 30px rgba(91,61,74,.08);backdrop-filter:blur(12px)}
.v61Step{display:flex;align-items:center;gap:8px;min-width:0;color:#9a858e;font-size:12px;font-weight:800}
.v61Step i{display:grid;place-items:center;flex:0 0 24px;height:24px;border-radius:999px;background:#f4eaee;color:#8e6a7b;font-style:normal;font-size:11px}
.v61Step span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v61Step.is-active{color:#523844}.v61Step.is-active i{background:#523844;color:#fff}.v61Step.is-done i{background:#efe1e7;color:#523844}
.v61ProgressBar{grid-column:1/-1;height:4px;border-radius:99px;background:#f1e7eb;overflow:hidden}.v61ProgressBar b{display:block;height:100%;width:33.33%;border-radius:inherit;background:linear-gradient(90deg,#684a59,#b87892);transition:width .25s ease}
html[data-sangmi-preview="v61"] .choiceGrid,html[data-sangmi-preview="v61"] .goalGrid,html[data-sangmi-preview="v61"] .profileGrid{gap:12px}
html[data-sangmi-preview="v61"] .choiceGrid button,html[data-sangmi-preview="v61"] .goalGrid button,html[data-sangmi-preview="v61"] .profileGrid button{min-height:70px;border:1px solid rgba(91,61,74,.12);border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(91,61,74,.05);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease}
html[data-sangmi-preview="v61"] .choiceGrid button:active,html[data-sangmi-preview="v61"] .goalGrid button:active,html[data-sangmi-preview="v61"] .profileGrid button:active{transform:scale(.985)}
html[data-sangmi-preview="v61"] .choiceGrid button.active,html[data-sangmi-preview="v61"] .goalGrid button.active,html[data-sangmi-preview="v61"] .profileGrid button.active{border-color:#745063;background:#fff8fb;box-shadow:0 10px 28px rgba(116,80,99,.12),inset 0 0 0 1px rgba(116,80,99,.08)}
html[data-sangmi-preview="v61"] .profileGrid button{padding:16px;text-align:left}
html[data-sangmi-preview="v61"] .sectionHead.compact p{max-width:680px}
.v61StatusCard{display:flex!important;align-items:flex-start!important;gap:10px!important;padding:13px 14px!important;border:1px solid rgba(95,67,80,.12)!important;border-radius:16px!important;background:#fff!important;line-height:1.55!important}
.v61StatusCard:before{content:'✦';display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:999px;background:#f7eaf0;color:#775268;font-weight:900}
.v61StatusCard.is-warn{background:#fffaf4!important;border-color:rgba(180,123,49,.2)!important}.v61StatusCard.is-warn:before{content:'☺';background:#fff0d8;color:#9a6b27}
.v61LoadingTips{margin-top:10px;padding:11px 13px;border-radius:14px;background:#fff7fa;color:#745868;font-size:13px;font-weight:700;line-height:1.5}
.v61LoadingTips b{display:block;margin-bottom:3px;color:#4f3743;font-size:12px}
html[data-sangmi-preview="v61"] .results .sectionHead h2,html[data-sangmi-preview="v61"] .results h2{letter-spacing:-.03em}
html[data-sangmi-preview="v61"] .productCard{border-radius:20px!important;box-shadow:0 10px 30px rgba(70,44,56,.07)!important;overflow:hidden}
html[data-sangmi-preview="v61"] .productBody h3{line-height:1.45}
html[data-sangmi-preview="v61"] .productWhy{margin-top:10px;border-top:1px solid #f0e7eb;padding-top:8px}
html[data-sangmi-preview="v61"] .productWhy summary{font-weight:900;color:#614454;cursor:pointer;list-style:none}.productWhy summary::-webkit-details-marker{display:none}
html[data-sangmi-preview="v61"] .productWhy p{margin:9px 0 0;line-height:1.62;color:#66545d;font-size:13px}
.v61ReasonLead{display:block;margin-bottom:4px;color:#4e3441;font-weight:900}
.v61ProductNotice{display:flex;gap:8px;align-items:flex-start;margin:12px 0 0;padding:11px 12px;border-radius:14px;background:#fbf5f7;color:#7a6570;font-size:12px;line-height:1.5}
.v61ProductNotice:before{content:'✓';font-weight:900;color:#775268}
html[data-sangmi-preview="v61"] footer{line-height:1.65}
html[data-sangmi-preview="v61"] .heroCopy h1{max-width:680px;letter-spacing:-.05em}
html[data-sangmi-preview="v61"] .heroCopy p{max-width:670px;font-size:16px;line-height:1.75}
@media(max-width:760px){.v61ProgressWrap{top:52px;padding:6px 12px 0}.v61Progress{gap:5px;padding:8px}.v61Step{gap:5px;font-size:11px}.v61Step i{flex-basis:22px;height:22px}.v61Step span{max-width:86px}.v61ProgressBar{height:3px}html[data-sangmi-preview="v61"] .choiceGrid button,html[data-sangmi-preview="v61"] .goalGrid button,html[data-sangmi-preview="v61"] .profileGrid button{min-height:64px;border-radius:16px}html[data-sangmi-preview="v61"] .heroCopy p{font-size:15px}}
@media(max-width:390px){.v61Step span{max-width:68px}.v61ProgressWrap{padding-left:8px;padding-right:8px}}

/* Production mobile line-count polish: only the two setup headings. */
@media(max-width:760px){
  html[data-sangmi-preview="v61"] h2[data-i18n="goalTitle"],
  html[data-sangmi-preview="v61"] h2[data-i18n="profileTitle"]{
    font-size:clamp(20px,5.55vw,23px)!important;
    line-height:1.28!important;
    letter-spacing:-.055em!important;
    word-break:keep-all;
  }
}
