:root {
  font-family:"Segoe UI","Microsoft YaHei",sans-serif;
  color:#243b38;
  background:#f4f5f2;
  font-synthesis:none;
  --accent:#177866;
  --ink:#132b2a;
  --line:#e2e7e1;
  --muted:#76827c;
  --purple:#177866
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
button,input,select {
  font:inherit
}
button,a {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer;
  border:0;
  border-radius:7px;
  padding:11px 16px;
  transition:background .16s,box-shadow .16s
}
button:disabled {
  cursor:wait;
  opacity:.5
}
a {
  color:inherit;
  text-decoration:none
}
[hidden] {
  display:none!important
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
  outline:3px solid #8ed4bf;
  outline-offset:3px
}
h1,h2,h3,p {
  margin-top:0
}
h1 {
  font-size:30px;
  font-weight:600;
  letter-spacing:-1px;
  margin-bottom:9px
}
h2 {
  font-size:23px;
  font-weight:600
}
h3 {
  font-size:15px;
  font-weight:600
}
p {
  line-height:1.7
}
.primary {
  background:var(--accent);
  color:#fff;
  font-weight:600;
  box-shadow:0 3px 6px #153e2f0d
}
.primary:hover {
  background:#105b4d
}
.secondary {
  background:#fff;
  border:1px solid #d7dfd8;
  color:#36534a;
  font-size:12px
}
.secondary:hover {
  background:#edf2ec
}
.quiet {
  background:transparent;
  color:#5b7167;
  padding:7px 9px;
  font-size:12px
}
.quiet:hover {
  background:#eaf1e9;
  color:var(--accent)
}
.danger {
  color:#b24e4e;
  background:#fff0ed
}
.muted {
  color:var(--muted);
  font-size:13px
}
.small {
  font-size:11px
}
.eyebrow {
  font-size:10px;
  font-weight:600;
  letter-spacing:2px;
  color:#7a8e82;
  margin-bottom:12px
}
.brand {
  display:block;
  font-size:52px;
  font-weight:750;
  line-height:.8;
  letter-spacing:-2px;
  color:#f7faf3
}
.brand span {
  display:block;
  font-size:8px;
  letter-spacing:1.7px;
  color:#8ba89a;
  margin-top:15px;
  font-weight:400;
  line-height:1.4
}
.shell {
  display:flex;
  min-height:100vh
}
.sidebar {
  width:248px;
  flex:none;
  background:var(--ink);
  color:#9eb2a7;
  position:fixed;
  inset:0 auto 0 0;
  padding:36px 22px 22px;
  display:flex;
  flex-direction:column;
  z-index:2
}
.sidebar .brand {
  padding:0 14px
}
.workspace-card {
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid #ffffff17;
  border-radius:9px;
  margin-top:36px;
  padding:13px 12px;
  background:#ffffff04;
  min-width:0
}
.workspace-avatar {
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  flex:none;
  background:#c6d8a5;
  color:#233e32;
  border-radius:7px;
  font-size:14px;
  font-weight:700
}
.workspace-card>div {
  min-width:0
}
.workspace-card strong {
  display:block;
  font-size:12px;
  color:#edf3e9;
  font-weight:500;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  max-width:126px
}
.workspace-card>div>span {
  display:block;
  font-size:10px;
  color:#8caa9b;
  margin-top:5px
}
.workspace-lock {
  margin-left:auto;
  font-size:16px;
  color:#9cae94
}
.nav-label {
  font-size:9px;
  letter-spacing:1.5px;
  color:#789486;
  margin:33px 12px 15px;
  display:flex;
  justify-content:space-between
}
.nav-label span {
  letter-spacing:0;
  color:#6d8a7d
}
nav {
  display:grid;
  gap:6px
}
nav button {
  background:transparent;
  text-align:left;
  color:#a1b5a9;
  padding:13px 14px;
  display:flex;
  align-items:center;
  gap:14px;
  font-size:13px;
  border:1px solid transparent
}
nav button .nav-icon {
  width:20px;
  text-align:center;
  font-size:19px;
  line-height:20px
}
nav button:hover {
  background:#ffffff08;
  color:#fff
}
nav button.active {
  background:#c8dca319;
  border-color:#d5e4b812;
  color:#dae8b9;
  box-shadow:inset 2px 0 #c2d99a
}
nav button[aria-current=page] {
  color:#dce8c7
}
.sidebar-note {
  margin-top:auto;
  padding:38px 14px 24px
}
.sidebar-note>span {
  font-size:8px;
  letter-spacing:1.5px;
  color:#6b8d7c
}
.sidebar-note p {
  font-size:20px;
  line-height:1.65;
  font-weight:300;
  color:#b4c6b8;
  margin:12px 0
}
.sidebar-note a {
  font-size:11px;
  color:#b9cf9f
}
.sidebar-bottom {
  border-top:1px solid #ffffff12;
  padding-top:20px;
  font-size:8px;
  letter-spacing:1px;
  display:flex;
  align-items:center;
  gap:7px
}
.connection-dot {
  width:5px;
  height:5px;
  background:#bad396;
  border-radius:50%
}
.version {
  margin-left:auto;
  color:#779082
}
.workspace {
  margin-left:248px;
  flex:1;
  min-width:0
}
.topbar {
  height:78px;
  background:#fbfcf9;
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 36px;
  gap:10px
}
.breadcrumb {
  font-size:12px;
  color:#849087
}
.breadcrumb span {
  margin:0 12px;
  color:#bcc8bc
}
.breadcrumb strong {
  font-weight:500;
  color:#3c5348
}
.profile {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:12px
}
.profile-avatar {
  display:grid;
  place-items:center;
  background:#dbe6d7;
  color:#38513f;
  width:30px;
  height:30px;
  border-radius:50%;
  font-weight:600
}
#identity {
  font-size:11px;
  color:#4d6358
}
.profile button {
  font-size:11px
}
main {
  padding:34px 36px 18px;
  max-width:1600px;
  margin:auto
}
.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:28px
}
.page-heading p:last-child {
  margin:0
}
.page-tools {
  display:flex;
  align-items:center;
  gap:16px;
  flex:none
}
.page-tools>span {
  font-size:11px;
  color:#79857b
}
.welcome-strip {
  position:relative;
  isolation:isolate;
  background:#193b32;
  color:#fff;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:27px 30px;
  border-radius:12px;
  overflow:hidden;
  margin-bottom:24px;
  min-height:154px
}
.welcome-strip:after {
  content:"";
  z-index:-1;
  position:absolute;
  right:45px;
  top:-140px;
  width:450px;
  height:450px;
  border:1px solid #c2d7a51a;
  border-radius:50%;
  box-shadow:0 0 0 38px #c2d7a507,0 0 0 78px #c2d7a507
}
.welcome-strip .eyebrow {
  color:#b9d09f;
  font-size:9px;
  letter-spacing:1.5px
}
.welcome-strip h2 {
  font-size:25px;
  letter-spacing:-.6px;
  font-weight:500;
  margin:0 0 8px
}
.welcome-strip p:last-child {
  font-size:12px;
  color:#b4c6b7;
  margin:0
}
.welcome-action {
  background:#d4e2b7;
  color:#243f2b;
  white-space:nowrap;
  font-size:12px;
  padding:12px 18px
}
.welcome-action:hover {
  background:#e0ecc6
}
.stats {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-bottom:24px
}
.stat {
  padding:22px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  position:relative;
  box-shadow:0 3px 9px #193d2603
}
.stat-label {
  color:#718176;
  font-size:12px;
  margin-bottom:20px
}
.stat-number {
  font-size:35px;
  font-weight:550;
  line-height:1;
  letter-spacing:-1.3px;
  font-variant-numeric:tabular-nums
}
.stat-foot {
  font-size:10px;
  color:#8b968b;
  margin-top:15px
}
.stat-icon {
  position:absolute;
  right:19px;
  top:19px;
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:8px;
  color:#63876b;
  background:#f0f4eb;
  font-size:16px
}
.panel {
  background:#fff;
  border:1px solid var(--line);
  border-radius:11px;
  margin-bottom:24px;
  overflow:hidden;
  min-width:0;
  box-shadow:0 3px 9px #193d2603
}
.panel-heading {
  padding:22px 24px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px
}
.panel-heading h3 {
  margin:0 0 6px
}
.panel-heading p {
  margin:0;
  font-size:10px;
  color:#859186
}
.panel-body {
  padding:0 24px 24px
}
.table-scroll {
  overflow:auto;
  max-width:100%
}
table {
  width:100%;
  border-collapse:collapse;
  font-size:11px;
  white-space:nowrap;
  text-align:left
}
th {
  background:#f7f9f5;
  border-top:1px solid #edf0e9;
  border-bottom:1px solid var(--line);
  padding:13px 22px;
  font-weight:500;
  color:#869183;
  font-size:10px
}
td {
  padding:17px 22px;
  border-bottom:1px solid #edf0e9
}
tbody tr:last-child td {
  border-bottom:0
}
tbody tr:hover {
  background:#fbfcf8
}
td .quiet {
  font-size:11px;
  padding:5px 7px
}
.cell-title {
  font-weight:600;
  margin-bottom:5px
}
.subtext {
  font-size:10px;
  color:#8f9b90
}
.mono {
  font-family:Consolas,monospace;
  font-size:11px
}
.badge {
  display:inline-flex;
  align-items:center;
  font-size:10px;
  border-radius:5px;
  padding:5px 8px;
  background:#f0f3ed;
  color:#7b887a;
  gap:6px;
  white-space:nowrap
}
.badge:before {
  content:"";
  width:4px;
  height:4px;
  border-radius:50%;
  background:currentColor
}
.badge.good {
  color:#36795f;
  background:#edf5eb
}
.badge.pending {
  color:#a57f31;
  background:#fff7e8
}
.badge.bad {
  color:#b3605c;
  background:#fff1ee
}
.badge.purple {
  color:#4f7c70;
  background:#eef5f0
}
.empty {
  padding:36px;
  text-align:center;
  color:#8b9689;
  font-size:12px
}
.two-column {
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);
  gap:22px
}
.two-column>.panel {
  height:calc(100% - 24px)
}
.chart-body {
  padding:0 23px 21px
}
.chart-body svg {
  display:block;
  width:100%;
  height:172px
}
.chart-grid {
  stroke:#edf1e9;
  stroke-dasharray:3 4
}
.chart-bar {
  fill:#78a78b
}
.chart-bar:hover {
  fill:#1c7159
}
.chart-label {
  font-size:10px;
  fill:#8b9787
}
.chart-value {
  font-size:10px;
  fill:#40664f
}
.settlement-list {
  padding:0 24px 15px;
  min-height:190px
}
.settlement-currency {
  padding:0 0 12px
}
.settlement-currency+.settlement-currency {
  border-top:1px solid var(--line);
  padding-top:12px
}
.settlement-row {
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:17px;
  font-size:12px;
  color:#7c897c
}
.settlement-row strong {
  font-size:16px;
  font-weight:550;
  color:#2c4e3e;
  font-variant-numeric:tabular-nums
}
.guide {
  display:flex;
  gap:14px;
  padding:17px 0
}
.guide-number {
  background:#edf3e6;
  border-radius:8px;
  width:31px;
  height:31px;
  flex:none;
  display:grid;
  place-items:center;
  font-size:11px;
  color:var(--accent)
}
.guide h3 {
  font-size:12px;
  margin:0 0 6px
}
.guide p {
  font-size:11px;
  margin:0;
  color:#859180
}
.integration-flow {
  padding:0 24px 20px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px
}
.integration-flow p {
  overflow-wrap:anywhere
}
.filters {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  padding:0 24px 23px;
  align-items:end
}
.filters label {
  margin:0;
  min-width:130px;
  flex:1
}
.filters input,.filters select {
  padding:9px 10px;
  min-width:0
}
.filters button {
  padding:10px 18px
}
.pagination {
  padding:14px 24px;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:11px;
  color:#8c998a
}
.pagination button {
  font-size:11px
}
label {
  display:block;
  font-size:12px;
  font-weight:500;
  color:#596e60;
  margin:18px 0
}
input,select {
  width:100%;
  border:1px solid #d9e1d5;
  border-radius:6px;
  padding:12px;
  background:#fff;
  color:#344b3b;
  margin-top:8px;
  min-width:0
}
input:disabled,select:disabled {
  background:#f3f6ef;
  color:#8b9987
}
input[type=checkbox] {
  width:auto;
  margin:0 9px 0 0;
  accent-color:var(--accent)
}
.check-label {
  display:flex;
  align-items:center;
  margin:13px 0
}
.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 18px
}
.form-grid label {
  margin:10px 0
}
.error {
  font-size:12px;
  color:#b65450;
  white-space:pre-wrap
}
.error:empty {
  display:none
}
#notice {
  padding:13px 17px;
  border-radius:7px;
  background:#e8f2e5;
  color:#39734c;
  font-size:12px;
  margin:-10px 0 20px
}
#notice.error {
  background:#fff0ed;
  color:#b65450
}
dialog {
  border:1px solid #dbe3d4;
  border-radius:15px;
  padding:0;
  width:700px;
  max-width:calc(100vw - 32px);
  max-height:88vh;
  color:var(--ink);
  box-shadow:0 30px 90px #0e271d40
}
dialog::backdrop {
  background:#0a211d88;
  backdrop-filter:blur(4px)
}
.modal-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  padding:22px 26px;
  position:sticky;
  top:0;
  background:white;
  z-index:1
}
.modal-header h2 {
  font-size:19px;
  margin:0
}
.modal-content {
  padding:12px 26px 26px
}
.modal-actions {
  display:flex;
  justify-content:flex-end;
  gap:12px;
  margin-top:24px
}
.credential-options {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin: 16px 0;
}
.welcome-actions,.secret-actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.merchant-secret-control label {
  margin-top:12px;
}
.merchant-secret-value {
  width:100%;
  min-width:0;
  border:1px solid #d9e1d5;
  border-radius:7px;
  padding:13px;
  margin-top:8px;
  background:#f8faf5;
  color:#254a39;
  font:13px/1.8 Consolas,monospace;
  resize:vertical;
  overflow-wrap:anywhere;
  word-break:break-all;
}
.integration-page {
  max-width:1440px;
}
.credential-options summary {
  color: var(--accent);
  cursor: pointer;
  font-size: 12px;
}
.hint {
  font-size:11px;
  line-height:1.8;
  color:#84917f
}
.details,.secret {
  padding:18px;
  background:#f4f7ef;
  border:1px solid var(--line);
  border-radius:7px;
  font:11px/1.8 Consolas,monospace;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  max-height:50vh;
  overflow:auto
}
.secret {
  color:#376347;
  user-select:all
}
.game-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,370px));
  gap:23px;
  margin-bottom:24px
}
.game-catalog th, .game-catalog td { padding:14px 16px }
.game-catalog .game-rule-version { display:block; max-width:170px; white-space:normal; overflow-wrap:anywhere }
.game-card {
  padding:28px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px
}
.game-monogram {
  display:grid;
  place-items:center;
  width:70px;
  height:70px;
  border-radius:14px;
  background:#1b3e30;
  color:#d2dda9;
  font:italic 27px Georgia,serif;
  margin-bottom:24px
}
.game-card h2 {
  font-size:20px
}
.game-info {
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-bottom:1px solid var(--line);
  padding:16px 0;
  font-size:12px
}
.game-card .hint {
  margin-top:20px
}
.merchant-banner {
  display:flex;
  align-items:center;
  gap:20px;
  background:#e8eee0;
  border:1px solid #dce4cf;
  border-radius:12px;
  padding:26px;
  margin-bottom:24px
}
.merchant-banner h2 {
  margin:0 0 7px
}
.merchant-banner .eyebrow {
  margin-bottom:7px
}
.merchant-banner>.badge {
  margin-left:auto
}
.merchant-avatar {
  display:grid;
  place-items:center;
  width:64px;
  height:64px;
  flex:none;
  border-radius:14px;
  background:#264d36;
  color:#deebc5;
  font-size:27px
}
.property {
  display:flex;
  flex-direction:column;
  gap:9px;
  padding:16px 0;
  border-bottom:1px solid #edf0e8;
  overflow-wrap:anywhere
}
.property>span {
  font-size:11px;
  color:#87947f
}
.property>strong {
  font-size:13px;
  font-weight:500
}
.property:last-child {
  border:0
}
footer {
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:9px 0 8px;
  color:#93a08e;
  font-size:9px;
  letter-spacing:1px
}
.footer-divider {
  margin:0 9px;
  color:#b9c5b0
}
.login-shell {
  display:grid;
  grid-template-columns:1.03fr 1fr;
  min-height:100vh
}
.login-intro {
  position:relative;
  background:#15372e;
  color:white;
  padding:48px 64px;
  display:flex;
  flex-direction:column;
  overflow:hidden
}
.intro-copy {
  margin:auto 0;
  position:relative;
  z-index:0;
  padding:60px 0 20px
}
.intro-copy .eyebrow {
  font-size:9px;
  color:#b1c88b;
  letter-spacing:2px
}
.intro-copy h1 {
  font-size:43px;
  font-weight:400;
  letter-spacing:-1.3px;
  line-height:1.55;
  margin:22px 0
}
.intro-copy>p:last-of-type {
  font-size:13px;
  color:#a8bdad;
  line-height:2
}
.accent {
  color:#c2d795
}
.intro-foot {
  display:flex;
  justify-content:space-between;
  font-size:8px;
  letter-spacing:1.7px;
  color:#789780;
  margin-top:30px
}
.intro-graphic {
  position:relative;
  height:220px;
  width:100%;
  max-width:400px;
  margin:15px auto 0
}
.orbit {
  position:absolute;
  left:50%;
  top:48%;
  border:1px solid #b5cf942e;
  transform:translate(-50%,-50%) rotate(-28deg);
  border-radius:50%
}
.orbit-one {
  width:300px;
  height:130px
}
.orbit-two {
  width:280px;
  height:170px;
  transform:translate(-50%,-50%) rotate(35deg)
}
.orbit-three {
  width:200px;
  height:200px;
  border-color:#b5cf941a
}
.orbit-core {
  position:absolute;
  left:50%;
  top:48%;
  transform:translate(-50%,-50%);
  width:78px;
  height:78px;
  display:grid;
  place-items:center;
  background:#c8dca3;
  color:#1c3e2d;
  border-radius:22px;
  font-size:70px;
  font-weight:650;
  line-height:1;
  box-shadow:0 0 65px #c5d9960d
}
.orbit-one:after {
  content:"";
  position:absolute;
  left:10%;
  top:4%;
  width:9px;
  height:9px;
  border-radius:50%;
  background:#c7dba2;
  box-shadow:0 0 18px #c7dba233
}
.orbit-tag {
  position:absolute;
  bottom:-3px;
  width:100%;
  text-align:center;
  font-size:7px;
  letter-spacing:2px;
  color:#718f77
}
.login-panel {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fafbf7;
  padding:75px 35px
}
.login-card {
  width:360px;
  max-width:100%
}
.login-card h2 {
  font-size:30px;
  letter-spacing:-1px;
  margin-bottom:13px
}
.login-card>.muted {
  margin-bottom:34px
}
.login-card label {
  margin:23px 0
}
.login-card input {
  padding:14px;
  background:#fff
}
.login-card button {
  display:flex;
  justify-content:space-between;
  width:100%;
  margin-top:27px;
  padding:15px 18px
}
.login-card .small {
  margin-top:23px;
  text-align:center;
  font-size:10px
}
.portal-switch {
  position:absolute;
  right:40px;
  top:36px;
  font-size:12px;
  color:#607a63
}
.portal-switch:hover {
  color:var(--accent)
}
.login-copyright {
  position:absolute;
  bottom:26px;
  font-size:9px;
  color:#9ba492;
  letter-spacing:.4px
}
@media(min-width:1550px) {
  main {
    padding:40px 44px 18px
  }
  .welcome-strip {
    padding:32px
  }
  .stat {
    padding:25px
  }
  .stat-number {
    font-size:39px
  }
  .chart-body svg {
    height:194px
  }
}
@media(max-width:1200px) {
  .sidebar {
    width:220px;
    padding-left:16px;
    padding-right:16px
  }
  .workspace {
    margin-left:220px
  }
  main {
    padding:28px 25px 18px
  }
  .topbar {
    padding:0 25px
  }
  .page-tools>span {
    display:none
  }
  .stats {
    gap:12px
  }
  .stat {
    padding:20px 16px
  }
  .stat-icon {
    display:none
  }
  .profile {
    gap:5px
  }
  .login-intro {
    padding:40px
  }
  .intro-copy h1 {
    font-size:35px
  }
  .welcome-strip {
    padding:25px
  }
  .welcome-strip h2 {
    font-size:21px
  }
  .two-column {
    grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)
  }
  .settlement-row strong {
    font-size:13px
  }
}
@media(max-width:900px) {
  .two-column {
    grid-template-columns:minmax(0,1fr)
  }
  .two-column>.panel {
    height:auto
  }
  .settlement-list {
    min-height:0
  }
  .integration-flow {
    grid-template-columns:1fr;
    gap:0
  }
  .page-heading {
    align-items:flex-start
  }
  .welcome-strip {
    align-items:flex-start
  }
  .welcome-action {
    padding:10px
  }
  .welcome-strip h2 {
    font-size:20px
  }
  #identity {
    max-width:150px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis
  }
  .breadcrumb {
    display:none
  }
  .topbar {
    justify-content:flex-end
  }
  .login-intro {
    padding:32px
  }
  .intro-copy h1 {
    font-size:30px
  }
}
@media(max-width:640px) {
  .sidebar {
    width:64px;
    padding:26px 7px 16px
  }
  .sidebar .brand {
    padding:0 3px;
    font-size:36px;
    letter-spacing:-3px
  }
  .sidebar .brand span,.workspace-card,.nav-label,.sidebar-note,.sidebar-bottom {
    display:none
  }
  nav {
    margin-top:45px;
    gap:12px
  }
  nav button {
    justify-content:center;
    padding:12px 4px
  }
  nav button>span:not(.nav-icon) {
    display:none
  }
  .workspace {
    margin-left:64px;
    width:calc(100% - 64px)
  }
  .topbar {
    height:66px;
    padding:0 10px
  }
  .profile-avatar {
    display:none
  }
  .profile {
    gap:0
  }
  #identity {
    max-width:102px;
    font-size:10px
  }
  .profile button {
    padding:7px 5px;
    font-size:10px
  }
  main {
    padding:24px 14px 14px
  }
  .page-heading {
    margin-bottom:22px
  }
  .page-heading h1 {
    font-size:23px
  }
  .page-description,.page-heading .muted {
    font-size:11px
  }
  .page-heading .eyebrow {
    font-size:8px;
    letter-spacing:1px
  }
  .page-tools button {
    font-size:10px;
    padding:8px;
    white-space:nowrap
  }
  .welcome-strip {
    padding:22px 19px;
    flex-direction:column;
    gap:16px;
    border-radius:9px
  }
  .welcome-strip h2 {
    font-size:20px;
    line-height:1.5
  }
  .welcome-strip p:last-child {
    font-size:11px
  }
  .welcome-strip .eyebrow {
    font-size:7px
  }
  .stats {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px
  }
  .stat {
    padding:18px 13px
  }
  .stat-label {
    font-size:11px;
    margin-bottom:15px
  }
  .stat-number {
    font-size:29px
  }
  .stat-foot {
    font-size:9px;
    line-height:1.6
  }
  .panel-heading {
    padding:20px 16px
  }
  .panel-heading h3 {
    font-size:14px
  }
  .panel-heading p {
    font-size:9px
  }
  .panel-heading button {
    font-size:10px;
    padding:8px
  }
  .chart-body {
    padding:0 10px 14px
  }
  .chart-body svg {
    height:150px
  }
  .form-grid {
    grid-template-columns:1fr
  }
  .filters {
    padding:0 16px 18px;
    gap:9px
  }
  .filters label {
    min-width:110px
  }
  .pagination {
    padding:12px 14px;
    font-size:10px
  }
  .pagination button {
    font-size:10px
  }
  footer {
    font-size:8px
  }
  footer>span:last-child {
    display:none
  }
  .merchant-banner {
    padding:20px 16px;
    gap:12px;
    flex-wrap:wrap
  }
  .merchant-avatar {
    width:42px;
    height:42px;
    font-size:22px
  }
  .merchant-banner h2 {
    font-size:18px
  }
  .merchant-banner .mono {
    font-size:9px
  }
  .merchant-banner>.badge {
    margin-left:54px
  }
  .panel-body {
    padding:0 18px 20px
  }
  .login-shell {
    grid-template-columns:1fr
  }
  .login-intro {
    display:none
  }
  .login-panel {
    min-height:100vh;
    padding:95px 30px
  }
  .portal-switch {
    right:30px
  }
  .login-card h2 {
    font-size:28px
  }
  .modal-content {
    padding:12px 20px 22px
  }
  .modal-header {
    padding:20px
  }
  .modal-actions {
    flex-wrap:wrap
  }
  .integration-flow {
    padding:0 18px 20px
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    transition:none!important
  }
}
/* Merchant integration guide */
.integration-top { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; margin-bottom:36px; align-items:stretch }
.integration-top>.panel { margin:0; min-width:0 }
.integration-hero { background:var(--ink); color:#d3e2d8; border-radius:12px; padding:32px; position:relative; overflow:hidden }
.integration-hero .eyebrow { color:#92bfa9; font-size:9px }
.integration-hero h2 { color:#fff; font-size:30px; line-height:1.45; letter-spacing:-.6px; margin:22px 0 16px }
.integration-hero>p:not(.eyebrow) { max-width:460px; font-size:13px; line-height:1.9 }
.doc-context { display:flex; align-items:center; flex-wrap:wrap; gap:14px; font-size:11px; margin:22px 0 }
.doc-context .badge { color:#c5e6d7; background:#29483f }
.doc-origin { display:block; font-size:9px; letter-spacing:1.3px; color:#9db8aa }
.doc-origin code { display:block; font-size:13px; line-height:1.8; color:#fff; letter-spacing:0; margin-top:6px; overflow-wrap:anywhere }
.doc-downloads { display:flex; flex-wrap:wrap; gap:10px; margin-top:25px }
.doc-downloads a { display:inline-block; border-radius:7px; padding:11px 14px; font-size:11px }
.doc-downloads .secondary { background:transparent; color:#dae8df; border-color:#527265 }
.doc-downloads .secondary:hover { background:#29483f }
.doc-layout { display:grid; grid-template-columns:205px minmax(0,1fr); gap:28px; align-items:start }
.doc-toc { position:sticky; top:24px; padding:15px 0 }
.doc-toc .eyebrow { font-size:9px; padding:0 12px; margin-bottom:18px }
.doc-toc-link { display:block; width:100%; text-align:left; background:transparent; padding:12px; font-size:12px; line-height:1.6; border-radius:6px; color:#567063 }
.doc-toc-link:hover,.doc-toc-link:focus-visible { background:#e5ece4; color:var(--ink) }
.doc-toc .hint { border-top:1px solid var(--line); margin:18px 12px 0; padding-top:16px; white-space:pre-line }
.doc-content { min-width:0 }
.doc-chapter { background:#fff; border:1px solid var(--line); border-radius:12px; margin-bottom:24px; padding:30px; scroll-margin-top:24px; min-width:0; overflow-wrap:anywhere }
.doc-chapter:focus { outline:none }
.doc-chapter-heading { border-bottom:1px solid var(--line); margin-bottom:25px; padding-bottom:10px }
.doc-chapter h2 { font-size:21px; letter-spacing:-.3px; margin-bottom:10px }
.doc-chapter h3 { font-size:18px; margin:16px 0 }
.doc-chapter h4 { font-size:12px; margin:22px 0 12px }
.doc-chapter p,.doc-chapter li { font-size:13px; line-height:1.95 }
.doc-chapter-heading p { color:var(--muted); font-size:12px }
.doc-chapter ul,.doc-chapter ol { padding-left:22px; margin:18px 0 }
.doc-chapter li+li { margin-top:8px }
.doc-chapter .table-scroll { border:1px solid var(--line); border-radius:7px; margin:18px 0; max-width:100% }
.doc-chapter table { min-width:520px; table-layout:auto }
.doc-chapter th,.doc-chapter td { white-space:normal; font-size:11px; line-height:1.85; padding:12px 14px; vertical-align:top }
.doc-chapter th { background:#f5f7f3; color:#506357; font-size:10px }
.doc-chapter td:first-child { color:#234b3c; min-width:110px }
.doc-chapter code { font-family:Consolas,monospace; font-size:11px; overflow-wrap:anywhere }
.doc-code { background:#152c28; color:#d9e8de; border:1px solid #24483b; border-radius:8px; overflow:hidden; margin:18px 0 }
.doc-code-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:10px 16px; border-bottom:1px solid #345146; background:#203b32; font-size:10px; line-height:1.7 }
.doc-copy { background:transparent; color:#bad7c8; font-size:10px; padding:4px 0; white-space:nowrap; flex-shrink:0 }
.doc-copy:hover { color:#fff }
.doc-code pre { padding:18px; margin:0; max-width:100%; overflow:auto; tab-size:2; line-height:1.9 }
.doc-code pre:focus-visible { outline:2px solid #8ed4bf; outline-offset:-3px }
.doc-code pre code { white-space:pre; word-break:normal; overflow-wrap:normal; font-size:11px }
.doc-endpoint { border-bottom:1px solid var(--line); padding:5px 0 22px; margin-top:28px; scroll-margin-top:24px }
.doc-endpoint:last-child { border-bottom:0; padding-bottom:0 }
.doc-endpoint-meta { display:flex; align-items:center; gap:12px; color:var(--muted); font-size:10px }
.doc-endpoint-meta .badge { font-size:10px }
.doc-path { display:flex; gap:12px; align-items:baseline; padding:12px 14px; background:#eef4ed; border:1px solid #dce7db; border-radius:7px; margin-bottom:18px; min-width:0 }
.doc-path>span { color:#177866; font:700 10px Consolas,monospace; flex-shrink:0 }
.doc-path code { color:#254c3b; line-height:1.8; min-width:0 }
.doc-notes { color:#64776b }
@media(max-width:1200px) { .integration-top { grid-template-columns:1fr } .doc-layout { grid-template-columns:175px minmax(0,1fr); gap:18px } .doc-chapter { padding:24px } }
@media(max-width:900px) { .doc-layout { grid-template-columns:1fr } .doc-toc { position:static; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; border-bottom:1px solid var(--line); padding:0 0 20px } .doc-toc .eyebrow,.doc-toc .hint { grid-column:1/-1 } .doc-toc-link { font-size:11px; padding:10px 8px } }
@media(max-width:640px) { .sidebar .brand { font-size:24px; letter-spacing:-1px } .integration-top { gap:18px; margin-bottom:22px } .integration-hero { padding:23px 20px } .integration-hero h2 { font-size:24px } .integration-hero>p:not(.eyebrow) { font-size:11px } .doc-downloads { gap:8px } .doc-downloads a { font-size:10px; padding:10px } .doc-toc { grid-template-columns:repeat(2,minmax(0,1fr)) } .doc-chapter { padding:20px 16px; border-radius:9px; scroll-margin-top:12px } .doc-chapter h2 { font-size:17px; line-height:1.7 } .doc-chapter h3 { font-size:16px } .doc-chapter p,.doc-chapter li { font-size:12px } .doc-chapter th,.doc-chapter td { padding:10px; font-size:10px } .doc-code pre { padding:13px } .doc-code-heading { padding:9px 12px; font-size:9px } .doc-code pre code { font-size:10px } .doc-path { padding:10px; gap:8px } .doc-path code { font-size:10px } }
.integration-top .panel-heading { gap:14px }
.integration-top .panel-heading>div { min-width:0 }
.integration-top .panel-heading button { flex-shrink:0; white-space:nowrap }

.rtp-intro { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:28px 30px; border-radius:12px; background:#e5eee5; margin-bottom:24px }
.rtp-intro h2 { margin:12px 0; font-size:25px }.rtp-intro p:last-child { margin:0; color:#6e8275; font-size:12px }.rtp-intro>.primary { white-space:nowrap }
.rtp-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:24px 0 }.rtp-tabs button { background:transparent; color:#688071; font-size:12px; padding:11px 18px }.rtp-tabs button.active { color:white; background:var(--ink) }
.rtp-summary-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(270px,1fr)); gap:20px; margin:20px 0 }.rtp-summary-grid .stat-number { font-size:42px; margin-bottom:10px }
.rtp-metric { display:flex; justify-content:space-between; gap:16px; padding:10px 0; border-top:1px solid var(--line); font-size:11px; line-height:1.7 }.rtp-metric>span { color:var(--muted) }.rtp-metric strong { overflow-wrap:anywhere; text-align:right }
.rtp-status-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px }.rtp-status-grid>div { display:grid; gap:10px }.rtp-status-grid strong { font-size:25px; font-weight:500 }.rtp-status-grid span { font-size:11px; color:var(--muted) }
.rtp-row-actions { display:flex; flex-wrap:wrap; gap:4px; min-width:150px }.rtp-page td { vertical-align:top }.rtp-definition { padding:0 6px; line-height:1.9 }
@media(max-width:640px) {.rtp-intro { flex-direction:column; align-items:start; padding:22px 18px }.rtp-intro h2 { font-size:20px }.rtp-tabs { gap:5px }.rtp-tabs button { padding:9px 10px; font-size:10px }.rtp-summary-grid { grid-template-columns:minmax(0,1fr) }.rtp-status-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }.rtp-intro .eyebrow { font-size:8px }}
/* Shared select: same control in forms, filters and dialogs. */
.select-control { display:block; position:relative; min-width:0; margin-top:8px; text-align:left }
.select-native { position:absolute; width:1px!important; height:1px!important; padding:0!important; margin:0!important; opacity:0; pointer-events:none; clip-path:inset(50%) }
.select-trigger { display:flex; align-items:center; justify-content:space-between; gap:18px; width:100%; min-height:44px; padding:11px 14px; border:1px solid #cfdacf; border-radius:8px; background:#fff; color:#25483c; font-size:13px; font-weight:500; text-align:left; box-shadow:0 1px 2px #132b2a04; transition:border-color .15s,box-shadow .15s }
.select-trigger:hover:not(:disabled) { background:#fbfdf9; border-color:#7c9f8d }
.select-trigger[aria-expanded=true],.select-trigger:focus-visible { border-color:#27856c; outline:none; box-shadow:0 0 0 3px #27856c16 }
.select-value { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0 }
.select-chevron { color:#769183; flex:none; font-size:18px; line-height:1; transform:translateY(-2px); transition:transform .15s }
.select-trigger[aria-expanded=true] .select-chevron { transform:rotate(180deg) translateY(-2px) }
.select-trigger:disabled { background:#f0f3ee; color:#8c9c90; cursor:not-allowed; box-shadow:none }
.select-menu { position:fixed; inset:auto; margin:0; padding:7px; box-sizing:border-box; border:1px solid #d5e0d5; border-radius:11px; background:#fff; color:#25483c; box-shadow:0 12px 38px #132b2a24,0 2px 7px #132b2a09; overflow:hidden }
.select-menu::backdrop { background:transparent }
.select-search { margin:0 0 7px; width:100%; min-width:0; padding:10px 11px; border-radius:6px; background:#f6f8f4; font-size:13px }
.select-options { overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#b8cbbd transparent }
.select-option { display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; padding:11px 12px; min-height:42px; border:0; border-radius:6px; background:transparent; color:#345747; font-size:13px; font-weight:400; text-align:left; line-height:1.5 }
.select-option:hover,.select-option.is-active { background:#eff5ed }
.select-option[aria-selected=true] { background:#e5f1e8; color:#126d53; font-weight:600 }
.select-check { visibility:hidden; flex:none; color:#14765b }.select-option[aria-selected=true] .select-check { visibility:visible }
.select-empty { margin:18px 10px; color:#819183; font-size:13px }
.filters .select-trigger { font-size:12px; min-height:40px; padding:9px 12px }
.rtp-focus { padding:30px 34px; margin-top:0; background:linear-gradient(115deg,#fff 55%,#f1f6ee) }
.rtp-focus-heading { display:flex; justify-content:space-between; align-items:start; gap:20px }.rtp-focus-heading h2 { font-size:20px; margin:8px 0 0 }.rtp-focus-heading .eyebrow { margin:0; font-size:10px; letter-spacing:.5px }
.rtp-focus-main { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:24px 0 28px }.rtp-focus-number { font-size:64px; font-weight:500; color:#173c30; letter-spacing:-2px; line-height:1.2 }.rtp-focus-main p { font-size:12px; color:#758674; margin:14px 0 0 }.rtp-focus-main>.primary { padding:15px 32px; font-size:15px; white-space:nowrap }
.rtp-focus-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid var(--line); padding:24px 0; gap:20px }.rtp-focus-stats>div { display:grid; gap:10px; min-width:0 }.rtp-focus-stats span { font-size:11px; color:#768674 }.rtp-focus-stats strong { font-size:17px; font-weight:500; overflow-wrap:anywhere }
.rtp-focus-footer { border-top:1px solid var(--line); display:flex; justify-content:space-between; gap:16px; align-items:center; padding-top:16px; color:#7c8b79; font-size:11px }.rtp-focus-footer button { white-space:nowrap; font-size:11px }
.rtp-table-target { font-size:17px; font-weight:500 }.rtp-editor-merchant { margin:0 0 24px; font-size:16px; font-weight:500 }.rtp-editor-merchant .subtext { display:block; margin-top:7px; font-size:11px; font-weight:400 }
.rtp-mode-notice { background:#f3f5ed; padding:13px 15px; border-radius:7px; font-size:12px; line-height:1.8; color:#647652 }.rtp-editor-more { margin-top:22px; font-size:11px; color:#7c8b79 }.rtp-editor-more summary { cursor:pointer }.rtp-editor-more button { margin-top:12px }
.rtp-filter-disclosure { border:1px solid var(--line); border-radius:9px; background:white; margin:16px 0 22px; padding:15px 20px }.rtp-filter-disclosure>summary { font-size:12px; color:#657b68; cursor:pointer }.rtp-filter-disclosure .panel { margin:16px 0 0; border:0 }.rtp-filter-disclosure .panel-heading { padding:8px 0 18px }.rtp-filter-disclosure .filters { padding:0 }.rtp-extra-actions { display:flex; justify-content:flex-end; gap:10px; margin-bottom:16px }.rtp-extra-actions:empty { display:none }
@media(max-width:640px) { .rtp-focus { padding:22px 20px }.rtp-focus-heading { gap:12px }.rtp-focus-heading .eyebrow { font-size:9px }.rtp-focus-main { align-items:start; flex-direction:column; gap:20px; padding:25px 0 }.rtp-focus-number { font-size:50px }.rtp-focus-main>.primary { width:100% }.rtp-focus-stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 14px }.rtp-focus-stats strong { font-size:14px }.rtp-focus-footer { flex-wrap:wrap; gap:8px }.rtp-tabs { gap:3px; margin:20px 0 }.rtp-tabs button { font-size:11px }.rtp-filter-disclosure { padding:14px }.select-trigger { font-size:14px; min-height:46px }.select-option { min-height:46px; font-size:14px } }
