:root {
  font-family: "Sora", Arial, sans-serif;
  color: #092E2A;
  background: #F7F5EF;
  font-synthesis: none;
  --ink: #092E2A;
  --muted: #092E2AB8;
  --green: #092E2A;
  --lime: #17A673;
  --line: #092E2A26;
  --orange: #F2B84B;
}
.review-dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  width: min(480px, calc(100vw - 32px));
  color: var(--ink);
  box-shadow: 0 20px 100px #092E2A40;
}
.review-dialog::backdrop {
  background: #092E2A55;
}
.review-dialog h2 {
  font-size: 20px;
  font-weight: 500;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button.primary,
.primary {
  background: var(--green);
  color: #F7F5EF;
  border-radius: 9px;
  padding: 12px 20px;
  font-weight: 600;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
}
.secondary {
  border: 1px solid var(--line);
  background: #F7F5EF;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
}
.small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 600;
  color: #092E2A;
}
.boot {
  padding: 60px;
}
.layout {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #092E2A;
  color: #F7F5EF;
  padding: 34px 20px;
  display: flex;
  flex-direction: column;
  position: fixed;
  width: 238px;
  height: 100vh;
}
.workspace {
  border: 1px solid #092E2A26;
  border-radius: 10px;
  margin: 33px 0 24px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.workspace-icon {
  background: #092E2A;
  border-radius: 7px;
  padding: 8px;
  color: var(--lime);
}
.workspace small {
  color: #092E2A;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.workspace p {
  font-size: 13px;
  margin-top: 3px;
}
.nav {
  display: grid;
  gap: 5px;
}
.nav a {
  padding: 12px 15px;
  border-radius: 8px;
  color: #092E2A;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
}
.nav a.active {
  background: #092E2A;
  color: var(--lime);
}
.nav-icon {
  width: 20px;
  font-size: 18px;
}
.nav a:hover {
  background: #092E2A;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.engine-labels {
  font-size: 10px;
  color: #092E2A;
  line-height: 1.8;
  border-top: 1px solid #092E2A26;
  padding-top: 18px;
}
.user {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
}
.avatar {
  background: #F7F5EF;
  color: #092E2A;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
}
.user strong {
  font-size: 12px;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 78px;
  background: #F7F5EF;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  font-size: 12px;
  color: var(--muted);
}
.topbar strong {
  font-weight: 500;
  color: #092E2A;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.sign-out {
  color: var(--ink);
  background: #F7F5EF;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  #F7F5EF-space: nowrap;
  flex-shrink: 0;
}
.sign-out:hover {
  background: #F7F5EF;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #092E2A;
  margin-right: 6px;
}
.content {
  padding: 36px 42px 70px;
  max-width: 1600px;
  margin: auto;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.page-head h1 {
  font-size: 29px;
  letter-spacing: -0.8px;
  font-weight: 600;
  margin: 5px 0 8px;
}
.page-head p {
  font-size: 13px;
  color: var(--muted);
}
.welcome {
  background: #F7F5EF;
  padding: 26px 30px;
  border: 1px solid #092E2A26;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
}
.welcome h2 {
  font-size: 21px;
  font-weight: 500;
  margin: 7px 0 10px;
  letter-spacing: -0.4px;
}
.welcome p {
  font-size: 13px;
  max-width: 510px;
  line-height: 1.65;
  color: #092E2A;
}
.welcome-symbol {
  font-size: 90px;
  line-height: 1;
  color: #092E2A;
  transform: rotate(-18deg);
  padding-right: 20px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}
.card {
  background: #F7F5EF;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.stat-label {
  font-size: 12px;
  color: #092E2A;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat-value {
  font-size: 29px;
  letter-spacing: -0.8px;
  font-weight: 600;
  margin: 17px 0 10px;
}
.stat-note {
  font-size: 11px;
  color: #092E2A;
}
.stat-icon {
  background: #F7F5EF;
  border: 1px solid #092E2A26;
  border-radius: 7px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #092E2A;
}
.grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 12px;
}
.section-heading h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.section-heading a {
  font-size: 11px;
  color: #092E2A;
}
.chart {
  height: 150px;
  display: flex;
  align-items: end;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 0 12px;
}
.chart-column {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: end;
  flex-direction: column;
  gap: 8px;
}
.bar {
  background: #092E2A;
  max-width: 38px;
  width: 100%;
  min-height: 3px;
  border-radius: 5px 5px 0 0;
}
.chart-labels {
  display: flex;
  gap: 12px;
  padding: 9px 12px;
  color: #092E2A;
  font-size: 10px;
  text-align: center;
}
.chart-labels span {
  flex: 1;
}
.legend {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 18px;
}
.legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #092E2A;
}
.rail-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #092E2A26;
  gap: 12px;
}
.rail-row:last-child {
  border-bottom: 0;
}
.rail-icon {
  width: 32px;
  height: 32px;
  background: #F7F5EF;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #092E2A;
}
.rail-text {
  flex: 1;
  font-size: 12px;
}
.rail-text small {
  display: block;
  color: #092E2A;
  margin-top: 5px;
  font-size: 10px;
}
.badge {
  font-size: 10px;
  padding: 5px 9px;
  border-radius: 20px;
  #F7F5EF-space: nowrap;
  display: inline-block;
  font-weight: 500;
}
.badge.green {
  background: #F7F5EF;
  color: #092E2A;
}
.badge.orange {
  background: #F7F5EF;
  color: #092E2A;
}
.badge.red {
  background: #F7F5EF;
  color: #092E2A;
}
.badge.gray {
  background: #F7F5EF;
  color: #092E2A;
}
.table-card {
  padding: 0;
  overflow: hidden;
}
.table-card .section-heading {
  padding: 22px 24px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  background: #F7F5EF;
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #092E2A;
  font-weight: 500;
  padding: 13px 22px;
  border-top: 1px solid #092E2A26;
  border-bottom: 1px solid #092E2A26;
}
td {
  padding: 17px 22px;
  border-bottom: 1px solid #092E2A26;
  color: #092E2A;
}
td strong {
  color: #092E2A;
  font-weight: 500;
}
tr:last-child td {
  border-bottom: 0;
}
.table-wrap {
  overflow-x: auto;
}
.empty {
  padding: 44px 24px;
  text-align: center;
  color: #092E2A;
  font-size: 13px;
  line-height: 1.7;
}
.empty-icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  color: #092E2A;
  font-size: 21px;
}
.activity {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  font-size: 12px;
}
.activity-dot {
  border-radius: 50%;
  width: 7px;
  height: 7px;
  background: #092E2A;
  margin-top: 5px;
  flex-shrink: 0;
}
.activity small {
  display: block;
  font-size: 10px;
  color: #092E2A;
  margin-top: 5px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .wide {
  grid-column: 1/-1;
}
label {
  display: block;
  color: #092E2A;
  font-size: 12px;
  margin-bottom: 8px;
}
input,
select {
  width: 100%;
  border: 1px solid #092E2A26;
  border-radius: 8px;
  background: #F7F5EF;
  padding: 12px;
  color: #092E2A;
  min-width: 0;
}
input:focus,
select:focus {
  outline: 2px solid #092E2A26;
  outline-offset: 1px;
}
.form-note {
  font-size: 11px;
  color: #092E2A;
  line-height: 1.65;
  margin-top: 16px;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.form-error {
  color: #092E2A;
  font-size: 12px;
  margin-top: 14px;
}
.quote-result {
  padding: 20px;
  background: #F7F5EF;
  border-radius: 10px;
  margin-top: 22px;
}
.quote-result strong {
  font-size: 24px;
  display: block;
  margin: 12px 0;
}
.pillars {
  display: grid;
  gap: 15px;
}
.pillar {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.pillar-track {
  height: 6px;
  border-radius: 6px;
  background: #F7F5EF;
  margin-top: 7px;
}
.pillar-fill {
  height: 100%;
  border-radius: 6px;
  background: #092E2A;
}
.score-number {
  font-size: 65px;
  color: #092E2A;
  letter-spacing: -3px;
  font-weight: 500;
}
.score-layout {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 24px;
}
.score-disclaimer {
  font-size: 11px;
  color: #092E2A;
  background: #F7F5EF;
  padding: 13px;
  border-radius: 8px;
  line-height: 1.6;
  margin-top: 22px;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.detail-row span:first-child {
  color: #092E2A;
}
.link-button {
  color: #092E2A;
  background: none;
  padding: 0;
  text-decoration: underline;
  font-size: 12px;
}
.mobile-menu {
  display: none;
}
#toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #092E2A;
  color: #F7F5EF;
  border-radius: 10px;
  max-width: 380px;
  padding: 0;
  z-index: 10;
  font-size: 13px;
  box-shadow: 0 8px 40px #092E2A22;
}
#toast.visible {
  padding: 16px 22px;
}
.actions-inline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}
.engine-status {
  display: flex;
  align-items: center;
  gap: 8px;
}
.role-label {
  text-transform: capitalize;
}
.caption {
  font-size: 11px;
  color: #092E2A;
  line-height: 1.6;
  margin-top: 15px;
}
@media (min-width: 1500px) {
  .content {
    padding-top: 45px;
  }
  .stats {
    gap: 22px;
  }
  .card {
    padding: 26px;
  }
  .stat-value {
    font-size: 34px;
  }
}
@media (max-width: 1100px) {
  .content {
    padding: 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
    z-index: 5;
  }
  .sidebar.open {
    display: flex;
  }
  .main {
    grid-column: 1;
  }
  .content {
    padding: 22px 16px;
  }
  .topbar {
    padding: 0 16px;
    height: 62px;
  }
  .topbar-date {
    display: none;
  }
  .mobile-menu {
    display: block;
    background: none;
    color: #092E2A;
    font-size: 20px;
    margin-right: 10px;
  }
  .topbar > div {
    display: flex;
    align-items: center;
  }
  .page-head {
    align-items: start;
  }
  .page-head h1 {
    font-size: 24px;
  }
  .page-head .primary {
    padding: 10px 13px;
    font-size: 12px;
  }
  .welcome {
    padding: 22px;
  }
  .welcome-symbol {
    display: none;
  }
  .stats {
    gap: 10px;
  }
  .card {
    padding: 18px;
  }
  .stat-value {
    font-size: 25px;
  }
  .stat-note {
    font-size: 10px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .wide {
    grid-column: auto;
  }
  .brand {
    font-size: 22px;
  }
  th,
  td {
    padding: 13px 16px;
  }
}

.settlement-history { max-height: 440px; overflow: auto; }
.netting-card { overflow-wrap: anywhere; }
.netting-card form { margin-top: 18px; }
.netting-card label { margin-top: 14px; }
.netting-card input[type=checkbox] { width: auto; margin-right: 8px; }
.netting-selection { margin-top: 18px; max-height: 300px; overflow: auto; padding: 16px; border: 1px solid #092E2A26; border-radius: 8px; }
.netting-card [hidden] { display: none; }
.netting-card .stats strong { display: block; margin-top: 8px; }

.netting-card details { margin-top: 18px; }
.netting-card summary { cursor: pointer; font-weight: 600; }
.netting-agreement-list { max-height: 440px; overflow: auto; }
.netting-card fieldset[data-net-participant] { padding: 16px; margin: 18px 0; border: 1px solid #092E2A26; border-radius: 8px; }
.netting-card textarea { width: 100%; padding: 10px; border: 1px solid #092E2A26; border-radius: 8px; font: inherit; }

.netting-card fieldset[data-bank-entry], .bank-entry-review { border: 1px solid #092E2A26; padding: 16px; margin: 18px 0; border-radius: 8px; }
