/* V4 refine: preserve every V4.4 area; improve discoverability/readability only. */
.journey-nav{justify-content:center!important;gap:0!important;padding-left:18px!important;padding-right:18px!important;background:var(--surface)!important}
.journey-nav button{min-width:132px!important;padding:0 20px!important;text-align:center!important;border-left:1px solid transparent!important;border-right:1px solid transparent!important}
.journey-nav button.active{background:var(--surface2)!important;border-left-color:var(--line)!important;border-right-color:var(--line)!important}

.v4-refine-decision-lens{margin:14px 0 18px;border:1px solid var(--line);background:var(--surface);padding:16px 18px}
.v4-refine-decision-lens>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.v4-refine-decision-lens>header span{display:block;font-size:12px;color:var(--muted);font-weight:700;margin-bottom:4px}
.v4-refine-decision-lens>header h3{margin:0;font-size:17px;line-height:1.35}
.v4-refine-decision-lens>header strong{font-size:12px;color:var(--accent);font-weight:700;white-space:nowrap}
.v4-refine-lens-line{display:grid;grid-template-columns:92px minmax(0,1fr);gap:14px;align-items:center;padding-top:14px}
.v4-refine-lens-line>b{font-size:13px;color:var(--muted)}
.v4-refine-chip-group{display:flex;flex-wrap:wrap;gap:8px}
.v4-refine-chip-group button{min-height:36px;padding:7px 13px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-weight:700}
.v4-refine-chip-group button:hover{background:var(--surface2)}
.v4-refine-chip-group button.active{border-color:var(--ink);background:var(--ink);color:var(--surface)}
.v4-refine-lens-result{display:grid;grid-template-columns:160px minmax(0,1fr);gap:18px;margin-top:14px;padding:12px 14px;background:var(--surface2);border-left:3px solid var(--accent)}
.v4-refine-lens-result span small{display:block;color:var(--muted);font-size:11px;margin-bottom:3px}.v4-refine-lens-result span b{font-size:15px}.v4-refine-lens-result p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}
.v4-refine-dca-note{margin-top:10px;padding:10px 14px;border:1px solid var(--line);font-size:12px;line-height:1.55}.v4-refine-dca-note b{display:block;margin-bottom:4px}.v4-refine-dca-note span{color:var(--muted)}

/* Keep all V4 strategy metrics visible while removing the wide-table feel. */
#pageRoot[data-page-route="strategy"] .strategy-row>span,#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row>span{display:block!important;min-width:0!important}
#pageRoot[data-page-route="strategy"] .strategy-row.columns,#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row.columns{display:none!important}
#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns){grid-template-columns:minmax(210px,1.55fr) repeat(3,minmax(86px,.7fr))!important;grid-template-rows:auto auto!important;gap:9px 14px!important;padding:13px 14px!important;align-items:center!important}
#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns)>span:first-child{grid-column:1;grid-row:1 / span 2}
#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns)>span:nth-child(2){grid-column:2;grid-row:1}
#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns)>span:nth-child(3){grid-column:3;grid-row:1}
#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns)>span:nth-child(4){grid-column:4;grid-row:1}
#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns)>span:nth-child(5){grid-column:2;grid-row:2}
#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns)>span:nth-child(6){grid-column:3;grid-row:2}
#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns)>span:nth-child(7){grid-column:4;grid-row:2}
#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns)>span:nth-child(n+2)::before{display:block;font-size:10px;line-height:1.2;color:var(--muted);font-weight:600;margin-bottom:2px}
#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns)>span:nth-child(2)::before{content:'수익률'}
#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns)>span:nth-child(3)::before{content:'최대 하락'}
#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns)>span:nth-child(4)::before{content:'손익비'}
#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns)>span:nth-child(5)::before{content:'거래'}
#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns)>span:nth-child(6)::before{content:'승률'}
#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns)>span:nth-child(7)::before{content:'검증'}

#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns){display:grid!important;grid-template-columns:minmax(150px,1.3fr) repeat(4,minmax(82px,.7fr))!important;grid-template-rows:auto auto!important;gap:8px 12px!important;padding:12px 14px!important;align-items:center!important}
#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:first-child{grid-column:1;grid-row:1 / span 2}
#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(2){grid-column:2;grid-row:1}
#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(3){grid-column:3;grid-row:1}
#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(4){grid-column:4;grid-row:1}
#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(5){grid-column:5;grid-row:1}
#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(6){grid-column:2;grid-row:2}
#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(7){grid-column:3;grid-row:2}
#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(8){grid-column:4 / span 2;grid-row:2}
#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(n+2)::before{display:block;font-size:10px;line-height:1.2;color:var(--muted);font-weight:600;margin-bottom:2px}
#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(2)::before{content:'수익률'}
#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(3)::before{content:'실현손익'}
#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(4)::before{content:'미실현'}
#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(5)::before{content:'하락폭'}
#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(6)::before{content:'완료 거래'}
#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(7)::before{content:'승률'}
#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(8)::before{content:'상태'}

html[data-theme="dark"] .v4-refine-decision-lens{background:#15181c;border-color:#333840}html[data-theme="dark"] .v4-refine-lens-result{background:#1c2025}html[data-theme="dark"] .v4-refine-chip-group button{background:#15181c;border-color:#3a4048;color:#f3f4f6}html[data-theme="dark"] .v4-refine-chip-group button.active{background:#f3f4f6;color:#111317;border-color:#f3f4f6}html[data-theme="dark"] .journey-nav{background:#111317!important}html[data-theme="dark"] .journey-nav button.active{background:#1c2025!important}

@media(max-width:760px){.journey-nav{justify-content:stretch!important}.journey-nav button{min-width:0!important;padding:0 8px!important}.v4-refine-lens-line,.v4-refine-lens-result{grid-template-columns:1fr}.v4-refine-chip-group.frames{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.v4-refine-chip-group.frames button{width:100%}#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns){grid-template-columns:minmax(125px,1.25fr) repeat(2,minmax(78px,.75fr))!important;grid-template-rows:auto auto auto!important}#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns)>span:first-child{grid-row:1 / span 3}#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns)>span:nth-child(2){grid-column:2;grid-row:1}#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns)>span:nth-child(3){grid-column:3;grid-row:1}#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns)>span:nth-child(4){grid-column:2;grid-row:2}#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns)>span:nth-child(5){grid-column:3;grid-row:2}#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns)>span:nth-child(6){grid-column:2;grid-row:3}#pageRoot[data-page-route="strategy"] .strategy-row:not(.columns)>span:nth-child(7){grid-column:3;grid-row:3}#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns){grid-template-columns:minmax(110px,1.2fr) repeat(2,minmax(76px,.8fr))!important;grid-template-rows:repeat(4,auto)!important}#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:first-child{grid-row:1 / span 4}#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(2){grid-column:2;grid-row:1}#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(3){grid-column:3;grid-row:1}#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(4){grid-column:2;grid-row:2}#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(5){grid-column:3;grid-row:2}#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(6){grid-column:2;grid-row:3}#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(7){grid-column:3;grid-row:3}#pageRoot[data-page-route="strategy"] .strategy-breakdown-table .strategy-coin-row:not(.columns)>span:nth-child(8){grid-column:2 / span 2;grid-row:4}}
