html, body {
  height: 100%;
}

body {
  height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
}

.shell-page {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}
.dashboard-shell {
  max-width: 1380px;
  margin: 0 auto;
  padding: 18px;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 220px;
  gap: 16px;
  align-items: stretch;
  overflow: hidden;
}
.shell-rail {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.rail-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  padding-right: 2px;
}

.shell-box {
  display: block;
  position: relative;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(182, 182, 182, 0.26);
  background:
    linear-gradient(180deg, rgba(158, 158, 158, 0.16), rgba(42, 42, 44, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 10px 26px rgba(0,0,0,0.22);
  color: #e8e2d7;
}

.shell-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.04);
  pointer-events: none;
}

.box-label {
  display: block;
  margin-bottom: 10px;
  color: #c5a35a;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.shell-box-menu .rail-link {
  display: block;
  margin: 0 0 8px;
  padding: 10px 11px;
  color: #e8e2d7;
  border: 1px solid rgba(185,185,185,0.16);
  background: rgba(255,255,255,0.045);
  text-decoration: none;
  line-height: 1.2;
}

.shell-box-menu .rail-link:hover,
.shell-box-menu .rail-link.active {
  border-color: rgba(197,163,90,0.34);
  background: rgba(197,163,90,0.08);
}

.mini-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-card strong {
  display: block;
  font-size: 15px;
  color: #fff;
}

.mini-card span,
.small-copy {
  display: block;
  color: rgba(232,226,215,0.74);
  line-height: 1.6;
  font-size: 14px;
}

.quick-grid,
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.quick-tile,
.showcase-tile,
.network-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 10px;
  border: 1px solid rgba(185,185,185,0.16);
  background: rgba(255,255,255,0.045);
  color: #e8e2d7;
  text-align: center;
  text-decoration: none;
}

.quick-tile:hover,
.showcase-tile:hover,
.network-tile:hover {
  border-color: rgba(197,163,90,0.30);
  background: rgba(197,163,90,0.08);
}

.shell-rail {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.rail-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  padding-right: 2px;
}

.shell-center {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.center-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  padding: 0 2px 2px;
}

.center-tab {
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid rgba(182, 182, 182, 0.24);
  background:
    linear-gradient(180deg, rgba(165,165,165,0.18), rgba(78,78,78,0.09));
  color: #e8e2d7;
  padding: 10px 14px;
  cursor: pointer;
  font: inherit;
}

.center-tab:hover,
.center-tab.active {
  border-color: rgba(197,163,90,0.34);
  background: rgba(197,163,90,0.10);
}

.center-frame {
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(182, 182, 182, 0.26);
  background: linear-gradient(180deg, rgba(52, 52, 54, 0.98), rgba(28, 28, 30, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 12px 28px rgba(0,0,0,0.24);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(170,170,170,0.60) rgba(255,255,255,0.08);
}

.center-panel {
  display: block;
  min-height: 0;
  height: auto;
  scroll-margin-top: 8px;
}

.center-panel.active {
  display: block;
}

.center-scroll {
  width: 100%;
  height: auto;
  min-height: 0;
  flex: 0 0 auto;
  overflow: visible;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feed-editorial-shell,
.feed-editorial-main,
.feed-editorial-rail {
  min-width: 0;
}            

.center-frame::-webkit-scrollbar {
  width: 10px;
}

.center-frame::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.06);
}

.center-frame::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, rgba(170,170,170,0.62), rgba(197,163,90,0.36));
  border: 1px solid rgba(255,255,255,0.08);
}

.center-frame {
  display: flex;
  flex-direction: column;
}

.feed-editorial-shell,
.feature-stack,
.signal-list,
.network-grid,
.center-grid-two,
.center-grid-three {
  min-width: 0;
}             

.site-header {
  flex: 0 0 auto;
}

.compact-footer {
  flex: 0 0 auto;
}

.hero-box {
  padding: 18px;
}

.shell-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
}

.inner-panel-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(28px, 2.5vw, 38px);
  line-height: 1.06;
}

.shell-lead {
  margin: 0;
  max-width: 920px;
  color: rgba(232,226,215,0.74);
  font-size: 16px;
  line-height: 1.72;
}

