@font-face {
  font-family: Inter;
  font-display: swap;
  src: url("/inter-400.woff2");
}
@font-face {
  font-family: Inter;
  font-display: swap;
  src: url("/inter-500.woff2");
  font-weight: 500;
}
@font-face {
  font-family: Inter;
  font-display: swap;
  src: url("/inter-600.woff2");
  font-weight: 600;
}
@font-face {
  font-family: Inter;
  font-display: swap;
  src: url("/inter-700.woff2");
  font-weight: 700;
}
:root {
  --brand: #2d9cdb;
  --blue: #126a9c;
  --navy: #0b2440;
  --ink: #132e48;
  --muted: #52677c;
  --line: #dae5ed;
  --pale: #eaf5fc;
  --paper: #f5f8fb;
  --white: #fff;
  --sky: #90cef0;
  --warning: #946000;
  --danger: #b13838;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a.btn {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 500;
}
h2 {
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 500;
}
h3 {
  letter-spacing: -0.025em;
  font-size: 21px;
  font-weight: 600;
}
p {
  color: var(--muted);
}
.wrap {
  max-width: 1280px;
  margin: auto;
  padding: 0 48px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  letter-spacing: -0.04em;
  font-weight: 600;
  white-space: nowrap;
}
.brand img {
  width: 39px;
  height: 39px;
}
.brand small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.3;
  color: var(--blue);
}
.topbar {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
nav.links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 12px;
  font-weight: 500;
}
.btn,
button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 12px 20px;
  background: var(--navy);
  color: white;
  border: 1px solid var(--navy);
  border-radius: 5px;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.5;
  min-height: 44px;
}
.btn.secondary,
button.secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}
@media (hover: hover) {
  .btn:hover,
  button.primary:hover {
    background: #163854;
    border-color: #163854;
  }
  .btn.secondary:hover,
  button.secondary:hover {
    background: var(--pale);
    color: var(--ink);
    border-color: #aecde1;
  }
  nav.links > a:not(.btn):hover,
  .text-link:hover,
  .footer a:hover {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .side-nav button:not(.active):hover {
    background: #163854;
    color: white;
  }
}
.text-link {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.19em;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 25px;
}
.eyebrow:before {
  content: "";
  width: 19px;
  height: 2px;
  background: var(--brand);
}
.hero {
  padding: 78px 0 60px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
  gap: 55px;
  align-items: center;
}
.hero h1 {
  line-height: 1.08;
}
.hero h1 span {
  color: var(--blue);
}
.hero .lede {
  font-size: 16px;
  line-height: 1.8;
  max-width: 43ch;
  margin: 26px 0 29px;
}
.actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.micro {
  font-size: 12px;
  margin-top: 17px;
  color: var(--muted);
}
.hero-visual {
  position: relative;
  padding: 22px 0 34px 22px;
  background: linear-gradient(135deg, #daedfa 0%, #eff6fc 75%);
  border-radius: 9px;
}
.hero-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#c7deee60 1px, transparent 1px),
    linear-gradient(90deg, #c7deee60 1px, transparent 1px);
  background-size: 25px 25px;
  border-radius: 9px;
}
.preview {
  position: relative;
  background: #fff;
  border: 1px solid #cfdfeb;
  border-radius: 7px;
  box-shadow: 0 20px 45px #173a5a12;
  overflow: hidden;
}
.preview-top {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 4px;
  background: var(--pale);
  color: var(--blue);
  padding: 4px 8px;
  font-size: 10px;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.pill.warning {
  background: #fff4da;
  color: var(--warning);
}
.pill.danger {
  background: #ffeded;
  color: var(--danger);
}
.preview-body {
  padding: 23px;
}
.preview-label {
  font-size: 10px;
  color: var(--muted);
}
.preview-number {
  font-size: 34px;
  letter-spacing: -0.05em;
  line-height: 1.3;
  margin: 7px 0;
}
.preview-number small {
  font-size: 11px;
  letter-spacing: 0;
  color: var(--muted);
}
.preview-metrics {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.preview-mini {
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
.preview-mini strong {
  display: block;
  font-size: 22px;
  font-weight: 500;
  margin-top: 10px;
}
.graph {
  height: 130px;
  margin: 20px 0 10px;
  display: flex;
  gap: 8px;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
}
.graph i {
  display: block;
  flex: 1;
  background: #90cef0;
  border-radius: 3px 3px 0 0;
}
.graph i:nth-child(3n) {
  background: #2d9cdb;
}
.graph i:nth-child(4n) {
  background: #126a9c;
}
.graph i:nth-child(1) {
  height: 34%;
}
.graph i:nth-child(2) {
  height: 43%;
}
.graph i:nth-child(3) {
  height: 39%;
}
.graph i:nth-child(4) {
  height: 58%;
}
.graph i:nth-child(5) {
  height: 47%;
}
.graph i:nth-child(6) {
  height: 64%;
}
.graph i:nth-child(7) {
  height: 56%;
}
.graph i:nth-child(8) {
  height: 72%;
}
.graph i:nth-child(9) {
  height: 66%;
}
.graph i:nth-child(10) {
  height: 79%;
}
.graph i:nth-child(11) {
  height: 70%;
}
.graph i:nth-child(12) {
  height: 87%;
}
.graph i:nth-child(13) {
  height: 77%;
}
.graph i:nth-child(14) {
  height: 92%;
}
.graph-axis {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
}
.preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 11px;
}
.mini-bar {
  height: 5px;
  width: 85px;
  background: var(--pale);
  border-radius: 6px;
  overflow: hidden;
}
.mini-bar:after {
  content: "";
  display: block;
  width: 74%;
  height: 100%;
  background: var(--brand);
}
.preview-note {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 18px 18px 0 0;
  color: var(--blue);
  font-size: 10px;
}
.signal {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}
.provider-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.provider-strip p {
  font-size: 11px;
  max-width: 230px;
}
.provider-strip strong {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.provider-strip .divider {
  height: 24px;
  width: 1px;
  background: var(--line);
}
.section {
  padding: 90px 0;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 90px;
  align-items: end;
  margin-bottom: 43px;
}
.section-heading p {
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.8;
}
.capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.capability {
  padding: 32px 30px 12px 0;
}
.capability + .capability {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}
.index {
  font-size: 11px;
  color: var(--blue);
  font-family: monospace;
  margin-bottom: 33px;
}
.capability h3 {
  margin-bottom: 16px;
}
.capability p {
  font-size: 14px;
  line-height: 1.8;
}
.feature-list {
  list-style: none;
  margin: 23px 0 0;
  padding: 0;
  font-size: 12px;
  color: var(--ink);
}
.feature-list li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.feature-list li:before {
  content: "↗";
  margin-right: 10px;
  color: var(--blue);
}
.dark-section {
  background: var(--navy);
  color: #fff;
  padding: 70px 0;
}
.dark-section .eyebrow {
  color: var(--sky);
}
.dark-section p {
  color: #b7cbdd;
}
.governance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.governance h2 {
  margin-bottom: 22px;
}
.org-tree {
  border: 1px solid #34516c;
  border-radius: 7px;
  padding: 27px;
}
.tree-root {
  font-size: 15px;
  border-bottom: 1px solid #34516c;
  padding-bottom: 18px;
}
.tree-branch {
  margin-left: 15px;
  padding: 20px 0 0 22px;
  border-left: 1px solid #34516c;
}
.tree-branch b {
  font-weight: 500;
  font-size: 13px;
}
.tree-branch span {
  display: block;
  font-size: 10px;
  color: #9dbcd3;
  margin-top: 6px;
}
.org-meta {
  display: flex;
  gap: 10px;
  margin-top: 23px;
}
.org-meta .pill {
  color: #b8ddf5;
  background: #163854;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 48px;
}
.principles h3 {
  font-size: 17px;
  margin-bottom: 12px;
}
.principles p {
  font-size: 14px;
  line-height: 1.8;
}
.closing {
  padding: 65px 0;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.closing h2 {
  font-size: 35px;
  margin-bottom: 16px;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
.footer a {
  margin-left: 20px;
}
.swatches {
  display: flex;
  gap: 6px;
  margin-top: 22px;
}
.swatches i {
  width: 35px;
  height: 8px;
  border-radius: 2px;
  background: var(--navy);
}
.swatches i:nth-child(2) {
  background: var(--blue);
}
.swatches i:nth-child(3) {
  background: var(--brand);
}
.swatches i:nth-child(4) {
  background: var(--sky);
}
.swatches i:nth-child(5) {
  background: var(--pale);
}
/* Enterprise console */
.app {
  display: grid;
  grid-template-columns: 226px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--navy);
  color: #d6e4f1;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  width: 226px;
}
.sidebar .brand {
  font-size: 17px;
  color: white;
  margin: 0 5px 34px;
}
.sidebar .brand small {
  color: var(--sky);
}
.sidebar .brand img {
  width: 35px;
  height: 35px;
}
.workspace-name {
  font-size: 11px;
  padding: 13px;
  border: 1px solid #35506a;
  border-radius: 5px;
  margin-bottom: 27px;
  color: #e6eff7;
}
.nav-label {
  font-size: 9px;
  color: #8aa8c1;
  letter-spacing: 0.16em;
  margin: 0 13px 10px;
}
.side-nav {
  display: grid;
  gap: 4px;
}
.side-nav button {
  display: flex;
  gap: 13px;
  align-items: center;
  border: 0;
  background: none;
  color: #b7cbdd;
  text-align: left;
  padding: 11px 13px;
  border-radius: 5px;
  font-size: 12px;
}
.side-nav button.active {
  background: #1b4161;
  color: white;
}
.side-nav button.active:before {
  background: var(--brand);
}
.side-nav button:before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid #81a6c3;
  border-radius: 2px;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #34516c;
  padding: 22px 10px 0;
  font-size: 11px;
}
.sidebar-bottom p {
  color: #8aa8c1;
  font-size: 10px;
}
.sidebar-bottom button {
  border: 0;
  background: none;
  color: #b7cbdd;
  padding: 12px 0 0;
  font-size: 10px;
}
.app-content {
  grid-column: 2;
  min-width: 0;
}
.app-header {
  height: 75px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
}
.app-header .crumb {
  color: var(--muted);
}
.app-header .crumb span {
  margin: 0 12px;
  color: #8ca1b4;
}
.header-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}
input,
select {
  background: #fff;
  color: var(--ink);
  border: 1px solid #c3d3e0;
  border-radius: 4px;
  padding: 10px 12px;
  min-width: 0;
}
input[type="month"] {
  font-size: 11px;
  padding: 7px 9px;
}
.main-content {
  padding: 34px 37px 45px;
  max-width: 1600px;
  margin: auto;
}
.sample-banner {
  background: var(--pale);
  border: 1px solid #cae3f4;
  border-radius: 5px;
  padding: 9px 14px;
  font-size: 11px;
  color: var(--blue);
  margin-bottom: 26px;
}
.page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.page-title h1 {
  font-size: 31px;
  letter-spacing: -0.045em;
}
.page-title p {
  font-size: 12px;
  margin-top: 8px;
}
.page-title button {
  white-space: nowrap;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  margin-bottom: 26px;
}
.kpi {
  padding: 23px 22px;
  min-width: 0;
}
.kpi + .kpi {
  border-left: 1px solid var(--line);
}
.kpi-label {
  font-size: 11px;
  color: var(--muted);
}
.kpi-value {
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  letter-spacing: -0.05em;
  margin: 11px 0 5px;
  font-weight: 500;
  line-height: 1.2;
}
.kpi-note {
  font-size: 11px;
  color: var(--muted);
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 24px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 20px 23px;
  border-bottom: 1px solid var(--line);
}
.panel-head h2 {
  font-size: 14px;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.panel-head p {
  font-size: 10px;
  margin-top: 4px;
}
.panel-head a,
.panel-head button {
  color: var(--blue);
  font-size: 11px;
  background: none;
  border: 0;
}
.panel-body {
  padding: 22px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}
.bars {
  display: grid;
  gap: 25px;
}
.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 9px;
}
.bar-label span:last-child {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
progress {
  width: 100%;
  height: 9px;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #edf3f8;
  display: block;
}
progress::-webkit-progress-bar {
  background: #edf3f8;
  border-radius: 4px;
}
progress::-webkit-progress-value {
  background: var(--brand);
  border-radius: 4px;
}
progress::-moz-progress-bar {
  background: var(--brand);
  border-radius: 4px;
}
.budget-overview {
  display: flex;
  align-items: center;
  gap: 24px;
}
.budget-ring {
  width: 125px;
  height: 125px;
  flex: none;
  position: relative;
  display: grid;
  place-items: center;
}
.budget-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.budget-ring strong {
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.05em;
}
.budget-ring circle {
  fill: none;
  stroke: #eaf2f8;
  stroke-width: 8;
}
.budget-ring circle:last-child {
  stroke: var(--brand);
  stroke-linecap: round;
}
.budget-details {
  font-size: 11px;
  color: var(--muted);
}
.budget-details strong {
  display: block;
  font-size: 17px;
  color: var(--ink);
  font-weight: 500;
}
.budget-details p {
  margin: 8px 0;
}
.budget-footnote {
  font-size: 10px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 15px;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}
th {
  text-align: left;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 500;
  background: #f8fafc;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
}
td {
  font-size: 11px;
  padding: 16px 22px;
  border-bottom: 1px solid #edf2f6;
}
tr:last-child td {
  border: 0;
}
td small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
td.number {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
th.number {
  text-align: right;
}
td button {
  font-size: 10px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 4px;
  padding: 5px 9px;
  margin-right: 5px;
}
.avatar {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--pale);
  color: var(--blue);
  border-radius: 6px;
  margin-right: 9px;
  vertical-align: middle;
  font-size: 9px;
  font-weight: 600;
}
.person {
  display: inline-block;
  vertical-align: middle;
}
.info-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.empty {
  text-align: center;
  padding: 50px 25px;
  color: var(--muted);
  font-size: 13px;
}
.empty h3 {
  color: var(--ink);
  margin-bottom: 13px;
}
.plugin-release h2 .pill {
  margin-left: 8px;
  vertical-align: middle;
}
.plugin-release .panel-body > p:not(.micro),
.plugin-release ol {
  font-size: 12px;
  max-width: 110ch;
}
.plugin-release ol {
  margin: 0;
  padding-left: 18px;
  line-height: 1.9;
  color: var(--muted);
}
.plugin-release code {
  font-size: 11px;
  background: var(--pale);
  border-radius: 3px;
  padding: 1px 5px;
  overflow-wrap: anywhere;
}
.plugin-release td {
  padding-top: 10px;
  padding-bottom: 10px;
}
.plugin-release td code {
  font-size: 10px;
}
.plugin-release td a {
  color: var(--blue);
  text-decoration: underline;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}
.toolbar input {
  flex: 1;
  font-size: 12px;
}
.tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.tabs button {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  padding: 8px 13px;
  font-size: 11px;
}
.tabs button.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.unit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.unit-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
}
.unit-card .index {
  margin-bottom: 22px;
}
.unit-card h3 {
  font-size: 17px;
  letter-spacing: -0.03em;
  margin-bottom: 11px;
}
.unit-card p {
  font-size: 11px;
}
.unit-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 16px;
  font-size: 11px;
}
.unit-stats b {
  font-size: 16px;
  font-weight: 500;
  display: block;
}
.unit-card button {
  margin-top: 17px;
  border: 0;
  background: none;
  padding: 0;
  font-size: 11px;
  color: var(--blue);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0;
  max-width: 540px;
  width: calc(100% - 32px);
  color: var(--ink);
  box-shadow: 0 30px 100px #081e4060;
}
dialog::backdrop {
  background: #071a35aa;
  backdrop-filter: blur(3px);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 26px;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  font-size: 20px;
}
.modal-head button {
  background: none;
  border: 0;
  font-size: 22px;
  color: var(--muted);
}
.modal-body {
  padding: 24px 26px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.fields label {
  font-size: 11px;
  color: var(--muted);
  display: grid;
  gap: 7px;
}
.fields .wide {
  grid-column: 1/-1;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.error {
  font-size: 12px;
  color: var(--danger);
  padding-top: 12px;
}
.key-output {
  display: block;
  word-break: break-all;
  padding: 17px;
  background: var(--pale);
  border: 1px solid var(--line);
  margin: 18px 0;
  font-size: 12px;
  user-select: all;
}
.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--paper);
  padding: 30px;
}
.login-card {
  width: min(420px, 100%);
  min-width: 0;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.login-card .brand {
  margin-bottom: 32px;
}
.login-card h1 {
  font-size: 29px;
  margin-bottom: 16px;
}
.login-card p {
  font-size: 12px;
  margin-bottom: 21px;
}
.login-card input {
  width: 100%;
  margin: 8px 0 18px;
}
.login-card label {
  font-size: 11px;
}
.login-card .primary {
  width: 100%;
}
.login-card .secondary {
  width: 100%;
  padding: 11px;
  border-radius: 5px;
  margin-top: 13px;
  font-size: 12px;
}
.login-card label.review {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0 16px;
  font-size: 13px;
}
.login-card label.review input {
  width: auto;
  margin: 2px 0 0;
  flex: none;
}
.pair-card h2 {
  font-size: 16px;
  margin: 8px 0;
}
.pair-card code {
  overflow-wrap: anywhere;
}
.pair-card #pluginList {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.pair-card #pluginList li {
  padding: 10px 0;
  border-top: 1px solid var(--line, #e3e8ef);
  font-size: 13px;
}
.pair-card #pluginList .secondary {
  margin-top: 8px;
}
.login-card .micro {
  margin: 20px 0 0;
}
.toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  max-width: 420px;
  background: var(--navy);
  color: white;
  border-radius: 6px;
  padding: 15px 22px;
  font-size: 12px;
  z-index: 10;
  box-shadow: 0 10px 30px #0b244030;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.settings-grid p {
  font-size: 12px;
  margin-bottom: 18px;
}
.role-list {
  display: grid;
  gap: 16px;
  font-size: 12px;
}
.role-list p {
  font-size: 11px;
  margin: 4px 0 0;
}
.palette {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 22px 0;
}
.palette div {
  font-size: 10px;
}
.palette i {
  display: block;
  height: 55px;
  border-radius: 4px;
  margin-bottom: 8px;
  background: var(--navy);
}
.palette div:nth-child(2) i {
  background: var(--blue);
}
.palette div:nth-child(3) i {
  background: var(--brand);
}
.palette div:nth-child(4) i {
  background: var(--sky);
}
.palette div:nth-child(5) i {
  background: var(--pale);
}
.hidden {
  display: none !important;
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 85px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    padding: 0 30px;
  }
  .hero {
    gap: 30px;
  }
  .hero h1 {
    font-size: clamp(42px, 5vw, 55px);
  }
  .app {
    grid-template-columns: 190px 1fr;
  }
  .sidebar {
    width: 190px;
    padding: 25px 12px;
  }
  .sidebar .brand {
    font-size: 14px;
  }
  .main-content {
    padding: 27px 24px;
  }
  .app-header {
    padding: 0 24px;
  }
  .kpi {
    padding: 20px 16px;
  }
  .kpi-value {
    font-size: 25px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .unit-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-heading {
    gap: 40px;
  }
  .governance {
    gap: 40px;
  }
}
@media (max-width: 760px) {
  .login-screen {
    padding: 20px;
    grid-template-columns: minmax(0, 1fr);
  }
  .login-card {
    padding: 24px;
  }
  .wrap {
    padding: 0 22px;
  }
  .topbar {
    height: 78px;
  }
  nav.links > a:not(.btn) {
    display: none;
  }
  nav.links {
    gap: 10px;
  }
  .brand {
    font-size: 15px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 0;
    gap: 40px;
  }
  .hero h1 {
    font-size: clamp(38px, 10vw, 56px);
  }
  .hero .lede {
    font-size: 15px;
  }
  .hero-visual {
    max-width: 500px;
    padding: 16px 0 20px 16px;
  }
  .preview-body {
    padding: 18px 16px;
  }
  .preview-metrics {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 12px;
  }
  .preview-number {
    font-size: clamp(26px, 7vw, 34px);
  }
  .preview-mini {
    padding-left: 14px;
  }
  .preview-row {
    gap: 10px;
  }
  .mini-bar {
    flex: 0 1 65px;
    min-width: 20px;
  }
  .provider-strip {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
  }
  .provider-strip p {
    max-width: 100%;
    width: 100%;
  }
  .provider-strip strong {
    font-size: 13px;
  }
  .section {
    padding: 55px 0;
  }
  .section-heading,
  .governance {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .capabilities {
    grid-template-columns: 1fr;
  }
  .capability + .capability {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }
  .capability {
    padding: 24px 0;
  }
  .capability .index {
    margin-bottom: 17px;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .closing {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .footer > div {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
  }
  .footer a {
    margin-left: 0;
  }
  .footer span {
    max-width: 100%;
  }
  .app {
    display: block;
  }
  .sidebar {
    position: static;
    width: auto;
    padding: 15px;
  }
  .sidebar .brand {
    margin: 0 0 16px;
  }
  .workspace-name,
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  .side-nav {
    display: flex;
    overflow: auto;
    gap: 6px;
  }
  .side-nav button {
    padding: 8px 12px;
    white-space: nowrap;
    font-size: 11px;
  }
  .side-nav button:before {
    display: none;
  }
  .app-header {
    height: auto;
    min-height: 65px;
    padding: 12px 18px;
    flex-wrap: wrap;
  }
  .main-content {
    padding: 24px 16px;
  }
  .page-title h1 {
    font-size: 27px;
  }
  .page-title {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .page-title .primary {
    padding: 10px 12px;
    font-size: 10px;
  }
  .kpis {
    grid-template-columns: 1fr 1fr;
  }
  .kpi:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .kpi:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .kpi-value {
    font-size: 27px;
  }
  .unit-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .panel-head {
    padding: 18px;
  }
  .panel-body {
    padding: 18px;
  }
  .header-controls {
    gap: 10px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .fields .wide {
    grid-column: auto;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .toast {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }
  .page-title p {
    max-width: 220px;
  }
  .app-header .crumb {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero,
  .main-content {
    animation: appear 0.4s ease-out;
  }
  @keyframes appear {
    from {
      opacity: 0.4;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

.login-card .sso-signin { margin-bottom: 24px; }

/* Public data governance statement. */
.governance-document { max-width: 800px; margin: 64px auto 80px; }
.governance-document h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.12; margin: 18px 0 24px; }
.governance-document .document-lede { font-size: 20px; line-height: 1.6; }
.governance-document p, .governance-document li, .governance-document dd { font-size: 16px; line-height: 1.75; color: var(--muted); }
.governance-document p { margin: 0 0 18px; }
.governance-document .document-meta { font-size: 13px; margin: 24px 0; }
.governance-document .eyebrow { font-size: 12px; color: var(--blue); }
.governance-document section { margin-top: 44px; scroll-margin-top: 24px; }
.governance-document h2 { font-size: 26px; line-height: 1.3; margin-bottom: 20px; }
.governance-document strong, .governance-document dt { color: var(--ink); font-weight: 600; }
.governance-document dt { font-size: 17px; margin-top: 22px; }
.governance-document dd { margin: 6px 0 22px; }
.governance-document ul { padding-left: 24px; }
.governance-document li { margin-bottom: 12px; }
.governance-document a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.document-notice { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--pale); margin: 30px 0; }
.document-notice p { margin: 10px 0 0; }
.document-contents { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 20px 0; border-block: 1px solid var(--line); }
.document-contents a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
.governance-document code { font-size: 14px; overflow-wrap: anywhere; }
@media (max-width: 760px) { .governance-document { margin: 38px auto 50px; } .document-notice { padding: 20px; } }

/* Metrology charts (metrology-charts.js): SVG marks are styled by class only; the CSP allows no inline styles. */
.metro-body { display: grid; gap: 22px; }
.metro-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.metro-figure { background: white; padding: 14px 16px; min-width: 0; }
.metro-figure span { display: block; font-size: 10px; color: var(--muted); }
.metro-figure strong { display: block; font-size: 18px; font-weight: 500; letter-spacing: -0.03em; margin: 6px 0 3px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.metro-h { font-size: 12px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.metro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.metro-chart { margin: 0; }
.metro-chart svg { width: 100%; height: auto; display: block; overflow: visible; font-family: Inter, system-ui, sans-serif; }
.metro-rule { stroke: #edf2f6; stroke-width: 1; }
.metro-base { stroke: var(--line); stroke-width: 1; }
.metro-axis { font-size: 10px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.metro-label { font-size: 11px; fill: var(--ink); }
.metro-value { font-size: 11px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.metro-hit { fill: transparent; }
.metro-track { fill: #edf3f8; }
.metro-tokens { fill: var(--brand); }
.metro-cost { fill: var(--blue); }
.metro-cat1 { fill: var(--blue); }
.metro-cat2 { fill: var(--navy); }
.metro-cat3 { fill: var(--sky); }
.metro-cat4 { fill: var(--brand); }
.metro-mark { outline: none; }
.metro-mark:hover .metro-col, .metro-mark:focus .metro-col, .metro-mark:hover .metro-bar, .metro-mark:focus .metro-bar { fill: var(--navy); }
.metro-mark:focus-visible .metro-hit { fill: #2d9cdb14; stroke: var(--brand); stroke-width: 2; }
.metro-table summary { font-size: 10px; color: var(--blue); cursor: pointer; margin-top: 8px; }
.metro-table table { margin-top: 8px; }
.metro-foot { font-size: 10px; color: var(--muted); margin: -2px 0 8px; }
.metro-empty { padding: 28px 16px; }
.metro-section { display: grid; gap: 6px; }
.metro-title { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.metro-lead { font-size: 15px; font-weight: 500; letter-spacing: -0.02em; margin: 0; }
.metro-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 4px 0; padding: 0; }
.metro-chip { border-radius: 4px; background: var(--pale); color: var(--blue); padding: 4px 8px; font-size: 11px; }
.metro-chip b { font-weight: 600; }
.metro-tip { position: fixed; z-index: 20; pointer-events: none; background: var(--navy); color: white; border-radius: 5px; padding: 8px 11px; font-size: 11px; max-width: 240px; box-shadow: 0 8px 24px #0b244030; }
.metro-tip strong { display: block; font-weight: 600; margin-bottom: 2px; }
.metro-tip span { font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .metro-grid { grid-template-columns: 1fr; } }

/* Data health (metrology S8) */
.pill.health-stale {
  background: #fff4da;
  color: var(--warning);
}
.pill.health-never {
  background: #ffeded;
  color: var(--danger);
}
.kpi.health-warn .kpi-value {
  color: var(--warning);
}
.health-narrow {
  max-width: 640px;
}
.health-sub {
  color: var(--muted);
  font-size: 11px;
}
#data-health > .panel,
#data-health > .kpis {
  margin-bottom: 20px;
}
@media (min-width: 1100px) {
  #data-health .kpis {
    grid-template-columns: repeat(5, 1fr);
  }
}
/* Level pages (metrology S2): breadcrumbs from the organization down to the unit shown. */
.level-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--muted);
}
.level-crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: #8ca1b4;
}
.level-crumbs a,
a.level-link {
  color: var(--blue);
  text-decoration: none;
}
.level-crumbs a:hover,
.level-crumbs a:focus-visible,
a.level-link:hover,
a.level-link:focus-visible {
  text-decoration: underline;
}
.level-crumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}
/* Plugin-estimated savings waterfall (metrology S4). */
.metro-saving {
  fill: var(--sky);
}
.metro-saving-total {
  fill: var(--blue);
}
.metro-strong {
  font-weight: 600;
}

/* Per-work distributions and ridgelines (metrology S5): levers off in navy outline, levers on in brand blue. */
.metro-area { stroke-width: 1.5; }
.metro-area.metro-arm-off { fill: #0b244018; stroke: var(--navy); }
.metro-area.metro-arm-on { fill: #2d9cdb33; stroke: var(--brand); }
.metro-area.metro-arm-none { fill: #52677c14; stroke: #9aaabb; stroke-dasharray: 3 3; }
.metro-swatch.metro-arm-off { fill: var(--navy); }
.metro-swatch.metro-arm-on { fill: var(--brand); }
.metro-median { stroke-width: 1; stroke-dasharray: 2 3; }
.metro-median.metro-arm-off { stroke: var(--navy); }
.metro-median.metro-arm-on { stroke: var(--blue); }
.metro-fit { fill: none; stroke-width: 1.5; stroke-dasharray: 6 4; }
.metro-fit.metro-arm-off { stroke: var(--navy); }
.metro-fit.metro-arm-on { stroke: var(--blue); }
.metro-mark:hover .metro-area, .metro-mark:focus .metro-area { stroke-width: 2.5; }
.metro-toggles { display: flex; gap: 6px; margin: 0 0 8px; }
.metro-toggle { font: inherit; font-size: 11px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--muted); cursor: pointer; }
.metro-toggle[aria-pressed="true"] { background: var(--pale); border-color: var(--brand); color: var(--navy); }

/* Matched comparison: certainty (bootstrap draws) and forest (metrology S6). */
.metro-ci { fill: #2d9cdb1f; }
.metro-draws { fill: var(--sky); }
.metro-mark:hover .metro-draws, .metro-mark:focus .metro-draws { fill: var(--blue); }
.metro-point { stroke: var(--navy); stroke-width: 2; }
.metro-zero { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.metro-whisker { stroke: var(--blue); stroke-width: 2; stroke-linecap: round; }
.metro-dot { fill: var(--navy); stroke: white; stroke-width: 1.5; }
.metro-mark:hover .metro-dot, .metro-mark:focus .metro-dot { fill: var(--brand); }
.metro-pending { font-style: italic; }

/* Budget burn (metrology S7): cumulative usage against the budget line and its policy thresholds. */
.metro-sub { font-size: 11px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.metro-burn .burn-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.metro-burn-area { opacity: 0.14; }
.metro-burn-line { fill: none; stroke-width: 2; stroke-linejoin: round; }
.metro-tokens-line { stroke: var(--brand); }
.metro-cost-line { stroke: var(--blue); }
.metro-burn-dot { fill: var(--navy); }
.metro-mark:hover .metro-burn-dot, .metro-mark:focus .metro-burn-dot { fill: var(--brand); }
.metro-threshold { stroke-width: 1.5; stroke-dasharray: 5 4; }
.metro-th-watch { stroke: var(--warning); }
.metro-th-exceeded { stroke: var(--danger); }
.metro-th-label { font-size: 10px; fill: var(--muted); }

/* Benchmark evidence (metrology S15): EDOS's published benchmark. Baseline in navy, the plugin in brand blue, as the
   arms are everywhere else; the heatmap is one hue, darker where fewer runs passed. */
.metro-arm-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.metro-arm-line.metro-arm-off, .metro-link { stroke: var(--navy); }
.metro-arm-line.metro-arm-on { stroke: var(--brand); }
.metro-spread.metro-arm-off { fill: #0b244016; }
.metro-spread.metro-arm-on { fill: #2d9cdb2e; }
.metro-arm-end, .metro-cross-dot { stroke: white; stroke-width: 2; }
.metro-arm-end.metro-arm-off, .metro-cross-dot.metro-arm-off, .metro-bar.metro-arm-off { fill: var(--navy); }
.metro-arm-end.metro-arm-on, .metro-cross-dot.metro-arm-on, .metro-bar.metro-arm-on { fill: var(--brand); }
.metro-mark:hover .metro-bar.metro-arm-on, .metro-mark:focus .metro-bar.metro-arm-on { fill: var(--blue); }
.metro-cross { stroke: var(--muted); stroke-width: 1; }
.metro-cross, .metro-cross-dot, .metro-cell-ring { opacity: 0; }
.metro-mark:hover .metro-cross, .metro-mark:focus .metro-cross, .metro-mark:hover .metro-cross-dot, .metro-mark:focus .metro-cross-dot, .metro-mark:hover .metro-cell-ring, .metro-mark:focus .metro-cell-ring { opacity: 1; }
.metro-link { stroke-width: 1.5; opacity: 0.45; }
.metro-reach { fill: transparent; stroke: transparent; stroke-width: 14; }
.metro-ring { fill: white; stroke: var(--navy); stroke-width: 2; }
.metro-disc { fill: var(--brand); stroke: white; stroke-width: 1.5; }
.metro-mark:hover .metro-link, .metro-mark:focus .metro-link { opacity: 1; stroke-width: 2.5; }
.metro-mark:hover .metro-disc, .metro-mark:focus .metro-disc { fill: var(--blue); }
.metro-mark:focus-visible .metro-ring, .metro-mark:focus-visible .metro-disc { stroke: var(--navy); stroke-width: 3; }
.metro-tiny { font-size: 8px; }
.metro-outlined { paint-order: stroke; stroke: white; stroke-width: 3px; stroke-linejoin: round; }
.metro-heat0 { fill: #edf3f8; }
.metro-heat1 { fill: #7fbbe4; }
.metro-heat2 { fill: #3b93cf; }
.metro-heat3 { fill: #17689f; }
.metro-heat4 { fill: var(--navy); }
.metro-heat-none { fill: white; stroke: #b9c7d4; stroke-width: 1; stroke-dasharray: 2 2; }
.metro-cell-ring { fill: none; stroke: var(--navy); stroke-width: 1.5; }
.metro-scroll { overflow-x: auto; }
.metro-scroll svg { min-width: 760px; }
#benchmark-evidence > .panel, #benchmark-evidence > .kpis, #benchmark-evidence > .bench-source { margin-bottom: 20px; }
.bench-banner { margin: 0 0 16px; }
.bench-source { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.bench-source > div { background: white; padding: 14px 16px; min-width: 0; }
.bench-source span, .bench-source small { display: block; font-size: 10px; color: var(--muted); }
.bench-source strong, .bench-source a { display: block; font-size: 14px; font-weight: 500; margin: 6px 0 3px; }
.bench-source a { color: var(--blue); text-decoration: none; }
.bench-source a:hover, .bench-source a:focus-visible { text-decoration: underline; }
.bench-source code, .bench-identity code { font: 11px ui-monospace, "SF Mono", Menlo, monospace; overflow-wrap: anywhere; color: var(--ink); }
.bench-source code { display: block; margin-top: 8px; }
.bench-panel .panel-head .pill { flex: none; }
.bench-foot { margin: 10px 0 0; max-width: 92ch; line-height: 1.5; }
.bench-method { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px 32px; }
.bench-method h3, .bench-identity h3 { font-size: 12px; font-weight: 600; margin: 0 0 4px; }
.bench-method p, .bench-identity p, .bench-identity dl { font-size: 12px; line-height: 1.55; color: var(--muted); margin: 0; }
.bench-identity { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.bench-identity dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin-top: 10px; }
.bench-identity dd { margin: 0; }
.bench-mismatch { color: var(--danger); }
.bench-caption { caption-side: top; text-align: left; font-size: 12px; font-weight: 600; padding: 12px 16px 6px; }
@media (min-width: 1100px) { #benchmark-evidence .kpis { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .bench-source { grid-template-columns: 1fr; } }
