.market-research {
    container:market-research / inline-size;
    --mr-panel:#192b25;
    --mr-panel-alt:#20362d;
    --mr-line:#3f564c;
    --mr-text:#f0f5eb;
    --mr-muted:#aec3b8;
    --mr-reading:#d8e5dc;
    --mr-accent:#eccf90;
    --mr-china:#ffcf77;
    --mr-united-states:#86daff;
    --mr-hong-kong:#f4a8cc;
    --mr-beijing:#c7acf8;
    --mr-taiwan:#94dcc0;
    --mr-color-1:#7cddc1;
    --mr-color-2:#f5c37b;
    --mr-color-3:#a9baf9;
    --mr-color-4:#f0a9c9;
    --mr-color-5:#c4db8f;
    --mr-color-6:#ef997f;
    --mr-color-7:#7dcbe9;
    --mr-color-8:#d8b4f4;
    --mr-color-9:#80d69c;
    --mr-color-10:#f3df8e;
    --mr-color-11:#f4a4a1;
    --mr-color-12:#b6d8f5;
}

#workspace > #content:has(>.market-research[data-mr-tour-active]) { padding-bottom:8px; }
.market-research [hidden] { display:none!important; }

.market-research[data-mr-tour-active] {
    display:grid; grid-template-rows:minmax(0,1fr) auto; gap:6px;
    block-size:calc(100dvh - var(--mr-tour-top,0px) - 8px);
}
.market-research[data-mr-tour-active]>.mr-workbench {
    min-height:0; overflow:auto; overscroll-behavior:contain; scrollbar-gutter:stable;
}
.market-research[data-mr-tour-active] .mr-analysis-rail { contain:none; max-block-size:none; overflow:visible; }

.mr-workbench {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(278px,30%);
    grid-template-areas:"board analysis";
    align-items:start;
    gap:11px;
    padding:clamp(9px,1.25vw,15px);
    border:1px solid var(--workspace-board-border);
    border-radius:var(--workspace-board-radius);
    color-scheme:dark;
    color:var(--mr-text);
    background:var(--workspace-board-background);
    box-shadow:var(--workspace-board-shadow);
}

.mr-workbench[data-side="left"] {
    grid-template-columns:minmax(278px,30%) minmax(0,1fr);
    grid-template-areas:"analysis board";
}

