:root {
  color-scheme: light;
  --ink: #191c2d;
  --muted: #73788c;
  --line: #e7e9f1;
  --canvas: #f5f6fa;
  --purple: #54d5df;
  --purple-light: #f0fbfc;
  --green: #128765;
  --red: #c53755;
  --radius: 14px;
  font:
    16px/1.5 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
a {
  color: var(--purple);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  border: 0;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 1.8rem;
  letter-spacing: -0.06rem;
  font-weight: 650;
}
h2 {
  font-size: 1.1rem;
  font-weight: 650;
}
h3 {
  font-size: 1rem;
}
small,
.small {
  font-size: 0.82rem;
}
code {
  font:
    0.85rem/1.6 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  word-break: break-all;
}
pre {
  white-space: pre-wrap;
  background: #15192b;
  color: #d9dfef;
  padding: 22px;
  border-radius: 12px;
  overflow: auto;
}
.muted {
  color: var(--muted);
}
.mono {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.82rem;
}
.loading {
  min-height: 220px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--muted);
  border: 1px solid color-mix(in srgb, var(--page-accent, #5cd7e0) 12%, var(--line));
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, color-mix(in srgb, var(--page-accent, #5cd7e0) 4%, #fff));
}
.loading strong,
.loading small {
  display: block;
}
.loading strong {
  color: var(--ink);
  margin-bottom: 4px;
}
.loading-spinner {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 3px solid color-mix(in srgb, var(--page-accent, #5cd7e0) 18%, transparent);
  border-top-color: var(--page-accent, #5cd7e0);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  background: #f4f3fa;
  text-decoration: none;
}
.btn.primary {
  background: var(--purple);
  color: white;
  border-color: var(--purple);
}
.btn.primary:hover {
  background: #34cdd8;
}
.btn.danger {
  color: var(--red);
  background: #fff3f5;
  border-color: #f1ced6;
}
.btn.tiny {
  padding: 6px 10px;
  font-size: 0.8rem;
}
.icon {
  width: 19px;
  height: 19px;
  display: inline-block;
  vertical-align: middle;
  flex: none;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f0f1f5;
  color: #5b6071;
  white-space: nowrap;
}
.badge.good {
  background: #e6f6ef;
  color: #12734f;
}
.badge.warn {
  background: #fff3dc;
  color: #986012;
}
.badge.bad {
  background: #ffe9ee;
  color: #b63150;
}
.badge.purple {
  background: var(--purple-light);
  color: var(--purple);
}
.dot {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  display: inline-block;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.stack {
  display: grid;
  gap: 16px;
}
.spacer {
  flex: 1;
}
.shell {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: #171b30;
  color: #a5aecb;
  position: fixed;
  inset: 0 auto 0 0;
  width: 248px;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 29px 20px 22px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #4b5270 #171b30;
  -webkit-overflow-scrolling: touch;
  z-index: 5;
}
.sidebar::-webkit-scrollbar {
  width: 8px;
}
.sidebar::-webkit-scrollbar-track {
  background: #171b30;
}
.sidebar::-webkit-scrollbar-thumb {
  background: #4b5270;
  border: 2px solid #171b30;
  border-radius: 999px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
  background: #656e92;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  padding: 0 8px 28px;
}
.brand-mark {
  width: 36px;
  height: 36px;
  background: var(--purple);
  border-radius: 11px;
  color: white;
  display: grid;
  place-items: center;
  font-size: 25px;
  font-weight: 750;
  line-height: 1;
}
.brand strong {
  font-size: 1.13rem;
  letter-spacing: -0.025rem;
}
.brand small {
  font-size: 0.65rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  color: #a9b0c8;
  display: block;
  margin-top: 1px;
}
.workspace {
  border: 1px solid #353a51;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 27px;
}
.workspace strong {
  color: #eef0fa;
  font-size: 0.83rem;
  font-weight: 550;
}
.workspace span {
  font-size: 0.72rem;
  display: block;
}
.avatar {
  width: 33px;
  height: 33px;
  border-radius: 9px;
  background: #e6f9fa;
  display: grid;
  place-items: center;
  color: var(--purple);
  font-weight: 700;
  font-size: 0.82rem;
  flex: none;
}
.workspace .avatar {
  background: #34384f;
  color: #d7dcf1;
}
.nav-label {
  font-size: 0.65rem;
  letter-spacing: 0.09rem;
  text-transform: uppercase;
  color: #777f9c;
  padding: 0 12px 10px;
}
.nav {
  display: grid;
  gap: 5px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #aeb6d0;
  font-size: 0.87rem;
  font-weight: 500;
  padding: 11px 13px;
  border-radius: 9px;
}
.nav a:hover {
  background: #242940;
  color: #fff;
  text-decoration: none;
}
.nav a.active {
  background: #57d6df;
  color: white;
}
.side-bottom {
  margin-top: auto;
  padding-top: 35px;
}
.side-bottom .help {
  padding: 15px;
  border: 1px solid #34394f;
  border-radius: 10px;
  font-size: 0.77rem;
  color: #a9b2cd;
}
.side-bottom .help strong {
  color: #e7eafa;
  display: block;
  margin-bottom: 5px;
}
.side-bottom button {
  margin-top: 15px;
  background: transparent;
  color: #aeb6d0;
  padding: 10px;
  font-size: 0.85rem;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 83px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 37px;
  background: white;
  gap: 20px;
}
.crumb {
  font-size: 0.83rem;
  color: var(--muted);
}
.crumb strong {
  color: #444960;
  font-weight: 500;
}
.top-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}
.top-profile strong {
  font-weight: 600;
  display: block;
}
.top-profile small {
  color: var(--muted);
  font-size: 0.73rem;
}
.gas-bell {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #555b70;
  background: #fff;
}
.gas-bell:hover {
  background: #f6f5fb;
}
.gas-bell.has-alert {
  color: var(--red);
  border-color: #f2c5d0;
  background: #fff6f8;
  animation: gas-alert-pulse 2.4s infinite;
}
.gas-bell > span {
  position: absolute;
  right: -6px;
  top: -7px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border: 2px solid #fff;
  font-size: 0.65rem;
  font-weight: 750;
}
@keyframes gas-alert-pulse {
  50% {
    box-shadow: 0 0 0 5px rgba(197, 55, 85, 0.08);
  }
}
.content {
  padding: 32px 37px 40px;
  max-width: 1580px;
  margin: auto;
}
.page-head {
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.page-head p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 4px;
}
.mode-banner {
  background: #fff5df;
  border: 1px solid #efddb6;
  padding: 10px 15px;
  border-radius: 9px;
  font-size: 0.82rem;
  color: #826025;
  margin-bottom: 24px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.mode-banner strong {
  font-weight: 650;
}
.notice {
  background: var(--purple-light);
  padding: 16px;
  border-radius: 10px;
  font-size: 0.87rem;
  line-height: 1.6;
}
.notice.warning {
  background: #fff4df;
  color: #84570d;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 25px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.metric-title {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.metric-title .icon {
  color: #5dd7e0;
}
.metric-value {
  font-size: 1.85rem;
  font-weight: 650;
  letter-spacing: -0.07rem;
  margin-top: 13px;
  white-space: nowrap;
}
.metric-value small {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 5px;
}
.metric-foot {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 10px;
}
.metric-foot .up {
  color: var(--green);
  font-weight: 550;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 22px;
  margin-bottom: 24px;
}
.gas-overview {
  padding: 24px;
  margin-bottom: 25px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(
      circle at 94% 5%,
      rgba(133,225,232,0.32),
      transparent 30%
    ),
    linear-gradient(135deg, #171b30, #1e4346);
  box-shadow: 0 18px 45px rgba(31,69,72,0.14);
}
.gas-overview-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}
.gas-overview-head h2 {
  font-size: 1.35rem;
  margin-top: 3px;
}
.gas-overview-head p {
  color: #b9bfd5;
  font-size: 0.8rem;
  margin-top: 5px;
}
.eyebrow {
  color: #9de7ec;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  font-weight: 750;
}
.gas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.gas-card {
  min-width: 0;
  padding: 16px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.07);
}
.gas-card.low {
  border-color: rgba(255, 184, 94, 0.55);
  background: rgba(161, 91, 18, 0.2);
}
.gas-card.offline {
  border-color: rgba(255, 115, 143, 0.42);
  background: rgba(143, 40, 65, 0.18);
}
.gas-card-top,
.network-balance-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.gas-card-top > div,
.network-balance-head > div {
  min-width: 0;
  flex: 1;
}
.gas-card-top strong,
.network-balance-head strong {
  display: block;
  text-transform: capitalize;
}
.gas-card-top small,
.network-balance-head small {
  display: block;
  color: #aeb6ce;
  font-size: 0.69rem;
}
.network-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex: none;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #67dae2, #26bcc6);
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.network-mark.ethereum {
  background: linear-gradient(145deg, #8894ff, #5662d9);
}
.network-mark.base {
  background: linear-gradient(145deg, #3777ff, #0754d4);
}
.network-mark.bnb {
  background: linear-gradient(145deg, #f7cd3c, #b88300);
}
.network-mark.tron {
  background: linear-gradient(145deg, #ff4e67, #c71932);
}
.network-mark.solana {
  background: linear-gradient(145deg, #16dca3, #76dee5);
}
.network-mark.aptos {
  background: linear-gradient(145deg, #37c2b5, #14736b);
}
.gas-state {
  color: #9ce0c6;
  font-size: 0.67rem;
  font-weight: 700;
}
.gas-card.low .gas-state {
  color: #ffd089;
}
.gas-card.offline .gas-state {
  color: #ff9caf;
}
.gas-amount {
  margin: 17px 0 10px;
  font-size: 1.45rem;
  font-weight: 720;
  letter-spacing: -0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gas-amount small {
  margin-left: 5px;
  color: #b9bfd5;
  font-size: 0.7rem;
  letter-spacing: 0;
}
.gas-meter {
  height: 4px;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}
.gas-meter span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #46d09d;
}
.gas-card.low .gas-meter span {
  background: #ffb85e;
}
.gas-card.offline .gas-meter span {
  background: #ff738f;
}
.gas-card.simulated .gas-meter span {
  display: none;
}
.gas-card > small {
  color: #9fa8c3;
  font-size: 0.65rem;
}
.network-balance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  background: linear-gradient(180deg, #fbfbff, #f7f7fc);
}
.network-balance-card {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(34,77,80,0.05);
}
.network-balance-head small {
  color: var(--muted);
}
.asset-balances {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 15px;
}
.asset-balance {
  display: flex;
  gap: 8px;
  min-width: 0;
  padding: 11px;
  border-radius: 11px;
  background: #f6f7fb;
}
.asset-balance .coin {
  width: 24px;
  height: 24px;
  font-size: 0.72rem;
}
.asset-balance div {
  min-width: 0;
}
.asset-balance small,
.asset-balance span {
  display: block;
  color: var(--muted);
  font-size: 0.64rem;
}
.asset-balance strong {
  display: block;
  font-size: 0.88rem;
  white-space: nowrap;
}
.asset-balance.unsupported {
  opacity: 0.48;
}
.gas-alert-list {
  display: grid;
  gap: 10px;
}
.gas-alert-list > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid #f1d3da;
  border-radius: 11px;
  background: #fff8f9;
}
.gas-alert-list p {
  flex: 1;
}
.gas-alert-list small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 21px 23px;
  border-bottom: 1px solid var(--line);
}
.panel-head p {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 4px;
}
.panel-body {
  padding: 22px;
}
.panel .panel {
  margin: 0;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 0.83rem;
  white-space: nowrap;
}
th {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.75rem;
  padding: 13px 22px;
  background: #fafbfe;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px 22px;
  border-bottom: 1px solid #eff0f6;
}
tr:last-child td {
  border-bottom: 0;
}
td strong {
  font-weight: 600;
}
td small {
  display: block;
  color: var(--muted);
  font-size: 0.73rem;
  margin-top: 2px;
}
.right {
  text-align: right;
}
.coin {
  width: 27px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  background: #e8f1ff;
  color: #3478d9;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.8rem;
  margin-right: 9px;
}
.coin.usdt {
  background: #e7f6f0;
  color: #149378;
}
.empty {
  padding: 46px 22px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.empty h3 {
  color: var(--ink);
  margin-bottom: 6px;
}
.empty .btn {
  margin-top: 17px;
}
.balance-row {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.balance-row:last-child {
  border: 0;
}
.balance-row strong {
  font-size: 0.94rem;
}
.balance-row small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}
.quickstart {
  padding: 19px;
  border-radius: 11px;
  background: #f4fcfd;
  margin-top: 18px;
}
.quickstart p {
  font-size: 0.83rem;
  color: #29cbd6;
  margin: 7px 0 14px;
}
.trend {
  height: 190px;
  display: flex;
  align-items: flex-end;
  gap: 13px;
  padding: 22px 5px 0;
  border-bottom: 1px solid var(--line);
}
.trend-col {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  gap: 7px;
}
.trend-bar {
  width: 70%;
  max-width: 65px;
  background: linear-gradient(0deg, #69dae2, #bfeff3);
  border-radius: 5px 5px 0 0;
  min-height: 3px;
}
.trend-labels {
  display: flex;
  gap: 13px;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  padding: 9px 5px;
}
.trend-labels span {
  flex: 1;
}
.filter {
  display: flex;
  align-items: center;
  gap: 9px;
}
.filter input {
  width: 230px;
  background: #fafbfe;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
}
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.app-card {
  background: white;
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 14px;
}
.app-card p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 10px 0;
  word-break: break-all;
}
.app-card .avatar {
  width: 42px;
  height: 42px;
  font-size: 1rem;
}
.app-card .row {
  margin-bottom: 14px;
}
.app-card .btn {
  margin-top: 10px;
}
.label {
  font-size: 0.82rem;
  color: #5c6277;
  margin-bottom: 6px;
  display: block;
}
input,
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #dfe2eb;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 0.9rem;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #b3edf1;
  border-color: var(--purple);
}
textarea {
  min-height: 90px;
  resize: vertical;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-size: 0.82rem;
  font-weight: 550;
  color: #50566a;
}
.field small {
  color: var(--muted);
  font-size: 0.76rem;
}
.full {
  grid-column: 1/-1;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 10px;
}
.form-error {
  color: var(--red);
  font-size: 0.84rem;
  min-height: 20px;
}
.key-reveal {
  padding: 16px;
  background: #151b2e;
  border-radius: 9px;
  color: #edfafb;
  word-break: break-all;
  user-select: all;
}
.key-reveal code {
  font-size: 0.9rem;
}
.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.details div {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.details small {
  color: var(--muted);
  display: block;
  margin-bottom: 5px;
}
.details p {
  word-break: break-all;
}
.report-form {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  margin-bottom: 22px;
}
.report-form .field {
  max-width: 220px;
}
dialog {
  border: 0;
  padding: 0;
  border-radius: 16px;
  width: min(620px, calc(100% - 32px));
  max-height: 90vh;
  box-shadow: 0 25px 100px #151b3040;
  color: var(--ink);
}
dialog.wide {
  width: min(1060px, calc(100% - 32px));
}
dialog::backdrop {
  background: #151b3080;
  backdrop-filter: blur(3px);
}
.modal-head {
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-head button {
  font-size: 1.5rem;
  background: transparent;
  color: var(--muted);
}
.modal-body {
  padding: 25px;
}
.modal-body > p {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 0.87rem;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 22px;
  background: #20263d;
  color: white;
  border-radius: 10px;
  box-shadow: 0 10px 40px #181d3033;
  z-index: 50;
  display: none;
  max-width: 90vw;
  font-size: 0.86rem;
}
.auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.auth-aside {
  background: #191d34;
  color: #fff;
  padding: 55px 65px;
  display: flex;
  flex-direction: column;
}
.auth-aside .brand {
  padding: 0;
}
.auth-copy {
  margin: auto 0;
  max-width: 460px;
}
.auth-copy .eyebrow {
  color: #afebf0;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 25px;
}
.auth-copy h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  letter-spacing: -0.13rem;
  font-weight: 550;
}
.auth-copy h1 span {
  color: #a8eaee;
}
.auth-copy p {
  color: #aeb7d0;
  margin-top: 25px;
  line-height: 1.8;
  max-width: 390px;
  font-size: 0.96rem;
}
.auth-coins {
  display: flex;
  gap: 12px;
  margin-top: 35px;
}
.auth-coins span {
  padding: 9px 15px;
  border: 1px solid #41455e;
  border-radius: 8px;
  font-size: 0.8rem;
  color: #d6dcef;
}
.auth-foot {
  color: #8691af;
  font-size: 0.78rem;
}
.auth-form {
  display: grid;
  place-items: center;
  padding: 40px;
}
.auth-form > div {
  width: 100%;
  max-width: 390px;
}
.auth-form h2 {
  font-size: 1.8rem;
  letter-spacing: -0.05rem;
}
.auth-form .intro {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 8px 0 29px;
}
.auth-form form {
  display: grid;
  gap: 18px;
}
.auth-form .btn {
  width: 100%;
  padding: 12px;
}
.auth-links {
  margin-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.auth-links button {
  background: none;
  color: var(--purple);
  padding: 0;
  font-size: inherit;
}
.demo-access {
  margin-top: 30px;
  background: #ebfafb;
  padding: 17px;
  border-radius: 10px;
  font-size: 0.78rem;
}
.demo-access strong {
  display: block;
  margin-bottom: 8px;
}
.demo-access .row {
  gap: 8px;
}
.demo-access .btn {
  font-size: 0.76rem;
  padding: 8px;
}
.auth-error {
  color: var(--red);
  font-size: 0.85rem;
}
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.security-grid .panel-body {
  display: grid;
  gap: 16px;
}
.footer {
  display: flex;
  justify-content: space-between;
  color: #8d92a3;
  font-size: 0.73rem;
  padding-top: 12px;
}
.code-tabs {
  padding: 22px;
}
.api-endpoint {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.api-endpoint:first-child {
  padding-top: 0;
}
.api-endpoint p {
  color: var(--muted);
  font-size: 0.83rem;
  margin-top: 7px;
}
.checkout-page {
  max-width: 530px;
  margin: 65px auto;
  padding: 0 18px;
}
.checkout-page .brand {
  color: var(--ink);
  justify-content: center;
  margin-bottom: 25px;
}
.checkout-page .brand small {
  color: var(--muted);
}
.checkout-amount {
  text-align: center;
  padding: 22px 0;
}
.checkout-amount strong {
  font-size: 2.9rem;
  letter-spacing: -0.1rem;
}
.checkout-amount p {
  color: var(--muted);
  margin-top: 5px;
}
.address-box {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8f9fc;
  margin: 14px 0;
}
.checkout-status {
  padding: 17px;
  text-align: center;
  background: #f0fbfc;
  color: var(--purple);
  border-radius: 10px;
  margin-top: 20px;
}
.checkout-status.verified {
  background: #e7f8f1;
  color: #08795a;
}
.checkout-qr {
  display: grid;
  place-items: center;
  gap: 8px;
  margin: 18px auto;
}
.checkout-qr img {
  width: 196px;
  height: 196px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 35px #181a2d1a;
  image-rendering: pixelated;
}
.checkout-qr small {
  color: var(--muted);
}
.price-breakdown {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafaff;
}
.price-breakdown span {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--muted);
  font-size: 0.84rem;
}
.price-breakdown .total {
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.mobile-menu {
  display: none;
}
.break {
  word-break: break-all;
}
@media (min-width: 1500px) {
  .content {
    padding-top: 38px;
  }
  .cards {
    gap: 22px;
  }
  .card {
    padding: 25px;
  }
  .metric-value {
    font-size: 2.2rem;
  }
}
@media (max-width: 1150px) {
  .shell {
    grid-template-columns: 215px 1fr;
  }
  .sidebar {
    width: 215px;
    padding: 25px 14px;
  }
  .brand strong {
    font-size: 1rem;
  }
  .brand-mark {
    width: 31px;
    height: 31px;
  }
  .content {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .gas-grid,
  .network-balance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .security-grid {
    grid-template-columns: 1fr;
  }
  .auth-aside {
    padding: 40px;
  }
  .auth-copy h1 {
    font-size: 2.6rem;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    width: 245px;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main {
    width: 100%;
  }
  .topbar {
    height: 68px;
    padding: 0 18px;
  }
  .top-profile,
  .topbar .badge {
    display: none;
  }
  .gas-grid,
  .network-balance-grid {
    grid-template-columns: 1fr;
  }
  .gas-overview {
    padding: 18px;
  }
  .gas-overview-head {
    flex-direction: column;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .crumb {
    display: none;
  }
  .content {
    padding: 23px 16px;
  }
  .page-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .page-head h1 {
    font-size: 1.5rem;
  }
  .cards {
    gap: 12px;
  }
  .card {
    padding: 17px;
  }
  .metric-value {
    font-size: 1.5rem;
  }
  .metric-title {
    font-size: 0.75rem;
  }
  .panel-head {
    padding: 18px;
    flex-wrap: wrap;
  }
  .panel-body {
    padding: 18px;
  }
  td,
  th {
    padding: 13px 17px;
  }
  .app-grid {
    grid-template-columns: 1fr;
  }
  .form-grid,
  .details {
    grid-template-columns: 1fr;
  }
  .auth {
    grid-template-columns: 1fr;
  }
  .auth-aside {
    padding: 25px;
  }
  .auth-copy,
  .auth-foot {
    display: none;
  }
  .auth-form {
    padding: 35px 23px;
  }
  .report-form {
    flex-wrap: wrap;
  }
  .filter input {
    width: 190px;
  }
  .top-profile small {
    display: none;
  }
  .footer {
    gap: 12px;
    flex-wrap: wrap;
  }
  .mode-banner {
    font-size: 0.76rem;
  }
  .checkout-page {
    margin-top: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.trend-chart {
  width: 70%;
  max-width: 65px;
  display: block;
  color: #76dee5;
}
.checkout-foot {
  text-align: center;
  margin-top: 20px;
}

/* Merchant-selectable hosted checkout previews */
.design-picker {
  border: 0;
  padding: 8px 0 0;
  margin: 0;
}
.design-picker legend {
  font-weight: 650;
  margin-bottom: 2px;
}
.design-workbench {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(420px, 1.28fr);
  gap: 18px;
  align-items: start;
  padding-top: 14px;
}
.design-grid,
.design-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 14px;
}
.design-workbench .design-grid {
  grid-template-columns: 1fr;
  padding-top: 0;
  gap: 8px;
}
.design-admin-grid {
  padding: 20px;
}
.design-option {
  position: relative;
  cursor: pointer;
}
.design-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.design-preview {
  min-height: 148px;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  position: relative;
  transition:
    transform 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}
.design-workbench .design-preview {
  min-height: 72px;
  padding: 12px 14px;
  border-radius: 12px;
}
.design-workbench .design-preview i {
  width: 30px;
  height: 5px;
}
.design-workbench .design-preview b {
  margin-top: 4px;
}
.design-workbench .design-preview small {
  font-size: 0.7rem;
}
.design-option input:checked + .design-preview {
  border-color: #54d5df;
  box-shadow: 0 0 0 3px #6554df22;
  transform: translateY(-2px);
}
.design-preview i {
  width: 42px;
  height: 7px;
  border-radius: 99px;
  background: currentColor;
  opacity: 0.7;
}
.design-preview b {
  margin-top: 12px;
}
.design-preview small {
  opacity: 0.72;
}
.design-preview em {
  margin-top: auto;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
}
.design-classic .design-preview {
  background: #f3fcfd;
  color: #40d0db;
}
.design-obsidian .design-preview {
  background: #10131b;
  color: #f2d694;
  box-shadow: inset 0 0 0 1px #3b3427;
}
.design-aurora .design-preview {
  background: linear-gradient(135deg, #dff8ff, #e9fafb 55%, #fff0e8);
  color: #244e74;
}
.design-ledger .design-preview {
  background: linear-gradient(105deg, #fff 0 64%, #19243d 64%);
  color: #19243d;
  box-shadow: inset 0 0 0 1px #ccd1dc;
}
.design-none .design-preview {
  background: #fff;
  color: #474b58;
  border-style: dashed;
  border-color: #cfd2dc;
  border-radius: 4px;
}
.design-admin-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
}
.design-admin-card .row {
  margin-top: 12px;
}

/* Interactive, full-payment preview shown beside the design selector. */
.checkout-live-preview {
  --preview-bg: #f7fdfd;
  --preview-card: #fff;
  --preview-ink: #171a2c;
  --preview-muted: #74798b;
  --preview-line: #d7f5f7;
  --preview-accent: #56d6df;
  position: relative;
  min-height: 500px;
  border-radius: 20px;
  overflow: hidden;
  padding: 38px 34px 24px;
  color: var(--preview-ink);
  background: var(--preview-bg);
  border: 1px solid var(--preview-line);
  box-shadow: 0 22px 55px #1d234018;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.preview-browser {
  position: absolute;
  inset: 0 0 auto;
  height: 27px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  background: #ffffffa8;
  border-bottom: 1px solid var(--preview-line);
}
.preview-browser span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c4c6d0;
}
.preview-browser small {
  margin-left: auto;
  color: var(--preview-muted);
  font-size: 0.58rem;
}
.preview-company {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.preview-company-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--preview-accent);
  font-weight: 800;
}
.preview-company strong,
.preview-company small {
  display: block;
}
.preview-company small {
  color: var(--preview-muted);
  font-size: 0.66rem;
}
.preview-status,
.preview-expiry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.66rem;
}
.preview-status span {
  color: #8a6500;
  background: #fff2bf;
  border-radius: 99px;
  padding: 5px 8px;
  font-weight: 700;
}
.preview-status small {
  color: var(--preview-muted);
}
.preview-amount {
  text-align: center;
  margin: 18px 0 15px;
}
.preview-amount small,
.preview-amount em {
  display: block;
  color: var(--preview-muted);
  font-style: normal;
  font-size: 0.68rem;
}
.preview-amount strong {
  display: block;
  margin: 3px 0;
  font-size: 1.9rem;
  letter-spacing: -0.06rem;
}
.preview-amount strong span {
  color: var(--preview-accent);
  font-size: 0.85rem;
  letter-spacing: 0;
}
.preview-payment {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 16px;
  padding: 15px;
  border-radius: 15px;
  background: var(--preview-card);
  border: 1px solid var(--preview-line);
}
.preview-qr {
  display: block;
  width: 128px;
  aspect-ratio: 1;
  padding: 5px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px #161b2c20;
}
.preview-address small,
.preview-address code {
  display: block;
}
.preview-address small {
  color: var(--preview-muted);
  font-size: 0.65rem;
}
.preview-address code {
  margin: 8px 0;
  padding: 9px;
  border-radius: 8px;
  color: var(--preview-ink);
  background: var(--preview-bg);
  font-size: 0.68rem;
  word-break: break-all;
}
.preview-address button {
  padding: 8px 11px;
  border-radius: 8px;
  color: #fff;
  background: var(--preview-accent);
  font-size: 0.68rem;
}
.preview-warning {
  margin: 12px 0;
  padding: 9px 10px;
  border-radius: 9px;
  background: #fff7da;
  color: #695618;
  font-size: 0.63rem;
  line-height: 1.45;
}
.preview-expiry {
  color: var(--preview-muted);
  padding-bottom: 13px;
  border-bottom: 1px solid var(--preview-line);
}
.checkout-live-preview footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 13px;
  color: var(--preview-muted);
  font-size: 0.59rem;
}
.checkout-live-preview footer b {
  color: var(--preview-accent);
}
.preview-theme-name {
  position: absolute;
  right: 12px;
  bottom: 7px;
  opacity: 0.42;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.5rem;
}
.preview-obsidian {
  --preview-bg: #0d1017;
  --preview-card: #151923;
  --preview-ink: #f7f1df;
  --preview-muted: #aaa69b;
  --preview-line: #373429;
  --preview-accent: #d1b66c;
  box-shadow: 0 24px 60px #0005;
}
.preview-obsidian .preview-browser {
  background: #11151d;
}
.preview-obsidian .preview-company-mark,
.preview-obsidian .preview-address button {
  color: #17140d;
}
.preview-obsidian .preview-warning {
  background: #282315;
  color: #e0c987;
}
.preview-obsidian .preview-address code {
  background: #0d1017;
}
.preview-aurora {
  --preview-bg: linear-gradient(135deg, #dff8ff, #e9fafb 52%, #ffece5);
  --preview-card: #ffffffb8;
  --preview-ink: #173e5d;
  --preview-muted: #59778e;
  --preview-line: #ffffff;
  --preview-accent: #4876c7;
  backdrop-filter: blur(14px);
}
.preview-ledger {
  --preview-bg: linear-gradient(105deg, #f6f2e9 0 70%, #19243d 70%);
  --preview-card: #fff;
  --preview-ink: #19243d;
  --preview-muted: #697083;
  --preview-line: #cbd0da;
  --preview-accent: #19243d;
  border-radius: 3px;
  box-shadow: 10px 10px 0 #d8bd72;
}
.preview-ledger .preview-company-mark,
.preview-ledger .preview-address button,
.preview-ledger .preview-status span {
  border-radius: 2px;
}
.preview-none {
  --preview-bg: #fff;
  --preview-card: #fff;
  --preview-ink: #272727;
  --preview-muted: #666;
  --preview-line: #aaa;
  --preview-accent: #333;
  border-radius: 3px;
  box-shadow: none;
}

/* Four distinct customer checkout presentations. */
.gateway-signature {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  padding: 12px 8px;
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: #171b30;
  color: #fff;
  box-shadow: 0 12px 30px #13152622;
}
.checkout-merchant-brand strong {
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.checkout-theme-classic {
  background: radial-gradient(circle at 50% 0, #edfbfc 0, #f7f7fb 42%);
}
.checkout-theme-classic #checkout {
  border: 1px solid #e5f9fa;
  box-shadow: 0 24px 60px #4d3eba18;
}
.checkout-theme-obsidian {
  --ink: #f8f3e7;
  --muted: #aca99f;
  --line: #343329;
  --canvas: #090b10;
  --purple: #d6b96b;
  --purple-light: #252116;
  background: radial-gradient(circle at 50% 0, #24200f, #090b10 48%);
}
.checkout-theme-obsidian #checkout,
.checkout-theme-obsidian .address-box {
  background: #11141b;
  border-color: #343329;
  box-shadow: 0 30px 90px #0009;
}
.checkout-theme-obsidian .brand-mark {
  background: linear-gradient(145deg, #f1d98c, #a78131);
  color: #14120b;
}
.checkout-theme-obsidian .gateway-signature {
  background: #d6b96b;
  color: #17130b;
}
.checkout-theme-aurora {
  background: linear-gradient(135deg, #dff8ff, #e9fafb 52%, #ffece5);
  min-height: 100vh;
}
.checkout-theme-aurora #checkout {
  background: #ffffffa8;
  backdrop-filter: blur(18px);
  border: 1px solid #fff;
  box-shadow: 0 28px 70px #42558a24;
  border-radius: 25px;
}
.checkout-theme-aurora .brand-mark {
  border-radius: 50%;
  background: linear-gradient(135deg, #00aee8, #5fd8e0);
}
.checkout-theme-aurora .gateway-signature {
  background: linear-gradient(180deg, #167dae, #40d0db);
}
.checkout-theme-ledger {
  background: linear-gradient(90deg, #f2efe7 0 50%, #172238 50%);
  min-height: 100vh;
}
.checkout-theme-ledger .checkout-page {
  max-width: 620px;
}
.checkout-theme-ledger #checkout {
  border-radius: 2px;
  border: 0;
  border-top: 7px solid #172238;
  box-shadow: 12px 12px 0 #d8bd72;
}
.checkout-theme-ledger .checkout-merchant-brand {
  background: #fff;
  color: #172238;
  width: max-content;
  padding: 10px 16px;
}
.checkout-theme-ledger .brand-mark {
  background: #172238;
  border-radius: 2px;
}
.checkout-theme-none {
  background: #fff;
}
.checkout-theme-none #checkout {
  box-shadow: none;
  border: 1px solid #bbb;
  border-radius: 3px;
}
.checkout-theme-none .brand-mark,
.checkout-theme-none .gateway-signature {
  background: #333;
  border-radius: 2px;
}
@media (max-width: 760px) {
  .design-grid,
  .design-admin-grid {
    grid-template-columns: 1fr;
  }
  .design-workbench {
    grid-template-columns: 1fr;
  }
  .checkout-live-preview {
    min-height: 480px;
    padding: 38px 18px 20px;
  }
  .preview-payment {
    grid-template-columns: 105px 1fr;
    gap: 10px;
  }
  .preview-qr {
    width: 103px;
  }
  .gateway-signature {
    position: static;
    transform: none;
    writing-mode: horizontal-tb;
    width: max-content;
    margin: 18px auto;
  }
  .checkout-theme-ledger {
    background: #f2efe7;
  }
}

/* 2026 premium interface system — fast, dependency-free, motion-safe */
:root {
  --ink: #17192b;
  --muted: #71778d;
  --line: #e6e8f1;
  --canvas: #f5f6fa;
  --purple: #5dd7e0;
  --purple-dark: #2ccbd7;
  --purple-light: #f0fbfc;
  --green: #0f8a68;
  --red: #c43655;
  --radius: 17px;
  --shadow-sm: 0 1px 2px rgba(24, 27, 48, 0.04), 0 8px 24px rgba(24, 27, 48, 0.035);
  --shadow-md: 0 18px 55px rgba(31, 34, 62, 0.09);
}
html {
  scroll-behavior: smooth;
}
body {
  min-width: 320px;
  background:
    radial-gradient(circle at 78% -10%, rgba(102,218,226,0.07), transparent 28rem),
    var(--canvas);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: #d1f4f6;
  color: #15676c;
}
:focus-visible {
  outline: 3px solid rgba(93,215,224,0.27);
  outline-offset: 3px;
}
.btn {
  min-height: 40px;
  border-radius: 11px;
  padding: 9px 15px;
  box-shadow: 0 1px 2px rgba(24, 27, 48, 0.035);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(31, 34, 62, 0.08);
}
.btn.primary {
  background: linear-gradient(135deg, #6ddbe3, #40d0db);
  border-color: #48d2dc;
  box-shadow: 0 9px 20px rgba(69,210,220,0.23);
}
.btn.primary:hover {
  background: linear-gradient(135deg, #7cdfe6, #32cdd8);
  box-shadow: 0 12px 27px rgba(69,210,220,0.3);
}
.badge {
  border-radius: 999px;
  padding: 5px 10px;
  letter-spacing: 0.01em;
}
.shell {
  grid-template-columns: 280px minmax(0, 1fr);
}
.sidebar {
  width: 280px;
  padding: 24px 16px 18px;
  background: linear-gradient(180deg, #14182c 0%, #191d35 68%, #13172a 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.055);
  scrollbar-color: #454d70 transparent;
}
.sidebar-glow {
  position: absolute;
  top: -130px;
  right: -130px;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: rgba(92,215,224,0.17);
  filter: blur(35px);
  pointer-events: none;
}
.brand {
  position: relative;
  z-index: 1;
  gap: 11px;
  padding: 0 8px 22px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, #8de3e9, #43d1db);
  box-shadow: 0 12px 28px rgba(60,207,218,0.38), inset 0 1px rgba(255,255,255,.22);
}
.brand-mark svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand strong {
  font-size: 1.06rem;
  letter-spacing: -0.035em;
}
.brand small {
  margin-top: 2px;
  font-size: 0.6rem;
  letter-spacing: 0.145em;
  color: #969fbd;
}
.workspace {
  position: relative;
  margin: 0 3px 18px;
  padding: 12px;
  border: 1px solid rgba(190, 197, 224, 0.16);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.workspace strong {
  display: block;
  max-width: 158px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace-state {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: #4fe0ab;
  box-shadow: 0 0 0 4px rgba(79, 224, 171, 0.1);
}
.nav {
  gap: 15px;
}
.nav-group {
  display: grid;
  gap: 3px;
}
.nav-group > p {
  padding: 0 12px 7px;
  color: #697493;
  font-size: 0.59rem;
  font-weight: 720;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.nav a {
  position: relative;
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #aeb7d2;
  font-size: 0.835rem;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.nav a .icon {
  width: 18px;
  height: 18px;
  color: #808aa9;
  transition: color 150ms ease, transform 150ms ease;
}
.nav a:hover {
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.045);
  transform: translateX(2px);
}
.nav a:hover .icon {
  color: #cbf2f5;
}
.nav a.active {
  background: linear-gradient(90deg, rgba(99,217,225,0.96), rgba(66,209,219,0.9));
  border-color: rgba(198,241,244,0.19);
  box-shadow: 0 9px 22px rgba(31,153,162,0.27), inset 0 1px rgba(255,255,255,.14);
}
.nav a.active::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 4px;
  background: #d0f4f6;
}
.nav a.active .icon {
  color: #fff;
}
.side-bottom {
  padding-top: 24px;
}
.side-bottom .help {
  display: flex;
  gap: 10px;
  padding: 13px;
  border-color: rgba(190, 197, 224, 0.15);
  border-radius: 13px;
  background: rgba(255,255,255,.03);
}
.side-bottom .help .icon {
  color: #aeebef;
}
.side-bottom button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
}
.side-bottom button:hover {
  color: white;
  background: rgba(255,255,255,.05);
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 4;
  height: 76px;
  padding: 0 34px;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(224, 227, 238, 0.88);
  backdrop-filter: blur(16px) saturate(1.25);
}
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a90a2;
}
.crumb .icon {
  width: 13px;
  transform: rotate(90deg);
  opacity: .55;
}
.crumb strong {
  color: #30354d;
  font-weight: 650;
}
.top-profile {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.top-profile .avatar {
  background: linear-gradient(135deg, #edfbfc, #def7f9);
}
.content {
  max-width: 1640px;
  padding: 35px 38px 44px;
}
.page-head {
  margin-bottom: 25px;
}
.page-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--purple);
  font-size: .66rem;
  font-weight: 760;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.page-head h1 {
  font-size: clamp(1.65rem, 2vw, 2rem);
  letter-spacing: -.055em;
}
.page-head p {
  max-width: 700px;
  margin-top: 6px;
}
.page-transition #page-content > * {
  animation: interface-enter 110ms ease-out both;
}
.page-transition #page-content > *:nth-child(2),
.page-transition #page-content > *:nth-child(3) { animation-delay: 0ms; }
@keyframes interface-enter {
  from { transform: translateY(2px); }
  to { transform: translateY(0); }
}
.cards {
  gap: 15px;
}
.card,
.panel,
.gas-overview,
.network-balance-card,
.app-card,
.quickstart {
  border-color: rgba(224, 227, 238, .92);
  box-shadow: var(--shadow-sm);
}
.metric-card {
  position: relative;
  min-height: 166px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #fbfbfe);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.metric-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -55px;
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background: rgba(92,215,224,0.045);
}
.metric-card:hover {
  transform: translateY(-2px);
  border-color: #ddf7f9;
  box-shadow: var(--shadow-md);
}
.metric-title i {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #5dd7e0;
  background: #f0fbfc;
}
.metric-title i .icon {
  width: 18px;
  height: 18px;
}
.metric-value {
  margin-top: 15px;
  font-weight: 720;
}
.panel {
  overflow: hidden;
  background: rgba(255,255,255,.94);
}
.panel-head {
  min-height: 72px;
  padding: 20px 22px;
  background: linear-gradient(180deg, #fff, #fdfdff);
}
.panel-head h2 {
  letter-spacing: -.02em;
}
.panel-head p {
  margin-top: 3px;
}
.table-wrap {
  scrollbar-width: thin;
  scrollbar-color: #cbcfe0 transparent;
}
table {
  border-collapse: separate;
  border-spacing: 0;
}
thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fafafe;
  color: #747b91;
  font-size: .7rem;
  letter-spacing: .035em;
  text-transform: uppercase;
}
tbody tr {
  transition: background 140ms ease;
}
tbody tr:hover {
  background: #faf9ff;
}
.field input,
.field select,
textarea,
.filter input {
  min-height: 44px;
  border-radius: 11px;
  border-color: #dfe2ec;
  background: #fbfbfd;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}
.field input:focus,
.field select:focus,
textarea:focus,
.filter input:focus {
  background: white;
  border-color: #8be3e9;
  box-shadow: 0 0 0 4px rgba(93,215,224,0.1);
  outline: none;
}
dialog {
  border: 1px solid rgba(224, 227, 238, .9);
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(18, 20, 41, .24);
}
dialog::backdrop {
  background: rgba(18, 21, 40, .56);
  backdrop-filter: blur(5px);
}
.footer {
  margin-top: 22px;
  padding: 18px 2px 0;
  border-top: 1px solid rgba(225, 227, 236, .75);
}

/* Premium sign-in / public landing */
.auth {
  grid-template-columns: minmax(540px, 1.08fr) minmax(440px, .92fr);
  background: #f7f7fb;
}
.auth-aside {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 42px clamp(38px, 5vw, 78px);
  background:
    linear-gradient(145deg, rgba(16,19,38,.98), rgba(27,61,63,.98)),
    #15182d;
}
.auth-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .11;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom right, #000, transparent 68%);
}
.auth-ambient {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(16px);
  animation: ambient-float 8s ease-in-out infinite alternate;
}
.auth-ambient-one {
  width: 420px;
  height: 420px;
  right: -180px;
  top: 12%;
  background: rgba(105,218,226,.26);
}
.auth-ambient-two {
  width: 300px;
  height: 300px;
  left: -150px;
  bottom: -90px;
  background: rgba(31, 191, 160, .13);
  animation-delay: -3s;
}
@keyframes ambient-float {
  to { transform: translate3d(15px, 20px, 0) scale(1.08); }
}
.auth-copy {
  max-width: 620px;
}
.auth-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  padding: 7px 11px;
  border: 1px solid rgba(200,242,245,.17);
  border-radius: 999px;
  color: #beeff3;
  background: rgba(255,255,255,.045);
  font-size: .72rem;
  font-weight: 650;
}
.auth-live i,
.auth-coins i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #52e3ad;
  box-shadow: 0 0 0 4px rgba(82, 227, 173, .1);
}
.auth-copy .eyebrow {
  margin-bottom: 13px;
  color: #8ee3e9;
  font-size: .7rem;
  font-weight: 740;
}
.auth-copy h1 {
  max-width: 590px;
  font-size: clamp(3rem, 4.3vw, 4.8rem);
  line-height: 1.01;
  letter-spacing: -.065em;
  font-weight: 690;
}
.auth-copy h1 span {
  color: transparent;
  background: linear-gradient(90deg, #c5f1f4, #89e2e9 52%, #77dcc9);
  background-clip: text;
  -webkit-background-clip: text;
}
.auth-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 24px;
  color: #b2b9d0;
  font-size: 1rem;
}
.auth-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 560px;
  margin-top: 34px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.09);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.auth-proof div {
  padding: 0 18px;
  border-right: 1px solid rgba(255,255,255,.09);
}
.auth-proof div:first-child { padding-left: 0; }
.auth-proof div:last-child { border: 0; }
.auth-proof strong {
  display: block;
  font-size: 1.3rem;
  color: #fff;
}
.auth-proof span {
  color: #8e98b5;
  font-size: .68rem;
}
.auth-coins {
  margin-top: 22px;
}
.auth-coins span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-color: rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
}
.auth-coins i {
  background: #90e4ea;
  box-shadow: none;
}
.auth-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #707b9a;
}
.auth-foot span {
  color: #b1bad2;
  font-weight: 650;
}
.auth-form {
  position: relative;
  padding: 48px;
  background:
    radial-gradient(circle at 50% 28%, rgba(97,216,225,.075), transparent 22rem),
    #f8f8fb;
}
.auth-form-shell {
  max-width: 430px !important;
  padding: 37px;
  border: 1px solid rgba(225, 227, 238, .92);
  border-radius: 23px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 30px 80px rgba(31,71,74,.1), inset 0 1px #fff;
  animation: auth-enter 420ms cubic-bezier(.2,.8,.2,1) both;
}
@keyframes auth-enter {
  from { opacity: 0; transform: translateY(12px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.auth-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--purple);
  font-size: .67rem;
  font-weight: 760;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.auth-form h2 {
  font-size: 2rem;
  font-weight: 710;
  letter-spacing: -.045em;
}
.auth-form .intro {
  margin: 7px 0 27px;
}
.auth-form form {
  gap: 15px;
}
.auth-form .field label {
  font-size: .76rem;
  font-weight: 650;
}
.auth-form .field input {
  min-height: 48px;
  padding: 0 14px;
}
.auth-form .btn {
  min-height: 49px;
  margin-top: 4px;
}
.auth-security {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #7b8194;
}
.auth-security .icon {
  width: 22px;
  color: var(--green);
}
.auth-security strong,
.auth-security span {
  display: block;
}
.auth-security strong {
  color: #3e4358;
  font-size: .75rem;
}
.auth-security span {
  font-size: .67rem;
}
.auth-mobile-brand {
  display: none;
}

@media (max-width: 1220px) {
  .shell { grid-template-columns: 245px minmax(0, 1fr); }
  .sidebar { width: 245px; }
  .auth { grid-template-columns: 1fr 0.82fr; }
  .auth-aside { padding: 36px 42px; }
  .auth-proof { max-width: 470px; }
  .content { padding-inline: 27px; }
}
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth-aside { min-height: 390px; padding: 30px 34px; }
  .auth-copy { margin: 50px 0 35px; }
  .auth-copy h1 { font-size: clamp(2.6rem, 8vw, 4rem); }
  .auth-proof { margin-top: 25px; }
  .auth-foot { display: none; }
  .auth-form { min-height: 610px; }
}
@media (max-width: 760px) {
  .sidebar { width: min(290px, 88vw); padding-top: 20px; box-shadow: 25px 0 60px rgba(14,16,31,.3); }
  .sidebar.open { transform: translateX(0); }
  .topbar { height: 66px; padding: 0 15px; }
  .content { padding: 23px 15px 35px; }
  .page-head { margin-bottom: 20px; }
  .page-actions { width: 100%; flex-wrap: wrap; }
  .page-actions .btn { flex: 1; }
  .cards { grid-template-columns: 1fr 1fr; }
  .metric-card { min-height: 145px; padding: 16px; }
  .metric-title { align-items: flex-start; gap: 6px; }
  .metric-title i { width: 31px; height: 31px; }
  .metric-value { font-size: 1.38rem; letter-spacing: -.04em; }
  .auth-aside { display: none; }
  .auth-form { min-height: 100dvh; padding: 24px 18px; }
  .auth-form-shell { max-width: 440px !important; padding: 27px 22px; }
  .auth-mobile-brand { display: block; margin-bottom: 35px; }
  .auth-mobile-brand .brand { padding: 0; color: var(--ink); }
  .auth-mobile-brand .brand small { color: var(--muted); }
}
@media (max-width: 460px) {
  .cards { grid-template-columns: 1fr; }
  .metric-card { min-height: auto; }
  .panel-head { align-items: flex-start; }
  .auth-form-shell { padding: 25px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Full public product site */
.landing {
  min-height: 100vh;
  overflow: hidden;
  color: #eef0ff;
  background: #0e1122;
}
.landing .brand {
  padding: 0;
}
.landing-nav {
  width: min(1320px, calc(100% - 48px));
  height: 84px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid rgba(255,255,255,.075);
}
.landing-nav nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.landing-nav nav a {
  position: relative;
  color: #aeb5ce;
  font-size: .82rem;
  font-weight: 590;
}
.landing-nav nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: #88e2e8;
  transition: right 180ms ease;
}
.landing-nav nav a:hover {
  color: white;
  text-decoration: none;
}
.landing-nav nav a:hover::after { right: 0; }
.landing-nav .btn {
  color: white;
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.055);
}
.landing-nav .btn.primary {
  border-color: #5ed8e0;
  background: linear-gradient(135deg, #7bdfe6, #46d2dc);
}
.landing-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8f98b6;
  font-size: .72rem;
}
.landing-status i,
.hero-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4de0aa;
  box-shadow: 0 0 0 5px rgba(77,224,170,.1);
}
.landing-hero {
  position: relative;
  width: min(1320px, calc(100% - 48px));
  min-height: 730px;
  margin: auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 80px;
}
.landing-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -260px;
  left: -350px;
  width: 820px;
  height: 820px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,207,218,.27), rgba(15,18,35,0) 68%);
  pointer-events: none;
}
.hero-copy,
.product-stage {
  position: relative;
  z-index: 1;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #a2e8ed;
  font-size: .69rem;
  font-weight: 720;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-copy h1 {
  margin-top: 22px;
  max-width: 660px;
  color: white;
  font-size: clamp(3.4rem, 5.4vw, 5.8rem);
  line-height: .96;
  letter-spacing: -.075em;
  font-weight: 720;
}
.hero-copy h1 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(90deg, #a7e9ee, #62d8ca);
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-copy > p {
  max-width: 600px;
  margin-top: 28px;
  color: #aeb6cf;
  font-size: 1.03rem;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-actions .btn {
  min-height: 49px;
  padding-inline: 20px;
  color: #e3f8fa;
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.055);
}
.hero-actions .btn.primary {
  color: white;
  border-color: #64d9e1;
  background: linear-gradient(135deg, #7bdfe6, #46d2dc);
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  color: #7f89a8;
  font-size: .71rem;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-trust .icon {
  width: 15px;
  height: 15px;
  color: #8ae2e9;
}
.product-stage {
  perspective: 1400px;
}
.stage-orbit {
  position: absolute;
  border: 1px solid rgba(115,221,228,.19);
  border-radius: 50%;
  animation: orbit-turn 18s linear infinite;
}
.stage-orbit::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  top: 13%;
  left: 12%;
  border-radius: 50%;
  background: #74dde5;
  box-shadow: 0 0 24px #7bdfe6;
}
.orbit-one { inset: -85px -35px; }
.orbit-two { inset: -28px 28px; animation-direction: reverse; animation-duration: 13s; }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
.product-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(209,244,246,.2);
  border-radius: 24px;
  background: #f7f8fc;
  box-shadow: 0 55px 100px rgba(0,0,0,.38), 0 0 80px rgba(83,213,222,.16);
  transform: rotateY(-6deg) rotateX(2deg);
  animation: product-float 6s ease-in-out infinite alternate;
}
@keyframes product-float {
  to { transform: rotateY(-3deg) rotateX(1deg) translateY(-10px); }
}
.product-window-bar {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  color: #686f84;
  border-bottom: 1px solid #e5e7ef;
  background: #fff;
  font-size: .67rem;
}
.product-window-bar > div { display: flex; gap: 5px; }
.product-window-bar > div i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d8dbe5;
}
.product-window-bar b,
.mock-payment > b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #268264;
  font-weight: 670;
}
.product-window-bar b i,
.mock-payment > b i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #32c68f;
}
.product-window-body {
  display: grid;
  grid-template-columns: 56px 1fr;
  color: #1b1e31;
}
.product-side {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 23px;
  padding-top: 18px;
  background: #171a2f;
}
.mini-logo {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 9px;
  color: white;
  background: #5fd8e1;
  font-weight: 800;
}
.product-side i {
  width: 17px;
  height: 4px;
  border-radius: 5px;
  background: #454a64;
}
.product-side i.active {
  height: 17px;
  border-radius: 6px;
  background: #7adfe6;
  box-shadow: 0 0 0 6px rgba(122,223,230,.11);
}
.product-main { padding: 25px; }
.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mock-head small,
.mock-head strong { display: block; }
.mock-head small { color: #9297a8; font-size: .6rem; }
.mock-head strong { margin-top: 2px; font-size: .96rem; }
.mock-head > span {
  padding: 8px 11px;
  border-radius: 8px;
  color: white;
  background: #5dd7e0;
  font-size: .58rem;
}
.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 20px;
}
.mock-stats article {
  padding: 13px;
  border: 1px solid #e5e7ef;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(25,28,49,.04);
}
.mock-stats small,
.mock-stats strong,
.mock-stats em { display: block; }
.mock-stats small { color: #8c91a3; font-size: .53rem; }
.mock-stats strong { margin-top: 6px; font-size: .9rem; }
.mock-stats em { margin-top: 4px; color: #31886b; font-size: .5rem; font-style: normal; }
.mock-chart {
  height: 195px;
  margin-top: 11px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid #e5e7ef;
  border-radius: 12px;
  background: #fff;
}
.mock-chart small,
.mock-chart strong { display: block; }
.mock-chart small { color: #8c91a3; font-size: .52rem; }
.mock-chart strong { margin-top: 2px; font-size: .7rem; }
.mock-chart svg { width: 100%; height: 138px; }
.mock-payment {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 11px;
  padding: 11px 13px;
  border: 1px solid #e5e7ef;
  border-radius: 11px;
  background: #fff;
}
.mock-coin {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #2f6ebd;
  background: #eaf4ff;
  font-weight: 750;
}
.mock-payment > div { flex: 1; }
.mock-payment strong,
.mock-payment small { display: block; }
.mock-payment strong { font-size: .7rem; }
.mock-payment small { color: #8b90a1; font-size: .52rem; }
.mock-payment > b { font-size: .54rem; }
.network-rail {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  gap: 42px;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.network-rail > span {
  flex: none;
  color: #697390;
  font-size: .69rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.network-rail > div {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.network-rail b {
  color: #c6cbe0;
  font-size: .77rem;
  font-weight: 620;
  white-space: nowrap;
}
.landing-section {
  width: min(1320px, calc(100% - 48px));
  margin: auto;
  padding: 120px 0;
}
.section-heading {
  max-width: 720px;
}
.section-heading > span,
.section-tag {
  color: #87e2e8;
  font-size: .68rem;
  font-weight: 720;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.section-heading h2,
.developer-section h2,
.access-copy h2 {
  margin-top: 14px;
  color: #f8f8ff;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.06em;
}
.section-heading p,
.developer-section p,
.access-copy p {
  margin-top: 17px;
  color: #8f98b3;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 58px;
}
.feature-grid article {
  position: relative;
  min-height: 310px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}
.feature-grid article::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(84,213,223,.13);
  filter: blur(25px);
}
.feature-grid article:hover {
  transform: translateY(-7px);
  border-color: rgba(139,227,233,.35);
  background: linear-gradient(145deg, rgba(107,219,227,.1), rgba(255,255,255,.025));
}
.feature-grid article > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #b3ecf0;
  background: rgba(103,218,226,.13);
}
.feature-grid small {
  display: block;
  margin-top: 38px;
  color: #656f8e;
  font-size: .6rem;
  font-weight: 740;
  letter-spacing: .12em;
}
.feature-grid h3 {
  margin-top: 10px;
  color: white;
  font-size: 1.24rem;
}
.feature-grid p {
  margin-top: 13px;
  color: #969fb8;
  font-size: .83rem;
  line-height: 1.7;
}
.feature-grid em {
  position: absolute;
  left: 28px;
  bottom: 25px;
  color: #4cd3dd;
  font-size: .67rem;
  font-style: normal;
}
.developer-section {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto 120px;
  padding: 70px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 75px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 28px;
  background: radial-gradient(circle at 100% 0, rgba(92,215,224,.2), transparent 45%), #15182c;
}
.developer-points {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 26px;
}
.developer-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #adb5ce;
  font-size: .72rem;
}
.developer-points .icon { width: 15px; color: #87e2e8; }
.landing-code {
  display: grid;
  gap: 8px;
  padding: 27px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px;
  color: #bfc6de;
  background: #0b0e1c;
  box-shadow: 0 28px 60px rgba(0,0,0,.3);
}
.landing-code span {
  margin-bottom: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid #262a3c;
  color: #858da8;
  font: .73rem ui-monospace, monospace;
}
.landing-code span b { color: #4fd5a3; }
.landing-code code { color: #b8bfe1; font-size: .79rem; }
.landing-access {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
.access-steps {
  display: grid;
  gap: 10px;
  margin-top: 29px;
}
.access-steps span {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #a3abc5;
  font-size: .78rem;
}
.access-steps b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(143,228,234,.27);
  border-radius: 50%;
  color: #9ae6ec;
  font-size: .61rem;
}
.landing-access .auth-form {
  min-height: auto;
  padding: 0;
  background: transparent;
}
.landing-footer {
  width: min(1320px, calc(100% - 48px));
  min-height: 150px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 35px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #68728e;
  font-size: .72rem;
}
.landing-footer .brand { margin-right: auto; }

/* Deeper workspace components and page personalities */
.shell {
  --page-accent: #5cd7e0;
  --page-soft: #f0fbfc;
}
.page-payments,
.page-partial-payments { --page-accent: #2777d9; --page-soft: #eaf4ff; }
.page-withdrawals,
.page-auto-withdrawals,
.page-customer-payouts,
.page-merchant-payouts { --page-accent: #168568; --page-soft: #e7f7f1; }
.page-aml-risk,
.page-global-risk,
.page-kyc,
.page-gateway-controls,
.page-security { --page-accent: #b9435e; --page-soft: #fff0f3; }
.page-global-risk { --page-accent: #5dd7e0; --page-soft: #f0fbfc; }
.page-provider-routing,
.page-scanner-controls,
.page-network-operations,
.page-api-rate-limits { --page-accent: #c27a12; --page-soft: #fff4df; }
.page-apps,
.page-developers,
.page-checkout-designs { --page-accent: #4bd3dd; --page-soft: #f0fbfc; }
.page-head {
  position: relative;
  min-height: 118px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(225,227,238,.95);
  border-radius: 20px;
  background: linear-gradient(120deg, #fff 0%, #fff 72%, var(--page-soft) 150%);
  box-shadow: var(--shadow-sm);
}
.page-head::after {
  content: "";
  position: absolute;
  right: -55px;
  top: -85px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--page-soft);
  opacity: .8;
  pointer-events: none;
}
.page-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 15px;
}
.page-emblem {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 16px;
  color: var(--page-accent);
  background: var(--page-soft);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}
.page-emblem .icon { width: 24px; height: 24px; }
.page-kicker { color: var(--page-accent); }
.page-actions {
  position: relative;
  z-index: 1;
}
.page-actions .btn.primary {
  background: var(--page-accent);
  border-color: var(--page-accent);
}
.panel {
  position: relative;
  border-radius: 19px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.panel::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  top: -1px;
  height: 2px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--page-accent), transparent);
  opacity: .3;
}
.panel:hover {
  border-color: color-mix(in srgb, var(--page-accent) 20%, #e4e6ee);
  box-shadow: 0 18px 50px rgba(28,31,55,.075);
}
.panel-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.panel-symbol {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 11px;
  color: var(--page-accent);
  background: var(--page-soft);
}
.panel-symbol .icon { width: 18px; height: 18px; }
.panel-extra {
  display: flex;
  align-items: center;
  gap: 8px;
}
.notice {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--page-accent) 13%, transparent);
  border-left: 3px solid var(--page-accent);
  border-radius: 13px;
  background: color-mix(in srgb, var(--page-soft) 74%, #fff);
}
.notice::after {
  content: "";
  position: absolute;
  top: -28px;
  right: -20px;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: var(--page-accent);
  opacity: .035;
}
.metric-card {
  border-radius: 18px;
}
.metric-card .metric-value {
  color: #15182a;
}
.metric-card .metric-title i {
  color: var(--page-accent);
  background: var(--page-soft);
}
.metric-card::after { background: var(--page-soft); opacity: .75; }
.app-card {
  position: relative;
  min-height: 205px;
  padding: 22px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #fafaff);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.app-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -55px;
  top: -55px;
  border-radius: 50%;
  background: var(--page-soft);
}
.app-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--page-accent) 25%, #e4e6ee);
  box-shadow: var(--shadow-md);
}
.app-card > * { position: relative; z-index: 1; }
.empty {
  min-height: 230px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, var(--page-soft), transparent 42%);
}
.empty::before {
  content: "";
  width: 44px;
  height: 44px;
  margin-bottom: 3px;
  border: 1px dashed color-mix(in srgb, var(--page-accent) 40%, #d8dbe6);
  border-radius: 14px;
  background: var(--page-soft);
}
.form-grid {
  gap: 18px;
}
.modal-head {
  padding: 22px 25px;
  background: linear-gradient(120deg, #fff, var(--page-soft));
}
.modal-body {
  padding: 27px;
  background: #fdfdff;
}
.form-actions {
  margin-top: 5px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
tbody td {
  vertical-align: middle;
}
tbody td:first-child {
  position: relative;
}
tbody tr:hover td:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 3px;
  border-radius: 3px;
  background: var(--page-accent);
}
.filter {
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fafafe;
}
.filter input {
  border: 0;
  background: transparent;
}
.page-transition .page-head {
  animation: page-head-enter 90ms ease-out both;
}
.page-transition #page-content > * {
  animation-duration: 110ms;
}
@keyframes page-head-enter {
  from { transform: translateY(-2px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1080px) {
  .landing-nav nav,
  .landing-status { display: none; }
  .landing-hero { grid-template-columns: 1fr; gap: 45px; padding: 90px 0; }
  .hero-copy { text-align: center; }
  .hero-copy h1,
  .hero-copy > p { margin-inline: auto; }
  .hero-actions,
  .hero-trust { justify-content: center; }
  .product-stage { width: min(760px, 92%); margin: auto; }
  .network-rail { align-items: flex-start; }
  .network-rail > div { flex-wrap: wrap; justify-content: flex-start; }
  .developer-section { grid-template-columns: 1fr; padding: 48px; }
}
@media (max-width: 760px) {
  .landing-nav { width: calc(100% - 30px); height: 72px; }
  .landing-nav .brand small,
  .landing-nav .btn:first-of-type { display: none; }
  .landing-nav .row { gap: 6px; }
  .landing-nav .btn { min-height: 37px; padding: 7px 10px; font-size: .72rem; }
  .landing-hero { width: calc(100% - 30px); min-height: auto; padding: 72px 0 65px; }
  .hero-copy h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-copy > p { font-size: .92rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 13px; }
  .product-window { transform: none; animation: none; }
  .stage-orbit { display: none; }
  .product-window-body { grid-template-columns: 38px 1fr; }
  .product-side { min-height: 400px; gap: 20px; }
  .product-main { padding: 15px; }
  .mock-stats { grid-template-columns: 1fr 1fr; }
  .mock-stats article:last-child { display: none; }
  .mock-chart { height: 165px; }
  .mock-chart svg { height: 108px; }
  .network-rail { width: calc(100% - 30px); flex-direction: column; gap: 17px; }
  .landing-section { width: calc(100% - 30px); padding: 85px 0; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 38px; }
  .feature-grid article { min-height: 285px; }
  .developer-section { width: calc(100% - 30px); margin-bottom: 90px; padding: 29px 22px; border-radius: 20px; }
  .landing-access { width: calc(100% - 30px); grid-template-columns: 1fr; gap: 38px; margin-bottom: 90px; }
  .landing-access .auth-form-shell { padding: 25px 20px; }
  .landing-footer { width: calc(100% - 30px); flex-wrap: wrap; gap: 10px; padding: 35px 0; }
  .landing-footer .brand { width: 100%; }
  .page-head { padding: 19px; align-items: flex-start; }
  .page-heading { align-items: flex-start; }
  .page-emblem { width: 44px; height: 44px; border-radius: 13px; }
  .panel-heading { align-items: flex-start; }
  .panel-extra { width: 100%; justify-content: flex-start; }
}

/* Global risk intelligence control center */
.risk-workspace {
  --risk-ink: #151833;
  --risk-muted: #69708b;
  --risk-violet: #5dd7e0;
  --risk-indigo: #2bcbd7;
  --risk-line: #e5e7f2;
  display: grid;
  gap: 20px;
}
.risk-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 34px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(93,215,224,.18);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 12%, rgba(147,229,235,.34), transparent 28%),
    radial-gradient(circle at 12% 110%, rgba(81,198,232,.2), transparent 34%),
    linear-gradient(128deg, #151833 0%, #214b4e 54%, #35ced8 120%);
  box-shadow: 0 22px 55px rgba(32,73,76,.18);
}
.risk-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -100px;
  bottom: -170px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(255,255,255,.035), 0 0 0 72px rgba(255,255,255,.025);
  pointer-events: none;
}
.risk-hero-copy { position: relative; z-index: 1; max-width: 720px; }
.risk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #cff3f6;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.risk-eyebrow .icon { width: 16px; height: 16px; }
.risk-hero h2 { margin: 0; color: #fff; font-size: clamp(1.55rem, 2.3vw, 2.35rem); letter-spacing: -.045em; }
.risk-hero-copy p { max-width: 680px; margin: 12px 0 0; color: #c9cbe0; line-height: 1.65; }
.risk-hero-status {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  align-self: start;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(10px);
}
.risk-live-dot { width: 10px; height: 10px; border-radius: 50%; background: #64e6b3; box-shadow: 0 0 0 6px rgba(100,230,179,.13); }
.risk-hero-status div { display: grid; gap: 2px; }
.risk-hero-status small { color: #9ee7ed; font-size: .7rem; }
.risk-hero-status strong { color: #fff; font-size: .84rem; }
.risk-command-bar {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}
.risk-address-search {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 13px 15px;
  color: #1f474a;
  text-align: left;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 15px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 30px rgba(14,32,33,.17);
  cursor: pointer;
}
.risk-address-search > .icon { flex: 0 0 auto; width: 21px; height: 21px; color: var(--risk-violet); }
.risk-address-search span { display: grid; gap: 2px; min-width: 0; }
.risk-address-search small { color: #767b94; font-size: .68rem; }
.risk-address-search strong { overflow: hidden; font-size: .84rem; text-overflow: ellipsis; white-space: nowrap; }
.risk-address-search kbd { margin-left: auto; padding: 5px 8px; color: #686d86; font: 700 .65rem inherit; border: 1px solid #e3e4ed; border-radius: 7px; background: #f6f6fa; }
.risk-address-search:hover { border-color: #c3f0f4; transform: translateY(-1px); }
.risk-sync-button { gap: 8px; min-height: 52px; color: #fff; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); }
.risk-sync-button:hover { color: #fff; background: rgba(255,255,255,.17); }
.risk-sync-button .icon { width: 17px; height: 17px; }
.risk-tabs {
  display: flex;
  gap: 6px;
  padding: 7px;
  margin: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  border: 1px solid var(--risk-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.risk-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 13px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .78rem;
  font-weight: 750;
  cursor: pointer;
}
.risk-tabs button .icon { width: 16px; height: 16px; }
.risk-tabs button:hover { color: var(--risk-indigo); background: #f6fdfd; }
.risk-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--risk-violet), var(--risk-indigo));
  box-shadow: 0 9px 22px rgba(53,206,216,.25);
}
.risk-tab-content { animation: content-enter .24s ease both; }
.risk-provider-notice {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid #dfe2f4;
  border-radius: 18px;
  background: linear-gradient(105deg, #f7f7ff, #fff);
  box-shadow: 0 10px 28px rgba(38,85,88,.06);
}
.risk-provider-icon { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; color: var(--risk-indigo); border-radius: 13px; background: #edfafb; }
.risk-provider-icon .icon { width: 20px; height: 20px; }
.risk-provider-notice > div { display: grid; gap: 3px; min-width: 0; }
.risk-provider-notice small { color: var(--risk-muted); font-size: .68rem; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.risk-provider-notice strong { color: var(--risk-ink); text-transform: capitalize; }
.risk-provider-notice p { margin: 0; color: var(--risk-muted); font-size: .78rem; line-height: 1.45; }
.risk-provider-notice time { margin-left: auto; flex: 0 0 auto; color: var(--risk-muted); font-size: .72rem; }
.risk-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.risk-stat-grid article {
  display: flex;
  gap: 14px;
  min-height: 142px;
  padding: 20px;
  border: 1px solid var(--risk-line);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(31,70,73,.055);
  transition: transform .18s ease, box-shadow .18s ease;
}
.risk-stat-grid article:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(31,70,73,.09); }
.risk-stat-grid article > span { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; color: var(--risk-violet); border-radius: 13px; background: #f0fbfc; }
.risk-stat-grid article > span .icon { width: 20px; height: 20px; }
.risk-stat-grid article > div { display: grid; align-content: start; gap: 4px; min-width: 0; }
.risk-stat-grid small { color: var(--risk-muted); font-size: .73rem; }
.risk-stat-grid strong { margin-top: 7px; color: var(--risk-ink); font-size: 1.85rem; letter-spacing: -.05em; }
.risk-stat-grid p { margin: 0; color: #8a8fa5; font-size: .72rem; line-height: 1.4; }
.risk-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: 30px 2px 14px; }
.risk-section-heading span { color: var(--risk-violet); font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.risk-section-heading h3 { margin: 5px 0 0; color: var(--risk-ink); font-size: 1.18rem; }
.risk-section-heading p { margin: 0; color: var(--risk-muted); font-size: .76rem; }
.risk-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.risk-capability-grid article {
  display: flex;
  gap: 13px;
  align-items: center;
  min-height: 104px;
  padding: 17px;
  border: 1px solid var(--risk-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.risk-capability-grid article > .risk-capability-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--risk-indigo);
  background: #f0fbfc;
  font-weight: 850;
}
.risk-capability-icon .icon { width: 18px; height: 18px; }
.risk-capability-grid article div { display: grid; gap: 5px; min-width: 0; }
.risk-capability-grid article div > small:first-child { color: #969aaf; font-size: .61rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.risk-capability-grid article strong { color: var(--risk-ink); font-size: .88rem; }
.risk-capability-grid .badge { width: fit-content; }
@media (max-width: 1050px) {
  .risk-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .risk-capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .risk-hero { grid-template-columns: 1fr; padding: 22px 18px; border-radius: 20px; }
  .risk-hero-status { min-width: 0; width: 100%; }
  .risk-command-bar { grid-template-columns: 1fr; }
  .risk-sync-button { width: 100%; }
  .risk-address-search kbd { display: none; }
  .risk-tabs { margin-inline: -2px; border-radius: 14px; }
  .risk-tabs button { min-height: 42px; padding: 9px 11px; }
  .risk-provider-notice { align-items: flex-start; }
  .risk-provider-notice time { display: none; }
  .risk-stat-grid,
  .risk-capability-grid { grid-template-columns: 1fr; }
  .risk-stat-grid article { min-height: 112px; }
  .risk-section-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
}

/* Global intelligence studio — premium command-center treatment */
.risk-workspace {
  --risk-ink: #10152f;
  --risk-muted: #69718d;
  --risk-violet: #80e0e7;
  --risk-indigo: #41d1db;
  --risk-cyan: #68e7e1;
  --risk-line: #e6e8f3;
  gap: 18px;
}
.risk-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .62fr);
  min-height: 410px;
  padding: 52px 54px 104px;
  border: 0;
  border-radius: 30px;
  isolation: isolate;
  background:
    linear-gradient(120deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 34px 34px,
    radial-gradient(circle at 84% 45%, rgba(103,232,225,.17), transparent 23%),
    radial-gradient(circle at 8% 115%, rgba(128,224,231,.42), transparent 37%),
    linear-gradient(132deg, #0c1027 0%, #19383a 50%, #245154 100%);
  box-shadow: 0 30px 80px rgba(23,53,55,.22);
}
.risk-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 32%);
  pointer-events: none;
}
.risk-hero::after {
  width: 420px;
  height: 420px;
  right: -205px;
  bottom: -270px;
  border-color: rgba(104,231,225,.16);
  box-shadow: 0 0 0 54px rgba(104,231,225,.025), 0 0 0 108px rgba(128,224,231,.025);
}
.risk-hero-copy { align-self: center; max-width: 760px; }
.risk-eyebrow {
  gap: 9px;
  margin-bottom: 22px;
  color: #cff3f6;
  font-size: .68rem;
  letter-spacing: .16em;
}
.risk-eyebrow > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--risk-cyan);
  box-shadow: 0 0 0 6px rgba(104,231,225,.11), 0 0 22px rgba(104,231,225,.75);
}
.risk-hero h2 {
  max-width: 700px;
  font-size: clamp(2.35rem, 4vw, 4.4rem);
  font-weight: 820;
  line-height: .97;
  letter-spacing: -.065em;
}
.risk-hero h2 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(90deg, #fff 0%, #c3f0f4 48%, #70eee7 100%);
  background-clip: text;
  -webkit-background-clip: text;
}
.risk-hero-copy > p {
  max-width: 650px;
  margin-top: 20px;
  color: #b9bdd2;
  font-size: .93rem;
  line-height: 1.75;
}
.risk-hero-pulse {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  color: #858ba9;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .055em;
}
.risk-hero-pulse > span { display: inline-flex; align-items: center; gap: 8px; }
.risk-hero-pulse > span:first-child { color: #cbf2f5; }
.risk-hero-pulse b { color: #e4fff9; font-weight: 750; }
.risk-live-dot { width: 7px; height: 7px; animation: risk-live 2.3s ease-in-out infinite; }
@keyframes risk-live { 50% { box-shadow: 0 0 0 9px rgba(100,230,179,0); } }
.risk-orbit {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: center;
  width: min(28vw, 310px);
  aspect-ratio: 1;
}
.risk-orbit-glow {
  position: absolute;
  inset: 23%;
  border-radius: 50%;
  background: rgba(103,218,226,.28);
  filter: blur(34px);
}
.risk-orbit-ring {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(195,240,244,.24);
  border-radius: 50%;
}
.risk-orbit-ring::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  top: 14%;
  left: 15%;
  border-radius: 50%;
  background: var(--risk-cyan);
  box-shadow: 0 0 18px var(--risk-cyan);
}
.risk-orbit .ring-two { inset: 22%; border-style: dashed; animation: risk-spin 24s linear infinite; }
.risk-orbit .ring-two::after { top: auto; left: auto; right: -4px; bottom: 48%; background: #a4e9ee; }
.risk-orbit .ring-three { inset: 36%; border-color: rgba(104,231,225,.27); }
@keyframes risk-spin { to { transform: rotate(360deg); } }
.risk-orbit-core {
  position: absolute;
  inset: 31%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(126,223,230,.8), rgba(23,114,121,.74));
  box-shadow: inset 0 1px rgba(255,255,255,.2), 0 20px 45px rgba(5,7,27,.35);
  backdrop-filter: blur(10px);
}
.risk-orbit-core .icon { width: 29px; height: 29px; color: #fff; }
.risk-orbit-core small { color: #acebef; font-size: .52rem; text-transform: uppercase; letter-spacing: .08em; }
.risk-orbit-core strong { color: #8affdf; font-size: .58rem; letter-spacing: .13em; }
.risk-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ddf7f8;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: rgba(23,53,55,.78);
  box-shadow: 0 13px 30px rgba(4,6,25,.32);
  backdrop-filter: blur(12px);
}
.risk-node .icon { width: 17px; height: 17px; }
.risk-node.node-one { top: 5%; right: 12%; }
.risk-node.node-two { bottom: 10%; left: 2%; color: #78eee7; }
.risk-node.node-three { right: -1%; bottom: 24%; }
.risk-command-bar {
  position: absolute;
  right: 54px;
  bottom: 34px;
  left: 54px;
  grid-template-columns: minmax(0, 1fr) 170px;
}
.risk-address-search {
  min-height: 62px;
  padding: 8px 13px 8px 9px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 18px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 18px 48px rgba(11,24,24,.3);
}
.risk-search-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 45px;
  height: 45px;
  color: #fff;
  border-radius: 13px;
  background: linear-gradient(145deg, #74dde5, #32cdd8);
  box-shadow: 0 9px 20px rgba(65,209,219,.28);
}
.risk-address-search > .risk-search-icon .icon { width: 20px; height: 20px; color: inherit; }
.risk-address-search small { font-size: .61rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.risk-address-search strong { color: #171a37; font-size: .88rem; }
.risk-address-search kbd { padding: 6px 9px; color: #626780; font-family: inherit; background: #f0f1f7; }
.risk-sync-button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 10px 16px;
  color: #eef0ff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.risk-sync-button span { display: grid; gap: 2px; text-align: left; }
.risk-sync-button small { color: #989dbc; font-size: .58rem; text-transform: uppercase; letter-spacing: .06em; }
.risk-sync-button strong { color: #fff; font-size: .78rem; }
.risk-tabs {
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(224,226,239,.9);
  border-radius: 17px;
  box-shadow: 0 11px 32px rgba(27,31,70,.055);
}
.risk-tabs button { min-height: 47px; padding: 10px 15px; border-radius: 12px; font-size: .73rem; transition: all .2s ease; }
.risk-tabs button.active { background: #141833; box-shadow: 0 10px 24px rgba(20,24,51,.22); }
.risk-provider-notice {
  position: relative;
  margin-bottom: 16px;
  padding: 17px 20px;
  overflow: hidden;
  border-color: #dfe9e9;
  background: linear-gradient(105deg, #f6fffd 0%, #fff 60%);
}
.risk-provider-notice::after {
  content: "SOURCE VERIFIED";
  position: absolute;
  right: 20px;
  bottom: -3px;
  color: rgba(23,122,106,.045);
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -.04em;
}
.risk-provider-icon { color: #117a69; background: #ddf8f1; }
.risk-provider-notice time { position: relative; z-index: 1; }
.risk-registry-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid #daf6f8;
  border-radius: 22px;
  background: linear-gradient(115deg, #f3fcfd 0%, #fff 58%, #f5fffd 100%);
  box-shadow: 0 13px 34px rgba(22,110,117,.065);
}
.risk-registry-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  border-radius: 18px;
  background: linear-gradient(145deg, #5fd8e1, #25b6c0);
  box-shadow: 0 12px 26px rgba(48,204,215,.28);
}
.risk-registry-mark .icon { width: 25px; height: 25px; }
.risk-registry-mark > span {
  position: absolute;
  right: -9px;
  top: -9px;
  min-width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  color: #18787f;
  border: 3px solid #f3fcfd;
  border-radius: 13px;
  background: #8cf0db;
  font-size: .6rem;
  font-weight: 900;
}
.risk-registry-copy { min-width: 0; }
.risk-registry-copy small { color: #4dd3dd; font-size: .61rem; font-weight: 850; text-transform: uppercase; letter-spacing: .11em; }
.risk-registry-copy h3 { margin: 3px 0 2px; color: var(--risk-ink); font-size: 1rem; letter-spacing: -.02em; }
.risk-registry-copy p { margin: 0; color: var(--risk-muted); font-size: .71rem; line-height: 1.45; }
.risk-registry-actions { display: flex; align-items: center; gap: 8px; }
.risk-registry-actions .btn { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; white-space: nowrap; }
.risk-registry-actions .icon { width: 15px; height: 15px; }
.risk-scan-status {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
  padding: 18px 20px;
  border: 1px solid #dce8e6;
  border-radius: 20px;
  background: linear-gradient(105deg, #f2fffc, #fff 70%);
  box-shadow: 0 12px 32px rgba(22,92,83,.055);
}
.risk-scan-status > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: #11806d;
  border-radius: 14px;
  background: #ddf8f1;
}
.risk-scan-status > span .icon { width: 20px; height: 20px; }
.risk-scan-status > div { display: grid; gap: 2px; min-width: 0; }
.risk-scan-status small { color: #16806f; font-size: .6rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.risk-scan-status strong { color: var(--risk-ink); font-size: .9rem; }
.risk-scan-status p { margin: 0; color: var(--risk-muted); font-size: .7rem; }
.risk-scan-status > .btn { margin-left: auto; white-space: nowrap; }
.risk-bento {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.risk-bento > article {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  border: 1px solid var(--risk-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(31,70,73,.055);
}
.risk-bento-primary {
  padding: 24px;
  color: #fff;
  border: 0 !important;
  background: linear-gradient(145deg, #4fd4dd, #1e97a0) !important;
}
.risk-bento-primary::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -85px;
  top: -92px;
  border: 36px solid rgba(255,255,255,.055);
  border-radius: 50%;
}
.risk-bento-top { display: flex; align-items: center; gap: 10px; }
.risk-bento-top > span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; background: rgba(255,255,255,.13); }
.risk-bento-top .icon { width: 17px; height: 17px; }
.risk-bento-top small { color: #dbf6f8; font-size: .67rem; font-weight: 700; }
.risk-bento-top i { margin-left: auto; color: #9ef6df; font-size: .58rem; font-style: normal; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.risk-bento-primary > strong { display: block; margin: 18px 0 2px; font-size: 2.6rem; line-height: 1; letter-spacing: -.06em; }
.risk-bento-primary > p { max-width: 340px; margin: 8px 0 0; color: #c7f1f4; font-size: .7rem; line-height: 1.45; }
.risk-signal { position: absolute; display: flex; align-items: end; gap: 4px; right: 20px; bottom: 19px; height: 35px; }
.risk-signal i { width: 4px; height: 25%; border-radius: 3px; background: rgba(145,246,221,.52); }
.risk-signal i:nth-child(3n + 1) { height: 70%; }
.risk-signal i:nth-child(4n) { height: 100%; background: #8df5dc; }
.risk-signal i:nth-child(5n) { height: 48%; }
.risk-bento-metric { display: flex; align-items: flex-start; gap: 13px; padding: 23px 20px; }
.risk-bento-metric > span { display: grid; place-items: center; flex: 0 0 auto; width: 39px; height: 39px; color: #4fd4de; border-radius: 12px; background: #f0fbfc; }
.risk-bento-metric .icon { width: 18px; height: 18px; }
.risk-bento-metric > div { display: grid; gap: 3px; min-width: 0; }
.risk-bento-metric small { color: var(--risk-muted); font-size: .67rem; }
.risk-bento-metric strong { margin-top: 10px; color: var(--risk-ink); font-size: 2rem; line-height: 1; letter-spacing: -.055em; }
.risk-bento-metric p { margin: 3px 0 0; color: #8a90a7; font-size: .65rem; }
.risk-bento-metric > em { position: absolute; right: 15px; bottom: 10px; color: #f0f1f7; font-size: 2rem; font-style: normal; font-weight: 900; }
.risk-section-heading { margin: 36px 4px 17px; }
.risk-section-heading span { color: #4fd4dd; letter-spacing: .14em; }
.risk-section-heading h3 { max-width: 720px; font-size: 1.35rem; letter-spacing: -.03em; }
.risk-section-heading p { max-width: 470px; line-height: 1.55; text-align: right; }
.risk-capability-grid { gap: 11px; margin-top: 0; }
.risk-capability-grid article {
  position: relative;
  min-height: 126px;
  padding: 20px 17px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.risk-capability-grid article::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  opacity: 0;
  background: linear-gradient(90deg, #6adbe3, #65dfd9);
  transition: opacity .2s ease;
}
.risk-capability-grid article:hover { transform: translateY(-4px); border-color: #d1f4f6; box-shadow: 0 18px 40px rgba(24,119,126,.1); }
.risk-capability-grid article:hover::before { opacity: 1; }
.risk-capability-index { position: absolute; top: 12px; right: 14px; color: #e8e9f1; font-size: 1.35rem; font-weight: 900; letter-spacing: -.05em; }
.risk-capability-grid article > .risk-capability-icon { width: 42px; height: 42px; border-radius: 14px; }
.risk-capability-grid article div { align-self: center; gap: 4px; }
.risk-capability-grid article div > small { color: #868ca4; font-size: .65rem; }
.risk-capability-grid article strong { font-size: .84rem; }
.risk-capability-grid .badge { margin-top: 4px; transform: scale(.91); transform-origin: left center; }
.risk-card-arrow { position: absolute; right: 14px; bottom: 12px; color: #6fdce3; font-size: 1rem; opacity: 0; transform: translateX(-5px); transition: .2s ease; }
.risk-capability-grid article:hover .risk-card-arrow { opacity: 1; transform: none; }
@media (max-width: 1180px) {
  .risk-hero { grid-template-columns: minmax(0, 1fr) 260px; padding-inline: 40px; }
  .risk-command-bar { right: 40px; left: 40px; }
  .risk-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .risk-bento-primary { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .risk-hero { grid-template-columns: 1fr; min-height: 580px; padding: 38px 30px 104px; }
  .risk-hero-copy { align-self: start; }
  .risk-orbit { position: absolute; right: 5%; bottom: 102px; width: 220px; opacity: .86; }
  .risk-hero-copy > p { max-width: calc(100% - 210px); }
  .risk-command-bar { right: 30px; left: 30px; }
  .risk-bento { grid-template-columns: 1fr 1fr; }
  .risk-bento-primary { grid-column: 1 / -1; }
  .risk-bento-metric:last-child { grid-column: 1 / -1; }
  .risk-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .risk-section-heading p { text-align: left; }
  .risk-registry-callout { grid-template-columns: auto minmax(0, 1fr); }
  .risk-registry-actions { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  .risk-workspace { gap: 13px; }
  .risk-hero { min-height: 590px; padding: 30px 20px 176px; border-radius: 23px; }
  .risk-hero h2 { font-size: clamp(2.25rem, 12vw, 3.25rem); }
  .risk-hero-copy > p { max-width: 100%; font-size: .82rem; }
  .risk-hero-pulse { gap: 7px 14px; }
  .risk-orbit { right: 0; bottom: 148px; width: 170px; opacity: .58; }
  .risk-command-bar { right: 18px; bottom: 18px; left: 18px; grid-template-columns: 1fr; }
  .risk-address-search, .risk-sync-button { min-height: 58px; }
  .risk-sync-button { width: 100%; justify-content: center; }
  .risk-sync-button span { display: flex; align-items: center; gap: 7px; }
  .risk-tabs { position: sticky; top: 6px; z-index: 5; }
  .risk-provider-notice { padding: 15px; }
  .risk-provider-notice::after { display: none; }
  .risk-registry-callout { grid-template-columns: auto minmax(0, 1fr); padding: 17px; }
  .risk-registry-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .risk-registry-actions .btn { justify-content: center; }
  .risk-registry-actions .btn.primary { grid-column: 1 / -1; }
  .risk-scan-status { align-items: flex-start; flex-wrap: wrap; padding: 16px; }
  .risk-scan-status > .btn { width: 100%; margin-left: 0; }
  .risk-bento { grid-template-columns: 1fr; }
  .risk-bento-primary, .risk-bento-metric:last-child { grid-column: auto; }
  .risk-bento > article { min-height: 150px; }
  .risk-capability-grid article { min-height: 112px; }
}
@media (prefers-reduced-motion: reduce) {
  .risk-live-dot, .risk-orbit .ring-two { animation: none; }
  .risk-capability-grid article, .risk-address-search { transition: none; }
}

/* Read-only wallet lookup result and internal transaction history. */
.risk-result, .risk-activity-result { border: 1px solid #e5e7f1; border-radius: 20px; background: #fff; overflow: hidden; }
.risk-result { margin-bottom: 14px; background: linear-gradient(135deg, #f7f8ff 0%, #fff 65%); }
.risk-result.matched { border-color: #f1c7cf; background: linear-gradient(135deg, #fff3f5 0%, #fff 68%); }
.risk-result-head { display: flex; align-items: center; gap: 16px; padding: 20px; }
.risk-result-head > div { flex: 1; min-width: 0; }
.risk-result-head small, .risk-activity-title small { color: #777f98; font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.risk-result-head h3, .risk-activity-title h3 { margin: 4px 0; color: #171a2d; font-size: 1.08rem; letter-spacing: -.02em; }
.risk-result-head p, .risk-activity-title p { margin: 0; color: #6e758d; font-size: .76rem; line-height: 1.5; }
.risk-result-icon { display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; color: #3acfda; border-radius: 15px; background: #edfafb; }
.risk-result.matched .risk-result-icon { color: #c43f59; background: #ffe4e9; }
.risk-result-icon .icon { width: 22px; height: 22px; }
.risk-activity-result { margin-bottom: 14px; }
.risk-activity-title { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px; border-bottom: 1px solid #edf0f6; }
.risk-activity-title > div { min-width: 0; }
.risk-system-status { flex: 0 0 auto; padding: 8px 11px; border-radius: 999px; font-size: .68rem; font-weight: 800; }
.risk-system-status.found { color: #087961; background: #dcf8ef; }
.risk-system-status.empty { color: #757c91; background: #f0f2f7; }
.risk-activity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 16px 20px; }
.risk-activity-grid article { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 13px; border: 1px solid #eceef5; border-radius: 14px; background: #fafbfe; }
.risk-activity-grid article > span { display: grid; place-items: center; flex: 0 0 auto; width: 35px; height: 35px; color: #4ad3dd; border-radius: 11px; background: #effbfc; }
.risk-activity-grid .icon { width: 17px; height: 17px; }
.risk-activity-grid article div { display: grid; gap: 2px; min-width: 0; }
.risk-activity-grid small { color: #7b8298; font-size: .62rem; line-height: 1.3; }
.risk-activity-grid strong { color: #1c2034; font-size: 1.08rem; }
.risk-activity-table { margin: 0 20px 20px; border: 1px solid #eceef4; border-radius: 13px; }
.risk-activity-table table { min-width: 700px; }
.risk-activity-table th { font-size: .61rem; }
.risk-activity-table td { font-size: .7rem; }
.risk-direction { display: inline-flex; align-items: center; gap: 5px; font-size: .68rem; font-weight: 800; text-transform: capitalize; }
.risk-direction.deposit { color: #087961; }
.risk-direction.withdrawal { color: #31cdd8; }
.risk-activity-empty { display: flex; align-items: center; justify-content: center; gap: 11px; margin: 0 20px 20px; min-height: 92px; color: #8b91a4; border: 1px dashed #d8dce8; border-radius: 14px; background: #fafbfc; }
.risk-activity-empty > .icon { width: 21px; height: 21px; }
.risk-activity-empty span { display: grid; gap: 3px; }
.risk-activity-empty strong { color: #3e4358; font-size: .76rem; }
.risk-activity-empty small { font-size: .66rem; }
@media (max-width: 700px) {
  .risk-result-head, .risk-activity-title { align-items: flex-start; flex-wrap: wrap; padding: 16px; }
  .risk-result-head .badge { margin-left: 64px; }
  .risk-activity-grid { grid-template-columns: 1fr; padding: 13px 16px; }
  .risk-activity-table, .risk-activity-empty { margin-right: 16px; margin-left: 16px; }
}
@media (min-width: 701px) and (max-width: 980px) {
  .risk-activity-grid { grid-template-columns: 1fr 1fr; }
}

/* Organized compliance and wallet-intelligence workspaces. */
.compliance-workspace, .risk-workspace { --workspace-ink: #171a32; --workspace-muted: #717993; --workspace-line: #e8eaf2; }
.compliance-workspace { display: grid; gap: 18px; }
.compliance-command {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px;
  min-height: 220px; padding: 34px 38px; color: #fff; overflow: hidden; border-radius: 26px;
  background: radial-gradient(circle at 88% 5%, rgba(142,227,234,.24), transparent 28%), linear-gradient(135deg, #171a32 0%, #255357 58%, #21a3ac 100%);
  box-shadow: 0 22px 55px rgba(30,67,70,.17);
}
.compliance-command::after { content: ""; position: absolute; width: 260px; height: 260px; right: -85px; bottom: -155px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,255,255,.035), 0 0 0 68px rgba(255,255,255,.025); }
.compliance-command > div { position: relative; z-index: 1; }
.compliance-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: #c4f1f4; font-size: .67rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.compliance-kicker .icon { width: 16px; height: 16px; }
.compliance-command h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.7rem); line-height: 1.02; letter-spacing: -.055em; }
.compliance-command h2 em { color: #b6edf1; font-style: normal; }
.compliance-command p { max-width: 720px; margin: 15px 0 0; color: #c8cbe0; font-size: .8rem; line-height: 1.62; }
.compliance-actions { display: flex; flex: 0 0 auto; gap: 9px; }
.compliance-actions .btn { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; border-color: rgba(255,255,255,.2); }
.compliance-actions .btn:not(.primary) { color: #fff; background: rgba(255,255,255,.09); }
.compliance-actions .icon { width: 15px; height: 15px; }
.compliance-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.compliance-metrics article { display: flex; align-items: flex-start; gap: 13px; min-height: 122px; padding: 20px; border: 1px solid var(--workspace-line); border-radius: 18px; background: #fff; box-shadow: 0 9px 25px rgba(32,36,74,.055); }
.compliance-metrics article > span { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; color: #52d5de; border-radius: 13px; background: #f0fbfc; }
.compliance-metrics .icon { width: 18px; height: 18px; }
.compliance-metrics article div { display: grid; gap: 3px; min-width: 0; }
.compliance-metrics small { color: var(--workspace-muted); font-size: .66rem; }
.compliance-metrics strong { margin-top: 8px; color: var(--workspace-ink); font-size: 1.55rem; line-height: 1; letter-spacing: -.045em; }
.compliance-metrics p { margin: 3px 0 0; color: #9298ab; font-size: .62rem; }
.compliance-case-section { overflow: hidden; border: 1px solid var(--workspace-line); border-radius: 21px; background: #fff; box-shadow: 0 13px 32px rgba(31,35,72,.06); }
.compliance-section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 25px; border-bottom: 1px solid var(--workspace-line); }
.compliance-section-head small, .risk-tool-card small, .risk-control-intro small { color: #52d5de; font-size: .62rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.compliance-section-head h3, .risk-tool-card h3, .risk-control-intro h3 { margin: 4px 0; color: var(--workspace-ink); font-size: 1.03rem; letter-spacing: -.025em; }
.compliance-section-head p, .risk-tool-card p, .risk-control-intro p { margin: 0; color: var(--workspace-muted); font-size: .7rem; line-height: 1.45; }
.compliance-section-actions { display: flex; align-items: center; gap: 9px; }
.compliance-section-actions .filter { min-width: 250px; }
.compliance-boundary { display: flex; align-items: center; gap: 12px; padding: 15px 17px; color: #555d77; border: 1px solid #e3e7f1; border-radius: 15px; background: #f8f9fc; }
.compliance-boundary > .icon { flex: 0 0 auto; width: 19px; height: 19px; color: #52d5de; }
.compliance-boundary span { display: grid; gap: 2px; flex: 1; }
.compliance-boundary strong { color: #31364d; font-size: .72rem; }
.compliance-boundary small { font-size: .65rem; line-height: 1.45; }

.risk-command-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); gap: 30px; min-height: 300px; padding: 39px 42px; color: #fff; overflow: hidden; border-radius: 28px; background: radial-gradient(circle at 82% 15%, rgba(112,231,220,.14), transparent 24%), radial-gradient(circle at 5% 110%, rgba(105,218,227,.34), transparent 35%), #15182f; box-shadow: 0 24px 60px rgba(20,23,52,.18); }
.risk-command-copy { align-self: center; }
.risk-command-copy h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.35rem); line-height: 1; letter-spacing: -.065em; }
.risk-command-copy h2 em { color: #a5e9ee; font-style: normal; }
.risk-command-copy > p { max-width: 720px; margin: 17px 0 0; color: #c1c5da; font-size: .82rem; line-height: 1.65; }
.risk-command-actions { display: grid; align-content: center; gap: 10px; }
.risk-primary-search, .risk-compact-action { font-family: inherit; text-align: left; cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.risk-primary-search { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; min-height: 112px; padding: 19px; color: #183638; border: 1px solid rgba(255,255,255,.7); border-radius: 19px; background: linear-gradient(135deg, #fff, #f2fcfc); box-shadow: 0 18px 40px rgba(5,8,29,.22); }
.risk-primary-search:hover { transform: translateY(-3px); box-shadow: 0 23px 44px rgba(5,8,29,.3); }
.risk-primary-search > span { display: grid; place-items: center; width: 45px; height: 45px; color: #fff; border-radius: 14px; background: linear-gradient(145deg, #6ddbe3, #30ccd8); }
.risk-primary-search .icon { width: 20px; height: 20px; }
.risk-primary-search div { display: grid; gap: 3px; }
.risk-primary-search small, .risk-compact-action small { color: #63d9e1; font-size: .6rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.risk-primary-search strong { font-size: .91rem; }
.risk-primary-search p { margin: 0; color: #858aa0; font-size: .65rem; }
.risk-primary-search > b { color: #51d4de; font-size: 1.25rem; }
.risk-compact-action { display: flex; align-items: center; gap: 12px; min-height: 67px; padding: 14px 17px; color: #fff; border: 1px solid rgba(255,255,255,.14); border-radius: 17px; background: rgba(255,255,255,.075); }
.risk-compact-action:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.11); }
.risk-compact-action > .icon { width: 19px; height: 19px; color: #a3e8ed; }
.risk-compact-action span { display: grid; gap: 2px; }
.risk-compact-action small { color: #95e5eb; }
.risk-compact-action strong { font-size: .77rem; }
.risk-workspace > .risk-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 7px; overflow: visible; border: 1px solid var(--workspace-line); border-radius: 17px; background: #fff; box-shadow: 0 9px 24px rgba(31,35,72,.055); }
.risk-workspace > .risk-tabs button { justify-content: center; min-height: 48px; }
.risk-overview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.risk-overview-grid article { position: relative; display: flex; align-items: flex-start; gap: 13px; min-height: 125px; padding: 20px; cursor: pointer; overflow: hidden; border: 1px solid var(--workspace-line); border-radius: 18px; background: #fff; box-shadow: 0 10px 26px rgba(31,35,72,.055); transition: .2s ease; }
.risk-overview-grid article:hover { transform: translateY(-3px); border-color: #d0f4f6; box-shadow: 0 15px 34px rgba(31,35,72,.1); }
.risk-overview-grid article > span { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; color: #53d5de; border-radius: 13px; background: #f0fbfc; }
.risk-overview-grid article > span .icon { width: 18px; height: 18px; }
.risk-overview-grid article > div { display: grid; gap: 3px; }
.risk-overview-grid small { color: var(--workspace-muted); font-size: .66rem; }
.risk-overview-grid strong { margin-top: 8px; color: var(--workspace-ink); font-size: 1.65rem; line-height: 1; letter-spacing: -.045em; }
.risk-overview-grid p { margin: 3px 0 0; color: #9298ac; font-size: .61rem; line-height: 1.4; }
.risk-overview-grid article > b { position: absolute; top: 13px; right: 14px; color: #c1c4d1; font-size: .76rem; }
.risk-overview-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
.risk-focus-card, .risk-system-card { min-height: 235px; padding: 27px; border: 1px solid var(--workspace-line); border-radius: 21px; background: #fff; box-shadow: 0 12px 30px rgba(31,35,72,.055); }
.risk-focus-card { display: flex; align-items: end; justify-content: space-between; gap: 25px; overflow: hidden; background: radial-gradient(circle at 86% -10%, rgba(104,218,226,.14), transparent 34%), #fff; }
.risk-focus-card span { color: #52d5de; font-size: .63rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.risk-focus-card h3 { max-width: 480px; margin: 8px 0; color: var(--workspace-ink); font-size: 1.55rem; letter-spacing: -.04em; }
.risk-focus-card p, .risk-system-card > p { max-width: 610px; margin: 0; color: var(--workspace-muted); font-size: .72rem; line-height: 1.55; }
.risk-focus-card .btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; }
.risk-focus-card .icon { width: 15px; height: 15px; }
.risk-system-card { display: flex; flex-direction: column; }
.risk-system-card-head { display: flex; align-items: center; gap: 11px; }
.risk-system-card-head > span { display: grid; place-items: center; width: 39px; height: 39px; color: #0e806b; border-radius: 12px; background: #e0f8f2; }
.risk-system-card-head .icon { width: 18px; height: 18px; }
.risk-system-card-head div { display: grid; gap: 2px; flex: 1; }
.risk-system-card-head small { color: #16806f; font-size: .59rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.risk-system-card-head strong { color: var(--workspace-ink); font-size: .78rem; }
.risk-system-card > p { margin-top: 15px; }
.risk-system-meta { display: flex; gap: 15px; margin: 17px 0; color: #81879c; font-size: .61rem; }
.risk-system-meta span { display: grid; gap: 3px; }
.risk-system-meta b { color: #33384e; font-size: .68rem; }
.risk-system-card > .btn { align-self: flex-start; margin-top: auto; }
.risk-control-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.risk-control-preview article { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 11px; min-height: 92px; padding: 16px; border: 1px solid var(--workspace-line); border-radius: 16px; background: #fff; }
.risk-control-preview article > span { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; color: #4fd4de; border-radius: 12px; background: #f0fbfc; }
.risk-control-preview .icon { width: 17px; height: 17px; }
.risk-control-preview article > div { display: grid; gap: 3px; min-width: 0; flex: 1; }
.risk-control-preview strong { color: var(--workspace-ink); font-size: .71rem; }
.risk-control-preview small { color: var(--workspace-muted); font-size: .58rem; line-height: 1.35; }
.risk-control-preview .badge { grid-column: 2; width: fit-content; transform: scale(.84); transform-origin: left center; }
.risk-tool-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 23px; border: 1px solid #def7f9; border-radius: 20px; background: linear-gradient(135deg, #f7fdfe, #fff); box-shadow: 0 12px 28px rgba(36,180,191,.07); }
.risk-tool-icon { display: grid; place-items: center; width: 52px; height: 52px; color: #fff; border-radius: 16px; background: linear-gradient(145deg, #6fdce3, #34cdd8); box-shadow: 0 12px 25px rgba(63,208,218,.23); }
.risk-tool-icon .icon { width: 22px; height: 22px; }
.risk-source-layout { display: grid; gap: 13px; }
.risk-source-primary { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 17px; padding: 25px; border: 1px solid var(--workspace-line); border-radius: 21px; background: #fff; box-shadow: 0 12px 30px rgba(31,35,72,.06); }
.risk-source-primary > span { display: grid; place-items: center; width: 49px; height: 49px; color: #0d806a; border-radius: 15px; background: #dff8f1; }
.risk-source-primary > span .icon { width: 21px; height: 21px; }
.risk-source-primary small { color: #16806f; font-size: .62rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.risk-source-primary h3 { margin: 5px 0; color: var(--workspace-ink); font-size: 1.05rem; }
.risk-source-primary p { max-width: 760px; margin: 0; color: var(--workspace-muted); font-size: .72rem; line-height: 1.55; }
.risk-source-facts { display: flex; flex-wrap: wrap; gap: 9px 22px; margin-top: 18px; color: #8b91a5; font-size: .62rem; }
.risk-source-facts span { display: grid; gap: 3px; }
.risk-source-facts b { color: #30354c; font-size: .68rem; }
.risk-source-limit { display: flex; align-items: flex-start; gap: 13px; padding: 18px 20px; color: #7a5b18; border: 1px solid #f0dfb3; border-radius: 17px; background: #fff9eb; }
.risk-source-limit > .icon { flex: 0 0 auto; width: 19px; height: 19px; }
.risk-source-limit strong { color: #765719; font-size: .73rem; }
.risk-source-limit p { margin: 4px 0 0; font-size: .67rem; line-height: 1.5; }
.risk-feed-directory { display: grid; gap: 14px; }
.risk-feed-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 23px 25px; border: 1px solid var(--workspace-line); border-radius: 17px; background: #fff; box-shadow: 0 7px 20px rgba(31,35,72,.045); }
.risk-feed-toolbar > div { max-width: 700px; }
.risk-feed-toolbar small { color: #51d4de; font-size: .6rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.risk-feed-toolbar h3 { margin: 6px 0; color: #181c31; font-size: 1.14rem; letter-spacing: -.025em; }
.risk-feed-toolbar p { margin: 0; color: #747b91; font-size: .68rem; line-height: 1.55; }
.risk-feed-toolbar label { display: grid; flex: 0 0 285px; gap: 6px; color: #41465c; font-size: .63rem; font-weight: 800; }
.risk-feed-toolbar select { width: 100%; height: 43px; padding: 0 36px 0 12px; color: #262b43; font: inherit; font-size: .68rem; font-weight: 700; border: 1px solid #d9dce7; border-radius: 11px; outline: none; background: #f8f9fc; }
.risk-feed-toolbar select:focus { border-color: #85e1e8; box-shadow: 0 0 0 4px rgba(83,213,222,.09); }
.risk-feed-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.risk-feed-summary article { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 11px; min-height: 118px; padding: 16px; cursor: pointer; border: 1px solid #e2e5ed; border-radius: 15px; background: #fff; box-shadow: 0 5px 15px rgba(31,35,72,.035); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.risk-feed-summary article:hover, .risk-feed-summary article.selected { transform: translateY(-1px); border-color: #a2e8ed; box-shadow: 0 9px 22px rgba(34,167,176,.09); }
.risk-feed-summary article > span { display: grid; place-items: center; width: 39px; height: 39px; color: #4ad3dc; border-radius: 12px; background: #f0fbfc; }
.risk-feed-summary article > span .icon { width: 18px; height: 18px; }
.risk-feed-summary article > div:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.risk-feed-summary article > div:nth-child(2) > small { color: #858ba0; font-size: .52rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.risk-feed-summary article strong { color: #20243a; font-size: .72rem; }
.risk-feed-summary article p { margin: 0; color: #7b8297; font-size: .57rem; line-height: 1.42; }
.risk-feed-summary article > div:nth-child(3) { display: grid; min-width: 72px; text-align: right; }
.risk-feed-summary article > div:nth-child(3) b { color: #20243a; font-size: 1.08rem; }
.risk-feed-summary article > div:nth-child(3) small { color: #8b91a5; font-size: .52rem; }
.risk-feed-summary article > div:nth-child(3) em { margin-top: 5px; color: #15836e; font-size: .52rem; font-style: normal; font-weight: 750; }
.risk-feed-summary article > .badge { grid-column: 2 / -1; width: fit-content; transform: scale(.82); transform-origin: left center; }
.risk-feed-records { overflow: hidden; border: 1px solid #e1e4ec; border-radius: 17px; background: #fff; box-shadow: 0 7px 20px rgba(31,35,72,.045); }
.risk-feed-records .risk-registry-head { border-bottom: 1px solid #e8eaf1; }
.risk-control-intro { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 4px 3px 3px; }
.risk-control-intro p { max-width: 650px; }
.risk-control-groups { display: grid; gap: 13px; }
.risk-control-groups > section { display: grid; grid-template-columns: 190px 1fr; gap: 18px; padding: 20px; border: 1px solid var(--workspace-line); border-radius: 20px; background: #fff; box-shadow: 0 10px 27px rgba(31,35,72,.05); }
.risk-control-group-head { display: flex; align-items: flex-start; gap: 10px; padding: 8px 6px; }
.risk-control-group-head span { color: #52d5de; font-size: .67rem; font-weight: 900; }
.risk-control-group-head h4 { margin: 0; color: var(--workspace-ink); font-size: .85rem; }
.risk-control-groups > section > div:last-child { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.risk-control-groups article { display: grid; grid-template-columns: auto 1fr; gap: 10px; min-height: 118px; padding: 15px; border: 1px solid #eceef5; border-radius: 15px; background: #fafbfe; }
.risk-control-groups article > .risk-capability-icon { width: 37px; height: 37px; }
.risk-control-groups article > div { display: grid; align-content: start; gap: 4px; min-width: 0; }
.risk-control-groups article strong { color: var(--workspace-ink); font-size: .72rem; }
.risk-control-groups article small { color: var(--workspace-muted); font-size: .59rem; line-height: 1.4; }
.risk-control-groups article .badge { grid-column: 2; width: fit-content; transform: scale(.88); transform-origin: left center; }

@media (max-width: 1150px) {
  .compliance-metrics, .risk-overview-grid, .risk-control-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .risk-command-hero { grid-template-columns: 1fr minmax(310px, .7fr); }
  .risk-overview-layout { grid-template-columns: 1fr; }
  .risk-control-groups > section { grid-template-columns: 1fr; }
  .risk-feed-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .compliance-command { align-items: flex-start; flex-direction: column; padding: 27px; }
  .compliance-actions { flex-wrap: wrap; }
  .compliance-section-head { align-items: flex-start; flex-direction: column; }
  .compliance-section-actions { width: 100%; }
  .compliance-section-actions .filter { flex: 1; min-width: 0; }
  .risk-command-hero { grid-template-columns: 1fr; padding: 30px; }
  .risk-workspace > .risk-tabs { display: flex; overflow-x: auto; }
  .risk-workspace > .risk-tabs button { flex: 0 0 auto; }
  .risk-source-primary { grid-template-columns: auto 1fr; }
  .risk-source-primary > .btn { grid-column: 2; justify-self: start; }
  .risk-control-groups > section > div:last-child { grid-template-columns: 1fr; }
  .risk-feed-toolbar { align-items: stretch; flex-direction: column; }
  .risk-feed-toolbar label { flex-basis: auto; width: 100%; }
}
@media (max-width: 580px) {
  .compliance-command, .risk-command-hero { padding: 23px 20px; border-radius: 21px; }
  .compliance-metrics, .risk-overview-grid, .risk-control-preview { grid-template-columns: 1fr; }
  .compliance-actions, .compliance-actions .btn, .compliance-section-actions, .compliance-section-actions .btn { width: 100%; }
  .compliance-actions .btn, .compliance-section-actions .btn { justify-content: center; }
  .risk-primary-search { min-height: 104px; }
  .risk-focus-card { align-items: flex-start; flex-direction: column; }
  .risk-system-meta { flex-wrap: wrap; }
  .risk-tool-card { grid-template-columns: auto 1fr; }
  .risk-tool-card > .btn { grid-column: 1 / -1; justify-content: center; }
  .risk-source-primary { grid-template-columns: 1fr; }
  .risk-source-primary > .btn { grid-column: auto; }
  .compliance-boundary { align-items: flex-start; flex-wrap: wrap; }
  .compliance-boundary > .btn { width: 100%; justify-content: center; }
  .risk-feed-summary { grid-template-columns: 1fr; }
  .risk-feed-summary article { min-height: 108px; }
  .risk-feed-records .risk-registry-head { align-items: flex-start; flex-direction: column; }
  .risk-feed-records .risk-registry-head > div:last-child { flex-wrap: wrap; width: 100%; }
}

/* Fintech operations refinement: one hierarchy, realistic density, restrained motion. */
.page-global-risk .page-head, .page-aml-risk .page-head { display: none; }
.page-global-risk .content, .page-aml-risk .content { padding-top: 24px; }
.risk-workspace, .compliance-workspace { gap: 14px; }
.risk-command-hero, .compliance-command {
  min-height: 0; color: var(--workspace-ink); border: 1px solid #e2e5ed; border-radius: 18px;
  background: linear-gradient(135deg, #fff 0%, #fbfbfe 72%, #f2fcfd 100%);
  box-shadow: 0 8px 24px rgba(29,33,66,.055);
}
.risk-command-hero { grid-template-columns: minmax(0, 1fr) 420px; padding: 27px 29px; }
.compliance-command { min-height: 0; padding: 27px 29px; }
.compliance-command::after { width: 170px; height: 170px; right: -75px; bottom: -105px; border-color: rgba(82,213,222,.1); box-shadow: 0 0 0 24px rgba(85,214,223,.025), 0 0 0 48px rgba(85,214,223,.018); }
.risk-command-copy h2, .compliance-command h2 { color: #161a2e; font-size: clamp(1.65rem, 2.5vw, 2.35rem); line-height: 1.06; }
.risk-command-copy h2 em, .compliance-command h2 em { color: #4cd3dd; }
.risk-command-copy > p, .compliance-command p { margin-top: 11px; color: #6f768d; font-size: .74rem; line-height: 1.55; }
.risk-eyebrow, .compliance-kicker { margin-bottom: 12px; color: #4cd3dd; }
.risk-hero-pulse { margin-top: 17px; color: #71788d; background: #f5f6fa; border-color: #e8eaf0; }
.risk-hero-pulse > span:first-child, .risk-hero-pulse b { color: #2d334a; }
.risk-command-actions { gap: 8px; }
.risk-primary-search { min-height: 88px; padding: 15px; border: 1px solid #daddec; border-radius: 14px; background: #fff; box-shadow: 0 7px 20px rgba(31,70,73,.07); }
.risk-primary-search:hover { transform: translateY(-1px); border-color: #b9eef2; box-shadow: 0 11px 25px rgba(31,70,73,.11); }
.risk-primary-search > span { width: 39px; height: 39px; border-radius: 11px; box-shadow: none; }
.risk-compact-action { min-height: 55px; padding: 11px 15px; color: #30354c; border: 1px solid #e1e4ed; border-radius: 13px; background: #f8f9fc; }
.risk-compact-action:hover { border-color: #beeff3; background: #f4fcfd; }
.risk-compact-action small { color: #66dae2; }
.risk-compact-action strong { color: #30354c; }
.compliance-actions .btn:not(.primary) { color: #393f57; border-color: #dfe2eb; background: #f8f9fc; }
.compliance-actions .btn:not(.primary):hover { color: #393f57; background: #f0fbfc; }
.risk-workspace > .risk-tabs { position: sticky; top: 8px; z-index: 6; border-radius: 14px; box-shadow: 0 7px 20px rgba(31,35,72,.05); }
.risk-workspace > .risk-tabs button { min-height: 42px; padding: 8px 12px; border-radius: 10px; }
.risk-workspace > .risk-tabs button.active { color: #fff; background: #24283f; box-shadow: 0 5px 14px rgba(28,31,55,.18); }
.risk-provider-notice { padding: 15px 17px; border-radius: 14px; box-shadow: none; }
.risk-overview-grid article, .compliance-metrics article { min-height: 108px; padding: 17px; border-radius: 15px; box-shadow: 0 5px 15px rgba(31,35,72,.04); }
.risk-overview-grid strong, .compliance-metrics strong { font-size: 1.42rem; }
.risk-overview-layout { gap: 11px; }
.risk-focus-card, .risk-system-card { min-height: 175px; padding: 22px; border-radius: 17px; box-shadow: 0 6px 18px rgba(31,35,72,.045); }
.risk-focus-card { align-items: center; background: linear-gradient(135deg, #fff 0%, #fff 65%, #f4fcfd 100%); }
.risk-focus-card h3 { font-size: 1.28rem; }
.risk-section-heading { margin: 22px 2px 11px; }
.risk-control-preview article { min-height: 82px; padding: 13px; border-radius: 13px; }
.compliance-case-section, .risk-registry-section { border-radius: 16px; box-shadow: 0 7px 20px rgba(31,35,72,.045); }
.compliance-section-head { padding: 19px 21px; }
.compliance-boundary { border-radius: 13px; }
.risk-address-console { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(430px, 1.28fr); align-items: center; gap: 30px; padding: 24px; border: 1px solid #e1e4ec; border-radius: 17px; background: #fff; box-shadow: 0 7px 20px rgba(31,35,72,.045); }
.risk-address-console-copy { display: flex; align-items: flex-start; gap: 13px; }
.risk-address-console-copy > span { display: grid; place-items: center; flex: 0 0 auto; width: 43px; height: 43px; color: #fff; border-radius: 12px; background: #54d5df; }
.risk-address-console-copy .icon { width: 19px; height: 19px; }
.risk-address-console-copy small, .risk-registry-head small { color: #51d4de; font-size: .6rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.risk-address-console-copy h3, .risk-registry-head h3 { margin: 5px 0; color: #181c31; font-size: 1rem; letter-spacing: -.02em; }
.risk-address-console-copy p, .risk-registry-head p { margin: 0; color: #747b91; font-size: .68rem; line-height: 1.5; }
.risk-inline-search { display: grid; gap: 7px; }
.risk-inline-search > label { color: #41465c; font-size: .65rem; font-weight: 750; }
.risk-inline-search > div { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 5px; border: 1px solid #d9dce6; border-radius: 12px; background: #f8f9fc; transition: border-color .18s ease, box-shadow .18s ease; }
.risk-inline-search > div:focus-within { border-color: #89e2e9; box-shadow: 0 0 0 4px rgba(83,213,222,.09); }
.risk-inline-search input { min-width: 0; height: 38px; padding: 0 10px; font: inherit; color: #22263c; border: 0; outline: 0; background: transparent; }
.risk-inline-search .btn { display: inline-flex; align-items: center; gap: 6px; min-width: 112px; justify-content: center; }
.risk-inline-search .icon { width: 14px; height: 14px; }
.risk-inline-search > small { color: #8b91a4; font-size: .6rem; }
.risk-registry-section { overflow: hidden; border: 1px solid #e1e4ec; background: #fff; }
.risk-registry-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 21px; border-bottom: 1px solid #e8eaf1; }
.risk-registry-head > div:last-child { display: flex; align-items: center; gap: 10px; }
.risk-registry-head > div:last-child > span { color: #71788f; font-size: .65rem; white-space: nowrap; }
.risk-registry-head .btn { display: inline-flex; align-items: center; gap: 6px; }
.risk-registry-head .icon { width: 14px; height: 14px; }
.risk-source-primary, .risk-control-groups > section { border-radius: 16px; box-shadow: 0 6px 18px rgba(31,35,72,.045); }
.risk-control-groups article { min-height: 104px; border-radius: 12px; background: #fbfbfd; }
.risk-tab-content { min-width: 0; }
.risk-tab-content > * + * { margin-top: 12px; }
.page-global-risk .empty, .page-aml-risk .empty { min-height: 148px; background: radial-gradient(circle at 50% 54%, var(--page-soft), transparent 36%); }
@media (prefers-reduced-motion: no-preference) {
  .risk-tab-content > * { animation: risk-section-in .28s cubic-bezier(.2,.8,.2,1) both; }
  .risk-tab-content > *:nth-child(2) { animation-delay: 35ms; }
  .risk-tab-content > *:nth-child(3) { animation-delay: 70ms; }
  @keyframes risk-section-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 980px) {
  .risk-command-hero { grid-template-columns: 1fr; }
  .risk-address-console { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 700px) {
  .page-global-risk .content, .page-aml-risk .content { padding-top: 16px; }
  .risk-command-hero, .compliance-command { padding: 21px 18px; }
  .risk-command-copy h2, .compliance-command h2 { font-size: 1.65rem; }
  .risk-registry-head { align-items: flex-start; flex-direction: column; }
  .risk-registry-head > div:last-child { width: 100%; justify-content: space-between; }
  .risk-inline-search > div { grid-template-columns: 1fr; }
  .risk-inline-search .btn { width: 100%; }
  .risk-workspace > .risk-tabs { top: 4px; }
}
.security-command-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:30px 34px;margin-bottom:20px;border:1px solid #d7f5f7;border-radius:24px;background:linear-gradient(135deg,#171b35 0%,#20484b 58%,#58d6df 150%);color:#fff;box-shadow:0 18px 45px rgba(28,63,65,.16)}
.security-command-hero h2{font-size:30px;margin:8px 0}.security-command-hero p{max-width:720px;color:#cef3f6;margin:0}.security-command-hero .eyebrow{color:#c0f0f3}.security-score{min-width:170px;padding:20px;border:1px solid rgba(255,255,255,.17);border-radius:18px;background:rgba(255,255,255,.08);text-align:center}.security-score strong{display:block;font-size:34px}.security-score span{font-size:12px;color:#cef3f6}
.emergency-control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.security-toggle{display:flex;gap:12px;align-items:flex-start;padding:16px;border:1px solid #e3e4ef;border-radius:16px;background:#fafaff}.security-toggle.critical{grid-column:1/-1;border-color:#efb6bd;background:#fff4f5}.security-toggle input{margin-top:4px;accent-color:#54d5de}.security-toggle span{display:grid;gap:4px}.security-toggle small{color:#747991;line-height:1.45}
.security-safeguards{display:grid;gap:10px;padding:18px}.security-safeguards article{display:grid;grid-template-columns:48px minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:16px;border:1px solid #e7e8f1;border-radius:16px;background:#fff}.security-safeguards article p{margin:5px 0;color:#686e86}.security-safeguards article small{color:#989daf}.security-number{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#f0fbfc;color:#40d0db;font-weight:800}
@media(max-width:760px){.security-command-hero{align-items:flex-start;flex-direction:column;padding:24px}.security-score{width:100%;box-sizing:border-box}.emergency-control-grid{grid-template-columns:1fr}.security-toggle.critical{grid-column:auto}.security-safeguards article{grid-template-columns:42px minmax(0,1fr)}.security-safeguards article>.badge,.security-safeguards article>.btn{grid-column:2;justify-self:start}}
html[data-workspace-pending] #root[data-prerendered="landing"] { visibility: hidden; }

/* Focused bank merchant workspace */
.bank-section-tabs{display:flex;gap:6px;flex-wrap:wrap;padding:6px;background:#eaf0f3;border:1px solid #e0e8ed;border-radius:12px;margin:0 0 25px;width:fit-content;max-width:100%}.bank-section-tabs a{padding:10px 16px;border-radius:8px;color:#627184;font-size:12px;font-weight:650;text-decoration:none}.bank-section-tabs a[aria-current=page]{background:#fff;color:#087e8b;box-shadow:0 2px 6px #182f4310}.bank-section-tabs a:hover{background:#fff}.bank-welcome{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:30px 0 34px}.bank-eyebrow{color:#087e8b;font-size:10px;font-weight:750;letter-spacing:.14em}.bank-welcome h2{font-size:clamp(23px,2.5vw,34px);line-height:1.3;letter-spacing:-.04em;margin:12px 0}.bank-welcome p{color:#718093;font-size:14px;margin:0}.bank-welcome .btn{white-space:nowrap}.bank-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:26px}.bank-work-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:24px;margin-bottom:26px}.bank-work-card{margin:0!important}.bank-action-list{padding:0 24px}.bank-action-list>a{display:flex;align-items:center;gap:15px;padding:22px 0;border-bottom:1px solid #edf1f5;text-decoration:none;color:#203347}.bank-action-list>a:last-child{border:0}.bank-action-icon{width:42px;height:42px;border-radius:12px;background:#eaf6f5;display:grid;place-items:center;color:#087e8b}.bank-action-list>a>span:nth-child(2){flex:1}.bank-action-list strong{font-size:14px;display:block}.bank-action-list small{display:block;color:#7a8798;margin-top:6px;font-size:12px;line-height:1.5}.bank-action-list svg{width:19px;height:19px}.bank-status-list{padding:8px 24px 24px}.bank-status-list>div{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid #edf1f5;font-size:13px;color:#68788a}.bank-status-list>p{font-size:11px;color:#8b96a5;line-height:1.7;margin:20px 0}.bank-status-list>a{display:flex;align-items:center;gap:8px;color:#087e8b;font-size:12px;text-decoration:none}.bank-status-list svg{width:16px;height:16px}.merchant-shell.page-overview:has(.bank-welcome) .page-head{display:none}.merchant-shell:has(.bank-section-tabs) .page-head{margin-bottom:22px}@media(max-width:900px){.bank-work-grid{grid-template-columns:1fr}.bank-welcome{align-items:flex-start;flex-direction:column}.bank-summary-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.bank-action-list *{transition:none}}

.bank-summary-grid .metric-foot{white-space:normal;line-height:1.6;min-height:32px}.bank-summary-grid .metric-card{overflow:hidden}.bank-summary-grid .metric-value{font-size:30px}
