/* Markets Desk (markets.html). Loaded after watch.css, whose unit (--u), panel, top bar, bulletin and about styles
   it shares; this file lays out the board (.board.mk). Two layouts: stacked (phones) and the landscape wall.
   Red stays for alarms (the live dot, a source that failed). Up and down are arrows in ink, not colours, except on
   ?wall (the end of this file). */

.board.mk { grid-template-areas: "top" "kb" "live" "world" "news" "bulletin" "about"; }

/* ── the kroner band (public page, 2026-11-30, owner: "Kroner first"): one panel, four sentences, the number inside each.
   Cells are divided by the brand's ink line, not split into cards: it is one statement about the household's money. ── */
.kb { grid-area: kb; display: grid; grid-template-columns: 1fr 1fr; gap: calc(0.22 * var(--u)); background: var(--ink); }   /* the gaps are the ink rules */
.kc { background: var(--bg); padding: calc(0.8 * var(--u)) calc(1.2 * var(--u)) calc(0.9 * var(--u)); min-width: 0; overflow: hidden; }
/* lead and number on one line where there is room, as one sentence: "Power costs right now 1.59 kr"; the number drops under
   its lead where there is not (phones) */
.kl { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: calc(0.7 * var(--u)); }
.ks { font-size: calc(1.5 * var(--u)); font-weight: 500; line-height: 1.2; }
.kv { font-size: calc(3.4 * var(--u)); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; white-space: nowrap; }
.km { margin: calc(0.25 * var(--u)) 0 0; font-size: calc(1.2 * var(--u)); line-height: 1.3; color: var(--stone); }
.kc.old .kv { color: var(--stone); }