.center-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.center-grid-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-stack,
.signal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.signal-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.signal-row:last-child {
  border-bottom: 0;
}

.signal-row strong {
  color: #fff;
  font-size: 15px;
}

.signal-row span {
  color: rgba(232,226,215,0.74);
  line-height: 1.55;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.shell-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shell-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid rgba(185,185,185,0.16);
  background: rgba(255,255,255,0.045);
  color: #e8e2d7;
  text-decoration: none;
}

.shell-btn:hover {
  border-color: rgba(197,163,90,0.34);
  background: rgba(197,163,90,0.08);
}

.shell-btn-primary {
  border-color: rgba(197,163,90,0.28);
  background:
    linear-gradient(180deg, rgba(197,163,90,0.16), rgba(197,163,90,0.08));
}

.shell-btn-secondary {
  background:
    linear-gradient(180deg, rgba(165,165,165,0.18), rgba(78,78,78,0.09));
}

.shell-btn-full {
  width: 100%;
  margin-top: 10px;
}

.shell-input,
.signal-input.shell-input,
.shell-box .signal-input {
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(185,185,185,0.16);
  background: rgba(255,255,255,0.045);
  color: #e8e2d7;
  outline: none;
}

.shell-input::placeholder,
.signal-input.shell-input::placeholder,
.shell-box .signal-input::placeholder {
  color: rgba(232,226,215,0.46);
}

.feed-ad-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) 280px;
  gap: 14px;
  align-items: stretch;
}

.news-log-box,
.promo-frame-box {
  min-height: 100%;
}

.news-log-box {
  display: flex;
  flex-direction: column;
}

.news-log-entry {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-log-entry.compact {
  gap: 8px;
}

.news-log-title {
  margin: 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.06;
}

.news-log-subtitle {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}

.news-log-meta {
  margin: 0;
  color: rgba(232,226,215,0.54);
  font-size: 12px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.news-log-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-log-body p {
  margin: 0;
  color: rgba(232,226,215,0.78);
  font-size: 18px;
  line-height: 1.72;
}

.news-log-divider {
  height: 1px;
  margin: 18px 0;
  background: rgba(255,255,255,0.07);
}

.news-log-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(232,226,215,0.74);
  display: grid;
  gap: 8px;
  font-size: 15px;
  line-height: 1.55;
}

.promo-frame-box {
  display: flex;
  flex-direction: column;
}

.promo-frame-art {
  flex: 1 1 auto;
  min-height: 100%;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(185,185,185,0.16);
  background:
    linear-gradient(180deg, rgba(20,20,22,0.18), rgba(8,8,10,0.72)),
    radial-gradient(circle at 50% 18%, rgba(197,163,90,0.12), transparent 30%),
    url('https://placehold.co/700x1100/1e1e22/e8e2d7?text=FEATURED+AD') center/cover no-repeat;
  margin-bottom: 12px;
  overflow: hidden;
}

.promo-frame-overlay {
  width: 100%;
  padding: 18px;
  background: linear-gradient(to top, rgba(8,8,10,0.88), rgba(8,8,10,0.28));
}

.promo-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #c5a35a;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.promo-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 26px;
  line-height: 1.02;
}

.promo-text {
  margin: 0;
  color: rgba(232,226,215,0.74);
  font-size: 14px;
  line-height: 1.6;
}

.feed-editorial-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) 290px;
  gap: 18px;
  align-items: start;
}

