* {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}
body {
  margin: 0;
  background: #0c1118;
  color: #eff2f4;
  font:
    16px/1.5 "Inter",
    "Segoe UI",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  --line: #29323c;
  --muted: #a1aab5;
  --mint: #96d8c0;
  --surf: #111821;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--mint);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.68;
}
button {
  border: 0;
  background: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button,
a {
  transition:
    background 0.17s,
    color 0.17s,
    border-color 0.17s;
}
button:hover,
a:hover {
  color: var(--mint);
}
.wrap {
  width: min(1440px, 91.5%);
  margin: auto;
}
.top {
  background: #0d131a;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}
.mast {
  display: flex;
  align-items: center;
  height: 73px;
  gap: 7%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: 1.2px;
  line-height: 1;
}
.brand svg {
  width: 33px;
  height: 33px;
  color: var(--mint);
}
nav {
  display: flex;
  gap: 32px;
  height: 100%;
}
nav a {
  display: flex;
  align-items: center;
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
nav a.active {
  color: #e6f0ee;
}
nav a.active:after {
  content: "";
  height: 2px;
  background: var(--mint);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.cabinet,
.secondary,
.primary,
.quiet,
.iconbutton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 5px;
  font-weight: 550;
  font-size: 14px;
  line-height: 1.2;
}
.cabinet,
.secondary,
.iconbutton {
  border: 1px solid #3b4651;
  background: #151c25;
}
.cabinet {
  margin-left: auto;
  padding: 10px 16px;
  white-space: nowrap;
}
.cabinet:hover,
.secondary:hover,
.iconbutton:hover {
  background: #1b2830;
  border-color: #759488;
}
.ico {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
i[data-i] {
  display: inline-flex;
  font-style: normal;
}
.mobmenu {
  display: none;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0b131b;
  border-bottom: 1px solid var(--line);
}
.hero-art {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 80%;
  background: url("/architecture.jpg") center right / auto 103% no-repeat;
}
.hero:after {
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #0b131b 8%,
    #0b131bfa 29%,
    #0b131bad 42%,
    transparent 61%
  );
}
.hero-inner {
  padding-block: 42px 45px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font:
    11px/1.4 "IBM Plex Mono",
    Consolas,
    monospace;
  letter-spacing: 1.65px;
  text-transform: uppercase;
  color: var(--mint);
}
.eyebrow:before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
}
.hero h1 {
  font-size: clamp(43px, 4.15vw, 66px);
  font-weight: 560;
  letter-spacing: -0.049em;
  line-height: 1.05;
  margin: 18px 0 14px;
}
.hero p {
  max-width: 525px;
  font-size: 16px;
  color: #b6c0ca;
  line-height: 1.6;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 23px;
}
.primary,
.secondary {
  min-height: 43px;
  padding: 11px 18px;
}
.primary {
  background: var(--mint);
  border: 1px solid var(--mint);
  color: #102b23;
}
.primary:hover {
  background: #b4ead7;
  color: #102b23;
}
.secondary {
  color: #e5e9eb;
  background: #172029bd;
}
.hero .ico {
  width: 16px;
  height: 16px;
}
.hero-inner > * {
  animation: enter 0.65s ease-out both;
}
.hero-inner .actions {
  animation-delay: 0.1s;
}
@keyframes enter {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.assurance {
  background: #111821;
  border-bottom: 1px solid var(--line);
}
.assurance .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 19px 0;
}
.assurance a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 9%;
  border-left: 1px solid var(--line);
}
.assurance a:first-child {
  padding-left: 0;
  border: 0;
}
.assurance .ico {
  height: 25px;
  width: 25px;
  color: var(--mint);
  stroke-width: 1.45;
}
.assurance b {
  display: block;
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 550;
}
.assurance small {
  color: var(--muted);
  font-size: 13px;
}
.dashboard {
  padding-block: 32px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 26%);
  gap: 25px;
  align-items: start;
}
.sec-head,
.heading-row,
.hrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sec-head {
  margin-bottom: 20px;
}
.sec-head h2,
.side h2,
.page h1 {
  font-weight: 550;
  letter-spacing: -0.045em;
}
.sec-head h2 {
  font-size: 29px;
  line-height: 1.2;
}
.count {
  font:
    13px/1.2 Consolas,
    monospace;
  color: #aab6bf;
  background: #1c252e;
  border: 1px solid #2a3540;
  border-radius: 4px;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 7px;
  margin-left: 5px;
}
.controls {
  display: flex;
  gap: 7px;
}
.iconbutton {
  width: 34px;
  height: 34px;
  color: #bec6cf;
}
.iconbutton.on {
  background: #1b322e;
  color: var(--mint);
  border-color: #496b60;
}
.tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.tab {
  padding: 7px 12px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 5px;
  color: #a5afbb;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}
.tab.active {
  background: #1a302c;
  border-color: #34594d;
  color: #ace4ce;
}
.tab:hover {
  background: #162129;
}
.tablebox {
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: #111821;
}
.projects {
  width: 100%;
  border-collapse: collapse;
}
.projects th {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: left;
  background: #161e27;
  color: #99a5b1;
}
.projects th,
.projects td {
  padding: 11px 10px;
}
.projects th:first-child,
.projects td:first-child {
  padding-left: 18px;
}
.projects td {
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: #cbd2da;
}
.projects tr.report:hover {
  background: #19242d;
}
.projects tr.report {
  cursor: pointer;
}
.project-name {
  display: flex;
  align-items: center;
  gap: 11px;
}
.project-name b {
  font-size: 16px;
  color: #ecf0f3;
  font-weight: 580;
  white-space: nowrap;
}
.project-name small,
.dim {
  display: block;
  color: #95a1ae;
  font-size: 12px;
}
.logo {
  width: 35px;
  height: 35px;
  flex: none;
  border: 1px solid #3a444d;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: #1c252f;
}
.logo svg {
  width: 24px;
  height: 24px;
}
.logo.zest {
  color: #b8d7bd;
  background: #23332d;
}
.logo.ondo {
  color: #eff9f5;
  background: #192b38;
}
.logo.layerzero {
  background: #e7e9ed;
  color: #11151a;
}
.logo.zksync,
.logo.ethereum {
  background: #272a41;
  color: #c6c8ef;
}
.logo.starknet {
  background: #20283d;
  color: #d9e0f1;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  padding: 3px 8px;
  border: 1px solid #353f49;
  border-radius: 4px;
  color: #acb6c1;
  background: #1b232c;
}
.badge.live {
  color: #9edcc1;
  background: #1a3029;
  border-color: #304c40;
}
.badge.upcoming {
  color: #b7cde0;
  background: #1f2c39;
  border-color: #344857;
}
.badge:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.risk {
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.bars {
  display: inline-flex;
  align-items: end;
  gap: 2px;
  height: 12px;
}
.bars i {
  width: 3px;
  background: #47535f;
  border-radius: 1px;
}
.bars i:nth-child(1) {
  height: 4px;
}
.bars i:nth-child(2) {
  height: 8px;
}
.bars i:nth-child(3) {
  height: 12px;
}
.bars i.lit {
  background: #afbbbf;
}
.rowend {
  color: #8996a1 !important;
  text-align: right;
}
.rowend .ico {
  width: 14px;
}
.side {
  background: #141d25;
  border: 1px solid #32413f;
  border-radius: 8px;
  padding: 23px;
  position: relative;
  overflow: hidden;
}
.side:before {
  content: "";
  position: absolute;
  right: -30px;
  top: -80px;
  width: 205px;
  height: 200px;
  pointer-events: none;
  transform: rotate(-32deg);
  background: repeating-linear-gradient(
    0deg,
    transparent 0 9px,
    #4e74621c 10px 11px
  );
  mask-image: linear-gradient(90deg, transparent, #000);
}
.side-emblem {
  width: 44px;
  height: 44px;
  background: #1d332e;
  color: var(--mint);
  border: 1px solid #375047;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.side-emblem .ico {
  width: 23px;
  height: 23px;
}
.side h2 {
  font-size: 23px;
  line-height: 1.2;
}
.side p {
  color: #a6b1bc;
  font-size: 14px;
  line-height: 1.55;
  margin: 10px 0 19px;
}
.side .secondary {
  width: 100%;
  font-size: 13px;
  padding-inline: 7px;
}
.side-extra {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #a4b6b3;
  font-size: 12px;
}
.side-extra .ico {
  width: 15px;
  height: 15px;
  color: var(--mint);
}
.filters {
  display: flex;
  gap: 10px;
  margin: 0 0 14px;
  flex-wrap: wrap;
}
.filters input {
  flex: 1;
}
.filters input,
.filters select,
.field input,
.field select,
.field textarea {
  padding: 9px 12px;
  border-radius: 4px;
  border: 1px solid #3b4650;
  background: #0e151d;
  color: inherit;
  min-width: 0;
}
.filters select,
.filters input {
  font-size: 14px;
}
.empty {
  color: var(--muted);
  padding: 24px;
  text-align: center;
}
.all-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  font-size: 13px;
  color: var(--mint);
  border-top: 1px solid var(--line);
  background: #111b22;
  width: 100%;
}
.all-link:hover {
  background: #1b292e;
}
.page {
  padding-block: 40px 64px;
  min-height: 65vh;
}
.page.narrow {
  max-width: 940px;
}
.back {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.back .ico {
  width: 14px;
  transform: rotate(180deg);
}
.page h1 {
  font-size: clamp(33px, 3.5vw, 52px);
  line-height: 1.1;
}
.lead {
  color: #b1bbc5;
  line-height: 1.65;
  max-width: 740px;
  margin: 14px 0 28px;
}
.pane,
.paper {
  background: #121a23;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 24px;
}
.paper {
  margin: 20px 0;
}
.paper h2,
.pane h2 {
  font-weight: 550;
  letter-spacing: -0.025em;
  font-size: 21px;
  margin: 0 0 10px;
}
.paper p,
.pane p {
  color: #b3bdc6;
}
.paper p + p {
  margin-top: 12px;
}
.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}
.details div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.details dt {
  font-size: 13px;
  color: #9daab5;
  margin-bottom: 4px;
}
.details dd {
  margin: 0;
}
.textlink {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sectionlist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
  margin: 24px 0;
}
.sectionlist .side-emblem {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
}
.entry {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.entry:last-child {
  border: 0;
}
.entry small {
  color: var(--muted);
}
.progress {
  height: 5px;
  margin: 12px 0;
  background: #293740;
  border-radius: 9px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--mint);
}
.demo-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
  background: #192a27;
  border: 1px solid #395049;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 15px;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #8d99a6;
  font-size: 12px;
  padding-block: 22px;
}
footer > span {
  font-family: Consolas, monospace;
  letter-spacing: 0.07em;
}
footer div {
  display: flex;
  gap: 22px;
}
dialog {
  margin: auto;
  width: min(480px, calc(100% - 28px));
  padding: 0;
  background: #141d26;
  color: #eef1f3;
  border: 1px solid #3a454f;
  border-radius: 10px;
  max-height: 90svh;
  box-shadow: 0 20px 100px #0009;
}
dialog::backdrop {
  background: #03080dc9;
  backdrop-filter: blur(5px);
}
body:has(dialog[open]) {
  overflow: hidden;
}
#modal {
  padding: 29px;
}
#modal h2 {
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
#modal p {
  color: var(--muted);
  font-size: 15px;
  margin: 12px 0 21px;
}
.field {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  font-size: 14px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-size: 16px;
}
.check {
  display: flex;
  align-items: start;
  gap: 8px;
  font-size: 13px;
  color: #bbc6cb;
  margin: 16px 0;
}
.check input {
  accent-color: var(--mint);
  margin-top: 4px;
}
.wide {
  width: 100%;
}
.error {
  color: #e0c5ae;
  font-size: 14px;
  margin: 10px 0;
  display: block;
}
#modal .heading-row {
  align-items: start;
}
.formnote {
  font-size: 13px;
  color: var(--muted);
}
.money {
  font-variant-numeric: tabular-nums;
}
.print-title {
  display: none;
}
.top {
  position: sticky;
  top: 0;
  background: #0c131bf5;
  backdrop-filter: blur(14px);
  z-index: 20;
}
.mast {
  height: 68px;
  gap: clamp(24px, 5vw, 80px);
}
.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 15px;
}
.lang-switch {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 44px;
  font:
    13px Consolas,
    monospace;
  letter-spacing: 0.03em;
  color: #c4cfd5;
}
.lang-switch .ico {
  width: 16px;
  height: 16px;
}
.cabinet {
  min-height: 42px;
  margin: 0;
}
.hero-inner {
  padding-block: clamp(28px, 3.6vw, 58px);
}
.hero h1 {
  font-size: clamp(52px, 4.75vw, 78px);
  line-height: 1.01;
  font-weight: 550;
  letter-spacing: -0.055em;
  margin: 18px 0;
}
.hero-subtitle {
  color: #d8e7e2;
}
.hero p {
  max-width: min(47%, 540px);
  color: #bac6ce;
}
.hero-art {
  width: 72%;
  background-size: auto 100%;
  background-position: 88% bottom;
}
.hero:after {
  background: linear-gradient(
    90deg,
    #0b131b 12%,
    #0b131bfa 32%,
    #0b131b96 45%,
    transparent 63%
  );
}
.hero .actions {
  margin-top: 24px;
}
.primary,
.secondary {
  min-height: 44px;
}
.hero-art {
  animation: art-in 0.9s ease-out;
}
@keyframes art-in {
  from {
    opacity: 0.45;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.assurance {
  background: #101921;
}
.assurance .wrap {
  padding-block: 17px;
}
.assurance a {
  padding-left: 8%;
}
.assurance a:first-child {
  padding-left: 0;
}
.assurance b {
  font-weight: 600;
  letter-spacing: 0;
}
.dashboard {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 25%);
  gap: clamp(20px, 2.5vw, 42px);
  padding-block: 32px 50px;
}
#catalog {
  min-width: 0;
}
.sec-head {
  margin-bottom: 15px;
  align-items: center;
}
.catalog-date {
  color: #96a8b3;
  font:
    12px/1.4 Consolas,
    monospace;
  margin-bottom: 5px;
}
.catalog-date time {
  color: #c4d1d5;
}
.sec-head h2 {
  font-size: clamp(26px, 2.2vw, 36px);
}
.controls .iconbutton {
  width: 40px;
  height: 40px;
}
.tabs {
  gap: 4px;
  margin-bottom: 15px;
}
.tab {
  min-height: 36px;
}
.projects td {
  padding-block: 13px;
}
.projects tr:focus-within {
  background: #1b2a30;
}
.rowend .ico {
  transition: transform 0.2s;
}
.report:hover .rowend .ico {
  transform: translateX(2px);
}
.mobile-label,
.mobile-format {
  display: none;
}
.side {
  background: linear-gradient(145deg, #1b2f30 0%, #141e27 58%, #121b23 100%);
  border-color: #354943;
  padding: clamp(18px, 1.6vw, 28px);
}
.side:before {
  width: 180px;
  height: 180px;
  top: -85px;
  right: -65px;
  transform: rotate(36deg);
  border: 1px solid #446258;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 12px,
    #55776955 12px 13px
  );
  mask-image: linear-gradient(170deg, #000, #0003);
}
.side h2 {
  font-size: clamp(21px, 1.7vw, 27px);
  max-width: 16ch;
}
.side .secondary {
  background: #1b302b;
  border-color: #466757;
  color: #caeada;
  font-size: 14px;
}
.side-extra a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 13px;
}
.side-extra {
  margin-top: 16px;
  padding-top: 13px;
}
.page {
  max-width: min(960px, 91.5%);
}
.sectionlist {
  gap: 0 30px;
  border-top: 1px solid var(--line);
}
.sectionlist .pane {
  border: 0;
  border-radius: 0;
  background: none;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.page p,
.field,
.side p {
  overflow-wrap: break-word;
}
dialog {
  overscroll-behavior: contain;
}
#modal .iconbutton {
  width: 44px;
  height: 44px;
  flex: none;
}
#modal .heading-row {
  align-items: center;
}
.check {
  line-height: 1.5;
}
.check input {
  min-width: 17px;
  height: 17px;
}
@media (min-width: 1650px) {
  .hero-art {
    right: calc((100vw - 1580px) / 2);
  }
}
@media (max-width: 1130px) {
  .wrap {
    width: 93%;
  }
  .mast {
    gap: 24px;
  }
  nav {
    gap: 22px;
  }
  .dashboard {
    grid-template-columns: minmax(0, 1fr) 244px;
    gap: 18px;
  }
  .projects .funds {
    display: none;
  }
  .hero-art {
    background-position: 85% center;
  }
  .assurance a {
    padding-left: 5%;
  }
  .assurance small {
    font-size: 12px;
  }
}
@media (max-width: 900px) {
  .dashboard {
    grid-template-columns: 1fr;
  }
  .projects .funds {
    display: table-cell;
  }
  .side {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 5px 16px;
    padding: 20px;
  }
  .side-emblem {
    grid-row: 1/3;
    margin: 0;
  }
  .side h2 {
    max-width: none;
  }
  .side p {
    grid-column: 2;
    margin: 0;
  }
  .side .secondary {
    grid-column: 3;
    grid-row: 1/3;
  }
  .side-extra {
    display: none;
  }
  .header-tools {
    gap: 8px;
  }
  .mast {
    gap: 18px;
  }
  nav {
    gap: 17px;
  }
  .hero h1 {
    font-size: clamp(46px, 5.8vw, 56px);
  }
  .hero-art {
    background-position: 72% bottom;
  }
  .hero p {
    font-size: 15px;
  }
}
@media (max-width: 790px) {
  .mast {
    height: 62px;
  }
  .mobmenu {
    display: inline-flex;
  }
  .mast nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    background: #121c25;
    border-bottom: 1px solid #35444f;
    padding: 10px max(18px, 3.5vw);
    gap: 0;
  }
  .mast nav.open {
    display: grid;
    box-shadow: 0 16px 22px #0005;
    animation: enter 0.18s ease-out;
  }
  .mast nav a {
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 4px;
  }
  .mast nav a.active {
    background: #1a2d2a;
    color: var(--mint);
  }
  .mast nav a.active:after {
    display: none;
  }
  .mobmenu,
  .cabinet {
    height: 44px;
  }
  .mobmenu {
    width: 44px;
  }
  .assurance b {
    font-size: 13px;
  }
  .assurance small {
    display: none;
  }
  .assurance .ico {
    width: 22px;
    height: 22px;
  }
  .assurance .wrap {
    padding-block: 14px;
  }
}
@media (max-width: 620px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .page,
  .page.narrow {
    max-width: calc(100% - 36px);
  }
  .brand {
    font-size: 20px;
    gap: 6px;
    letter-spacing: 0.9px;
  }
  .brand svg {
    width: 27px;
  }
  .mast {
    gap: 6px;
    height: 59px;
  }
  .header-tools {
    gap: 3px;
  }
  .lang-switch {
    min-width: 45px;
    gap: 4px;
  }
  .lang-switch .ico {
    width: 15px;
    height: 15px;
  }
  .cabinet,
  .mobmenu {
    width: 42px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
  }
  .cabinet span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .cabinet .ico,
  .mobmenu .ico {
    width: 20px;
    height: 20px;
  }
  .hero-inner {
    position: relative;
    padding-block: 26px clamp(158px, 43vw, 222px);
  }
  .hero-art {
    width: 100%;
    height: clamp(146px, 40vw, 214px);
    inset: auto 0 0;
    background-size: auto 100%;
    background-position: right -2px bottom;
    opacity: 1;
  }
  .hero:after {
    background: linear-gradient(
      180deg,
      #0b131b 0%,
      #0b131b 48%,
      #0b131bf0 56%,
      #0b131b55 73%,
      transparent 89%
    );
  }
  .hero h1 {
    font-size: clamp(35px, 8.7vw, 53px);
    line-height: 1.03;
    margin: 12px 0 10px;
  }
  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
  }
  .hero p {
    max-width: 39ch;
    font-size: 14px;
    line-height: 1.5;
  }
  .hero .actions {
    margin-top: 16px;
    gap: 8px;
  }
  .primary,
  .secondary {
    min-height: 44px;
    font-size: 13px;
    padding: 10px 13px;
  }
  .hero .actions .ico {
    width: 15px;
    height: 15px;
  }
  .hero .actions .secondary {
    background: #101b24e6;
  }
  .assurance .wrap {
    padding-block: 12px;
    gap: 8px;
    grid-template-columns: 1.07fr 1fr 0.93fr;
  }
  .assurance a {
    min-height: 44px;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    justify-content: center;
    padding-left: 12px;
  }
  .assurance b {
    font-size: 12px;
    line-height: 1.25;
  }
  .assurance .ico {
    width: 17px;
    height: 17px;
  }
  .dashboard {
    padding-block: 22px 28px;
    gap: 21px;
  }
  .sec-head {
    margin-bottom: 10px;
  }
  .sec-head h2 {
    font-size: 25px;
    line-height: 1.14;
  }
  .catalog-date {
    font-size: 11px;
  }
  .controls {
    gap: 3px;
  }
  .controls .iconbutton {
    height: 44px;
    width: 44px;
  }
  .count {
    font-size: 11px;
    vertical-align: middle;
    padding: 2px 5px;
  }
  .tabs {
    display: flex;
    gap: 1px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #395046 transparent;
    margin-bottom: 9px;
    padding: 1px 0 3px;
  }
  .tab {
    min-height: 44px;
    padding: 6px 10px;
    white-space: nowrap;
    font-size: 13px;
    flex: 0 0 auto;
  }
  .tablebox {
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .projects,
  .projects tbody {
    display: block;
  }
  .projects thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .projects tr.report {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px 8px;
    border-top: 1px solid #2e3c46;
    padding: 13px 0;
  }
  .projects td,
  .projects td:first-child {
    border: 0;
    padding: 0;
    background: none;
  }
  .projects .project-name {
    gap: 10px;
  }
  .project-name b {
    font-size: 16px;
    line-height: 1.2;
  }
  .project-name small {
    font-size: 12px;
    line-height: 1.4;
  }
  .projects .logo {
    width: 37px;
    height: 37px;
  }
  .projects .status-cell {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .projects .format-cell,
  .projects .rowend {
    display: none;
  }
  .projects .risk-col {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    padding-left: 47px;
  }
  .projects .funds {
    grid-column: 2;
    grid-row: 2;
    display: block;
    justify-self: end;
    font:
      12px/1.4 Consolas,
      monospace;
  }
  .mobile-format {
    display: inline;
  }
  .mobile-label {
    display: inline;
    color: #93a5b2;
    font:
      12px/1.4 "Segoe UI",
      Arial,
      sans-serif;
  }
  .risk {
    font-size: 12px;
    gap: 4px;
  }
  .bars {
    height: 10px;
  }
  .badge {
    font-size: 11px;
  }
  .all-link {
    min-height: 44px;
    border-bottom: 1px solid var(--line);
  }
  .side {
    display: block;
    padding: 20px;
  }
  .side .side-emblem {
    margin: 0 0 13px;
    width: 38px;
    height: 38px;
  }
  .side p {
    margin: 8px 0 15px;
    max-width: 44ch;
  }
  .side .secondary {
    width: auto;
    min-height: 44px;
  }
  .side-extra {
    display: flex;
  }
  .filters {
    flex-direction: column;
  }
  .filters input,
  .filters select,
  .field input,
  .field textarea,
  .field select {
    min-height: 44px;
    font-size: 16px;
  }
  .filters input {
    flex: auto;
  }
  .page {
    padding-block: 24px 36px;
  }
  .page h1 {
    font-size: clamp(33px, 8.2vw, 48px);
  }
  .page .back {
    min-height: 44px;
    margin-bottom: 10px;
  }
  .page .lead {
    font-size: 16px;
    margin: 12px 0 18px;
  }
  .heading-row {
    flex-wrap: wrap;
  }
  .page .side-emblem {
    margin-bottom: 14px;
  }
  .sectionlist,
  .details {
    grid-template-columns: 1fr;
  }
  .sectionlist {
    margin: 20px 0;
  }
  .sectionlist .pane {
    padding: 18px 0;
  }
  .paper {
    padding: 18px;
  }
  .details div {
    padding: 11px 0;
  }
  .details div:last-child,
  .entry:last-child {
    border-bottom: 0;
  }
  .entry .hrow {
    align-items: flex-start;
  }
  .page .actions {
    gap: 8px;
  }
  footer {
    flex-wrap: wrap;
    padding-block: 17px;
    gap: 4px 16px;
  }
  footer div {
    gap: 10px;
    flex-wrap: wrap;
  }
  footer a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  dialog {
    margin: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 12px);
    border-radius: 16px 16px 0 0;
    border-bottom: 0;
  }
  #modal {
    padding: 21px 20px max(19px, env(safe-area-inset-bottom));
  }
  #modal h2 {
    font-size: 24px;
  }
  #modal .heading-row {
    flex-wrap: nowrap;
    gap: 6px;
  }
  #modal .field {
    gap: 5px;
    margin: 11px 0;
  }
  #modal p {
    margin: 8px 0 15px;
  }
  dialog[open] {
    animation: sheet-in 0.2s ease-out;
  }
  @keyframes sheet-in {
    from {
      transform: translateY(14px);
      opacity: 0.3;
    }
    to {
      transform: none;
      opacity: 1;
    }
  }
}
@media (max-width: 380px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .hero .actions {
    gap: 6px;
  }
  .hero .actions > a,
  .hero .actions > button {
    padding-inline: 10px;
    font-size: 12px;
  }
  .tab {
    font-size: 12px;
    padding-inline: 8px;
  }
  .projects .risk-col {
    padding-left: 0;
  }
  .brand {
    font-size: 18px;
  }
  .controls .iconbutton {
    width: 40px;
  }
  .sec-head {
    gap: 5px;
  }
}
@media (min-width: 621px) and (max-height: 850px) {
  .hero-inner {
    padding-block: 24px;
  }
  .hero h1 {
    font-size: clamp(45px, 4.3vw, 62px);
    margin-block: 12px;
  }
  .hero .actions {
    margin-top: 17px;
  }
  .dashboard {
    padding-top: 25px;
  }
}

