/* CSI Member Workspace (custom-member-workspace.hbs only). The members' room of the house:
   an arrival, an editorial lead, real imagery at full visibility, hairline rhythm. No cards or veils. */
.mw {
    --mw-line: rgba(255, 255, 255, 0.08);
    --mw-text-2: rgba(236, 240, 246, 0.72);
    --mw-text-3: rgba(236, 240, 246, 0.52);
    --mw-surface: #0d0d14;
    min-height: 70vh; padding: calc(6rem + var(--tnh-announcement-offset, 0px)) 0 6rem; background: #06060b;
}
.mw [hidden] { display: none !important; }
.mw__inner { max-width: 1240px; margin: 0 auto; padding: 0 2.5rem; }
.mw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mw a:focus-visible, .mw button:focus-visible, .mw [role="tabpanel"]:focus-visible { outline: 2px solid var(--accent-glow); outline-offset: 3px; border-radius: 4px; }

/* Masthead: the greeting is the title, the member's name its blue word */
.mw__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.mw__head .section-eyebrow { margin-bottom: 0.7rem; letter-spacing: 0.26em; }
.mw__title { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -0.025em; overflow-wrap: anywhere; }
.mw__account { display: flex; align-items: center; gap: 1.25rem; padding-bottom: 0.5rem; flex-shrink: 0; }
.mw__tier { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--noble-gold-light); }
.mw-link { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; color: var(--pure-white); font-size: 0.86rem; font-weight: 600; letter-spacing: 0; text-decoration: none; }
.mw-link:hover { color: var(--accent-glow); }
.mw-bar__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mw-text-3); }
.mw-bar__meta span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 0.9rem 0 0.65rem; border-radius: 50%; background: var(--noble-gold); vertical-align: middle; } /* the two facts, parted */


/* Instrument bar: a segmented control with the desk's precision */
.mw-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-top: 2rem; padding: 0.9rem 0; border-top: 1px solid var(--mw-line); border-bottom: 1px solid var(--mw-line); }
.mw-tabs { display: inline-flex; gap: 2px; padding: 4px; border: 1px solid var(--csi-line); border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.02); }
.mw-tab {
    display: inline-flex; align-items: center; gap: 0.55rem; min-height: 40px; padding: 0 1.15rem; border: 0; border-radius: var(--radius-pill);
    background: none; color: var(--mw-text-2); cursor: pointer; font: 600 0.7rem/1.2 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; text-align: start;
    transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.mw-tab__n { font: 700 0.74rem/1 var(--font-body); font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0.04em; color: var(--accent-glow); opacity: 0.9; }
.mw-tab:hover { color: var(--pure-white); }
.mw-tab[aria-selected="true"] { color: var(--pure-white); background: rgba(0, 113, 227, 0.16); box-shadow: inset 0 0 0 1px rgba(0, 163, 255, 0.55); }
.mw-tab[aria-selected="true"] .mw-tab__n { opacity: 1; }
.mw-panel { padding-top: 2.5rem; }
.mw-session { margin-top: 1rem; padding: 0.8rem 1.1rem; border: 1px solid rgba(212, 175, 55, 0.35); border-radius: 6px; color: var(--mw-text-2); font-size: 0.9rem; letter-spacing: 0; }
.mw-session a { color: var(--pure-white); font-weight: 600; }

/* Briefing band: today, as on the desk */
.mw-brief { padding: 0.25rem 0 2.25rem; }
.mw-brief__date { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.25rem; }
.mw-brief__day { font: 900 clamp(2.4rem, 5vw, 4.25rem)/1 var(--font-display); letter-spacing: -0.02em; }
.mw-brief__wd { align-self: flex-end; padding-bottom: 0.5rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mw-text-3); }
.mw-live { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.85rem; border: 1px solid rgba(0, 163, 255, 0.55); border-radius: var(--radius-pill); color: #7cc4ff; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.mw-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-glow); box-shadow: 0 0 10px var(--accent-glow); }
.mw-brief__shifts { display: flex; flex-wrap: wrap; gap: 0.6rem 2.25rem; margin-top: 1.1rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mw-text-2); }
.mw-brief__shifts > span { display: inline-flex; align-items: center; gap: 0.55rem; }
.mw-brief__shifts b { font-weight: 600; letter-spacing: 0.04em; text-transform: none; color: var(--mw-text-3); }
.mw-brief__shifts [data-state="done"] b { color: var(--accent-glow); }
.mw-brief__shifts [data-state="late"] b { color: var(--noble-gold-light); }
.mw-brief__icon { display: inline-flex; color: var(--noble-gold); }
.mw-brief__icon svg { width: 16px; height: 16px; }