.feed-editorial-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feed-editorial-rail {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.editorial-lead,
.editorial-entry,
.editorial-rail-card,
.editorial-inset {
  border: 1px solid rgba(185,185,185,0.16);
  background: rgba(255,255,255,0.035);
}

.editorial-lead {
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.editorial-lead-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.editorial-kicker {
  margin-bottom: 10px;
  color: #c5a35a;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.editorial-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.02;
}

.editorial-dek {
  margin: 0;
  max-width: 900px;
  color: rgba(232,226,215,0.74);
  font-size: 18px;
  line-height: 1.68;
}

.editorial-entry {
  padding: 22px 22px 20px;
}

.editorial-meta {
  margin-bottom: 16px;
  color: rgba(232,226,215,0.50);
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.editorial-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.editorial-body p {
  margin: 0;
  color: rgba(232,226,215,0.80);
  font-size: 18px;
  line-height: 1.78;
}

.editorial-inset-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.editorial-inset {
  padding: 16px 16px 14px;
}

.editorial-inset-label {
  margin-bottom: 8px;
  color: #c5a35a;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.editorial-inset p {
  margin: 0;
  color: rgba(232,226,215,0.74);
  font-size: 15px;
  line-height: 1.68;
}

.editorial-entry-secondary {
  padding-top: 18px;
}

.editorial-subhead-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.editorial-subhead {
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.08;
}

.editorial-submeta {
  color: rgba(232,226,215,0.50);
  font-size: 12px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.editorial-note-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.editorial-note-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.editorial-note-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.editorial-note-item strong {
  color: #fff;
  font-size: 16px;
}

.editorial-note-item span {
  color: rgba(232,226,215,0.74);
  font-size: 15px;
  line-height: 1.62;
}

.editorial-rail-card {
  padding: 14px;
}

.editorial-rail-card-tall {
  padding: 14px;
}

.editorial-rail-label {
  margin-bottom: 10px;
  color: #c5a35a;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.editorial-rail-art {
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(185,185,185,0.16);
  background:
    linear-gradient(180deg, rgba(20,20,22,0.18), rgba(8,8,10,0.72)),
    radial-gradient(circle at 50% 18%, rgba(197,163,90,0.12), transparent 30%),
    url('https://placehold.co/700x1100/1e1e22/e8e2d7?text=FEATURED+AD') center/cover no-repeat;
  overflow: hidden;
}

.editorial-rail-overlay {
  width: 100%;
  padding: 18px;
  background: linear-gradient(to top, rgba(8,8,10,0.90), rgba(8,8,10,0.28));
}

.editorial-rail-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #c5a35a;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.editorial-rail-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 26px;
  line-height: 1.02;
}

.editorial-rail-text,
.editorial-rail-copy {
  margin: 0;
  color: rgba(232,226,215,0.74);
  font-size: 14px;
  line-height: 1.62;
}

@media (max-width: 1200px) {
  .dashboard-shell {
    grid-template-columns: 200px minmax(0, 1fr) 200px;
  }
}

.core-signal-box {
  border: 2px solid rgba(58,168,255,0.88);
  box-shadow:
    inset 0 0 0 1px rgba(140,210,255,0.14),
    0 0 0 1px rgba(58,168,255,0.16),
    0 0 18px rgba(58,168,255,0.22);
}

.core-signal-label {
  color: #7fd0ff;
}

.core-signal-link {
  display: block;
  margin: 0 0 8px;
  padding: 10px 11px;
  color: #e8e2d7;
  border: 1px solid rgba(90,180,255,0.26);
  background: rgba(58,168,255,0.08);
  text-decoration: none;
  line-height: 1.2;
}

.core-signal-link:hover {
  background: rgba(58,168,255,0.14);
  border-color: rgba(127,208,255,0.44);
}

.article-frame {
  display: flex;
  flex-direction: column;
}

.article-scroll {
  height: 100%;
}

.article-page-shell {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.article-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.article-eyebrow,
.article-issue-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(185,185,185,0.16);
  background: rgba(255,255,255,0.045);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #c5a35a;
}

.article-header {
  margin-bottom: 22px;
}

.article-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 0.98;
}

.article-dek {
  margin: 0 0 16px;
  max-width: 860px;
  color: rgba(232,226,215,0.76);
  font-size: 20px;
  line-height: 1.65;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: rgba(232,226,215,0.48);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.article-hero-media {
  min-height: 360px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(185,185,185,0.16);
  background:
    linear-gradient(180deg, rgba(20,20,22,0.18), rgba(8,8,10,0.72)),
    radial-gradient(circle at 50% 18%, rgba(197,163,90,0.12), transparent 30%),
    url('https://placehold.co/1400x900/1f1f22/e8e2d7?text=ARTICLE+HERO') center/cover no-repeat;
  overflow: hidden;
}

.article-hero-overlay {
  width: 100%;
  padding: 18px;
  background: linear-gradient(to top, rgba(8,8,10,0.90), rgba(8,8,10,0.28));
}

.article-hero-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #c5a35a;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.article-hero-title {
  color: #fff;
  font-size: 20px;
}

.article-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.article-body p {
  margin: 0;
  color: rgba(232,226,215,0.80);
  font-size: 18px;
  line-height: 1.82;
}

.article-body h2 {
  margin: 10px 0 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.08;
}

.article-pullquote {
  margin: 8px 0;
  padding: 18px 20px;
  border-left: 3px solid #c5a35a;
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 22px;
  line-height: 1.55;
}

.article-list {
  margin: 0;
  padding-left: 20px;
  color: rgba(232,226,215,0.80);
  font-size: 17px;
  line-height: 1.75;
  display: grid;
  gap: 6px;
}

.article-action-panel {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(185,185,185,0.16);
  background: rgba(255,255,255,0.04);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 16px;
  align-items: center;
}

.article-action-label {
  margin-bottom: 8px;
  color: #c5a35a;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.article-action-panel h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 28px;
}

.article-action-panel p {
  margin: 0;
  color: rgba(232,226,215,0.74);
  font-size: 16px;
  line-height: 1.68;
}

.article-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-related-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.article-related-card {
  padding: 16px;
  border: 1px solid rgba(185,185,185,0.16);
  background: rgba(255,255,255,0.04);
}

.article-related-card h4 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 20px;
}

.article-related-card p {
  margin: 0 0 12px;
  color: rgba(232,226,215,0.74);
  line-height: 1.65;
}

.article-inline-link {
  color: #c5a35a;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.article-side-ad {
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(185,185,185,0.16);
  background:
    linear-gradient(180deg, rgba(20,20,22,0.18), rgba(8,8,10,0.72)),
    radial-gradient(circle at 50% 18%, rgba(58,168,255,0.14), transparent 28%),
    url('https://placehold.co/900x1400/202024/e8e2d7?text=FEATURED+AD') center/cover no-repeat;
  overflow: hidden;
}

.article-side-ad-overlay {
  width: 100%;
  padding: 18px;
  background: linear-gradient(to top, rgba(8,8,10,0.90), rgba(8,8,10,0.28));
}

.article-side-ad-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #7fd0ff;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.article-side-ad-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 24px;
  line-height: 1.02;
}

