@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

@font-face {
  font-family: "Alverata";
  src: url("/static/fonts/Alverata-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alverata";
  src: url("/static/fonts/Alverata-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alverata";
  src: url("/static/fonts/Alverata-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* =========================================================
   PDRS / NPDP — CLEAN CONSOLIDATED CSS
   Replace static/npdp/css/npdp.css with this file.
   Accent: ADB blue. No logo background tiles. No stacked override blocks.
   ========================================================= */

:root,
html[data-theme="light"] {
  color-scheme: light;

  --bg: #ffffff;
  --panel: #ffffff;
  --panel2: #f7f8f7;
  --panel3: #f0f2f1;

  --text: #22262a;
  --heading: #181b1d;
  --body-text: #34393d;
  --muted: #70777d;
  --line: rgba(24, 27, 29, 0.13);

  --brand: #181b1d;
  --brand-soft: rgba(24, 27, 29, 0.055);
  --brand-contrast: #ffffff;

  --accent: #0073ce;
  --accent-strong: #005aaa;
  --accent-soft: rgba(0, 115, 206, 0.1);

  --good: #177d51;
  --watch: #9a6700;
  --bad: #b42318;

  --shadow: 0 14px 34px rgba(24, 27, 29, 0.055);
  --shadow-soft: 0 8px 22px rgba(24, 27, 29, 0.04);

  --serif: Alverata, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --inter: Inter, var(--sans);

  /* =====================================================
     SIZE CONTROLS — edit these only for global sizing.
     ===================================================== */
  --sidebar-width: 300px;
  --main-padding: 30px;

  /* Topbar English page title */
  --page-title-size: clamp(1.25rem, 1.55vw, 1.85rem);

  /* Dashboard / large hero title */
  --hero-title-size: clamp(1.25rem, 2.4vw, 2.35rem);

  /* Policy / target page hero title */
  --workspace-title-size: clamp(1.45rem, 2vw, 2.1rem);

  /* Section headings inside cards/panels */
  --section-title-size: clamp(1.2rem, 1.35vw, 1.55rem);

  /* General body text */
  --body-font-size: 0.92rem;

  /* Logos */
  --rgob-logo-height: clamp(4rem, 3.2vw, 4rem);
  --adb-logo-height: 1.9rem;

  /* Sidebar Dzongkha system title */
  --brand-dz-size: 1.5rem;
  --brand-dz-weight: 590;

  /* Sidebar English system title */
  --brand-en-size: 0.92rem;
  --brand-en-weight: 600;

  /* Page-level Dzongkha title */
  --page-dz-size: clamp(1.5rem, 0.75vw + 0.75rem, 1.25rem);
  --page-dz-weight: 590;

  /* Sidebar menu */
  --nav-font-size: 0.9rem;
  --nav-icon-size: 2rem;
  --nav-icon-svg: 1rem;
}

html[data-theme="dark"] {
  color-scheme: dark;

  --bg: #101010;
  --panel: #171717;
  --panel2: #202020;
  --panel3: #292929;

  --text: #f3f0ea;
  --heading: #ffffff;
  --body-text: #ded8ce;
  --muted: #aaa39a;
  --line: rgba(255, 255, 255, 0.13);

  --brand: #ffffff;
  --brand-soft: rgba(255, 255, 255, 0.08);
  --brand-contrast: #101010;

  --accent: #4aa8ff;
  --accent-strong: #7bc1ff;
  --accent-soft: rgba(74, 168, 255, 0.13);

  --brand-dz-weight: 590;
  --page-dz-weight: 590;

  --good: #7dd3a8;
  --watch: #f0c96a;
  --bad: #f59a9a;

  --shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

svg,
path {
  color: currentColor;
}

/* =========================================================
   App shell
   ========================================================= */

.npdp-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
  background: var(--bg);
}

.npdp-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 26px 22px;
  border-right: 1px solid var(--line);
  background: var(--bg);
  overflow-y: auto;
  z-index: 10;
}

.npdp-main {
  min-width: 0;
  padding: var(--main-padding);
  background: var(--bg);
}

/* =========================================================
   Brand and sidebar
   ========================================================= */

.npdp-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 28px;
}

.npdp-brand {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--heading);
  text-decoration: none;
}

.npdp-brand.pdrs-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.72rem;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.pdrs-logo-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
}

.brand-logo-shell,
.pdrs-emblem-shell,
.pdrs-adb-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.pdrs-emblem-shell {
  max-width: 6.9rem;
  flex: 0 0 auto;
}