/* Lead: one wide photograph at full visibility, a local text plate on its corner */
.mw-lead .mw-row { display: block; position: relative; padding: 0; border: 0; }
.mw-lead .mw-row__media { aspect-ratio: 2 / 1; border-radius: 8px; box-shadow: var(--shadow-deep); }
.mw-lead .mw-row__media img { object-position: center 35%; }
.mw-plate { position: absolute; left: 2rem; bottom: 2rem; width: min(35rem, calc(100% - 4rem)); padding: 1.6rem 1.8rem 1.5rem; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 6px; background: rgba(6, 6, 11, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.mw-lead__kicker { margin-bottom: 0.8rem; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--noble-gold); }
.mw-lead .mw-row__title { margin-top: 0.6rem; font-size: clamp(1.55rem, 2.5vw, 2.25rem); font-weight: 900; line-height: 1.14; letter-spacing: -0.015em; }
.mw-lead .mw-row__excerpt { margin-top: 0.75rem; font-size: 0.98rem; -webkit-line-clamp: 3; }
.mw-lead .mw-row__actions { flex-direction: row; padding-top: 1.2rem; }
.mw-lead .mw-open { padding: 0 1.4rem; background: var(--accent-blue); }
.mw-lead .mw-open:hover { background: var(--accent-hover); }

/* Secondary: three pieces, generous and consistent */
.mw-sec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2.25rem; margin-top: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--mw-line); list-style: none; }
.mw-sec .mw-row { display: flex; flex-direction: column; padding: 0; border: 0; gap: 0; }
.mw-sec .mw-row__media { margin-bottom: 1.15rem; border-radius: 6px; }
.mw-sec .mw-row__title { font-size: 1.32rem; }
.mw-sec .mw-row__excerpt { -webkit-line-clamp: 3; }
.mw-sec .mw-row__body { flex: 1; }
.mw-sec .mw-row__actions { flex-direction: row; padding-top: 0.9rem; }

/* The list, by edition day */
.mw-desk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4.5rem; padding-top: 2.75rem; }
.mw-desk__aside { position: sticky; top: calc(7rem + var(--tnh-announcement-offset, 0px)); align-self: start; padding-top: 0.6rem; }
.mw-desk__aside .mw-region, .mw-desk__aside > .mw-mini { margin-bottom: 2.5rem; }
.mw-day { margin-top: 2rem; }
.mw-day__head { display: flex; align-items: center; gap: 1rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mw-text-3); }
.mw-day__head::after { content: ""; flex: 1; height: 1px; background: var(--mw-line); }
.mw-day .mw-rows { column-gap: 3rem; }
.mw-day .mw-row { grid-template-columns: 132px minmax(0, 1fr) auto; gap: 1.25rem; padding: 1.15rem 0; }
.mw-day .mw-row__title { font-size: 1.1rem; }
.mw-day .mw-row__excerpt { font-size: 0.86rem; }
.mw-day .mw-row__actions { gap: 0.25rem; }
.mw-day .tnh-narrated { display: none; }

/* Headings */
.mw-sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.mw-sechead--rule { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--mw-line); }
.mw-sechead__title { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.mw-sechead__link { flex-shrink: 0; color: var(--mw-text-2); font-size: 0.82rem; font-weight: 600; letter-spacing: 0; text-decoration: none; }
.mw-sechead__link:hover { color: var(--pure-white); }
.mw-aside__title { margin-bottom: 0.75rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--noble-gold); }
.mw-lede { margin-top: 0.6rem; color: var(--mw-text-2); font-size: 0.95rem; letter-spacing: 0; }

