/* Use the agreed Pretendard family and saved size choices; improve spacing and contrast. */
html:not([lang=en]) [data-locale=en],html[lang=en] [data-locale=ko]{display:none!important}
.easy-card p[data-locale=en]{font-size:inherit;color:var(--text);margin-top:0}
.home-dashboard .workspace-grid,.home-dashboard .lower-grid{grid-row:auto}
.home-dashboard>.market-grid{margin-top:0}
.home-dashboard .market-card dt{white-space:nowrap}
:root:not([data-theme=dark]){--muted:#667085}
body.home-layout{font-size:var(--reading-size,18px);line-height:1.6}
.page-shell :is(.eyebrow,.section-kicker),.modal .section-kicker{color:var(--secondary)}
input::placeholder,textarea::placeholder{color:var(--secondary);opacity:1}
:is(.home-start-head p,.home-start-path span,.feature-header p,.search-market-note,.summary-scope,.global-market-basis,.analysis-price-comparison small){line-height:1.65}
.home-start-head p{max-width:75ch}
:is(.stock-option,.search-result){gap:12px;align-items:center;min-height:48px;line-height:1.6}
.stock-option{flex-wrap:wrap}
.stock-option :is(strong,span){min-width:0;overflow-wrap:anywhere}
.topbar-account-actions{min-width:0;max-width:100%;row-gap:8px}
.home-layout .topbar{flex-wrap:wrap}
.home-layout .topbar .global-search{flex-basis:320px}
html[data-reading-size] .topbar .global-search select{width:clamp(176px,calc(var(--reading-size,18px)*10),320px);max-width:100%;flex:0 0 auto;min-width:176px}
.topbar .global-search kbd{white-space:nowrap;flex:none;pointer-events:none}
html[data-reading-size] .home-start-field select{width:clamp(176px,calc(var(--reading-size,18px)*10),320px);max-width:none;flex:0 0 auto;min-width:176px}
html[data-app-layout=mobile] .home-start-field{flex-wrap:wrap;padding-block:8px}
html[data-app-layout=mobile] .home-start-field select{flex:1 1 100%;width:100%;max-width:100%}
html[data-app-layout=mobile] .home-start-divider{display:none}
html[data-app-layout=mobile] .home-start-field input{flex:1 1 180px}
html[data-reading-size="22"] .topbar,html[data-reading-size="26"] .topbar,html[data-reading-size="32"] .topbar{flex-wrap:wrap}
html:is([data-reading-size="22"],[data-reading-size="26"],[data-reading-size="32"]) .topbar .global-search{flex-basis:100%;max-width:none;order:5}
.topbar-account-actions :is(.layout-mode-toggle,.home-display-shortcut){width:44px;height:44px;min-width:44px;min-height:44px;border-radius:12px}
.topbar-account-actions :is([data-layout-mode-label],.home-display-shortcut-label){font-size:11px;font-weight:600;line-height:1.15}
.topbar-account-actions :is(.layout-mode-toggle,.home-display-shortcut):focus-visible{outline:3px solid var(--blue);outline-offset:2px}
html[data-app-layout=mobile] .topbar{height:auto;min-height:64px;flex-wrap:wrap;gap:8px;padding:10px 12px}
html[data-app-layout=mobile] .topbar>.mobile-menu{width:44px;height:44px;flex:none}
html[data-app-layout=mobile] .topbar>h1{display:block;flex:1;min-width:0;margin:0;font-size:20px;line-height:1.5;white-space:normal}
html[data-app-layout=mobile] .topbar-account-actions{flex:1 1 100%;width:100%;margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:4px}
html[data-app-layout=mobile] .topbar-account-actions .home-display-shortcut{display:flex!important;width:44px;height:44px;min-width:44px;min-height:44px}
html[data-theme=dark] .topbar-account-actions :is(.layout-mode-toggle,.home-display-shortcut){border-radius:12px}
html[data-app-layout=mobile] .topbar-account-actions :is(.theme-toggle,.notification-bell){width:44px;height:44px;min-width:44px;min-height:44px;padding:0}
html[data-app-layout=mobile] .theme-toggle :is(.theme-toggle-label,.theme-toggle-track){display:none}
html[data-app-layout=mobile] .topbar-lang{height:44px;flex:none}
html[data-app-layout=mobile] .topbar-lang button{min-width:32px;padding:0 4px;font-size:12px}
html[data-app-layout=mobile] .topbar-account a{min-height:44px;padding:0 6px;font-size:13px}
html[data-app-layout=mobile] .topbar .global-search{top:calc(100% + 8px)}
html[data-app-layout=mobile] .global-market-card{padding:18px}
html:is([data-reading-size="26"],[data-reading-size="32"]) .home-start-field{flex-wrap:wrap;padding-block:8px}
html:is([data-reading-size="26"],[data-reading-size="32"]) .home-start-field select{flex:1 1 100%;width:100%;max-width:none}
html:is([data-reading-size="26"],[data-reading-size="32"]) .home-start-divider{display:none}
html:is([data-reading-size="26"],[data-reading-size="32"]) .global-market-grid{grid-template-columns:minmax(0,1fr)}
