/* The market scene keeps its fixed daytime art; only the surrounding UI adapts. */
.wsj_theme_controls{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-left:auto;flex:0 0 auto;max-width:100%}
html{--wsj-background-rgb:255,255,255}
html[data-wsj-theme=dark]{--wsj-background-rgb:0,0,0}
body.wsj_house{isolation:isolate}
body.wsj_house::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:rgba(var(--wsj-background-rgb),var(--wsj-background-opacity,.48))}
.wsj_background_mood{display:flex;align-items:center;gap:5px;font-size:11px;white-space:nowrap}
.wsj_background_mood>span{padding:1px 6px;border:1px solid #203b30;border-radius:4px;background:#fff8e7;color:#203b30;font-weight:700;line-height:1.3}
html[data-wsj-theme=dark] .wsj_background_mood>span{border-color:#fff8e7;background:#203b30;color:#fff8e7}
body.wsj_house .wsj_background_mood input{width:112px;min-width:76px;height:34px;min-height:34px;margin:0;padding:0;background:transparent;box-shadow:none;accent-color:#608c72;cursor:pointer}
@media(max-width:700px){.wsj_house .wsj_header{flex-wrap:wrap}.wsj_theme_controls{gap:5px 8px}body.wsj_house .wsj_background_mood input{width:100px;height:44px;min-height:44px}}
body.wsj_house #wsj_theme_toggle{display:inline-flex;align-items:center;justify-content:space-around;width:76px;height:34px;min-height:34px;padding:0;border:1px solid #958769;border-radius:22px;background:#dbd0ae;box-shadow:inset 0 2px 4px #1b2b3333;transition:background-color .15s}
#wsj_theme_toggle::before{content:"";position:absolute;top:3px;left:5px;width:26px;height:26px;border-radius:50%;background:#fffdf6;box-shadow:0 1px 3px #11272e55;transition:transform .15s}
body.wsj_house #wsj_theme_toggle[aria-checked=true]{background:#304e60;border-color:#658697}#wsj_theme_toggle[aria-checked=true]::before{transform:translateX(38px);background:#eaf2f9}
body.wsj_house #wsj_theme_toggle:hover{border-color:#d9a545}body.wsj_house #wsj_theme_toggle:active{box-shadow:inset 0 3px 5px #152b3b66}
body.wsj_house #wsj_theme_toggle .fas{position:relative;z-index:1;flex:1;margin:0;text-align:center;font-size:14px}#wsj_theme_toggle .fa-sun{color:#9e6211}#wsj_theme_toggle .fa-moon{color:#486676}#wsj_theme_toggle[aria-checked=true] .fa-sun{color:#e5be79}#wsj_theme_toggle[aria-checked=true] .fa-moon{color:#285473}
@media(max-width:700px),(pointer:coarse){.wsj_house .wsj_header{column-gap:8px}body.wsj_house #wsj_theme_toggle{height:44px;min-height:44px}#wsj_theme_toggle::before{top:4px;left:3px;width:34px;height:34px}#wsj_theme_toggle[aria-checked=true]::before{transform:translateX(36px)}}
@media(prefers-reduced-motion:reduce){body.wsj_house #wsj_theme_toggle,#wsj_theme_toggle::before{transition:none}}
.wsj_walk_view{color-scheme:light;color:var(--ink);--ink:#20313b;--orange:#e66b26;--paper:#faf7f1;--line:#dfd9cf;--muted:#6c736f}
@media screen{
html[data-wsj-theme=dark]{color-scheme:dark;--paper:#151d23;--ink:#e8eeeb;--muted:#b7c4bd;--line:#465a51;--orange:#f4ad70;--wsj_surface:#222d33;--wsj_soft:#2b3b3c;--wsj_field:#172329;--wsj_field_edge:#5e756a;--wsj_link:#91d2e9;--wsj_accent:#f2b47f}
html[data-wsj-theme=light]{color-scheme:light}
html[data-wsj-theme=dark] .wsj_house{--wsj_panel_shadow:0 2px 5px #0007}
html[data-wsj-theme=dark] .wsj_house .wsj_header,html[data-wsj-theme=dark] .wsj_house .wsj_market,html[data-wsj-theme=dark] .wsj_house .wsj_scene_footer,html[data-wsj-theme=dark] .wsj_house .wsj_seller_panel,html[data-wsj-theme=dark] .wsj_house .wsj_account_card,html[data-wsj-theme=dark] .wsj_house .wsj_account_catalogue,html[data-wsj-theme=dark] .wsj_house .wsj_application_panel,html[data-wsj-theme=dark] .wsj_house .wsj_seller_report,html[data-wsj-theme=dark] .wsj_house .wsj_ad_panel,html[data-wsj-theme=dark] .wsj_house .wsj_help_dialog,html[data-wsj-theme=dark] .wsj_house .wsj_help_body>article,html[data-wsj-theme=dark] .wsj_house main>p{background:var(--wsj_surface);border-color:var(--line);color:var(--ink)}
html[data-wsj-theme=dark] .wsj_house #wsj_product_dialog,html[data-wsj-theme=dark] .wsj_house #wsj_cart_dialog,html[data-wsj-theme=dark] .wsj_house #wsj_checkout_dialog,html[data-wsj-theme=dark] .wsj_house #wsj_orders_dialog,html[data-wsj-theme=dark] .wsj_house #wsj_invoice_dialog,html[data-wsj-theme=dark] .wsj_house #wsj_photo_dialog,html[data-wsj-theme=dark] .wsj_house #wsj_document_dialog,html[data-wsj-theme=dark] .wsj_house #wsj_publish_dialog,html[data-wsj-theme=dark] .wsj_house #wsj_ad_photo_dialog,html[data-wsj-theme=dark] .wsj_house #wsj_ad_preview_dialog{background:var(--wsj_surface);color:var(--ink);border-color:var(--line)}
html[data-wsj-theme=dark] .wsj_house input,html[data-wsj-theme=dark] .wsj_house select,html[data-wsj-theme=dark] .wsj_house textarea{background-color:var(--wsj_field);color:var(--ink);border-color:var(--wsj_field_edge);accent-color:#65bc9f}
html[data-wsj-theme=dark] .wsj_house input::placeholder,html[data-wsj-theme=dark] .wsj_house textarea::placeholder{color:#a6b7ae;opacity:1}
html[data-wsj-theme=dark] .wsj_house a{color:var(--wsj_link)}
html[data-wsj-theme=dark] .wsj_house .wsj_account_table header,html[data-wsj-theme=dark] .wsj_house .wsj_help_topics,html[data-wsj-theme=dark] .wsj_house .wsj_report_metrics>div,html[data-wsj-theme=dark] .wsj_house .wsj_report_table_wrap th,html[data-wsj-theme=dark] .wsj_house .wsj_placement_choice,html[data-wsj-theme=dark] .wsj_house .wsj_plan_view{background:var(--wsj_soft);border-color:var(--line)}
html[data-wsj-theme=dark] .wsj_house .wsj_review_hint,html[data-wsj-theme=dark] .wsj_house .wsj_help_status,html[data-wsj-theme=dark] .wsj_house .wsj_preview_banner,html[data-wsj-theme=dark] .wsj_house #wsj_security_recovery{background:#433a25;color:var(--ink);border-color:#aa8c52}
html[data-wsj-theme=dark] .wsj_house .wsj_product_art,html[data-wsj-theme=dark] .wsj_house #wsj_product_info_art,html[data-wsj-theme=dark] .wsj_house .wsj_account_thumb,html[data-wsj-theme=dark] .wsj_house .wsj_advert_image{background:var(--wsj_soft);color:var(--wsj_accent);border-color:var(--line)}
html[data-wsj-theme=dark] .wsj_house .wsj_product_price,html[data-wsj-theme=dark] .wsj_house .wsj_account_table li .wsj_account_price{color:var(--wsj_accent)}
html[data-wsj-theme=dark] .wsj_house .wsj_help_body h3{color:#a9dcc0}
html[data-wsj-theme=dark] .wsj_house .wsj_ad_calendar_dates small{color:var(--muted)}
html[data-wsj-theme=dark] .wsj_house .wsj_advert_card{background:var(--wsj_surface);border-color:#b48761;color:var(--ink)}
html[data-wsj-theme=dark] .wsj_house .wsj_account_error{background:#4a2d29;border-color:#c8816e;color:#ffc2b2}
html[data-wsj-theme=dark] .wsj_house .wsj_cart_error,html[data-wsj-theme=dark] .wsj_house .wsj_seller_error,html[data-wsj-theme=dark] .wsj_house .wsj_application_error,html[data-wsj-theme=dark] .wsj_house .wsj_ad_error{color:#ffc2b2}
html[data-wsj-theme=dark] .wsj_house .likedetails{background:var(--wsj_surface);border-color:#547c6a}
html[data-wsj-theme=dark] .wsj_house .likedetails>.likesummary:hover,html[data-wsj-theme=dark] .wsj_house .likedetails>.likesummary[aria-expanded=true]{background:#344f42;color:#b9ebcd}
html[data-wsj-theme=dark] .wsj_house .likedetails>.likehigherdetails{background:#1b3028;border-left-color:#71bd9d}
html[data-wsj-theme=dark] .wsj_house .wsj_icon{color:#efaf73}html[data-wsj-theme=dark] .wsj_house .wsj_icon_blue{color:#8ac8e5}html[data-wsj-theme=dark] .wsj_house .wsj_icon_green{color:#8bd0aa}html[data-wsj-theme=dark] .wsj_house .wsj_icon_purple{color:#c5a3df}
html[data-wsj-theme=dark] .wsj_house #wsj_checkout_access a{background:var(--wsj_soft);color:var(--wsj_link);border-color:var(--line)}html[data-wsj-theme=dark] .wsj_house #wsj_checkout_access a:hover{background:#3a5147}
/* Keep the printable document looking like paper in a dark surrounding dialog. */
html[data-wsj-theme=dark] .wsj_house #wsj_invoice_document{background:#fff;color:#17251b;color-scheme:light;padding:10px;--ink:#17251b;--muted:#59645f;--line:#bbb}
html[data-wsj-theme=dark] .wsj_house #wsj_invoice_document a{color:#245f76}
}
@media print{.wsj_theme_controls{display:none!important}}