/* Rows (shared) */
.mw-rows { list-style: none; }
.mw-row { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 1.6rem; align-items: start; padding: 1.5rem 0; border-bottom: 1px solid var(--mw-line); }
.mw-row__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: var(--mw-surface); }
.mw-row__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease, filter 0.7s ease; }
.mw-row:hover .mw-row__media img { transform: scale(1.025); filter: brightness(1.07); }
.mw-row__label { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mw-text-3); }
.mw-row__label > * + *::before { content: "\00B7"; margin: 0 0.6rem; color: var(--mw-text-3); }
.mw-row__label > :empty { display: none; }
.mw-row__label > .mw-browse__icon { margin-inline-end: 0.6rem; }
.mw-row__label > .mw-browse__icon + *::before { content: none; }
.mw-pmark { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--noble-gold-light); }
.mw-pmark svg, .mw-browse__icon svg { width: 17px; height: 17px; flex-shrink: 0; }
.mw-row__topic { font-weight: 500; letter-spacing: 0.14em; }
.mw-row__label--violet { color: #c9b0ff; }
.mw-lock { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--mw-text-2); }
.mw-row__title { margin-top: 0.5rem; font: 700 1.3rem/1.28 var(--font-display); letter-spacing: -0.005em; overflow-wrap: anywhere; }
.mw-row__title a { color: var(--pure-white); text-decoration: none; transition: color 0.25s ease; }
.mw-row__title a:hover { color: var(--accent-glow); }
.mw-row__excerpt { display: -webkit-box; margin-top: 0.5rem; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--mw-text-2); font-size: 0.92rem; line-height: 1.62; letter-spacing: 0; }
.mw-row__dates { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0; margin-top: 0.7rem; color: var(--mw-text-3); font-size: 0.76rem; letter-spacing: 0; }
.mw-row__dates > span + span:not([hidden]):not(.tnh-narrated)::before { content: "\00B7"; margin: 0 0.55rem; }
.mw-row__dates .tnh-narrated { margin: 0 0 0 1rem; }
.mw-row__actions { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }

/* The house's shared Narrated mark (same rule as edition-dateline.css) */
.tnh-narrated { display: inline-flex; align-items: center; gap: 7px; margin-top: 0.85rem; font: 600 10.5px/1 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--noble-gold); opacity: 0.85; }
.tnh-narrated svg { width: 15px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }

/* Controls */
.mw-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--csi-line-gold); border-radius: 50%; background: transparent; color: var(--csi-ink); cursor: pointer; transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease; }
.mw-icon svg { stroke-width: 2; }
.mw-icon:hover { color: var(--pure-white); border-color: var(--noble-gold); background: rgba(212, 175, 55, 0.08); transform: translateY(-1px); }
.mw-save[aria-pressed="true"] { color: var(--pure-white); border-color: var(--accent-glow); background: var(--csi-on); }
.mw-save[aria-pressed="true"] svg { fill: currentColor; }
.mw-save[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.mw-save[aria-busy="true"] { cursor: progress; }
.mw-open { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 42px; padding: 0 0.9rem; border-radius: var(--radius-pill); color: var(--pure-white); font-size: 0.84rem; font-weight: 600; letter-spacing: 0; text-decoration: none; white-space: nowrap; transition: background 0.2s ease; }
.mw-open:hover { background: var(--glass-white); }
.mw-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0.5rem 1.25rem; border: 1px solid var(--csi-line); border-radius: var(--radius-pill); background: transparent; color: var(--pure-white); font: 600 0.86rem/1.3 var(--font-body); letter-spacing: 0; text-align: center; text-decoration: none; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease; }
.mw-btn:hover { background: var(--glass-white); border-color: var(--accent-glow); }
.mw-btn--primary { background: var(--accent-blue); border-color: var(--accent-blue); }
.mw-btn--primary:hover { background: var(--accent-hover); }
.mw-btn--quiet { border-color: transparent; color: var(--mw-text-2); }
.mw-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.mw-more { margin-top: 1.5rem; }