.article-side-ad-copy {
  margin: 0;
  color: rgba(232,226,215,0.74);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  body {
    height: auto;
    min-height: 100dvh;
    overflow: auto;
  }

  .shell-page {
    overflow: visible;
  }

  .dashboard-shell {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .shell-rail,
  .shell-center {
    overflow: visible;
  }

  .rail-stack {
    height: auto;
    overflow: visible;
  }

  .center-grid-two,
  .center-grid-three,
  .network-grid,
  .editorial-inset-row,
  .feed-editorial-shell,
  .feed-ad-layout,
  .article-related-grid {
    grid-template-columns: 1fr;
  }

  .center-frame {
    min-height: auto;
    flex: 0 0 auto;
  }

  .center-scroll {
    height: auto;
    max-height: none;
  }

  .promo-frame-art,
  .editorial-rail-art,
  .article-side-ad {
    min-height: 320px;
  }

  .article-action-panel {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .dashboard-shell {
    padding: 14px 12px 20px;
    gap: 12px;
  }

  .shell-box {
    padding: 12px;
  }

  .shell-title {
    font-size: 32px;
  }
}

.logo-panel-box {
  padding: 14px;
}

.logo-panel-image-wrap {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 180px;
  margin: 0 auto;
  border: 1px solid rgba(185,185,185,0.16);
  background: rgba(255,255,255,0.045);
  overflow: hidden;
}

.logo-panel-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

             /* FINAL CENTER LONG-SCROLL LAYOUT */

.shell-center {
  min-width: 0 !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.center-frame {
  min-width: 0 !important;
  min-height: 0 !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 14px !important;
  scroll-behavior: smooth !important;
}

.center-panel {
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  flex: 0 0 auto !important;
  scroll-margin-top: 8px !important;
}

.center-panel.active {
  display: block !important;
  flex-direction: unset !important;
  height: auto !important;
}

.center-scroll {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

/* keep long content from widening the layout */
.feed-editorial-shell,
.feed-editorial-main,
.feed-editorial-rail,
.editorial-lead,
.editorial-entry,
.editorial-inset-row,
.center-grid-two,
.center-grid-three,
.network-grid {
  min-width: 0;
}

/* =========================================================
   FORCE CENTER-CONSOLE-ONLY SCROLL
   Put this at the VERY BOTTOM of shell.css
   ========================================================= */

html,
body {
  height: 100% !important;
}

body {
  height: 100dvh !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.shell-page {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.dashboard-shell {
  max-width: 1380px !important;
  margin: 0 auto !important;
  padding: 18px !important;
  height: 100% !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr) 220px !important;
  gap: 16px !important;
  align-items: stretch !important;
  overflow: hidden !important;
}

.shell-rail {
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.rail-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  min-height: 0 !important;
  height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.shell-center {
  min-width: 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  overflow: hidden !important;
}

.center-frame {
  min-width: 0 !important;
  min-height: 0 !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.center-panel {
  display: none !important;
  min-height: 0 !important;
  height: 100% !important;
}

.center-panel.active {
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  height: 100% !important;
}

.center-scroll {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

/* =========================================================
   FINAL ISSUE TAB BAR OVERRIDE
   Thin, attached, clean, no visible scrollbar
   ========================================================= */

.center-tabs {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-width: 0 !important;
  width: 100% !important;

  margin: 0 !important;
  padding: 4px 0 6px !important;

  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;

  border-bottom: 1px solid rgba(232, 226, 215, 0.10) !important;
  background: transparent !important;
}

.center-tabs::-webkit-scrollbar {
  display: none !important;
}

.center-tab {
  flex: 0 0 auto !important;
  appearance: none !important;
  cursor: pointer !important;

  min-height: 24px !important;
  padding: 4px 10px !important;

  border: 1px solid rgba(182, 182, 182, 0.16) !important;
  background: rgba(255, 255, 255, 0.025) !important;
  color: #e8e2d7 !important;

  font-size: 11px !important;
  line-height: 1 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;

  border-radius: 0 !important;
  box-shadow: none !important;
  white-space: nowrap !important;

  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease !important;
}

.center-tab:hover {
  border-color: rgba(197, 163, 90, 0.26) !important;
  background: rgba(197, 163, 90, 0.06) !important;
}

.center-tab.active {
  border-color: rgba(197, 163, 90, 0.38) !important;
  background: rgba(197, 163, 90, 0.10) !important;
  color: #f2ede3 !important;
}

@media (max-width: 900px) {
  .center-tabs {
    gap: 4px !important;
    padding: 3px 0 5px !important;
  }

  .center-tab {
    min-height: 22px !important;
    padding: 4px 8px !important;
    font-size: 10px !important;
    letter-spacing: 1px !important;
  }
}

/* =========================================================
   FORCE TAB BAR TO ONE THIN ROW
   ========================================================= */

.shell-center > .center-tabs {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 4px !important;

  width: 100% !important;
  min-width: 0 !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;

  margin: 0 0 6px 0 !important;
  padding: 0 14px 0 0 !important;

  overflow-x: auto !important;
  overflow-y: hidden !important;

  border-bottom: 1px solid rgba(232, 226, 215, 0.08) !important;
  background: transparent !important;

  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.shell-center > .center-tabs::-webkit-scrollbar {
  height: 0 !important;
  width: 0 !important;
  display: none !important;
}

.shell-center > .center-tabs .center-tab,
.shell-center > .center-tabs > .center-tab {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;

  height: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
  padding: 0 9px !important;
  margin: 0 !important;

  border: 1px solid rgba(182, 182, 182, 0.14) !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.02) !important;
  box-shadow: none !important;

  color: #e8e2d7 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;

  overflow: hidden !important;
}

.shell-center > .center-tabs .center-tab:hover,
.shell-center > .center-tabs > .center-tab:hover {
  border-color: rgba(197, 163, 90, 0.24) !important;
  background: rgba(197, 163, 90, 0.05) !important;
}

.shell-center > .center-tabs .center-tab.active,
.shell-center > .center-tabs > .center-tab.active {
  border-color: rgba(197, 163, 90, 0.34) !important;
  background: rgba(197, 163, 90, 0.08) !important;
  color: #f2ede3 !important;
}