.mr-board { grid-area:board; min-width:0; }
.mr-analysis-rail {
    grid-area:analysis; display:grid; grid-template-columns:minmax(0,1fr);
    grid-template-areas:"latest" "brief" "highlights" "insights"; align-content:start; align-self:stretch;
    min-width:0; min-height:0; max-block-size:max(220px,calc(100dvh - 78px)); gap:8px;
    contain:size; overflow:auto; overscroll-behavior-y:contain;
    scrollbar-width:thin; scrollbar-color:#648172 transparent; scrollbar-gutter:stable;
    padding:2px 4px 3px 2px; scroll-padding-block:6px;
}
.mr-analysis-rail:focus-visible { outline:2px solid var(--mr-accent); outline-offset:2px; }
.mr-insights { grid-area:insights; display:grid; align-content:start; gap:8px; min-width:0; }
.mr-brief {
    grid-area:brief; min-width:0; padding:10px 11px 8px;
    border:1px solid #587162; border-radius:9px; background:#1e342b;
    overflow-wrap:anywhere; font-size:12px; line-height:1.45;
}
.mr-brief-heading,.mr-summary-player-tools { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:4px 7px; }
.mr-brief-heading { margin-bottom:4px; }
.mr-brief-heading button,.mr-summary-player button {
    padding:4px 7px; border:1px solid #786b4a; border-radius:5px;
    background:#263b31; color:var(--mr-accent); font:inherit;
}
.mr-brief-heading button:disabled,.mr-summary-player button:disabled { opacity:.55; }
.mr-summary-player { display:grid; gap:5px; margin:5px 0 7px; padding:7px 8px; border:1px solid #6f704e; border-radius:6px; background:#172b23; }
.mr-summary-player-tools strong { margin-inline-end:auto; color:var(--mr-accent); }
.mr-summary-player [data-mr-voice-caption] { color:var(--mr-text); }
.mr-summary-player small { color:var(--mr-muted); }
.mr-summary-player summary { color:var(--mr-accent); cursor:pointer; }
.mr-summary-player details p { margin-top:5px; }
.mr-summary-player details ul { margin:5px 0 0; padding-left:16px; }
.mr-summary-player details li small { display:block; }
.mr-summary-speaking { box-shadow:inset 2px 0 var(--mr-accent); background:#efce8314; }
.market-research :is(h2,p) { margin:0; }
.market-research h2 { font-size:14px; line-height:1.25; font-weight:680; }
.market-research a { color:var(--mr-accent); }

.mr-toolbar,.mr-toolbar-main,.mr-board-meta,.mr-layout-buttons,.mr-scope,.mr-settings-fields,.mr-status {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:5px 8px;
}

.mr-toolbar,.mr-board-meta { justify-content:space-between; }
.mr-layout-buttons,.mr-scope { gap:5px; }
.mr-toolbar { min-height:32px; }
.mr-toolbar-main { gap:8px 12px; }
.mr-toolbar-main h1 { margin:0; font-size:17px; font-weight:680; line-height:1.2; white-space:nowrap; }
.mr-board-meta { margin:4px 0 8px; color:var(--mr-muted); font-size:11px; }
.mr-board-meta [data-mr-region] { max-width:140px; }
.mr-board-meta [data-mr-view-day] { max-width:158px; }
.mr-status { justify-content:flex-end; }
.mr-market-times {
    grid-area:latest; display:grid; gap:5px; min-width:0; padding:9px 11px;
    border:1px solid var(--mr-line); border-radius:7px; background:var(--mr-panel);
    color:var(--mr-muted); font-size:11px; line-height:1.4;
}
.mr-market-times h2 { color:var(--mr-text); }
.mr-close-freshness { display:grid; align-content:start; gap:4px; min-width:0; }
.mr-updates { padding-top:5px; border-top:1px solid var(--mr-line); }
.mr-clock-label { color:var(--mr-accent); font-weight:680; }
.mr-updates .mr-clock-label { margin:0 0 2px; font-size:12px; color:var(--mr-taiwan); }
.mr-updates summary,.mr-times-note summary { width:fit-content; cursor:pointer; color:var(--mr-accent); }
.mr-market-times .mr-update-title a { overflow-wrap:anywhere; color:var(--mr-text); text-underline-offset:2px; }
.mr-updates details > ul { max-height:15em; overflow:auto; margin:4px 0; padding:0; list-style:none; }
.mr-updates .mr-summary-source { overflow-wrap:anywhere; }
.mr-update-time { color:var(--mr-muted); font-variant-numeric:tabular-nums; }
.mr-updates :is([data-mr-latest],[data-act="exit-replay"]) {
    margin-inline-start:5px;
    padding:1px 0; border:0; background:transparent; color:var(--mr-accent);
    font:inherit; text-decoration:underline; text-underline-offset:2px;
}
.mr-times-note p { color:var(--mr-muted); }
.mr-close-head,.mr-close-times { display:flex; flex-wrap:wrap; align-items:baseline; gap:3px 12px; }
.mr-close-head > b,.mr-close-head > strong { color:var(--mr-text); }
.mr-close-head details { color:var(--mr-accent); }
.mr-close-head summary { cursor:pointer; }
.mr-close-head details[open] { flex-basis:100%; }
.mr-close-head details :is(ul,p) { margin:3px 0; color:var(--mr-reading); }
.mr-close-head details ul { display:flex; flex-wrap:wrap; gap:2px 14px; padding:0; list-style:none; }
.mr-close-head details li b { margin-inline-start:2px; }
.mr-close-times { font-variant-numeric:tabular-nums; }
.it-entry {
    grid-area:highlights; display:grid; gap:5px; min-width:0; padding:7px 9px; border:1px solid var(--mr-line); border-radius:7px;
    background:var(--mr-panel); color:var(--mr-text); font-size:12px; line-height:1.45;
}
.it-entry header { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.it-entry p > strong { margin-inline-end:6px; }
.it-entry small { color:var(--mr-muted); }
.it-entry button { flex:none; padding:5px 9px; color:var(--mr-accent); background:#24382e; border:1px solid #5a6e58; border-radius:5px; }
.it-entry-scope,.it-entry-operating { font-size:11px; }
.it-entry-periods { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; margin:5px 0; }
.it-entry-periods>div { padding:4px; border:1px solid var(--mr-line); border-radius:4px; background:#22362d; }
.it-entry-periods dt { color:var(--mr-muted); font-size:10px; }
.it-entry-periods dd { display:flex; flex-wrap:wrap; margin:0; align-items:baseline; gap:0 5px; }
.it-entry-periods dd b { font-variant-numeric:tabular-nums; }
.it-entry-periods [data-it-move="up"] { color:#ffc3a6; }
.it-entry-periods [data-it-move="down"] { color:#ace5cf; }
.it-entry [data-signal="improving"] { color:var(--mr-taiwan); }
.it-entry [data-signal="pressure"] { color:#f1ae91; }
.it-entry [data-signal="mixed"] { color:var(--mr-accent); }
#modal:has([data-it-panel]) { width:min(1100px,96vw); max-height:92dvh; }
#modal:has(.it-matrix) { width:min(1210px,96vw); }
#modal:has([data-it-panel]) #modalInner { padding:clamp(12px,2vw,22px); }
[data-it-panel] { font-size:13px; }
.it-controls,.it-periods,.it-modes { display:flex; flex-wrap:wrap; align-items:center; gap:5px 8px; }
.it-controls { margin-top:12px; gap:8px 14px; }
.it-controls label { display:flex; align-items:center; gap:5px; }
.it-controls input { width:125px; }
.it-periods { margin-top:8px; }
.it-periods[hidden] { display:none; }
:is(.it-periods,.it-modes) button { color:var(--ink); background:#eff4ef; border:1px solid #c1cec4; border-radius:5px; padding:6px 8px; }
:is(.it-periods,.it-modes) button[aria-pressed="true"] { color:white; background:#284539; border-color:#284539; }
.it-description,.it-meta,.it-table small { color:var(--muted); font-size:12px; line-height:1.45; }
.it-description { margin:10px 0; }
.it-meta { margin:3px 0; }
.it-source-status { margin:4px 0; font-size:12px; color:var(--muted); }
.it-source-status summary { cursor:pointer; color:var(--green); }
.it-source-status ul { padding-inline-start:18px; }
.it-entry-update { display:block; margin-top:4px; }
.it-operating-update { margin:7px 0; border:1px solid var(--line); border-radius:7px; font-size:12px; }
.it-operating-update > summary { padding:7px 10px; cursor:pointer; }
.it-operating-update > summary span { margin-inline-start:8px; color:var(--muted); }
.it-operating-update-body { padding:0 10px 8px; }
.it-operating-update-body p { margin:4px 0; }
.it-operating-update-body ul { margin:5px 0; padding-inline-start:18px; }
.it-operating-update-body details { overflow:auto; max-height:240px; }
.it-operating-update-body li small { display:block; }
.it-table-wrap { max-height:min(55dvh,620px); overflow:auto; border:1px solid var(--line); border-radius:7px; margin-top:8px; }
.it-table { width:100%; min-width:680px; border-collapse:separate; border-spacing:0; text-align:left; }
.it-table :is(th,td) { padding:8px 10px; vertical-align:top; border-bottom:1px solid #e5ebe6; }
.it-table thead th { position:sticky; top:0; background:#edf3ee; }
.it-table tbody th { min-width:8ch; }
.it-table:not(.it-matrix) tbody td:nth-child(2) { min-width:98px; font-variant-numeric:tabular-nums; }
.it-table:not(.it-matrix) tbody td:last-child { width:25%; min-width:8ch; }
.it-table small { display:block; margin-top:2px; }
.it-table .spark { display:block; width:62px; height:18px; }
.it-table summary { cursor:pointer; color:var(--green); white-space:nowrap; }
.it-table .it-detail { margin-top:5px; line-height:1.45; overflow-wrap:anywhere; }
.it-table .it-detail ul { margin:3px 0 7px; padding-inline-start:16px; }
.it-table .it-detail li { margin-bottom:4px; }
.it-table .it-detail p { margin:3px 0 7px; }
.it-table [data-signal="improving"] { color:#146f53; }
.it-table [data-signal="pressure"] { color:#9e432c; }
.it-table [data-signal="mixed"] { color:#806221; }
.it-empty { padding:10px 0; color:var(--muted); }
.it-matrix { min-width:820px; table-layout:fixed; }
.it-matrix thead th { z-index:2; }
.it-matrix thead th:first-child,.it-matrix tbody th {
    position:sticky; inset-inline-start:0; width:132px; z-index:1; background:#f1f5f0; overflow-wrap:anywhere;
    box-shadow:1px 0 0 #d9e4db;
}
.it-matrix thead th:first-child { z-index:3; background:#e5eee7; }
.it-matrix td { font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.it-matrix tr:nth-child(even) td { background:#f8faf7; }
.it-matrix td:not(:last-child) { border-inline-end:1px solid #edf1ed; }
.it-matrix th small { font-weight:400; }
.it-matrix-label { display:inline-block; margin-inline-end:8px; color:var(--muted); }
.it-matrix details { margin-top:6px; }
.it-matrix-operation { margin-top:6px; padding-top:6px; border-top:1px solid var(--line); }
.it-table [data-it-move="up"] { color:#9e432c; }
.it-table [data-it-move="down"] { color:#146f53; }
.it-scroll-note { display:none; }
.ma-launcher,.ma-window {
    position:fixed; z-index:8;
    inset:auto max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) auto;
}
.ma-launcher {
    display:inline-flex; align-items:center; gap:6px; padding:0 14px 0 11px; min-height:44px;
    border:1px solid #456453; border-radius:24px; background:#1d3c30; color:#f5faf6;
    font:inherit; font-size:13px; font-weight:650; box-shadow:0 5px 18px #142e3240;
}
.ma-launcher:hover { background:#2a513f; }
.ma-launcher .ico { width:20px; height:20px; }
.ma-window {
    display:flex; flex-direction:column; overflow:hidden;
    width:min(382px,calc(100% - 36px)); height:min(490px,56dvh); max-height:calc(100dvh - 36px);
    border:1px solid #a9bcb0; border-radius:14px; background:#f8faf7; color:var(--ink);
    box-shadow:0 12px 36px #12282040; font-size:13px; line-height:1.5;
}
.ma-window:has(.ma-history:empty) { height:auto; }
.ma-header {
    display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center;
    gap:9px; padding:10px 12px; border-bottom:1px solid var(--line); background:white;
    cursor:grab; touch-action:none; user-select:none;
}
.ma-header[data-dragging] { cursor:grabbing; }
.ma-header h2 { font-size:16px; }
.ma-window .ma-scope { margin-top:2px; overflow-wrap:anywhere; }
.ma-grip {
    width:9px; height:18px; opacity:.7;
    background:radial-gradient(circle,#526e61 1px,transparent 1.5px) 0 0 / 4.5px 6px;
}
.ma-scope,.ma-answer small,.ma-form small { color:var(--muted); font-size:11px; }
.ma-window button { font:inherit; }
.ma-header button,.ma-presets button {
    padding:4px 8px; border:1px solid var(--line); border-radius:7px; background:#fff; color:#335347;
}
.ma-header button { display:inline-flex; align-items:center; gap:4px; min-height:36px; font-size:12px; }
.ma-header button svg { width:12px; height:12px; }
.ma-header button:hover,.ma-presets button:hover:not(:disabled) { background:#e8f0e9; }
.ma-window button:disabled { opacity:.5; cursor:default; }
.ma-presets { display:flex; flex-wrap:wrap; gap:5px; padding:11px 12px; }
.ma-presets button { font-size:12px; }
.ma-history {
    display:grid; align-content:start; flex:1; min-height:0; gap:12px; position:relative;
    padding:10px 12px; overflow:auto; overscroll-behavior:contain; scrollbar-gutter:stable;
}
.ma-history:empty { display:none; }
.ma-message { display:grid; gap:6px; align-content:start; min-width:0; overflow-wrap:anywhere; }
.ma-question { justify-self:end; width:fit-content; max-width:86%; padding:6px 9px; border-radius:9px 9px 2px 9px; background:#deeee2; }
.ma-answer,.ma-wait,.ma-error { padding:8px 9px; border:1px solid var(--line); border-radius:8px; background:#fff; }
.ma-error { color:#8a402a; }
.ma-answer-head { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 9px; }
.ma-answer-head b { color:var(--green); }
.ma-answer h3 { margin:8px 0 3px; font-size:12px; color:var(--green); }
.ma-web-status { margin-top:6px; }
.ma-answer .ma-lead { margin:6px 0; font-size:13px; }
.ma-answer .ma-interpretation { margin:6px 0; padding:6px 8px; border-radius:5px; background:#edf4ec; }
.ma-sources { list-style:none; padding:0; margin:0; }
.ma-source { border-top:1px solid var(--line); padding:6px 0 4px; }
.ma-source div { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 7px; }
.ma-source div span { color:var(--muted); font-size:11px; }
.ma-source p,.ma-answer .ma-next,.ma-gap { margin:3px 0 0; }
.ma-source > small { display:block; }
.ma-source .ma-links { display:flex; flex-wrap:wrap; gap:2px 8px; }
.ma-links:empty { display:none; }
.ma-window a,.ma-more summary { color:var(--green); }
.ma-more summary { cursor:pointer; }
.ma-gap { padding-top:5px; border-top:1px solid var(--line); color:#785b2a; }
.ma-gap ul { margin:2px 0 3px; padding-inline-start:16px; }
.ma-form { display:grid; gap:4px; padding:9px 12px; margin-top:auto; border-top:1px solid var(--line); background:white; }
.ma-compose { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:6px; }
.ma-compose textarea { width:100%; padding:6px 8px; resize:none; font:inherit; }
.ma-compose button { min-height:36px; padding-inline:10px; border:0; border-radius:7px; font-weight:650; background:#1d3c30; color:white; }
.ma-compose button:hover:not(:disabled) { background:#2a513f; }
.ma-window :is(button,textarea,.ma-history,.ma-header):focus-visible { outline:2px solid #518466; outline-offset:-2px; }

@media (max-width:440px) {
    .ma-launcher,.ma-window { inset-inline-end:max(8px,env(safe-area-inset-right)); inset-block-end:max(8px,env(safe-area-inset-bottom)); }
    .ma-window { width:calc(100% - 16px); height:min(430px,52dvh); max-height:calc(100dvh - 16px); }
}
@media (max-width:900px) {
    .it-matrix { min-width:548px; }
    .it-matrix :is(th,td) { padding-inline:6px; }
    .it-matrix thead th:first-child,.it-matrix tbody th { width:90px; }
    .it-matrix-label { margin-inline-end:4px; }
}
@media (max-width:610px) {
    .it-scroll-note:not([hidden]) { display:block; margin:4px 0; }
}
.mr-scope label,.mr-settings label { display:flex; align-items:center; gap:4px; color:var(--mr-muted); font-size:11px; }
.mr-scope .mr-intraday-link { padding:4px 5px; font-size:11px; white-space:nowrap; }
.mr-settings summary,.mr-method summary { width:max-content; min-height:23px; align-content:center; cursor:pointer; }
.mr-settings label { margin:2px 0; }
.mr-settings-fields { margin:4px 0; }
.mr-industry-picker > summary {
    width:max-content;
    cursor:pointer;
    padding:4px 8px;
    border:1px solid var(--mr-line);
    border-radius:5px;
    color:var(--mr-text);
}
.mr-industry-picker { position:relative; }
.mr-industry-menu {
    position:absolute;
    z-index:9;
    inset-inline-start:0;
    width:min(330px, calc(100vw - 48px));
    max-height:min(400px, 65vh);
    overflow:auto;
    padding:8px;
    background:#1c2b25;
    border:1px solid #536b61;
    border-radius:8px;
    box-shadow:0 12px 28px #0c1712aa;
}
.mr-industry-menu label { display:grid; gap:4px; }
.mr-industry-menu input {
    padding:6px 8px;
    color:inherit;
    background:#14221d;
    border:1px solid #536b61;
    border-radius:5px;
}
.mr-industry-menu h3 { margin:8px 0 4px; font-size:11px; color:#a6bfb2; }
.mr-industry-option { display:grid; grid-template-columns:1fr auto; gap:5px; margin-top:4px; }
.mr-industry-option button:first-child { text-align:left; }
.mr-industry-option small { font-size:10px; color:inherit; opacity:.75; }
.mr-industry-option button[aria-pressed=true],.mr-industry-favorites button[aria-pressed=true] {
    color:#14221d;
    background:#e9d099;
    font-weight:700;
}
.mr-industry-favorites { display:flex; flex-wrap:wrap; gap:4px; }

.mr-workbench :is(button,select) {
    min-height:27px;
    border:1px solid #4b645a;
    border-radius:5px;
    padding:4px 7px;
    color:var(--mr-text);
    background:#20342d;
    font:inherit;
    font-size:11px;
    line-height:1.25;
}

.mr-workbench button { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; }
.mr-workbench select { max-width:100%; outline-offset:1px; }
.mr-workbench select[data-mr-industry] { max-width:min(42vw,144px); }
.mr-workbench button:hover:not(:disabled):not([aria-pressed="true"]) { background:#314a3c; }
.mr-workbench button[aria-pressed="true"] { color:#18231d; border-color:var(--mr-accent); background:var(--mr-accent); font-weight:700; }
.mr-workbench button[aria-pressed="true"]:hover { background:#f6db9e; }
.mr-workbench button:disabled { cursor:default; opacity:.4; }
.mr-workbench :is(button,select,summary,a,.mr-chart):focus-visible { outline:2px solid var(--mr-accent); outline-offset:2px; }

.mr-workbench .mr-tour-start { border-color:#857653; color:var(--mr-accent); background:#29382b; font-weight:650; }
.mr-tour-sound { display:inline-flex; align-items:center; gap:2px; height:12px; }
.mr-tour-sound i { width:2px; height:6px; background:currentColor; border-radius:1px; }
.mr-tour-sound i:nth-child(2) { height:12px; }
.mr-tour-sound i:nth-child(3) { height:8px; }
.mr-tour-player {
    display:grid; grid-template-columns:minmax(0,1fr) auto; gap:3px 12px;
    grid-template-areas:"title actions" "caption playback" "status playback";
    max-block-size:42dvh; overflow:auto; padding:7px 10px;
    border:1px solid #877753; border-radius:9px;
    background:#243a30; color:var(--mr-text); color-scheme:dark;
}
.mr-tour-top,.mr-tour-bottom { display:contents; }
.mr-tour-title,.mr-tour-controls { display:flex; align-items:center; gap:4px 7px; flex-wrap:wrap; }
.mr-tour-title { grid-area:title; font-size:14px; }
.mr-tour-top .mr-tour-controls { grid-area:actions; justify-self:end; }
.mr-tour-bottom .mr-tour-controls { grid-area:playback; justify-self:end; align-self:center; }
.mr-tour-title span { color:var(--mr-accent); font:650 11px var(--mono); }
.market-research .mr-tour-caption { grid-area:caption; color:var(--mr-reading); font-size:13px; line-height:1.45; }
.market-research .mr-tour-prompt { grid-area:status; color:var(--mr-accent); font-size:11px; line-height:1.4; }
.mr-tour-player button {
    min-height:27px; padding:3px 7px; border:1px solid #627a68;
    border-radius:4px; color:var(--mr-text); background:#304b3c; font-size:12px;
}
.mr-tour-player button:not(:disabled):hover { background:#435b49; }
.mr-tour-player button:focus-visible { outline:2px solid var(--mr-accent); outline-offset:2px; }
.mr-tour-player [data-mr-tour-next] { color:#1f2c22; border-color:var(--mr-accent); background:var(--mr-accent); font-weight:650; }
.mr-tour-player [data-mr-tour-next]:hover { background:#f6dfad; }
.mr-tour-tap {
    position:fixed; z-index:9; pointer-events:none;
    width:29px; height:29px; transform:translate(-50%,-50%);
    border:2px solid #ffdf94; border-radius:50%; background:#f8d27628;
    box-shadow:0 0 0 4px #201e1688;
    animation:mr-tour-click 400ms ease-out;
}
.mr-tour-tap::after {
    content:'演示点击'; position:absolute; top:-20px; left:14px;
    padding:1px 5px; border-radius:3px; color:#24291d; background:#ffdf94;
    white-space:nowrap; font-size:10px; font-weight:650;
}
@keyframes mr-tour-click {
    from { box-shadow:0 0 0 1px #ffe3a8ba; }
    to { box-shadow:0 0 0 10px #ffe3a800; }
}
@media (prefers-reduced-motion:reduce) { .mr-tour-tap { animation:none; } }
.market-research [data-mr-guided] { position:relative; outline:2px solid var(--mr-accent); outline-offset:2px; border-radius:5px; }
.market-research [data-mr-guided="联动位置"],.market-research [data-mr-guided="一起对照"] { outline-color:var(--mr-color-1); }
.market-research [data-mr-guided]::after {
    content:attr(data-mr-guided); position:absolute; top:-9px; right:6px; z-index:4; pointer-events:none;
    padding:1px 5px; border-radius:3px; background:var(--mr-accent); color:#202b22; font-size:10px; font-weight:680;
}
.market-research :is([data-mr-guided="联动位置"],[data-mr-guided="一起对照"])::after { background:var(--mr-color-1); }

.mr-layout-icon { display:grid; width:15px; height:12px; grid-template:repeat(2,1fr)/repeat(2,1fr); gap:1.5px; }
.mr-layout-icon i { border:1px solid currentColor; border-radius:1px; }
.mr-layout-focus { grid-template:repeat(3,1fr)/1.45fr 1fr; }
.mr-layout-focus i:first-child { grid-row:1/-1; }
.mr-layout-stack { grid-template:1.5fr 1fr/repeat(3,1fr); }
.mr-layout-stack i:first-child { grid-column:1/-1; }
.mr-layout-dual { grid-template-rows:1.6fr 1fr; }

.mr-wall {
    display:grid;
    height:clamp(465px,calc(100dvh - 172px),686px);
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:repeat(2,minmax(0,1fr));
    gap:8px;
}

.mr-wall[data-layout="focus"] { grid-template-columns:minmax(0,1.26fr) minmax(0,1fr); grid-template-rows:repeat(3,minmax(0,1fr)); }
.mr-wall[data-layout="focus"]>.mr-pane:first-child { grid-row:1/-1; }
.mr-wall[data-layout="stack"] {
    height:clamp(500px,calc(100dvh - 164px),720px);
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-template-rows:minmax(0,1.72fr) minmax(172px,1fr);
}
.mr-wall[data-layout="stack"]>.mr-pane:first-child { grid-column:1/-1; }
.mr-wall[data-layout="dual"] { grid-template-rows:minmax(0,1.34fr) minmax(0,1fr); }

.mr-pane,.mr-card {
    border:1px solid var(--mr-line);
    border-radius:7px;
    background:var(--mr-panel);
}

.mr-pane {
    container:research-chart / inline-size;
    position:relative;
    display:grid;
    grid-template-rows:auto minmax(0,1fr) auto;
    min-width:0;
    min-height:0;
    padding:7px 8px 5px;
    gap:2px;
}

.mr-pane>header,.mr-card>header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:5px 7px;
}

.mr-pane>header { display:grid; grid-template-columns:minmax(0,auto) minmax(0,1fr) auto; gap:2px 6px; }
.mr-pane>header h2 { font-size:13px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.mr-pane>header .mr-pane-tools { grid-column:3; }
.market-research .mr-pane-caption {
    min-width:0; text-align:right; font-size:11px; font-weight:600; color:var(--mr-muted);
    overflow:hidden; white-space:nowrap; text-overflow:ellipsis;
}
.mr-pane-caption[data-tone="up"] { color:#f2ba9e; }
.mr-pane-caption[data-tone="down"] { color:#a9d9c4; }
.mr-wall:is([data-layout="focus"],[data-layout="stack"])>.mr-pane:first-child {
    background:linear-gradient(146deg,#20372e,#192b25 55%); border-color:#527467;
}
.mr-wall:is([data-layout="focus"],[data-layout="stack"])>.mr-pane:first-child h2 { font-size:15px; }
@container research-chart (max-width:419px) {
    .mr-pane>header { grid-template-columns:minmax(0,1fr) auto; }
    .mr-pane>header .mr-pane-tools { grid-column:2; grid-row:1; }
    .mr-pane-caption { grid-row:2; grid-column:1/-1; }
}
.mr-pane select { width:55px; min-height:23px; flex:0 0 auto; padding:2px 3px; }
.mr-pane-tools { display:flex; align-items:center; gap:4px; flex:none; }
.mr-pane-tools details summary {
    cursor:pointer; color:var(--mr-muted); font-size:11px; white-space:nowrap;
    padding:3px 4px; border:1px solid transparent; border-radius:4px;
}
.mr-pane-tools details[open] summary,.mr-pane-tools details summary:hover { border-color:var(--mr-line); color:var(--mr-text); }
.mr-pane:has([data-mr-base][open]) { z-index:4; }
.mr-base-panel {
    position:absolute; top:33px; left:7px; right:7px; z-index:3; max-height:min(38vh,265px); overflow:auto;
    border:1px solid #6d897a; border-radius:6px; padding:8px; background:#152920;
    color:var(--mr-text); font-size:11px; box-shadow:0 8px 16px #09181285;
}
.mr-base-panel p { margin:4px 0; color:var(--mr-muted); }
.mr-base-panel ul { padding:0; margin:5px 0 0; list-style:none; }
.mr-base-panel li {
    display:grid; grid-template-columns:minmax(0,1fr) auto; gap:1px 8px;
    border-top:1px solid var(--mr-line); padding:3px 0;
}
.mr-base-panel li b { font-variant-numeric:tabular-nums; }
.mr-base-panel li small { font-size:10px; grid-column:1/-1; color:var(--mr-muted); }

.mr-chart {
    position:relative;
    display:grid;
    min-width:0;
    min-height:0;
    width:100%;
    height:100%;
    font-variant-numeric:tabular-nums;
}

.mr-chart svg { display:block; width:100%; height:100%; overflow:hidden; }
.mr-chart svg text { fill:var(--mr-muted); font:10px var(--mono); }
.mr-chart svg .mr-end-text { fill:var(--mr-text); font-size:10px; font-family:inherit; }
.mr-chart svg .mr-tick { stroke:#354c42; stroke-width:.75; }
.mr-chart svg .mr-zero { stroke:#b2a77f; stroke-width:1.1; }
.mr-chart svg .mr-zero-label { fill:var(--mr-accent); font-weight:700; }
.mr-chart svg .mr-selected-dot { stroke:var(--mr-panel); stroke-width:1.5; pointer-events:none; }
.mr-chart svg .mr-line { stroke-width:1.35; opacity:.72; stroke-linecap:round; stroke-linejoin:round; }
.mr-chart svg[data-mr-dense] .mr-line:not(.mr-active):not(.mr-curve-hover) { opacity:.37; stroke-width:1.1; }
.mr-chart svg .mr-major-line { stroke-width:2; opacity:.92; }
.mr-chart svg .mr-active { stroke-width:2.65; opacity:1; }
.mr-chart svg .mr-curve-hover { stroke-width:3.4; opacity:1; }
.mr-chart svg .mr-end-guide { fill:none; stroke-width:.72; opacity:.84; pointer-events:none; }
.mr-chart svg .mr-cursor { stroke:var(--mr-accent); stroke-width:1; stroke-dasharray:3 3; opacity:.75; pointer-events:none; }
.mr-chart.mr-over-curve,.mr-chart .mr-end-choice { cursor:pointer; }
.mr-chart .mr-end-choice rect { fill:transparent; }
.mr-chart .mr-end-choice:is(:hover,:focus-visible,[aria-pressed="true"]) rect { fill:#304c40; }
.mr-chart .mr-end-choice:focus-visible rect { stroke:var(--mr-choice-color); stroke-width:.8; }
.mr-chart svg .mr-end-choice:is(.mr-major-choice,[aria-pressed="true"]) .mr-end-text {
    fill:var(--mr-choice-color);
    font-weight:700;
}
.market-research .mr-chart-foot { color:var(--mr-muted); font-size:11px; line-height:1.25; overflow-wrap:anywhere; }
.mr-chart-foot:empty { display:none; }
.mr-empty { align-self:center; justify-self:center; text-align:center; padding:4px; color:var(--mr-muted); font-size:12px; }

.mr-tip {
    position:absolute;
    z-index:2;
    top:4px;
    left:clamp(0px,var(--mr-point),calc(100% - min(82%,205px)));
    width:min(82%,205px);
    pointer-events:none;
    border:1px solid #789184;
    border-radius:6px;
    padding:4px 6px;
    background:#11241fee;
    box-shadow:0 6px 18px #0616108a;
    color:var(--mr-text);
    font-size:10px;
    line-height:1.28;
}
.mr-tip.mr-tip-left { left:clamp(0px,calc(var(--mr-point) - min(82%,205px)),100%); }
.mr-tip-base { display:block; color:var(--mr-muted); }
.mr-tip ul { display:grid; list-style:none; margin:3px 0 0; padding:0; gap:2px; }
.mr-tip li { display:grid; grid-template-columns:6px minmax(0,1fr) auto; gap:3px 4px; align-items:center; }
.mr-tip li>i { width:5px; height:5px; border-radius:50%; }
.mr-tip li b { font:600 10px var(--mono); }

.mr-card { padding:10px 11px; }
.mr-card[data-mr-card="summary"] { border-color:#587162; }
.mr-brief-rows { margin:5px 0 0; }
.mr-brief-rows>div { display:grid; grid-template-columns:5em minmax(0,1fr); gap:6px; padding:6px 0; border-bottom:1px solid #496056; }
.mr-brief-rows dt { color:var(--mr-accent); font-weight:660; }
.mr-brief-rows dd { min-width:0; margin:0; }
.mr-brief-figures { display:flex; align-items:baseline; flex-wrap:wrap; gap:0 10px; font-size:13px; font-weight:600; }
.mr-brief-figures .mr-market-figure { font-variant-numeric:tabular-nums; font-size:15px; font-weight:740; white-space:nowrap; }
.mr-brief-rows small,.mr-summary-source small { display:block; color:var(--mr-muted); font-size:11px; line-height:1.45; }
.mr-brief-sample { color:var(--mr-muted); }
.mr-breadth-scope { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:2px 6px; }
.mr-breadth-switch { display:inline-flex; gap:3px; }
.mr-workbench .mr-brief-rows .mr-breadth-switch button { font-size:11px; padding:2px 5px; min-height:20px; }
.mr-workbench .mr-brief-rows .mr-breadth-switch button[aria-pressed="true"] { color:#222a22; background:var(--mr-accent); }
.mr-close-breadth { margin:3px 0; font-size:12px; font-variant-numeric:tabular-nums; line-height:1.55; }
.mr-brief-evidence-text>span { display:block; }
.mr-brief-evidence-text b { color:var(--mr-accent); }
.mr-brief-tools { display:flex; align-items:center; gap:5px; flex-wrap:wrap; margin-top:4px; }
.mr-workbench .mr-brief-tools button { min-height:24px; padding:3px 7px; border-color:#6d8978; }
.mr-workbench .mr-brief-tools [data-mr-brief-ai] { color:var(--mr-accent); }
.mr-brief-expand summary {
    display:grid; grid-template-columns:minmax(0,1fr) 10px; gap:1px 5px; padding:3px 0;
    list-style:none; cursor:pointer; border-radius:4px;
}
.mr-brief-expand summary::-webkit-details-marker { display:none; }
.mr-brief-expand summary::after {
    content:''; grid-area:1/2/2/3; align-self:center; width:5px; height:5px;
    border:solid var(--mr-muted); border-width:0 1px 1px 0; transform:rotate(45deg);
}
.mr-brief-expand[open]>summary::after { transform:rotate(225deg); }
.mr-brief-expand summary b,.mr-brief-review-empty b { color:var(--mr-accent); }
.mr-brief-expanded { display:grid; justify-items:start; gap:5px; margin:3px 0; padding:6px; border-left:1px solid #718e7e; }
.mr-brief-expanded ul { padding:0; margin:0; list-style:none; min-width:0; }
.mr-brief-expanded section { min-width:0; }
.mr-brief-expanded h3 { margin:0 0 3px; font-size:12px; }
.mr-brief-review,.market-research .mr-brief-review-empty { margin-top:4px; }
.mr-brief-review-empty { color:var(--mr-muted); }
.mr-brief .mr-brief-macro { margin-top:7px; padding-top:6px; border-top:1px solid var(--mr-line); color:var(--mr-reading); font-size:11px; }
.mr-brief-macro b { color:var(--mr-accent); margin-inline-end:4px; }
.mr-summary-detail,.mr-summary-background { margin-top:6px; border-top:1px solid var(--mr-line); }
.mr-core-overview { margin-top:7px; }
.mr-core-markets { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; margin-top:4px; }
.mr-core-markets button {
    display:grid; align-content:start; justify-content:stretch; min-width:0; gap:2px;
    padding:5px 4px; text-align:left; white-space:normal; background:#1a2e26;
}
.mr-core-markets button[aria-pressed="true"],.mr-core-markets button[aria-pressed="true"]:hover {
    border-color:var(--mr-accent); background:#314638; color:var(--mr-text);
}
.mr-core-markets button>span { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:2px; }
.mr-core-markets button strong { font-variant-numeric:tabular-nums; }
.mr-core-markets small { color:var(--mr-muted); font-size:9px; font-weight:500; overflow-wrap:anywhere; }
.mr-overview-sector-line { display:flex; flex-wrap:wrap; gap:4px 8px; margin-top:6px; color:var(--mr-muted); font-size:11px; }
.mr-overview-sector-line b { color:var(--mr-text); font-weight:600; }
.mr-core-sector-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(95px,1fr)); gap:3px; margin:4px 0; font-size:10px; }
.mr-core-sector-list span { padding:3px; background:#20372d; }
.mr-rank-link { border:0; padding:0; background:none; color:var(--mr-accent, #ecd292); font:inherit; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.mr-rank-link:hover { color:var(--mr-text); }
.mr-summary-detail>summary {
    display:grid; grid-template-columns:minmax(0,1fr) 10px; gap:2px 8px;
    padding:6px 4px 1px; cursor:pointer; list-style:none; border-radius:4px;
}
.mr-summary-detail>summary::-webkit-details-marker { display:none; }
.mr-summary-detail>summary:hover { background:#294237; }
.mr-summary-detail>summary:focus-visible { outline:2px solid var(--mr-accent); outline-offset:1px; }
.mr-summary-detail>summary::after {
    content:''; grid-area:1/2/3/3; align-self:center; width:5px; height:5px;
    border:solid var(--mr-muted); border-width:0 1px 1px 0; transform:rotate(45deg);
}
.mr-summary-detail[open]>summary::after { transform:rotate(225deg); }
.mr-summary-label { display:flex; align-items:center; flex-wrap:wrap; gap:4px 6px; color:var(--mr-text); font-size:12px; }
.mr-summary-label small { color:var(--mr-muted); font-size:11px; }
.mr-summary-detail[data-mr-summary-kind="clues"] .mr-summary-label>strong { color:var(--mr-color-1); }
.mr-summary-detail[data-mr-summary-kind="follow-up"] .mr-summary-label>strong { color:var(--mr-accent); }
.mr-summary-preview { grid-column:1; color:var(--mr-reading); font-size:13px; line-height:1.45; overflow-wrap:anywhere; }
.mr-summary-badge { padding:0 5px; border:1px solid #887954; border-radius:4px; color:var(--mr-accent); font-size:10px; }
.mr-core-head { display:flex; justify-content:space-between; flex-wrap:wrap; gap:4px 10px; }
.mr-summary-block { margin:5px 0 2px; padding:5px 7px; background:#1a2d25; border-radius:5px; }
.mr-outlook-facts { display:grid; grid-template-columns:max-content minmax(0,1fr); gap:5px 7px; margin:0; font-size:11px; line-height:1.45; }
.mr-outlook-facts dt { color:var(--mr-muted); font-weight:620; }
.mr-outlook-facts dd { margin:0; overflow-wrap:anywhere; }
.mr-major-events .me-meta { color:var(--mr-muted); font-size:10px; }
.mr-major-events .me-reaction { color:#d5e9d8; }
.mr-summary-block p { font-size:11px; line-height:1.4; }
.mr-clue-notes {
    display:grid; gap:2px; margin:4px 6px 6px; padding-top:4px;
    border-top:1px solid #3d5548; font-size:11px; line-height:1.4;
}
.mr-clue-notes>div { display:grid; grid-template-columns:4.5em minmax(0,1fr); gap:3px; }
.mr-clue-notes dt { color:var(--mr-muted); font-weight:620; }
.mr-clue-notes dd { margin:0; color:var(--mr-text); overflow-wrap:anywhere; }
.mr-summary-topic .mr-clue-notes { margin-inline:0; }
.mr-summary-block ul { margin:4px 0 0; padding:0; list-style:none; }
.mr-summary-source { padding:4px 0; font-size:11px; line-height:1.4; overflow-wrap:anywhere; }
.mr-summary-source + .mr-summary-source { border-top:1px solid var(--mr-line); }
.mr-summary-source b { font-weight:590; }
.mr-card .mr-summary-background { margin-top:5px; }
.mr-summary-topic+.mr-summary-topic { margin-top:5px; }
.mr-signals { margin:5px 0; border:1px solid #476152; border-radius:5px; overflow:hidden; }
.mr-signal + .mr-signal { border-top:1px solid #3d5548; }
.mr-signal { position:relative; background:#1c3228; }
.mr-signal summary {
    display:grid; grid-template-columns:minmax(0,1fr) auto 6px; align-items:start; gap:3px 6px;
    padding:4px 6px 0; cursor:pointer; font-size:11px; list-style:none;
}
.mr-signal summary::-webkit-details-marker { display:none; }
.mr-signal summary::after {
    content:""; width:4px; height:4px; margin-top:5px; border-right:1px solid; border-bottom:1px solid;
    color:var(--mr-muted); transform:rotate(-45deg);
}
.mr-signal details[open] summary::after { transform:rotate(45deg); }
.mr-signal summary span small { display:block; color:#c5d9ca; }
.mr-signal summary small { font-size:10px; }
.mr-signal summary b { color:var(--mr-accent); white-space:nowrap; text-align:right; font-variant-numeric:tabular-nums; }
.mr-signal details[open] summary,.mr-signal summary:hover { background:#284237; }
.mr-card .mr-signal .mr-signal-release { margin:1px 6px 4px; line-height:1.25; }
.mr-signal-history { padding:1px 6px 4px; background:#243b31; }
.mr-signal-history ul { padding:0; margin:3px 0 0; list-style:none; font-size:10px; }
.mr-signal-history li { padding:2px 0; border-top:1px solid #415d4d; }
.mr-signal-history li small { display:block; font-size:10px; color:var(--mr-muted); }
.mr-theme-session { margin-top:3px; padding:4px 6px; background:#243b31; border-radius:4px; }
.mr-theme-session ul { list-style:none; padding:0; margin:3px 0 0; }
.mr-theme-session li { font-size:11px; }
.mr-theme-session li small { color:var(--mr-muted); margin-left:5px; font-size:10px; }
.mr-card[data-mr-card="macro"] { background:var(--mr-panel-alt); }
.mr-card>header { margin-bottom:6px; }
.mr-card>header h2 { flex:1; }
.mr-card .mr-analysis-toggle {
    width:100%; min-height:25px; padding:2px 0; border:0; border-radius:4px;
    color:var(--mr-text); background:transparent; font-size:14px; font-weight:680;
    justify-content:space-between;
}
.mr-card .mr-analysis-toggle::after {
    content:""; width:6px; height:6px; margin-right:3px;
    flex:none; border-right:1.5px solid var(--mr-muted); border-bottom:1.5px solid var(--mr-muted);
    transform:rotate(-45deg);
}
.mr-card .mr-analysis-toggle[aria-expanded="true"]::after { transform:translateY(-2px) rotate(45deg); }
.mr-card[data-expanded="false"] { padding-top:4px; padding-bottom:4px; }
.mr-card[data-expanded="false"]>header { margin-bottom:0; }
.mr-card[data-expanded="false"] .mr-analysis-moves { display:none; }
.mr-card .mr-analysis-moves { display:flex; flex:0 0 auto; gap:3px; }
.mr-card .mr-analysis-moves button { min-height:20px; width:21px; justify-content:center; padding:0; }
.mr-card p { color:var(--mr-text); font-size:12px; line-height:1.45; margin-top:5px; }
.mr-card :is(.mr-muted,.mr-meta,.mr-insight-scope),.mr-method { color:var(--mr-muted); font-size:11px; line-height:1.4; }
.mr-card .mr-insight-title {
    margin:5px 0 7px;
    border-left:2px solid #c6dda1;
    padding:2px 0 2px 8px;
    font-size:clamp(13px,1.07vw,16px);
    font-weight:670;
    line-height:1.32;
}
.mr-macro-meta { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:4px; color:var(--mr-muted); font-size:11px; }
.mr-source-state { display:inline-flex; gap:4px; align-items:center; border:1px solid #536b59; border-radius:4px; padding:1px 4px; color:#d2e5c1; }
.mr-source-state::before { content:""; width:5px; height:5px; border-radius:50%; background:#a9c492; }
.mr-source-state:is([data-state="stale"],[data-state="loading"]) { color:var(--mr-accent); }
.mr-source-state:is([data-state="stale"],[data-state="loading"])::before { background:var(--mr-accent); }
.mr-source-state[data-state="unavailable"] { color:var(--mr-muted); }
.mr-source-state[data-state="unavailable"]::before { background:#809188; }

.mr-facts { margin:6px 0 5px; border:1px solid #405a4c; border-radius:6px; background:#162822; }
.mr-fact { font-size:11px; line-height:1.3; }
.mr-fact+.mr-fact { border-top:1px solid #384f42; }
.mr-fact summary {
    display:grid;
    grid-template-columns:26px minmax(0,1fr) minmax(38px,34%) 8px;
    align-items:center;
    gap:4px;
    min-height:30px;
    list-style:none;
    padding:5px 6px;
    cursor:pointer;
}
.mr-fact summary::-webkit-details-marker { display:none; }
.mr-fact summary::after { content:"›"; color:var(--mr-muted); font-size:13px; text-align:center; transform:rotate(90deg); }
.mr-fact[open] summary::after { transform:rotate(-90deg); }
.mr-fact summary:hover { background:#2b4135; }
.mr-fact summary:focus-visible { outline-offset:-1px; }
.mr-fact strong { white-space:nowrap; color:var(--mr-muted); font-weight:630; }
.mr-fact summary b { font-size:12px; font-weight:675; overflow-wrap:anywhere; }
.mr-fact summary span { color:var(--mr-muted); font-size:10px; overflow-wrap:anywhere; }
.mr-fact-reading { display:grid; gap:1px; min-width:0; }
.mr-fact-reading b { color:var(--mr-text); }
.mr-fact-reading .mr-fact-metric { white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.mr-fact summary span[data-trend="rising"] { color:#f9b39d; }
.mr-fact summary span[data-trend="falling"] { color:#a1dec0; }
.mr-fact summary span[data-trend="mixed"] { color:var(--mr-accent); }
.mr-fact-source { display:block; color:#aab9ac; font-size:9px; line-height:1.2; margin-top:1px; }
.mr-fact-source[data-source="partial"] { color:var(--mr-accent); }
.mr-fact-missing { display:grid; grid-template-columns:26px 1fr; align-items:center; gap:4px; min-height:30px; padding:5px 6px; color:var(--mr-muted); }
.mr-fact-detail { padding:2px 7px 6px 36px; border-top:1px dashed #4a6053; }
.mr-fact-detail p { margin:3px 0; font-size:11px; }
.mr-fact-detail small,.mr-evidence small,.mr-pulse small,.mr-market-breadth small {
    display:block; color:var(--mr-muted); font-size:10px; line-height:1.38; margin-top:2px;
}
.mr-fact-trend { margin:4px 0 0; padding:0; list-style:none; }
.mr-fact-trend li { display:flex; flex-wrap:wrap; gap:3px 5px; margin-top:2px; color:var(--mr-muted); }
.mr-fact-trend b { color:var(--mr-text); font-weight:600; }
.mr-fact-trend a { white-space:nowrap; }
.mr-card .mr-inline-details { margin-top:4px; color:var(--mr-muted); font-size:11px; }
.mr-inline-details summary,.mr-more-evidence summary { width:max-content; max-width:100%; cursor:pointer; }
.mr-inline-details p { margin-top:3px; font-size:11px; }
.mr-inline-details .mr-fact-detail { padding-inline-start:4px; }

.mr-compare { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:5px; }
.mr-compare>div { display:grid; gap:2px; border:1px solid #415e4e; border-radius:5px; padding:4px 6px; background:#21362d; }
.mr-compare span { color:var(--mr-muted); font-size:10px; }
.mr-compare b { font:675 clamp(14px,1.2vw,19px)/1.2 var(--mono); }
.mr-card [data-tone="up"] { color:#f9b39d; }
.mr-card [data-tone="down"] { color:#a1dec0; }
.mr-daily-markets { display:flex; flex-wrap:wrap; gap:4px; padding:0 0 7px; }
.mr-daily-markets button { flex:1 1 auto; justify-content:center; color:var(--mr-market-color); }
.mr-daily-markets button[aria-pressed="true"],
.mr-daily-markets button[aria-pressed="true"]:hover { background:var(--mr-market-color); border-color:var(--mr-market-color); }
.mr-card .mr-day-judgment { margin:3px 0 6px; font-size:14px; font-weight:700; letter-spacing:.01em; }
.mr-card .mr-index-note { color:var(--mr-muted); background:#242c3b; padding:6px; border-radius:4px; }
.mr-selected-day { stroke:var(--mr-accent); stroke-width:1; stroke-dasharray:3 3; opacity:.66; pointer-events:none; }
.mr-daily-nav,.mr-daily-nav>div { display:flex; align-items:center; gap:4px; }
.mr-daily-nav { justify-content:space-between; flex-wrap:wrap; margin-bottom:6px; }
.mr-daily-nav>span { color:var(--mr-muted); font-size:11px; }
.mr-daily-nav button { padding:0; width:25px; justify-content:center; font-size:15px; }
.mr-daily-kpis>div:first-child { border-color:#627b67; }
.mr-daily-market { margin-top:6px; padding:4px 6px; border-left:2px solid #79997e; background:#20352c; }
.mr-daily-market p { margin:1px 0; }
.mr-breadth-bar { display:flex; overflow:hidden; border-radius:3px; height:4px; margin:4px 0; }
.mr-breadth-bar i:nth-child(1) { background:#f9b39d; }
.mr-breadth-bar i:nth-child(2) { background:#899a91; }
.mr-breadth-bar i:nth-child(3) { background:#a1dec0; }
.mr-weight { margin:7px 0 4px; padding:7px; border:1px solid #465d50; border-radius:6px; background:#14251f; }
.mr-weight h3 { margin:0; font-size:12px; color:var(--mr-accent); }
.mr-weight p { margin:3px 0 0; }
.mr-weight ul,.mr-daily-global ul { display:grid; gap:3px; margin:4px 0 0; padding:0; list-style:none; }
.mr-weight li,.mr-daily-global li { display:flex; align-items:baseline; justify-content:space-between; gap:5px; font-size:11px; }
.mr-weight li small,.mr-daily-global li small { color:var(--mr-muted); font-size:10px; }
.mr-weight li small { display:block; }
.mr-weight li b,.mr-daily-global li b { flex:none; font-family:var(--mono); }
.mr-daily-global li span { flex:1; }
.mr-daily-sectors,.mr-daily-evidence { margin-top:8px; padding-top:7px; border-top:1px solid var(--mr-line); }
.mr-daily-sectors h3,.mr-daily-evidence h3 { margin:0 0 4px; font-size:12px; }
.mr-ranked-sectors { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; }
.mr-ranked-sectors>div { border:1px solid #415b4e; border-radius:5px; padding:4px; background:#21352d; }
.mr-ranked-sectors>div>span,.mr-ranked-sectors li small { color:var(--mr-muted); font-size:10px; }
.mr-daily-sectors ul,.mr-daily-evidence ul { list-style:none; margin:2px 0 0; padding:0; }
.mr-daily-sectors li { display:flex; gap:3px; justify-content:space-between; align-items:baseline; font-size:11px; }
.mr-daily-sectors li :is(span,a) { min-width:0; overflow-wrap:anywhere; }
.mr-daily-sectors li b { flex:none; font:600 11px var(--mono); }
.mr-daily-evidence li { border-top:1px solid #344c41; padding:5px 0; display:grid; gap:2px; overflow-wrap:anywhere; }
.mr-daily-evidence li:first-child { margin-top:4px; }
.mr-daily-evidence li strong { font-size:11px; }
.mr-daily-evidence li small,.mr-daily-evidence li p { color:var(--mr-muted); font-size:10px; margin:0; }
.mr-event-tag { width:max-content; max-width:100%; padding:1px 4px; border-radius:3px; background:#304738; color:var(--mr-accent); font-size:10px; }
.mr-pulse { margin-top:5px; padding:4px 6px; border-left:1px solid #91a785; background:#1c3128; font-size:11px; }
.mr-pulse strong { color:var(--mr-accent); font-size:11px; }
.mr-pulse p { margin-top:2px; }
.mr-market-breadth :is(span,small) { font-variant-numeric:tabular-nums; }

.mr-research-link { border-left:2px solid #688b74; background:#1d332a; padding:4px 6px; }
.mr-research-link>span,.mr-card .mr-next-lead b { color:var(--mr-accent); font-size:11px; font-weight:650; }
.mr-research-link p { margin-top:2px; }
.mr-card .mr-context-reading { color:var(--mr-muted); font-size:11px; }
.mr-context-reading b { color:var(--mr-text); }
.mr-card .mr-next-lead { line-height:1.45; }
.mr-evidence { list-style:none; margin:4px 0 0; padding:0; font-size:11px; }
.mr-evidence>li { border-top:1px solid var(--mr-line); padding:5px 0; overflow-wrap:anywhere; }
.mr-evidence>li:last-child { padding-bottom:0; }
.mr-evidence li p { margin-top:2px; font-size:11px; }
.mr-more-evidence { color:var(--mr-muted); font-size:11px; }
.mr-more-evidence:not([open]) { margin-top:3px; }
.mr-method { margin-top:4px; }
.mr-method p { margin:3px 0; }
.mr-source-links { display:flex; flex-wrap:wrap; gap:3px 8px; padding-top:4px; }

@container market-research (max-width:850px) {
    .mr-workbench[data-side] { grid-template-columns:minmax(0,1fr); grid-template-areas:"latest" "brief" "board" "highlights" "insights"; grid-template-rows:auto; }
    .mr-analysis-rail { display:contents; }
    .mr-insights { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .mr-insights .mr-card[data-expanded="true"] { grid-column:1/-1; }
}

@container market-research (max-width:675px) {
    .mr-wall[data-layout="stack"] {
        height:auto; grid-template-columns:repeat(2,minmax(0,1fr));
        grid-template-rows:315px 212px; grid-auto-rows:212px;
    }
}

@container market-research (max-width:560px) {
    .mr-insights { grid-template-columns:minmax(0,1fr); }
    .mr-wall[data-layout] { height:auto; grid-template-columns:minmax(0,1fr); grid-template-rows:235px; grid-auto-rows:211px; }
    .mr-wall[data-layout="focus"]>.mr-pane:first-child { grid-row:auto; }
    .mr-wall[data-layout]>.mr-pane:first-child { min-height:235px; }
    .mr-wall[data-layout="stack"] { grid-template-rows:286px; }
    .mr-brief { padding:9px; }
    .mr-brief-rows>div { grid-template-columns:5.25em minmax(0,1fr); gap:5px; }
    .mr-status { justify-content:flex-start; }
    .mr-tour-player { grid-template-areas:"title title" "caption caption" "status status" "actions playback"; }
    .mr-tour-top .mr-tour-controls { justify-self:start; }
}

@container market-research (max-width:400px) {
    .mr-toolbar-main h1 { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
    .mr-settings-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
    .mr-settings-fields label { display:grid; min-width:0; gap:2px; }
    .mr-settings-fields select[data-mr-industry] { max-width:100%; }
}

@media (pointer:coarse) {
    .mr-workbench :is(select,button,summary) { min-height:36px; }
    .mr-card .mr-analysis-moves button { min-height:32px; width:32px; }
}
.mr-industry-details { display:grid; gap:7px; }
.mr-industry-details h4,.mr-industry-details p { margin:0; overflow-wrap:anywhere; }
.mr-industry-details h4 { font-size:13px; color:var(--mr-accent); }
.mr-industry-steps,.mr-industry-records { list-style:none; margin:0; padding:0; }
.mr-industry-steps { display:grid; gap:5px; }
.mr-industry-steps > li { border-left:2px solid #698578; padding:5px 8px; background:#ffffff07; }
.mr-industry-steps li > div,.mr-industry-group > summary { display:flex; justify-content:space-between; gap:6px; align-items:baseline; }
.mr-industry-steps p + p,.mr-industry-record p + p { margin-top:4px; }
.mr-industry-group { border-top:1px solid #ffffff1a; padding-top:4px; }
.mr-industry-group > summary span,.mr-industry-records small { color:var(--mr-muted); font-size:11px; }
.mr-industry-records details { padding:4px 0; }
.mr-industry-record { display:grid; gap:3px; padding:5px 7px 6px; border-left:1px solid #698578; }
.mr-industry-tag { color:var(--mr-muted); font-size:10px; padding:1px 5px; border:1px solid #ffffff26; border-radius:4px; flex-shrink:0; }
.mr-industry-tag[data-current] { color:var(--mr-accent); }
.mr-industry-ai { display:grid; justify-items:start; gap:5px; padding:6px; border-inline-start:2px solid var(--mr-accent); }
.mr-industry-search {
    display:grid; grid-template-columns:minmax(0,1fr) auto; gap:5px; align-items:end;
    padding:6px; border:1px solid var(--mr-line); border-radius:5px;
}
.mr-industry-search label { display:grid; gap:3px; min-width:0; color:var(--mr-muted); font-size:11px; }
.mr-industry-search :is(p,[data-mr-material-results]) { grid-column:1/-1; min-width:0; }
.mr-industry-search input {
    min-width:0; width:100%; padding:4px 6px; min-height:27px; background:#14241e; color:var(--mr-text);
    border:1px solid #587264; border-radius:4px; font-size:12px;
}
.mr-industry-search input:focus-visible,.mr-industry-ai:focus-visible { outline:2px solid var(--mr-accent); outline-offset:2px; }