/* Tooltip: same skin as the header's .nav-tooltip; its text is a translatable node */
.mw-tipwrap { position: relative; display: inline-flex; }
.mw-tip { position: absolute; bottom: calc(100% + 8px); inset-inline-end: 0; z-index: 20; width: max-content; max-width: 220px; padding: 4px 10px; border: 1px solid rgba(212, 175, 55, 0.45); border-radius: 8px; background: rgba(10, 10, 16, 0.97); color: rgba(255, 255, 255, 0.9); font-size: 0.75rem; line-height: 1.4; letter-spacing: 0; text-transform: none; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity 150ms ease, visibility 0s linear 150ms; }
.mw-tip > span { display: none; }
.mw-save[aria-disabled="true"] + .mw-tip [data-tip="off"],
.mw-save[aria-disabled="false"][aria-pressed="false"]:not(.is-failed):not(.is-denied) + .mw-tip [data-tip="on"],
.mw-save[aria-disabled="false"][aria-pressed="true"]:not(.is-failed):not(.is-denied) + .mw-tip [data-tip="saved"],
.mw-save.is-denied + .mw-tip [data-tip="denied"],
.mw-save.is-failed + .mw-tip [data-tip="failed"] { display: inline; }
.mw-save:focus-visible + .mw-tip, .mw-save.is-tip + .mw-tip { opacity: 1; visibility: visible; transition: opacity 150ms ease 200ms, visibility 0s linear 200ms; }
@media (hover: hover) and (pointer: fine) { .mw-tipwrap:hover .mw-tip { opacity: 1; visibility: visible; transition: opacity 150ms ease 350ms, visibility 0s linear 350ms; } }

/* Async regions keep their footprint in every state */
.mw-region { min-height: 16rem; }
.mw-region--compact { min-height: 6rem; }
.mw-region--search { min-height: 5.5rem; }
.mw-state { padding: 1.25rem 0; color: var(--mw-text-2); font-size: 0.92rem; line-height: 1.7; letter-spacing: 0; }
.mw-region--compact .mw-state { padding: 0.25rem 0; font-size: 0.86rem; }
.mw-state .mw-btn { margin-top: 0.9rem; }
.mw-state strong { color: var(--pure-white); font-weight: 600; }
.mw-state--soon { max-width: 600px; padding-top: 2.5rem; }
.mw-state__mark { display: block; margin-bottom: 1.25rem; color: var(--noble-gold); }
.mw-state__title { margin-bottom: 0.6rem; font: 700 1.45rem/1.25 var(--font-display); letter-spacing: -0.005em; color: var(--pure-white); }
.mw-state__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mw-state--inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; }
.mw-state--inline .mw-btn { margin-top: 0; }
.mw-skel { display: block; height: 4.5rem; margin-bottom: 0.75rem; border-radius: 4px; background: rgba(255, 255, 255, 0.05); }
.mw-region--compact .mw-skel, .mw-region--search .mw-skel { height: 1.5rem; }
.mw-count { padding-bottom: 0.5rem; color: var(--mw-text-3); font-size: 0.82rem; letter-spacing: 0; }
.mw-count strong { color: var(--pure-white); }
.mw-count [data-mw-plural] { display: none; }
.mw-count[data-n="one"] [data-mw-plural="one"], .mw-count[data-n="many"] [data-mw-plural="many"] { display: inline; }
.mw-note { padding: 1rem 0; color: var(--mw-text-3); font-size: 0.88rem; letter-spacing: 0; }
.mw-mini { list-style: none; }
.mw-mini li { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.65rem 0; border-bottom: 1px solid var(--mw-line); font-size: 0.88rem; letter-spacing: 0; }
.mw-mini a { color: var(--pure-white); text-decoration: none; overflow-wrap: anywhere; }
.mw-mini a:hover { color: var(--accent-glow); }
.mw-mini time { flex-shrink: 0; color: var(--mw-text-3); font-size: 0.76rem; }
.mw-mini__gone { color: var(--mw-text-3); font-style: italic; }

