@font-face {
  font-family: "News Reposer";
  src: local("News Reposer"), local("NewsReposer");
  font-display: swap;
}

:root {
  --editorial-navy: #02462e;
  --royal-navy: #02462e;
  --brand-gold: #f7b538;
  --gold-text: #8a5a00;
  --amber: #fec700;
  --ink: #17202a;
  --muted: #667085;
  --soft: #edf1f5;
  --paper: #faf9f6;
  --white: #ffffff;
  --line: #d9dde3;
  --line-dark: #b8bec8;
  --surface: #ffffff;
  --surface-subtle: #f4f6f8;
  --navy-tint: #edf1f5;
  --text-on-navy: #f7f9fc;
  --muted-on-navy: #cbd5e4;
  --yellow: var(--amber);
  --yellow-soft: #fff5cc;
  --danger: #9b302a;
  --sans: "Inter", "Noto Sans Devanagari", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "News Reposer", "Newsreader", "Noto Sans Devanagari", Georgia, serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ui-icon { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.public-mode { background: #fffc00; background: -webkit-linear-gradient(to right, #ffffff, #fffc00); background: linear-gradient(to right, #ffffff, #fffc00); background-attachment: fixed; }
body.public-mode .site-preview { background: rgba(250,249,246,.88); }
button, input, textarea, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [contenteditable]:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 1000; transform: translateY(-160%); background: var(--ink); color: #fff; padding: 10px 14px; text-decoration: none; font-size: 12px; }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin: 0 0 6px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.btn { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent; border-radius: 8px; padding: 9px 13px; background: var(--white); font-size: 12px; font-weight: 700; }
.btn.primary { background: var(--editorial-navy); color: #fff; }
.btn.primary:hover { background: var(--royal-navy); }
.btn.ghost { border-color: var(--line-dark); }
.btn.dark { background: var(--yellow); }
.text-button, .back-button { min-height: 32px; display: inline-flex; align-items: center; padding: 0; border: 0; background: transparent; font-size: 11px; font-weight: 700; }

/* Shared brand */
.logo-lockup { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo-lockup img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.logo-lockup > span { display: grid; line-height: 1; }
.logo-lockup b { font-size: 17px; font-weight: 700; letter-spacing: -.04em; }
.logo-lockup small { margin-top: 5px; color: var(--gold-text); font-size: 9px; font-weight: 700; letter-spacing: .24em; }
.public-footer .logo-lockup small, .login-brand small { color: var(--brand-gold); }

/* Product modes */
.app-shell { display: none; }
.site-preview { display: block; min-height: 100vh; }
body.newsroom-mode .site-preview { display: none; }
body.newsroom-mode { overflow-x: hidden; background: #f6f5f4; }
body.newsroom-mode .app-shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.view { display: none; }
.view.active-view { display: block; }

/* Premium newsroom command deck */
body.newsroom-mode { background:
  radial-gradient(circle at 78% 0%, rgba(254,199,0,.10), transparent 28%),
  linear-gradient(145deg,#f2f6f3 0%,#f7f6f2 48%,#eef3f0 100%); }
body.newsroom-mode .sidebar { border-right: 0; background: linear-gradient(180deg,#013c28 0%,#02462e 56%,#013721 100%); color: #fff; box-shadow: 14px 0 40px rgba(2,70,46,.12); }
body.newsroom-mode .sidebar .logo-lockup b { color: #fff; }
body.newsroom-mode .sidebar .logo-lockup img { box-shadow: 0 0 0 4px rgba(255,255,255,.1); }
body.newsroom-mode .sidebar .nav-item { color: rgba(255,255,255,.68); }
body.newsroom-mode .sidebar .nav-item .icon { color: rgba(255,255,255,.52); }
body.newsroom-mode .sidebar .nav-item:hover { background: rgba(255,255,255,.08); color: #fff; }
body.newsroom-mode .sidebar .nav-item.active { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 3px 0 0 var(--amber); }
body.newsroom-mode .sidebar .nav-item.active .icon { color: var(--amber); }
body.newsroom-mode .sidebar .nav-item em { background: rgba(255,255,255,.1); color: rgba(255,255,255,.78); }
body.newsroom-mode .sidebar .profile { border-color: rgba(255,255,255,.12); }
body.newsroom-mode .sidebar .profile b { color: #fff; }
body.newsroom-mode .sidebar .profile small { color: rgba(255,255,255,.55); }
body.newsroom-mode .sidebar .avatar { background: var(--amber); color: var(--ink); }
body.newsroom-mode .sidebar .profile-more { color: rgba(255,255,255,.45); }
body.newsroom-mode .topbar { border-bottom-color: rgba(2,70,46,.1); background: rgba(250,252,250,.88); box-shadow: 0 10px 30px rgba(2,70,46,.045); }

.newsroom-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0,1.45fr) minmax(260px,.55fr); gap: 28px; margin-bottom: 18px; padding: 30px 32px; border-radius: 18px; background: linear-gradient(118deg,#013a27 0%,#02462e 58%,#075b3c 100%); color: #fff; box-shadow: 0 24px 60px rgba(2,70,46,.18); }
.newsroom-hero:before { content:""; position:absolute; z-index:-1; inset:auto -80px -125px auto; width:340px; height:340px; border:1px solid rgba(254,199,0,.3); border-radius:50%; box-shadow:0 0 0 45px rgba(254,199,0,.035),0 0 0 90px rgba(254,199,0,.025); }
.newsroom-hero:after { content:"QN"; position:absolute; z-index:-1; right:29%; bottom:-38px; color:rgba(255,255,255,.025); font-family:var(--serif); font-size:190px; line-height:1; }
.newsroom-hero-copy { align-self:center; max-width:760px; }
.hero-live-label { display:inline-flex; align-items:center; gap:8px; margin-bottom:18px; color:#d8e8df; font-size:9px; font-weight:700; letter-spacing:.14em; }
.hero-live-label i { width:8px; height:8px; border-radius:50%; background:var(--amber); box-shadow:0 0 0 6px rgba(254,199,0,.14); animation:qnPulse 2s ease-in-out infinite; }
.newsroom-hero h2 { margin:0; max-width:720px; font-family:var(--serif); font-size:clamp(42px,5vw,68px); font-weight:500; line-height:.94; letter-spacing:-.045em; }
.newsroom-hero-copy > p { max-width:650px; margin:18px 0 0; color:rgba(255,255,255,.72); font-size:13px; line-height:1.65; }
.newsroom-hero-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:20px; }
.newsroom-hero-chips span { padding:7px 10px; border:1px solid rgba(255,255,255,.14); border-radius:999px; background:rgba(255,255,255,.07); color:#eff8f3; font-size:8px; font-weight:700; backdrop-filter:blur(8px); }
.newsroom-hero-status { align-self:stretch; display:flex; flex-direction:column; justify-content:space-between; padding:18px; border:1px solid rgba(255,255,255,.14); border-radius:14px; background:rgba(255,255,255,.08); backdrop-filter:blur(14px); }
.newsroom-hero-status header { display:flex; justify-content:space-between; gap:10px; color:rgba(255,255,255,.55); font-size:8px; letter-spacing:.08em; }
.newsroom-hero-status header b { color:#fff; letter-spacing:0; }
.edition-ring { display:flex; align-items:end; gap:9px; margin:22px 0 12px; }
.edition-ring strong { color:var(--amber); font-size:38px; line-height:.85; letter-spacing:-.05em; }
.edition-ring span { color:rgba(255,255,255,.65); font-size:9px; }
.edition-progress { height:6px; overflow:hidden; border-radius:99px; background:rgba(255,255,255,.12); }
.edition-progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--amber),#ffe578); }
.newsroom-hero-status footer { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:18px; }
.newsroom-hero-status footer span { padding:10px; border-radius:8px; background:rgba(0,0,0,.12); color:rgba(255,255,255,.62); font-size:8px; }
.newsroom-hero-status footer b { display:block; margin-bottom:3px; color:#fff; font-size:16px; }
@keyframes qnPulse { 0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.72);opacity:.65} }

body.newsroom-mode .stat-card { position:relative; overflow:hidden; border-color:rgba(2,70,46,.09); border-radius:14px; box-shadow:0 12px 28px rgba(2,70,46,.055); transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
body.newsroom-mode .stat-card:hover { transform:translateY(-3px); border-color:rgba(2,70,46,.2); box-shadow:0 18px 36px rgba(2,70,46,.1); }
body.newsroom-mode .stat-card:after { content:""; position:absolute; width:74px; height:74px; right:-34px; bottom:-38px; border-radius:50%; background:rgba(2,70,46,.055); }
body.newsroom-mode .stat-card.accent { border-top:0; background:linear-gradient(145deg,#fff 0%,#f0f8f3 100%); }
body.newsroom-mode .panel, body.newsroom-mode .site-control-hub { border-color:rgba(2,70,46,.1); border-radius:14px; box-shadow:0 12px 30px rgba(2,70,46,.045); }
body.newsroom-mode .hub-actions button { border-color:rgba(2,70,46,.1); background:#f9fbfa; transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease; }
body.newsroom-mode .hub-actions button:hover { transform:translateY(-2px); border-color:rgba(2,70,46,.25); background:#fff; box-shadow:0 10px 22px rgba(2,70,46,.08); }
body.newsroom-mode .hub-actions span { background:#e9f3ed; color:var(--editorial-navy); }
body.newsroom-mode .dashboard-actions { border:1px solid rgba(255,255,255,.1); border-radius:14px; background:linear-gradient(90deg,#013c28,#07583b); box-shadow:0 18px 36px rgba(2,70,46,.14); }

/* Newsroom shell */
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; overflow: hidden; padding: 20px 12px 16px; border-right: 1px solid #e3e7ed; background: #fff; }
.sidebar .brand { padding: 0 8px 22px; }
.sidebar-close, .sidebar-backdrop { display: none; }
.nav-list { display: grid; gap: 3px; overflow-y: auto; scrollbar-width: thin; }
.nav-item { min-height: 44px; display: flex; align-items: center; gap: 11px; padding: 9px 11px; border: 0; border-radius: 8px; background: transparent; color: #536174; text-align: left; font-size: 12px; font-weight: 550; transition: background .15s,color .15s; }
.nav-item:hover { background: #f2f5f9; color: var(--royal-navy); }
.nav-item.active { background: #edf3fb; color: var(--royal-navy); font-weight: 700; box-shadow: inset 3px 0 0 var(--brand-gold); }
.nav-item .icon { width: 18px; height: 18px; flex: 0 0 18px; display: grid; place-items: center; color: #7b8797; }
.nav-item .icon .ui-icon { width: 17px; height: 17px; }
.nav-item.active .icon { color: var(--royal-navy); }
.nav-item em { margin-left: auto; min-width: 21px; padding: 2px 6px; border-radius: 10px; background: #e9edf2; color: #536174; text-align: center; font-size: 9px; font-style: normal; }
.sidebar-bottom { margin-top: auto; padding-top: 14px; }
.profile { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 9px; align-items: center; margin-top: 12px; padding: 15px 8px 0; border-top: 1px solid #e3e7ed; }
.avatar, .manager-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: #e9eff7; color: var(--royal-navy); font-size: 10px; font-weight: 700; }
.profile-more { width: 18px; color: #7b8797; }
.profile b, .profile small { display: block; }
.profile b { font-size: 11px; }
.profile small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.topbar { position: sticky; top: 0; z-index: 20; height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 0 28px; border-bottom: 1px solid #e3e7ed; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); }
.topbar h1 { margin: 0; font-size: 21px; letter-spacing: -.035em; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: #536174; position: relative; }
.icon-button span { position: absolute; top: 8px; right: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.mobile-menu { display: none; width: 40px; height: 40px; border: 0; background: transparent; }

/* Dashboard */
#dashboardView { max-width: 1500px; margin: 0 auto; padding: 24px 28px 54px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.stat-card { min-height: 112px; display: flex; flex-wrap: wrap; justify-content: space-between; align-content: space-between; padding: 17px; border: 1px solid #e1e6ed; border-radius: 11px; background: var(--white); box-shadow: 0 1px 2px rgba(16,44,87,.035); }
.stat-card div span { display: block; margin-bottom: 9px; color: var(--muted); font-size: 11px; }
.stat-card strong { font-family: var(--sans); font-size: 29px; font-weight: 650; letter-spacing: -.04em; }
.stat-card small { width: 100%; color: var(--muted); font-size: 10px; }
.stat-card.accent { border-top: 3px solid var(--editorial-navy); }
.trend { align-self: flex-start; display: inline-flex; align-items: center; gap: 3px; padding: 4px 7px; border-radius: 12px; background: #f1f5f9; font-size: 8px; font-weight: 700; }
.trend .ui-icon { width: 10px; height: 10px; }
.up { color: var(--royal-navy); }
.sparkline { height: 38px; display: flex; align-items: flex-end; gap: 3px; }
.sparkline i { width: 4px; background: var(--ink); }
.sparkline i:nth-child(1){height:10px}.sparkline i:nth-child(2){height:25px}.sparkline i:nth-child(3){height:18px}.sparkline i:nth-child(4){height:37px}.sparkline i:nth-child(5){height:28px}.sparkline i:nth-child(6){height:34px}.sparkline i:nth-child(7){height:30px}
.live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--yellow); }
.dashboard-actions { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-bottom: 16px; padding: 6px; border-radius: 12px; background: var(--editorial-navy); box-shadow: 0 8px 24px rgba(16,44,87,.12); }
.dashboard-actions button { min-width: 0; display: grid; grid-template-columns: 35px minmax(0,1fr); column-gap: 10px; align-items: center; padding: 10px 13px; border: 0; border-right: 1px solid rgba(255,255,255,.13); background: transparent; color: #fff; text-align: left; }
.dashboard-actions button:last-child { border-right: 0; }
.dashboard-actions button:hover { background: rgba(255,255,255,.08); }
.dashboard-actions button > span { grid-row: 1/3; width: 35px; height: 35px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.1); color: var(--amber); }
.dashboard-actions b, .dashboard-actions small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dashboard-actions b { align-self: end; color: #fff; font-size: 12px; }
.dashboard-actions small { align-self: start; color: var(--muted-on-navy); font-size: 10px; }
.site-control-hub { margin-bottom: 16px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.hub-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 13px; }
.hub-heading h2 { margin: 1px 0 0; font-size: 17px; }
.hub-heading > p { max-width: 420px; margin: 0; color: var(--muted); text-align: right; font-size: 11px; line-height: 1.5; }
.hub-actions { display: grid; grid-template-columns: repeat(6,1fr); gap: 7px; }
.hub-actions button { display: grid; grid-template-columns: 32px 1fr; gap: 1px 8px; align-items: center; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcfd; text-align: left; }
.hub-actions button:hover { border-color: #b9c9df; background: #f2f6fb; }
.hub-actions span { grid-row: 1/3; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 7px; background: #edf3fb; color: var(--royal-navy); }
.hub-actions b, .hub-actions small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hub-actions b { font-size: 11px; }
.hub-actions small { color: var(--muted); font-size: 9px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(285px, .62fr); gap: 16px; align-items: start; }
.panel { overflow: hidden; border: 1px solid #e1e6ed; border-radius: 11px; background: var(--white); box-shadow: 0 1px 3px rgba(16,44,87,.04); }
.panel-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 19px; }
.panel-header h2 { margin: 0; font-family: var(--sans); font-size: 18px; font-weight: 650; letter-spacing: -.025em; }
.panel-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: #edf3fb; color: var(--royal-navy); }
.filters { display: flex; gap: 22px; padding: 0 19px; border-bottom: 1px solid #e5e8ed; overflow-x: auto; }
.filters button { min-height: 36px; padding: 0 0 8px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); white-space: nowrap; font-size: 11px; }
.filters button.active { border-color: var(--ink); color: var(--ink); }
.filters span { margin-left: 3px; color: #999; }
.story-row { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 15px 19px; border-bottom: 1px solid #e8ebef; transition: background .15s; }
.story-row:hover { background: #fafbfd; }
.story-row:last-child { border-bottom: 0; }
.story-image { height: 52px; border-radius: 7px; background: #e8ecf1; border-top: 3px solid var(--brand-gold); }
.story-copy > div { display: flex; gap: 7px; align-items: center; }
.tag { padding: 3px 6px; border: 1px solid #d7dde5; border-radius: 4px; color: #536174; font-size: 9px; font-weight: 700; }
.status { color: var(--muted); font-size: 9px; }
.story-copy h3 { margin: 6px 0 4px; font-size: 13px; font-weight: 650; line-height: 1.35; }
.story-copy p { margin: 0; color: var(--muted); font-size: 10px; }
.story-actions { display: flex; gap: 5px; }
.story-actions button { min-width: 36px; height: 36px; display: inline-grid; place-items: center; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #536174; font-size: 10px; }
.story-actions .ui-icon { width: 14px; height: 14px; }
.story-actions button:last-child { color: var(--danger); }
.right-column { display: grid; gap: 14px; align-content: start; }
.quick-draft input { width: 100%; padding: 17px 19px; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); outline: 0; font-family: var(--sans); font-size: 13px; }
.draft-actions { display: flex; justify-content: space-between; gap: 8px; padding: 12px 16px; }
.draft-actions select, .publish-settings select { padding: 8px; border: 1px solid var(--line); background: var(--paper); font-size: 9px; }
.top-stories ol { list-style: none; margin: 0; padding: 0 18px 10px; }
.top-stories li { display: grid; grid-template-columns: 32px 1fr; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); }
.top-stories li > b { font-family: var(--sans); font-size: 12px; font-weight: 700; color: #9aa4b2; }
.top-stories h4 { margin: 0 0 7px; font-size: 11px; line-height: 1.4; }
.top-stories p { display: flex; justify-content: space-between; margin: 0; color: var(--muted); font-size: 8px; }
.top-stories p span { display: inline-flex; align-items: center; gap: 4px; }
.top-stories p .ui-icon { width: 11px; height: 11px; }
.dashboard-lower-grid { display: grid; grid-template-columns: 1.05fr .95fr .9fr; gap: 16px; align-items: start; margin-top: 16px; }
.dashboard-lower-grid .panel-header { min-height: 72px; border-bottom: 1px solid #e8ebef; }
.pipeline-list { padding: 5px 19px 13px; }
.pipeline-list > div { display: grid; grid-template-columns: 100px minmax(70px,1fr) 22px; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid #edf0f3; }
.pipeline-list > div:last-child { border-bottom: 0; }
.pipeline-list span b, .pipeline-list span small { display: block; }
.pipeline-list span b { font-size: 9px; }
.pipeline-list span small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.pipeline-list i { height: 5px; overflow: hidden; border-radius: 4px; background: #edf0f4; }
.pipeline-list i em { display: block; height: 100%; border-radius: inherit; background: var(--royal-navy); }
.pipeline-list > div:nth-child(3) i em { background: var(--brand-gold); }
.pipeline-list strong { color: #536174; text-align: right; font-size: 10px; }
.schedule-list { padding: 4px 18px 12px; }
.schedule-list article { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid #edf0f3; }
.schedule-list article:last-child { border-bottom: 0; }
.schedule-list time { color: var(--royal-navy); font-size: 9px; font-weight: 700; }
.schedule-list b, .schedule-list small { display: block; }
.schedule-list b { font-size: 9px; }
.schedule-list small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.schedule-state { padding: 4px 6px; border-radius: 10px; background: #f0f3f7; color: #667085; font-size: 7px; font-weight: 700; }
.schedule-state.live { background: #fff2c7; color: #795700; }
.task-count { padding: 5px 8px; border-radius: 12px; background: #edf3fb; color: var(--royal-navy); font-size: 8px; font-weight: 700; }
.task-list { padding: 4px 18px 12px; }
.task-list label { display: grid; grid-template-columns: 25px minmax(0,1fr); column-gap: 9px; align-items: center; padding: 10px 0; border-bottom: 1px solid #edf0f3; cursor: pointer; }
.task-list label:last-child { border-bottom: 0; }
.task-list input { position: absolute; opacity: 0; pointer-events: none; }
.task-list label > span { grid-row: 1/3; width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid #d6dce4; border-radius: 7px; color: transparent; }
.task-list .ui-icon { width: 14px; height: 14px; }
.task-list b, .task-list small { display: block; }
.task-list b { font-size: 9px; }
.task-list small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.readiness-panel { margin: 8px 18px 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.readiness-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.readiness-heading .eyebrow { margin: 0; }
.readiness-heading > span { color: var(--muted); font-size: 7px; }
.readiness-heading h3 { margin: 3px 0 0; font-family: var(--serif); font-size: 18px; font-weight: 500; }
.readiness-score { display: grid; grid-template-columns: auto minmax(80px,1fr) auto; gap: 10px; align-items: end; margin: 12px 0 8px; }
.readiness-score strong { color: var(--editorial-navy); font-size: 22px; line-height: 1; }
.readiness-score span { display: block; margin-top: 3px; color: var(--muted); font-size: 7px; }
.readiness-score b { color: var(--muted); font-size: 7px; }
.readiness-progress { height: 7px; overflow: hidden; border-radius: 99px; background: #edf0f3; }
.readiness-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--editorial-navy),var(--amber)); }
.readiness-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-top: 8px; }
.readiness-list div { display: flex; justify-content: space-between; gap: 6px; align-items: center; padding: 7px 0; border-bottom: 1px solid #edf0f3; }
.readiness-list b { font-size: 8px; }
.readiness-list em { color: #9a5d00; font-size: 7px; font-style: normal; text-align: right; }
.readiness-list em.ready { color: var(--editorial-navy); }
.readiness-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.readiness-actions button { padding: 7px 9px; border: 1px solid rgba(2,70,46,.2); border-radius: 6px; background: #f3f8f5; color: var(--editorial-navy); font-size: 7px; font-weight: 700; cursor: pointer; }
.readiness-actions button:hover { background: var(--amber); color: var(--ink); }
@media (max-width: 620px) { .readiness-list { grid-template-columns: 1fr; } }
.task-list input:checked + span { border-color: var(--royal-navy); background: var(--royal-navy); color: #fff; }
.task-list input:checked ~ b { color: #8b95a4; text-decoration: line-through; }
.task-list label:focus-within > span { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* Editor */
.editor-view.active-view { display: block; padding: 0 32px 56px; }
.editor-top { min-height: 66px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.editor-top > div { display: flex; align-items: center; gap: 7px; }
.editor-top span { color: var(--muted); font-size: 9px; }
.editor-layout { max-width: 1120px; display: grid; grid-template-columns: minmax(0, 1fr) 268px; gap: 16px; margin: 24px auto 0; }
.editor-canvas { position: relative; padding: 38px 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 2px 10px rgba(16,44,87,.04); }
.headline-input, .dek-input, .body-input { width: 100%; border: 0; outline: 0; resize: none; background: transparent; }
.headline-input { min-height: 92px; font-family: var(--serif); font-size: clamp(37px, 3.8vw, 47px); line-height: 1.04; }
.dek-input { min-height: 68px; color: #555; font-size: 15px; line-height: 1.55; }
.cover-drop { min-height: 96px; display: flex; align-items: center; gap: 13px; margin: 16px 0 20px; padding: 15px; border: 1px dashed var(--line-dark); border-radius: 9px; background: var(--paper); }
.cover-art { width: 52px; height: 52px; display: grid; place-items: center; flex: 0 0 52px; background: var(--yellow); font-family: var(--serif); font-size: 28px; }
.cover-drop > img { width: 110px; height: 76px; object-fit: cover; }
.cover-drop > div:nth-of-type(2) { flex: 1; }
.cover-drop b { font-size: 11px; }
.cover-drop p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.cover-drop.dragging { border-color: #a87900; background: var(--yellow-soft); }
.cover-drop.has-preview .cover-art { display: none; }
.legacy-body { display: none !important; }
.toolbar { display: flex; align-items: center; gap: 3px; padding: 7px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow-x: auto; }
.toolbar button { width: auto; min-width: 30px; height: 30px; padding: 0 8px; border: 0; background: transparent; white-space: nowrap; font-size: 9px; font-weight: 600; }
.toolbar button:hover { background: var(--soft); }
.block-help { margin-right: auto; color: var(--muted); font-size: 9px; white-space: nowrap; }
.block-help kbd { padding: 2px 5px; border: 1px solid var(--line); background: var(--soft); }
.block-editor { min-height: 310px; padding: 18px 0 70px; }
.content-block { position: relative; min-height: 38px; padding: 7px 8px; outline: 0; }
.content-block:hover { background: #fafaf7; }
.content-block:focus { box-shadow: inset 2px 0 var(--yellow); }
.content-block:empty:before { content: attr(data-placeholder); color: #aaa; }
.paragraph-block, .list-block { font-size: 15px; line-height: 1.8; }
.heading-block { margin-top: 15px; font-family: var(--serif); font-size: 29px; font-weight: 400; }
.quote-block { margin: 16px 8px; padding: 10px 16px; border-left: 3px solid var(--yellow); font-family: var(--serif); font-size: 24px; font-style: italic; }
.list-block:before { content: "•"; position: absolute; left: -7px; color: #8b6400; }
.editor-image-block { margin: 22px 0; padding: 0; border: 1px solid var(--line); background: var(--soft); }
.editor-image-block img { display: block; width: 100%; max-height: 500px; object-fit: contain; background: #111; }
.block-caption { width: 100%; padding: 11px 13px; border: 0; border-top: 1px solid var(--line); background: transparent; font-size: 9px; }
.image-block-controls { position: absolute; top: 8px; right: 8px; display: flex; gap: 3px; opacity: 0; }
.editor-image-block:hover .image-block-controls, .editor-image-block:focus-within .image-block-controls { opacity: 1; }
.image-block-controls button { padding: 6px 8px; border: 0; background: #111; color: #fff; font-size: 8px; }
.slash-menu { position: absolute; z-index: 30; width: 250px; margin-top: -60px; padding: 7px; border: 1px solid var(--line); background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.slash-menu > p { margin: 0; padding: 5px 8px; color: var(--muted); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.slash-menu button { width: 100%; display: grid; grid-template-columns: 32px 1fr; gap: 8px; align-items: center; padding: 7px; border: 0; background: transparent; text-align: left; }
.slash-menu button:hover { background: var(--yellow-soft); }
.slash-menu button > b { width: 30px; height: 30px; display: grid; place-items: center; background: var(--soft); }
.slash-menu button span, .slash-menu button small { display: block; }
.slash-menu button span { font-size: 9px; font-weight: 700; }
.slash-menu button small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.publish-settings { display: grid; gap: 10px; align-content: start; }
.publish-settings section { padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); box-shadow: 0 1px 2px rgba(16,44,87,.035); }
.publish-settings h3 { margin: 0 0 14px; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.publish-settings label:not(.toggle-row) { display: grid; gap: 6px; margin-top: 11px; color: var(--muted); font-size: 8px; }
.publish-settings select, .publish-settings input { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); font: inherit; }
.publish-settings select:focus, .publish-settings input:focus { border-color: var(--royal-navy); outline: 2px solid rgba(27,65,117,.12); outline-offset: 1px; }
.geo-settings { border-top: 3px solid var(--brand-gold) !important; }
.geo-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.geo-heading h3 { margin-bottom: 2px; }
.geo-heading > span { max-width: 150px; color: var(--royal-navy); text-align: right; font-size: 7px; font-weight: 700; line-height: 1.4; }
.geo-pair { display: grid; grid-template-columns: .65fr 1.35fr; gap: 8px; }
.geo-tag-preview { display: flex; flex-wrap: wrap; gap: 5px; min-height: 29px; margin-top: 12px; padding: 8px; border-radius: 7px; background: #f6f5f4; }
.geo-tag-preview span { padding: 4px 7px; border: 1px solid #dce3eb; border-radius: 999px; background: #fff; color: var(--royal-navy); font-size: 7px; font-weight: 700; }
.geo-tag-preview small { color: var(--muted); font-size: 7px; }
.field-help { margin: 12px 0 0; color: var(--muted); font-size: 8px; line-height: 1.55; }
.tag-assistant { overflow: hidden; margin-top: 10px; border: 1px solid rgba(2,70,46,.14); border-radius: 10px; background: linear-gradient(145deg,#fbfdfc,#f1f6f3); }
.tag-assistant-toggle { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border: 0; background: transparent; text-align: left; }
.tag-assistant-toggle:hover { background: rgba(255,255,255,.6); }
.tag-assistant-toggle > span, .tag-assistant-toggle b, .tag-assistant-toggle small { display: block; min-width: 0; }
.tag-assistant-toggle b { color: var(--editorial-navy); font-size: 10px; }
.tag-assistant-toggle small { margin-top: 3px; color: var(--muted); font-size: 8px; line-height: 1.35; }
.tag-assistant-toggle em { flex: 0 0 auto; padding: 5px 7px; border-radius: 999px; background: var(--editorial-navy); color: #fff; font-size: 7px; font-style: normal; font-weight: 700; }
.tag-assistant-toggle[aria-expanded="true"] em { background: var(--amber); color: var(--ink); }
.tag-assistant-body { padding: 12px; border-top: 1px solid rgba(2,70,46,.1); background: rgba(255,255,255,.7); }
.tag-search-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; }
.tag-search-row input { min-width: 0; height: 36px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-size: 9px; }
.tag-search-row button { min-height: 36px; padding: 7px 9px; border: 1px solid rgba(2,70,46,.18); border-radius: 7px; background: #edf5f0; color: var(--editorial-navy); font-size: 8px; font-weight: 700; white-space: nowrap; }
.tag-search-row button[aria-pressed="true"] { border-color: var(--amber); background: #fff6c9; color: var(--ink); }
.tag-suggestion-head, .selected-tag-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 13px 0 7px; }
.tag-suggestion-head b, .selected-tag-head b { color: var(--ink); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.tag-suggestion-head span, .selected-tag-head small { color: var(--muted); font-size: 7px; text-align: right; }
.tag-suggestions, .selected-hashtags { display: flex; flex-wrap: wrap; gap: 5px; min-height: 24px; }
.tag-suggestions > button, .selected-hashtags > button { min-height: 27px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 999px; font-size: 8px; font-weight: 700; line-height: 1; }
.tag-suggestions > button { border: 1px solid #d9e4dd; background: #fff; color: var(--editorial-navy); }
.tag-suggestions > button:hover, .tag-suggestions > button:focus-visible { border-color: var(--editorial-navy); background: #edf5f0; }
.tag-suggestions > button span { color: var(--gold-text); font-size: 10px; }
.selected-hashtags { padding: 8px; border-radius: 8px; background: #f2f3f2; }
.selected-hashtags > button { border: 1px solid var(--editorial-navy); background: var(--editorial-navy); color: #fff; }
.selected-hashtags > button:hover { background: #013922; }
.selected-hashtags > button span { color: var(--amber); font-size: 11px; }
.tag-suggestions > small, .selected-hashtags > small { align-self: center; color: var(--muted); font-size: 8px; }
#openHashtags { border-color: rgba(2,70,46,.28); background: #edf5f0; color: var(--editorial-navy); font-weight: 700; }
.toggle-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 10px; }
.toggle-row input { display: none; }
.toggle { width: 30px; height: 17px; position: relative; border-radius: 10px; background: #d4d4ce; }
.toggle:after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.toggle-row input:checked + .toggle { background: #222; }
.toggle-row input:checked + .toggle:after { left: 15px; }
.editor-tip { display: flex; gap: 9px; background: var(--yellow-soft) !important; }
.editor-tip p { margin: 4px 0 0; color: #665a35; font-size: 8px; line-height: 1.45; }
.draft-restore { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 10px 12px; border: 1px solid #e0bd49; background: var(--yellow-soft); }
.draft-restore > div { flex: 1; }
.draft-restore b, .draft-restore span { display: block; }
.draft-restore b { font-size: 9px; }
.draft-restore span { margin-top: 2px; color: var(--muted); font-size: 8px; }
.draft-restore button { padding: 5px 7px; border: 0; background: transparent; font-size: 8px; font-weight: 700; }
.health-heading { display: flex; justify-content: space-between; align-items: center; }
.health-heading h3 { margin: 0; }
.health-heading strong { font-family: var(--serif); font-size: 21px; font-weight: 400; }
.health-bar { height: 4px; margin: 11px 0; background: #e1e1db; }
.health-bar i { display: block; height: 100%; background: var(--yellow); }
.editor-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.editor-counts span { padding: 7px 3px; background: var(--soft); color: var(--muted); text-align: center; font-size: 7px; }
.editor-counts b { display: block; color: var(--ink); font-family: var(--serif); font-size: 16px; font-weight: 400; }
.editor-health ul { list-style: none; margin: 8px 0; padding: 0; }
.editor-health li { padding: 4px 0; color: #888; font-size: 8px; }
.editor-health li:before { content: "○"; margin-right: 6px; }
.editor-health li.passed { color: #6c5000; }
.editor-health li.passed:before { content: "●"; color: var(--yellow); }
.seo-preview { padding-top: 10px; border-top: 1px solid var(--line); }
.seo-preview small, .seo-preview b, .seo-preview p { display: block; }
.seo-preview small { color: var(--muted); font-size: 7px; }
.seo-preview b { margin: 6px 0 3px; overflow: hidden; color: #24529a; white-space: nowrap; text-overflow: ellipsis; font-size: 9px; }
.seo-preview p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.4; }
.block-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; row-gap: 7px; overflow: visible; }
.block-toolbar .block-help { flex: 0 0 auto; margin-right: 8px; }
.block-toolbar button { flex: 0 0 auto; min-height: 28px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink); font-size: 9px; white-space: nowrap; }
.block-toolbar button:hover { border-color: var(--amber); background: #fff9df; }
.content-block.callout-block { padding: 14px 16px; border-left: 3px solid var(--amber); border-radius: 6px; background: #fff7d6; }
.content-block.embed-block, .content-block.table-block { padding: 18px; border: 1px dashed var(--line); border-radius: 8px; background: var(--soft); }
.content-block.divider-block { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.article-divider { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.article-callout { margin: 24px 0; padding: 18px 20px; border-left: 4px solid var(--amber); background: #fff7d6; }
.article-embed { margin: 24px 0; padding: 30px; text-align: center; border-radius: 8px; background: var(--soft); color: var(--muted); }
.article-embed span { font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.article-table { overflow-x: auto; margin: 24px 0; }
.article-table table { width: 100%; border-collapse: collapse; }
.article-table td { padding: 9px; border: 1px solid var(--line); }
.content-block.spacer-block { min-height: 48px; border: 1px dashed var(--line); background: repeating-linear-gradient(135deg,transparent,transparent 8px,rgba(2,70,46,.04) 8px,rgba(2,70,46,.04) 16px); }
.article-spacer { height: 48px; }
.article-details { margin: 20px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; }
.article-details summary { cursor: pointer; font-weight: 700; }
.article-code { overflow-x: auto; padding: 16px; border-radius: 8px; background: #17202a; color: #f7f8fa; }
.article-block-breadcrumbs { margin: 18px 0; color: var(--muted); font-size: 12px; }
.article-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin: 20px 0; }
.article-block-button { display: inline-block; padding: 9px 14px; border-radius: 5px; background: var(--editorial-navy); color: #fff; font-weight: 700; }
.article-cover-block { min-height: 150px; display: grid; place-items: center; margin: 22px 0; padding: 24px; background: var(--editorial-navy); color: #fff; font: 28px var(--serif); text-align: center; }
.article-gallery, .article-related { margin: 20px 0; padding: 18px; border: 1px solid var(--line); border-radius: 8px; }

/* Manager */
.manager-view.active-view { display: block; max-width: 1500px; margin: 0 auto; padding: 30px 34px 60px; }
.manager-heading { display: flex; justify-content: space-between; align-items: center; }
.manager-heading h2 { margin: 2px 0 5px; font-family: var(--sans); font-size: 27px; font-weight: 650; letter-spacing: -.035em; }
.manager-heading > div > p:last-child { margin: 0; color: var(--muted); font-size: 10px; }
.manager-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 23px 0 12px; }
.manager-stats article { padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(16,44,87,.035); }
.manager-stats span, .manager-stats b { display: block; }
.manager-stats span { color: var(--muted); font-size: 8px; }
.manager-stats b { margin-top: 6px; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.manager-toolbar { display: flex; gap: 8px; padding: 12px; border-bottom: 1px solid var(--line); }
.manager-toolbar input { flex: 1; padding: 9px; border: 1px solid var(--line); background: transparent; }
.manager-toolbar select { padding: 0 10px; border: 1px solid var(--line); background: transparent; }
.manager-row { display: grid; grid-template-columns: 42px minmax(0,1fr) auto auto; gap: 12px; align-items: center; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.manager-row:last-child { border-bottom: 0; }
.manager-row b, .manager-row small { display: block; }
.manager-row b { font-size: 10px; }
.manager-row small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.manager-thumb { width: 42px; height: 34px; background: #e4e4df; border-top: 3px solid var(--yellow); }
.manager-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #edf3fb; color: var(--royal-navy); font-size: 10px; }
.manager-status { padding: 4px 7px; border-radius: 10px; background: #f0f3f7; color: #536174; font-size: 8px; text-transform: capitalize; }
.manager-row > button { padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--royal-navy); font-size: 8px; font-weight: 700; }
.media-library { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 15px; }
.media-library article { display: grid; gap: 6px; }
.media-library .feed-art { height: 120px; }
.media-library b { font-size: 9px; }
.media-library small { color: var(--muted); font-size: 8px; }
.analytics-chart { padding: 22px; border-bottom: 1px solid var(--line); }
.analytics-chart b, .analytics-chart small { display: block; }
.analytics-chart b { font-family: var(--serif); font-size: 32px; font-weight: 400; }
.analytics-chart small { color: var(--muted); font-size: 8px; }
.chart-bars { height: 150px; display: flex; align-items: flex-end; gap: 7px; margin-top: 18px; }
.chart-bars i { flex: 1; background: #222; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 18px; }
.settings-grid label { display: grid; gap: 6px; font-size: 8px; }
.settings-grid input, .settings-grid select { padding: 10px; border: 1px solid var(--line); background: transparent; }
.manager-panel.control-panel { margin-top: 22px; overflow: visible; border: 0; background: transparent; box-shadow: none; }
.control-form { display: grid; gap: 14px; }
.control-card { display: grid; grid-template-columns: minmax(180px,.55fr) minmax(0,1fr) minmax(0,1.6fr); gap: 18px; align-items: start; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 1px 2px rgba(16,44,87,.04); }
.control-card > div:first-child h3 { margin: 3px 0 5px; font-size: 17px; }
.control-card > div:first-child p:last-child { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.control-card > label, .settings-grid label { display: grid; gap: 6px; color: var(--muted); font-size: 9px; }
.control-card input, .control-card select { width: 100%; padding: 10px 11px; border: 1px solid var(--line); border-radius: 7px; background: #fbfcfd; font-size: 10px; }
.control-card label:has(#cmsBreakingEnabled) { grid-column: 2; }
.control-card label:has(#cmsBreakingLabel) { grid-column: 3; }
.control-card label:has(#cmsBreakingText) { grid-column: 2/-1; }
.control-switch { grid-template-columns: auto 1fr; align-items: center; color: var(--ink) !important; font-weight: 700; }
.control-switch input { position: absolute; opacity: 0; pointer-events: none; }
.control-switch span { width: 38px; height: 21px; position: relative; border-radius: 12px; background: #ccd2da; }
.control-switch span:after { content: ""; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: left .15s; }
.control-switch input:checked + span { background: var(--royal-navy); }
.control-switch input:checked + span:after { left: 20px; }
.section-toggle-grid { grid-column: 2/-1; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.section-toggle-grid label { display: grid; grid-template-columns: 18px 1fr; gap: 2px 7px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfd; }
.section-toggle-grid input { grid-row: 1/3; width: 16px; }
.section-toggle-grid span { font-size: 10px; font-weight: 700; }
.section-toggle-grid small { color: var(--muted); font-size: 8px; }
.navigation-editor { grid-column: 2/-1; display: grid; gap: 7px; }
.navigation-item { display: grid; grid-template-columns: 24px 1fr 1fr 90px 64px; gap: 8px; align-items: end; padding: 9px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfd; }
.navigation-item label { display: grid; gap: 4px; color: var(--muted); font-size: 8px; }
.navigation-item .nav-enabled { display: flex; align-items: center; align-self: center; gap: 5px; color: var(--ink); }
.navigation-item .nav-enabled input { width: 15px; }
.drag-handle { align-self: center; color: #9aa3b0; }
.navigation-item > div:last-child { display: flex; gap: 3px; }
.navigation-item button { width: 29px; height: 29px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.social-settings { grid-column: 2/-1; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.social-settings label { display: grid; grid-template-columns: 32px 86px 1fr; gap: 9px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.social-settings label > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--editorial-navy); color: #fff; }
.social-settings b { font-size: 10px; }
.manager-actions { display: flex; gap: 5px; }
.manager-actions button { padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--royal-navy); font-size: 8px; font-weight: 700; }
.manager-actions .danger-action { color: var(--danger); }
.manager-empty { padding: 55px 20px; text-align: center; }
.manager-empty b { font-size: 16px; }
.manager-empty p { color: var(--muted); font-size: 10px; }

.page-editor-view.active-view { display: block; padding: 0 32px 60px; }
.page-editor-top { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.page-editor-top > div { display: flex; align-items: center; gap: 8px; }
.page-editor-top span { margin-right: 8px; color: var(--muted); font-size: 9px; }
.page-editor-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 14px; max-width: 1180px; margin: 22px auto 0; }
.page-editor-canvas { display: grid; gap: 18px; padding: 36px 42px; }
.page-editor-canvas label, .page-settings label { display: grid; gap: 7px; color: var(--muted); font-size: 9px; }
.page-editor-canvas input, .page-editor-canvas textarea, .page-settings input, .page-settings select { width: 100%; border: 1px solid var(--line); border-radius: 7px; background: #fbfcfd; color: var(--ink); }
.page-editor-canvas input { padding: 13px; font-family: var(--serif); font-size: 30px; }
.page-editor-canvas textarea { resize: vertical; padding: 13px; font-size: 12px; line-height: 1.65; }
#pageSummary { min-height: 90px; }
#pageBody { min-height: 500px; font-family: var(--serif); font-size: 17px; }
.page-settings { display: grid; align-content: start; gap: 11px; }
.page-settings section { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.page-settings h3 { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.page-settings input, .page-settings select { padding: 10px; font-size: 10px; }
.slug-field { display: flex; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fbfcfd; }
.slug-field span { padding-left: 9px; color: var(--muted); font-size: 9px; }
.slug-field input { border: 0; }
.seo-panel strong, .seo-panel span, .seo-panel p { display: block; }
.seo-panel strong { color: #24529a; font-size: 11px; }
.seo-panel span { color: #298147; font-size: 8px; }
.seo-panel p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.45; }

/* Public masthead */
.site-frame { min-height: 100vh; background: var(--paper); }
.reader-strip { height: 29px; display: flex; align-items: center; gap: 18px; padding: 0 max(20px, calc((100vw - var(--max))/2)); border-bottom: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 9px; }
.reader-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.reader-tools button, .reader-tools select { padding: 0; border: 0; background: transparent; font-size: 8px; }
.public-header { height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 max(20px, calc((100vw - var(--max))/2)); border-bottom: 1px solid rgba(255,255,255,.14); background: var(--editorial-navy); color: #fff; }
.public-header > button, .header-actions button { border: 0; background: transparent; color: #fff; font-size: 9px; font-weight: 600; }
.public-header > button { text-align: left; }
.public-brand.logo-lockup img { width: 38px; height: 38px; }
.public-brand.logo-lockup b { color: #fff; font-size: 17px; }
.public-brand.logo-lockup small { color: var(--brand-gold); }
.header-actions { display: flex; justify-content: flex-end; gap: 15px; }
.header-actions .briefing-button { color: var(--brand-gold); }
.category-nav { position: sticky; top: 0; z-index: 30; height: 39px; display: flex; justify-content: center; gap: 20px; align-items: center; overflow-x: auto; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.98); }
.category-nav button { border: 0; background: transparent; color: var(--royal-navy); white-space: nowrap; font-size: 10px; font-weight: 600; }
.category-nav button:hover { color: var(--brand-gold); }
.mega-menu { position: absolute; z-index: 40; left: 4%; right: 4%; display: none; grid-template-columns: repeat(6, 1fr); gap: 26px; padding: 25px 4%; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.1); }
.mega-menu.open { display: grid; }
.mega-menu > div { display: grid; gap: 8px; }
.mega-menu b { color: var(--royal-navy); font-size: 8px; letter-spacing: .1em; }
.mega-menu a { font-family: var(--serif); font-size: 15px; cursor: pointer; }
.breaking { height: 30px; display: flex; align-items: center; gap: 10px; padding: 0 max(20px, calc((100vw - var(--max))/2)); background: var(--ink); color: #fff; font-size: 10px; }
.breaking b { padding: 3px 6px; background: var(--yellow); color: #111; font-size: 7px; }
.breaking > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breaking small { margin-left: auto; color: #aaa; font-size: 8px; }
.public-main { max-width: var(--max); margin: 0 auto; padding: 22px 24px 64px; }
.public-date { margin: 0; padding-bottom: 13px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 8px; letter-spacing: .08em; }
.hero-news { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(330px,.88fr); gap: 34px; padding: 28px 0 24px; border-bottom: 1px solid var(--line); }
.hero-visual { min-height: 370px; position: relative; overflow: hidden; background: #e6e6e1; border-top: 3px solid var(--yellow); background-size: cover; background-position: center; }
.hero-visual:before { content: "QUESTION NEPAL"; position: absolute; inset: 0; display: grid; place-items: center; color: #aaa; font-size: clamp(17px,3vw,34px); font-weight: 700; letter-spacing: .15em; }
.hero-visual.has-image:before { display: none; }
.hero-visual .sun, .hero-visual .hills { display: none; }
.hero-visual > span { position: absolute; bottom: 9px; left: 10px; z-index: 2; color: #666; font-size: 7px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero-copy > span, .public-grid article > span, .clean-feed span, .opinion-grid span, .live-grid span, .media-grid small, .province-grid span, .international-grid span { color: var(--royal-navy); font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.hero-copy h1 { margin: 12px 0; font-family: var(--serif); font-size: clamp(39px,3.5vw,50px); font-weight: 400; line-height: 1.01; }
.hero-copy > p { margin: 0; color: #555; font-size: 13px; line-height: 1.55; }
.hero-copy > div { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 8px; }
.hero-copy small { color: var(--muted); }
.lead-briefs { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; padding: 18px 0 0; border-top: 1px solid var(--line); }
.lead-briefs > p { grid-column: 1/-1; margin-bottom: -7px; }
.lead-briefs article { padding: 0 20px 0 0; border: 0; border-right: 1px solid var(--line); }
.lead-briefs article:last-child { border-right: 0; }
.lead-briefs article:first-of-type { border-top: 0; }
.lead-briefs span { color: var(--royal-navy); font-size: 7px; font-weight: 700; }
.lead-briefs h3 { margin: 7px 0; font-family: var(--serif); font-size: 18px; font-weight: 400; line-height: 1.18; }
.lead-briefs small { color: var(--muted); font-size: 7px; }
.public-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; padding: 26px 0; }
.public-grid article { padding-right: 22px; border-right: 1px solid var(--line); }
.public-grid article:last-child { border-right: 0; }
.public-grid h3 { margin: 9px 0; font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.15; }
.public-grid p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.desk-ribbon { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.desk-ribbon > div { padding: 14px 16px; border-right: 1px solid var(--line); }
.desk-ribbon > div:last-child { border-right: 0; }
.desk-ribbon span { color: var(--royal-navy); font-size: 7px; font-weight: 700; }
.desk-ribbon h3 { margin: 6px 0 9px; font-family: var(--serif); font-size: 17px; font-weight: 400; }
.desk-ribbon button { padding: 0; border: 0; background: transparent; color: var(--royal-navy); font-size: 8px; font-weight: 700; }
.news-section, .opinion-section, .live-section, .media-section, .province-section, .international-desk { padding-top: 36px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: 26px; font-weight: 400; }
.section-heading button { border: 0; background: transparent; color: var(--royal-navy); font-size: 8px; font-weight: 700; }
.feed-layout { display: grid; grid-template-columns: minmax(0,1.75fr) minmax(240px,.62fr); gap: 34px; }
.clean-feed article { display: grid; grid-template-columns: 46px minmax(0,1fr) 150px; gap: 17px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.clean-feed time { color: var(--muted); font-family: var(--serif); font-size: 11px; font-style: italic; }
.clean-feed h3 { margin: 6px 0; font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.14; }
.clean-feed p { margin: 0 0 8px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.clean-feed small { color: #999; font-size: 7px; }
.feed-art { min-height: 94px; background: #e3e3de; border-top: 3px solid var(--yellow); background-size: cover; background-position: center; }
.reader-sidebar { padding-top: 22px; }
.most-read { padding: 21px; border: 1px solid var(--line); }
.most-read > p { color: var(--royal-navy); font-size: 7px; font-weight: 700; }
.most-read h2 { margin: 7px 0 13px; font-family: var(--serif); font-size: 23px; font-weight: 400; }
.most-read ol { list-style: none; margin: 0; padding: 0; }
.most-read li { display: grid; grid-template-columns: 23px 1fr; gap: 8px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 10px; line-height: 1.4; }
.most-read li b { color: #999; font-family: var(--serif); font-size: 17px; font-style: italic; font-weight: 400; }
.newsletter { margin-top: 15px; padding: 23px; background: var(--editorial-navy); color: #fff; }
.newsletter > span { color: var(--yellow); font-family: var(--serif); font-size: 30px; }
.newsletter h3 { margin: 3px 0; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.newsletter p { color: #bbb; font-size: 9px; line-height: 1.5; }
.newsletter label { display: flex; margin: 14px 0 8px; }
.newsletter input { min-width: 0; flex: 1; padding: 9px; border: 0; }
.newsletter button { border: 0; background: var(--yellow); font-size: 8px; font-weight: 700; }
.newsletter small { color: #888; font-size: 7px; }
.opinion-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.opinion-grid article { padding: 20px; border-right: 1px solid var(--line); }
.opinion-grid article:first-child { padding-left: 0; }
.opinion-grid article:last-child { border: 0; }
.columnist { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 12px; background: #e2e2dd; font-size: 10px; }
.opinion-grid h3 { margin: 8px 0; font-family: var(--serif); font-size: 22px; font-weight: 400; }
.opinion-grid p { color: var(--muted); font-size: 10px; line-height: 1.5; }
.live-grid { display: grid; grid-template-columns: 1fr 1fr .65fr; border-bottom: 1px solid var(--line); }
.live-grid > article, .live-grid > aside { padding: 22px; border-right: 1px solid var(--line); }
.live-grid > article:first-child { padding-left: 0; }
.live-grid > aside { border: 0; background: var(--soft); }
.live-grid h3 { margin: 8px 0 14px; font-family: var(--serif); font-size: 23px; font-weight: 400; }
.live-grid p { padding-top: 9px; border-top: 1px solid var(--line); font-size: 9px; line-height: 1.5; }
.live-grid time { color: var(--royal-navy); font-weight: 700; }
.live-grid aside h4 { margin: 15px 0 3px; font-family: var(--serif); font-size: 21px; font-weight: 400; }
.live-grid aside p { border: 0; }
.live-grid aside strong { display: block; margin: 12px 0; font-family: var(--serif); font-size: 18px; }
.live-grid aside button { padding: 7px; border: 1px solid var(--ink); background: transparent; font-size: 8px; }
.media-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; padding-top: 20px; }
.media-art, .podcast-art { height: 190px; position: relative; background: #e2e2dd; border-top: 3px solid var(--yellow); }
.featured-video .media-art { height: 300px; }
.media-art button, .podcast-art button { position: absolute; bottom: 15px; left: 15px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--yellow); }
.media-art span, .media-art b { position: absolute; right: 9px; bottom: 8px; padding: 4px; background: #111; color: #fff; font-size: 7px; }
.media-grid h3 { margin: 7px 0; font-family: var(--serif); font-size: 21px; font-weight: 400; }
.podcast-art { padding: 22px; background: var(--editorial-navy); color: #fff; font-family: var(--serif); font-size: 31px; }
.podcast-art em { color: var(--yellow); }
.province-tabs { display: flex; gap: 5px; padding: 15px 0; overflow-x: auto; }
.province-tabs button { padding: 7px 10px; border: 1px solid var(--line); background: transparent; white-space: nowrap; font-size: 8px; }
.province-tabs button.active { background: var(--ink); color: #fff; }
.province-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); }
.province-grid article { padding: 19px; border-right: 1px solid var(--line); }
.province-grid article:first-child { padding-left: 0; }
.province-grid article:last-child { border: 0; }
.province-grid h3 { margin: 8px 0; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.province-grid article { cursor: pointer; transition: background .2s ease, transform .2s ease; }
.province-grid article:hover { background: rgba(216,161,38,.07); }
.province-card-art { min-height: 105px; margin-bottom: 14px; border-radius: 2px; background-position: center; background-size: cover; }
.province-grid small { color: var(--muted); font-size: 8px; }
.empty-province { grid-column: 1/-1; display: grid; gap: 5px; padding: 26px 0; color: var(--muted); }
.empty-province b { color: var(--ink); font-family: var(--serif); font-size: 19px; font-weight: 400; }
.category-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding-top: 36px; }
.category-block > article { display: grid; grid-template-columns: 135px 1fr; gap: 15px; margin-top: 20px; }
.category-block > article .feed-art { grid-row: 1/3; }
.category-block h3 { margin: 0; font-family: var(--serif); font-size: 21px; font-weight: 400; }
.category-block p { color: var(--muted); font-size: 9px; }
.category-block ul { list-style: none; margin: 15px 0 0; padding: 0; }
.category-block li { padding: 10px 0; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 15px; }
.international-grid { display: grid; grid-template-columns: 1.2fr .85fr .55fr; border-bottom: 1px solid var(--line); }
.international-grid > article, .international-grid > div, .international-grid > aside { padding: 21px; border-right: 1px solid var(--line); }
.international-grid > article:first-child { padding-left: 0; }
.international-grid > aside { border: 0; background: var(--soft); }
.world-art { height: 240px; margin-bottom: 15px; background: #e2e2dd; border-top: 3px solid var(--yellow); }
.world-lead h3 { margin: 8px 0; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.world-lead p { color: var(--muted); font-size: 10px; line-height: 1.5; }
.world-briefs article { padding: 15px 0; border-top: 1px solid var(--line); }
.world-briefs article:first-child { border: 0; padding-top: 0; }
.world-briefs h3 { margin: 7px 0; font-family: var(--serif); font-size: 21px; font-weight: 400; }
.world-briefs small { color: var(--muted); font-size: 7px; }
.international-grid aside > p:not(.eyebrow) { margin: 0; padding: 10px 0; border-top: 1px solid var(--line); font-size: 9px; line-height: 1.4; }
.international-grid time { margin-right: 5px; color: var(--royal-navy); font-weight: 700; }
.ad-slot { min-height: 128px; display: grid; place-items: center; align-content: center; margin-top: 36px; border: 1px dashed var(--line-dark); background: var(--soft); color: #999; }
.ad-slot span { font-size: 7px; }
.ad-slot strong { margin: 6px; font-family: var(--serif); font-size: 21px; font-weight: 400; }
.ad-slot p { font-size: 8px; }
.ad-slot.small { min-height: 230px; margin: 0; }
.public-footer { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 24px; padding: 45px max(25px,calc((100vw - 1180px)/2)) 22px; background: var(--editorial-navy); color: #fff; }
.public-footer > div { display: grid; align-content: start; gap: 8px; }
.public-footer .logo-lockup b { color: #fff; }
.public-footer p, .public-footer a { color: #d2d8e2; font-size: 8px; }
.public-footer b { margin-bottom: 4px; font-size: 8px; text-transform: uppercase; }
.public-footer small { grid-column: 1/-1; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); color: #aeb8c8; font-size: 7px; }

/* Search and article */
.search-screen, .article-page, .static-page { position: fixed; inset: 0; z-index: 80; display: none; overflow: auto; background: var(--paper); }
.search-screen.open, .article-page.open, .static-page.open { display: block; }
.search-screen > header, .article-header { position: sticky; top: 0; z-index: 4; height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 5%; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.98); }
.search-screen > header button, .article-header button { border: 0; background: transparent; font-size: 9px; font-weight: 700; }
.article-header > div { text-align: right; }
.static-page-main { max-width: 900px; margin: auto; padding: 58px 28px 90px; }
.static-page-main > h1 { max-width: 800px; margin: 13px 0 15px; font-family: var(--serif); font-size: clamp(48px,6vw,72px); font-weight: 500; line-height: 1; letter-spacing: -.025em; }
.static-page-summary { max-width: 720px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.55; }
.static-page-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.static-page-body { max-width: 700px; margin: 48px auto 0; font-family: var(--serif); font-size: 20px; line-height: 1.75; }
.static-page-body h2 { margin: 44px 0 20px; font-size: 32px; font-weight: 500; }
.static-page-body h2:first-child { margin-top: 0; }
.static-page-body h3 { margin: 34px 0 16px; font-family: var(--sans); font-size: 18px; letter-spacing: -.02em; }
.static-page-body p { margin: 0 0 24px; }
.static-page-body ul { margin: -5px 0 30px; padding-left: 22px; }
.static-page-body li { margin: 7px 0; }
.static-page-body strong { color: var(--editorial-navy); }
.search-inner { max-width: 1080px; margin: auto; padding: 48px 22px; }
.search-box { display: flex; border-bottom: 2px solid var(--ink); }
.search-box input { min-width: 0; flex: 1; padding: 13px 0; border: 0; outline: 0; background: transparent; font-family: var(--serif); font-size: 32px; }
.search-box button { padding: 0 22px; border: 0; background: var(--ink); color: #fff; }
.trending-search { display: flex; align-items: center; gap: 6px; padding: 12px 0 32px; font-size: 8px; }
.trending-search button { padding: 5px 8px; border: 1px solid var(--line); background: transparent; font-size: 7px; }
.search-layout { display: grid; grid-template-columns: 190px 1fr; gap: 36px; }
.search-layout aside { display: grid; align-content: start; gap: 12px; padding-top: 15px; border-top: 2px solid var(--ink); }
.search-layout aside h3 { margin: 0; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.search-layout aside label { display: grid; gap: 5px; font-size: 8px; }
.search-layout select, .search-layout aside input { padding: 8px; border: 1px solid var(--line); background: transparent; font-size: 8px; }
.search-layout aside > button { padding: 0; border: 0; background: transparent; color: var(--royal-navy); text-align: left; font-size: 8px; }
.result-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.result-tags i { padding: 3px 6px; border-radius: 999px; background: rgba(27,65,117,.08); color: var(--royal-navy); font-size: 7px; font-style: normal; }
.result-tags button, .article-tags button { border: 0; padding: 3px 7px; border-radius: 999px; background: rgba(2,70,46,.09); color: var(--royal-navy); font: inherit; font-size: 7px; font-weight: 700; cursor: pointer; }
.result-tags button:hover, .article-tags button:hover { background: var(--amber); color: var(--ink); }
.empty-search { padding: 30px 0; border-top: 1px solid var(--line); color: var(--muted); }
.search-result-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.search-result-head h2 { font-family: var(--serif); font-size: 25px; font-weight: 400; }
.search-result-head select { border: 0; background: transparent; font-size: 8px; }
.search-results article { display: grid; grid-template-columns: 1fr 115px; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.search-results span { color: var(--royal-navy); font-size: 7px; font-weight: 700; }
.search-results h3 { margin: 6px 0; font-family: var(--serif); font-size: 20px; font-weight: 400; }
.search-results p, .search-results small { color: var(--muted); font-size: 8px; }
.article-main { max-width: 1060px; margin: auto; padding: 34px 26px 65px; }
.breadcrumbs { margin-bottom: 45px; color: var(--muted); font-size: 8px; }
.article-kicker { color: var(--royal-navy); font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.article-main > h1 { max-width: 860px; margin: 14px 0; font-family: var(--serif); font-size: clamp(44px,5vw,58px); font-weight: 400; line-height: 1.01; }
.article-subtitle { max-width: 720px; color: #555; font-size: 15px; line-height: 1.55; }
.article-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.author-chip { display: flex; align-items: center; gap: 9px; }
.author-chip > div { width: 36px; height: 36px; display: grid; place-items: center; background: #e0e0da; font-size: 9px; }
.author-chip b, .author-chip small, .article-meta > div:last-child span { display: block; font-size: 8px; }
.author-chip small, .article-meta > div:last-child { color: var(--muted); line-height: 1.6; }
.article-tools { display: flex; justify-content: space-between; padding: 10px 0; }
.article-tools button { min-width: 28px; height: 28px; border: 1px solid var(--line); background: transparent; font-size: 8px; }
.article-feature { height: 500px; background: #e3e3de; border-top: 4px solid var(--yellow); background-size: cover; background-position: center; }
.article-feature .sun, .article-feature .hills { display: none; }
.credit { display: block; margin-top: 7px; color: var(--muted); font-size: 7px; }
.article-layout { display: grid; grid-template-columns: minmax(0,650px) 210px; justify-content: center; gap: 52px; margin-top: 40px; }
.article-body { font-family: Georgia, serif; font-size: 16px; line-height: 1.8; }
.article-body .lead { font-size: 20px; line-height: 1.6; }
.article-body h2 { margin-top: 32px; font-family: var(--serif); font-size: 30px; font-weight: 400; }
.article-body blockquote { margin: 35px 0; padding-left: 20px; border-left: 3px solid var(--yellow); font-family: var(--serif); font-size: 28px; font-style: italic; line-height: 1.25; }
.article-body ul { padding-left: 20px; }
.article-inline-image { margin: 34px -55px; }
.article-inline-image img { display: block; width: 100%; max-height: 600px; object-fit: cover; }
.article-inline-image figcaption { padding-top: 7px; color: var(--muted); font-family: var(--sans); font-size: 8px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); }
.article-tags span { padding: 4px 7px; background: var(--soft); font-family: var(--sans); font-size: 7px; }
.sources { margin-top: 20px; padding: 14px; background: var(--soft); font-family: var(--sans); font-size: 9px; }
.sources p { margin: 7px 0 0; line-height: 1.6; }
.sources a { color: var(--editorial-navy); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.sources span[aria-hidden] { color: var(--muted); }
.article-aside > div:not(.ad-slot) { margin-bottom: 21px; padding: 12px 0; border-top: 2px solid var(--ink); }
.article-aside b { font-size: 7px; letter-spacing: .08em; }
.article-aside p, .article-aside a { display: block; margin: 6px 0; font-size: 9px; }
.related, .comments { max-width: 840px; margin: 60px auto; }
.comments h2 { font-family: var(--serif); font-size: 25px; font-weight: 400; }
.comments textarea { width: 100%; min-height: 85px; padding: 12px; border: 1px solid var(--line); background: transparent; }
.comments > button { margin: 7px 0 17px; padding: 8px 12px; border: 0; background: var(--ink); color: #fff; font-size: 8px; }
.comments article { padding: 15px 0; border-top: 1px solid var(--line); font-size: 9px; }
.comments time { margin-left: 7px; color: var(--muted); }
.next-prev { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.next-prev button { padding: 21px; border: 0; background: transparent; text-align: left; font-size: 7px; }
.next-prev button:last-child { text-align: right; }
.next-prev b { font-family: var(--serif); font-size: 16px; font-weight: 400; }

/* Login and feedback */
.login-gate { position: fixed; inset: 0; z-index: 100; display: none; grid-template-columns: 1fr 1fr; background: #fff; }
.login-gate.open { display: grid; }
.login-visual { display: flex; flex-direction: column; justify-content: space-between; padding: 50px 7%; background: var(--editorial-navy); color: #fff; }
.login-brand b { color: #fff; }
.login-visual > div:nth-child(2) { max-width: 480px; }
.login-visual > div:nth-child(2) > p { color: var(--yellow); font-size: 8px; letter-spacing: .15em; }
.login-visual h2 { margin: 14px 0; font-family: var(--serif); font-size: clamp(48px,5vw,66px); font-weight: 400; line-height: 1; }
.login-visual > div > span { max-width: 370px; display: block; color: var(--muted-on-navy); font-size: 13px; line-height: 1.65; }
.login-visual > small { color: #bdc9da; font-size: 10px; letter-spacing: .12em; }
.login-card { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 50px clamp(35px,7vw,90px); }
.login-close { position: absolute; top: 24px; right: 30px; min-height: 40px; padding: 0 10px; border: 0; background: transparent; color: var(--royal-navy); font-size: 11px; font-weight: 700; }
.login-copy { margin-bottom: 24px; }
.login-copy h1 { margin: 5px 0; font-family: var(--serif); font-size: 42px; font-weight: 400; }
.login-copy > p:last-child { color: var(--muted); font-size: 13px; }
.account-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 14px; padding: 4px; border: 1px solid var(--line); border-radius: 9px; background: var(--soft); }
.account-mode button { min-height: 36px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 10px; font-weight: 700; }
.account-mode button.active { background: var(--white); color: var(--royal-navy); box-shadow: 0 1px 3px rgba(2,70,46,.12); }
.social-login { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.social-login button { min-height: 42px; padding: 10px; border: 1px solid var(--line); background: #fff; font-size: 11px; font-weight: 600; }
.login-divider { margin: 18px 0 0; border-top: 1px solid var(--line); text-align: center; }
.login-divider span { position: relative; top: -7px; padding: 0 8px; background: #fff; color: var(--muted); font-size: 7px; }
.login-card > label { margin-top: 13px; font-size: 11px; font-weight: 700; }
.login-card > label > input, .password-wrap { width: 100%; margin-top: 6px; border: 1px solid var(--line-dark); background: #fff; }
.login-card > label > input, .password-wrap input { padding: 12px; }
.password-wrap { display: flex; }
.password-wrap input { min-width: 0; flex: 1; border: 0; }
.password-wrap button { min-width: 44px; border: 0; background: transparent; font-size: 10px; }
.login-options { display: flex; justify-content: space-between; margin: 12px 0 18px; }
.login-options label, .login-options button, .login-help { font-size: 10px; }
.login-options button, .login-help button { border: 0; background: transparent; color: var(--royal-navy); font-weight: 700; }
.login-submit { width: 100%; }
.demo-note { margin-top: 16px; padding: 10px 12px; border-left: 3px solid var(--yellow); background: var(--yellow-soft); }
.demo-note span { color: var(--royal-navy); font-size: 7px; font-weight: 700; }
.demo-note p { margin: 3px 0 0; font-size: 8px; }
.login-help { margin-top: 20px; text-align: center; color: var(--muted); }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 120; min-width: 220px; padding: 12px 16px; border-left: 3px solid var(--yellow); background: var(--editorial-navy); color: #fff; transform: translateY(140%); transition: transform .22s; }
.toast.show { transform: translateY(0); }
.toast b, .toast span { display: block; font-size: 9px; }
.toast span { margin-top: 3px; color: #aaa; font-size: 8px; }

/* Reader-first editorial refresh */
.site-preview { font-size: 16px; }
.reader-strip { height: 34px; font-size: 12px; }
.reader-tools button, .reader-tools select { min-height: 28px; padding: 4px 6px; font-size: 11px; }
.reader-tools select { min-width: 150px; border: 2px solid var(--amber); border-radius: 0; background: var(--white); color: var(--muted); }
.reader-tools #themeToggle { min-width: 34px; }
.public-header { height: 76px; }
.public-header > button, .header-actions button { min-height: 40px; padding-inline: 12px; font-size: 12px; }
.category-nav { height: 46px; gap: 27px; }
.category-nav button { height: 46px; font-size: 13px; }
.breaking { height: 36px; font-size: 13px; }
.breaking b { font-size: 10px; }
.public-main { padding-top: 28px; }
.public-date { font-size: 11px; }
.topic-strip { display: flex; align-items: center; gap: 8px; padding: 14px 0; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.topic-strip::-webkit-scrollbar { display: none; }
.topic-strip b { margin-right: 5px; color: var(--muted); white-space: nowrap; font-size: 11px; letter-spacing: .08em; }
.topic-strip button { min-height: 36px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--royal-navy); white-space: nowrap; font-size: 12px; font-weight: 600; }
.topic-strip button:hover { border-color: var(--brand-gold); background: #fff8e7; }
.hero-news { padding-top: 32px; }
.hero-copy > span, .public-grid article > span, .clean-feed span, .opinion-grid span, .live-grid span, .media-grid small, .province-grid span, .international-grid span { font-size: 11px; }
.hero-copy h1 { font-size: clamp(46px,4.2vw,62px); line-height: 1.02; letter-spacing: -.025em; }
.hero-copy > p { font-size: 17px; line-height: 1.55; }
.hero-copy > div { font-size: 11px; }
.hero-copy button, .lead-briefs button, .desk-ribbon button, .section-heading button { min-height: 36px; display: inline-flex; align-items: center; }
.lead-briefs h3 { font-size: 21px; }
.lead-briefs small { font-size: 10px; }
.public-grid h3, .opinion-grid h3 { font-size: 25px; }
.public-grid p, .opinion-grid p { font-size: 14px; }
.desk-ribbon span, .desk-ribbon button { font-size: 11px; }
.desk-ribbon h3 { font-size: 21px; }
.news-section, .opinion-section, .live-section, .media-section, .province-section, .international-desk { padding-top: 48px; }
.section-heading { padding: 14px 0; }
.section-heading h2 { font-size: 34px; letter-spacing: -.02em; }
.section-heading button, .section-heading > span { color: var(--muted); font-size: 12px; }
.clean-feed article { grid-template-columns: 58px minmax(0,1fr) 170px; padding: 24px 0; }
.clean-feed time { font-size: 14px; }
.clean-feed h3 { font-size: 27px; }
.clean-feed p { font-size: 14px; }
.clean-feed small { font-size: 11px; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.feed-share { min-height: 32px; padding: 5px 10px; border: 0; border-radius: 999px; background: var(--navy-tint); color: var(--royal-navy); white-space: nowrap; font-size: 10px; font-weight: 700; }
.feed-share:hover { background: #dfe9f6; }
.most-read > p { font-size: 10px; }
.most-read h2 { font-size: 29px; }
.most-read li { font-size: 14px; }
.newsletter p { color: var(--muted-on-navy); font-size: 13px; }
.newsletter input, .newsletter button { min-height: 40px; font-size: 12px; }
.newsletter small { color: var(--muted-on-navy); font-size: 10px; }
.live-grid h3 { font-size: 27px; }
.live-grid p { font-size: 13px; }
.live-grid aside button, .province-tabs button { min-height: 36px; font-size: 11px; }
.media-grid h3 { font-size: 24px; }
.province-grid h3 { font-size: 23px; }
.province-grid small { font-size: 11px; }
.category-block h3, .world-briefs h3 { font-size: 24px; }
.category-block p, .world-lead p { font-size: 13px; }
.category-block li { font-size: 18px; }
.world-lead h3 { font-size: 34px; }
.world-briefs small, .international-grid aside > p:not(.eyebrow) { font-size: 11px; }

.reader-services { padding-top: 52px; }
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--line); }
.service-grid button { display: grid; grid-template-columns: 44px 1fr; gap: 2px 12px; align-items: center; padding: 22px; border: 0; border-right: 1px solid var(--line); background: transparent; text-align: left; }
.service-grid button:last-child { border-right: 0; }
.service-grid button:hover { background: #fff8e7; }
.service-grid span { grid-row: 1/3; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--editorial-navy); color: #fff; font-size: 16px; }
.service-grid b { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.service-grid small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.community-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; margin-top: 48px; padding: 34px 38px; background: var(--editorial-navy); color: #fff; }
.community-band .eyebrow { color: var(--brand-gold); }
.community-band h2 { margin: 4px 0 7px; font-family: var(--serif); font-size: 38px; font-weight: 500; }
.community-band p:last-child { max-width: 560px; margin: 0; color: #c8d1df; font-size: 14px; line-height: 1.55; }
.social-follow { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.social-follow a { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border: 1px solid rgba(255,255,255,.2); color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; }
.social-follow a:hover { border-color: var(--brand-gold); background: rgba(255,255,255,.06); }
.social-follow span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-gold); color: var(--editorial-navy); font-weight: 700; }
.public-footer { grid-template-columns: 1.7fr repeat(4,1fr); gap: 36px; }
.public-footer p, .public-footer a { font-size: 12px; text-decoration: none; }
.public-footer > div:not(:first-child) a { min-height: 24px; display: flex; align-items: center; }
.public-footer b { font-size: 11px; letter-spacing: .07em; }
.public-footer small { display: flex; justify-content: space-between; font-size: 10px; }
.footer-social { display: flex; gap: 7px; margin-top: 8px; }
.footer-social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: #fff; font-size: 12px; }

.article-main { padding-top: 44px; }
.breadcrumbs, .article-kicker { font-size: 11px; }
.article-subtitle { font-size: 18px; }
.author-chip b, .author-chip small, .article-meta > div:last-child span { font-size: 11px; }
.article-tools { position: sticky; top: 0; z-index: 5; align-items: center; margin: 0 -8px; padding: 10px 8px; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(12px); }
.article-tools > div { display: flex; flex-wrap: wrap; gap: 6px; }
.article-tools button { min-width: 38px; height: 36px; padding: 0 11px; border-radius: 999px; background: var(--white); font-size: 12px; }
.article-tools button:hover { border-color: var(--royal-navy); color: var(--royal-navy); }
.article-body { font-family: var(--serif); font-size: 19px; line-height: 1.76; }
.article-body .lead { font-size: 23px; }
.article-inline-image figcaption, .credit { font-size: 11px; }
.article-tags span, .article-aside b { font-size: 10px; }
.article-aside p, .article-aside a, .sources { font-size: 12px; }
.comments { padding: 30px; border: 1px solid var(--line); background: var(--white); }
.comments-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.comments-head h2 { margin: 0; font-size: 32px; }
.comments-head p { margin: 0; color: var(--muted); font-size: 12px; }
.comment-guidelines { margin: 18px 0; padding: 12px 14px; border-left: 3px solid var(--brand-gold); background: #fff8e7; color: #5e5542; font-size: 12px; }
.comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.comment-form label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; }
.comment-form textarea { grid-column: 1/-1; min-height: 110px; }
.comment-form input, .comment-form textarea { width: 100%; padding: 12px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; }
.comment-form footer { grid-column: 1/-1; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.comment-form footer small { color: var(--muted); font-size: 11px; }
.comment-form button { padding: 10px 17px; border: 0; border-radius: 4px; background: var(--editorial-navy); color: #fff; font-size: 12px; font-weight: 700; }
.comment-list article { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 14px; }
.comment-avatar { grid-row: 1/4; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #edf3fb; color: var(--royal-navy); font-weight: 700; }
.comment-list time { margin: 0; color: var(--muted); font-size: 11px; }
.comment-list p { margin: 5px 0; line-height: 1.55; }
.comment-actions { display: flex; gap: 12px; }
.comment-actions button { padding: 0; border: 0; background: transparent; color: var(--royal-navy); font-size: 11px; }

/* National information infrastructure */
.information-platform { margin: 58px 0 8px; padding: 40px 0 46px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.information-platform > header { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(340px,.75fr); gap: 65px; align-items: end; }
.information-platform h2 { max-width: 720px; margin: 5px 0 0; font-family: var(--serif); font-size: clamp(42px,5vw,64px); font-weight: 500; line-height: .98; letter-spacing: -.04em; }
.information-platform > header > div:last-child p { margin: 0 0 15px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.information-platform > header button { min-height: 38px; display: inline-flex; align-items: center; padding: 0; border: 0; background: transparent; color: var(--royal-navy); font-size: 12px; font-weight: 800; }
.framework-flow { display: grid; grid-template-columns: 1.35fr auto repeat(4,1fr auto) 1.35fr; gap: 9px; align-items: center; margin: 34px 0 18px; padding: 15px; border-radius: 11px; background: var(--editorial-navy); color: #fff; }
.framework-flow span { min-width: 0; padding: 8px; }
.framework-flow b,.framework-flow small { display: block; }
.framework-flow b { font-size: 18px; letter-spacing: -.04em; }
.framework-flow small { margin-top: 3px; color: #bdc9da; font-size: 10px; line-height: 1.35; text-transform: uppercase; letter-spacing: .06em; }
.framework-flow i { color: var(--brand-gold); font-style: normal; }
.infrastructure-services { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--line); }
.infrastructure-services button { min-height: 118px; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; gap: 4px 10px; align-content: center; padding: 17px; border: 0; background: #fff; text-align: left; }
.infrastructure-services button:hover { background: #faf9f6; }
.infrastructure-services span { grid-row: 1/3; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--navy-tint); color: var(--royal-navy); font-size: 10px; font-weight: 800; }
.infrastructure-services b { align-self: end; font-size: 14px; }
.infrastructure-services small { align-self: start; color: var(--muted); font-size: 12px; line-height: 1.45; }
.information-platform > footer { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 17px; }
.information-platform > footer b { margin-right: 4px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.information-platform > footer span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--royal-navy); font-size: 10px; font-weight: 650; }

/* Nepal local desk */
.local-desk-explorer { display: grid; grid-template-columns: minmax(0,1fr) minmax(410px,.82fr); gap: 42px; margin: 46px 0 8px; padding: 38px; border-radius: 14px; background: var(--royal-navy); color: #fff; box-shadow: 0 18px 42px rgba(2,70,46,.18); }
.local-desk-intro h2 { max-width: 560px; margin: 5px 0 12px; font-family: var(--serif); font-size: clamp(35px,4vw,53px); font-weight: 500; line-height: .98; letter-spacing: -.035em; }
.local-desk-intro > p:not(.eyebrow) { max-width: 600px; margin: 0; color: var(--muted-on-navy); font-size: 15px; line-height: 1.65; }
.local-desk-explorer .eyebrow { color: var(--amber); }
.local-desk-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin-top: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; overflow: hidden; }
.local-desk-stats span { padding: 12px; background: rgba(255,255,255,.06); color: var(--muted-on-navy); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.local-desk-stats b { display: block; margin-bottom: 3px; color: #fff; font-size: 20px; letter-spacing: -.04em; }
.local-desk-form { display: grid; gap: 10px; align-content: center; padding: 20px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 14px 32px rgba(0,0,0,.12); }
.local-desk-form label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 600; }
.local-desk-form select { width: 100%; min-width: 0; min-height: 42px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 7px; background: #f8f8f6; font-size: 13px; }
.local-desk-form button { min-height: 44px; margin-top: 4px; border: 0; border-radius: 8px; background: var(--brand-gold); color: #111; font-size: 12px; font-weight: 800; }
.local-desk-form p { min-height: 34px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.geo-directory-lead { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 24px; border-bottom: 1px solid var(--line); background: var(--editorial-navy); color: #fff; }
.geo-directory-lead > div { max-width: 720px; }
.geo-directory-lead > div > span { float: left; display: grid; place-items: center; width: 42px; height: 42px; margin-right: 14px; border-radius: 9px; background: rgba(255,255,255,.1); color: var(--amber); }
.geo-directory-lead h3 { margin: 3px 0 4px; font-size: 20px; letter-spacing: -.025em; }
.geo-directory-lead p:not(.eyebrow) { margin: 0; color: var(--muted-on-navy); font-size: 12px; line-height: 1.5; }
.geo-directory-lead small { max-width: 230px; color: #bdc9da; text-align: right; font-size: 10px; line-height: 1.5; }
.geo-directory-row { display: grid; grid-template-columns: 50px minmax(220px,1fr) minmax(220px,.8fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.geo-directory-row:last-child { border-bottom: 0; }
.geo-directory-row:hover { background: #faf9f6; }
.geo-code { display: grid; place-items: center; width: 45px; height: 34px; border-radius: 7px; background: var(--navy-tint); color: var(--royal-navy); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.geo-directory-row b,.geo-directory-row small { display: block; }
.geo-directory-row b { font-size: 13px; }
.geo-directory-row b i { margin-left: 5px; color: var(--royal-navy); font-family: "Noto Sans Devanagari",sans-serif; font-style: normal; font-weight: 500; }
.geo-directory-row small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.geo-mini-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.geo-mini-tags span,.geo-mini-tags em { padding: 4px 7px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 9px; font-style: normal; }
.geo-directory-row > button { min-height: 36px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--royal-navy); font-size: 10px; font-weight: 700; }
.manager-stats:has(+ .manager-panel .geo-directory-lead) { grid-template-columns: repeat(4,1fr); }

/* Responsive */
@media (max-width: 1050px) {
  body.newsroom-mode .app-shell { grid-template-columns: 200px minmax(0,1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .right-column { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .dashboard-actions { grid-template-columns: repeat(2,1fr); }
  .hub-actions { grid-template-columns: repeat(3,1fr); }
  .local-desk-explorer { grid-template-columns: 1fr; }
  .information-platform > header { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .information-platform > header > div:last-child { max-width: 680px; }
  .framework-flow { display: flex; overflow-x: auto; }
  .framework-flow span { min-width: 125px; }
  .infrastructure-services { grid-template-columns: 1fr 1fr; }
  .mega-menu { grid-template-columns: repeat(3,1fr); }
  .dashboard-lower-grid { grid-template-columns: 1fr 1fr; }
.task-panel { grid-column: 1/-1; }
  .hero-news { grid-template-columns: 1.08fr .92fr; gap: 26px; }
  .lead-briefs { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; padding: 18px 0 0; border: 0; border-top: 1px solid var(--line); }
  .lead-briefs > p { grid-column: 1/-1; }
  .feed-layout { grid-template-columns: 1fr; }
  .reader-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
  .newsletter { margin-top: 0; }
  .editor-layout { grid-template-columns: 1fr; max-width: 800px; }
  .publish-settings { grid-template-columns: repeat(3,1fr); }
  .publish-settings .editor-tip, .publish-settings .editor-health { grid-column: 1/-1; }
  .international-grid { grid-template-columns: 1.1fr .9fr; }
  .international-grid aside { grid-column: 1/-1; }
  .control-card { grid-template-columns: minmax(180px,.65fr) 1fr; }
  .control-card > label:last-child, .section-toggle-grid, .navigation-editor, .social-settings { grid-column: 2; }
  .control-card label:has(#cmsBreakingEnabled), .control-card label:has(#cmsBreakingLabel), .control-card label:has(#cmsBreakingText) { grid-column: 2; }
  .section-toggle-grid { grid-template-columns: 1fr 1fr; }
  .social-settings { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-grid button:nth-child(2) { border-right: 0; }
  .service-grid button:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .public-footer { grid-template-columns: 1.5fr 1fr 1fr; }
  .public-footer .footer-brand { grid-row: span 2; }
}

@media (max-width: 820px) {
  body.newsroom-mode .app-shell { display: block; }
  body.newsroom-mode .sidebar { position: fixed; inset: 0 auto 0 0; z-index: 101; width: min(84vw, 275px); height: 100dvh; transform: translateX(-105%); transition: transform .2s; box-shadow: 18px 0 45px rgba(0,0,0,.15); }
  body.sidebar-open .sidebar { transform: translateX(0); }
  .sidebar-close { display: grid; place-items: center; position: absolute; top: 9px; right: 9px; width: 40px; height: 40px; border: 0; border-radius: 8px; background: #fff; }
  .sidebar-backdrop { display: block; position: fixed; inset: 0; z-index: 100; border: 0; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; }
  .sidebar-open .sidebar-backdrop { opacity: 1; pointer-events: auto; }
  .mobile-menu { display: grid; place-items: center; flex: 0 0 40px; }
  .topbar { padding: 0 18px; }
  .topbar > div:nth-child(2) { min-width: 0; flex: 1; }
  .topbar h1 { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  #dashboardView, .manager-view.active-view { padding-inline: 18px; }
  .editor-view.active-view { padding-inline: 18px; }
  .manager-row { grid-template-columns: 38px minmax(0,1fr) auto; }
  .manager-status { display: none; }
  .geo-directory-row { grid-template-columns: 46px minmax(0,1fr) auto; }
  .geo-mini-tags { display: none; }
  .geo-directory-lead { align-items: flex-start; flex-direction: column; }
  .geo-directory-lead small { max-width: none; text-align: left; }
  .hero-news { grid-template-columns: 1fr; }
  .lead-briefs { grid-template-columns: repeat(3,1fr); }
  .hero-visual { min-height: 330px; }
  .hero-copy h1 { font-size: 43px; }
  .media-grid { grid-template-columns: 1fr 1fr; }
  .featured-video { grid-column: 1/-1; }
  .province-grid { grid-template-columns: 1fr 1fr; }
  .category-sections { grid-template-columns: 1fr; }
  .page-editor-layout { grid-template-columns: 1fr; max-width: 800px; }
  .page-settings { grid-template-columns: 1fr 1fr; }
  .page-settings .seo-panel { grid-column: 1/-1; }
  .community-band { grid-template-columns: 1fr; }
  .public-footer { grid-template-columns: 1fr 1fr; }
  .public-footer .footer-brand { grid-column: 1/-1; grid-row: auto; }
  .newsroom-hero { grid-template-columns: 1fr; padding: 26px; }
  .newsroom-hero-status { display:grid; grid-template-columns:1fr 1fr; gap:10px 18px; }
  .newsroom-hero-status header { grid-column:1/-1; }
  .newsroom-hero-status footer { margin-top:0; }
}

@media (max-width: 620px) {
  .reader-strip > span:nth-child(2), .reader-strip > span:nth-child(3), .reader-tools select { display: none; }
  .reader-strip { padding: 0 14px; }
  .public-header { height: 60px; grid-template-columns: 42px minmax(0,1fr) auto; padding: 0 14px; }
  .public-header > .public-brand { justify-self: center; }
  .public-header > .public-brand span { display: none; }
  .header-actions { gap: 5px; }
  .public-brand.logo-lockup img { width: 36px; height: 36px; }
  .public-brand.logo-lockup b { font-size: 15px; }
  .briefing-button { display: none; }
  #searchOpen, #closeSite { width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0; border-radius: 50%; font-size: 0; }
  #searchOpen:after { content: "⌕"; font-size: 18px; }
  #closeSite:after { content: "CMS"; font-size: 8px; font-weight: 700; letter-spacing: .04em; }
  .category-nav { justify-content: flex-start; padding: 0 14px; gap: 18px; }
  .breaking { padding: 0 14px; }
  .breaking small { display: none; }
  .public-main { padding: 18px 16px 50px; }
  .mega-menu { position: fixed; inset: 98px 12px auto; max-height: calc(100dvh - 112px); grid-template-columns: 1fr 1fr; gap: 22px; overflow-y: auto; padding: 22px; border-radius: 12px; }
  .public-date { font-size: 10px; }
  .topic-strip { margin-inline: -16px; padding-inline: 16px; }
  .topic-strip b { font-size: 10px; }
  .topic-strip button { font-size: 11px; }
  .hero-news { display: flex; flex-direction: column; gap: 18px; padding: 20px 0 25px; }
  .hero-copy { order: 1; }
  .hero-visual { min-height: 245px; order: 2; }
  .hero-copy h1 { font-size: 40px; }
  .hero-copy > p { font-size: 16px; }
  .lead-briefs { order: 3; display: block; border-top: 1px solid var(--ink); }
  .lead-briefs > p { margin-bottom: 0; }
  .lead-briefs article { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .public-grid, .desk-ribbon, .opinion-grid, .live-grid, .media-grid, .province-grid, .international-grid { grid-template-columns: 1fr; }
  .public-grid article, .desk-ribbon > div, .opinion-grid article, .live-grid > article, .live-grid > aside, .province-grid article, .international-grid > article, .international-grid > div, .international-grid > aside { padding: 17px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .clean-feed article { grid-template-columns: 38px minmax(0,1fr); gap: 11px; }
  .clean-feed .feed-art { display: none; }
  .reader-sidebar { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-end; }
  .section-heading h2 { font-size: 29px; }
  .section-heading > span { display: none; }
  .media-grid { display: grid; }
  .featured-video { grid-column: auto; }
  .featured-video .media-art, .media-art, .podcast-art { height: 220px; }
  .public-footer { grid-template-columns: 1fr 1fr; padding: 38px 20px 25px; }
  .public-footer > div:first-child { grid-column: 1/-1; }
  .public-footer small { display: grid; gap: 4px; }
  .reader-services { padding-top: 42px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid button { border-right: 0; border-bottom: 1px solid var(--line); }
  .service-grid button:last-child { border-bottom: 0; }
  .community-band { margin-inline: -16px; padding: 28px 20px; }
  .community-band h2 { font-size: 32px; }
  .local-desk-explorer { gap: 24px; margin: 36px -16px 0; padding: 29px 16px; border-radius: 0; }
  .information-platform { margin-top: 44px; padding: 32px 0 38px; }
  .information-platform h2 { font-size: 42px; }
  .framework-flow { margin-inline: -16px; padding-inline: 16px; border-radius: 0; }
  .infrastructure-services { grid-template-columns: 1fr; }
  .infrastructure-services button { min-height: 92px; }
  .information-platform > footer { gap: 5px; }
  .local-desk-intro h2 { font-size: 39px; }
  .local-desk-stats { grid-template-columns: 1fr 1fr; }
  .local-desk-form { padding: 16px; }
  .social-follow { grid-template-columns: 1fr 1fr; }
  .newsroom-hero { padding:22px 18px; border-radius:14px; }
  .newsroom-hero h2 { font-size:42px; }
  .newsroom-hero-copy > p { font-size:12px; }
  .newsroom-hero-status { display:flex; }
  .newsroom-hero-status footer { margin-top:14px; }
  .topbar { height: 66px; padding: 0 12px; gap: 8px; }
  .topbar .eyebrow, .top-actions .icon-button, .top-actions .ghost { display: none; }
  .topbar h1 { max-width: 210px; overflow: visible; white-space: normal; text-overflow: clip; font-size: 17px; line-height: 1.08; }
  .top-actions .primary { width: 38px; height: 38px; padding: 0; overflow: hidden; font-size: 0; }
  .top-actions .primary .ui-icon { display: none; }
  .top-actions .primary:after { content: "+"; font-size: 20px; }
  #dashboardView { padding: 14px 12px 40px; }
  .stats-grid { gap: 7px; }
  .dashboard-actions, .dashboard-lower-grid { grid-template-columns: 1fr; gap: 9px; }
  .site-control-hub { padding: 14px; }
  .hub-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .hub-heading > p { text-align: left; }
  .hub-actions { grid-template-columns: 1fr 1fr; }
  .manager-stats:has(+ .manager-panel .geo-directory-lead) { grid-template-columns: 1fr 1fr; }
  .geo-directory-row { grid-template-columns: 42px minmax(0,1fr); gap: 10px; padding: 12px; }
  .geo-directory-row > button { grid-column: 2; justify-self: start; }
  .geo-directory-row b i { display: block; margin: 3px 0 0; }
  .geo-pair { grid-template-columns: 1fr; }
  .dashboard-actions { gap: 0; padding: 5px; }
  .dashboard-actions button { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .dashboard-actions button:last-child { border-bottom: 0; }
  .task-panel { grid-column: auto; }
  .dashboard-actions button { padding: 10px 12px; }
  .dashboard-lower-grid { margin-top: 10px; }
  .stat-card { min-height: 96px; padding: 13px; }
  .right-column { grid-template-columns: 1fr; }
  .story-row { grid-template-columns: 48px minmax(0,1fr); padding: 12px; }
  .story-actions { grid-column: 2; }
  .editor-view.active-view { padding: 0 12px 45px; }
  .editor-top { min-height: 60px; gap: 6px; }
  .editor-top > div { gap: 4px; overflow-x: auto; }
  .editor-top span { display: none; }
  .editor-top .btn { padding: 8px 9px; white-space: nowrap; }
  .editor-layout { margin-top: 14px; }
  .editor-canvas { padding: 24px 17px; }
  .headline-input { font-size: 34px; }
  .cover-drop { flex-wrap: wrap; }
  .cover-drop > img { width: 100%; height: 150px; }
  .cover-drop > button { margin-left: auto; }
  .block-help { display: none; }
  .publish-settings { grid-template-columns: 1fr; }
  .publish-settings .editor-tip, .publish-settings .editor-health { grid-column: auto; }
  .tag-assistant-toggle { align-items: flex-start; }
  .tag-assistant-toggle small { max-width: 220px; }
  .tag-search-row { grid-template-columns: 1fr; }
  .tag-search-row button { width: 100%; }
  .tag-suggestion-head, .selected-tag-head { align-items: flex-start; flex-direction: column; gap: 3px; }
  .tag-suggestion-head span, .selected-tag-head small { text-align: left; }
  .manager-view.active-view { padding: 20px 12px 50px; }
  .page-editor-view.active-view { padding: 0 12px 45px; }
  .page-editor-top { min-height: 66px; }
  .page-editor-top span { display: none; }
  .page-editor-top .btn { padding: 8px 9px; }
  .page-editor-canvas { padding: 25px 18px; }
  .page-editor-canvas input { font-size: 25px; }
  #pageBody { min-height: 380px; font-size: 16px; }
  .page-settings { grid-template-columns: 1fr; }
  .page-settings .seo-panel { grid-column: auto; }
  .manager-heading h2 { font-size: 29px; }
  .manager-stats { gap: 5px; }
  .manager-stats article { padding: 11px; }
  .manager-toolbar select { display: none; }
  .media-library { grid-template-columns: 1fr 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
  .control-card { grid-template-columns: 1fr; padding: 16px; }
  .control-card > label:last-child, .section-toggle-grid, .navigation-editor, .social-settings { grid-column: 1; }
  .control-card label:has(#cmsBreakingEnabled), .control-card label:has(#cmsBreakingLabel), .control-card label:has(#cmsBreakingText) { grid-column: 1; }
  .section-toggle-grid { grid-template-columns: 1fr; }
  .navigation-item { grid-template-columns: 20px 1fr 54px; align-items: center; }
  .navigation-item label:nth-of-type(2) { grid-column: 2; }
  .navigation-item .nav-enabled { grid-column: 2; }
  .navigation-item > div:last-child { grid-column: 3; grid-row: 1/4; }
  .social-settings label { grid-template-columns: 30px 1fr; }
  .social-settings label input { grid-column: 1/-1; }
  .page-row { grid-template-columns: 34px minmax(0,1fr); }
  .page-row .manager-actions { grid-column: 2; flex-wrap: wrap; }
  .search-screen > header, .article-header { grid-template-columns: 1fr auto; padding: 0 16px; }
  .search-screen > header > span, .article-header .public-brand { display: none; }
  .search-inner { padding: 30px 16px; }
  .search-box input { font-size: 22px; }
  .search-layout { grid-template-columns: 1fr; }
  .search-layout aside { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; padding: 14px; border: 1px solid var(--line); border-top: 3px solid var(--brand-gold); background: var(--white); }
  .search-layout aside h3, .search-layout aside > button { grid-column: 1/-1; }
  .article-main { padding: 23px 17px 50px; }
  .static-page-main { padding: 35px 17px 65px; }
  .static-page-main > h1 { font-size: 44px; }
  .static-page-summary { font-size: 16px; }
  .static-page-body { margin-top: 34px; font-size: 18px; }
  .article-main > h1 { font-size: 39px; }
  .article-subtitle { font-size: 16px; }
  .article-meta { align-items: flex-start; gap: 14px; }
  .article-feature { height: 260px; }
  .article-layout { grid-template-columns: 1fr; margin-top: 26px; }
  .article-aside { display: none; }
  .article-tools { overflow-x: auto; flex-wrap: nowrap; }
  .article-tools > div { flex-wrap: nowrap; }
  .article-tools button { white-space: nowrap; }
  .article-body { font-size: 18px; }
  .article-body .lead { font-size: 21px; }
  .article-inline-image { margin: 27px 0; }
  .comments { margin: 42px 0; padding: 20px 16px; }
  .comments-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .comment-form { grid-template-columns: 1fr; }
  .comment-form textarea, .comment-form footer { grid-column: 1; }
  .comment-form footer { align-items: flex-start; flex-direction: column; }
  .next-prev { grid-template-columns: 1fr; }
  .login-gate { grid-template-columns: 1fr; }
  .login-visual { display: none; }
  .login-card { padding: 65px 24px 30px; }
  .social-login { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .stats-grid { grid-template-columns: 1fr; }
  .manager-stats { grid-template-columns: 1fr 1fr; }
  .manager-stats article:last-child { grid-column: 1/-1; }
  .cover-drop > button { width: 100%; }
}

/* Final responsive guardrails: prevent clipped copy and overflowing controls. */
*, *::before, *::after { min-width: 0; }
h1, h2, h3, h4, p, span, small, button, label, a { overflow-wrap: anywhere; }
.public-header, .reader-strip, .breaking, .category-nav { max-width: 100%; }
.category-nav button { flex: 0 0 auto; }
.block-toolbar { max-width: 100%; }
@media (max-width: 820px) {
  .block-toolbar { align-items: stretch; }
  .block-toolbar .block-help { width: 100%; margin: 0 0 2px; }
  .block-toolbar button { font-size: 8px; }
  .hero-copy h1, .article-main > h1, .static-page-main > h1 { overflow-wrap: anywhere; }
}
@media (max-width: 620px) {
  .reader-strip { gap: 8px; font-size: 8px; }
  .reader-strip > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .public-header { min-width: 0; }
  .category-nav { scrollbar-width: thin; }
  .topic-strip { overflow-x: auto; }
  .topic-strip > * { flex: 0 0 auto; }
  .block-toolbar { gap: 5px; }
  .block-toolbar button { padding: 6px; }
  .article-columns { grid-template-columns: 1fr; }
}

/* 2026 editorial identity: Nepal-first, cinematic and highly legible. */
body.public-mode { background: var(--paper); }
body.public-mode .site-preview { background: var(--paper); }
.site-preview { --vermilion: #b9362f; --clay: #b86b45; --sage: #dbe8df; --paper-deep: #f1ecdf; }
.site-preview .site-frame { overflow: hidden; background: #fbfaf7; }
.site-preview .reader-strip { height: 32px; border-color: rgba(2,70,46,.13); background: #f5f2e9; color: #4e6258; font-size: 11px; }
.site-preview .reader-strip > span:first-child { color: var(--editorial-navy); font-weight: 700; }
.site-preview .reader-tools select { min-width: 164px; border: 1px solid rgba(2,70,46,.26); border-radius: 999px; background: #fff; color: var(--editorial-navy); font-weight: 700; }
.site-preview .public-header { height: 102px; border: 0; background:
  radial-gradient(circle at 50% 145%, rgba(254,199,0,.14), transparent 32%),
  linear-gradient(108deg,#013521,#02462e 54%,#063a29); }
.site-preview .public-header:after { content:""; position:absolute; left:0; right:0; bottom:0; height:1px; background:linear-gradient(90deg,transparent,var(--amber),transparent); opacity:.72; }
.site-preview .public-header > button, .site-preview .header-actions button { font-size: 11px; letter-spacing:.02em; }
.site-preview .public-header > button { justify-self:start; width:42px; height:42px; padding:0; border:1px solid rgba(255,255,255,.2); border-radius:50%; text-align:center; }
.site-preview .public-header > button:hover, .site-preview .header-actions button:hover { color:var(--amber); }
.site-preview .public-header .public-brand { gap:14px; }
.site-preview .public-header .public-brand img { width:56px; height:56px; box-shadow:0 0 0 6px rgba(255,255,255,.08); }
.site-preview .public-header .public-brand > span { grid-template-columns:auto auto; column-gap:14px; align-items:center; }
.site-preview .public-header .public-brand b { grid-column:1; font-size:25px; letter-spacing:.015em; }
.site-preview .public-header .public-brand small { grid-column:1; max-width:300px; margin-top:7px; color:var(--brand-gold); font-size:8px; letter-spacing:.18em; }
.site-preview .brand-nepali { grid-column:2; grid-row:1/3; padding-left:14px; border-left:1px solid rgba(255,255,255,.22); color:rgba(255,255,255,.82); font-family:"Noto Sans Devanagari",var(--sans); font-size:16px; font-style:normal; font-weight:650; }
.site-preview .header-actions { gap:5px; }
.site-preview .header-actions button { padding:10px 12px; border-radius:999px; }
.site-preview .header-actions .briefing-button { border:1px solid rgba(254,199,0,.32); background:rgba(254,199,0,.08); }
.site-preview .category-nav { height:44px; justify-content:flex-start; gap:30px; padding:0 max(20px,calc((100vw - 1320px)/2)); border-color:rgba(2,70,46,.15); background:rgba(251,250,247,.97); box-shadow:0 8px 24px rgba(2,70,46,.035); }
.site-preview .category-nav button { position:relative; height:44px; color:#193b2f; font-size:12px; }
.site-preview .category-nav button:after { content:""; position:absolute; right:0; bottom:5px; left:0; height:2px; background:var(--amber); transform:scaleX(0); transform-origin:left; transition:transform .2s ease; }
.site-preview .category-nav button:hover:after, .site-preview .category-nav button:focus-visible:after { transform:scaleX(1); }
.site-preview .breaking { height:38px; background:var(--vermilion); font-size:12px; }
.site-preview .breaking b { align-self:stretch; display:grid; place-items:center; padding-inline:12px; background:var(--amber); }
.site-preview .public-main { max-width:1320px; padding:18px 24px 74px; }

.site-preview .premium-lead { position:relative; isolation:isolate; display:grid; grid-template-columns:minmax(0,7fr) minmax(360px,5fr); gap:0; padding:0; border:0; background:#fff; box-shadow:0 28px 80px rgba(2,70,46,.11); }
.site-preview .hero-visual { min-height:560px; border:0; background:
  radial-gradient(circle at 76% 22%,rgba(254,199,0,.28) 0 8%,transparent 8.4%),
  repeating-radial-gradient(ellipse at 15% 95%,transparent 0 26px,rgba(255,255,255,.055) 27px 28px),
  linear-gradient(145deg,#075c3e 0%,#02462e 58%,#012d20 100%); }
.site-preview .hero-visual:before { content:"नेपाल"; z-index:3; inset:auto auto 54px 38px; display:block; width:auto; height:auto; color:rgba(255,255,255,.09); font-family:"Noto Sans Devanagari",var(--sans); font-size:clamp(86px,10vw,150px); font-weight:800; letter-spacing:-.08em; line-height:.8; }
.site-preview .hero-visual:after { content:""; position:absolute; z-index:2; inset:38% -8% -1px -5%; background:
  linear-gradient(135deg,transparent 0 48%,rgba(254,199,0,.5) 48.3% 49%,transparent 49.3%),
  linear-gradient(164deg,transparent 0 44%,#0b744f 44.2% 62%,#013a28 62.3%); clip-path:polygon(0 62%,13% 47%,24% 59%,39% 26%,51% 53%,63% 17%,75% 45%,87% 29%,100% 58%,100% 100%,0 100%); }
.site-preview .hero-visual.has-image:after { inset:0; background:linear-gradient(180deg,rgba(2,25,18,.04),rgba(2,25,18,.55)); clip-path:none; }
.site-preview .hero-visual.has-image:before, .site-preview .hero-visual.has-image .hero-scene-label, .site-preview .hero-visual.has-image .sun, .site-preview .hero-visual.has-image .hills { display:none; }
.site-preview .hero-visual .sun { position:absolute; z-index:1; top:68px; right:70px; display:block; width:102px; height:102px; border-radius:50%; background:var(--amber); box-shadow:0 0 0 22px rgba(254,199,0,.09),0 0 80px rgba(254,199,0,.25); }
.site-preview .hero-visual .hills { position:absolute; z-index:1; inset:auto 0 0; display:block; height:48%; background:linear-gradient(90deg,#e1b23d,#f7b538 45%,#c47d2c); opacity:.23; clip-path:polygon(0 64%,18% 29%,32% 62%,49% 19%,63% 58%,80% 10%,100% 63%,100% 100%,0 100%); }
.site-preview .hero-scene-label { position:absolute; z-index:4; top:34px; left:36px; display:grid; padding-left:14px; border-left:3px solid var(--amber); color:#fff; }
.site-preview .hero-scene-label small { font-size:10px; font-weight:800; letter-spacing:.14em; }
.site-preview .hero-scene-label strong { margin-top:5px; font-family:"Noto Sans Devanagari",var(--sans); font-size:22px; }
.site-preview .hero-scene-label em { margin-top:2px; color:rgba(255,255,255,.65); font-size:10px; font-style:normal; }
.site-preview .hero-visual > span { z-index:5; bottom:14px; left:18px; color:rgba(255,255,255,.72); font-size:10px; }
.site-preview .hero-copy { position:relative; overflow:hidden; justify-content:center; padding:58px 48px 52px; border-top:8px solid var(--amber); background:linear-gradient(145deg,#fff 0%,#faf7ed 100%); }
.site-preview .hero-copy:before { content:"NEPAL"; position:absolute; right:-32px; bottom:-22px; color:rgba(2,70,46,.035); font-family:var(--serif); font-size:128px; font-weight:700; letter-spacing:-.07em; line-height:1; }
.site-preview .hero-copy > * { position:relative; z-index:1; }
.site-preview .hero-copy > span { color:var(--vermilion); font-size:11px; letter-spacing:.15em; }
.site-preview .hero-copy h1 { margin:16px 0 20px; font-size:clamp(50px,5vw,72px); line-height:.93; letter-spacing:-.045em; text-wrap:balance; }
.site-preview .hero-copy > p { color:#4f5d56; font-size:17px; line-height:1.58; }
.site-preview .hero-copy > div { margin-top:24px; padding-top:17px; border-color:rgba(2,70,46,.18); font-size:11px; }
.site-preview .lead-briefs { grid-column:1/-1; display:grid; grid-template-columns:150px repeat(3,1fr); gap:0; padding:0 28px; border:0; background:#102219; color:#fff; }
.site-preview .lead-briefs > p { grid-column:auto; align-self:center; margin:0; color:var(--amber); }
.site-preview .lead-briefs article { padding:22px 26px; border-right:1px solid rgba(255,255,255,.12); }
.site-preview .lead-briefs article:first-of-type { border-left:1px solid rgba(255,255,255,.12); }
.site-preview .lead-briefs article:last-child { border-right:0; }
.site-preview .lead-briefs span { color:var(--amber); font-size:10px; letter-spacing:.12em; }
.site-preview .lead-briefs h3 { margin:8px 0; color:#fff; font-size:21px; line-height:1.14; }
.site-preview .lead-briefs small { color:rgba(255,255,255,.55); font-size:10px; }

.site-preview .nepal-pulse { position:relative; display:grid; grid-template-columns:minmax(280px,1.12fr) minmax(430px,1.4fr) minmax(160px,.48fr); gap:28px; align-items:center; margin-top:28px; padding:30px 32px 0; border:1px solid #ded7c4; border-left:7px solid var(--amber); background:
  radial-gradient(circle at 91% 0,rgba(254,199,0,.18),transparent 27%),
  linear-gradient(120deg,#f4efdf,#fbfaf7 62%); }
.site-preview .nepal-pulse:before { content:"QN / 7·77·753"; position:absolute; top:12px; right:20px; color:rgba(2,70,46,.13); font-size:9px; font-weight:800; letter-spacing:.1em; }
.site-preview .pulse-copy .eyebrow { color:var(--vermilion); }
.site-preview .pulse-copy h2 { margin:7px 0 12px; font-family:var(--serif); font-size:clamp(35px,3.5vw,49px); font-weight:500; line-height:.94; letter-spacing:-.035em; }
.site-preview .pulse-copy h2 em { color:var(--editorial-navy); font-style:italic; }
.site-preview .pulse-copy > p:last-child { margin:0; color:#5d665f; font-size:13px; line-height:1.55; }
.site-preview .pulse-metrics { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid rgba(2,70,46,.2); border-bottom:1px solid rgba(2,70,46,.2); }
.site-preview .pulse-metrics span { padding:20px 13px; border-right:1px solid rgba(2,70,46,.16); }
.site-preview .pulse-metrics span:last-child { border:0; }
.site-preview .pulse-metrics b, .site-preview .pulse-metrics small { display:block; }
.site-preview .pulse-metrics b { color:var(--editorial-navy); font-family:var(--serif); font-size:34px; font-weight:600; letter-spacing:-.04em; }
.site-preview .pulse-metrics small { margin-top:4px; color:#6d756e; font-size:8px; font-weight:800; letter-spacing:.08em; }
.site-preview .pulse-live { display:grid; align-content:center; min-height:126px; padding:18px; background:var(--editorial-navy); color:#fff; }
.site-preview .pulse-live > span { color:rgba(255,255,255,.68); font-size:8px; font-weight:800; letter-spacing:.08em; }
.site-preview .pulse-live i { display:inline-block; width:7px; height:7px; margin-right:5px; border-radius:50%; background:var(--amber); box-shadow:0 0 0 5px rgba(254,199,0,.12); animation:qnPulse 2s ease-in-out infinite; }
.site-preview .pulse-live strong { margin-top:8px; color:var(--amber); font-family:var(--serif); font-size:44px; line-height:.85; }
.site-preview .pulse-live small { margin-top:8px; color:rgba(255,255,255,.62); font-size:10px; }
.site-preview .pulse-provinces { grid-column:1/-1; display:flex; margin:0 -32px; padding:0 32px; overflow-x:auto; border-top:1px solid #ded7c4; scrollbar-width:none; }
.site-preview .pulse-provinces::-webkit-scrollbar { display:none; }
.site-preview .pulse-provinces button { flex:1 0 auto; min-height:45px; padding:0 15px; border:0; border-right:1px solid #ded7c4; background:transparent; color:#516057; font-size:10px; font-weight:750; }
.site-preview .pulse-provinces button:hover, .site-preview .pulse-provinces button.active { background:var(--editorial-navy); color:#fff; }
.site-preview .topic-strip { margin-top:18px; padding:12px 0; border-top:1px solid var(--line); }

.site-preview .feed-art, .site-preview .province-card-art, .site-preview .media-art, .site-preview .world-art { position:relative; isolation:isolate; overflow:hidden; border-top:0; background-color:#dbe8df; }
.site-preview .feed-art:after, .site-preview .province-card-art:after { content:"QN"; position:absolute; right:8px; bottom:5px; color:rgba(255,255,255,.65); font-size:8px; font-weight:800; letter-spacing:.1em; }
.site-preview .road-art { background:
  linear-gradient(128deg,transparent 0 45%,rgba(254,199,0,.88) 45.5% 49%,transparent 49.5%),
  linear-gradient(155deg,#a8c8b3 0 48%,#276d52 48.5% 68%,#02462e 68.5%); }
.site-preview .tea-art { background:
  radial-gradient(ellipse at 70% 58%,#fec700 0 17%,transparent 17.5%),
  radial-gradient(ellipse at 29% 42%,rgba(255,255,255,.35) 0 18%,transparent 18.5%),
  linear-gradient(135deg,#7fa98f,#02462e); }
.site-preview .field-art { background:
  repeating-linear-gradient(116deg,transparent 0 14px,rgba(254,199,0,.34) 15px 17px),
  linear-gradient(155deg,#d8b65f 0 38%,#5b956e 38.5% 72%,#02462e 72.5%); }
.site-preview .library-art { background:
  repeating-linear-gradient(90deg,#f7b538 0 9px,#e8ddbd 9px 15px,#2f7257 15px 25px,#fff5d6 25px 30px),
  linear-gradient(#02462e,#02462e); }
.site-preview .tech { background:
  linear-gradient(rgba(254,199,0,.32) 1px,transparent 1px),linear-gradient(90deg,rgba(254,199,0,.32) 1px,transparent 1px),
  radial-gradient(circle at 68% 42%,#fec700 0 10%,transparent 10.5%),linear-gradient(135deg,#075b3d,#012e20); background-size:18px 18px,18px 18px,auto,auto; }
.site-preview .video-art { background:
  linear-gradient(160deg,transparent 0 54%,rgba(254,199,0,.78) 54.5% 58%,transparent 58.5%),
  linear-gradient(135deg,#7ea893,#02462e 55%,#102219); }
.site-preview .photo-art { background:
  repeating-linear-gradient(135deg,rgba(255,255,255,.08) 0 14px,transparent 14px 28px),
  linear-gradient(120deg,#b9362f,#e3903a 48%,#02462e 49%); }
.site-preview .world-art { background:
  radial-gradient(circle at 58% 48%,transparent 0 22%,rgba(254,199,0,.68) 22.5% 24%,transparent 24.5%),
  repeating-radial-gradient(circle at 58% 48%,transparent 0 31px,rgba(255,255,255,.11) 32px 33px),
  linear-gradient(135deg,#0b7250,#012d20); }
.site-preview .story-photo { background-size:cover; background-position:center; }
.site-preview .clean-feed article, .site-preview .province-grid article, .site-preview .public-grid article { transition:transform .2s ease,background .2s ease; }
.site-preview .clean-feed article:hover { transform:translateX(5px); }
.site-preview .clean-feed article:hover h3, .site-preview .public-grid article:hover h3 { color:var(--editorial-navy); }
.site-preview .section-heading { border-top:3px solid var(--editorial-navy); }
.site-preview .section-heading h2 { font-size:clamp(32px,3.3vw,44px); }
.site-preview .opinion-section { margin-top:54px; padding:36px 32px 28px; background:#f1ecdf; }
.site-preview .opinion-section .section-heading { padding-top:0; border-top:0; }
.site-preview .media-section { margin-top:54px; padding:38px 34px 44px; background:#102219; color:#fff; }
.site-preview .media-section .section-heading { border-color:var(--amber); }
.site-preview .media-section .section-heading button { color:rgba(255,255,255,.66); }
.site-preview .media-grid small { color:var(--amber); }
.site-preview .media-grid h3 { color:#fff; }
.site-preview .information-platform { border-radius:0; }

body.newsroom-mode .dashboard-actions button:first-child { margin:-1px 5px -1px -1px; border:0; border-radius:10px; background:var(--amber); color:var(--ink); box-shadow:0 8px 22px rgba(254,199,0,.18); }
body.newsroom-mode .dashboard-actions button:first-child:hover { background:#ffdb43; }
body.newsroom-mode .dashboard-actions button:first-child > span { background:rgba(2,70,46,.11); color:var(--editorial-navy); }
body.newsroom-mode .dashboard-actions button:first-child b, body.newsroom-mode .dashboard-actions button:first-child small { color:var(--ink); }
body.newsroom-mode .hero-live-label, body.newsroom-mode .newsroom-hero-chips span, body.newsroom-mode .newsroom-hero-status header, body.newsroom-mode .newsroom-hero-status footer span { font-size:10px; }
body.newsroom-mode .story-image { position:relative; overflow:hidden; border-top:0; background:#dbe8df; background-size:cover; background-position:center; }
body.newsroom-mode .story-image:after { content:"QN"; position:absolute; right:5px; bottom:4px; color:rgba(255,255,255,.72); font-size:7px; font-weight:800; letter-spacing:.08em; }
body.newsroom-mode .story-image.road-art { background:linear-gradient(128deg,transparent 0 45%,rgba(254,199,0,.9) 45.5% 49%,transparent 49.5%),linear-gradient(155deg,#a8c8b3 0 48%,#276d52 48.5% 68%,#02462e 68.5%); }
body.newsroom-mode .story-image.tea-art { background:radial-gradient(ellipse at 70% 58%,#fec700 0 17%,transparent 17.5%),radial-gradient(ellipse at 29% 42%,rgba(255,255,255,.35) 0 18%,transparent 18.5%),linear-gradient(135deg,#7fa98f,#02462e); }
body.newsroom-mode .story-image.field-art { background:repeating-linear-gradient(116deg,transparent 0 8px,rgba(254,199,0,.34) 9px 11px),linear-gradient(155deg,#d8b65f 0 38%,#5b956e 38.5% 72%,#02462e 72.5%); }
body.newsroom-mode .story-image.library-art { background:repeating-linear-gradient(90deg,#f7b538 0 6px,#e8ddbd 6px 10px,#2f7257 10px 17px,#fff5d6 17px 21px); }
body.newsroom-mode .story-image.story-photo:after { display:none; }
body.newsroom-mode .story-empty { display:grid; gap:4px; padding:28px 19px; color:var(--muted); font-size:11px; }
body.newsroom-mode .story-empty b { color:var(--ink); font-size:13px; }
body.newsroom-mode #createDraft:disabled { cursor:not-allowed; opacity:.45; filter:grayscale(.4); }

h1, h2, h3, h4, p, span, small, button, label, a { overflow-wrap:break-word; }
.site-preview h1, .site-preview h2, .site-preview h3 { text-wrap:balance; }

@media (max-width: 1050px) {
  .site-preview .public-header .public-brand small { display:none; }
  .site-preview .brand-nepali { grid-row:1; }
  .site-preview .premium-lead { grid-template-columns:1.05fr .95fr; }
  .site-preview .hero-visual { min-height:500px; }
  .site-preview .hero-copy { padding:42px 34px; }
  .site-preview .hero-copy h1 { font-size:52px; }
  .site-preview .lead-briefs { grid-template-columns:125px repeat(3,1fr); }
  .site-preview .lead-briefs article { padding:18px; }
  .site-preview .nepal-pulse { grid-template-columns:1fr 1.25fr; }
  .site-preview .pulse-live { grid-column:1/-1; grid-template-columns:auto auto 1fr; align-items:center; min-height:auto; gap:12px; }
  .site-preview .pulse-live strong { margin:0; font-size:34px; }
}

@media (max-width: 820px) {
  .site-preview .reader-strip { padding-inline:18px; }
  .site-preview .public-header { height:86px; padding-inline:18px; }
  .site-preview .public-header .public-brand img { width:48px; height:48px; }
  .site-preview .public-header .public-brand b { font-size:20px; }
  .site-preview .brand-nepali { font-size:14px; }
  .site-preview .header-actions .briefing-button { display:none; }
  .site-preview .category-nav { padding-inline:18px; }
  .site-preview .premium-lead { grid-template-columns:1fr; }
  .site-preview .hero-visual { min-height:430px; }
  .site-preview .hero-copy { padding:38px 32px 42px; }
  .site-preview .hero-copy h1 { font-size:clamp(44px,7vw,58px); }
  .site-preview .lead-briefs { grid-template-columns:repeat(3,1fr); padding:18px 22px; }
  .site-preview .lead-briefs > p { grid-column:1/-1; margin-bottom:8px; }
  .site-preview .lead-briefs article:first-of-type { border-left:0; }
  .site-preview .nepal-pulse { grid-template-columns:1fr; }
  .site-preview .pulse-live { grid-column:auto; }
  .site-preview .pulse-metrics { grid-template-columns:repeat(4,1fr); }
}

@media (max-width: 620px) {
  .site-preview .reader-strip { height:30px; justify-content:flex-end; }
  .site-preview .reader-strip > span { display:none !important; }
  .site-preview .reader-tools { width:100%; justify-content:space-between; margin:0; }
  .site-preview .reader-tools #languageToggle, .site-preview .reader-tools #themeToggle, .site-preview .reader-tools #readerLogin { display:block; min-height:28px; }
  .site-preview .public-header { height:68px; grid-template-columns:40px minmax(0,1fr) 80px; padding:0 12px; }
  .site-preview .public-header > .public-brand { justify-self:start; gap:8px; }
  .site-preview .public-header > .public-brand span { display:grid; }
  .site-preview .public-header .public-brand img { width:36px; height:36px; box-shadow:0 0 0 3px rgba(255,255,255,.08); }
  .site-preview .public-header .public-brand b { font-size:13px; white-space:nowrap; }
  .site-preview .public-header .public-brand small { display:none; }
  .site-preview .brand-nepali { display:block; grid-column:1; grid-row:2; margin-top:3px; padding:0; border:0; color:var(--brand-gold); font-size:9px; }
  .site-preview .header-actions { gap:2px; }
  .site-preview #searchOpen, .site-preview #closeSite { width:34px; height:34px; }
  .site-preview .category-nav { gap:21px; padding-inline:14px; }
  .site-preview .breaking { height:auto; min-height:34px; align-items:stretch; padding-inline:0 12px; }
  .site-preview .breaking b { flex:0 0 auto; }
  .site-preview .breaking > span { align-self:center; overflow:visible; padding-block:8px; white-space:normal; text-overflow:clip; line-height:1.3; }
  .site-preview .public-main { padding:12px 14px 52px; }
  .site-preview .premium-lead { margin-inline:-14px; box-shadow:none; }
  .site-preview .hero-visual { order:1; min-height:310px; }
  .site-preview .hero-copy { order:2; padding:30px 20px 34px; border-top-width:6px; }
  .site-preview .hero-copy h1 { margin-block:13px 16px; font-size:clamp(39px,12vw,52px); line-height:.96; }
  .site-preview .hero-copy > p { font-size:15px; }
  .site-preview .hero-visual .sun { top:55px; right:38px; width:70px; height:70px; }
  .site-preview .hero-scene-label { top:25px; left:22px; }
  .site-preview .hero-visual:before { left:20px; bottom:35px; font-size:88px; }
  .site-preview .lead-briefs { order:3; display:grid; grid-template-columns:1fr; padding:19px 20px; border:0; }
  .site-preview .lead-briefs > p { grid-column:auto; }
  .site-preview .lead-briefs article { padding:15px 0; border-right:0; border-bottom:1px solid rgba(255,255,255,.14); }
  .site-preview .nepal-pulse { margin:20px -14px 0; padding:26px 20px 0; border-right:0; border-left-width:5px; }
  .site-preview .pulse-copy h2 { font-size:40px; }
  .site-preview .pulse-metrics { grid-template-columns:1fr 1fr; }
  .site-preview .pulse-metrics span:nth-child(2) { border-right:0; }
  .site-preview .pulse-metrics span:nth-child(-n+2) { border-bottom:1px solid rgba(2,70,46,.16); }
  .site-preview .pulse-live { display:grid; grid-template-columns:auto 1fr; }
  .site-preview .pulse-live small { grid-column:2; margin:0; }
  .site-preview .pulse-provinces { margin-inline:-20px; padding-inline:20px; mask-image:linear-gradient(90deg,transparent,#000 16px,#000 calc(100% - 28px),transparent); }
  .site-preview .topic-strip { margin-inline:-14px; padding-inline:14px; mask-image:linear-gradient(90deg,transparent,#000 14px,#000 calc(100% - 25px),transparent); }
  .site-preview .clean-feed article { grid-template-columns:36px minmax(0,1fr) 96px; gap:10px; }
  .site-preview .clean-feed .feed-art { display:block; min-height:76px; }
  .site-preview .clean-feed h3 { font-size:22px; }
  .site-preview .clean-feed p { display:none; }
  .site-preview .card-meta { align-items:flex-start; flex-direction:column; }
  .site-preview .feed-share { display:none; }
  .site-preview .opinion-section, .site-preview .media-section { margin-inline:-14px; padding-inline:20px; }
  body.newsroom-mode .dashboard-actions button:first-child { margin:-1px -1px 4px; }
}

@media (prefers-reduced-motion: reduce) { *, *:before, *:after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
@media print { .reader-strip,.public-header,.category-nav,.breaking,.article-header,.article-tools,.article-aside,.comments,.next-prev,.public-footer{display:none!important}.article-page{position:static;display:block!important}.article-main{max-width:760px;padding:0}.article-body{font-size:12pt;color:#000}.article-inline-image{break-inside:avoid} }
