.snapshot-totals,
.sdk-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 22px 0;
}
.sdk-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.snapshot-totals span,
.sdk-metrics span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.snapshot-totals strong,
.sdk-metrics strong {
  display: block;
  font-size: 19px;
  margin: 8px 0;
}
.snapshot-totals small,
.sdk-metrics small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.sdk-toolbar,
.sdk-confirm-account {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.sdk-confirm-account {
  margin-bottom: 20px;
}
#sdk-estimate {
  display: block;
  padding: 10px 0;
}
#snapshot-period {
  max-width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  color: inherit;
}
@media (max-width: 650px) {
  .snapshot-totals,
  .sdk-metrics {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .sdk-section .section-caption {
    flex-wrap: wrap;
    gap: 12px;
  }
}
.accounting-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.accounting-section h2 {
  font-size: 17px;
  margin-bottom: 18px;
}
.accounting-section .section-caption {
  flex-wrap: wrap;
  gap: 12px;
}
.accounting-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.accounting-switches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.accounting-section .operator-table input,
#restart-period-form .operator-table input {
  min-width: 110px;
  width: 100%;
  height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  color: inherit;
  background: white;
}
#restart-period-form .operator-table {
  min-width: 360px;
}
.accounting-section .empty {
  padding: 24px 0;
}
.btn.danger {
  color: var(--red);
  border-color: #e4bcc0;
  background: #fff;
}
.btn.danger:hover:not(:disabled) {
  background: var(--red-bg);
}
.accounting-section .notice span {
  overflow-wrap: anywhere;
}
@media (max-width: 650px) {
  .accounting-grid {
    grid-template-columns: 1fr;
  }
}
:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: #22292e;
  background: #fff;
  font-size: 14px;
  letter-spacing: 0;
  --line: #e6e9eb;
  --muted: #66727a;
  --green: #156b52;
  --green-bg: #eaf5ef;
  --red: #b1343e;
  --red-bg: #fceef0;
  --amber: #946112;
  --amber-bg: #fff6e6;
}
.operator-account {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.operator-account label {
  font-size: 12px;
  color: var(--muted);
}
.operator-account select {
  min-width: 240px;
  max-width: 100%;
  height: 38px;
  border: 1px solid #dbe2dd;
  border-radius: 5px;
  padding: 0 10px;
  background: white;
}
.operator-balances {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.operator-balances > div {
  min-width: 0;
}
.operator-balances span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 9px;
}
.operator-balances strong {
  display: block;
  font:
    600 18px/1.4 ui-monospace,
    SFMono-Regular,
    monospace;
  overflow-wrap: anywhere;
}
.operator-balances small {
  display: block;
  font-size: 10px;
  color: #88948d;
  margin-top: 5px;
}
.operator-budget {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}
.operator-budget strong {
  font-size: 16px;
}
.operator-budget strong small {
  display: inline;
  font-weight: 400;
}
.operator-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 30px;
}
.operator-input {
  border-right: 1px solid var(--line);
  padding-right: 25px;
  min-width: 0;
}
.operator-input .roles {
  gap: 18px;
}
.operator-history {
  min-width: 0;
}
.operator-sides button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.operator-sides .buy {
  color: var(--green);
}
.operator-sides .sell {
  color: var(--red);
}
.operator-hint {
  margin: -3px 0 15px;
}
.operator-route {
  border-left: 2px solid #cfddd4;
  padding: 0 0 0 12px;
  margin: 20px 0;
}
.operator-route span {
  display: block;
  font-size: 10px;
  color: #8a978e;
  margin: 12px 0 4px;
}
.operator-route strong {
  font-size: 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.operator-history-scroll {
  overflow-x: auto;
}
.operator-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 12px;
}
.operator-table th {
  font-weight: 500;
  background: #f7f9f8;
  color: #819088;
  font-size: 11px;
  text-align: left;
}
.operator-table td,
.operator-table th {
  padding: 12px 9px;
  border-bottom: 1px solid var(--line);
}
.operator-table small {
  display: block;
  color: #8b9690;
  font-size: 10px;
  margin-top: 5px;
}
.operator-table .operation-error {
  color: var(--red);
  max-width: 150px;
  overflow-wrap: anywhere;
}
.operator-confirm-env {
  margin-bottom: 20px;
}
.operator-summary {
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr);
  font-size: 12px;
  gap: 14px;
  margin: 0 0 22px;
}
.operator-summary dt {
  color: #829087;
}
.operator-summary dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #354a3d;
}
.operator-real-ack {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.6;
  padding: 14px 0;
  color: #86621c;
}
.operator-real-ack input {
  accent-color: var(--green);
  margin-top: 4px;
  flex: none;
}
@media (max-width: 1120px) {
  .operator-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 20px;
  }
  .operator-input {
    padding-right: 18px;
  }
  .operator-balances {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .operator-layout {
    display: block;
  }
  .operator-input {
    border-right: 0;
    padding-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 25px;
    margin-bottom: 26px;
  }
  .operator-account {
    gap: 10px;
  }
  .operator-account select {
    width: 100%;
    min-width: 0;
  }
  .operator-balances {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .operator-balances strong {
    font-size: 16px;
  }
  .operator-budget {
    border-left: 0;
    padding-left: 0;
    grid-column: 1/-1;
  }
  .operator-table {
    font-size: 11px;
  }
}
* {
  box-sizing: border-box;
  letter-spacing: 0;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #7bbba6;
  outline-offset: 2px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
}
button svg {
  width: 16px;
  height: 16px;
  flex: none;
}
a {
  color: var(--green);
}
.initial-loading {
  padding: 48px;
  color: var(--muted);
}
.shell {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  background: #f5f7f7;
  border-right: 1px solid var(--line);
  padding: 28px 16px 20px;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  position: sticky;
  top: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  padding: 0 10px 35px;
}
.brand-mark {
  width: 30px;
  height: 30px;
  background: #1b2724;
  color: white;
  display: grid;
  place-items: center;
  border-radius: 6px;
}
.brand-mark svg {
  width: 19px;
  height: 19px;
}
.nav-label {
  font-size: 11px;
  color: #849089;
  padding: 0 14px 10px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 6px;
  text-align: left;
  border-radius: 6px;
  background: none;
  color: #56625f;
  font-weight: 500;
}
.nav-item.active {
  background: #e3eeea;
  color: #145a46;
}
.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid #e0e5e3;
  padding: 18px 8px 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #dfe8e4;
  font-weight: 600;
  color: #3b5b4e;
}
.user-text {
  min-width: 0;
  flex: 1;
}
.user-text strong {
  display: block;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.workspace {
  min-width: 0;
}
.topbar {
  height: 64px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 32px;
}
.breadcrumb {
  color: #8a9197;
  font-size: 12px;
}
.breadcrumb strong {
  color: #4c565d;
  font-weight: 500;
}
.env-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #59676b;
  white-space: nowrap;
}
.env-label img {
  width: 20px;
  height: 20px;
}
.page {
  padding: 29px 32px 32px;
  max-width: 1560px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
h1 {
  font-size: 24px;
  line-height: 1.4;
  margin: 0 0 5px;
  font-weight: 650;
}
h2 {
  font-size: 18px;
  margin: 0;
  font-weight: 600;
}
h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid #dbe1df;
  border-radius: 6px;
  background: #fff;
  color: #33443e;
  font-weight: 500;
  white-space: nowrap;
}
.btn.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.btn.subtle {
  background: #f8faf9;
}
.icon-btn {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  color: #718078;
  border: 1px solid transparent;
  border-radius: 5px;
  flex: none;
}
.icon-btn:hover {
  background: #edf1ef;
  color: #244b3b;
}
.summary-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 19px 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.summary-item {
  padding: 0 25px;
  border-right: 1px solid var(--line);
}
.summary-item:first-child {
  padding-left: 0;
}
.summary-item:last-child {
  border: 0;
}
.summary-label {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.summary-label svg {
  width: 14px;
  height: 14px;
}
.summary-value {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
}
.summary-value span {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 9px;
}
.account-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
}
.account-sidebar {
  border-right: 1px solid var(--line);
  padding-right: 20px;
  min-width: 0;
}
.section-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #69776f;
  margin-bottom: 12px;
}
.search {
  position: relative;
  margin-bottom: 12px;
}
.search svg {
  position: absolute;
  left: 11px;
  top: 11px;
  width: 15px;
  height: 15px;
  color: #8a9690;
}
.search input {
  height: 37px;
  width: 100%;
  border: 1px solid #e0e5e3;
  border-radius: 5px;
  padding: 0 10px 0 34px;
  outline-offset: 1px;
  background: #fafbfb;
}
.segmented {
  display: flex;
  background: #f1f4f2;
  border-radius: 5px;
  padding: 3px;
  margin-bottom: 16px;
}
.segmented button {
  flex: 1;
  min-height: 29px;
  background: transparent;
  color: #748078;
  border-radius: 3px;
  font-size: 12px;
}
.segmented button.active {
  background: #fff;
  color: #235c46;
  box-shadow: 0 1px 3px #16281d12;
}
.account-item {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  margin-bottom: 6px;
  min-height: 89px;
}
.account-item:hover {
  background: #f8faf9;
}
.account-item.selected {
  background: #f0f7f3;
  border-color: #c5ddcf;
}
.account-emblem {
  width: 32px;
  height: 32px;
  border: 1px solid #e1e7e3;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #fff;
  flex: none;
}
.account-emblem img {
  width: 20px;
  height: 20px;
}
.account-emblem svg {
  width: 17px;
  height: 17px;
  color: #788880;
}
.account-content {
  min-width: 0;
  flex: 1;
}
.account-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.account-id {
  display: block;
  font-size: 10px;
  color: #839189;
  margin: 3px 0 8px;
  overflow-wrap: anywhere;
}
.account-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #758079;
}
.type-tag {
  font-size: 10px;
  color: #78857c;
  padding: 2px 5px;
  background: #e8eee9;
  border-radius: 3px;
}
.detail {
  min-width: 0;
}
.detail-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-bottom: 21px;
}
.detail-header > div {
  min-width: 0;
  flex: 1;
}
.detail-title-row h2 {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.detail-title-row {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
}
.detail-id {
  font-size: 11px;
  color: #7b8881;
  overflow-wrap: anywhere;
  margin-top: 5px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 7px;
  border-radius: 4px;
  white-space: nowrap;
  background: #f0f2f3;
  color: #64717a;
}
.status svg {
  width: 13px;
  height: 13px;
}
.status.good {
  background: var(--green-bg);
  color: var(--green);
}
.status.bad {
  background: var(--red-bg);
  color: var(--red);
}
.status.warn {
  background: var(--amber-bg);
  color: var(--amber);
}
.roles {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 25px;
  margin-bottom: 21px;
  overflow-x: auto;
}
.route-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-bottom: 22px;
}
.route-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}
.route-emails {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.route-emails > svg {
  width: 18px;
  height: 18px;
  color: #8a978f;
}
.route-label {
  display: block;
  font-size: 11px;
  color: #8a978f;
  margin-bottom: 6px;
}
.route-email {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
  color: #4d6054;
}
.route-status {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  color: #8a978f;
  font-size: 10px;
  margin-top: 16px;
}
.role-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: transparent;
  color: #79857e;
  padding: 0 2px 13px;
  min-height: 38px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  font-size: 13px;
}
.role-tab.active {
  color: var(--green);
  border-bottom-color: var(--green);
  font-weight: 600;
}
.role-tab svg {
  width: 15px;
  height: 15px;
}
.credential-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.key-line {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
}
.key-line > svg {
  width: 17px;
  height: 17px;
  color: #6a7971;
}
.key-masked {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: #4d5b52;
}
.key-meta {
  font-size: 11px;
  margin-top: 7px;
  color: #829087;
}
.switch-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #7a877f;
  margin-top: 9px;
}
.switch-label input {
  accent-color: var(--green);
  width: 14px;
  height: 14px;
  margin: 0;
}

