/* markets570.css — labs.llc/markets/ v570, jewelry edition (page-owned; loads after the room's site/micro/toast/dark sheets and edits
   none of them). Photographic hero, sticky status line, the live tape, the five rebuilt desks, the filings wire, the door toolbar and
   jewelry cards, the all-rooms panel. Colours come from the house variables (--ink, --paper, --line, --accent), which dark.css flips. */
body.mr570 [hidden] { display: none !important; }
body.mr570 { --mr-acc: #047857; --mr-r: 12px; --mr-card: #fff; --mr-soft: #F4F5F6; --mr-panel: rgba(255,255,255,.98); --mr-shadow: 0 10px 30px rgba(17,22,28,.14); --mr-g: clamp(16px, 2.82vw, 36px); --mr-up: #15803D; --mr-dn: #BE123C; }
html[data-dark] body.mr570 { --mr-acc: #34D399; --mr-card: #131A21; --mr-soft: #1A2129; --mr-panel: rgba(23,30,38,.98); --mr-shadow: 0 10px 30px rgba(0,0,0,.5); --mr-up: #4ADE80; --mr-dn: #F87171; }
body.mr570 main { overflow-x: clip; }

/* filing families (the /filings/ wire's own families) */
.mr-f--events { --c: #2563EB; } .mr-f--holdings { --c: #64748B; } .mr-f--quarterly { --c: #0EA5E9; } .mr-f--stakes { --c: #DC2626; } .mr-f--deals { --c: #9333EA; }
.mr-f--proxy { --c: #CA8A04; } .mr-f--ipo { --c: #16A34A; } .mr-f--annual { --c: #0891B2; } .mr-f--exits { --c: #BE123C; } .mr-f--late { --c: #F59E0B; } .mr-f--other { --c: #94A3B8; }
.mr-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c, #94A3B8); flex: none; }

/* ---------- photographic hero ---------- */
.mr-hero { position: relative; min-height: min(84vh, 720px); display: flex; align-items: flex-end; background: #11161C; overflow: hidden; color: #fff; }
.mr-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s cubic-bezier(.22,.61,.36,1); }
.mr-hero__photo.is-in { opacity: 1; }
.mr-hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,18,23,.94) 0%, rgba(14,18,23,.86) 30%, rgba(14,18,23,.45) 66%, rgba(14,18,23,.12) 100%), linear-gradient(0deg, rgba(14,18,23,.9) 0%, rgba(14,18,23,0) 42%); }
@media (max-width: 900px) { .mr-hero__scrim { background: linear-gradient(90deg, rgba(14,18,23,.94), rgba(14,18,23,.84)), linear-gradient(0deg, rgba(14,18,23,.9), rgba(14,18,23,0) 42%); } }
.mr-hero__in { position: relative; z-index: 1; width: 100%; padding-top: clamp(40px, 7vw, 92px); padding-bottom: 26px; }
.mr-hero__in > .roomnav { float: right; margin: 0 0 0 1.5rem; }
.mr-hero .roomnav__a { color: rgba(255,255,255,.72); }
.mr-hero .roomnav__o { border-color: rgba(255,255,255,.3); color: #fff; background: rgba(14,18,23,.35); }
@media (hover: hover) { .mr-hero .roomnav__a:hover { color: #fff; } .mr-hero .roomnav__a:hover .roomnav__o { border-color: #fff; } }
.mr-hero .eyebrow { color: rgba(255,255,255,.7); margin: 0; }
.mr-hero .roomstamp { color: #fff; }
.mr-h { font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 1.02; font-weight: 300; letter-spacing: -.035em; margin: .55rem 0 0; max-width: 16ch; color: #fff; }
.mr-h em { font-style: normal; border-bottom: 3px solid #34D399; }
.mr-hero__lede { color: rgba(255,255,255,.8); max-width: 58ch; margin: 1.1rem 0 1.3rem; font-weight: 300; font-size: 1.05rem; line-height: 1.55; }
.mr-hero__lede a { color: #fff; }
.mr-hero__acts { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin-bottom: 1rem; }
.mr-hero__acts .btn { border-radius: var(--mr-r); }
.mr-ghost { display: inline-flex; align-items: center; min-height: 42px; padding: 0 1rem; border: 1px solid rgba(255,255,255,.34); border-radius: var(--mr-r); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: .86rem; text-decoration: none; cursor: pointer; }
.mr-ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.mr-hq { display: flex; align-items: center; gap: .5rem; max-width: 560px; padding: 4px 4px 4px 14px; border-radius: var(--mr-r); background: rgba(255,255,255,.96); color: #1E262B; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.mr-hq svg { width: 18px; height: 18px; flex: none; opacity: .6; }
.mr-hq input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: .95rem; color: inherit; padding: .55rem 0; outline: none; }
.mr-hq button { border: 0; border-radius: 9px; background: #1E262B; color: #fff; font: inherit; font-size: .85rem; font-weight: 600; padding: .6rem 1.1rem; cursor: pointer; }
.mr-hero__cap { position: absolute; right: var(--mr-g); top: 1rem; z-index: 2; max-width: 46ch; text-align: right; font-size: .62rem; font-weight: 600; letter-spacing: .06em; color: rgba(255,255,255,.82); text-shadow: 0 1px 3px rgba(0,0,0,.9); margin: 0; }
.mr-hero__cap a { color: inherit; }
.mr-ticker { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.18); }
.mr-stat { padding: .85rem .9rem 0 0; }
.mr-stat b { display: block; font-size: clamp(1.2rem, 2.1vw, 1.7rem); font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mr-stat span { display: block; font-size: .7rem; color: rgba(255,255,255,.62); margin-top: .15rem; }
@media (max-width: 860px) { .mr-hero__cap { top: auto; bottom: .45rem; left: var(--mr-g); right: var(--mr-g); max-width: none; text-align: left; font-size: .56rem; } .mr-hero__in { padding-bottom: 46px; } .mr-hero__in > .roomnav { float: none; margin: 0 0 1rem; justify-content: space-between; } }
@media (max-width: 640px) {
  .mr-hero { min-height: 0; } .mr-hero__in { padding-top: 22px; padding-bottom: 50px; } .mr-dock__id b { font-size: .8rem; }
  .mr-h { font-size: 2.35rem; } .mr-hero__lede { font-size: .95rem; margin: .8rem 0 1rem; }
  .mr-ticker { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mr-stat:last-child { display: none; }
  .mr-hero__acts .mr-ghost:not(:first-of-type) { display: none; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .mr-hero { min-height: 0; } .mr-hero__in { padding-top: 16px; padding-bottom: 40px; }
  .mr-h { font-size: 2rem; } .mr-hero__lede { font-size: .9rem; margin: .5rem 0 .8rem; max-width: 80ch; }
  .mr-ticker { margin-top: .9rem; } .mr-stat { padding-top: .5rem; } .mr-stat b { font-size: 1.15rem; }
}
@media (hover: none) { #mr-hero-next { display: none; } }
@media (prefers-reduced-motion: reduce) { .mr-hero__photo { transition: none; } }

/* ---------- sticky status line ---------- */
.mr-dock { position: sticky; top: var(--nav-h, 74px); z-index: 55; background: var(--paper); border-bottom: 1px solid var(--line); }
.mr-dock__in { display: flex; align-items: center; gap: .8rem; min-height: 48px; padding-block: 4px; }
.mr-dock__id { margin: 0; min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.25; }
.mr-dock__id b { font-size: .88rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: .45rem; }
.mr-dock__id > span { font-size: .7rem; color: var(--ink-55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-dock__nav { display: flex; gap: 1.1rem; flex: none; }
.mr-dock__nav a { font-size: .76rem; color: var(--ink-77); text-decoration: none; }
.mr-dock__nav a:hover { color: var(--mr-acc); }
.mr-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: mr-pulse 2.4s infinite; flex: none; }
@keyframes mr-pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.45); } 70% { box-shadow: 0 0 0 7px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
@media (prefers-reduced-motion: reduce) { .mr-live { animation: none; } }
@media (max-width: 760px) { .mr-dock__nav { display: none; } }
@media (max-width: 900px) { .mr-dock { top: var(--nav-h, 64px); } }

/* ---------- section heads ---------- */
body.mr570 .band.mr-feat, body.mr570 .band.mr-latest, body.mr570 .band.mr-doors, body.mr570 .band.mr-rooms, body.mr570 .band.mr-ethos { padding-block: clamp(36px, 5vw, 64px); }
body.mr570 .band.mr-latest, body.mr570 .band.mr-rooms { padding-top: 0; }
.mr-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.mr-sechead .d2 { margin: .3rem 0 0; }
.mr-sechead__s { margin: 0; font-size: .78rem; color: var(--ink-55); }
.mr-sechead__a { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; display: inline-flex; gap: .4rem; }
.mr-sechead__a:hover { color: var(--mr-acc); }

/* ---------- featured desks ---------- */
.mr-fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .mr-fgrid { grid-template-columns: minmax(0, 1fr); } }
.mr-fcard { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--mr-card); box-shadow: var(--mr-shadow); overflow: hidden; }
.mr-fcard::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--mr-acc); }
.mr-fcard--stocks::before { background: linear-gradient(90deg, #047857, #16A34A, #BE123C); } .mr-fcard--rates::before { background: linear-gradient(90deg, #1D4ED8, #0EA5E9); }
.mr-fcard--filings::before { background: linear-gradient(90deg, #7E22CE, #DC2626, #2563EB); } .mr-fcard--charity::before { background: linear-gradient(90deg, #CA8A04, #16A34A); } .mr-fcard--jobs::before { background: linear-gradient(90deg, #B91C1C, #1D4ED8); }
.mr-fcard__k { display: inline-flex; align-items: center; gap: .45rem; font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-55); }
.mr-fcard h3 { margin: .4rem 0 .35rem; font-size: clamp(1.35rem, 2.3vw, 1.75rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.mr-fcard h3 a { color: var(--ink); text-decoration: none; } .mr-fcard h3 a:hover { color: var(--mr-acc); }
.mr-fcard__h p { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--ink-77); }
.mr-fstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mr-fs { padding: 10px 12px; border-radius: 10px; background: var(--mr-soft); min-width: 0; }
.mr-fs b { display: block; font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.mr-fs span { display: block; font-size: .66rem; line-height: 1.3; color: var(--ink-55); }
@media (max-width: 520px) { .mr-fstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mr-bar { display: flex; height: 10px; border-radius: 6px; overflow: hidden; gap: 2px; background: var(--mr-soft); }
.mr-bar__s { display: block; background: var(--c); min-width: 3px; }
.mr-legend { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .72rem; color: var(--ink-77); margin-top: -6px; }
.mr-legend span { display: inline-flex; align-items: center; gap: .35rem; } .mr-legend b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.mr-tape { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.mr-tk { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; text-decoration: none; color: var(--ink); min-width: 0; }
.mr-tk b { font-size: .78rem; } .mr-tk span { font-size: .72rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.mr-tk svg { width: 100%; height: 20px; } .mr-tk polyline { fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.mr-tk.is-up span { color: var(--mr-up); } .mr-tk.is-up polyline { stroke: var(--mr-up); }
.mr-tk.is-dn span { color: var(--mr-dn); } .mr-tk.is-dn polyline { stroke: var(--mr-dn); }
.mr-tk:hover { border-color: var(--ink-55); }
@media (max-width: 520px) { .mr-tape { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mr-tk:nth-child(n+4) { display: none; } }
.mr-li { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mr-li li { border-bottom: 1px solid var(--line); }
.mr-li a { display: block; padding: 9px 0; text-decoration: none; color: var(--ink); }
.mr-li a:hover .mr-li__t { color: var(--mr-acc); }
.mr-li__t { display: block; font-size: .9rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mr-li__m { display: flex; align-items: center; gap: .4rem; font-size: .7rem; color: var(--ink-55); margin-top: 3px; }
.mr-fcard__f { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-top: auto; font-size: .72rem; color: var(--ink-55); }
.mr-fcard__f .btn { border-radius: 10px; }

/* ---------- latest strip ---------- */
.mr-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mr-seg button { border: 0; background: none; font: inherit; font-size: .78rem; padding: .5rem .85rem; color: var(--ink-77); cursor: pointer; }
.mr-seg button + button { border-left: 1px solid var(--line); }
.mr-seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.mr-lgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1100px) { .mr-lgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .mr-lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .mr-lgrid { grid-template-columns: minmax(0, 1fr); } }
.mr-lgrid__wait { grid-column: 1 / -1; color: var(--ink-55); font-size: .85rem; }
.mr-lc a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 12px 14px 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--mr-card); text-decoration: none; color: var(--ink); position: relative; box-sizing: border-box; }
.mr-lc a::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c, #94A3B8); }
.mr-lc a:hover { border-color: var(--ink-55); }
.mr-lc__k { display: flex; align-items: center; gap: .4rem; font-size: .64rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-55); }
.mr-lc__k em { font-style: normal; margin-left: auto; font-weight: 600; letter-spacing: 0; text-transform: none; }
.mr-lc__t { font-size: .88rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mr-lc__o { font-size: .7rem; color: var(--ink-55); margin-top: auto; }
.mr-more { display: flex; justify-content: center; margin-top: 14px; }

/* ---------- door toolbar ---------- */
.mr-tb { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--mr-soft); margin-bottom: 8px; }
.mr-tb__q { display: flex; align-items: center; gap: .45rem; flex: 1 1 170px; min-width: 0; padding: 0 12px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--mr-card); }
.mr-tb__q svg { width: 16px; height: 16px; opacity: .55; flex: none; }
.mr-tb__q input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: .88rem; color: var(--ink); outline: none; }
.mr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mr-chips button { border: 1px solid var(--line); background: var(--mr-card); color: var(--ink-77); border-radius: 999px; font: inherit; font-size: .76rem; padding: .42rem .8rem; cursor: pointer; white-space: nowrap; }
.mr-chips button b { font-weight: 600; color: var(--ink-55); margin-left: .15rem; }
.mr-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.mr-chips button[aria-pressed="true"] b { color: inherit; opacity: .7; }
.mr-tool { display: inline-flex; align-items: center; gap: .4rem; height: 40px; padding: 0 .85rem; border: 1px solid var(--line); border-radius: 10px; background: var(--mr-card); color: var(--ink); font: inherit; font-size: .8rem; cursor: pointer; }
.mr-tool svg { width: 16px; height: 16px; }
select.mr-tool { padding-right: .6rem; }
.mr-menu { position: absolute; right: 10px; top: calc(100% + 6px); z-index: 60; width: min(300px, calc(100% - 20px)); padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--mr-panel); box-shadow: var(--mr-shadow); }
.mr-menu button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 8px; font: inherit; color: var(--ink); cursor: pointer; }
.mr-menu button:hover, .mr-menu button:focus-visible { background: var(--mr-soft); }
.mr-menu b { display: block; font-size: .84rem; } .mr-menu span { display: block; font-size: .7rem; color: var(--ink-55); }
.mr-xstat { min-height: 1.1em; margin: 0 0 8px; font-size: .74rem; color: var(--ink-55); }
@media (max-width: 640px) { .mr-chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; } .mr-chips::-webkit-scrollbar { display: none; } .mr-tb__q { flex-basis: 100%; } .mr-tool { flex: 1 1 0; justify-content: center; } }

/* ---------- jewelry door cards ---------- */
body.mr570 .games.mr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: .4rem; }
@media (max-width: 1060px) { body.mr570 .games.mr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { body.mr570 .games.mr-grid { grid-template-columns: minmax(0, 1fr); } }
body.mr570 .game.mr-door { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 4px 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--mr-card); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; min-height: 0; margin: 0; }
body.mr570 .game.mr-door:hover { border-color: var(--ink-55); box-shadow: var(--mr-shadow); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { body.mr570 .game.mr-door:hover { transform: none; } }
body.mr570 .mr-door .game__mark { width: 44px; height: 44px; color: var(--ink); }
body.mr570 .mr-door .game__mark svg { width: 44px; height: 44px; display: block; }
body.mr570 .mr-door .game__body { display: flex; flex-direction: column; gap: 3px; }
.mr-door__top { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; margin-bottom: 2px; }
.mr-kind { font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .18rem .5rem; border-radius: 999px; background: var(--mr-soft); color: var(--ink-77); }
.mr-kind--market { background: rgba(4,120,87,.12); color: #047857; } .mr-kind--rates { background: rgba(37,99,235,.12); color: #1D4ED8; }
.mr-kind--filings { background: rgba(147,51,234,.11); color: #7E22CE; } .mr-kind--book { background: rgba(202,138,4,.14); color: #A16207; } .mr-kind--work { background: rgba(220,38,38,.11); color: #B91C1C; }
html[data-dark] .mr-kind--market { color: #6EE7B7; } html[data-dark] .mr-kind--rates { color: #93C5FD; } html[data-dark] .mr-kind--filings { color: #D8B4FE; } html[data-dark] .mr-kind--book { color: #FCD34D; } html[data-dark] .mr-kind--work { color: #FCA5A5; }
.mr-badge { font-size: .6rem; font-weight: 700; letter-spacing: .06em; padding: .16rem .45rem; border-radius: 6px; border: 1px solid var(--line); color: var(--ink-55); }
.mr-badge--new { border-color: transparent; background: var(--ink); color: var(--paper); }
.mr-door__cad { margin-left: auto; font-size: .66rem; color: var(--ink-55); }
body.mr570 .mr-door .game__name { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
body.mr570 .mr-door .game__what { font-size: .8rem; font-weight: 600; color: var(--mr-acc); }
body.mr570 .mr-door .game__note { font-size: .82rem; line-height: 1.5; color: var(--ink-77); margin-top: 2px; }
.mr-door__src { font-size: .7rem; color: var(--ink-55); margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--line); }
.mr-door__src b { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .6rem; margin-right: .3rem; color: var(--ink-77); }
.mr-door__go { grid-column: 2; justify-self: end; font-size: .74rem; font-weight: 600; color: var(--ink-55); }
body.mr570 .game.mr-door:hover .mr-door__go { color: var(--mr-acc); }
body.mr570 .game.mr-door[data-v570] { background: linear-gradient(180deg, var(--mr-soft), var(--mr-card) 60%); }
.mr-empty { font-size: .9rem; color: var(--ink-77); }
.mr-linkbtn { border: 0; background: none; color: var(--mr-acc); font: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- all rooms (the site's room switcher, as a compact panel) ---------- */
.mr-rmgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 1180px) { .mr-rmgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 860px) { .mr-rmgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 620px) { .mr-rmgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } }
@media (max-height: 500px) and (orientation: landscape) { .mr-rmgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.mr-rm { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "g c" "t t"; align-items: center; gap: 8px 6px; padding: 11px 12px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--mr-card); color: var(--ink); text-decoration: none; min-width: 0; transition: border-color .2s, background .2s, transform .2s; }
.mr-rm:hover { border-color: var(--ink-55); background: var(--mr-soft); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .mr-rm:hover { transform: none; } }
.mr-rm__g { grid-area: g; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--mr-soft); color: var(--ink); }
.mr-rm__g svg { width: 18px; height: 18px; }
.mr-rm__c { grid-area: c; justify-self: end; font-size: .74rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-77); padding: .1rem .45rem; border-radius: 6px; background: var(--mr-soft); }
.mr-rm__t { grid-area: t; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.mr-rm__t b { font-size: .88rem; font-weight: 600; }
.mr-rm__t > span { display: flex; align-items: center; gap: .3rem; font-size: .68rem; color: var(--ink-55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-rm__t > span .livedot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #16A34A; display: inline-block; }
.mr-rm.is-here { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.mr-rm.is-here .mr-rm__g { background: var(--ink); color: var(--paper); }
.mr-rm__here { position: absolute; top: -8px; left: 50px; font-size: .54rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .1rem .4rem; border-radius: 5px; background: var(--ink); color: var(--paper); }
.mr-rm--aside { border-style: dashed; }
@media (max-width: 620px) { .mr-rm { padding: 9px 10px; } .mr-rm__g { width: 28px; height: 28px; } .mr-rm__here { left: auto; right: 8px; } }

/* ---------- ethos ---------- */
.mr-ethos__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 1rem 3rem; align-items: start; border-top: 1px solid var(--line); padding-top: 28px; }
@media (max-width: 860px) { .mr-ethos__in { grid-template-columns: minmax(0, 1fr); } }
.mr-ethos .d2 { margin: .3rem 0 0; } .mr-ethos .lede { margin: 0 0 1rem; max-width: 62ch; }
.mr-ethos__l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .mr-ethos__l { grid-template-columns: minmax(0, 1fr); } }
.mr-ethos__l li { padding: 12px 14px; border-radius: 12px; background: var(--mr-soft); font-size: .78rem; color: var(--ink-77); line-height: 1.45; }
.mr-ethos__l b { display: block; font-size: .84rem; color: var(--ink); margin-bottom: 2px; }

html[data-dark] body.mr570 .mr-seg button[aria-pressed="true"], html[data-dark] body.mr570 .mr-chips button[aria-pressed="true"] { color: #0C1116; }
@media print { .mr-dock, .mr-tb, .mr-hero, .mr-rooms { display: none !important; } }
.mr-sechead__s--l { margin-top: .5rem; max-width: 60ch; }

/* =====================================================================  markets v570 additions */
/* the hero's live tape (under the stats) */
.mr-htape { display: flex; gap: 0; margin-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.14); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.mr-htape a { flex: none; display: inline-flex; align-items: baseline; gap: .4rem; padding: .6rem 1.1rem .1rem 0; color: rgba(255,255,255,.86); text-decoration: none; font-size: .78rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mr-htape a b { font-weight: 600; color: #fff; } .mr-htape a i { font-style: normal; font-weight: 600; }
.mr-htape a.is-up i { color: #4ADE80; } .mr-htape a.is-dn i { color: #FCA5A5; }
.mr-htape a:hover b { text-decoration: underline; }
@media (max-width: 640px) { .mr-htape { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; } .mr-htape a { padding: .45rem .9rem 0 0; font-size: .72rem; } .mr-htape a:nth-child(n+7) { display: none; } }
@media (max-height: 500px) and (orientation: landscape) { .mr-htape { margin-top: .6rem; } .mr-htape a { padding-top: .4rem; } }
.mr-dock__id .is-up { color: var(--mr-up); } .mr-dock__id .is-dn { color: var(--mr-dn); }

/* featured: the stocks card spans both columns */
.mr-fcard--wide { grid-column: 1 / -1; }
.mr-fcard__tools { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.mr-tapegrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 1100px) { .mr-tapegrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .mr-tapegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-height: 500px) and (orientation: landscape) { .mr-tapegrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.mr-q { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 11px 12px 9px; border: 1px solid var(--line); border-radius: 12px; background: var(--mr-soft); color: var(--ink); text-decoration: none; min-width: 0; transition: border-color .2s, transform .2s; }
.mr-q:hover { border-color: var(--ink-55); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .mr-q:hover { transform: none; } }
.mr-q__h { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem; }
.mr-q__n { font-size: .74rem; font-weight: 700; color: var(--ink-77); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-q__s { font-size: .6rem; color: var(--ink-55); letter-spacing: .04em; }
.mr-q__p { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mr-q__c { display: flex; flex-wrap: wrap; gap: .1rem .55rem; font-size: .7rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.mr-q__c .is-up { color: var(--mr-up); } .mr-q__c .is-dn { color: var(--mr-dn); } .mr-q__c em { font-style: normal; color: var(--ink-55); font-weight: 500; }
.mr-q svg { width: 100%; height: 34px; margin-top: 4px; overflow: visible; }
.mr-q .ln { fill: none; stroke-width: 1.7; vector-effect: non-scaling-stroke; } .mr-q .ar { stroke: none; opacity: .14; }
.mr-q.is-up .ln { stroke: var(--mr-up); } .mr-q.is-up .ar { fill: var(--mr-up); } .mr-q.is-dn .ln { stroke: var(--mr-dn); } .mr-q.is-dn .ar { fill: var(--mr-dn); }
.mr-q.is-stale { opacity: .7; }

/* rates */
.mr-big { display: flex; align-items: flex-end; gap: 1rem 1.6rem; flex-wrap: wrap; }
.mr-big__v { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.mr-big__l { font-size: .74rem; color: var(--ink-55); line-height: 1.4; }
.mr-big__l b { color: var(--ink); font-weight: 600; }
.mr-chart { position: relative; border-radius: 12px; background: var(--mr-soft); padding: 10px 12px 6px; }
.mr-chart svg { display: block; width: 100%; height: 86px; overflow: visible; }
.mr-chart .ln { fill: none; stroke: #1D4ED8; stroke-width: 2; vector-effect: non-scaling-stroke; } .mr-chart .ar { fill: #1D4ED8; opacity: .1; }
html[data-dark] .mr-chart .ln { stroke: #93C5FD; } html[data-dark] .mr-chart .ar { fill: #93C5FD; }
.mr-chart__k { display: flex; justify-content: space-between; font-size: .64rem; color: var(--ink-55); margin-top: 3px; font-variant-numeric: tabular-nums; }
.mr-chart__t { position: absolute; top: 8px; left: 12px; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-55); }

/* ranked bars (states, departments) */
.mr-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mr-rank li { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr) auto; align-items: center; gap: .6rem; font-size: .76rem; color: var(--ink-77); }
.mr-rank li > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-rank i { display: block; height: 8px; border-radius: 4px; background: var(--c, var(--mr-acc)); min-width: 3px; }
.mr-rank b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .mr-rank li { grid-template-columns: minmax(0, 7rem) minmax(0, 1fr) auto; } }
.mr-fcard--charity .mr-rank i { --c: #CA8A04; } .mr-fcard--jobs .mr-rank i { --c: #B91C1C; }
html[data-dark] .mr-fcard--charity .mr-rank i { --c: #FCD34D; } html[data-dark] .mr-fcard--jobs .mr-rank i { --c: #FCA5A5; }
.mr-li__m b { font-weight: 700; color: var(--ink-77); }
.mr-form { display: inline-block; font-size: .6rem; font-weight: 700; letter-spacing: .04em; padding: .1rem .38rem; border-radius: 5px; background: var(--c, #94A3B8); color: #fff; white-space: nowrap; }

/* the filings wire strip */
.mr-wc > div { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 12px 14px 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--mr-card); color: var(--ink); position: relative; box-sizing: border-box; transition: border-color .2s; }
.mr-wc > div::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c, #94A3B8); }
.mr-wc > div:hover { border-color: var(--ink-55); }
.mr-wc .mr-lc__k { display: flex; align-items: center; gap: .4rem; font-size: .62rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-55); }
.mr-wc .mr-lc__k em { font-style: normal; margin-left: auto; font-weight: 600; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.mr-wc .mr-lc__t { font-size: .9rem; line-height: 1.35; }
.mr-wc .mr-lc__t a { color: var(--ink); text-decoration: none; } .mr-wc .mr-lc__t a:hover { color: var(--mr-acc); text-decoration: underline; }
.mr-wc .mr-lc__a { display: flex; flex-wrap: wrap; gap: .2rem .9rem; font-size: .68rem; margin-top: auto; padding-top: 6px; border-top: 1px dashed var(--line); }
.mr-wc .mr-lc__a a { color: var(--ink-55); text-decoration: none; } .mr-wc .mr-lc__a a:hover { color: var(--mr-acc); text-decoration: underline; }
@media (max-width: 640px) { .mr-seg { display: flex; width: 100%; overflow-x: auto; scrollbar-width: none; } .mr-seg::-webkit-scrollbar { display: none; } .mr-seg button { flex: none; } }
.mr-note { font-size: .72rem; color: var(--ink-55); margin: 10px 0 0; }

/* the FOMC's latest moves (rates card) */
.mr-moves { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.mr-moves li { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: .68rem; color: var(--ink-55); line-height: 1.35; }
.mr-moves b { display: block; font-size: .86rem; font-variant-numeric: tabular-nums; }
.mr-moves .is-up b { color: var(--mr-dn); } .mr-moves .is-dn b { color: var(--mr-up); }
@media (max-width: 520px) { .mr-moves { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mr-sub { margin: -4px 0 0; font-size: .66rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-55); }