/* Research */
.mw-search__label { display: block; margin-bottom: 1rem; font: 700 clamp(1.6rem, 3vw, 2.3rem)/1.15 var(--font-display); letter-spacing: -0.015em; }
.mw-search__field { display: flex; align-items: center; gap: 0.85rem; padding: 0.4rem 0.4rem 0.4rem 1.3rem; border: 1px solid var(--csi-line); border-radius: var(--radius-pill); background: var(--mw-surface); color: var(--mw-text-3); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.mw-search__field:focus-within { border-color: var(--accent-glow); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.18); }
.mw-search__field input { flex: 1; min-width: 0; min-height: 48px; border: 0; background: none; color: var(--pure-white); font: 400 1.05rem/1.4 var(--font-body); letter-spacing: 0; }
.mw-search__field input:focus { outline: none; }
.mw-search__field input:disabled { cursor: not-allowed; }
.mw-search__field .mw-btn { min-height: 48px; padding: 0 1.6rem; }
.mw-region--search { padding-top: 0.5rem; }
.mw-browse { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--mw-line); }
.mw-browse__list { list-style: none; }
.mw-browse__list a { display: flex; align-items: center; gap: 0.9rem; min-height: 54px; padding: 0.6rem 0; border-bottom: 1px solid var(--mw-line); color: var(--pure-white); text-decoration: none; }
.mw-browse__list a:hover .mw-browse__name { color: var(--accent-glow); }
.mw-browse__icon { display: inline-flex; color: var(--noble-gold-light); }
.mw-browse__icon:empty { display: none; }
.mw-browse__name { flex: 1; min-width: 0; font: 700 1.1rem/1.3 var(--font-display); transition: color 0.2s ease; }
.mw-browse__count { flex-shrink: 0; color: var(--mw-text-3); font-size: 0.78rem; letter-spacing: 0; }