/* Landing page and project directory */
@media screen {
  .sec-head h1 { margin: 0; font-size: clamp(27px, 3vw, 42px); line-height: 1.12; font-weight: 550; letter-spacing: -.04em; }
  .hero { background: #0a121b; }
  .hero .hero-art {
    inset: 0;
    width: 100%;
    height: 100%;
    background-position: right center;
    background-size: auto 105%;
  }
  .hero::after {
    background: linear-gradient(90deg, #0a121b 4%, #0a121bf7 29%, #0a121ba8 47%, transparent 68%);
  }
  .hero .hero-inner {
    padding-block: clamp(48px, 5.5vw, 88px);
  }
  .hero h1 {
    margin: 0 0 14px;
    font-size: clamp(70px, 7.6vw, 116px);
    line-height: .95;
    letter-spacing: -.068em;
    font-weight: 550;
  }
  .hero .hero-heading {
    max-width: 55%;
    color: #e6eee9;
    font-size: clamp(22px, 2.1vw, 34px);
    letter-spacing: -.035em;
    line-height: 1.15;
  }
  .hero .hero-summary {
    margin-top: 14px;
    max-width: min(44%, 455px);
    color: #bcc9d0;
    font-size: 16px;
    line-height: 1.55;
  }
  .hero .actions { margin-top: 25px; }
  .hero .primary { gap: 18px; }
  .hero .primary .ico { width: 16px; transition: transform .18s; }
  .hero .primary:hover .ico { transform: translateX(2px); }
  .primary, .secondary, .cabinet, .iconbutton { border-radius: 5px; }
  .tablebox { border-inline: 0; border-radius: 0; }
  .tabs { gap: 2px; border-bottom: 1px solid var(--line); }
  .tab, .tab.active {
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding-inline: 13px;
  }
  .tab.active { color: var(--mint); border-bottom-color: var(--mint); }
  .side {
    border-radius: 4px;
    background: #151f29;
    border-color: #33404a;
    border-top: 2px solid #7da899;
  }
  .side::before { display: none; }
  .side-emblem { background: transparent; border: 0; place-items: center start; }
  .side .side-emblem { width: 32px; height: 32px; }
  .side .secondary { background: transparent; color: #dbede5; }
  .paper:not(.details) {
    border: 0;
    border-top: 1px solid var(--line);
    background: transparent;
    border-radius: 0;
    padding-inline: 0;
  }
  article.page .paper p { max-width: 74ch; }
  .details { border-radius: 4px; }
}
@media (min-width: 901px) {
  .dashboard { padding-block: clamp(34px, 3.6vw, 62px); }
  .directory-aside { padding-top: 4px; }
}
@media (max-width: 620px) {
  .hero .hero-inner {
    padding-block: 30px clamp(135px, 35vw, 192px);
  }
  .hero .hero-art {
    inset: auto 0 0;
    height: clamp(135px, 40vw, 205px);
    background-size: auto 104%;
    background-position: right bottom;
  }
  .hero::after {
    background: linear-gradient(180deg, #0a121b 0%, #0a121b 39%, #0a121bc7 52%, transparent 78%);
  }
  .hero h1 { font-size: clamp(57px, 13.8vw, 82px); margin-bottom: 10px; }
  .hero .hero-heading { max-width: 100%; font-size: clamp(19px, 4.6vw, 26px); }
  .hero .hero-summary { max-width: 37ch; font-size: 14px; margin-top: 10px; }
  .hero .actions { margin-top: 16px; }
  .hero .primary { gap: 8px; }
  .tabs { margin-bottom: 0; }
  .tab { padding-inline: 9px; }
}
@media (max-width: 420px) {
  .tab { font-size: 12px; padding-inline: 6px; }
}
@media (max-width: 360px) {
  .page h1 { font-size: 29px; overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  body {
    background: white;
    color: black;
  }
  .top,
  footer,
  .actions,
  .back,
  dialog,
  .no-print {
    display: none !important;
  }
  .paper,
  .pane {
    background: white;
    border-color: #bbb;
    break-inside: avoid;
  }
  .paper p,
  .lead,
  .details dt {
    color: #333;
  }
  .page {
    width: 100%;
  }
  .paper .actions {
    display: flex !important;
  }
  .paper .textlink,
  .page .eyebrow {
    color: #24473f;
  }
  .page .badge {
    color: #222;
    background: white;
    border-color: #777;
  }
  .print-title {
    display: block;
  }
}
