.market-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:25px}.market-intro h2{margin:22px 0}.market-mode-nav,.business-detail-tabs{display:flex;gap:10px;margin:25px 0 35px;flex-wrap:wrap}.market-mode-nav>button,.business-detail-tabs>button{background:var(--surface);color:var(--text);border:1px solid var(--line);padding:12px 20px;border-radius:10px}.market-mode-nav>button.active,.business-detail-tabs>button.active{border-color:var(--pink);background:color-mix(in srgb,var(--pink) 14%,var(--surface))}.market-section-intro{margin:35px 0}.market-section-intro h3{font-size:29px}.business-market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.business-market-card{background:var(--surface);border:1px solid var(--line);border-radius:22px;overflow:hidden}.business-market-card>img{width:100%;aspect-ratio:1.4;object-fit:cover}.business-market-card>div{padding:24px}.business-market-card h3{font-size:27px;margin:20px 0 14px}.business-market-card p{font-size:14px;line-height:1.6}.business-market-card .fine{font-size:10px}.business-price{border-top:1px solid var(--line);padding-top:20px;margin:23px 0}.business-price>span{display:block;font-size:11px;color:var(--muted)}.business-price>strong{display:block;font-size:32px;margin-top:6px;letter-spacing:-1px}.business-mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.business-mini-stats>span{font-size:8px;color:var(--muted)}.business-mini-stats b{display:block;color:var(--text);font-size:16px;margin-bottom:7px}.market-detail-modal{width:min(1100px,96vw);max-width:1100px;padding:0;border:1px solid var(--line);border-radius:24px;max-height:94vh;background:var(--bg);color:var(--text);overflow:auto}.market-detail-modal::backdrop{background:#05080bc9;backdrop-filter:blur(9px)}.market-detail-modal .modal-corner-close{position:sticky;top:14px;float:right;right:14px;margin:14px 14px -54px 0;z-index:5;background:#141925df;color:#fff}.business-detail-hero{height:370px;position:relative;display:flex;align-items:end;padding:32px;color:white;overflow:hidden;background:#121722}.business-detail-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.45)}.business-detail-hero>div{position:relative;z-index:1}.business-detail-hero h2{font-size:44px;margin:22px 0 13px}.business-detail-hero p{color:#dddce7;max-width:670px}.business-detail-hero>div>span:not(.tag){font:10px monospace;display:block;letter-spacing:2px}.business-detail-hero>div>strong{font-size:32px;display:block;margin-top:5px}.business-detail-actions{display:flex;gap:15px;flex-wrap:wrap;padding:26px 30px;border-bottom:1px solid var(--line)}.business-detail-tabs{padding:0 30px;margin-bottom:0}.business-detail-body{padding:30px}.business-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.business-stat-grid>article{padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:15px}.business-stat-grid>article>span{font-size:11px;color:var(--muted)}.business-stat-grid strong{display:block;font-size:25px;margin-top:12px}.business-detail-columns{display:grid;grid-template-columns:1fr 1fr;gap:35px;margin-top:35px}.business-detail-columns h3{font-size:26px}.business-detail-columns h4{margin-top:25px}.business-detail-columns p{font-size:14px;line-height:1.8}.business-financial-table{width:100%;border-collapse:collapse;font-size:14px}.business-financial-table td,.business-financial-table th{padding:17px 12px;text-align:left;border-bottom:1px solid var(--line)}.business-evidence{padding:24px;margin-top:30px;background:var(--surface);border-radius:16px}.business-assets>article{display:flex;gap:20px;padding:22px;border-bottom:1px solid var(--line)}.business-assets>article>span{color:var(--teal);font-size:22px}.business-assets h4{font-size:17px;margin-bottom:10px}.business-assets p{font-size:12px}.market-boundary{font:10px/1.8 monospace;padding:22px 30px;background:var(--surface);margin:0;color:var(--muted)}.market-form{padding:55px 40px 35px}.market-form h2{margin:25px 0;font-size:38px}.market-form p{line-height:1.8}.market-form form>label,.market-form-pair label,.seller-form>label{display:block;font-size:13px;margin:23px 0;color:var(--text)}.market-form input:not([type=checkbox]),.market-form textarea,.market-form select,.seller-form input,.seller-form textarea{display:block;width:100%;border:1px solid var(--line);background:var(--surface);color:var(--text);padding:14px;border-radius:10px;margin-top:10px}.market-form textarea,.seller-form textarea{min-height:130px;resize:vertical}.market-form-pair{display:grid;grid-template-columns:1fr 1fr;gap:22px}.market-form .text-button{margin-left:18px}.transfer-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:30px 0}.transfer-steps>span{font-size:11px;color:var(--muted);border-top:2px solid var(--line);padding-top:12px}.transfer-steps .active{border-color:var(--teal);color:var(--text)}.transfer-checks{display:grid;gap:18px;margin:30px 0}.transfer-checks label{display:flex;align-items:center;gap:12px;font-size:14px}.transfer-checks input{width:20px;height:20px;accent-color:var(--pink)}.transfer-project{display:flex;gap:25px;align-items:center;padding:25px;background:var(--surface);border-radius:18px;margin:30px 0}.transfer-project>img{width:180px;height:140px;object-fit:cover;border-radius:12px}.purchase-tool-image{width:100%;height:260px;object-fit:cover;border-radius:18px;margin-bottom:22px}.purchase-total{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;margin-bottom:25px}.purchase-total>span{color:var(--muted)}.purchase-total strong{font-size:30px}.sell-kind-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:35px 0}.sell-kind-grid>button{text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:28px;color:var(--text)}.sell-kind-grid>button>span{display:block;color:var(--teal);font-size:30px;margin-bottom:30px}.sell-kind-grid h3{font-size:28px}.sell-kind-grid p{font-size:14px;line-height:1.7;min-height:70px}.sell-kind-grid strong{font-size:12px;color:var(--teal)}.seller-form,.seller-preview-card{padding:30px;background:var(--surface);border:1px solid var(--line);border-radius:20px;margin:30px 0;max-width:850px}.seller-form h3{margin:22px 0}.seller-form input,.seller-form textarea{background:var(--bg)}.seller-preview-card>strong{font-size:25px}.seller-preview-card h3{margin-top:22px}.acquired-businesses{padding:25px 0}.acquired-businesses>article{display:flex;align-items:center;gap:25px;background:var(--surface);border:1px solid var(--line);border-radius:20px;overflow:hidden;margin:22px 0}.acquired-businesses>article>img{width:220px;align-self:stretch;object-fit:cover}.acquired-businesses>article>div{padding:25px}.acquired-businesses h3{margin:15px 0}.acquired-businesses p{font-size:13px}#appearance-toggle{font-size:22px!important}
/* Optional daylight palette. Product artwork and World environments keep their own colours. */
:root[data-theme=light]{--bg:#f7f6f8;--surface:#fff;--line:#ddd9e3;--text:#252130;--muted:#696574;--pink:#d42b87;--teal:#157f79;--gold:#7862a0;color-scheme:light}
[data-theme=light] body>header{background:#f7f6f8;border-color:var(--line)}[data-theme=light] .node,[data-theme=light] .nimunu-style-picker,[data-theme=light] .dock,[data-theme=light] .dock-panel,[data-theme=light] .story-result,[data-theme=light] .product-card,[data-theme=light] .discovery-project,[data-theme=light] .discovery-foot,[data-theme=light] .maker-editorial-grid>article,[data-theme=light] .creator-feature,[data-theme=light] .creator-process,[data-theme=light] .listing,[data-theme=light] .creator-card,[data-theme=light] .world-place-panel,[data-theme=light] .world-builder,[data-theme=light] .world-module,[data-theme=light] .world-modules>article,[data-theme=light] .world-tabs,[data-theme=light] .world-control-bar,[data-theme=light] .world-project-feature,[data-theme=light] .world-approval,[data-theme=light] .world-project-grid>article,[data-theme=light] .world-now-link,[data-theme=light] .world-team-grid>article,[data-theme=light] .now-playground,[data-theme=light] .now-film-subtitles,[data-theme=light] .now-details article{background:var(--surface);color:var(--text);border-color:var(--line)}
[data-theme=light] #exchange-modal,[data-theme=light] .launch-modal,[data-theme=light] .creator-modal,[data-theme=light] .tool-modal,[data-theme=light] .exchange-header,[data-theme=light] .launch-header,[data-theme=light] .exchange-body,[data-theme=light] #exchange-nav{background:var(--bg);color:var(--text);border-color:var(--line)}
[data-theme=light] .button.secondary,[data-theme=light] .world-style-card,[data-theme=light] .discovery-filters button,[data-theme=light] .design-options button,[data-theme=light] .story-result>nav button.active,[data-theme=light] .profile-tabs button,[data-theme=light] .world-tabs button,[data-theme=light] .launch-tabs button,[data-theme=light] .brand-mode label,[data-theme=light] .palette-options label{background:#ebe6ef;color:var(--text);border-color:#d8cddd}
[data-theme=light] :is(.story-request,.story-team strong,.story-delivery span,.discovery-project h3,.discovery-maker,.maker-editorial-grid h3,.creator-world-intro,.creator-feature,.creator-process,.world-builder h3,.world-builder h4,.world-style-card strong,.world-project-feature h3,.world-place-panel h3,.world-modules h4,.world-approval h3,.now-controls h3,.now-details h4,.profile-identity h2,.profile-about h3,.profile-about h4){color:var(--text)}
[data-theme=light] :is(.story-team p,.story-delivery span,.discovery-project p,.discovery-project blockquote,.maker-editorial-grid p,.creator-world-intro p,.creator-feature p,.creator-process p,.world-builder p,.world-style-card small,.world-place-panel p,.world-project-feature p,.world-approval p,.world-now-link p,.world-create-form label,.now-section p,.profile-identity p,.profile-about p){color:var(--muted)}
[data-theme=light] :is(.world-goal-form,.world-create-form input,.world-goal-form input,.now-controls input,.input-label input,.input-label textarea,.input-label select,.supplier-card,.outreach-draft,.cost-workspace,.brief-nimunu,.brief-story,.brand-brief,.tool-workspace,.tool-hero,.world-activity article){background:#efecf2;color:var(--text);border-color:var(--line)}
[data-theme=light] .world-goal-form{border:1px solid var(--line)}[data-theme=light] .discovery-maker small,[data-theme=light] .discovery-foot .fine,[data-theme=light] #story-build-status,[data-theme=light] .world-growth-steps,[data-theme=light] #now-feedback{color:var(--teal)}[data-theme=light] .world-builder>summary>span,[data-theme=light] .world-style-card small{color:var(--muted)}[data-theme=light] #exchange-nav button.active{background:#e9e0ee;color:#51345f}[data-theme=light] .maker-editorial-cover>img{border-color:white}[data-theme=light] .tag{border-color:#b9b1c5;color:var(--muted)}[data-theme=light] .hero-art .node small{color:var(--muted)}[data-theme=light] .hero-art .node{box-shadow:0 12px 30px #2c1b3a0b}[data-theme=light] .hero-art .orbital{border-color:#d4cddd}[data-theme=light] .hero-art .art-floor{opacity:.25}[data-theme=light] .nimunu-style-picker button{color:var(--muted)}[data-theme=light] .nimunu-style-picker .active{color:#9d1d6b;background:#efe4f0}[data-theme=light] .hero-note,[data-theme=light] .mascot-caption,[data-theme=light] .hero-bottom,[data-theme=light] footer{color:var(--muted)}[data-theme=light] .dock .button{color:#fff}[data-theme=light] .button:not(.secondary),[data-theme=light] .sell-kind-grid>button:hover{color:#fff}[data-theme=light] .discovery-art>.tag,[data-theme=light] .business-detail-hero .tag{color:#fff;border-color:#a6a0b5}[data-theme=light] .story-profile-banner,[data-theme=light] .community-door-copy h2,[data-theme=light] .community-door-copy .tag,[data-theme=light] .community-door-copy p{color:#fff}[data-theme=light] .community-door-copy .fine{color:#d0c8da}[data-theme=light] .story-profile-banner>strong{color:white}[data-theme=light] .now-film-caption h4,[data-theme=light] .now-film-caption p,[data-theme=light] .now-device strong{color:white}[data-theme=light] .now-film-caption>span{color:#66e1d3}[data-theme=light] .now-screen small{color:#b1aeb9}[data-theme=light] .now-device-wrap>.fine{color:var(--muted)}[data-theme=light] .story-extras{border-color:var(--line)}[data-theme=light] .world-control-bar{box-shadow:none}[data-theme=light] .business-detail-hero .tag{background:#111722a8}[data-theme=light] .brand{color:var(--text)}
@media(max-width:1100px){.business-market-grid{grid-template-columns:1fr 1fr}.business-market-card:last-child{grid-column:1/-1}.business-market-card:last-child>img{aspect-ratio:2.5}.business-stat-grid{grid-template-columns:repeat(2,1fr)}.sell-kind-grid{gap:15px}.sell-kind-grid>button{padding:22px}}
@media(max-width:650px){.market-intro{flex-direction:column}.business-market-grid,.sell-kind-grid{grid-template-columns:1fr}.business-market-card:last-child{grid-column:auto}.business-market-card:last-child>img{aspect-ratio:1.4}.market-detail-modal{width:100vw;max-width:100vw;border-radius:0;max-height:100dvh;height:100dvh;margin:0}.business-detail-hero{height:340px;padding:25px}.business-detail-hero h2{font-size:32px}.business-detail-hero p{font-size:12px}.business-detail-actions{padding:20px;gap:10px}.business-detail-tabs{padding:0 20px;gap:7px}.business-detail-tabs>button{font-size:11px;padding:10px}.business-detail-body{padding:22px}.business-detail-columns{grid-template-columns:1fr;gap:18px}.business-stat-grid{gap:10px}.business-stat-grid>article{padding:15px}.business-stat-grid strong{font-size:21px}.business-financial-table{font-size:11px}.business-financial-table td,.business-financial-table th{padding:14px 5px}.market-boundary{padding:20px;font-size:9px}.market-form{padding:50px 23px 25px}.market-form h2{font-size:31px}.market-form-pair{grid-template-columns:1fr;gap:0}.transfer-steps{grid-template-columns:1fr 1fr}.transfer-project{flex-direction:column;align-items:start}.transfer-project>img{width:100%;height:180px}.purchase-total{gap:20px}.purchase-total span{font-size:12px}.seller-form{padding:24px}.sell-kind-grid p{min-height:0}.acquired-businesses>article{flex-direction:column;align-items:start;gap:0}.acquired-businesses>article>img{width:100%;height:180px}.business-mini-stats b{font-size:17px}.market-mode-nav>button{padding:10px 18px}}
.exchange-header .exchange-appearance{order:1;background:var(--surface);color:var(--text);border:1px solid var(--line);font-size:20px;width:34px;height:34px;flex-shrink:0}.exchange-header #close-exchange{order:2}@media(max-width:650px){.exchange-header>.tag{display:none}.exchange-header{gap:8px}.exchange-header .brand{font-size:17px}.exchange-header .brand .muted{font-size:10px}.exchange-header .exchange-appearance{width:30px;height:30px}}
[data-theme=light] .mascot{filter:drop-shadow(0 18px 22px #3c2a5138)}[data-theme=light] .nimunu-style-picker button{background:transparent}[data-theme=light] .nimunu-style-picker button.active{background:#ead8eb;color:#84225f}.business-financial-table td:not(:first-child),.business-financial-table th:not(:first-child){text-align:right}

/* Trading remains legible in the shared light appearance. */
[data-theme=light] .wealth-copy>p[data-t]{color:var(--text)}
[data-theme=light] .wealth-terminal{background:var(--surface);color:var(--text);border-color:var(--line);box-shadow:0 18px 55px #30213e0b}
[data-theme=light] .wealth-terminal .asset-tabs{background:#f0edf3}
[data-theme=light] .wealth-terminal .asset-tabs button.active{background:#dcefeb;color:var(--teal)}
[data-theme=light] .wealth-terminal .chart-grid path{stroke:#e5e0e9}
[data-theme=light] .wealth-terminal #chart-line{stroke:var(--teal)}
[data-theme=light] .wealth-terminal #chart-reference{stroke:#c3bdca}
[data-theme=light] .wealth-terminal .chart-stats>div{background:#f5f2f7;border-color:var(--line)}
[data-theme=light] .wealth-terminal .trade-row{border-color:var(--line);color:var(--muted)}
[data-theme=light] .wealth-terminal .trade-row b{color:var(--text)}
[data-theme=light] .wealth-terminal #chart-tooltip{background:#edf5f2;border-color:#9dbeb7;color:var(--text)}

[data-theme=light] .wealth-terminal .trade-row.done{background:#edf4f1}
