@font-face {
  font-family: Inter;
  src: url("inter.woff2");
}
@font-face {
  font-family: Manrope;
  src: url("manrope.woff2");
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: light;
}
body {
  margin: 0;
  background: #f8f9f4;
  color: #142e25;
  font:
    14px/1.5 Inter,
    system-ui,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #b88831;
}
a {
  color: #194f3b;
}
h1,
h2,
h3 {
  font-family: Manrope, system-ui;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
h1 {
  font-size: 30px;
  margin: 0;
}
h2 {
  font-size: 20px;
  margin: 0 0 20px;
}
h3 {
  font-size: 16px;
  margin: 0 0 12px;
}
p {
  margin: 8px 0 16px;
}
small,
.muted {
  color: #52675b;
  font-size: 12px;
}
button,
.button {
  cursor: pointer;
  border: 1px solid #dae3d6;
  border-radius: 8px;
  padding: 10px 15px;
  background: #fff;
  color: #194f3b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-weight: 600;
  white-space: nowrap;
}
button:hover,
.button:hover {
  background: #ecf2ec;
}
button.primary,
.button.primary,
.login .button {
  background: #194f3b;
  color: #fff;
  border-color: #194f3b;
}
button.gold {
  background: #f2c66d;
  border-color: #e8b650;
  color: #142e25;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd7cc;
  border-radius: 7px;
  padding: 10px;
  background: #fff;
  color: #142e25;
  min-width: 0;
}
label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 12px;
}
textarea {
  min-height: 90px;
}
.shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #143a2e;
  color: #fff;
  padding: 33px 20px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  width: 154px;
  display: block;
  margin: 0 14px 13px;
}
.workspace {
  color: #b5cfbd;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 14px 38px;
}
.nav {
  display: grid;
  gap: 5px;
}
.nav button {
  background: transparent;
  color: #d5e4d9;
  border: 0;
  justify-content: flex-start;
  font-weight: 400;
  padding: 12px 14px;
  white-space: normal;
  text-align: left;
}
.nav button.active {
  background: #e5eee5;
  color: #143a2e;
  font-weight: 600;
}
.nav button:hover {
  background: #285441;
  color: #fff;
}
.nav-icon {
  width: 21px;
  font-size: 18px;
  opacity: 0.85;
}
.sidebar-foot {
  margin-top: auto;
  padding: 24px 14px 0;
  font-size: 11px;
  color: #b5cfbd;
}
.sidebar-foot button {
  margin-top: 12px;
  font-size: 11px;
  padding: 6px 9px;
  background: transparent;
  color: #fff;
  border-color: #52675b;
}
.main-shell {
  min-width: 0;
}
.topbar {
  padding: 20px 36px;
  background: #fffefa;
  border-bottom: 1px solid #dae3d6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.breadcrumb {
  font-size: 12px;
  color: #52675b;
}
.top-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #194f3b;
  display: inline-block;
  margin-right: 7px;
}
.main {
  max-width: 1600px;
  margin: auto;
  padding: 32px 36px 60px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.page-heading p {
  color: #52675b;
  margin: 8px 0 0;
}
.filters {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}
.filters label {
  max-width: 170px;
  flex: 1;
  min-width: 125px;
}
.filters label.search {
  max-width: 260px;
}
.filters button {
  height: 40px;
}
.coverage {
  display: flex;
  gap: 13px;
  align-items: center;
  border: 1px solid #dae3d6;
  border-radius: 10px;
  background: #ecf2ec;
  padding: 14px 18px;
  margin-bottom: 24px;
}
.coverage p {
  margin: 0;
}
.coverage strong {
  display: block;
  font-size: 13px;
}
.coverage small {
  display: block;
}
.coverage .badge {
  margin-left: auto;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.metric {
  background: #fffefa;
  border: 1px solid #dae3d6;
  border-radius: 12px;
  padding: 21px 22px;
  text-align: left;
}
.metric .label {
  font-size: 12px;
  color: #52675b;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.metric .value {
  font:
    600 30px/1.3 Manrope,
    system-ui;
  letter-spacing: -0.05em;
  margin: 14px 0 6px;
}
.metric .context {
  font-size: 11px;
  color: #52675b;
  min-height: 32px;
}
.metric .info {
  border: 0;
  background: none;
  padding: 0;
  font-size: 12px;
}
.panel {
  background: #fffefa;
  border: 1px solid #dae3d6;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 22px;
  min-width: 0;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 16px;
}
.panel-heading h2 {
  margin: 0;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(290px, 1fr);
  gap: 22px;
}
.split.equal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #dae3d6;
  border-radius: 20px;
  padding: 4px 9px;
  background: #ecf2ec;
  white-space: nowrap;
  color: #194f3b;
}
.badge.warn {
  background: #f6edd8;
  border-color: #e9d7aa;
  color: #69511d;
}
.badge.error {
  background: #fcece8;
  color: #8b382c;
  border-color: #e8bdb4;
}
.empty {
  padding: 35px 20px;
  border: 1px dashed #cbd7cc;
  border-radius: 8px;
  text-align: center;
  color: #52675b;
}
.empty h3 {
  color: #142e25;
}
.empty p {
  max-width: 520px;
  margin: 8px auto 18px;
}
.table-wrap {
  overflow: auto;
  width: 100%;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th {
  text-align: left;
  font-weight: 600;
  color: #52675b;
  border-bottom: 1px solid #dae3d6;
  padding: 12px 11px;
  white-space: nowrap;
}
td {
  padding: 15px 11px;
  border-bottom: 1px solid #ecf2ec;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
td.num,
th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
td small {
  display: block;
  font-size: 10px;
  margin-top: 3px;
}
.text-button {
  border: 0;
  padding: 0;
  background: none;
  border-radius: 2px;
  white-space: normal;
  text-align: left;
  color: #194f3b;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e5eee5;
  display: inline-grid;
  place-items: center;
  font: 600 12px Manrope;
  margin-right: 11px;
  color: #194f3b;
  flex-shrink: 0;
}
.person {
  display: flex;
  align-items: center;
}
.bar-row {
  display: grid;
  grid-template-columns: 135px minmax(50px, 1fr) 50px;
  gap: 12px;
  align-items: center;
  margin: 20px 0;
  font-size: 12px;
}
.bar-row progress {
  height: 9px;
  width: 100%;
  border: 0;
  appearance: none;
  border-radius: 10px;
  overflow: hidden;
}
progress::-webkit-progress-bar {
  background: #ecf2ec;
}
progress::-webkit-progress-value {
  background: #194f3b;
}
progress::-moz-progress-bar {
  background: #194f3b;
}
.bar-row span:last-child {
  text-align: right;
}
.recommendation {
  padding: 16px 0;
  border-bottom: 1px solid #dae3d6;
}
.recommendation:first-of-type {
  padding-top: 0;
}
.recommendation:last-child {
  border: 0;
  padding-bottom: 0;
}
.recommendation p {
  font-size: 12px;
  color: #52675b;
  margin: 7px 0;
}
.recommendation h3 {
  font-size: 14px;
  margin: 0;
}
.recommendation small {
  display: block;
}
.recommendation button {
  margin-top: 12px;
  font-size: 11px;
  padding: 7px 10px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.connection {
  border: 1px solid #dae3d6;
  border-radius: 10px;
  padding: 20px;
  background: #fffefa;
}
.connection header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 15px;
}
.connection h3 {
  font-size: 15px;
}
.connection p {
  font-size: 12px;
  color: #52675b;
  overflow-wrap: anywhere;
}
.connection dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  font-size: 11px;
  gap: 6px;
}
.connection dt {
  color: #52675b;
}
.connection dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.connection details {
  font-size: 11px;
}
.connection pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.tag {
  font-size: 11px;
  background: #ecf2ec;
  border-radius: 5px;
  padding: 3px 7px;
  display: inline-block;
  margin: 2px;
}
.path {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-bottom: 1px solid #dae3d6;
}
.path-node {
  padding: 8px 10px;
  background: #e5eee5;
  border-radius: 6px;
  font-size: 11px;
}
.path-meta {
  margin-left: auto;
  color: #52675b;
  font-size: 11px;
}
.toolbar {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.toolbar button {
  font-size: 12px;
}
.tabs {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid #dae3d6;
  overflow: auto;
}
.tabs button {
  border: 0;
  background: none;
  border-radius: 0;
  padding: 12px 0;
}
.tabs button.active {
  border-bottom: 2px solid #194f3b;
}
.notice {
  padding: 14px 16px;
  background: #f6edd8;
  color: #69511d;
  border-radius: 8px;
  font-size: 12px;
  margin: 16px 0;
}
.notice p:last-child {
  margin-bottom: 0;
}
.definition {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  font-size: 12px;
}
.definition dt {
  color: #52675b;
}
.definition dd {
  margin: 0;
}
dialog {
  width: min(800px, calc(100vw - 30px));
  max-height: 90vh;
  padding: 28px;
  border: 1px solid #dae3d6;
  border-radius: 14px;
  background: #fffefa;
  color: #142e25;
  box-shadow: 0 25px 90px #142e2533;
}
dialog::backdrop {
  background: #142e2566;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 24px;
}
.dialog-heading h2 {
  margin: 0;
  font-size: 24px;
}
.close {
  padding: 4px 10px;
  font-size: 22px;
  background: none;
  border: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-grid .wide {
  grid-column: 1/-1;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.form-error {
  color: #8b382c;
  font-size: 12px;
}
.step-label {
  display: flex;
  gap: 15px;
  font-size: 11px;
  color: #52675b;
  margin-bottom: 22px;
}
.step-label strong {
  color: #194f3b;
}
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.channel-grid button {
  padding: 17px 10px;
  white-space: normal;
  min-height: 70px;
  font-size: 12px;
  text-align: center;
}
.channel-grid button.selected {
  border: 2px solid #194f3b;
  background: #e5eee5;
}
.link-result {
  background: #e5eee5;
  border-radius: 10px;
  padding: 20px;
  overflow-wrap: anywhere;
}
.qr {
  width: 160px;
  height: 160px;
}
.timeline {
  position: relative;
  margin: 28px 0 0 16px;
  padding-left: 27px;
  border-left: 2px solid #dae3d6;
}
.timeline-item {
  position: relative;
  padding: 0 0 26px;
}
.timeline-item:before {
  content: "";
  position: absolute;
  left: -34px;
  top: 5px;
  width: 12px;
  height: 12px;
  background: #194f3b;
  border: 3px solid #fffefa;
  box-shadow: 0 0 0 1px #dae3d6;
  border-radius: 50%;
}
.timeline-item.money:before {
  background: #b88831;
}
.timeline-item header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.timeline-item h3 {
  font-size: 14px;
  margin: 0 0 6px;
}
.timeline-item p {
  margin: 5px 0;
  font-size: 12px;
}
.timeline-item details {
  font-size: 11px;
  color: #52675b;
}
.timeline-item pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 10px;
}
.timeline-item .elapsed {
  font-size: 10px;
  color: #52675b;
  margin-bottom: 7px;
}
.journey-summary {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  padding: 18px;
  background: #ecf2ec;
  border-radius: 10px;
}
.journey-summary div {
  flex: 1;
  min-width: 110px;
}
.journey-summary strong {
  display: block;
  font-size: 18px;
}
.login {
  min-height: 100vh;
  max-width: 680px;
  padding: 12vh 40px;
  margin: auto;
}
.login-brand {
  background: #143a2e;
  width: 220px;
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 38px;
}
.login-brand img {
  width: 100%;
}
.login h1 {
  font-size: 58px;
  margin: 24px 0;
}
.login p {
  font-size: 17px;
  color: #52675b;
  max-width: 460px;
}
.login .button {
  margin: 20px 0;
  min-width: 240px;
}
.login small {
  display: block;
}
.login #login-status {
  font-size: 12px;
}
.skip {
  position: fixed;
  top: -70px;
  left: 20px;
  padding: 15px;
  background: #fff;
  z-index: 20;
}
.skip:focus-visible {
  top: 10px;
}
#toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: #143a2e;
  color: #fff;
  border-radius: 10px;
  padding: 14px 20px;
  max-width: 440px;
  box-shadow: 0 8px 30px #142e2533;
  z-index: 20;
}
#toast:empty {
  display: none;
}
.loading {
  opacity: 0.55;
  pointer-events: none;
}
.page-note {
  font-size: 11px;
  color: #52675b;
  margin-top: 14px;
}
.mobile-menu {
  display: none;
}
.mini-stat {
  font-family: Manrope;
  font-size: 24px;
}
.break {
  overflow-wrap: anywhere;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (min-width: 1500px) {
  .main {
    padding: 40px 50px;
  }
  .topbar {
    padding-left: 50px;
    padding-right: 50px;
  }
  .metrics {
    gap: 20px;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .sidebar {
    padding: 28px 12px;
  }
  .main {
    padding: 25px 24px;
  }
  .topbar {
    padding: 18px 24px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: relative;
    height: auto;
    padding: 20px;
    display: none;
  }
  .sidebar.open {
    display: flex;
  }
  .brand {
    margin-left: 0;
  }
  .workspace {
    margin: 0 0 18px;
  }
  .nav {
    grid-template-columns: 1fr 1fr;
  }
  .sidebar-foot {
    display: none;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .topbar {
    padding: 14px 16px;
    position: sticky;
    top: 0;
    z-index: 2;
  }
  .top-actions small {
    display: none;
  }
  .top-actions button {
    font-size: 11px;
    padding: 8px;
  }
  .main {
    padding: 24px 16px;
  }
  .page-heading {
    align-items: start;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading .button {
    padding: 8px 10px;
    font-size: 11px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 16px;
  }
  .metric .value {
    font-size: 26px;
  }
  .panel {
    padding: 18px;
  }
  .split.equal,
  .cards {
    grid-template-columns: 1fr;
  }
  .coverage {
    align-items: start;
  }
  .coverage .badge {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filters {
    gap: 8px;
  }
  .filters label {
    min-width: 110px;
    max-width: none;
  }
  .login {
    padding: 10vh 24px;
  }
  .login h1 {
    font-size: 43px;
  }
  .bar-row {
    grid-template-columns: 100px 1fr 40px;
  }
  .timeline-item header {
    display: block;
  }
  .timeline-item time {
    font-size: 10px;
  }
  dialog {
    padding: 20px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .path-meta {
    margin-left: 0;
    width: 100%;
  }
  .definition {
    grid-template-columns: 1fr;
  }
  .definition dt {
    font-weight: 600;
  }
  .definition dd {
    margin-bottom: 10px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .panel,
  .metric,
  .connection {
    animation: appear 0.25s ease-out;
  }
  @keyframes appear {
    from {
      opacity: 0.4;
      transform: translateY(4px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.metric .info {
  font:
    600 10px Inter,
    system-ui;
  border: 1px solid #52675b;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  min-width: 15px;
  padding: 0;
  line-height: 13px;
  color: #52675b;
}

/* Balanced native controls preserve keyboard and mobile-picker behavior. */
select {
  appearance: none;
  -webkit-appearance: none;
  height: 44px;
  padding: 0 48px 0 14px;
  line-height: 1.4;
  background-image: url("chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px 16px;
  text-overflow: ellipsis;
}
input:not([type="checkbox"]):not([type="radio"]) {
  min-height: 44px;
  padding-inline: 14px;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #b88831;
  border-color: #194f3b;
}
.main:focus {
  outline: none;
}
.filters {
  display: block;
  padding: 18px 20px;
  border: 1px solid #dae3d6;
  border-radius: 12px;
  background: #fff;
}
.filter-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.filter-heading > span {
  font-weight: 650;
  color: #52675b;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.date-presets {
  display: flex;
  gap: 4px;
}
.filters .date-presets button {
  height: 32px;
  min-height: 32px;
  padding: 4px 10px;
  font-size: 12px;
  background: #f6f8f3;
}
.filter-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 16px;
}
.filters .filter-fields label {
  max-width: none;
  min-width: 0;
  font-size: 12px;
  gap: 7px;
}
.filter-fields input,
.filter-fields select {
  height: 44px;
  min-height: 44px;
  font-size: 14px;
}
.filter-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #edf0e9;
  margin-top: 18px;
  padding-top: 14px;
}
.filter-actions > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filters .filter-actions button {
  height: 40px;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.filters .filter-chips button {
  height: 28px;
  min-height: 28px;
  padding: 3px 9px;
  font-size: 11px;
  background: #ecf2ec;
}
.journey-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  align-items: center;
}
.journey-toolbar input {
  flex: 1;
  max-width: 480px;
}
.journey-toolbar button {
  height: 44px;
}
.model-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}
.model-heading p {
  color: #52675b;
  max-width: 560px;
}
.model-heading label {
  min-width: 250px;
  font-size: 12px;
}
.quality-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.quality-summary > div {
  padding: 16px;
  background: #f6f8f3;
  border: 1px solid #e4eadd;
  border-radius: 8px;
}
.quality-summary strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.03em;
}
.quality-summary span {
  font-size: 12px;
  color: #52675b;
}
@media (min-width: 1900px) {
  .filter-fields {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .filter-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter-actions {
    align-items: flex-start;
  }
  .model-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .model-heading label {
    width: 100%;
  }
  .quality-summary {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .panel-heading {
    flex-direction: column;
    gap: 8px;
  }
  .filters {
    padding: 14px;
  }
  .filter-fields {
    gap: 12px;
  }
  .filter-actions {
    flex-direction: column;
  }
  .filter-actions > div {
    width: 100%;
  }
  .filter-actions button {
    flex: 1;
    padding-inline: 10px;
    font-size: 12px;
  }
  .filter-heading {
    gap: 8px;
  }
  .date-presets {
    gap: 3px;
  }
  .filters .date-presets button {
    padding-inline: 8px;
  }
  .journey-toolbar {
    flex-wrap: wrap;
  }
  .journey-toolbar input {
    flex-basis: 100%;
  }
  .page-heading {
    flex-direction: column;
  }
  .page-heading .gold {
    align-self: flex-start;
  }
  .model-heading label {
    min-width: 0;
  }
}
@media (forced-colors: active) {
  select {
    appearance: auto;
    background-image: none;
  }
}

.journey-lenses {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}
.journey-lenses button[aria-pressed="true"] {
  background: #194f3b;
  color: white;
  border-color: #194f3b;
}

.cohort-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.cohort-metrics .metric {min-width:0}
.tracking-links {display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.tracking-links article {padding:18px;border:1px solid var(--border,#d8e2d5);border-radius:12px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.tracking-links small {color:#52695b;overflow-wrap:anywhere}
.financial-details {border:1px solid #d8e2d5;border-radius:14px;padding:18px;margin-bottom:24px}
.financial-details summary {font-weight:700;cursor:pointer;min-height:28px}
.financial-details[open] summary {margin-bottom:18px}
@media(max-width:1100px){.cohort-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.cohort-metrics{grid-template-columns:1fr}.tracking-links{grid-template-columns:1fr}}