.pdrs-adb-shell {
  max-width: 2.6rem;
  flex: 0 0 auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-logo,
.pdrs-emblem-logo,
.pdrs-adb-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.pdrs-emblem-logo {
  height: clamp(2.55rem, 2.6vw, 3.15rem);
}

.pdrs-adb-logo {
  height: 1rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

html[data-theme="dark"] .pdrs-adb-shell,
html[data-theme="light"] .pdrs-adb-shell {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-logo-dark {
  display: none;
}

html[data-theme="dark"] .brand-logo-light {
  display: none;
}

html[data-theme="dark"] .brand-logo-dark {
  display: block;
}

.brand-mark {
  display: none;
}

.pdrs-brand-text,
.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.12rem;
  max-width: 100%;
  min-width: 0;
  line-height: 1.15;
}

.pdrs-brand-text .brand-dzongkha {
  display: block;
  max-width: 100%;
  color: var(--accent);
  font-family: "Noto Serif Tibetan", "Noto Sans Tibetan", "Jomolhari", serif;
  font-size: clamp(0.78rem, 0.48vw + 0.62rem, 0.98rem);
  font-weight: var(--brand-dz-weight);
  line-height: 1.28;
  letter-spacing: 0.01em;
  overflow-wrap: normal;
  word-break: normal;
}

.pdrs-brand-text strong,
.brand-text strong,
.npdp-brand strong {
  display: block;
  max-width: 100%;
  color: var(--heading);
  font-family: var(--serif);
  font-size: 0.86rem;
  font-weight: var(--brand-en-weight);
  line-height: 1.16;
  letter-spacing: -0.012em;
  overflow-wrap: normal;
  word-break: normal;
}

.brand-text small,
.npdp-brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.npdp-nav {
  display: grid;
  gap: 6px;
}

.npdp-nav a,
.npdp-nav .npdp-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 45px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: var(--text);
  box-shadow: none;
  font-family: var(--inter);
  font-size: var(--nav-font-size);
  font-weight: 720;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.npdp-nav a:hover,
.npdp-nav .npdp-nav-link:hover {
  color: var(--heading);
  background: var(--panel2);
  border-color: var(--line);
  transform: translateX(2px);
}

.npdp-nav a.is-active,
.npdp-nav a.active,
.npdp-nav a[aria-current="page"],
.npdp-nav .npdp-nav-link.is-active,
.npdp-nav .npdp-nav-link.active,
.npdp-nav .npdp-nav-link[aria-current="page"] {
  color: var(--heading);
  background: var(--panel);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.npdp-nav a.is-active::before,
.npdp-nav a.active::before,
.npdp-nav a[aria-current="page"]::before,
.npdp-nav .npdp-nav-link.is-active::before,
.npdp-nav .npdp-nav-link.active::before,
.npdp-nav .npdp-nav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.npdp-nav-icon {
  display: inline-grid;
  place-items: center;
  width: var(--nav-icon-size);
  height: var(--nav-icon-size);
  min-width: var(--nav-icon-size);
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
}

.npdp-nav a:hover .npdp-nav-icon,
.npdp-nav .npdp-nav-link:hover .npdp-nav-icon,
.npdp-nav a.is-active .npdp-nav-icon,
.npdp-nav a.active .npdp-nav-icon,
.npdp-nav a[aria-current="page"] .npdp-nav-icon,
.npdp-nav .npdp-nav-link.is-active .npdp-nav-icon,
.npdp-nav .npdp-nav-link.active .npdp-nav-icon,
.npdp-nav .npdp-nav-link[aria-current="page"] .npdp-nav-icon {
  background: var(--panel);
  color: var(--heading);
  box-shadow: inset 3px 0 0 var(--accent);
}

.npdp-nav-icon svg,
.ui-icon,
.theme-icon {
  width: var(--nav-icon-svg);
  height: var(--nav-icon-svg);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.npdp-nav-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.npdp-sidebar-note {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  background: transparent;
}

.npdp-sidebar-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--heading);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
}

.npdp-sidebar-note p {
  margin: 0;
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.8rem;
  line-height: 1.55;
}

/* =========================================================
   Topbar and page heading
   ========================================================= */

.npdp-topbar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 24px;
  margin: 0 0 26px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.npdp-topbar > .topbar-actions:first-child {
  display: none;
}

.topbar-title {
  min-width: 0;
  justify-self: start;
  text-align: left;
}

.pdrs-page-heading {
  display: grid;
  gap: 0.25rem;
  justify-items: start;
  text-align: left;
}

.pdrs-page-title-dz {
  display: block;
  color: var(--accent);
  font-family: "Noto Serif Tibetan", "Noto Sans Tibetan", "Jomolhari", serif;
  font-size: var(--page-dz-size);
  font-weight: var(--page-dz-weight);
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.npdp-topbar h1,
.topbar-title h1,
.page-title,
.enterprise-page-title {
  max-width: 100%;
  margin: 0;
  color: var(--heading);
  font-family: var(--serif);
  font-size: var(--page-title-size);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.topbar-actions,
.topbar-actions-right {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.eyebrow,
.enterprise-kicker,
.enterprise-section-label,
.summary-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* =========================================================
   Buttons and controls
   ========================================================= */

.primary-button,
.secondary-button,
.ghost-button,
.theme-toggle,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.42rem;
  padding: 0.64rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--inter);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1;
  background: var(--panel);
  color: var(--heading);
  box-shadow: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.primary-button,
a.primary-button,
button.primary-button {
  border-color: color-mix(in srgb, var(--brand) 36%, var(--line));
  background: var(--panel);
  color: var(--heading);
  box-shadow: inset 3px 0 0 var(--accent);
  font-weight: 800;
}

.secondary-button,
a.secondary-button,
button.secondary-button,
.ghost-button,
a.ghost-button,
button.ghost-button,
.theme-toggle {
  border-color: var(--line);
  background: var(--panel);
  color: var(--body-text);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.theme-toggle:hover,
.icon-button:hover {
  background: var(--panel2);
  color: var(--heading);
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
  transform: translateY(-1px);
}

.secondary-button:hover,
.ghost-button:hover,
.theme-toggle:hover,
.icon-button:hover {
  box-shadow: inset 3px 0 0 var(--accent);
}

.compact {
  min-height: 2.1rem;
  padding: 0.48rem 0.8rem;
  font-size: 0.8rem;
}

.icon-button,
.theme-toggle.icon-button,
.mobile-menu-button,
.mobile-sidebar-close {
  width: 2.55rem;
  min-width: 2.55rem;
  height: 2.55rem;
  min-height: 2.55rem;
  padding: 0;
}

/* =========================================================
   Cards, panels and dashboard
   ========================================================= */

.enterprise-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 24px;
}

.enterprise-hero__content,
.enterprise-hero__summary,
.enterprise-panel,
.enterprise-metric-card,
.metric-card,
.panel,
.policy-card,
.list-card,
.login-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  color: var(--text);
}

.enterprise-hero__content {
  padding: 32px 36px;
}

.enterprise-hero h2 {
  max-width: 820px;
  margin: 0 0 16px;
  color: var(--heading);
  font-family: var(--serif);
  font-size: var(--hero-title-size);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.enterprise-hero p,
.panel p,
.enterprise-panel p {
  color: var(--body-text);
  font-family: var(--inter);
  font-size: var(--body-font-size);
  line-height: 1.7;
}

.enterprise-hero p {
  max-width: 760px;
  margin: 0;
}

.enterprise-hero__summary {
  padding: 24px;
}

.enterprise-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.enterprise-layout,
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.7fr);
  gap: 24px;
}

.tabs-grid,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.enterprise-panel,
.panel {
  padding: 24px;
  margin-bottom: 22px;
}

.enterprise-panel-head,
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.enterprise-panel-head h3,
.panel h2,
.panel h3 {
  margin: 0;
  color: var(--heading);
  font-family: var(--serif);
  font-size: var(--section-title-size);
  font-weight: 700;
  letter-spacing: -0.024em;
  line-height: 1.1;
}

.enterprise-link,
.panel-head a {
  color: var(--heading);
  font-family: var(--inter);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.enterprise-link:hover,
.panel-head a:hover {
  border-bottom-color: var(--heading);
}

.enterprise-metric-grid,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.metric-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.enterprise-metric-card,
.metric-card {
  padding: 17px;
}

.enterprise-metric-card span,
.metric-card span,
.enterprise-facts dt {
  display: block;
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.enterprise-metric-card strong,
.metric-card strong,
.enterprise-facts dd {
  display: block;
  margin: 9px 0 5px;
  color: var(--heading);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.2vw, 2.08rem);
  font-weight: 700;
  line-height: 1;
}

.enterprise-metric-card small,
.metric-card small {
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.76rem;
  line-height: 1.4;
}

.enterprise-facts {
  display: grid;
  gap: 0;
  margin: 0;
}

.enterprise-facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.enterprise-facts div:last-child {
  border-bottom: 0;
}

.enterprise-facts dd {
  margin-left: auto;
}

/* =========================================================
   Policy portfolio and lists
   ========================================================= */

.enterprise-policy-list,
.enterprise-update-list,
.timeline-list,
.card-list {
  display: grid;
  gap: 12px;
}

.enterprise-policy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}

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

.enterprise-policy-row:hover {
  background: var(--panel2);
  margin-inline: -14px;
  padding-inline: 14px;
}

.policy-domain {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.enterprise-policy-row h4,
.policy-card h3,
.policy-card h4 {
  margin: 0 0 8px;
  color: var(--heading);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.65vw, 1.55rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.enterprise-policy-row p,
.policy-card p,
.list-card p,
.enterprise-update-item p,
.timeline-item p {
  max-width: 760px;
  margin: 0;
  color: var(--body-text);
  font-family: var(--inter);
  font-size: 0.88rem;
  line-height: 1.65;
}

.policy-row-meta {
  display: grid;
  align-content: start;
  gap: 7px;
  text-align: right;
}

.policy-row-meta span,
.update-topline span,
.timeline-item span,
.list-card span,
.enterprise-update-item small {
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.75rem;
  font-weight: 650;
}

.policy-row-meta strong,
.update-topline strong,
.timeline-item strong {
  color: var(--heading);
  font-family: var(--inter);
  font-size: 0.82rem;
  font-weight: 800;
}

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

.policy-grid.roomy {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.policy-card,
.list-card,
.enterprise-update-item,
.timeline-item {
  display: block;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.policy-card {
  min-height: 180px;
  padding: 21px;
}

.policy-card:hover,
.list-card:hover,
.enterprise-update-item:hover,
.timeline-item:hover {
  transform: translateY(-1px);
  background: var(--panel2);
  border-color: color-mix(in srgb, var(--brand) 18%, var(--line));
  box-shadow: var(--shadow-soft);
}

.update-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 8px;
}

.card-list.small .list-card {
  padding: 12px;
}

/* =========================================================
   Forms
   ========================================================= */

.filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.npdp-input,
select,
textarea,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="date"],
input[type="search"],
input[type="url"] {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  background: var(--panel2);
  color: var(--text);
  font-family: var(--inter);
  font-size: 0.92rem;
  font-weight: 400;
}

.npdp-input:focus,
select:focus,
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
input[type="search"]:focus,
input[type="url"]:focus {
  border-color: color-mix(in srgb, var(--brand) 34%, var(--line));
  box-shadow: inset 3px 0 0 var(--accent);
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.npdp-multiselect {
  min-height: 120px;
}

::placeholder {
  color: var(--muted);
}

/* =========================================================
   Tables
   ========================================================= */

.table-wrap,
.pdrs-target-table-shell {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.npdp-table,
.pdrs-target-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  color: var(--text);
}

.pdrs-target-table {
  min-width: 1240px;
}

.pdrs-policy-targets-panel .pdrs-target-table {
  min-width: 1040px;
}

.npdp-table th,
.npdp-table td,
.pdrs-target-table th,
.pdrs-target-table td {
  padding: 14px 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.npdp-table th,
.pdrs-target-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--panel2);
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.npdp-table td,
.pdrs-target-table td {
  background: var(--panel);
  color: var(--text);
  font-family: var(--inter);
  font-size: 0.88rem;
  line-height: 1.42;
}

.pdrs-target-table tbody tr:hover td,
.npdp-table tbody tr:hover td {
  background: var(--panel2);
}

/* =========================================================
   Badges, status and meta
   ========================================================= */

.status,
.pdrs-target-type,
.pdrs-target-status,
.pdrs-policy-code,
.pdrs-target-code {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.status.good,
.pdrs-target-status.source_verified,
.pdrs-target-status.approved {
  color: var(--good);
  border-color: color-mix(in srgb, var(--good) 38%, var(--line));
  background: color-mix(in srgb, var(--good) 8%, transparent);
}

.status.watch,
.pdrs-target-status.needs_review {
  color: var(--watch);
  border-color: color-mix(in srgb, var(--watch) 38%, var(--line));
  background: color-mix(in srgb, var(--watch) 8%, transparent);
}

.status.bad,
.pdrs-target-status.retired {
  color: var(--bad);
  border-color: color-mix(in srgb, var(--bad) 34%, var(--line));
  background: color-mix(in srgb, var(--bad) 8%, transparent);
}

.status.neutral {
  color: var(--muted);
  background: transparent;
}

.pdrs-policy-code {
  color: var(--heading);
  border-radius: 0;
  text-decoration: none;
  box-shadow: inset 3px 0 0 var(--accent);
}

.pdrs-target-code {
  border-radius: 0;
  color: var(--muted);
  background: var(--panel2);
}

.pdrs-target-main-cell {
  min-width: 260px;
}

.pdrs-target-name,
.pdrs-target-indicator {
  color: var(--heading);
  font-family: var(--inter);
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.pdrs-target-name:hover,
.pdrs-target-indicator:hover {
  border-bottom: 1px solid var(--accent);
}

.pdrs-target-source {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.pdrs-muted {
  color: var(--muted);
}

.user-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--panel);
  font-family: var(--inter);
  font-size: 0.8rem;
  font-weight: 650;
}

.meta-list {
  display: grid;
  gap: 10px;
}

.meta-list div {
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.meta-list dt {
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.meta-list dd {
  margin: 4px 0 0;
  color: var(--text);
  font-family: var(--inter);
}

.statement-text {
  color: var(--heading);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.25;
}

/* =========================================================
   Messages, login and empty states
   ========================================================= */

.message-stack {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.message {
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-family: var(--inter);
}

.message.success {
  border-color: color-mix(in srgb, var(--good) 45%, var(--line));
}

.message.error,
.message.warning {
  border-color: color-mix(in srgb, var(--bad) 45%, var(--line));
}

.login-screen {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  background: var(--bg);
}

.login-card {
  width: 100%;
  max-width: 480px;
  padding: 34px;
}

.login-card h1 {
  margin-top: 0;
  color: var(--heading);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.enterprise-empty-state {
  padding: 22px;
  border: 1px dashed var(--line);
  background: var(--panel2);
}

.enterprise-empty-state h4 {
  margin: 0 0 8px;
  color: var(--heading);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.enterprise-empty-state p {
  margin: 0;
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.88rem;
  line-height: 1.6;
}

.compact-empty {
  padding: 16px;
}

/* =========================================================
   Target framework pages
   ========================================================= */

.pdrs-target-page,
.pdrs-target-detail-page {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.pdrs-target-hero,
.pdrs-policy-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.15rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.pdrs-target-hero h2,
.pdrs-policy-hero h2 {
  max-width: 900px;
  margin: 0;
  color: var(--heading);
  font-family: var(--serif);
  font-size: var(--workspace-title-size);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.036em;
}

.pdrs-target-hero p,
.pdrs-policy-hero p {
  max-width: 860px;
  margin: 0.7rem 0 0;
  color: var(--body-text);
  font-family: var(--inter);
  font-size: 0.92rem;
  line-height: 1.68;
}

.pdrs-target-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.pdrs-target-summary-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pdrs-target-summary-card {
  min-height: 105px;
  padding: 0.95rem;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.pdrs-target-summary-card span,
.pdrs-filter-field label,
.pdrs-policy-info-card span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pdrs-target-summary-card strong {
  display: block;
  color: var(--heading);
  font-family: var(--serif);
  font-size: 1.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pdrs-target-summary-card small {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.74rem;
  line-height: 1.35;
}

.pdrs-target-filter {
  display: grid;
  grid-template-columns: minmax(250px, 1.3fr) minmax(210px, 1fr) minmax(160px, 0.8fr) minmax(140px, 0.62fr) minmax(110px, 0.48fr) minmax(150px, 0.72fr) auto;
  gap: 0.7rem;
  align-items: end;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.pdrs-filter-field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.pdrs-target-filter .npdp-input,
.pdrs-target-filter select {
  min-height: 2.46rem;
  padding: 0.62rem 0.72rem;
  font-size: 0.84rem;
  background: var(--panel2);
}

.pdrs-filter-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.pdrs-filter-actions .primary-button,
.pdrs-filter-actions .secondary-button {
  min-height: 2.46rem;
  padding-inline: 0.9rem;
}

.pdrs-target-pagination {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.pdrs-target-empty {
  margin-top: 1rem;
}

.pdrs-target-value-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.pdrs-target-value-box,
.pdrs-target-detail-card,
.pdrs-target-link-item,
.pdrs-policy-info-card,
.pdrs-indicator-card {
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.pdrs-target-value-box span,
.pdrs-target-link-item span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pdrs-target-value-box strong,
.pdrs-policy-info-card strong {
  display: block;
  color: var(--heading);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.12;
}

.pdrs-target-value-box small,
.pdrs-target-link-item small {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.76rem;
}

.pdrs-target-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.45fr);
  gap: 1.25rem;
}

.pdrs-target-detail-card h3,
.pdrs-policy-narrative h4,
.pdrs-indicator-card h4 {
  margin: 0 0 1rem;
  color: var(--heading);
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.pdrs-target-link-list {
  display: grid;
  gap: 0.65rem;
}

/* =========================================================
   Policy workspace page
   ========================================================= */

.pdrs-policy-workspace {
  display: block;
}

.pdrs-policy-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.pdrs-policy-meta-row span {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.32rem 0.62rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.74rem;
  font-weight: 700;
}

.pdrs-policy-meta-row strong {
  margin-left: 0.25rem;
  color: var(--heading);
}

.pdrs-policy-tabs,
.tabs,
.tab-list,
.npdp-tabs,
.policy-tabs,
.enterprise-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  align-items: center;
}

.pdrs-policy-tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 0 1.25rem;
  padding: 0.7rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.pdrs-policy-tabs a,
.tabs a,
.tabs button,
.tab-link,
.tab-button,
.npdp-tab,
.policy-tab,
.enterprise-tab,
[role="tab"] {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.22rem;
  padding: 0.55rem 0.78rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  box-shadow: none;
  font-family: var(--inter);
  font-size: 0.8rem;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.pdrs-policy-tabs a:hover,
.tabs a:hover,
.tabs button:hover,
.tab-link:hover,
.tab-button:hover,
.npdp-tab:hover,
.policy-tab:hover,
.enterprise-tab:hover,
[role="tab"]:hover {
  color: var(--heading);
  background: var(--panel2);
  border-color: color-mix(in srgb, var(--brand) 24%, var(--line));
  box-shadow: inset 3px 0 0 var(--accent);
}

.tabs a.active,
.tabs a.is-active,
.tabs button.active,
.tabs button.is-active,
.tab-link.active,
.tab-link.is-active,
.tab-button.active,
.tab-button.is-active,
.npdp-tab.active,
.npdp-tab.is-active,
.policy-tab.active,
.policy-tab.is-active,
.enterprise-tab.active,
.enterprise-tab.is-active,
[role="tab"][aria-selected="true"] {
  color: var(--heading);
  background: var(--panel);
  border-color: color-mix(in srgb, var(--brand) 24%, var(--line));
  box-shadow: inset 0 -2px 0 var(--accent);
}

.pdrs-policy-section {
  scroll-margin-top: 5.5rem;
}

.pdrs-policy-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.pdrs-indicator-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.pdrs-policy-narrative {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--panel2);
}

.pdrs-policy-narrative p {
  margin: 0;
  color: var(--body-text);
  font-family: var(--inter);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* =========================================================
   Responsive
   ========================================================= */

.mobile-menu-button,
.mobile-sidebar-close,
.mobile-nav-backdrop {
  display: none;
}

@media (max-width: 1320px) {
  .pdrs-target-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pdrs-target-filter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pdrs-filter-search {
    grid-column: span 2;
  }
}

@media (max-width: 1180px) {
  .enterprise-hero,
  .enterprise-layout,
  .two-col,
  .pdrs-target-detail-grid {
    grid-template-columns: 1fr;
  }

  .enterprise-metric-grid,
  .metric-grid,
  .metric-grid.four,
  .policy-grid.roomy {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .enterprise-hero__summary {
    display: none;
  }

  .pdrs-policy-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pdrs-indicator-split {
    grid-template-columns: 1fr;
  }

  .pdrs-policy-hero,
  .pdrs-target-hero {
    display: grid;
  }
}

@media (max-width: 1024px) {
  :root,
  html[data-theme="light"],
  html[data-theme="dark"] {
    --rgob-logo-height: 2.45rem;
    --adb-logo-height: 0.95rem;
    --brand-en-size: 0.86rem;
    --brand-dz-size: 0.95rem;
    --nav-font-size: 0.88rem;
    --page-title-size: 1rem;
    --page-dz-size: 0.9rem;
    --hero-title-size: 1.45rem;
    --workspace-title-size: 1.35rem;
  }

  body.nav-open {
    overflow: hidden;
  }

  .npdp-shell {
    display: block;
    min-height: 100vh;
  }

  .npdp-main {
    min-height: 100vh;
    padding: 18px;
  }

  .mobile-menu-button,
  .mobile-sidebar-close {
    display: inline-flex;
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    display: block;
    width: 100vw;
    height: 100vh;
    border: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.46);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
  }

  body.nav-open .mobile-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .npdp-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 999;
    width: min(86vw, 350px);
    height: 100dvh;
    padding: 22px;
    overflow-y: auto;
    background: var(--panel);
    border-right: 1px solid var(--line);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    transform: translateX(-105%);
    transition: transform 0.22s ease;
  }

  body.nav-open .npdp-sidebar {
    transform: translateX(0);
  }

  .npdp-sidebar-header {
    margin-bottom: 24px;
  }

  .npdp-nav {
    gap: 7px;
  }

  .npdp-nav a,
  .npdp-nav .npdp-nav-link {
    min-height: 46px;
  }

  .npdp-sidebar-note {
    position: relative;
    margin-top: 28px;
  }

  .npdp-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin: -18px -18px 20px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: blur(16px);
  }

  .npdp-topbar > .topbar-actions:first-child {
    grid-column: 1;
    display: flex;
    margin: 0;
  }

  .topbar-title {
    grid-column: 2;
  }

  .topbar-title .pdrs-page-title-dz {
    max-width: 100%;
    overflow: hidden;
    font-size: var(--page-dz-size);
    line-height: 1.22;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .npdp-topbar h1 {
    overflow: hidden;
    font-size: var(--page-title-size);
    line-height: 1.18;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .topbar-actions-right {
    grid-column: 3;
    display: flex;
    margin: 0;
  }

  .user-pill,
  .logout-form {
    display: none;
  }

  .theme-toggle {
    display: inline-flex;
  }

  .npdp-brand.pdrs-brand {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.62rem;
  }

  .pdrs-logo-row {
    gap: 0.4rem;
    width: auto;
  }

  .pdrs-emblem-shell {
    max-width: 6.2rem;
  }

  .pdrs-adb-shell {
    max-width: 2.3rem;
  }
}

@media (max-width: 860px) {
  .pdrs-target-hero,
  .pdrs-policy-hero {
    padding: 1.08rem;
  }

  .pdrs-target-summary-grid,
  .pdrs-target-summary-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pdrs-target-filter,
  .pdrs-target-value-row {
    grid-template-columns: 1fr;
  }

  .pdrs-filter-search {
    grid-column: auto;
  }

  .pdrs-filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .pdrs-filter-actions .primary-button,
  .pdrs-filter-actions .secondary-button {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .npdp-main {
    padding: 16px;
  }

  .enterprise-hero__content,
  .enterprise-panel,
  .panel {
    padding: 20px;
  }

  .enterprise-hero h2 {
    font-size: var(--hero-title-size);
  }

  .enterprise-metric-grid,
  .metric-grid,
  .metric-grid.four,
  .policy-grid,
  .policy-grid.roomy {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .enterprise-policy-row {
    grid-template-columns: 1fr;
  }

  .policy-row-meta {
    text-align: left;
  }

  .filter-bar {
    display: block;
  }

  .filter-bar > * {
    margin-bottom: 10px;
  }

  .pdrs-policy-overview-grid {
    grid-template-columns: 1fr;
  }

  .pdrs-policy-tabs {
    position: relative;
    top: auto;
  }

  .pdrs-policy-tabs a {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  :root,
  html[data-theme="light"],
  html[data-theme="dark"] {
    --rgob-logo-height: 2.2rem;
    --adb-logo-height: 0.82rem;
    --brand-en-size: 0.82rem;
    --brand-dz-size: 0.88rem;
    --nav-font-size: 0.86rem;
    --nav-icon-size: 1.9rem;
    --nav-icon-svg: 0.95rem;
    --page-title-size: 0.95rem;
    --page-dz-size: 0.82rem;
    --hero-title-size: 1.28rem;
    --workspace-title-size: 1.22rem;
  }

  .npdp-main {
    padding: 14px;
  }

  .npdp-topbar {
    margin: -14px -14px 18px;
    padding: 12px 14px;
    gap: 10px;
  }

  .npdp-sidebar {
    width: min(90vw, 330px);
    padding: 20px;
  }

  .npdp-brand.pdrs-brand {
    gap: 0.54rem;
  }

  .pdrs-logo-row {
    gap: 0.35rem;
  }

  .pdrs-emblem-shell {
    max-width: 5.5rem;
  }

  .pdrs-adb-shell {
    max-width: 2rem;
  }

  .pdrs-emblem-logo {
    height: 2.2rem;
  }

  .pdrs-adb-logo {
    height: 0.82rem;
  }

  .pdrs-brand-text .brand-dzongkha {
    font-size: 0.78rem;
    line-height: 1.22;
  }

  .pdrs-brand-text strong {
    font-size: 0.76rem;
  }

  .pdrs-target-hero h2,
  .pdrs-policy-hero h2 {
    font-size: var(--workspace-title-size);
  }

  .pdrs-target-summary-grid,
  .pdrs-target-summary-grid.compact,
  .enterprise-metric-grid,
  .metric-grid,
  .metric-grid.four,
  .policy-grid,
  .policy-grid.roomy {
    grid-template-columns: 1fr;
  }

  .pdrs-target-summary-card {
    min-height: auto;
  }

  .pdrs-target-table {
    min-width: 1120px;
  }
}
/* Dark mode Dzongkha */
html[data-theme="dark"] .brand-dzongkha,
html[data-theme="dark"] .pdrs-brand-text .brand-dzongkha,
html[data-theme="dark"] .pdrs-page-title-dz {
  color: #ffffff;
}


/* =========================================================
   EXECUTIVE CONTROL ROOM DASHBOARD
   Add this once to static/npdp/css/npdp.css
   ========================================================= */

.exec-control-room {
  display: block;
}

.exec-control-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.28fr);
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
}

.exec-control-header > div,
.exec-control-meta {
  padding: 1.1rem;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.exec-control-header h2 {
  max-width: 900px;
  margin: 0;
  color: var(--heading);
  font-family: var(--serif);
  font-size: var(--hero-title-size);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.exec-control-header p {
  max-width: 880px;
  margin: 0.65rem 0 0;
  color: var(--body-text);
  font-family: var(--inter);
  font-size: var(--body-font-size);
  line-height: 1.65;
}

.exec-control-meta {
  display: grid;
  align-content: center;
  gap: 0.25rem;
}

.exec-control-meta span,
.exec-control-meta small {
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.75rem;
  font-weight: 700;
}

.exec-control-meta strong {
  color: var(--heading);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.1;
}

.exec-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.exec-kpi-card {
  min-height: 118px;
  padding: 0.95rem;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.exec-kpi-card span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.exec-kpi-card strong {
  display: block;
  color: var(--heading);
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

.exec-kpi-card small {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.73rem;
  line-height: 1.35;
}

.exec-kpi-card.decision,
.exec-kpi-card.risk {
  border-color: color-mix(in srgb, var(--bad) 30%, var(--line));
}

.exec-kpi-card.decision strong,
.exec-kpi-card.risk strong {
  color: var(--bad);
}

.exec-kpi-card.warning {
  border-color: color-mix(in srgb, var(--watch) 30%, var(--line));
}

.exec-kpi-card.warning strong {
  color: var(--watch);
}

.exec-kpi-card.confidence strong {
  color: var(--accent);
}

.exec-main-grid,
.exec-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.exec-dashboard-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
}

.exec-panel {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.exec-panel-wide {
  min-width: 0;
}

.exec-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.exec-panel-head h3 {
  margin: 0;
  color: var(--heading);
  font-family: var(--serif);
  font-size: var(--section-title-size);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.exec-panel-head small {
  max-width: 320px;
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: right;
}

.exec-chart {
  width: 100%;
  min-height: 320px;
}

.exec-chart-large {
  min-height: 380px;
}

.exec-watchlist {
  display: grid;
  gap: 0.75rem;
}

.exec-watchlist-item {
  display: block;
  padding: 0.85rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
}

.exec-watchlist-item:hover {
  background: var(--panel2);
}

.exec-watchlist-item.severity-high {
  border-color: color-mix(in srgb, var(--bad) 34%, var(--line));
  box-shadow: inset 3px 0 0 var(--bad);
}

.exec-watchlist-item.severity-medium {
  border-color: color-mix(in srgb, var(--watch) 34%, var(--line));
  box-shadow: inset 3px 0 0 var(--watch);
}

.exec-watchlist-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.exec-watchlist-top strong {
  color: var(--heading);
  font-family: var(--inter);
  font-size: 0.85rem;
  font-weight: 850;
  line-height: 1.25;
}

.exec-watchlist-top span {
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.exec-watchlist-item p {
  margin: 0 0 0.65rem;
  color: var(--body-text);
  font-family: var(--inter);
  font-size: 0.82rem;
  line-height: 1.45;
}

.exec-watchlist-item dl {
  display: grid;
  gap: 0.4rem;
  margin: 0;
}

.exec-watchlist-item dl div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.5rem;
}

.exec-watchlist-item dt {
  color: var(--muted);
  font-family: var(--inter);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.exec-watchlist-item dd {
  margin: 0;
  color: var(--text);
  font-family: var(--inter);
  font-size: 0.76rem;
  line-height: 1.35;
}

.exec-table td:first-child {
  min-width: 220px;
}

@media (max-width: 1320px) {
  .exec-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .exec-main-grid,
  .exec-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .exec-panel-head small {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .exec-control-header,
  .exec-kpi-grid {
    grid-template-columns: 1fr;
  }

  .exec-control-header h2 {
    font-size: var(--hero-title-size);
  }

  .exec-chart,
  .exec-chart-large {
    min-height: 280px;
  }

  .exec-panel-head {
    display: grid;
  }
}

/* =========================================================
   FINAL FIX — SIDEBAR LOGOS + DZONGKHA TITLE SIZE
   Put this at the VERY BOTTOM of npdp.css.
   This overrides earlier hard-coded 1rem / 0.82rem logo sizes.
   ========================================================= */

:root,
html[data-theme="light"],
html[data-theme="dark"] {
  --sidebar-width: 330px;

  /* Sidebar brand sizing */
  --rgob-logo-height: clamp(3.5rem, 2.8vw, 3.25rem);
  --adb-logo-height: 1.6rem;
  --brand-dz-size: clamp(1.05rem, 0.55vw + 0.9rem, 1.22rem);
  --brand-en-size: 0.9rem;
}

/* Keep logos and title in one clean horizontal header */
.npdp-sidebar-header {
  align-items: center;
}

.npdp-brand.pdrs-brand {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 0.78rem !important;
  width: 100%;
  min-width: 0;
}

.pdrs-logo-row {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.5rem !important;
  width: auto !important;
  min-width: 0;
  flex: 0 0 auto;
  overflow: visible;
}

.pdrs-emblem-shell {
  max-width: 6.9rem !important;
  flex: 0 0 auto !important;
}

.pdrs-adb-shell {
  max-width: 4.6rem !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
}

.pdrs-emblem-logo {
  height: var(--rgob-logo-height) !important;
  width: auto !important;
  max-width: 100% !important;
}

.pdrs-adb-logo {
  height: var(--adb-logo-height) !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain !important;
}

.pdrs-brand-text,
.brand-text {
  justify-content: center;
  min-width: 0;
}

.pdrs-brand-text .brand-dzongkha {
  font-size: var(--brand-dz-size) !important;
  line-height: 1.22 !important;
  font-weight: var(--brand-dz-weight);
  overflow-wrap: anywhere;
  word-break: normal;
}

.pdrs-brand-text strong,
.brand-text strong,
.npdp-brand strong {
  font-size: var(--brand-en-size) !important;
  line-height: 1.14 !important;
}

/* Tablet/mobile sidebar still stays readable, but not tiny */
@media (max-width: 1024px) {
  :root,
  html[data-theme="light"],
  html[data-theme="dark"] {
    --rgob-logo-height: 2.55rem;
    --adb-logo-height: 1.35rem;
    --brand-dz-size: 1rem;
    --brand-en-size: 0.82rem;
  }

  .npdp-brand.pdrs-brand {
    gap: 0.66rem !important;
  }

  .pdrs-emblem-shell {
    max-width: 6.2rem !important;
  }

  .pdrs-adb-shell {
    max-width: 4rem !important;
  }
}

@media (max-width: 560px) {
  :root,
  html[data-theme="light"],
  html[data-theme="dark"] {
    --rgob-logo-height: 2.35rem;
    --adb-logo-height: 1.18rem;
    --brand-dz-size: 0.94rem;
    --brand-en-size: 0.78rem;
  }

  .npdp-brand.pdrs-brand {
    gap: 0.56rem !important;
  }

  .pdrs-logo-row {
    gap: 0.38rem !important;
  }

  .pdrs-emblem-shell {
    max-width: 5.8rem !important;
  }

  .pdrs-adb-shell {
    max-width: 3.6rem !important;
  }
}

/* =========================================================
   Desktop collapsible sidebar / full-page workspace
   - Full sidebar on desktop by default
   - Icon rail when collapsed
   - Mobile keeps slide-in navigation
   ========================================================= */

:root {
  --npdp-sidebar-expanded: var(--sidebar-width, 300px);
  --npdp-sidebar-collapsed: 88px;
  --npdp-sidebar-transition: 220ms ease;
}

.desktop-sidebar-toggle,
.sidebar-edge-toggle {
  display: none;
}

@media (min-width: 1025px) {
  .npdp-shell {
    display: grid !important;
    grid-template-columns: var(--npdp-sidebar-expanded) minmax(0, 1fr) !important;
    min-height: 100vh;
    transition: grid-template-columns var(--npdp-sidebar-transition);
  }

  html[data-sidebar="collapsed"] .npdp-shell {
    grid-template-columns: var(--npdp-sidebar-collapsed) minmax(0, 1fr) !important;
  }

  .npdp-sidebar {
    width: var(--npdp-sidebar-expanded) !important;
    inline-size: var(--npdp-sidebar-expanded) !important;
    transition:
      width var(--npdp-sidebar-transition),
      inline-size var(--npdp-sidebar-transition),
      box-shadow var(--npdp-sidebar-transition);
  }

  html[data-sidebar="collapsed"] .npdp-sidebar {
    width: var(--npdp-sidebar-collapsed) !important;
    inline-size: var(--npdp-sidebar-collapsed) !important;
    padding-inline: 0.65rem !important;
  }

  .npdp-topbar {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: start !important;
  }

  .npdp-topbar > .topbar-actions:first-child {
    display: flex !important;
  }

  .desktop-sidebar-toggle {
    display: inline-flex !important;
    gap: 0.45rem;
    visibility: visible !important;
    opacity: 1 !important;
    white-space: nowrap;
  }

  .desktop-sidebar-toggle .ui-icon,
  .sidebar-edge-toggle .ui-icon {
    transition: transform var(--npdp-sidebar-transition);
  }

  .sidebar-edge-toggle {
    position: fixed;
    top: 5.65rem;
    left: calc(var(--npdp-sidebar-expanded) - 0.95rem);
    z-index: 900;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 1.95rem;
    height: 1.95rem;
    min-width: 1.95rem;
    min-height: 1.95rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
    color: var(--heading);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition:
      left var(--npdp-sidebar-transition),
      background 0.18s ease,
      border-color 0.18s ease,
      transform 0.18s ease,
      box-shadow 0.18s ease;
  }

  .sidebar-edge-toggle:hover {
    background: var(--panel2);
    border-color: color-mix(in srgb, var(--brand) 26%, var(--line));
    box-shadow: var(--shadow);
    transform: translateY(-1px);
  }

  html[data-sidebar="collapsed"] .sidebar-edge-toggle {
    left: calc(var(--npdp-sidebar-collapsed) - 0.95rem);
  }

  html[data-sidebar="collapsed"] .desktop-sidebar-toggle .ui-icon,
  html[data-sidebar="collapsed"] .sidebar-edge-toggle .ui-icon {
    transform: rotate(180deg);
  }

  html[data-sidebar="collapsed"] .npdp-sidebar-header {
    justify-content: center !important;
    padding-inline: 0 !important;
  }

  html[data-sidebar="collapsed"] .npdp-brand.pdrs-brand {
    display: flex !important;
    justify-content: center !important;
    width: 100%;
    gap: 0 !important;
  }

  html[data-sidebar="collapsed"] .pdrs-logo-row {
    justify-content: center !important;
    gap: 0 !important;
  }

  html[data-sidebar="collapsed"] .pdrs-brand-text,
  html[data-sidebar="collapsed"] .pdrs-adb-shell,
  html[data-sidebar="collapsed"] .npdp-nav-label,
  html[data-sidebar="collapsed"] .npdp-sidebar-note {
    display: none !important;
  }

  html[data-sidebar="collapsed"] .pdrs-emblem-shell {
    max-width: 3.15rem !important;
  }

  html[data-sidebar="collapsed"] .pdrs-emblem-logo {
    width: auto !important;
    max-width: 3rem !important;
    height: auto !important;
    max-height: 3rem !important;
  }

  html[data-sidebar="collapsed"] .npdp-nav {
    padding-inline: 0 !important;
  }

  html[data-sidebar="collapsed"] .npdp-nav-link {
    position: relative;
    justify-content: center !important;
    gap: 0 !important;
    padding-inline: 0.55rem !important;
  }

  html[data-sidebar="collapsed"] .npdp-nav-link:hover {
    transform: none !important;
  }

  html[data-sidebar="collapsed"] .npdp-nav-icon {
    margin-inline: auto !important;
  }

  html[data-sidebar="collapsed"] .npdp-nav-link::after {
    content: attr(data-nav-title);
    position: absolute;
    left: calc(100% + 0.6rem);
    top: 50%;
    z-index: 950;
    display: none;
    min-width: max-content;
    max-width: 280px;
    padding: 0.46rem 0.64rem;
    border: 1px solid var(--line);
    border-radius: 0.6rem;
    background: var(--panel);
    color: var(--heading);
    box-shadow: var(--shadow);
    font-family: var(--inter);
    font-size: 0.78rem;
    font-weight: 780;
    line-height: 1.2;
    white-space: nowrap;
    transform: translateY(-50%);
  }

  html[data-sidebar="collapsed"] .npdp-nav-link:hover::after,
  html[data-sidebar="collapsed"] .npdp-nav-link:focus-visible::after {
    display: block;
  }

  .mobile-menu-button {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .desktop-sidebar-toggle,
  .sidebar-edge-toggle {
    display: none !important;
  }

  .npdp-topbar > .topbar-actions:first-child {
    display: flex;
  }
}

/* =========================================================
   FINAL CLEANUP — sidebar collapse uses sidebar edge only
   - Removes the duplicated topbar “Full view” control
   - Keeps the floating sidebar-edge toggle on desktop
   - Keeps the existing mobile menu button on tablet/mobile
   ========================================================= */

.desktop-sidebar-toggle,
.desktop-sidebar-toggle-label {
  display: none !important;
}

@media (min-width: 1025px) {
  .npdp-topbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
  }

  .npdp-topbar > .topbar-actions:first-child {
    display: none !important;
  }

  .sidebar-edge-toggle {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media (max-width: 1024px) {
  .npdp-topbar > .topbar-actions:first-child {
    display: flex !important;
  }

  .sidebar-edge-toggle {
    display: none !important;
  }
}


.npdp-login-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(183, 111, 31, 0.12), transparent 34rem),
    linear-gradient(135deg, #f8f4ec 0%, #f6f0e5 44%, #ffffff 100%);
  color: #161616;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.premium-login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(440px, 1.05fr) minmax(420px, 0.95fr);
  overflow: hidden;
}

.premium-login-visual {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.1), transparent 18rem),
    radial-gradient(circle at 74% 42%, rgba(214, 133, 38, 0.2), transparent 24rem),
    linear-gradient(135deg, #0b0f16 0%, #111827 48%, #211205 100%);
}

.premium-login-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.95), rgba(0,0,0,0.2) 68%, transparent 100%);
  pointer-events: none;
}

.premium-login-visual::after {
  content: "";
  position: absolute;
  inset: auto -20% -24% 8%;
  height: 28rem;
  background: radial-gradient(circle, rgba(220, 147, 56, 0.32), transparent 68%);
  filter: blur(22px);
  pointer-events: none;
}

.tenx-dot-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.premium-login-panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 4rem);
  background:
    radial-gradient(circle at top right, rgba(196, 119, 38, 0.13), transparent 24rem),
    linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,255,255,0.97));
}

.premium-login-inner {
  width: min(100%, 520px);
}

.premium-login-brand {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  margin-bottom: 2rem;
}

.premium-login-emblem {
  width: 90px;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.premium-login-eyebrow {
  display: block;
  margin-bottom: 0.35rem;
  color: #8a4f15;
  font-size: 1.55rem;
  line-height: 1.45;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.premium-login-brand h1 {
  margin: 0;
  color: #171717;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 850;
}

.premium-login-card {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.35rem);
  border: 1px solid rgba(38, 24, 12, 0.09);
  border-radius: 34px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(22px);
  box-shadow:
    0 34px 90px rgba(42, 29, 10, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.92);
}

.premium-login-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(211, 138, 53, 0.52), rgba(255,255,255,0), rgba(31, 41, 55, 0.12));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.premium-login-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 1.05rem;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  background: #fff3e1;
  color: #8a4f15;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.premium-login-card h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.premium-login-copy {
  margin: 0.8rem 0 1.55rem;
  color: #626262;
  font-size: 0.98rem;
  line-height: 1.65;
}

.premium-login-form {
  display: grid;
  gap: 1rem;
}

.premium-login-form p {
  margin: 0;
}

.premium-login-form label {
  display: block;
  margin-bottom: 0.4rem;
  color: #2b2b2b;
  font-size: 0.83rem;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.premium-login-form input {
  width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(17, 24, 39, 0.13);
  border-radius: 16px;
  background: rgba(255,255,255,0.94);
  color: #111827;
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.premium-login-form input:focus {
  border-color: rgba(180, 104, 24, 0.72);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(197, 119, 38, 0.13);
  transform: translateY(-1px);
}

.premium-login-form .errorlist {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #b42318;
  font-size: 0.86rem;
  font-weight: 700;
}

.premium-login-button {
  width: 100%;
  min-height: 56px;
  margin-top: 0.4rem;
  border: 0;
  border-radius: 18px;
  background:
    linear-gradient(135deg, #111827 0%, #2b1a0a 48%, #a65d13 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(40, 25, 10, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.premium-login-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.06);
  box-shadow: 0 24px 48px rgba(40, 25, 10, 0.26);
}

.premium-login-button:active {
  transform: translateY(0);
}

.premium-login-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.premium-login-footnote {
  margin: 1.35rem 0 0;
  color: #777;
  font-size: 0.86rem;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 1040px) {
  .premium-login-shell {
    grid-template-columns: 1fr;
  }

  .premium-login-visual {
    min-height: 380px;
  }

  .premium-login-panel {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .premium-login-visual {
    min-height: 300px;
  }

  .premium-login-panel {
    padding: 1.15rem;
  }

  .premium-login-brand {
    align-items: flex-start;
  }

  .premium-login-emblem {
    width: 70px;
  }

  .premium-login-eyebrow {
    font-size: 1.18rem;
    line-height: 1.45;
  }

  .premium-login-brand h1 {
    font-size: 1rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
  }

  .premium-login-card {
    border-radius: 26px;
  }
}

.premium-login-adb-wrap {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.premium-login-adb-logo {
  width: 40px;
  max-width: 40px;
  height: auto;
  display: block;
  object-fit: contain;
  opacity: 0.88;
}

@media (max-width: 640px) {
  .premium-login-adb-logo {
    width: 36px;
    max-width: 36px;
  }
}



/* =========================================================
   NPDP policy detail: one-line Action Plan filter toolbar
   Safe override. Keep at bottom of static/npdp/css/npdp.css.
   ========================================================= */
.action-plan-toolbar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 0.65rem !important;
  align-items: center !important;
}

.action-plan-filters {
  display: grid !important;
  grid-template-columns: minmax(320px, 1.6fr) minmax(210px, 0.85fr) minmax(190px, 0.75fr) auto !important;
  gap: 0.55rem !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  flex-wrap: nowrap !important;
}

.action-plan-filters input,
.action-plan-filters select {
  width: 100% !important;
  min-width: 0 !important;
  height: 2.45rem !important;
}

.action-plan-filters .mini-button,
.action-plan-toolbar > .mini-button {
  min-height: 2.45rem !important;
  white-space: nowrap !important;
}

.auto-filter-submit[hidden] {
  display: none !important;
}

@media (max-width: 1180px) {
  .action-plan-toolbar {
    grid-template-columns: 1fr !important;
  }

  .action-plan-filters {
    grid-template-columns: minmax(260px, 1.2fr) minmax(180px, 0.8fr) minmax(170px, 0.75fr) auto !important;
  }

  .action-plan-toolbar > .mini-button {
    justify-self: start !important;
  }
}

@media (max-width: 860px) {
  .action-plan-filters {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   Policy collaborators — clean agency chips and directory UI
   ========================================================= */
.policy-collab-profile { display: grid; gap: 0.55rem; }
.policy-collab-chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.35rem; }
.policy-collab-chip { display: inline-flex; align-items: center; gap: 0.35rem; border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line)); border-radius: 999px; background: color-mix(in srgb, var(--accent) 8%, var(--panel)); color: var(--heading); font: 850 0.73rem var(--inter, system-ui, sans-serif); padding: 0.34rem 0.58rem; }

/* =========================================================
   Policy/action ownership chips
   ========================================================= */
.agency-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.agency-chip-row.compact {
  max-width: 34rem;
}

.agency-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  max-width: 100%;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel, #ffffff) 90%, var(--accent-soft, rgba(0,115,206,.1)));
  color: var(--heading, #0f172a);
  font-family: var(--inter, system-ui, sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
  padding: 0.32rem 0.52rem;
  white-space: normal;
}

.collab-cell .agency-chip {
  font-size: 0.7rem;
}

.lead-cell strong,
.collab-cell strong {
  line-height: 1.35;
}


/* =========================================================
   Enterprise notifications
   ========================================================= */
.npdp-notification-bell { position: relative; display: inline-flex; }
.npdp-notification-button { position: relative; }
.npdp-notification-count { position: absolute; top: -0.24rem; right: -0.22rem; display: inline-grid; min-width: 1.08rem; height: 1.08rem; place-items: center; padding: 0 0.24rem; border: 2px solid var(--panel); border-radius: 999px; background: var(--bad); color: #fff; font: 850 0.62rem/1 var(--inter); }
.npdp-notification-panel { position: absolute; top: calc(100% + 0.62rem); right: 0; z-index: 2500; width: min(380px, calc(100vw - 1.5rem)); overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: var(--panel); box-shadow: 0 26px 70px rgba(15, 23, 42, 0.20); }
.npdp-notification-head { display: flex; justify-content: space-between; align-items: center; gap: 0.7rem; padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--line); }
.npdp-notification-head strong { color: var(--heading); font: 900 0.9rem/1.2 var(--inter); }
.npdp-notification-head button, .npdp-notification-item button { border: 0; background: transparent; color: var(--accent); cursor: pointer; font: 850 0.7rem/1.2 var(--inter); }
.npdp-notification-list { display: grid; max-height: 390px; overflow-y: auto; }
.npdp-notification-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.55rem; padding: 0.78rem 0.9rem; border-bottom: 1px solid var(--line); background: var(--panel); }
.npdp-notification-item.is-unread { background: color-mix(in srgb, var(--accent) 6%, var(--panel)); }
.npdp-notification-item a { display: grid; gap: 0.18rem; text-decoration: none; }
.npdp-notification-item strong { color: var(--heading); font: 900 0.78rem/1.3 var(--inter); }
.npdp-notification-item span, .npdp-notification-item small, .npdp-notification-empty { color: var(--muted); font: 650 0.72rem/1.4 var(--inter); }
.npdp-notification-empty { margin: 0; padding: 1rem; }
.npdp-notification-all { display: block; padding: 0.72rem 0.9rem; text-align: center; color: var(--accent); font: 900 0.72rem/1.2 var(--inter); text-decoration: none; }
.npdp-notification-page-list { display: grid; gap: 0.7rem; padding: 1rem; }
.npdp-notification-page-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: start; padding: 0.95rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--panel); }
.npdp-notification-page-item.is-unread { border-color: color-mix(in srgb, var(--accent) 26%, var(--line)); background: color-mix(in srgb, var(--accent) 5%, var(--panel)); }
.npdp-notification-page-item h4 { margin: 0.45rem 0 0; color: var(--heading); font: 930 0.95rem/1.25 var(--inter); }
.npdp-notification-page-item p { margin: 0.35rem 0 0; color: var(--body-text); font: 650 0.84rem/1.5 var(--inter); }
.npdp-notification-page-item small { display: block; margin-top: 0.4rem; color: var(--muted); font: 700 0.72rem/1.4 var(--inter); }
.npdp-notification-page-actions { display: flex; gap: 0.45rem; align-items: center; }
@media (max-width: 760px) { .npdp-notification-page-item { grid-template-columns: 1fr; } .npdp-notification-page-actions { justify-content: flex-start; flex-wrap: wrap; } }