.bnb-burn-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin: 12px 0;
}
.bnb-burn-row, .bnb-burn-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bnb-burn-row { justify-content: space-between; flex-wrap: wrap; }
.bnb-burn-row h3 { font-size: 14px; margin: 0; }
.bnb-burn-controls { font-size: 13px; }
.bnb-burn-controls [role="status"] { min-width: 5em; }
.bnb-burn-controls input[role="switch"] {
  appearance: none;
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background: #8b9299;
  margin: 0;
  cursor: pointer;
  position: relative;
  flex: 0 0 36px;
}
.bnb-burn-controls input[role="switch"]::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background: #fff;
}
.bnb-burn-controls input[role="switch"]:checked { background: #16816b; }
.bnb-burn-controls input[role="switch"]:checked::before { transform: translateX(16px); }
.bnb-burn-controls input[role="switch"]:disabled { opacity: .45; cursor: not-allowed; }
.bnb-burn-controls input[role="switch"]:focus-visible { outline: 2px solid #16816b; outline-offset: 3px; }
.permission-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 23px 0 15px;
}
.permission-heading .check-summary {
  color: #718077;
  font-size: 12px;
}
.permission-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.permission-table th {
  font-size: 11px;
  font-weight: 500;
  color: #819088;
  background: #f8faf9;
  padding: 10px 11px;
  text-align: left;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.permission-table th:first-child {
  width: 38%;
}
.permission-table th:not(:first-child) {
  width: 20.66%;
}
.permission-table td {
  padding: 16px 11px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.permission-label {
  font-weight: 500;
  font-size: 13px;
}
.field-code {
  display: block;
  font:
    10px/1.6 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  color: #91a096;
  overflow-wrap: anywhere;
  margin-top: 2px;
}
.requirement {
  color: #566a5d;
  font-size: 11px;
  white-space: nowrap;
}
.requirement.optional {
  color: #929d96;
}
.actual-state {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: #4b5b52;
  white-space: nowrap;
  font-size: 12px;
}
.actual-state svg {
  width: 14px;
  height: 14px;
  color: #7e9184;
}
.check-time {
  font-size: 11px;
  color: #8a968e;
  margin: 13px 0 18px;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.check-time svg {
  width: 13px;
  height: 13px;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 13px 14px;
  background: #fff8ed;
  border-left: 3px solid #c59539;
  margin: 16px 0;
  font-size: 12px;
  line-height: 1.65;
  color: #86631f;
  overflow-wrap: anywhere;
}
.notice svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
}
.notice.error {
  background: #fdf1f2;
  border-color: #bb4e5d;
  color: #a1424f;
}
.notice.neutral {
  background: #f4f7f6;
  border-color: #b0c4b8;
  color: #617669;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
summary {
  cursor: pointer;
  color: #66796c;
  font-size: 12px;
}
.extra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 25px;
  padding: 18px 0 4px;
}
.extra-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #77887c;
}
.extra-item span {
  overflow-wrap: anywhere;
}
.empty {
  padding: 40px 16px;
  text-align: center;
  color: #8a9790;
  font-size: 13px;
  line-height: 1.8;
}
.empty svg {
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 auto 12px;
  color: #aebbb3;
}
.binance-onboarding {
  border-block: 1px solid var(--line);
  padding: 28px 0 8px;
}
.onboarding-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.onboarding-heading h2,
.step-content h3 {
  margin: 0;
}
.onboarding-heading h2 {
  font-size: 18px;
}
.onboarding-heading p,
.step-content p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.onboarding-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 6px;
  color: #8a6415;
  background: #fff6da;
}
.onboarding-icon svg {
  width: 21px;
  height: 21px;
}
.onboarding-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.onboarding-steps > li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  padding: 0 0 24px;
}
.step-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #cfd9d3;
  border-radius: 50%;
  color: #3f6552;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
}
.step-content {
  min-width: 0;
}
.step-content h3 {
  font-size: 14px;
}
.step-content > .btn {
  display: inline-flex;
  margin-top: 12px;
}
.btn[href] {
  text-decoration: none;
}
.api-requirements {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 16px 0 0;
  padding: 1px;
  background: var(--line);
}
.api-requirements > div {
  min-width: 0;
  padding: 12px;
  background: #f8faf9;
}
.api-requirements dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
}
.api-requirements dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.api-requirements code {
  display: inline-block;
  margin: 2px 6px 2px 0;
  padding: 2px 5px;
  border-radius: 3px;
  color: #315842;
  background: #eaf2ed;
  font-size: 10px;
}
.credential-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.credential-guide strong,
.credential-guide span {
  display: block;
}
.credential-guide strong {
  font-size: 13px;
}
.credential-guide span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}
.api-requirements.compact {
  grid-template-columns: 1fr;
  margin-bottom: 20px;
}
.simulation-empty {
  border-top: 1px solid var(--line);
  padding: 80px 0;
}
.audit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  table-layout: fixed;
}
.audit-table th,
.audit-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.audit-table th {
  font-size: 11px;
  background: #f8faf9;
  color: #829087;
  font-weight: 500;
}
.audit-table th:first-child {
  width: 175px;
}
.audit-table td small {
  display: block;
  color: #89968d;
  margin-top: 4px;
  font-size: 10px;
}
.login-wrap {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background: #f5f7f6;
  padding: 24px;
}
.login-tool {
  width: 100%;
  max-width: 380px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
}
.login-tool .brand {
  padding: 0 0 28px;
}
.login-tool h1 {
  font-size: 20px;
  margin-bottom: 24px;
}
.form-field {
  margin-bottom: 19px;
}
.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #5b6d60;
}
.form-field input,
.form-field select {
  width: 100%;
  height: 40px;
  border: 1px solid #dce3de;
  border-radius: 5px;
  padding: 9px 11px;
  background: #fff;
  color: #314e3c;
}
.form-field input:focus {
  border-color: #80af99;
}
#operation-review-form textarea {
  display: block;
  width: 100%;
  min-height: 76px;
  resize: vertical;
  border: 1px solid #dce3de;
  border-radius: 5px;
  padding: 9px 11px;
  background: #fff;
  color: #314e3c;
  font: inherit;
}
#operation-review-form textarea:focus {
  border-color: #80af99;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 43px;
}
.password-wrap .icon-btn {
  position: absolute;
  right: 4px;
  top: 3px;
}
.full-width {
  width: 100%;
}
.form-error {
  color: var(--red);
  background: var(--red-bg);
  padding: 10px 12px;
  border-radius: 4px;
  margin: 12px 0;
  font-size: 12px;
  line-height: 1.6;
}
.form-error:empty {
  display: none;
}
dialog {
  border: 1px solid #dbe2dd;
  border-radius: 8px;
  max-width: 480px;
  max-height: calc(100dvh - 32px);
  width: calc(100% - 32px);
  padding: 0;
  overflow-y: auto;
  color: #263c2d;
  box-shadow: 0 18px 80px #14251c24;
}
dialog::backdrop {
  background: #17231c66;
}
.modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.modal-heading h2 {
  font-size: 17px;
}
.modal-body {
  padding: 22px;
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding-top: 5px;
}
.modal-account {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #7a8c7f;
}
.modal-account img {
  width: 17px;
  height: 17px;
}
.spinner {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  background: #24382c;
  color: #fff;
  border-radius: 6px;
  padding: 11px 17px;
  font-size: 12px;
  max-width: calc(100% - 32px);
  transition: 0.15s;
  z-index: 10;
  line-height: 1.6;
}
#toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
#toast.error {
  background: #953b47;
}
@media (min-width: 1500px) {
  .account-layout {
    grid-template-columns: 285px minmax(0, 1fr);
  }
  .roles {
    gap: 35px;
  }
  .permission-table td {
    padding-top: 19px;
    padding-bottom: 19px;
  }
}
@media (max-width: 1120px) {
  .shell {
    grid-template-columns: 178px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 10px;
    padding-right: 10px;
  }
  .topbar {
    padding: 0 24px;
  }
  .page {
    padding: 24px;
  }
  .account-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
  }
  .account-sidebar {
    padding-right: 15px;
  }
  .roles {
    gap: 16px;
  }
  .permission-table th:first-child {
    width: 35%;
  }
  .permission-table th:not(:first-child) {
    width: 21.66%;
  }
  .permission-table td,
  .permission-table th {
    padding-left: 7px;
    padding-right: 7px;
  }
}
@media (max-width: 820px) {
  .shell {
    display: block;
  }
  .sidebar {
    height: auto;
    position: static;
    padding: 12px 18px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    padding: 0;
    font-size: 15px;
    gap: 7px;
    white-space: nowrap;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
  }
  .nav-label {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 5px;
    margin-left: auto;
  }
  .nav-item {
    margin: 0;
    padding: 8px;
    min-height: 32px;
    width: auto;
    gap: 6px;
    font-size: 12px;
  }
  .sidebar-footer {
    margin: 0;
    padding: 0;
    border: 0;
  }
  .sidebar-footer .avatar,
  .user-text {
    display: none;
  }
  .topbar {
    height: 45px;
    padding: 0 18px;
  }
  .page {
    padding: 22px 18px;
  }
  .account-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 18px;
  }
  .summary-item {
    padding: 0 18px;
  }
  .summary-value {
    font-size: 23px;
  }
  .credential-row {
    align-items: flex-start;
  }
  .roles {
    gap: 10px;
  }
  .role-tab {
    font-size: 12px;
    gap: 4px;
  }
  .role-tab svg {
    width: 13px;
    height: 13px;
  }
  .permission-table .status {
    padding: 4px;
    font-size: 10px;
  }
}
@media (max-width: 650px) {
  .sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 11px 12px;
  }
  .sidebar nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin: 0;
  }
  .sidebar-footer {
    grid-column: 2;
    grid-row: 1;
  }
  .sidebar .brand {
    font-size: 14px;
  }
  .sidebar .brand-mark {
    width: 25px;
    height: 25px;
  }
  .nav-item {
    gap: 4px;
    justify-content: center;
    white-space: nowrap;
    font-size: 12px;
    padding: 7px 6px;
  }
  .nav-item svg {
    width: 14px;
    height: 14px;
  }
  .sidebar-footer .icon-btn {
    width: 27px;
  }
  .topbar {
    padding: 0 16px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .env-label {
    font-size: 10px;
  }
  .env-label img {
    width: 16px;
    height: 16px;
  }
  .page {
    padding: 22px 16px;
  }
  h1 {
    font-size: 22px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }
  .page-heading .muted {
    font-size: 11px;
  }
  .page-heading .toolbar {
    gap: 3px;
  }
  .page-heading .toolbar .btn {
    font-size: 12px;
    padding: 8px 10px;
  }
  .summary-band {
    padding: 16px 0;
    margin-bottom: 22px;
  }
  .summary-item {
    padding: 0 13px;
  }
  .summary-label {
    font-size: 10px;
    gap: 5px;
    margin-bottom: 9px;
  }
  .summary-value {
    font-size: 22px;
  }
  .summary-value span {
    display: block;
    margin: 6px 0 0;
    font-size: 10px;
  }
  .account-layout {
    display: block;
  }
  .account-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 14px;
    margin-bottom: 22px;
  }
  .account-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .account-item {
    min-width: 205px;
    max-width: 260px;
    margin: 0;
    min-height: 91px;
  }
  .search {
    margin-bottom: 9px;
  }
  .segmented {
    margin-bottom: 11px;
  }
  .detail-header {
    padding-bottom: 16px;
  }
  .detail h2 {
    font-size: 17px;
  }
  .roles {
    justify-content: space-between;
    gap: 5px;
    margin-bottom: 17px;
  }
  .role-tab {
    font-size: 12px;
    padding-bottom: 11px;
  }
  .credential-row {
    gap: 15px;
    padding-bottom: 18px;
  }
  .credential-row .toolbar {
    width: 100%;
    justify-content: flex-end;
  }
  .permission-heading {
    padding-top: 20px;
  }
  .permission-table th:first-child {
    width: 36%;
  }
  .permission-table th:not(:first-child) {
    width: 21.33%;
  }
  .permission-table td {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .permission-label {
    font-size: 12px;
  }
  .field-code {
    font-size: 9px;
    line-height: 1.45;
  }
  .requirement {
    font-size: 10px;
  }
  .actual-state {
    font-size: 11px;
    gap: 3px;
  }
  .actual-state svg {
    width: 12px;
    height: 12px;
  }
  .permission-table .status {
    gap: 3px;
  }
  .permission-table .status svg {
    width: 11px;
    height: 11px;
  }
  .notice {
    font-size: 11px;
  }
  .audit-table th:first-child {
    width: 91px;
  }
  .audit-table td,
  .audit-table th {
    padding: 12px 7px;
  }
  .audit-table .audit-actor {
    display: none;
  }
  .extra-grid {
    gap: 12px 18px;
  }
  .extra-item {
    font-size: 10px;
  }
  .login-tool {
    padding: 26px;
  }
  .modal-body {
    padding: 18px;
  }
  .modal-heading {
    padding: 17px 18px;
  }
}

