@import url("https://spoqa.github.io/spoqa-han-sans/css/SpoqaHanSansNeo.css");
html:not([data-theme="dark"]){color-scheme:light;--bg:#f8f5f2;--panel:#ffffff;--line:#e6ddd6;--text:#000;--muted:#000;--up:#c32e45;--down:#2362b4;--accent:#a63205;--link:#000;--surface-2:#fcf8f4;--hover:#f9ede4;--focus:#b84012;--ui-bg-0c131e:#ffffff;--ui-bg-0d141e:#ffffff;--ui-bg-0e1621:#ffffff;--ui-bg-0e1622:#ffffff;--ui-bg-0e1724:#ffffff;--ui-bg-101722:#ffffff;--ui-bg-101824:#ffffff;--ui-bg-101925:#ffffff;--ui-bg-111:#ffffff;--ui-bg-11161c:#ffffff;--ui-bg-111a26:#ffffff;--ui-bg-111a28:#ffffff;--ui-bg-111b29:#ffffff;--ui-bg-12161c:#ffffff;--ui-bg-12171d:#ffffff;--ui-bg-121d2b:#ffffff;--ui-bg-131e2d:#ffffff;--ui-bg-151920:#ffffff;--ui-bg-151a20:#ffffff;--ui-bg-151a21:#ffffff;--ui-bg-162130:#ffffff;--ui-bg-162231:#ffffff;--ui-bg-171b21:#ffffff;--ui-bg-171c23:#ffffff;--ui-bg-172435:#ffffff;--ui-bg-181c23:#ffffff;--ui-bg-181e27:#ffffff;--ui-bg-182333:#ffffff;--ui-bg-182334:#ffffff;--ui-bg-182433:#ffffff;--ui-bg-191f28:#ffffff;--ui-bg-1a2029:#ffffff;--ui-bg-1a2533:#f0f5fb;--ui-bg-1b2027:#ffffff;--ui-bg-1b2028:#ffffff;--ui-bg-1b2c43:#f0f5fb;--ui-bg-1c232d:#ffffff;--ui-bg-1c2a3c:#f0f5fb;--ui-bg-1c2b3e:#f0f5fb;--ui-bg-1d302b:#f0f5fb;--ui-bg-20262e:#f0f5fb;--ui-bg-202630:#f0f5fb;--ui-bg-202c3e:#f0f5fb;--ui-bg-222a35:#f0f5fb;--ui-bg-222a36:#f0f5fb;--ui-bg-222b36:#f0f5fb;--ui-bg-222f42:#f0f5fb;--ui-bg-22332f:#f0f5fb;--ui-bg-242b34:#f0f5fb;--ui-bg-242b35:#f0f5fb;--ui-bg-243248:#f0f5fb;--ui-bg-252d37:#f0f5fb;--ui-bg-252d38:#f0f5fb;--ui-bg-252d39:#f0f5fb;--ui-bg-252e39:#f0f5fb;--ui-bg-252e3c:#f0f5fb;--ui-bg-252f3d:#f0f5fb;--ui-bg-25313f:#f0f5fb;--ui-bg-253247:#f0f5fb;--ui-bg-253344:#f0f5fb;--ui-bg-253346:#f0f5fb;--ui-bg-25354c:#e4edf9;--ui-bg-253a56:#e4edf9;--ui-bg-262d38:#f0f5fb;--ui-bg-263245:#f0f5fb;--ui-bg-263445:#f0f5fb;--ui-bg-26344a:#f0f5fb;--ui-bg-26364b:#e4edf9;--ui-bg-263b50:#e4edf9;--ui-bg-263c5a:#e4edf9;--ui-bg-27364d:#e4edf9;--ui-bg-29364b:#e4edf9;--ui-bg-29374c:#e4edf9;--ui-bg-29384a:#e4edf9;--ui-bg-29415c:#e4edf9;--ui-bg-294c78:#e4edf9;--ui-bg-2a364b:#e4edf9;--ui-bg-2b3950:#e4edf9;--ui-bg-2b3b4e:#e4edf9;--ui-bg-2b3b54:#e4edf9;--ui-bg-2c333d:#f0f5fb;--ui-bg-2c3543:#f0f5fb;--ui-bg-2c394a:#e4edf9;--ui-bg-2c3d51:#e4edf9;--ui-bg-2c3d5a:#e4edf9;--ui-bg-2d405e:#e4edf9;--ui-bg-2e4b6e:#e4edf9;--ui-bg-303943:#e4edf9;--ui-bg-304256:#e4edf9;--ui-bg-30445f:#e4edf9;--ui-bg-304868:#e4edf9;--ui-bg-304963:#e4edf9;--ui-bg-314862:#e4edf9;--ui-bg-314d72:#e4edf9;--ui-bg-322a1d:#f0f5fb;--ui-bg-334154:#e4edf9;--ui-bg-343d4b:#e4edf9;--ui-bg-34465b:#e4edf9;--ui-bg-34496a:#e4edf9;--ui-bg-344b70:#e4edf9;--ui-bg-344d70:#e4edf9;--ui-bg-365f93:#e4edf9;--ui-bg-3b3025:#f0f5fb;--ui-border-101826:#d9e3ef;--ui-border-111a28:#d9e3ef;--ui-border-233042:#d9e3ef;--ui-border-233143:#d9e3ef;--ui-border-2a323e:#d9e3ef;--ui-border-2c333e:#d9e3ef;--ui-border-303640:#d9e3ef;--ui-border-303743:#d9e3ef;--ui-border-303945:#d9e3ef;--ui-border-304967:#b8cbe0;--ui-border-343b44:#d9e3ef;--ui-border-343b45:#d9e3ef;--ui-border-343d49:#d9e3ef;--ui-border-343d4a:#d9e3ef;--ui-border-344255:#d9e3ef;--ui-border-353b45:#d9e3ef;--ui-border-353e4b:#d9e3ef;--ui-border-353f4d:#d9e3ef;--ui-border-35455a:#b8cbe0;--ui-border-35465b:#b8cbe0;--ui-border-35465c:#b8cbe0;--ui-border-364353:#d9e3ef;--ui-border-394452:#d9e3ef;--ui-border-394754:#d9e3ef;--ui-border-394b62:#b8cbe0;--ui-border-3a4a60:#b8cbe0;--ui-border-3d4a5a:#b8cbe0;--ui-border-405269:#b8cbe0;--ui-border-405574:#b8cbe0;--ui-border-405575:#b8cbe0;--ui-border-414b5a:#b8cbe0;--ui-border-425671:#b8cbe0;--ui-border-434d5e:#b8cbe0;--ui-border-43536b:#b8cbe0;--ui-border-435779:#b8cbe0;--ui-border-454d5a:#b8cbe0;--ui-border-45675f:#b8cbe0;--ui-border-46546a:#b8cbe0;--ui-border-475261:#b8cbe0;--ui-border-475e80:#b8cbe0;--ui-border-486185:#b8cbe0;--ui-border-495361:#b8cbe0;--ui-border-495363:#b8cbe0;--ui-border-495469:#b8cbe0;--ui-border-4a617b:#b8cbe0;--ui-border-4b648a:#b8cbe0;--ui-border-506b88:#b8cbe0;--ui-border-516a95:#b8cbe0;--ui-border-526175:#b8cbe0;--ui-border-52647e:#b8cbe0;--ui-border-53657b:#b8cbe0;--ui-border-578de0:#b8cbe0;--ui-border-586b86:#b8cbe0;--ui-border-5c87c6:#b8cbe0;--ui-border-5d82b1:#b8cbe0;--ui-border-657285:#b8cbe0;--ui-border-665536:#b8cbe0;--ui-border-695433:#b8cbe0;--ui-border-6a84ad:#b8cbe0;--ui-border-6b4651:#b8cbe0;--ui-border-6b87ad:#b8cbe0;--ui-border-70839d:#b8cbe0;--ui-border-718baa:#b8cbe0;--ui-border-7486a0:#b8cbe0;--ui-border-7795b9:#b8cbe0;--ui-border-7c6536:#b8cbe0;--ui-border-8296b4:#b8cbe0;--ui-border-849bb3:#b8cbe0;--ui-border-bd616a:#b8cbe0;--ui-border-cf5864:#b8cbe0;--ui-fg-789bc7:#285fa4;--ui-fg-8290a3:#526a84;--ui-fg-82adff:#285fa4;--ui-fg-8491a3:#526a84;--ui-fg-849ab0:#526a84;--ui-fg-85c9b0:#14765b;--ui-fg-8794a5:#526a84;--ui-fg-88c8af:#14765b;--ui-fg-91a0b2:#526a84;--ui-fg-91bfab:#14765b;--ui-fg-98a8bf:#285fa4;--ui-fg-99a4b3:#526a84;--ui-fg-9aafc6:#285fa4;--ui-fg-9bb6ab:#526a84;--ui-fg-9bcab6:#14765b;--ui-fg-9ca8ba:#526a84;--ui-fg-9caabd:#526a84;--ui-fg-9daabd:#526a84;--ui-fg-9dafc5:#285fa4;--ui-fg-9ecbfa:#285fa4;--ui-fg-9fc5ff:#285fa4;--ui-fg-a0acc0:#526a84;--ui-fg-a2b2c9:#285fa4;--ui-fg-a3b2c5:#285fa4;--ui-fg-a3b2c6:#285fa4;--ui-fg-a4e3f4:#285fa4;--ui-fg-a5b4c8:#285fa4;--ui-fg-a6b1c2:#526a84;--ui-fg-a7b4c7:#285fa4;--ui-fg-a99d87:#526a84;--ui-fg-a9b5c6:#526a84;--ui-fg-aab6c5:#526a84;--ui-fg-aac7f7:#285fa4;--ui-fg-aacbff:#285fa4;--ui-fg-aeb9c8:#526a84;--ui-fg-aebacc:#285fa4;--ui-fg-b1c9ec:#285fa4;--ui-fg-b2c1d4:#285fa4;--ui-fg-b5d0ff:#285fa4;--ui-fg-b5d2ff:#285fa4;--ui-fg-b6c2d3:#285fa4;--ui-fg-b6cfff:#285fa4;--ui-fg-b8cdee:#285fa4;--ui-fg-b8d0ff:#285fa4;--ui-fg-b9c4d3:#285fa4;--ui-fg-b9c8da:#285fa4;--ui-fg-b9c8db:#285fa4;--ui-fg-bbc5d0:#526a84;--ui-fg-bfcde0:#285fa4;--ui-fg-c2e1d5:#14765b;--ui-fg-c4cdd9:#526a84;--ui-fg-c4cfdd:#285fa4;--ui-fg-c7d0dd:#285fa4;--ui-fg-c7d2df:#285fa4;--ui-fg-c8dfff:#285fa4;--ui-fg-d7e0ed:#285fa4;--ui-fg-d7e7ff:#285fa4;--ui-fg-d8ad65:#8b5c0d;--ui-fg-d9e5f6:#285fa4;--ui-fg-dbe6ff:#285fa4;--ui-fg-e0e6ef:#285fa4;--ui-fg-e0e8f2:#285fa4;--ui-fg-e1b581:#8b5c0d;--ui-fg-e1bb84:#8b5c0d;--ui-fg-e1e8f2:#285fa4;--ui-fg-e2ecff:#285fa4;--ui-fg-e5edf7:#285fa4;--ui-fg-e6c18c:#8b5c0d;--ui-fg-e6c58a:#8b5c0d;--ui-fg-e6ebf4:#285fa4;--ui-fg-e6eeff:#285fa4;--ui-fg-e7bc80:#8b5c0d;--ui-fg-e8bd7f:#8b5c0d;--ui-fg-e8f0f8:#285fa4;--ui-fg-e9edf5:#285fa4;--ui-fg-ebc88d:#8b5c0d;--ui-fg-eef3f9:#285fa4;--ui-fg-f1cd83:#8b5c0d;--ui-fg-f1ce75:#8b5c0d;--ui-fg-f1f5ff:#285fa4;--ui-fg-f2d580:#8b5c0d;--ui-fg-f3c989:#8b5c0d;--ui-fg-f5f6fa:#285fa4;--ui-fg-f6f7fb:#285fa4;--ui-fg-ff8990:#b72c43;--ui-fg-ff9b9b:#b72c43;--ui-fg-fff:#243b55;}

/* Unified visual hierarchy; layout and financial calculations remain unchanged. */
html[data-theme="light"] body{color:var(--text);background:var(--bg)}
html[data-theme="light"] body,html[data-theme="dark"] body{font-family:var(--board-font);font-variant-numeric:tabular-nums;line-height:1.5}
html[data-theme="light"] body>header,html[data-theme="light"] .workspace-nav{background:#fff;border-bottom-color:#d8e4f1}
html[data-theme="light"] .workspace-nav a[aria-current=page],html[data-theme="light"] aside button.active{background:#dfebfb;color:#164f99;box-shadow:inset 3px 0 #2871c3;font-weight:700}
html[data-theme="light"] body[data-page=home] .shell aside{background:#f9fbff;border-color:#d9e3ef}
html[data-theme="light"] body[data-page=home] .logo{background:#245ea5;color:#fff}
html[data-theme="light"] .panel,html[data-theme="light"] .card,html[data-theme="light"] .group,html[data-theme="light"] .stat,html[data-theme="light"] .gm-panel,html[data-theme="light"] .mb-panel,html[data-theme="light"] .companyhead,html[data-theme="light"] .peer-matrix{background:#fff;border-color:#d9e3ef;box-shadow:0 2px 5px #17395c08;border-radius:10px}
html[data-theme="light"] .peer-coverage>div{background:#f8fbff}
html[data-theme="light"] .eyebrow,html[data-theme="light"] .gm-en,html[data-theme="light"] .navlabel{color:#3971ad}
html[data-theme="light"] h1,html[data-theme="light"] h2,html[data-theme="light"] h3{color:#18304b}
html[data-theme="light"] button.primary,html[data-theme="light"] button.active,html[data-theme="light"] button.selected,html[data-theme="light"] button[aria-pressed=true]{background:#235fac;color:#fff;border-color:#235fac}
html[data-theme="light"] .tabs button[aria-selected=true]{color:#175da9;border-bottom-color:#236cc2;background:#e7f0fc}
html[data-theme="light"] .mode-links a.active,html[data-theme="light"] .flowtabs a[aria-current],html[data-theme="light"] .subnav a.active{background:#e0edfc;border-color:#a9c7ea;color:#175da9;font-weight:650}
html[data-theme="light"] input:not([type=checkbox]),html[data-theme="light"] select,html[data-theme="light"] textarea{background:#fff;color:#18304b;border-color:#cbd9e9}
html[data-theme="light"] a:not(.tile):not(.brand):not(.analysislink){text-decoration-color:#8eafd4}
html[data-theme="light"] th{background:#eaf1fa!important;color:#455e7c;font-weight:650}
html[data-theme="light"] tbody tr:nth-child(even){background:#f7faff}
html[data-theme="light"] tbody tr:hover,html[data-theme="light"] tbody tr:hover td{background:#e7f0fc}
html[data-theme="light"] .total{background:#e2edfa;font-weight:700}
html[data-theme="light"] .up,html[data-theme="light"] .gm-up,html[data-theme="light"] .mb-up{color:#c32e45}
html[data-theme="light"] .down,html[data-theme="light"] .gm-down,html[data-theme="light"] .mb-down{color:#2362b4}
html[data-theme="light"] .jointbuy,html[data-theme="light"] .jointbuy td{background:#fff2bf!important;color:#81570b!important}
html[data-theme="light"] .jointsell,html[data-theme="light"] .jointsell td{background:#d9f2fc!important;color:#17617d!important}
html[data-theme="light"] .jointbuy a,html[data-theme="light"] .jointbuy button{color:#81570b!important}
html[data-theme="light"] .jointsell a,html[data-theme="light"] .jointsell button{color:#17617d!important}
html[data-theme="light"] .matrix-candidates a{background:#e6f5ef;color:#176c55;border-color:#9acdbb}html[data-theme="light"] .matrix-candidates span{color:#337460}
html[data-theme="light"] .mixbar span{color:#142a40}
html[data-theme="light"] .event{background:#e1edfc;color:#235b9b}html[data-theme="light"] .event.beat{background:#fff1ca;color:#805911}html[data-theme="light"] .event.miss{background:#dceffc;color:#205f9d}
html[data-theme="light"] .day.selected{background:#e6f0fc}html[data-theme="light"] .day.current{box-shadow:inset 0 0 0 2px #3175c1}
html[data-theme="light"] .good{color:#14765b}html[data-theme="light"] .quality-bad,html[data-theme="light"] .error,html[data-theme="light"] .warn{color:#94600d}
html[data-theme="light"] body[data-page=home] .hm-tile,html[data-theme="light"] body[data-page=home] .hm-tile:first-child{background:#f4f8fd;border-color:#d7e3f1;border-radius:9px}
html[data-theme="light"] body[data-page=home] .hm-price{color:#18304b}
html[data-theme="light"] body[data-page=home] .research-links a{background:#f7faff;color:#2b5e98;border-color:#d6e3f1}
html[data-theme="light"] body[data-page=home] .tile{background:color-mix(in srgb,var(--tile-market,#eef3f9) 24%,white)!important;border:1px solid #d9e3ef;color:#18304b}
html[data-theme="light"] body[data-page=home] .tile .muted{color:#526a84}
html[data-theme="light"] body[data-page=home] .tile .fav{color:#956408}
html[data-theme="light"] body[data-page=overseas] .tile.positive{background:color-mix(in srgb,#e68d99 calc(15% + var(--strength,0)*48%),#fff)!important;border-color:#e4b4bd}
html[data-theme="light"] body[data-page=overseas] .tile.negative{background:color-mix(in srgb,#8db8e9 calc(15% + var(--strength,0)*48%),#fff)!important;border-color:#adc9e9}
html[data-theme="light"] body[data-page=overseas] .tile.flat,html[data-theme="light"] body[data-page=overseas] .tile.missing{background:#f3f6fa!important;border-color:#dce4ee}
html[data-theme="light"] body[data-page=overseas] .tile .capfoot{border-color:#b9c9dc}
/* Dedicated heatmap colors carry value, not theme: preserve white text on dense saturated tiles. */
html[data-theme="light"] body[data-page=heatmap] #map .tile,html[data-theme="light"] body[data-page=heatmap] #map .tile b,html[data-theme="light"] body[data-page=heatmap] #map .tile small,html[data-theme="light"] body[data-page=analysis] .rect{color:#fff!important}
html[data-theme="light"] body[data-page=heatmap] #map .tile .logo{background:#fff;color:#18304b}
html[data-theme="light"] body[data-page=heatmap] #map .sectorhead{background:#e5eef9;color:#18304b}
.theme-switch{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:5px 9px!important;font-size:11px!important;white-space:nowrap;min-height:28px;border-radius:7px!important;flex:none;cursor:pointer;border:1px solid var(--line)!important;background:var(--panel)!important;color:var(--text)!important}
.theme-switch:hover{border-color:#4c89ce!important}.theme-switch:focus-visible{outline:2px solid #4087d0;outline-offset:2px}.theme-switch svg{width:14px;height:14px;flex:none}.theme-row{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.workspace-nav .theme-switch{margin-left:auto}
@media(max-width:650px){.theme-switch{padding:4px 7px!important;font-size:10px!important}body[data-page=home] .theme-row{max-width:100%}body[data-page=home] .theme-row #status{max-width:210px}}
html[data-theme="light"] svg text[fill="#a7b3c0"]{fill:#526a84}
html[data-theme="light"] svg text[fill="#9baabc"]{fill:#526a84}
html[data-theme="light"] svg text[fill="#9daebf"]{fill:#526a84}
html[data-theme="light"] svg text[fill="#dbe5ef"]{fill:#526a84}
html[data-theme="light"] svg text[fill="#aebdcd"]{fill:#526a84}
html[data-theme="light"] svg text[fill="#a3afbd"]{fill:#526a84}
html[data-theme="light"] svg text[fill="#aab8cb"]{fill:#526a84}
html[data-theme="light"] svg text[fill="#9aaabb"]{fill:#526a84}
html[data-theme="light"] svg text[fill="#9ba9b9"]{fill:#526a84}
html[data-theme="light"] svg text[fill="#a4b4c9"]{fill:#526a84}
html[data-theme="light"] svg text[fill="#93a4bc"]{fill:#526a84}
html[data-theme="light"] svg text[fill="#a5b3c7"]{fill:#526a84}
html[data-theme="light"] svg text[fill="#a4b3c5"]{fill:#526a84}
html[data-theme="light"] svg text[fill="#aebbd0"]{fill:#526a84}
html[data-theme="light"] svg text[fill="#b8c5d8"]{fill:#526a84}
html[data-theme="light"] svg text[fill="#e4d0a0"]{fill:#526a84}
html[data-theme="light"] svg text[fill="#93a3b8"]{fill:#526a84}
html[data-theme="light"] svg text[fill="#9caec4"]{fill:#526a84}
html[data-theme="light"] svg [stroke="#303945"]{stroke:#d4dfec}
html[data-theme="light"] svg [stroke="#35404c"]{stroke:#d4dfec}
html[data-theme="light"] svg [stroke="#303a49"]{stroke:#d4dfec}
html[data-theme="light"] svg [stroke="#2e3c4e"]{stroke:#d4dfec}
html[data-theme="light"] svg [stroke="#36404d"]{stroke:#d4dfec}
html[data-theme="light"] svg [stroke="#38465a"]{stroke:#d4dfec}
html[data-theme="light"] svg [stroke="#26364a"]{stroke:#d4dfec}
html[data-theme="light"] svg [stroke="#344054"]{stroke:#d4dfec}
html[data-theme="light"] .matrix-svg rect[fill="#151b23"]{fill:#f4f8fd}
html[data-theme="light"] svg [stroke="#a7c8ff"],html[data-theme="light"] svg [stroke="#8bbaff"]{stroke:#3676bf}
html[data-theme="light"] svg [fill="#8baacc"],html[data-theme="light"] svg [fill="#83a8c8"],html[data-theme="light"] svg [fill="#8caecc"]{fill:#5188c3}
html[data-theme="light"] body[data-page=home] .overview{background:#fff;border-top:2px solid #a8c5e5;transition:border-color .12s,box-shadow .12s}
html[data-theme="light"] body[data-page=home] .overview:hover{border-top-color:#2e73c1;box-shadow:0 4px 12px #285a8e15}
html[data-theme="light"] .gm-panel,html[data-theme="light"] .mb-panel{border-top:2px solid #df6634}
html[data-theme="light"] .hero-grid .card:nth-child(1){border-top:3px solid #3e9c81}html[data-theme="light"] .hero-grid .card:nth-child(2){border-top:3px solid #d6a646}html[data-theme="light"] .hero-grid .card:nth-child(3){border-top:3px solid #c87950}html[data-theme="light"] .hero-grid .card:nth-child(4){border-top:3px solid #91a3bb}
html[data-theme="light"] a[style*="color:#a9c8ff"],html[data-theme="light"] a[style*="color:#9fc5ff"],html[data-theme="light"] a[style*="color:#a8c6e7"]{color:#215eaa!important}

.auto-switch[aria-pressed=true]{color:#17694f!important;border-color:#6cb39a!important;background:#eaf7f1!important}.auto-switch[aria-pressed=false]{color:#85622c!important;background:#fff5df!important;border-color:#d9b976!important}html[data-theme=dark] .auto-switch[aria-pressed=true]{background:#1b3b34!important;color:#99dfc3!important;border-color:#466f60!important}html[data-theme=dark] .auto-switch[aria-pressed=false]{background:#463b25!important;color:#efd39b!important;border-color:#8c7040!important}

/* v0.93 accessibility: visible focus, readable navigation and mobile wrap */
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid #1976d2!important;outline-offset:3px!important}html[data-theme=dark] :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline-color:#a9d3ff!important}.stock-skip{position:fixed;left:12px;top:8px;z-index:10000;transform:translateY(-160%);padding:10px 16px;background:var(--panel,#fff);color:var(--text,#18202a);border:2px solid #1976d2;border-radius:8px}.stock-skip:focus{transform:translateY(0)}header nav{flex-wrap:wrap;gap:8px 18px}header nav a[aria-current=page]{font-weight:750;text-decoration:underline;text-underline-offset:5px}.tabs button{min-height:38px}.tabs{max-width:100%}button,summary{touch-action:manipulation}html{scroll-padding-top:16px} @media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}} @media(max-width:760px){header nav{margin-left:0;gap:8px 14px}header nav a{padding:6px 0}.tabs button{min-height:42px}}
.stock-launcher{border:1px solid var(--line,#687789);background:var(--panel,#fff);color:var(--text,#18202a);border-radius:7px;font-size:12px;min-height:32px;padding:6px 10px;white-space:nowrap}.stock-menu-dialog{color:var(--text,#18202a);background:var(--panel,#fff);border:1px solid var(--line,#687789);border-radius:14px;padding:24px;width:min(540px,calc(100vw - 24px));max-height:min(85vh,760px);box-shadow:0 12px 40px #0004;overflow:auto}.stock-menu-dialog::backdrop{background:#0008}.stock-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.stock-dialog-head h2{font-size:20px}.stock-menu-dialog label{display:block;margin-bottom:5px;font-size:13px}.stock-menu-dialog input{width:100%;min-height:44px}.stock-menu-results{display:grid;gap:5px}.stock-menu-results a{display:block;padding:11px 12px;border:1px solid var(--line,#687789);border-radius:7px;color:var(--text,#18202a);font-weight:600;font-size:14px}.stock-menu-results a:hover{background:var(--bg,#eee)}.stock-menu-hint,.stock-menu-count{font-size:12px;color:var(--muted,#56616d);margin:12px 0}

/* Warm navigation accents, independent of price and chart colors. */
.brand .brand-partner-mark{display:block;flex:none;width:48px;height:24px;object-fit:contain}
html[data-theme="dark"] .brand .brand-partner-mark{filter:invert(1) hue-rotate(180deg)}
.auto-switch[hidden]{display:none}
html[data-theme="light"] body>header,html[data-theme="light"] .workspace-nav{border-bottom-color:#eadbd0}
html[data-theme="light"] body[data-page=home] .shell aside{background:#fdfaf8;border-color:#eadbd0}
html[data-theme="light"] .workspace-nav a[aria-current=page],html[data-theme="light"] aside button.active{background:#fae9dd;color:#842b0b;box-shadow:inset 3px 0 #c54d1e}
html[data-theme="dark"] .workspace-nav a[aria-current=page],html[data-theme="dark"] aside button.active{background:#40291f;color:#ffd6bd;box-shadow:inset 3px 0 #ff873f}
@media(max-width:650px){.brand .brand-partner-mark{width:40px;height:20px}}

/* Align the Home search and display controls without crowding the market links. */
html body[data-page=home]>header{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:12px 16px}
html body[data-page=home] .brand-stack{min-width:0;width:100%;justify-content:flex-start}
body[data-page=home] .home-controls{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;width:100%;min-width:0}
body[data-page=home] .home-controls .theme-row{gap:5px;margin:0}
body[data-page=home] .home-controls #status{margin:0}
body[data-page=home] .home-controls .quick-stock-search{flex:1 1 260px;max-width:420px;margin:0}
body[data-page=home] .home-controls .quick-stock-search input{width:auto;flex:1 1 165px;min-width:0}
body[data-page=home] .home-market-links{grid-column:auto;justify-self:stretch;width:100%;max-width:none}
body[data-page=home] .home-market-links .header-market{width:100%;max-width:none}
html[data-theme="light"] body[data-page=home]>header{--market-card:#fff3e9;--market-link:#fff7f0;--market-border:#edcbb5;--market-ink:#8f330f;--market-hover:#fbe4d3}
html[data-theme="dark"] body[data-page=home]>header{--market-card:#34241c;--market-link:#302119;--market-border:#67402d;--market-ink:#ffd3b5;--market-hover:#4a3024}
html[data-theme] body[data-page=home] .home-market-links .hm-tile{background:var(--market-card);border-color:var(--market-border)}
html[data-theme] body[data-page=home] .home-market-links .research-links a:any-link{background:var(--market-link);border-color:var(--market-border);color:var(--market-ink)}
html[data-theme] body[data-page=home] .home-market-links .hm-tile:hover,html[data-theme] body[data-page=home] .home-market-links .research-links a:hover{background:var(--market-hover)}
@media(max-width:1050px){html body[data-page=home]>header{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){body[data-page=home] .home-controls .quick-stock-search{max-width:none}}

:root{--board-font:Arial,'Spoqa Han Sans Neo','Malgun Gothic',sans-serif}
html[data-theme] body,html[data-theme] :is(button,input,select,textarea){font-family:var(--board-font)}
html[data-theme="light"] body :is(h1,h2,h3,h4,h5,h6,.eyebrow,.gm-en,.navlabel,.gm-category,.gm-crypto-rank,.gm-crypto-symbol,.hm-label,.hm-price,.gm-price,.brand,.gm-title,.analysislink,.workspace-nav a,.tile .muted,th,input,textarea,select),
html[data-theme="light"] body[data-page=home] .home-market-links .research-links a:any-link,
html[data-theme="light"] body :is(.tab,.tabs button,.mode-links a,.flowtabs a,.subnav a){color:#000}
html[data-theme="light"] body :is(button.primary,button.active,button.selected,button[aria-pressed=true]):not(.auto-switch){background:#fae9dd;color:#000;border-color:#edcbb5}