/* My Products: poster shelf in the desk's section order */
.mw-shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 2.25rem; margin-top: 2rem; list-style: none; }
.mw-prod { display: flex; flex-direction: column; min-width: 0; }
.mw-prod__art { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #000; }
.mw-prod__art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.mw-prod:hover .mw-prod__art img { transform: scale(1.03); }
.mw-prod__body { padding-top: 1.1rem; }
.mw-prod__all { color: var(--mw-text-2); text-decoration: none; letter-spacing: 0.16em; }
.mw-prod__all:hover { color: var(--pure-white); }
.mw-prod__name { margin-top: 0.55rem; font: 700 1.5rem/1.2 var(--font-display); letter-spacing: -0.01em; }
.mw-prod__copy { margin-top: 0.55rem; color: var(--mw-text-2); font-size: 0.9rem; line-height: 1.65; letter-spacing: 0; }
.mw-prod__latest { margin-top: 0.8rem; color: var(--mw-text-3); font-size: 0.82rem; line-height: 1.55; letter-spacing: 0; }
.mw-prod__latest a { color: var(--pure-white); text-decoration: none; }
.mw-prod__latest a:hover { color: var(--accent-glow); }
.mw-prod__latest time { display: block; margin-top: 0.15rem; }
.mw-shelf [data-tags~="morning-briefing"] { order: 1; } .mw-shelf [data-tags~="deep-analysis"] { order: 2; }
.mw-shelf [data-tags~="evening-signal-dispatch"] { order: 3; } .mw-shelf [data-tags~="compass-scorecard"] { order: 4; }
.mw-shelf [data-tags~="nexus-map"] { order: 5; } .mw-shelf [data-tags~="special-report"] { order: 6; }
.mw-prod--flagship { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; align-items: center; margin-top: 2rem; }
.mw-prod--flagship .mw-prod__name { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 900; }
.mw-prod--flagship .mw-region { margin-top: 0.9rem; min-height: 3.5rem; }
.mw-prod--flagship .mw-prod__art { box-shadow: var(--shadow-deep); }

.mw-prod__more { margin-top: 1.1rem; }

/* Restrained arrival */
@media (prefers-reduced-motion: no-preference) {
    .mw-panel:not([hidden]) .mw-brief, .mw-panel:not([hidden]) .mw-lead .mw-row, .mw-panel:not([hidden]) .mw-sec .mw-row, .mw-panel:not([hidden]) .mw-prod { animation: mw-in 0.7s cubic-bezier(.2, .7, .2, 1) both; }
    .mw-panel:not([hidden]) .mw-lead .mw-row { animation-delay: 0.06s; }
    .mw-panel:not([hidden]) .mw-sec .mw-row:nth-child(2) { animation-delay: 0.12s; }
    .mw-panel:not([hidden]) .mw-sec .mw-row:nth-child(3), .mw-shelf .mw-prod:nth-child(n+4) { animation-delay: 0.18s; }
    .mw-live i { animation: mw-pulse 2.4s ease-in-out infinite; }
    .mw-skel { animation: mw-pulse 1.4s ease-in-out infinite; }
}
@keyframes mw-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes mw-pulse { 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .mw * { transition: none !important; } }

/* Wide desktop: the sidebar joins only when the workspace is online; otherwise the list runs in two columns */
@media (min-width: 1200px) {
    .mw-app.is-online .mw-desk { grid-template-columns: minmax(0, 1fr) 280px; }
}
@media (min-width: 1024px) {
    .mw-app:not(.is-online) .mw-day .mw-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1199px) {
    .mw-bar__meta { display: none; }
    .mw-desk__aside { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; padding-top: 2rem; border-top: 1px solid var(--mw-line); }
    .mw-desk__aside > .mw-aside__title:nth-of-type(2) { grid-column: 2; grid-row: 1; }
    .mw-desk__aside > .mw-mini { grid-column: 2; grid-row: 2; }
}
@media (max-width: 1023px) {
    .mw-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mw-prod--flagship { gap: 0 2rem; }
    .mw-sec { gap: 2rem 1.5rem; }
    .mw-sec .mw-row__title { font-size: 1.15rem; }
}
@media (max-width: 767px) {
    .mw { padding: calc(5.25rem + var(--tnh-announcement-offset, 0px)) 0 4rem; }
    .mw__inner { padding: 0 1rem; }
    .mw__head { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .mw__account { padding-bottom: 0; }
    .mw__title { font-size: clamp(2.1rem, 9.5vw, 2.6rem); }
    .mw-bar { margin-top: 1.25rem; padding: 0.75rem 0; border-top: 0; }
    .mw-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; border-radius: 18px; }
    .mw-tab { justify-content: flex-start; min-width: 0; border-radius: 14px; padding: 0 0.9rem; min-height: 44px; }
    .mw-tab span { min-width: 0; overflow-wrap: anywhere; }
    .mw-panel { padding-top: 1.75rem; }
    .mw-brief { padding-bottom: 1.5rem; }
    .mw-brief__day { font-size: clamp(2.1rem, 10vw, 2.75rem); }
    .mw-brief__shifts { flex-direction: column; gap: 0.55rem; }
    .mw-lead .mw-row__media { aspect-ratio: 16 / 10; border-radius: 6px; }
    .mw-plate { position: relative; left: auto; bottom: auto; width: auto; margin: -2.75rem 0.75rem 0; padding: 1.25rem 1.25rem 1.2rem; }
    .mw-lead .mw-row__title { font-size: clamp(1.4rem, 6.4vw, 1.75rem); }
    .mw-sec { grid-template-columns: minmax(0, 1fr); margin-top: 2.25rem; padding-bottom: 2.25rem; }
    .mw-row, .mw-day .mw-row { grid-template-columns: 112px minmax(0, 1fr); gap: 0.6rem 1rem; padding: 1.1rem 0; }
    .mw-row__title { margin-top: 0.35rem; font-size: 1.05rem; }
    .mw-row__actions, .mw-day .mw-row__actions { grid-column: 2; flex-direction: row; justify-content: flex-start; }
    .mw-sec .mw-row__actions { padding-top: 0.6rem; }
    .mw-row__dates .tnh-narrated { flex-basis: 100%; margin: 0.4rem 0 0; }
    .mw-desk__aside, .mw-browse, .mw-shelf { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
    .mw-desk__aside > .mw-aside__title:nth-of-type(2), .mw-desk__aside > .mw-mini { grid-column: auto; grid-row: auto; }
    .mw-search__field { flex-wrap: wrap; border-radius: 14px; padding: 0.5rem 0.5rem 0.5rem 1rem; }
    .mw-search__field .mw-btn { flex: 1 0 100%; }
}
@media (max-width: 359px) {
    .mw-row, .mw-day .mw-row { grid-template-columns: minmax(0, 1fr); }
    .mw-row__actions, .mw-day .mw-row__actions { grid-column: 1; }
    .mw-sechead { flex-wrap: wrap; }
    .mw-plate { margin: -1.5rem 0.4rem 0; }
}