.login-brand-image { width: 28px; height: 28px; }
.auth-tabs { display: flex; margin-bottom: 24px; }
.auth-tabs button { flex: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.customer-shell { min-height: 100dvh; display: flex; flex-direction: column; }
.customer-header, .customer-nav, .customer-main, .customer-footer {
  width: min(1180px, calc(100% - 64px)); margin-inline: auto;
}
.customer-header { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 20px; }
.customer-brand { padding: 0; color: inherit; text-decoration: none; }
.customer-brand img { width: 30px; height: 30px; }
.customer-brand small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.customer-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.customer-username { font-size: 12px; max-width: 220px; overflow-wrap: anywhere; }
.customer-nav { display: flex; border-bottom: 1px solid var(--line); gap: 8px; }
.customer-nav button { background: transparent; color: var(--muted); border-bottom: 2px solid transparent; padding: 16px 20px; display: flex; align-items: center; justify-content: center; gap: 9px; white-space: nowrap; min-height: 54px; }
.customer-nav button.active { color: var(--green); border-bottom-color: var(--green); background: #f6faf8; }
.customer-nav svg { width: 17px; height: 17px; }
.customer-main { flex: 1; padding-block: 32px 52px; }
.customer-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 24px; }
.customer-heading h1 { font-size: 25px; margin: 0; }
.customer-account-picker { display: flex; align-items: center; gap: 8px; min-width: 0; }
.customer-account-picker select { width: 220px; max-width: 100%; height: 38px; background: white; border: 1px solid var(--line); border-radius: 4px; padding: 0 10px; color: inherit; }
.customer-status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block: 14px; }
.asset-summaries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding-block: 24px; border-block: 1px solid var(--line); }
.asset-summary { min-width: 0; }
.asset-summary-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.asset-summary h2 { font-size: 16px; margin: 0; }
.asset-email { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; margin: 10px 0 20px; }
.asset-total { display: block; font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; margin: 10px 0; overflow-wrap: anywhere; }
.asset-sync, .asset-warning { font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.asset-sync { color: var(--muted); }
.asset-warning { color: #996414; margin-top: 6px; }
.asset-details { padding-block: 24px; }
.asset-detail-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.asset-detail-toolbar .roles { margin: 0; }
.asset-zero { display: flex; align-items: center; gap: 8px; font-size: 12px; white-space: nowrap; }
.asset-filters { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.asset-filters > div { flex: 1; min-width: 0; }
.asset-filters label { display: block; color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.asset-filters select { width: 100%; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; background: white; color: inherit; font: inherit; }
.asset-table td { white-space: nowrap; }
.asset-table .customer-asset { white-space: nowrap; }
.asset-table th:not(:first-child), .asset-table td:not(:first-child) { text-align: right; }
.transfer-asset-balances { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; border-block: 1px solid var(--line); padding: 16px 0; }
.transfer-asset-balances > div { min-width: 0; font-size: 12px; }
.transfer-asset-balances strong { display: block; margin: 10px 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.transfer-asset-balances small { display: block; color: var(--muted); margin-top: 8px; }
@media (max-width: 600px) {
  .asset-summaries { gap: 24px; grid-template-columns: minmax(0, 1fr); }
  .asset-summary + .asset-summary { border-top: 1px solid var(--line); padding-top: 24px; }
  .asset-filters { flex-direction: column; }
  .asset-total { font-size: 22px; }
}
.customer-metrics { display: grid; grid-template-columns: 1.1fr 1fr 1fr; border-block: 1px solid var(--line); padding: 26px 0; gap: 28px; margin-top: 24px; }
.customer-metrics > div { min-width: 0; }
.customer-metrics span { display: block; color: var(--muted); font-size: 12px; }
.customer-metrics strong { display: block; margin-top: 12px; font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.customer-metrics .customer-date { font-size: 17px; line-height: 1.6; }
.customer-section { padding-block: 28px; border-bottom: 1px solid var(--line); }
.customer-section h2, .customer-section-heading h2 { font-size: 17px; margin: 0; }
.customer-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.commission-amount { display: block; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  table.period-fee-table { min-width: 0; table-layout: fixed; }
  .period-fee-table th:first-child { width: 35%; }
  .period-fee-table td, .period-fee-table th { overflow-wrap: anywhere; white-space: normal; }
  .period-fee-table td:nth-child(n+3), .period-fee-table th:nth-child(n+3) { display: none; }
}
.customer-table-scroll { overflow-x: auto; max-width: 100%; }
.customer-table { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 13px; }
.customer-table th { background: #f6f8f9; color: var(--muted); font-size: 11px; font-weight: 500; text-align: left; padding: 13px 12px; white-space: nowrap; }
.customer-table td { padding: 16px 12px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; max-width: 230px; }
.customer-table th:first-child, .customer-table td:first-child { padding-left: 12px; }
.customer-asset { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.customer-asset svg { width: 17px; height: 17px; color: #b78924; }
.customer-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; margin: 22px 0; }
.customer-facts div { min-width: 0; }
.customer-facts dt { color: var(--muted); font-size: 12px; margin-bottom: 7px; }
.customer-facts dd { margin: 0; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.customer-cycle-empty { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); }
.customer-start-readiness { display: grid; gap: 18px; padding-bottom: 24px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.customer-start-intro { display: grid; gap: 6px; }
.customer-start-intro strong { font-size: 15px; }
.customer-start-intro span { color: var(--muted); font-size: 13px; line-height: 1.7; }
.customer-start-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 0; list-style: none; }
.customer-start-steps li { display: flex; align-items: flex-start; gap: 9px; min-width: 0; color: var(--muted); }
.customer-start-steps li.complete { color: var(--green); }
.customer-start-steps li > span:last-child { display: grid; gap: 4px; min-width: 0; }
.customer-start-steps strong { color: #22292e; font-size: 13px; }
.customer-start-steps small { font-size: 11px; line-height: 1.5; }
.start-step-icon { flex: 0 0 auto; display: flex; padding-top: 1px; }
.start-step-icon svg { width: 17px; height: 17px; }
.customer-empty { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.customer-empty svg { width: 30px; height: 30px; color: #8d9e98; }
.customer-empty p { margin: 0; }
.customer-empty-actions { display: flex; justify-content: center; margin-top: 22px; }
.customer-loading { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 260px; color: var(--muted); }
.customer-pagination { display: flex; justify-content: flex-end; gap: 10px; align-items: center; padding-top: 18px; font-size: 12px; color: var(--muted); }
.customer-pagination span { min-width: 70px; text-align: center; }
.customer-footer { border-top: 1px solid var(--line); padding-block: 22px; display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.customer-authorization { padding-top: 14px; }
.customer-authorization .detail-header { padding-inline: 0; }
.customer-dialog { max-height: calc(100dvh - 110px); overflow-y: auto; }
.customer-dialog .customer-table { min-width: 0; table-layout: fixed; font-size: 12px; }
.customer-dialog .customer-table th { white-space: normal; padding: 10px 8px; overflow-wrap: anywhere; }
.customer-dialog .customer-table td { padding: 12px 8px; }
.customer-dialog .customer-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; margin: 12px 0 20px; }
.customer-balance-audit { margin: 4px 0 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.customer-balance-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.customer-balance-heading h3 { margin: 0; font-size: 14px; }
.customer-balance-heading span { color: var(--muted); font-size: 11px; }
.customer-balance-audit .customer-table th:not(:first-child),
.customer-balance-audit .customer-table td:not(:first-child) { text-align: right; font-family: ui-monospace, SFMono-Regular, monospace; }
.customer-dialog .operator-real-ack { padding: 10px 0; }
.customer-dialog .modal-footer { position: sticky; bottom: -18px; background: white; padding: 14px 0 2px; border-top: 1px solid var(--line); }
.customer-dialog .notice { margin-top: 0; }
.customer-ref { font-family: ui-monospace, SFMono-Regular, monospace; font-size: 12px; }
.policy-rules-table { min-width: 360px; }
.policy-rules-table input { width: 120px; max-width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 4px; }
@media (max-width: 760px) {
  .customer-header, .customer-nav, .customer-main, .customer-footer { width: calc(100% - 32px); }
  .customer-header { min-height: 76px; gap: 12px; }
  .customer-brand { font-size: 16px; }
  .customer-brand img { width: 25px; height: 25px; }
  .customer-identity { gap: 3px; }
  .customer-username { display: none; }
  .customer-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
  .customer-nav button { padding: 12px 0; flex-direction: column; gap: 7px; font-size: 11px; }
  .customer-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .customer-heading h1 { font-size: 23px; }
  .customer-account-picker { width: 100%; }
  .customer-account-picker select { flex: 1; width: 0; }
  .customer-main { padding-top: 24px; }
  .customer-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .customer-metrics > div:last-child { grid-column: 1 / -1; }
  .customer-metrics strong { font-size: 22px; }
  .customer-metrics .customer-date { font-size: 16px; }
  .customer-section { padding-block: 24px; }
  .customer-facts { gap: 20px 14px; }
  .customer-cycle-empty { align-items: flex-start; flex-direction: column; }
  .customer-start-steps { grid-template-columns: 1fr; gap: 13px; }
  .customer-authorization .detail-title-row { flex-wrap: wrap; }
  .customer-authorization .route-section { padding-inline: 0; }
  .api-requirements { grid-template-columns: 1fr; }
  .credential-guide { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 360px) {
  .customer-header, .customer-nav, .customer-main, .customer-footer { width: calc(100% - 24px); }
  .customer-facts { grid-template-columns: 1fr; }
  .customer-metrics strong { font-size: 19px; }
}