/* ── the panels under it: one row style throughout ── */
.box { padding: calc(0.8 * var(--u)) calc(1.1 * var(--u)); display: flex; flex-direction: column; gap: calc(0.35 * var(--u)); }
.live { grid-area: live; } .world { grid-area: world; } .news { grid-area: news; }
.box .k ~ .k { margin-top: calc(0.3 * var(--u)); }   /* a second heading in a panel: a little air above it, nothing extra under */
.row { position: relative; display: grid; grid-template-columns: calc(15 * var(--u)) auto 1fr; gap: calc(0.8 * var(--u)); align-items: center; min-height: calc(3.3 * var(--u)); padding: calc(0.12 * var(--u)) 0;   /* six rows a panel since 2026-11-30 (the dollar) */ border-top: calc(0.12 * var(--u)) solid var(--cream); }
.row:first-child { border-top: 0; }
.row .n { font-weight: 700; font-size: calc(1.4 * var(--u)); line-height: 1.15; min-width: 0; }
.row .n small { display: block; font-weight: 500; color: var(--stone); font-size: calc(1 * var(--u)); line-height: 1.2; margin-top: calc(0.1 * var(--u)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .v { font-size: calc(2 * var(--u)); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; text-align: right; }
.row .v small { font-size: calc(1.1 * var(--u)); color: var(--stone); font-weight: 500; margin-left: calc(0.3 * var(--u)); }
.row svg { width: 100%; height: calc(3 * var(--u)); display: block; }
.row.old .v { color: var(--stone); }
/* bread wheat, what flour is milled from: the page's one yellow */
.row.flour::before { content: ""; position: absolute; left: calc(-1.1 * var(--u)); top: calc(0.4 * var(--u)); bottom: calc(0.4 * var(--u)); width: calc(0.5 * var(--u)); background: var(--yellow); }
.lag { color: var(--ink); font-weight: 700; }
.line { fill: none; stroke: var(--ink); stroke-width: calc(0.25 * var(--u)); stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.area { fill: var(--yellow); opacity: 0.55; }
.ref { stroke: var(--stone); stroke-dasharray: 4 5; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.say { font-size: calc(1.15 * var(--u)); line-height: 1.25; color: var(--stone); margin: calc(0.2 * var(--u)) 0 0; }
.say b { color: var(--ink); }

.news ul { list-style: none; margin: 0; padding: 0; overflow: hidden; min-height: 0; flex: 1; }
.news #shares + .k { margin-top: calc(0.4 * var(--u)); }   /* share prices over the headlines (2026-11-30); the headlines trim to what is left */
.news li { padding: calc(0.45 * var(--u)) 0; border-top: calc(0.12 * var(--u)) solid var(--cream); }
.news li:first-child { border-top: 0; }
.news a { color: inherit; text-decoration: none; font-size: calc(1.45 * var(--u)); font-weight: 500; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news small { color: var(--stone); font-size: calc(1 * var(--u)); white-space: nowrap; }
.none { color: var(--stone); }
/* Old numbers never look current: the whole board dims when the feed has stopped. */
.board.stale .kb, .board.stale .live, .board.stale .world { opacity: 0.55; }
.err { color: var(--red); font-weight: 700; }

/* three by two from 900 px; two by three below (2026-11-30: six since power and petrol) */
@media (min-width: 900px) { .kb { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Landscape wall: any window ≥ 1000 px wide and wider than 13:10 (as watch.css). */
@media (min-width: 1000px) and (min-aspect-ratio: 13/10) {
  .board.mk {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto minmax(0, 1fr) calc(3.6 * var(--u));
    grid-template-areas: "top top top" "kb kb kb" "live world news" "bulletin bulletin bulletin";
  }
}

/* ?wall (the home TV): a quote board (owner 2026-11-25: the card frame read worse on the TV than nodash light's slide;
   "2" = a plainer TV look inside nobuns; then /frontend-design "wall"). Like a commodity exchange's board: one row
   per instrument, the same columns all the way down (name, price, kroner, the move and its window, the line), grouped
   by how often the number changes. Still cream and ink (no dark mode, CLAUDE.md), Space Grotesk only; no cards, no
   drop shadows. Up green, down red (deeper than --red, which still marks alarms: the live dot, a failed source, a
   price that stopped). Yellow once: the bar beside the grain, which is what flour is milled from. */
.qb { display: none; }
.wall .board.mk { --up: #1D7A45; --down: #C42F12; }
.wall .mk .up { color: var(--up); } .wall .mk .down { color: var(--down); } .wall .mk .flat { color: var(--stone); }
.wall .mk svg.up .line { stroke: var(--up); } .wall .mk svg.down .line { stroke: var(--down); }
.wall .mk .area { fill: var(--ink); opacity: 0.08; }
.wall .mk svg.up .area { fill: var(--up); opacity: 0.14; } .wall .mk svg.down .area { fill: var(--down); opacity: 0.14; }

/* The board's rows, for both wall orientations (#qb is display:none elsewhere). */
.wall .mk .qb { grid-area: qb; flex-direction: column; gap: calc(1 * var(--u)); min-height: 0; }   /* display: flex only in the two wall layouts below */
.qg { display: flex; flex-direction: column; border-top: calc(0.3 * var(--u)) solid var(--ink); }
/* a group's flex is set from its row count by board() */
.qg.flour { position: relative; }
.qg.flour::before { content: ""; position: absolute; left: calc(-0.95 * var(--u)); top: 0; bottom: 0; width: calc(0.5 * var(--u)); background: var(--yellow); }
.qh { font-size: calc(1.3 * var(--u)); font-weight: 700; padding: calc(0.35 * var(--u)) 0 calc(0.2 * var(--u)); }
.qh small { font-weight: 400; color: var(--stone); margin-left: calc(0.5 * var(--u)); }
.q { flex: 1 1 0; min-height: 0; display: grid; align-items: center; column-gap: calc(1.3 * var(--u));
  grid-template-columns: calc(14 * var(--u)) calc(10.5 * var(--u)) calc(8.5 * var(--u)) calc(9 * var(--u)) minmax(0, 1fr);
  border-top: 1px solid #DDD4BC; }
.qh + .q { border-top: 0; }
.qn { font-size: calc(1.55 * var(--u)); font-weight: 600; line-height: 1.1; white-space: nowrap; overflow: hidden; }
.qn small { display: block; font-size: calc(0.95 * var(--u)); font-weight: 400; color: var(--stone); text-overflow: ellipsis; overflow: hidden; }
.qn small.err { color: var(--red); font-weight: 700; }
.qp { font-size: calc(2.3 * var(--u)); font-weight: 700; letter-spacing: -0.03em; text-align: right; white-space: nowrap; line-height: 1; }
.qp small, .qk small { font-size: 0.45em; font-weight: 500; color: var(--stone); letter-spacing: 0; margin-left: 0.2em; }
.qk { font-size: calc(1.35 * var(--u)); font-weight: 600; text-align: right; white-space: nowrap; }
.qk small { font-size: 0.7em; }
.qk:not(:has(+ *)) small, .qk > small:only-child { font-size: calc(1.05 * var(--u)); font-weight: 500; }
.qc { font-size: calc(1.35 * var(--u)); font-weight: 700; white-space: nowrap; line-height: 1.1; }
.qc small { display: block; font-size: calc(0.95 * var(--u)); font-weight: 400; color: var(--stone); }
.q svg { display: block; width: 100%; height: calc(2.6 * var(--u)); }
.q.old .qp, .q.old .qk, .q.old .qc span { color: var(--stone); }
.wall .mk .q.old svg .line { stroke: var(--stone); }
.board.stale .qb { opacity: 0.55; }

@media (min-width: 1000px) and (min-aspect-ratio: 13/10) {
  .wall .board.mk {
    grid-template-columns: minmax(0, 1fr) calc(37 * var(--u));   /* headlines 37u (was 27u; owner 2026-11-25: "more space for headlines") */
    grid-template-rows: auto minmax(0, 1fr) calc(3.6 * var(--u));
    grid-template-areas: "top top" "qb news" "bulletin bulletin";
    column-gap: calc(2.4 * var(--u));
  }
  .wall .mk .kb, .wall .mk .live, .wall .mk .world, .wall .mk .top .sector { display: none; }
  .wall .mk .top, .wall .mk .bulletin { box-shadow: none; }
  .wall .mk .qb { display: flex; }
  .wall .mk .news { border: 0; box-shadow: none; background: none; padding: 0; border-top: calc(0.3 * var(--u)) solid var(--ink); }
  .wall .mk .news .k { font-size: calc(1.3 * var(--u)); font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); padding-top: calc(0.35 * var(--u)); }
  .wall .mk .news a { font-size: calc(1.4 * var(--u)); -webkit-line-clamp: 3; }
  .wall .mk .news li { border-top-color: #DDD4BC; padding: calc(0.7 * var(--u)) 0; }
}
.news .k .src { font-weight: 400; color: var(--stone); }

/* Portrait wall (?wall, a screen on its side; watch.css sets --u): the same quote board, headlines under it. The board's
   own unit is 0.85 of the page's so its five columns fit 56 u (2026-11-25; until then the landscape cards were cut). */
@media (max-aspect-ratio: 3/4) {
  .wall .board.mk {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) calc(31 * var(--u)) calc(3.6 * var(--u));   /* headlines 31u (was 24u), 2026-11-25 */
    grid-template-areas: "top" "qb" "news" "bulletin";
  }
  .wall .mk .kb, .wall .mk .live, .wall .mk .world { display: none; }
  .wall .mk .top, .wall .mk .bulletin { box-shadow: none; }
  .wall .mk .qb { --u: calc(0.76 * min(1.7778vw, 1vh)); display: flex; } .wall .mk .qb .q svg { height: calc(2.3 * var(--u)); }   /* 0.85 until 2026-11-30: 19 rows with the dollar and two share indices */
  .wall .mk .qn { line-height: 1.02; } .wall .mk .qn small { line-height: 1.1; }   /* name and subtitle in a 40 px row */
  .wall .mk .news { border: 0; box-shadow: none; background: none; padding: 0; border-top: calc(0.3 * var(--u)) solid var(--ink); }
  .wall .mk .news .k { font-size: calc(1.3 * var(--u)); font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); padding-top: calc(0.35 * var(--u)); }
  .wall .mk .news a { font-size: calc(1.4 * var(--u)); }
  .wall .mk .news li { border-top-color: #DDD4BC; }
}

/* ── the TV, landscape (2026-11-25, owner: "rethink the design and layout for markets desk. the nodash version looks much
   better"): nodash light's three bands with our sources -- a row of tiles (the daily ones, copper), big cards (bitcoin, gold,
   silver, bread wheat with the flour's yellow edge, the krone in words), then the biggest move drawn large, every move as
   bars from one zero line, and the headlines. Space Grotesk only; up green, down red; the quote board stays for portrait. ── */
.mw { display: none; }
@media (min-width: 1000px) and (min-aspect-ratio: 13/10) {
  .wall .board.mk { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) calc(3.6 * var(--u));
    grid-template-areas: "top" "mw" "bulletin"; }
  .wall .mk .qb, .wall .mk .news { display: none; }
  .wall .mk .mw { grid-area: mw; display: flex; flex-direction: column; gap: calc(1 * var(--u)); min-height: 0; }
  .mw .num { font-variant-numeric: tabular-nums; }
  .mw small { font-weight: 400; color: var(--stone); }
  .mw .up { color: var(--up); } .mw .down { color: var(--down); } .mw .flat { color: var(--stone); }
  .mw svg .fill { fill: var(--stone); opacity: .12; } .mw svg .ln { fill: none; stroke: var(--stone); stroke-width: 2.5px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
  .mw svg .dot { fill: var(--stone); }
  .mw svg.up .fill { fill: var(--up); opacity: .18; } .mw svg.up .ln { stroke: var(--up); } .mw svg.up .dot { fill: var(--up); }
  .mw svg.down .fill { fill: var(--down); opacity: .18; } .mw svg.down .ln { stroke: var(--down); } .mw svg.down .dot { fill: var(--down); }
  .mw svg text { font-family: 'Space Grotesk', sans-serif; font-size: 15px; fill: var(--stone); }
  .mw-h { font-size: calc(1.3 * var(--u)); font-weight: 700; margin: 0 0 calc(0.4 * var(--u)); }
  .mw-h span { font-weight: 400; color: var(--stone); margin-left: calc(0.4 * var(--u)); }

  /* six tiles (2026-11-30); the Wall Street one, 5th, wider for its open/closed badge */
  .mw-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.3fr) minmax(0, 1fr); gap: calc(1.2 * var(--u)); flex: none; }
  .mw-tile { border-top: calc(0.2 * var(--u)) solid var(--frame, #3A4A54); padding-top: calc(0.4 * var(--u)); min-width: 0; }
  .mw-tile .t1 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: calc(1.2 * var(--u)); white-space: nowrap; }
  .mw-tile .t1 small { font-size: calc(0.95 * var(--u)); overflow: hidden; text-overflow: ellipsis; }
  .mw-tile .t2 { display: flex; justify-content: space-between; align-items: baseline; }
  .mw-tile .v { font-size: calc(2.2 * var(--u)); font-weight: 700; letter-spacing: -0.02em; }
  .mw-tile .c { font-size: calc(1.3 * var(--u)); font-weight: 700; }
  .mw-tile svg { display: block; margin-top: 4px; }

  .mw-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.3fr); gap: calc(1.1 * var(--u)); flex: none; }
  .mw-card { background: var(--bg); border-radius: calc(0.5 * var(--u)); padding: calc(0.8 * var(--u)) calc(1 * var(--u)) calc(0.5 * var(--u)); min-width: 0; overflow: hidden; }
  .mw-card.flour { box-shadow: inset 0 calc(0.4 * var(--u)) 0 var(--yellow); }
  .mw-card .hd { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; white-space: nowrap; }
  .mw-card .nm { font-size: calc(1.5 * var(--u)); font-weight: 700; }
  .mw-card .hd small { font-size: calc(1 * var(--u)); overflow: hidden; text-overflow: ellipsis; }
  .mw-card .big { font-size: calc(3 * var(--u)); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; white-space: nowrap; }
  .mw-card .kr { font-size: calc(1.25 * var(--u)); color: var(--stone); white-space: nowrap; }
  .mw-card .kr b { color: var(--ink); }
  .mw-card .mv { font-size: calc(1.3 * var(--u)); font-weight: 700; margin: calc(0.3 * var(--u)) 0; white-space: nowrap; }
  .mw-card .mv small { font-size: calc(1 * var(--u)); margin-right: calc(0.6 * var(--u)); }
  .mw-card.old .big, .mw-card.old .mv span, .mw-tile.old .v { color: var(--stone); }
  .mw-card.krone .pair { display: grid; grid-template-columns: calc(6.4 * var(--u)) auto 1fr; align-items: baseline; gap: calc(0.6 * var(--u)); margin-top: calc(0.25 * var(--u)); }   /* four rows since 2026-11-30 (power, petrol) */
  .mw-card.krone .k { font-size: calc(1.3 * var(--u)); color: var(--stone); }
  .mw-card.krone .v { font-size: calc(2.2 * var(--u)); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
  .mw-card.krone .v small { font-size: calc(1.05 * var(--u)); margin-left: 4px; }   /* the TV's 20 px floor (0.45em of 2.2u was 19 px) */
  .mw-card.krone .m { text-align: right; font-size: calc(1.2 * var(--u)); font-weight: 700; white-space: nowrap; }
  .mw-card.krone .say { font-size: calc(1.1 * var(--u)); line-height: 1.25; margin: calc(0.3 * var(--u)) 0 0; }
  .mw-card.krone .m:not(.up):not(.down):not(.flat) { font-weight: 500; color: var(--stone); font-size: calc(1.05 * var(--u)); }
  .mw-card.krone .say b.down { color: var(--down); } .mw-card.krone .say b.up { color: var(--up); }

  .mw-low { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 1.1fr); gap: calc(2.2 * var(--u)); }
  .mw-low > div { min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
  .mw-mover .mt { display: flex; align-items: baseline; gap: calc(1 * var(--u)); white-space: nowrap; }
  .mw-mover .nm { font-size: calc(3 * var(--u)); font-weight: 700; letter-spacing: -0.02em; }
  .mw-mover .px { font-size: calc(1.3 * var(--u)); color: var(--stone); }
  .mw-mover .pc { margin-left: auto; font-size: calc(3 * var(--u)); font-weight: 700; }
  .mw-mover svg { display: block; margin-top: calc(0.5 * var(--u)); }
  .mw-mover .ax { display: flex; justify-content: space-between; font-size: calc(1 * var(--u)); color: var(--stone); margin-top: 4px; }
  .mw-bars .bg { font-size: calc(0.95 * var(--u)); color: var(--stone); margin: calc(0.3 * var(--u)) 0 2px; }
  .mw-bars .br { display: grid; grid-template-columns: calc(10 * var(--u)) minmax(0, 1fr) calc(5.6 * var(--u)); align-items: center; gap: calc(0.6 * var(--u));
    height: calc(1.65 * var(--u)); font-size: calc(1.1 * var(--u)); }
  .mw-bars [hidden] { display: none !important; }   /* .br is a grid, which beats the browser's [hidden] */
  .mw-bars .br .l { text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mw-bars .br .z { position: relative; height: 60%; }
  .mw-bars .br .z::before { content: ''; position: absolute; left: 50%; top: -15%; bottom: -15%; border-left: 1px solid var(--stone); opacity: .5; }
  .mw-bars .br .z i { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: var(--stone); }
  .mw-bars .br.up .z i { background: var(--up); } .mw-bars .br.down .z i { background: var(--down); }
  .mw-bars .br.me .l { font-weight: 700; }
  .mw-bars .br .r { font-weight: 700; font-size: calc(1.05 * var(--u)); white-space: nowrap; }
  .mw-bars .br.up .r { color: var(--up); } .mw-bars .br.down .r { color: var(--down); }
  .mw .pts { font-size: calc(1.35 * var(--u)); color: var(--stone); margin: calc(0.5 * var(--u)) 0 0; line-height: 1.35; }   /* 1.1u was hard to read on a TV (review 2026-11-25) */
  .mw .pts b.num { color: var(--ink); }
  .mw-news ul { list-style: none; margin: 0; padding: 0; overflow: hidden; flex: 1; min-height: 0; }
  .mw-news li { padding: calc(0.3 * var(--u)) 0; border-top: 1px solid var(--rule, #2E3C45); }
  .mw-news li:first-child { border-top: 0; }
  .mw-news a { color: inherit; text-decoration: none; font-size: calc(1.2 * var(--u)); font-weight: 500; line-height: 1.22;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .mw-news small { font-size: calc(0.95 * var(--u)); margin-left: calc(0.5 * var(--u)); }
  .mw-news li { display: block; }
}

@media (min-width: 1000px) and (min-aspect-ratio: 13/10) {
  .mw-tile.lag .t1 small { color: var(--yellow); }   /* a daily number days old: the date in yellow, "N days old" */
}

/* ── TV floor (?wall, landscape): no text under 20 px at 1920x1080 (1.05u); a TV review 2026-11-25, owner "go" ── */
@media (min-width: 1000px) and (min-aspect-ratio: 13/10) {
  html.wall .mw-tile .t1 small, html.wall .mw-card .hd small, html.wall .mw-card .mv small, html.wall .mw-mover .ax,
  html.wall .mw-bars .bg, html.wall .mw-news small { font-size: calc(1.05 * var(--u)); }
  html.wall .mw svg text { font-size: 22px; }   /* the charts scale a little to their boxes: 22 px draws at 20 or more */
}

.top .part { color: var(--stone); }   /* a source that answered in part (markets.js) */

/* Wall Street open or closed (markets.js paintWS, owner 2026-11-27): the top bar's chip on every layout and a badge on the
   TV's Wall Street tile. Closed is the one that should catch the eye: ink on yellow, like a stamp; open stays quiet. Not red,
   which is for alarms. */
.top .ws { font-size: calc(1.4 * var(--u)); white-space: nowrap; color: #CFC8B6; }
.top .ws:empty { display: none; }
.top .ws b { font-weight: 700; }
.top .ws.open b { color: var(--bg); }
html.wall .top .ws.open b { color: var(--ink); }   /* the wall's bar is dark and its --bg too */
html.wall .top .ws.shut b { color: #111; }
.top .ws.shut { background: var(--yellow); color: #111; padding: calc(0.15 * var(--u)) calc(0.6 * var(--u)); border-radius: 2px; }
.wsb { font-style: normal; font-weight: 700; font-size: 0.72em; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: 0.12em; margin-left: 0.3em; }
.wsb:empty { display: none; }
.mk .top:has(.ws.shut) .feed .long { display: none; }   /* the closed stamp, with a holiday's name, needs the room (2026-11-27) */
/* From 1000 px the chip is one line and nothing in the bar shrinks (the title wrapped to two lines first). If the bar still
   runs out of room (a long holiday name next to a stale feed's "last update N days ago": 13 px over on the TV), fitWS() in
   markets.js shortens only the holiday name, letter by letter, with its own "…" (the browser's ellipsis left up to a letter's
   width of blank before "· opens"; owner 2026-11-27: "fix the gap after the ellipsis too"). */
@media (min-width: 1000px) { .mk .top > * { flex-shrink: 0; } }
@media (max-width: 999px) { .top .ws { white-space: normal; } }   /* a phone: the chip may take two lines, never push the page sideways */
/* The portrait wall (watch.css holds .wall .top to one line there): the bar may wrap on this page, the chip on a row of its
   own under it; at the portrait wall's text size the chip alone is half the bar (2026-11-27: at 7b79300 the bar ran ~175-415 px over;
   at fb7c461 the chip clipped itself and hid "opens ...") */
@media (max-aspect-ratio: 3/4) { .wall .mk .top { flex-wrap: wrap; } .wall .mk .top > .ws { order: 9; } }
@media (min-width: 1000px) { .mk .top .sector { display: none; } }   /* the chip needs its room; the sector line is decoration */
.wsb.open { color: var(--stone); }
.wsb.shut { background: var(--yellow); color: #111; padding: 0.05em 0.4em; border-radius: 2px; }
@media (min-width: 1000px) and (min-aspect-ratio: 13/10) { html.wall .mw-tile .t2 .wsb { font-size: calc(1.05 * var(--u)); margin: 0 auto 0 0.6em; align-self: center; } }   /* the TV's 20 px floor */

/* What the lines cover (2026-11-30, owner "3"): the public page says it in each panel heading; the TV (no headings over its tiles)
   in the bulletin band, where the credits are hidden on the wall */
.bulletin .spans { display: none; }
html.wall .bulletin .spans { display: block; margin-left: auto; color: #9A9384; font-size: calc(1.1 * var(--u)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.row .n small .vw { color: var(--ink); font-weight: 700; }   /* the VIX in words: "nervous" (2026-11-30) */
.wall .mk .news .sh { display: none; }   /* the portrait wall shows the headlines panel, and has the share prices in its board */
