.customer-card-fields { margin: 4px 0; padding: 16px; border: 1px solid #dce3ed; border-radius: 12px; min-width: 0; display: grid; gap: 12px; background: #fff; }
.customer-card-fields legend { font-weight: 650; padding: 0 6px; color: #304c46; font-size: 12px; }
.card-expiry-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.card-expiry-grid input { min-width: 0; width: 100%; }
.card-input-wrap { position: relative; display: block; margin-top: 6px; }
.card-input-wrap input { margin-top: 0 !important; padding-right: 48px !important; }
.card-input-badge { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; color: #95a4b5; pointer-events: none; }
.card-input-badge svg { width: 22px; height: 15px; display: block; }
.card-brand-pill { display: inline-flex; align-items: center; padding: 1px 6px; border-radius: 4px; font-size: 9px; font-weight: 700; letter-spacing: .4px; background: #eef4f7; color: #355166; border: 1px solid #d5e2ea; }
.card-brand-pill.visa { background: #eef3ff; color: #1d4ed8; border-color: #c7d7fe; }
.card-brand-pill.mc { background: #fff4ed; color: #c2410c; border-color: #fed7aa; }
.card-brand-pill.amex { background: #ecfeff; color: #0e7490; border-color: #a5f3fc; }
.card-brand-pill.unionpay { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.customer-card-fields input:not([type=checkbox]):not([type=radio]):focus { border-color: #0b897c; box-shadow: 0 0 0 3px rgba(11, 137, 124, .14); outline: none; }
:root {
  font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  color:#263447;
  background:#f5f7fa;
  font-synthesis:none;
  --accent:#0b897c;
  --border:#e6eaf0;
  --muted:#8490a2;
  --nav:#142131;
  --radius:12px
}

* {
  box-sizing:border-box
}

body {
  margin:0;
  font-size:14px;
  line-height:1.6
}

button,input,select,textarea {
  font:inherit
}

button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}

button,a {
  touch-action:manipulation
}

button {
  cursor:pointer
}

button:disabled {
  cursor:not-allowed;
  opacity:.45
}

a {
  color:inherit;
  text-decoration:none
}

button {
  color:inherit
}

h1,h2,h3,p {
  margin:0
}

h1 {
  font-size:26px;
  line-height:1.5;
  letter-spacing:-.8px;
  font-weight:650
}

h2 {
  font-size:16px;
  font-weight:650
}

h3 {
  font-size:14px;
  font-weight:650
}

p {
  color:#7b8797
}

small {
  font-size:12px
}

strong {
  font-weight:600
}

:focus-visible {
  outline:3px solid #7dd3c4;
  outline-offset:3px
}

::selection {
  background:#cbede5
}

.icon {
  width:18px;
  height:18px;
  flex-shrink:0;
  vertical-align:middle
}

.mono,code,pre {
  font-family:"Cascadia Code",Consolas,monospace;
  font-size:12px
}

.muted {
  color:var(--muted)
}

.green-text {
  color:#16846e
}

.red-text {
  color:#c34651
}

.align-right {
  text-align:right
}

.eyebrow {
  font-size:10px;
  font-weight:650;
  letter-spacing:1.8px;
  color:#8a98a7
}

.shell {
  display:flex;
  min-height:100vh
}

.sidebar {
  width:236px;
  background:var(--nav);
  color:#c5ccd6;
  position:fixed;
  inset:0 auto 0 0;
  z-index:20;
  padding:30px 18px 0;
  display:flex;
  flex-direction:column
}

.brand {
  display:flex;
  align-items:center;
  gap:11px;
  font-weight:650;
  font-size:23px;
  line-height:1.25;
  letter-spacing:-.6px
}

.brand>div>span {
  display:block;
  font-size:8px;
  letter-spacing:1.8px;
  font-weight:500;
  margin-top:6px;
  color:#8f9cad
}

.brand-icon {
  font-size:30px;
  background:#17a18f;
  border-radius:11px;
  display:grid;
  place-content:center;
  width:40px;
  height:43px;
  color:white;
  position:relative;
  font-weight:650;
  line-height:1
}

.brand-icon>span {
  position:absolute;
  right:6px;
  bottom:8px;
  color:#a6f3d8
}

.sidebar .brand {
  padding:0 8px;
  color:white
}

.workspace {
  display:flex;
  gap:10px;
  align-items:center;
  margin:33px 0 26px;
  padding:12px 10px;
  border:1px solid #2d3949;
  border-radius:8px;
  font-size:12px;
  color:#edf0f4
}

.workspace small,.profile small {
  display:block;
  font-size:10px;
  color:#8290a3;
  margin-top:2px
}

.workspace-avatar {
  background:#293b4b;
  border:1px solid #415064;
  border-radius:6px;
  width:29px;
  height:29px;
  display:grid;
  place-content:center;
  color:#b7ceca
}

.workspace-mark {
  margin-left:auto;
  color:#778597
}

.nav-caption {
  font-size:10px;
  letter-spacing:1.2px;
  color:#78879c;
  padding:0 13px 10px
}

.secondary-caption {
  margin-top:29px
}

.nav-item {
  display:flex;
  align-items:center;
  gap:12px;
  padding:11px 14px;
  margin:4px 0;
  border-radius:7px;
  font-size:13px;
  transition:background .15s
}

.nav-item .icon {
  color:#8695a8;
  width:18px;
  height:18px
}

.nav-item:hover {
  background:#213247;
  color:white
}

.nav-item.active {
  background:#203e43;
  color:#72d4bc
}

.nav-item.active .icon {
  color:#74d9c0
}

.nav-count {
  margin-left:auto;
  font-size:10px;
  padding:0 6px;
  background:#2c4c4c;
  border-radius:4px;
  color:#b7e3c8
}

.sidebar-bottom {
  margin-top:auto;
  padding-top:32px
}

.mode-card {
  padding:14px;
  background:#1b2b3b;
  border:1px solid #2a3a49;
  border-radius:8px;
  font-size:11px
}

.mode-card>.icon {
  color:#7acbb4;
  margin-right:7px;
  width:15px
}

.mode-card strong {
  color:#c5e5da;
  font-size:12px
}

.mode-card p {
  font-size:10px;
  color:#8a9aad;
  margin:7px 0
}

.mode-card>span {
  font-size:10px;
  color:#5eaa98
}

.profile {
  display:flex;
  gap:10px;
  align-items:center;
  border-top:1px solid #293546;
  margin-top:22px;
  padding:20px 4px;
  color:#dce2eb;
  font-size:12px
}

.avatar {
  display:grid;
  place-content:center;
  background:#eef1ee;
  color:#496760;
  border-radius:50%;
  width:32px;
  height:32px;
  font-size:12px;
  font-weight:600
}

.profile .avatar {
  background:#30423f;
  color:#a9cebb
}

.online-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#4eae91;
  margin-left:auto
}

.content-shell {
  margin-left:236px;
  min-width:0;
  width:calc(100% - 236px);
  display:flex;
  flex-direction:column;
  min-height:100vh
}

.topbar {
  height:72px;
  background:white;
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 34px;
  gap:16px
}

.breadcrumb,.topbar-actions {
  display:flex;
  gap:18px;
  align-items:center;
  font-size:12px
}

.breadcrumb>span {
  color:#97a2af
}

.crumb-slash {
  opacity:.5
}

.breadcrumb strong {
  font-weight:500
}

.topbar-actions {
  gap:22px
}

.connection {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:11px;
  color:#7f8b98
}

.connection i {
  width:6px;
  height:6px;
  background:#39aa84;
  border-radius:50%
}

.connection.offline {
  color:#c2773b
}

.connection.offline i {
  background:#ca884e
}

.portal-link {
  display:inline-flex;
  gap:7px;
  align-items:center;
  font-size:12px;
  color:#5c697b
}

.portal-link:hover {
  color:var(--accent)
}

.portal-link .icon {
  width:14px;
  height:14px
}

.avatar.small {
  width:28px;
  height:28px;
  font-size:10px
}

.mobile-menu {
  display:none!important
}

.main-content {
  padding:30px 34px 34px;
  width:100%;
  max-width:1760px;
  align-self:center;
  flex:1
}

.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:24px
}

.page-heading .eyebrow {
  margin-bottom:7px
}

.page-heading p {
  font-size:12px;
  margin-top:7px
}

.heading-actions {
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0
}

.button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:7px;
  min-height:36px;
  background:white;
  border:1px solid #dfe5eb;
  border-radius:7px;
  padding:8px 13px;
  font-size:12px;
  line-height:1.4;
  white-space:nowrap;
  transition:background .15s,box-shadow .15s
}

.button:hover:not(:disabled) {
  background:#f5f8fa;
  border-color:#c9d4dc;
  box-shadow:0 1px 3px #20344309
}

.button .icon {
  width:15px;
  height:15px
}

.button.primary {
  background:var(--accent);
  color:white;
  border-color:var(--accent);
  box-shadow:0 2px 3px #0b897c15
}

.button.primary:hover:not(:disabled) {
  background:#087468;
  border-color:#087468
}

.button.danger {
  color:#bc4354;
  background:#fff6f7;
  border-color:#f2d2d7
}

.button.small {
  font-size:11px;
  min-height:29px;
  padding:5px 9px
}

.button.full {
  width:100%
}

.icon-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px;
  background:transparent;
  border:0;
  border-radius:6px;
  width:32px;
  height:32px;
  flex-shrink:0
}

.icon-button:hover {
  background:#edf2f5
}

.date-chip {
  display:flex;
  gap:6px;
  align-items:center;
  color:#82909e;
  font-size:11px;
  margin-right:6px
}

.date-chip .icon {
  width:14px;
  height:14px
}

.demo-notice {
  display:flex;
  align-items:center;
  gap:10px;
  background:#eaf5f1;
  border:1px solid #d8e9e2;
  border-radius:8px;
  padding:12px 16px;
  font-size:11px;
  color:#5e7f75;
  margin-bottom:24px
}

.demo-notice>.icon {
  width:16px;
  height:16px;
  color:#3b9b80
}

.demo-notice strong {
  font-weight:550;
  color:#477e6c
}

.demo-notice>a {
  display:flex;
  gap:6px;
  align-items:center;
  white-space:nowrap;
  margin-left:auto;
  color:#16846e;
  font-weight:550
}

.demo-notice>a .icon {
  width:14px;
  height:14px
}

.stats-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin-bottom:24px
}

.stats-grid.cards-stats {
  grid-template-columns:repeat(2,minmax(0,1fr))
}

.stats-grid.three {
  grid-template-columns:repeat(3,minmax(0,1fr))
}

.stat-card {
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:20px 22px;
  background:white;
  box-shadow:0 2px 3px #24384b02
}

.stat-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#758292;
  font-size:12px
}

.stat-icon {
  width:31px;
  height:31px;
  display:grid;
  place-content:center;
  border-radius:9px
}

.stat-icon .icon {
  width:16px;
  height:16px
}

.blue {
  background:#edf4ff;
  color:#517cd2
}

.green {
  background:#eaf7f0;
  color:#198967
}

.amber {
  background:#fff5e5;
  color:#b58328
}

.violet {
  background:#f1edfb;
  color:#9a7bc5
}

.red {
  background:#feeff0;
  color:#c95c67
}

.neutral {
  background:#f0f3f6;
  color:#818d9e
}

.stat-value {
  font-size:32px;
  line-height:1.35;
  font-weight:650;
  letter-spacing:-1px;
  margin:12px 0 9px;
  color:#203044
}

.stat-value small {
  font-size:12px;
  color:#8c97a6;
  letter-spacing:0;
  margin-left:7px;
  font-weight:400
}

.stat-note {
  font-size:10px;
  color:#8d98a6
}

.panel {
  background:white;
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  min-width:0;
  box-shadow:0 2px 4px #24384b02
}

.panel-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:21px 23px
}

.panel-heading h2 {
  font-size:14px
}

.panel-heading p {
  font-size:11px;
  margin-top:5px
}

.count {
  display:inline-block;
  border-radius:5px;
  background:#f0f3f6;
  color:#8995a5;
  font-size:10px;
  font-weight:550;
  min-width:23px;
  text-align:center;
  padding:1px 5px;
  margin-left:5px;
  vertical-align:middle
}

.amber-count {
  background:#fff4df;
  color:#b38737
}

.text-link {
  color:#689085;
  font-size:11px;
  display:inline-flex;
  align-items:center;
  gap:5px;
  white-space:nowrap
}

.text-link:hover {
  color:var(--accent)
}

.text-link .icon {
  width:14px;
  height:14px
}

.overview-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 292px;
  gap:20px;
  align-items:start
}

.right-stack {
  display:flex;
  flex-direction:column;
  gap:20px;
  min-width:0
}

.table-scroll {
  overflow-x:auto;
  max-width:100%
}

table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  white-space:nowrap;
  font-size:12px
}

th {
  padding:12px 20px;
  background:#fafbfd;
  color:#8d98a5;
  font-size:10px;
  letter-spacing:.2px;
  font-weight:500;
  border-block:1px solid #edf0f4
}

td {
  padding:17px 20px;
  border-bottom:1px solid #edf0f4
}

tr:last-child td {
  border-bottom:0
}

tbody tr:hover {
  background:#fafcfd
}

.order-id {
  border:0;
  background:none;
  padding:0;
  font-family:"Cascadia Code",Consolas,monospace;
  font-size:11px;
  font-weight:550;
  color:#435369;
  letter-spacing:.1px
}

.order-id:hover {
  color:var(--accent)
}

.cell-sub {
  display:block;
  font-size:10px;
  color:#93a0ad;
  margin-top:4px;
  font-weight:400
}

.plan-chip {
  font-size:11px;
  color:#69788b;
  border:1px solid #e2e7ed;
  padding:1px 7px;
  border-radius:4px
}

.badge {
  display:inline-flex;
  align-items:center;
  gap:5px;
  white-space:nowrap;
  font-size:10px;
  border-radius:5px;
  padding:3px 7px;
  font-weight:500;
  line-height:1.5
}

.badge i {
  width:4px;
  height:4px;
  border-radius:50%;
  background:currentColor
}

.time-cell {
  font-size:10px;
  color:#8a97a6
}

.text-button {
  font-size:11px;
  background:transparent;
  border:0;
  color:#83919f;
  display:inline-flex;
  gap:6px;
  align-items:center
}

.text-button .icon {
  width:13px;
  height:13px
}

.text-button:hover {
  color:var(--accent)
}

.table-actions {
  display:flex;
  align-items:center;
  gap:7px;
  justify-content:flex-end
}

.attention-panel .panel-heading {
  padding-bottom:12px
}

.attention-item {
  border:0;
  background:transparent;
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  padding:13px 20px;
  text-align:left
}

.attention-item:hover {
  background:#fafbf9
}

.attention-icon {
  width:31px;
  height:31px;
  display:grid;
  place-content:center;
  background:#fcf6eb;
  color:#c79c4e;
  border-radius:8px;
  flex-shrink:0
}

.attention-icon .icon {
  width:15px;
  height:15px
}

.attention-item>span:nth-child(2) {
  min-width:0;
  flex:1
}

.attention-item strong {
  display:block;
  font-size:11px
}

.attention-item small {
  display:block;
  color:#9aa3af;
  font-size:10px;
  margin-top:4px;
  overflow:hidden;
  text-overflow:ellipsis
}

.attention-item>.icon {
  width:13px;
  height:13px;
  color:#adb5bf
}

.attention-foot {
  display:flex;
  align-items:center;
  gap:7px;
  margin:12px 20px 17px;
  border-top:1px solid #edf0f4;
  padding-top:13px;
  font-size:10px;
  color:#99a4b1
}

.attention-foot .icon {
  width:13px;
  height:13px
}

.rollout {
  padding:23px;
  background:linear-gradient(130deg,#fff,#f6faf8)
}

.rollout h2,.rollout h3 {
  margin:8px 0
}

.rollout p {
  font-size:11px;
  margin-bottom:13px;
  line-height:1.9
}

.rollout .text-link {
  margin-top:16px
}

.readiness {
  display:flex;
  flex-direction:column;
  gap:11px;
  margin-top:20px
}

.readiness span {
  display:flex;
  align-items:center;
  gap:8px;
  color:#6d8a7b;
  font-size:10px
}

.readiness .icon {
  width:13px;
  height:13px
}

.readiness .pending {
  color:#9c9381
}

.flow-panel {
  display:flex;
  align-items:center;
  gap:24px;
  padding:23px;
  margin-top:24px
}

.flow-panel h2 {
  font-size:13px;
  margin-top:6px
}

.flow-strip {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex:1
}

.flow-strip>span {
  display:flex;
  flex-direction:column;
  gap:3px;
  font-size:10px;
  color:#8794a1
}

.flow-strip b {
  font-size:12px;
  color:#7b9a8f;
  font-family:Consolas,monospace
}

.flow-strip>.icon {
  width:13px;
  height:13px;
  color:#c4ced3
}

.footer {
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:18px 34px;
  border-top:1px solid #e8ecf1;
  font-size:10px;
  color:#9aa5b1
}

.footer .mono {
  font-size:10px;
  margin-left:5px
}

.filter-bar {
  display:flex;
  gap:12px;
  align-items:center;
  padding:20px 22px
}

.search-field {
  display:flex;
  align-items:center;
  gap:9px;
  border:1px solid #e0e6ed;
  border-radius:7px;
  padding:0 11px;
  min-width:220px;
  max-width:340px;
  flex:1;
  background:white
}

.search-field>.icon {
  width:15px;
  height:15px;
  color:#9aa6b4
}

.search-field input {
  border:0;
  background:transparent;
  width:100%;
  min-width:0;
  padding:9px 0;
  outline:none;
  font-size:12px
}

.search-field:focus-within {
  outline:2px solid #addbd0;
  outline-offset:1px
}

.filter-bar>select {
  width:auto;
  min-width:120px;
  font-size:12px;
  height:37px
}

.filter-total {
  font-size:11px;
  color:#8a98a7;
  margin-left:auto;
  white-space:nowrap
}

.pagination {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:17px 22px;
  border-top:1px solid var(--border);
  font-size:11px;
  color:#95a0ae
}

.pagination>div {
  display:flex;
  align-items:center;
  gap:15px
}

.pagination .button {
  min-height:28px;
  font-size:10px;
  padding:6px 9px
}

.queue-overview {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background:white;
  border:1px solid var(--border);
  padding:17px 20px;
  border-radius:10px;
  margin-bottom:24px;
  font-size:11px;
  color:#8493a1
}

.queue-overview>div {
  display:flex;
  align-items:center;
  gap:10px
}

.queue-overview strong {
  font-size:12px;
  color:#536a60
}

.live-indicator {
  display:block;
  background:#42aa87;
  border:3px solid #ddf4e7;
  border-radius:50%;
  width:12px;
  height:12px
}

.tabs {
  display:flex;
  gap:24px;
  border-bottom:1px solid #dfe5eb;
  margin-bottom:22px
}

.tab {
  border:0;
  background:transparent;
  color:#8995a3;
  font-size:12px;
  padding:0 3px 13px;
  border-bottom:2px solid transparent
}

.tab.active {
  color:var(--accent);
  border-bottom-color:var(--accent);
  font-weight:600
}

.task-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px
}

.task-card {
  padding:22px
}

.task-top {
  display:flex;
  align-items:center;
  gap:12px
}

.task-top>div {
  flex:1;
  min-width:0
}

.task-top strong {
  font-size:12px;
  overflow-wrap:anywhere
}

.plan-avatar {
  display:grid;
  place-content:center;
  background:#eaf6ef;
  color:#3b9a7c;
  border:1px solid #deeee6;
  border-radius:8px;
  width:34px;
  height:34px;
  font-size:15px;
  font-weight:550;
  flex-shrink:0
}

.task-stages {
  display:flex;
  justify-content:space-between;
  gap:4px;
  margin-top:25px
}

.task-stages>span {
  display:flex;
  flex-direction:column;
  gap:9px;
  font-size:10px;
  color:#a2adba;
  flex:1;
  position:relative
}

.task-stages i {
  width:9px;
  height:9px;
  border:2px solid #dbe3e9;
  border-radius:50%;
  background:white;
  z-index:1
}

.task-stages>span:before {
  content:"";
  position:absolute;
  top:4px;
  left:8px;
  right:-6px;
  height:1px;
  background:#e4e9ed
}

.task-stages>span:last-child:before {
  display:none
}

.task-stages .done {
  color:#629b83
}

.task-stages .done i {
  border-color:#68b797;
  background:#68b797
}

.task-stages .done:before {
  background:#9bcfb8
}

.task-message {
  font-size:11px;
  line-height:1.8;
  min-height:40px;
  margin:20px 0;
  color:#8a98a6
}

.task-footer {
  border-top:1px solid var(--border);
  padding-top:15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-size:11px;
  color:#8d98a5
}

.task-footer>div {
  display:flex;
  gap:7px
}

.empty {
  text-align:center;
  padding:65px 20px;
  color:#a4afba
}

.empty>.icon {
  width:30px;
  height:30px;
  color:#b2c2c8;
  margin-bottom:14px
}

.empty h3 {
  color:#71818f;
  font-size:13px;
  font-weight:550
}

.empty p {
  font-size:11px;
  margin-top:7px
}

.full-width {
  grid-column:1/-1
}

.panel-note {
  padding:18px 23px;
  font-size:11px;
  line-height:1.8;
  color:#929dab;
  border-top:1px solid var(--border)
}

.info-box {
  display:flex;
  gap:9px;
  align-items:center;
  font-size:11px;
  color:#8694a4;
  padding:18px 3px
}

.info-box .icon {
  width:15px;
  height:15px
}

.docs {
  padding:28px;
  max-width:1000px
}

.docs h2 {
  font-size:22px;
  margin:10px 0 20px
}

.docs p {
  font-size:12px;
  line-height:1.9;
  margin:14px 0
}

.docs h3 {
  margin-top:26px
}

.docs code {
  color:#526b77;
  overflow-wrap:anywhere
}

.endpoint {
  display:flex;
  gap:12px;
  align-items:center;
  padding:15px 0;
  border-top:1px solid var(--border);
  font-size:12px;
  color:#7c8d99
}

.method {
  font-size:10px;
  font-weight:650;
  background:#e9f6ef;
  color:#378d6b;
  padding:3px 8px;
  border-radius:5px
}

.method.get {
  background:#edf3fd;
  color:#6182bd
}

pre {
  padding:20px;
  background:#172636;
  color:#c9dcd6;
  border-radius:8px;
  line-height:1.8;
  overflow:auto
}

.settings-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:24px;
  align-items:start
}

.settings-catalog-body {
  display:grid;
  gap:24px
}

.settings-plans-section {
  display:grid;
  gap:14px
}

.settings-group-header {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding-bottom:8px;
  border-bottom:1px solid #edf2f5
}

.settings-group-header h3 {
  margin:0;
  font-size:13px;
  font-weight:650;
  color:#233b4d
}

.settings-group-header span {
  font-size:11px;
  color:#7a8d9b
}

.settings-plans {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));
  gap:16px
}

.settings-upgrades {
  grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr))
}

.settings-plan {
  min-width:0;
  padding:18px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff
}

.settings-upgrade-plan {
  background:#fbfefd;
  border-color:#d8e9e4
}

.form-body {
  padding:22px 24px
}

.form-body>label {
  margin-bottom:19px
}

.form-body>label:last-child {
  margin-bottom:0
}

label {
  display:block;
  font-size:12px;
  font-weight:550;
  color:#4d5c6e
}

input:not([type=checkbox]):not([type=radio]),select,textarea {
  border:1px solid #dfe5ed;
  border-radius:7px;
  padding:10px 12px;
  background:white;
  color:#405065;
  font-size:12px;
  width:100%;
  line-height:1.5
}

input::placeholder,textarea::placeholder {
  color:#aab4c0
}

textarea {
  resize:vertical;
  min-height:76px
}

label>input:not([type=checkbox]),label>select,label>textarea {
  display:block;
  margin-top:8px
}

label>small {
  display:block;
  color:#99a4b2;
  font-size:10px;
  margin-top:7px;
  font-weight:400
}

input[type=checkbox],input[type=radio] {
  accent-color:var(--accent);
  width:15px;
  height:15px;
  flex-shrink:0
}

input[readonly] {
  background:#f6f8fa!important;
  color:#98a2ac!important
}

.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-bottom:20px
}

.form-grid>label {
  min-width:0
}

.form-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-top:1px solid var(--border);
  padding:18px 24px;
  background:#fcfdfe;
  font-size:10px;
  color:#96a1af
}

.section-divider {
  border-top:1px solid var(--border);
  padding-bottom:0
}

.settings-panel .form-body {
  padding-top:18px
}

.toggle-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  background:#f8fafb;
  padding:15px;
  border-radius:7px
}

.toggle-row small {
  display:block;
  font-size:10px;
  color:#929fac;
  font-weight:400;
  margin-top:5px
}

.switch {
  appearance:none;
  width:34px!important;
  height:20px!important;
  border:0;
  background:#ced7df;
  border-radius:20px;
  position:relative;
  cursor:pointer;
  transition:background .2s
}

.switch:before {
  content:"";
  position:absolute;
  left:3px;
  top:3px;
  width:14px;
  height:14px;
  border-radius:50%;
  background:white;
  box-shadow:0 1px 3px #0002;
  transition:transform .2s
}

.switch:checked {
  background:var(--accent)
}

.switch:checked:before {
  transform:translateX(14px)
}

.config-line {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0 22px;
  padding:17px 0;
  border-top:1px solid var(--border);
  font-size:11px
}

.config-line:last-child {
  margin-bottom:8px
}

.boot {
  max-width:520px;
  margin:18vh auto;
  text-align:center;
  padding:25px
}

.boot p {
  margin:15px 0 22px
}

.input-with-button {
  display:flex;
  gap:8px;
  margin-top:8px
}

.input-with-button .button {
  padding-inline:15px
}

.input-with-button input {
  min-width:0
}

.credential-hint.valid {
  color:var(--accent)
}

.credential-hint.error {
  color:#c65762
}

.plan-options {
  margin:-8px 0 20px
}

.plan-option {
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px;
  border:1px solid #9ecfbe;
  border-radius:8px;
  background:#f4faf7
}

.plan-option input {
  position:absolute;
  opacity:0;
  width:1px;
  height:1px
}

.plan-option:focus-within {
  outline:2px solid var(--accent)
}

.plan-option strong {
  font-size:12px
}

.plan-option small {
  display:block;
  font-size:10px;
  color:#85a291;
  font-weight:400;
  margin-top:4px
}

.plan-option b {
  margin-left:auto;
  font-size:11px;
  color:#488c73;
  white-space:nowrap
}

.unavailable-plan {
  display:flex;
  justify-content:space-between;
  border:1px dashed #e0e6ed;
  color:#a4adb9;
  font-size:11px;
  border-radius:7px;
  padding:10px 14px;
  margin-top:8px;
  background:#fafbfc
}

.notice-soft {
  display:flex;
  align-items:flex-start;
  gap:8px;
  padding:12px;
  background:#f3f7f8;
  border:1px solid #e7eef0;
  color:#82949f;
  font-size:10px;
  border-radius:7px;
  line-height:1.8;
  margin:15px 0
}

.notice-soft>.icon {
  width:14px;
  height:14px;
  margin-top:3px
}

.checkbox-row {
  display:flex;
  gap:8px;
  align-items:flex-start;
  font-size:11px;
  font-weight:400;
  margin-top:16px
}

.checkbox-row input {
  margin:3px 0 0
}

.form-error {
  color:#bf4d5d;
  font-size:11px;
  background:#fff3f3;
  padding:10px 12px;
  border-radius:6px;
  margin-top:15px
}

.form-error:empty {
  display:none
}

dialog {
  border:1px solid #e0e6ed;
  border-radius:14px;
  padding:0;
  width:540px;
  max-width:calc(100% - 32px);
  max-height:calc(100dvh - 48px);
  box-shadow:0 24px 90px #0a182b33;
  color:#334256;
  background:white;
  overflow:auto
}

dialog::backdrop {
  background:#15273b65;
  backdrop-filter:blur(3px)
}

.modal-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:24px;
  border-bottom:1px solid var(--border)
}

.modal-heading h2 {
  font-size:18px
}

.modal-heading p {
  font-size:11px;
  margin-top:7px
}

.modal-heading>.icon-button {
  margin:-5px -6px 0 0
}

.generated-list {
  display:flex;
  flex-direction:column;
  gap:12px
}

.generated-item {
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  border:1px solid #e0ebe4;
  border-radius:7px;
  padding:12px;
  background:#f7fcf9
}

.generated-item code {
  word-break:break-all;
  color:#3f7563
}

.generated-item>div {
  min-width:0
}

.generated-item small {
  display:block;
  color:#8e9c94;
  font-size:10px
}

.confirm-body {
  padding:24px
}

.confirm-body p {
  font-size:13px;
  line-height:1.9
}

.drawer {
  position:fixed;
  inset:0 0 0 auto;
  margin:0;
  width:590px;
  max-width:100%;
  height:100dvh;
  max-height:100dvh;
  border-radius:0;
  border-block:0;
  border-right:0;
  overflow:auto
}

.drawer-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:24px 27px;
  border-bottom:1px solid var(--border);
  background:white;
  position:sticky;
  top:0;
  z-index:2
}

.drawer-heading h2 {
  font-size:20px;
  margin-top:4px
}

.drawer-body {
  padding:25px 27px 32px
}

.drawer-footer {
  position:sticky;
  bottom:0;
  background:#ffffffed;
  backdrop-filter:blur(6px);
  border-top:1px solid var(--border);
  padding:18px 27px;
  display:flex;
  gap:10px;
  flex-wrap:wrap
}

.order-summary-top {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px
}

.order-summary-top strong {
  font-size:14px
}

.order-summary-top p {
  font-size:12px;
  margin-top:6px
}

.order-meta {
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:11px;
  color:#8a98a7;
  margin:17px 0 22px
}

.evidence-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px
}

.evidence-card {
  background:#f7f9fa;
  border:1px solid #e9edf1;
  padding:13px;
  border-radius:8px
}

.evidence-card span {
  display:block;
  font-size:10px;
  color:#8d9aa8;
  margin-bottom:7px
}

.evidence-card strong {
  font-size:12px
}

.quota-strip {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:11px;
  padding:17px 2px;
  color:#8a98a5
}

.quota-strip strong {
  color:#586b7b;
  margin-left:8px
}

.section-title {
  margin:27px 0 18px
}

.timeline {
  list-style:none;
  margin:0;
  padding:0
}

.timeline li {
  position:relative;
  border-left:1px solid #e0e8e8;
  margin-left:5px;
  padding:0 0 20px 24px
}

.timeline li:last-child {
  border-left-color:transparent;
  padding-bottom:0
}

.timeline-dot {
  position:absolute;
  left:-4px;
  top:5px;
  width:7px;
  height:7px;
  background:#bed1c8;
  border-radius:50%;
  outline:4px solid white
}

.timeline .latest .timeline-dot {
  background:#35a082
}

.timeline time {
  font-size:10px;
  color:#a0acb7
}

.timeline p {
  font-size:12px;
  color:#687e87;
  margin-top:4px;
  line-height:1.9;
  overflow-wrap:anywhere
}

.ledger-list {
  border:1px solid #e8edf0;
  border-radius:7px;
  padding:0 14px
}

.ledger-list>div {
  display:flex;
  align-items:center;
  gap:18px;
  padding:12px 0;
  border-bottom:1px solid #edf1f4;
  font-size:11px;
  color:#82919e
}

.ledger-list>div:last-child {
  border:0
}

.ledger-list strong {
  font-size:11px;
  color:#5e7482;
  margin-left:auto
}

.ledger-list small {
  font-size:10px;
  color:#a1abb7
}

#toast {
  position:fixed;
  bottom:28px;
  left:50%;
  transform:translate(-50%,12px);
  background:#163d35;
  color:#e2f3ed;
  padding:12px 22px;
  border-radius:9px;
  box-shadow:0 6px 28px #122b3a30;
  font-size:12px;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s,transform .18s;
  z-index:100;
  max-width:calc(100% - 32px)
}

#toast.visible {
  opacity:1;
  transform:translate(-50%,0)
}

#toast.error {
  background:#a54551
}

.portal-shell {
  min-height:100vh;
  background:radial-gradient(ellipse at 50% 0%,#e8f4ef 0,transparent 42%),#f6f8fa
}

.portal-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  height:84px;
  max-width:1150px;
  padding:0 30px;
  margin:auto
}

.portal-header .brand {
  font-size:20px;
  color:#304d44
}

.portal-header .brand>div>span {
  font-size:8px;
  color:#8b9f97
}

.portal-header>div {
  display:flex;
  align-items:center;
  gap:20px
}

.portal-main {
  max-width:1080px;
  margin:auto;
  padding:35px 30px 70px
}

.portal-hero {
  text-align:center;
  margin-bottom:35px
}

.portal-hero .eyebrow {
  color:#719b89;
  letter-spacing:2px
}

.portal-hero h1 {
  font-size:33px;
  letter-spacing:-1px;
  color:#263f35;
  margin:13px 0
}

.portal-hero>p {
  font-size:12px;
  color:#7e9487
}

.portal-features {
  display:flex;
  justify-content:center;
  gap:26px;
  margin-top:23px;
  font-size:11px;
  color:#7a9385
}

.portal-features span {
  display:flex;
  align-items:center;
  gap:6px
}

.portal-features .icon {
  width:14px;
  height:14px
}

.portal-announcement {
  display:flex;
  align-items:center;
  gap:8px;
  background:#eef6f2;
  border:1px solid #dbece3;
  padding:12px 16px;
  border-radius:8px;
  font-size:11px;
  color:#6b907b;
  margin-bottom:20px
}

.portal-announcement .icon {
  width:15px;
  height:15px
}

.portal-grid {
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);
  gap:22px;
  align-items:start
}

.portal-form .panel-heading {
  border-bottom:1px solid var(--border);
  padding:23px
}

.step-mark {
  color:#c7d8ce;
  font-family:Consolas,monospace;
  font-size:24px;
  font-weight:650
}

.portal-form .form-body {
  padding:24px
}

.portal-form .form-footer {
  flex-direction:column;
  align-items:stretch;
  text-align:center;
  gap:12px
}

.portal-form .form-footer .button {
  padding:13px;
  font-size:13px
}

.progress-placeholder {
  text-align:center;
  padding:40px 30px 48px
}

.progress-placeholder>.icon {
  width:34px;
  height:34px;
  color:#bad0c4;
  margin-bottom:20px
}

.progress-placeholder h3 {
  font-size:13px;
  color:#80988b
}

.progress-placeholder p {
  font-size:11px;
  line-height:1.9;
  margin-top:10px;
  color:#9aaea1
}

.progress-track {
  height:5px;
  border-radius:5px;
  background:#edf2ef;
  margin:20px 0
}

.progress-track i {
  height:100%;
  display:block;
  background:#48ab8a;
  border-radius:5px;
  transition:width .3s
}

.evidence-grid.vertical {
  grid-template-columns:1fr;
  gap:0
}

.vertical .evidence-card {
  display:flex;
  justify-content:space-between;
  padding:14px 0;
  background:none;
  border:0;
  border-bottom:1px solid #edf1f3;
  border-radius:0
}

.vertical .evidence-card span {
  margin:0
}

.vertical+p {
  font-size:11px;
  line-height:1.9;
  margin:17px 0
}

.query-panel .panel-heading {
  padding-bottom:0
}

.portal-footnote {
  font-size:10px;
  color:#a0ada5;
  text-align:center
}

.portal-footer {
  border-top:1px solid #e2eae6;
  padding:22px 30px;
  text-align:center;
  font-size:10px;
  color:#91a397
}

.portal-footer span {
  margin-left:28px
}

@media(min-width:1600px) {
  .overview-grid {
    grid-template-columns:minmax(0,1fr) 340px
  }
  .stat-card {
    padding:24px
  }
  .main-content {
    padding-top:38px
  }
  .overview-grid td {
    padding-block:20px
  }
  .flow-panel {
    padding-block:27px
  }
}

@media(max-width:1280px) {
  .sidebar {
    width:210px;
    padding-inline:13px
  }
  .content-shell {
    margin-left:210px;
    width:calc(100% - 210px)
  }
  .main-content {
    padding:26px 24px
  }
  .topbar {
    padding:0 24px
  }
  .overview-grid {
    grid-template-columns:minmax(0,1fr)
  }
  .overview-grid>.right-stack {
    display:grid;
    grid-template-columns:1fr 1fr
  }
  .date-chip {
    display:none
  }
  .flow-panel {
    flex-direction:column;
    align-items:stretch
  }
  .flow-strip {
    margin-top:6px
  }
  .stats-grid {
    gap:12px
  }
  .stat-card {
    padding:17px
  }
  .queue-overview {
    flex-wrap:wrap
  }
  .task-grid {
    grid-template-columns:1fr 1fr
  }
  .task-card {
    padding:18px
  }
  .task-top {
    flex-wrap:wrap
  }
  .task-top>.badge {
    margin-left:auto
  }
  .brand {
    font-size:21px
  }
}

@media(max-width:1000px) {
  .sidebar {
    width:190px;
    padding-inline:10px
  }
  .content-shell {
    margin-left:190px;
    width:calc(100% - 190px)
  }
  .sidebar .brand {
    gap:8px;
    font-size:20px
  }
  .sidebar .brand>div>span {
    font-size:6px;
    letter-spacing:1.2px
  }
  .sidebar .brand-icon {
    width:33px;
    height:38px
  }
  .main-content {
    padding:24px 20px
  }
  .topbar {
    padding:0 20px
  }
  .connection {
    display:none
  }
  .page-heading {
    align-items:flex-start;
    flex-direction:column
  }
  .heading-actions {
    align-self:stretch;
    justify-content:flex-end
  }
  .page-heading h1 {
    font-size:24px
  }
  .stats-grid {
    grid-template-columns:1fr 1fr
  }
  .settings-layout {
    grid-template-columns:1fr
  }
  .task-grid {
    grid-template-columns:1fr
  }
  .filter-bar {
    flex-wrap:wrap
  }
  .filter-total {
    margin-left:auto
  }
  .stats-grid.three {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
  .demo-notice {
    align-items:flex-start
  }
  .demo-notice>a {
    display:none
  }
  .flow-strip {
    gap:8px
  }
  .task-top>.badge {
    margin-left:0
  }
  .portal-grid {
    grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)
  }
  .portal-main {
    padding-inline:22px
  }
  .portal-header {
    padding-inline:22px
  }
}

@media(max-width:760px) {
  .sidebar {
    transform:translateX(-100%);
    transition:transform .2s;
    width:226px;
    box-shadow:20px 0 90px #14213133
  }
  .sidebar.open {
    transform:translateX(0)
  }
  .sidebar .brand {
    font-size:23px;
    gap:11px
  }
  .sidebar .brand>div>span {
    font-size:8px
  }
  .sidebar .brand-icon {
    width:40px;
    height:43px
  }
  .content-shell {
    margin-left:0;
    width:100%
  }
  .mobile-menu {
    display:inline-flex!important
  }
  .topbar {
    height:60px;
    padding:0 16px
  }
  .breadcrumb {
    gap:10px;
    font-size:11px
  }
  .topbar-actions {
    gap:12px
  }
  .topbar-actions .avatar {
    display:none
  }
  .portal-link {
    font-size:11px
  }
  .main-content {
    padding:24px 16px
  }
  .page-heading {
    gap:16px;
    margin-bottom:20px
  }
  .page-heading h1 {
    font-size:23px
  }
  .page-heading p {
    font-size:11px;
    line-height:1.9
  }
  .heading-actions {
    justify-content:flex-start;
    gap:8px;
    flex-wrap:wrap
  }
  .eyebrow {
    font-size:9px
  }
  .demo-notice {
    font-size:10px;
    line-height:1.9;
    padding:12px
  }
  .stats-grid,.stats-grid.three,.stats-grid.cards-stats {
    grid-template-columns:1fr 1fr;
    gap:10px
  }
  .stat-card {
    padding:16px 14px
  }
  .stat-value {
    font-size:29px
  }
  .stat-note {
    font-size:9px
  }
  .stat-top {
    font-size:11px
  }
  .stat-icon {
    width:27px;
    height:27px
  }
  .overview-grid {
    gap:16px
  }
  .overview-grid>.right-stack {
    grid-template-columns:1fr;
    gap:16px
  }
  .panel-heading {
    padding:18px
  }
  .panel-heading p {
    font-size:10px
  }
  .panel-heading h2 {
    font-size:13px
  }
  td {
    padding:16px
  }
  th {
    padding:12px 16px
  }
  .flow-panel {
    padding:20px;
    margin-top:18px
  }
  .flow-strip {
    gap:8px;
    flex-wrap:wrap;
    justify-content:flex-start
  }
  .flow-strip>span {
    min-width:60px;
    font-size:9px
  }
  .flow-strip>.icon {
    width:10px
  }
  .footer {
    padding:18px 16px;
    flex-direction:column;
    gap:5px
  }
  .filter-bar {
    padding:16px;
    gap:10px
  }
  .filter-bar .search-field {
    min-width:100%;
    max-width:100%
  }
  .filter-bar>select {
    flex:1;
    min-width:120px
  }
  .pagination {
    padding:15px;
    font-size:10px;
    flex-wrap:wrap;
    gap:12px
  }
  .pagination>div {
    margin-left:auto
  }
  .queue-overview {
    padding:15px;
    font-size:10px;
    gap:8px
  }
  .queue-overview>div {
    flex-wrap:wrap;
    gap:8px
  }
  .queue-overview>div>span:last-child {
    width:100%;
    margin-left:20px
  }
  .task-top strong {
    font-size:11px
  }
  .task-card {
    padding:18px
  }
  .task-top {
    gap:9px
  }
  .task-top .cell-sub {
    font-size:9px
  }
  .task-top>.badge {
    font-size:9px
  }
  .task-message {
    font-size:10px
  }
  .task-footer {
    font-size:10px;
    flex-wrap:wrap
  }
  .settings-layout {
    gap:16px
  }
  .form-body {
    padding:20px
  }
  .form-footer {
    padding:16px 20px;
    flex-wrap:wrap
  }
  .form-footer>span {
    font-size:9px
  }
  .form-grid {
    gap:13px
  }
  .docs {
    padding:20px
  }
  .docs h2 {
    font-size:19px
  }
  .endpoint {
    font-size:10px;
    gap:9px;
    flex-wrap:wrap
  }
  .docs p {
    font-size:11px
  }
  .docs pre {
    padding:14px;
    font-size:10px
  }
  .drawer-heading {
    padding:20px
  }
  .drawer-body {
    padding:22px 20px
  }
  .drawer-footer {
    padding:16px 20px
  }
  .evidence-grid {
    gap:7px
  }
  .evidence-card {
    padding:11px 9px
  }
  .evidence-card strong {
    font-size:11px
  }
  .order-summary-top strong {
    font-size:12px
  }
  .ledger-list>div {
    gap:10px;
    font-size:10px
  }
  .ledger-list small {
    font-size:9px
  }
  .modal-heading {
    padding:20px
  }
  .modal-heading h2 {
    font-size:16px
  }
  .portal-header {
    height:74px;
    padding:0 18px
  }
  .portal-header .brand {
    font-size:15px;
    gap:9px
  }
  .portal-header .brand-icon {
    width:33px;
    height:37px;
    font-size:26px
  }
  .portal-header .brand>div>span {
    font-size:6px;
    letter-spacing:1.1px
  }
  .portal-header>div {
    gap:12px
  }
  .portal-header .badge {
    font-size:8px
  }
  .portal-header .portal-link {
    font-size:10px
  }
  .portal-main {
    padding:26px 16px 40px
  }
  .portal-hero {
    margin-bottom:26px
  }
  .portal-hero .eyebrow {
    font-size:8px;
    letter-spacing:1.4px
  }
  .portal-hero h1 {
    font-size:25px;
    margin:13px 0
  }
  .portal-hero>p {
    font-size:11px;
    line-height:1.9;
    max-width:290px;
    margin:auto
  }
  .portal-features {
    gap:12px;
    font-size:9px;
    margin-top:20px
  }
  .portal-features .icon {
    width:12px;
    height:12px
  }
  .portal-grid {
    grid-template-columns:1fr;
    gap:18px
  }
  .portal-form .form-body {
    padding:20px
  }
  .portal-form .panel-heading {
    padding:20px
  }
  .portal-announcement {
    font-size:10px;
    line-height:1.8;
    padding:12px
  }
  .portal-footer span {
    display:block;
    margin:5px 0 0
  }
  .portal-form .plan-option {
    padding:12px
  }
  .plan-option b {
    font-size:10px
  }
  .plan-option .plan-avatar {
    width:30px;
    height:30px
  }
  .progress-placeholder {
    padding:30px
  }
  .portal-footnote {
    font-size:9px
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition:none!important;
    scroll-behavior:auto!important
  }
}

.skip-link {
  position:fixed;
  top:-60px;
  left:20px;
  background:white;
  color:#087468;
  padding:12px 20px;
  border:2px solid #0b897c;
  border-radius:7px;
  z-index:200
}

.skip-link:focus {
  top:12px
}

.generated-codes>div {
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px;
  background:#f3faf6;
  border:1px solid #e1eee6;
  border-radius:7px;
  margin-bottom:10px
}

.generated-codes code {
  overflow-wrap:anywhere;
  flex:1;
  font-size:11px;
  color:#3e7864
}

.generated-codes .icon-button {
  flex-shrink:0
}

.skip-link {
  clip-path:inset(50%);
  width:1px;
  height:1px;
  overflow:hidden;
  white-space:nowrap
}

.skip-link:focus {
  clip-path:none;
  width:auto;
  height:auto
}

.auth-shell { min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-intro { background: #142131; color: #e5efeb; padding: 52px max(40px, 7vw); display: flex; flex-direction: column; justify-content: space-between; gap: 60px; }
.auth-intro .brand { color: white; }
.auth-intro .eyebrow { color: #78b5a3; }
.auth-intro h1 { font-size: 37px; margin: 22px 0; line-height: 1.5; }
.auth-intro p { font-size: 13px; color: #99aeb6; max-width: 360px; line-height: 2; }
.auth-intro>small { font-size: 11px; color: #798f9b; }
.auth-features { display: flex; flex-direction: column; gap: 17px; margin-top: 38px; }
.auth-features span { display: flex; gap: 10px; align-items: center; font-size: 12px; color: #b6cfc5; }
.auth-features .icon { width: 16px; height: 16px; }
.auth-panel { background: #f6f9f8; display: grid; place-items: center; padding: 40px; }
.auth-card { width: 100%; max-width: 395px; }
.auth-card h2 { font-size: 27px; margin: 10px 0; }
.auth-card>p { font-size: 12px; line-height: 1.9; }
.auth-card form { margin-top: 30px; }
.auth-card label { margin-bottom: 21px; }
.auth-card .button { margin-top: 15px; padding: 13px; }
.auth-note { margin-top: 25px; font-size: 11px; color: #91a49c; display: flex; gap: 8px; line-height: 1.9; }
.auth-note .icon { margin-top: 3px; width: 14px; height: 14px; }
.auth-otp-banner { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.auth-otp-banner .icon { width: 18px; height: 18px; flex-shrink: 0; color: #0b897c; }
.auth-otp-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.otp-input { letter-spacing: 6px; font-size: 16px !important; font-weight: 600; text-align: center; }
.otp-input::placeholder { letter-spacing: normal; font-size: 12px; font-weight: 400; }
.admin-security-badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.admin-security-body { display: grid; gap: 16px; }
.admin-email-current { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid #dce9e4; border-radius: 10px; background: #f6fbf9; }
.admin-email-current span { font-size: 11px; color: #677f78; }
.admin-email-current strong { font-size: 14px; color: #173a35; }
.admin-email-current small { font-size: 11px; color: #718781; line-height: 1.6; }
.admin-email-form { display: grid; gap: 14px; }
.admin-email-form label { margin-bottom: 0; }
.admin-email-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.logout-button { margin-left: auto; color: #8da999; }
.logout-button:hover { background: #30453f; }
.drawer-footer>.muted { align-self: center; font-size: 10px; }
.sidebar { overflow-y: auto; }
@media(max-width: 1000px) {
  .auth-intro { padding: 40px; }
  .auth-intro h1 { font-size: 31px; }
  .auth-panel { padding: 30px; }
}
@media(max-width: 760px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-intro { padding: 25px; gap: 28px; }
  .auth-intro h1 { font-size: 26px; margin: 12px 0; }
  .auth-intro h1 br { display: none; }
  .auth-intro .eyebrow { font-size: 8px; }
  .auth-intro p { font-size: 11px; }
  .auth-intro>small, .auth-features { display: none; }
  .auth-panel { padding: 32px 25px 50px; }
  .auth-card h2 { font-size: 23px; }
}

/* Customer portal uses a separate session and only scoped order data. */
.subscription-builder { display: grid; gap: 24px; padding-bottom: 24px; margin-bottom: 4px; border-bottom: 1px solid #e6eeed; min-width: 0; }
.subscription-product { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.subscription-product-name { color: #123b38; font-size: 17px; font-weight: 750; }
.subscription-product-name span { display: inline-block; margin-left: 8px; padding: 4px 8px; border-radius: 5px; background: #edf7f4; color: #187c6e; font-size: 11px; font-weight: 500; vertical-align: middle; }
.subscription-product-note { font-size: 11px; color: #728681; }
.subscription-options { border: 0; padding: 0; margin: 0; min-width: 0; }
.subscription-options legend { padding: 0; margin-bottom: 12px; font-size: 12px; font-weight: 600; color: #25463f; }
.subscription-mode-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 5px; border-radius: 12px; background: #eef5f2; border: 1px solid #dce9e4; min-width: 0; }
.subscription-mode-tabs .mode-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; padding: 10px 13px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #566e67; text-align: left; cursor: pointer; transition: background-color .15s, border-color .15s, box-shadow .15s, color .15s; }
.subscription-mode-tabs .mode-tab strong { font-size: 13px; font-weight: 650; color: inherit; }
.subscription-mode-tabs .mode-tab small { font-size: 10px; color: #789088; line-height: 1.4; }
.subscription-mode-tabs .mode-tab:hover:not(:disabled):not(.active) { background: #f6fbf9; color: #2b4e46; }
.subscription-mode-tabs .mode-tab.active { background: #fff; border-color: #bcdad1; box-shadow: 0 2px 6px rgba(12, 68, 58, .08); color: #0b6e61; }
.subscription-mode-tabs .mode-tab.active small { color: #4d7c73; }
.subscription-mode-tabs .mode-tab:disabled { opacity: .65; cursor: not-allowed; }
.subscription-plan-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.subscription-region-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.subscription-choice { position: relative; display: block !important; min-width: 0; margin: 0; cursor: pointer; }
.plan-choice { grid-column: span 2; }
.plan-choice:nth-child(-n+2) { grid-column: span 3; }
.subscription-plan-grid[data-mode="upgrade"] .plan-choice { grid-column: span 3; }
.subscription-choice .choice-content { display: flex; flex-direction: column; gap: 10px; min-height: 84px; padding: 16px; border: 1px solid #dce6e2; border-radius: 12px; background: #fff; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.subscription-choice .choice-content strong { padding-right: 18px; color: #304c46; font-size: 15px; font-weight: 650; }
.subscription-choice .choice-content small { color: #71847f; font-size: 11px; line-height: 1.5; }
.subscription-choice .choice-content b { color: #46645c; font-size: 13px; font-weight: 650; }
.subscription-choice input[type=radio] { position: absolute; top: 17px; right: 13px; margin: 0; padding: 0; width: 14px; height: 14px; accent-color: #098b7c; box-shadow: none; cursor: pointer; }
.subscription-choice:hover input:not(:disabled) + .choice-content { border-color: #70b3a7; background: #f8fcfa; }
.subscription-choice input:checked + .choice-content { border-color: #098b7c; box-shadow: 0 0 0 1px #098b7c; background: #eff9f5; }
.subscription-choice input:checked + .choice-content strong, .subscription-choice input:checked + .choice-content b { color: #087567; }
.subscription-choice input:focus-visible + .choice-content { outline: 3px solid #92cfc1; outline-offset: 3px; }
.subscription-choice:has(input:disabled) { cursor: not-allowed; }
.subscription-choice input:disabled + .choice-content { background: #f7f9f8; border-color: #e8eeeb; opacity: .65; }
.subscription-choice input:disabled { cursor: not-allowed; }
.region-choice .choice-content { gap: 7px; min-height: 76px; padding: 15px 12px; }
.region-choice .choice-content strong { font-size: 13px; }
.region-choice .choice-content small { font-size: 10px; letter-spacing: .2px; white-space: nowrap; }
.region-choice .choice-content small span { color: #bccbc5; padding: 0 2px; }
.selection-help { margin: 10px 0 0 !important; color: #83938e !important; font-size: 11px !important; line-height: 1.7; }
.subscription-selection { padding: 15px 17px; border-radius: 10px; background: #f1f7f4; border-left: 3px solid #67a898; }
.subscription-selection > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.subscription-selection > div > span { color: #758a82; font-size: 11px; }
.subscription-selection strong { color: #235749; font-size: 12px; font-weight: 600; }
.subscription-selection #customer-cost { margin: 8px 0 0; color: #657d73; font-size: 11px; line-height: 1.7; }
@media (max-width: 600px) {
  .subscription-region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subscription-choice .choice-content { padding: 14px 11px; }
  .subscription-choice .choice-content strong { font-size: 13px; }
  .subscription-choice input[type=radio] { right: 10px; top: 15px; width: 12px; height: 12px; }
  .subscription-product-note { display: none; }
}
.customer-history { margin-top: 24px; }
.customer-balance, .customer-proofs { display: flex; gap: 24px; flex-wrap: wrap; }
.customer-balance span, .customer-proofs span { display: grid; gap: 8px; color: #64748b; }
.customer-balance strong { font-size: 28px; color: #0f766e; }
.customer-proofs strong { color: #0f172a; font-size: 15px; }
.customer-account { display: block; margin-top: 6px; overflow-wrap: anywhere; }
.customer-events { padding-left: 20px; }
.customer-events li { margin-bottom: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.customer-events small { display: block; color: #64748b; }
#customer-connection { font-size: 12px; color: #64748b; }
#customer-progress .mono { overflow-wrap: anywhere; }
.report-section { margin-top: 20px; }
.report-filters { display: flex; gap: 16px; align-items: end; flex-wrap: wrap; }
.service-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; border-bottom: 1px solid var(--border); }
.service-filters label { flex: 1 1 125px; min-width: 0; }
.service-filters .service-search { flex: 2 1 240px; }
.service-filters input, .service-filters select { width: 100%; }
.service-filter-actions { display: flex; gap: 8px; }
.service-detail-body { gap: 14px; }
.service-resolution-actions { border-top: 1px solid var(--border); padding-top: 10px; }
.service-resolution-actions > div { display: flex; flex-wrap: wrap; gap: 8px; }
.service-detail-status { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.service-detail-status > span:last-child { font-size: 11px; color: var(--muted); }
.service-detail-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 0; }
.service-detail-meta dt { font-size: 11px; color: var(--muted); }
.service-detail-meta dd { margin: 3px 0 0; font-size: 12px; overflow-wrap: anywhere; }
.service-detail-body .evidence-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-detail-body .evidence-card { padding: 10px; }
.service-detail-note h3 { font-size: 12px; margin: 0 0 5px; }
.service-detail-note p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; max-height: 100px; overflow: auto; }
.service-detail-extra { border-top: 1px solid var(--border); padding-top: 10px; }
.service-detail-extra summary { cursor: pointer; font-size: 12px; font-weight: 600; }
.service-detail-extra summary span { color: var(--muted); font-weight: 400; margin-left: 8px; }
.service-detail-extra .customer-events { max-height: 200px; overflow: auto; margin-top: 10px; }
.report-filters label { flex: 1 1 160px; min-width: 0; }
.report-filters input, .report-filters select { width: 100%; }
.report-totals { border-top: 1px solid #edf1f4; }
.report-totals small { color: #64748b; line-height: 1.7; }
.restore-banner { margin-bottom: 24px; border-color: #f0c36b; background: #fff8e8; color: #795414; }
.report-section pre { overflow-x: auto; max-width: 100%; line-height: 1.8; }

/* Compact customer checkout: one credential strip and a two-column form. */
.compact-checkout .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.compact-checkout .portal-header { height: 66px; max-width: 1180px; }
.compact-checkout .portal-main { max-width: 1180px; padding: 14px 30px 24px; }
.compact-checkout .portal-hero { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; text-align: left; }
.compact-checkout .portal-hero h1 { font-size: 25px; margin: 0 0 6px; letter-spacing: -.5px; }
.compact-checkout .portal-hero p { font-size: 12px; color: #71877d; margin: 0; line-height: 1.6; }
.checkout-hero-note { color: #7b9489; font-size: 11px; white-space: nowrap; }
.compact-checkout .portal-announcement { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 12px 16px; border-radius: 11px; border: 1px solid #cde5dc; border-left: 4px solid #0b897c; background: #eff9f5; color: #1f4842; line-height: 1.6; }
.compact-checkout .portal-announcement[data-tone="amber"] { border-color: #f3d08a; border-left-color: #d97706; background: #fff9eb; color: #7c4a0d; }
.compact-checkout .portal-announcement[hidden], .compact-checkout .portal-announcement:empty { display: none !important; }
.announcement-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px; background: #d9f2ea; color: #0a7b6e; flex-shrink: 0; }
.compact-checkout .portal-announcement[data-tone="amber"] .announcement-icon,
.announcement-modal-heading.amber .announcement-icon { background: #fdecc8; color: #b45309; }
.announcement-icon .icon { width: 16px; height: 16px; }
.announcement-copy { display: flex; align-items: baseline; gap: 10px; min-width: 0; flex: 1; flex-wrap: wrap; }
.announcement-tag { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: #0b897c; color: #fff; font-size: 10px; font-weight: 650; letter-spacing: .3px; flex-shrink: 0; }
.compact-checkout .portal-announcement[data-tone="amber"] .announcement-tag { background: #d97706; }
.announcement-text { margin: 0 !important; flex: 1; min-width: 180px; color: inherit !important; font-size: 13px !important; line-height: 1.65; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.announcement-open-btn { flex-shrink: 0; background: #fff !important; border-color: #c5dfd6 !important; color: #0b6e61 !important; }
.announcement-open-btn:hover { background: #f6fcfa !important; border-color: #7bbfae !important; }
.compact-checkout .portal-announcement[data-tone="amber"] .announcement-open-btn { border-color: #efc97d !important; color: #9a4b0b !important; }
.announcement-modal-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.announcement-modal-body { padding: 20px 24px !important; max-height: 55vh; overflow: auto; }
.announcement-modal-text { font-size: 14px; line-height: 1.85; color: #263847; white-space: pre-line; overflow-wrap: anywhere; }
.announcement-modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.announcement-modal-footer .muted { font-size: 11px; color: #7e8e98; }
.credential-strip { display: flex; align-items: center; gap: 24px; padding: 16px 22px; margin-bottom: 16px; }
.credential-heading { flex-shrink: 0; }
.credential-heading h2 { font-size: 13px; margin: 0 0 4px; }
.credential-heading p { color: #83968d; font-size: 11px; margin: 0; }
.credential-strip.is-verified .credential-heading p { color: #168776; }
.credential-strip #customer-login { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; align-items: center; flex: 1; }
.credential-strip #customer-login .form-error { grid-column: 1 / -1; margin-top: 6px; }
.credential-strip #customer-login .form-error:empty { display: none; }
.credential-strip #customer-login .button { height: 40px; padding: 0 24px; }
.credential-strip #customer-balance { flex: 1; min-width: 0; }
.credential-strip .customer-balance { gap: 24px; }
.credential-strip .customer-balance span { display: inline-flex; gap: 7px; align-items: baseline; font-size: 11px; }
.credential-strip .customer-balance strong { font-size: 20px; }
.credential-strip #customer-logout { padding: 8px 12px; font-size: 11px; flex-shrink: 0; }
.checkout-workspace { display: grid; gap: 14px; }
.compact-checkout .portal-form .panel-heading { padding: 16px 22px; }
.checkout-heading-note { font-size: 11px; color: #83968e; }
.compact-checkout .portal-form .checkout-columns { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 26px; padding: 22px; align-items: start; }
.compact-checkout .subscription-builder { gap: 20px; padding: 0 26px 0 0; margin: 0; border-bottom: 0; border-right: 1px solid #e7eeea; }
.compact-checkout .subscription-product-name { font-size: 16px; }
.compact-checkout .subscription-product-note { display: none; }
.compact-checkout .subscription-options legend { margin-bottom: 10px; }
.compact-checkout .subscription-choice .choice-content { min-height: 72px; padding: 13px; gap: 7px; }
.compact-checkout .subscription-choice input[type=radio] { top: 15px; }
.compact-checkout .region-choice .choice-content { min-height: 65px; padding: 12px 10px; gap: 5px; }
.compact-checkout .subscription-region-grid { gap: 8px; }
.compact-checkout .selection-help { margin-top: 8px !important; }
.compact-checkout .subscription-selection { padding: 12px 14px; }
.customer-details { min-width: 0; display: grid; gap: 14px; }
.checkout-section-title { font-size: 14px; color: #304c46; font-weight: 650; margin: 0; line-height: 24px; }
.customer-details .session-field textarea { height: 86px; min-height: 76px; }
.compact-checkout .customer-card-fields { padding: 12px 14px 14px; gap: 12px; margin: 0; }
.compact-checkout .customer-card-fields[hidden] { display: none !important; }
.compact-checkout .customer-card-fields small { color: #7d8e85; font-size: 10px; line-height: 1.6; }
.compact-checkout .customer-card-fields label > input { margin-top: 6px; }
.customer-payment-element { min-height: 48px; padding: 4px 0; transition: opacity .15s; }
.customer-payment-element.is-locked { opacity: .65; pointer-events: none; }
.sdk-status-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 10px; border-radius: 8px; background: #f3f9f6; border: 1px solid #dfece7; }
.sdk-status-note { margin: 0 !important; font-size: 11px !important; color: #365c53 !important; line-height: 1.5; }
.sdk-status-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.sdk-status-actions [hidden] { display: none !important; }
.customer-consents { display: grid; gap: 8px; }
.customer-consents .checkbox-row { margin: 0; line-height: 1.6; font-size: 11px; color: #667a70; }
.customer-submit .button { min-height: 42px; font-size: 12px; }
.customer-submit > p { font-size: 10px; color: #87958f; text-align: center; margin: 7px 0 0; }
.customer-submit .form-error:empty { display: none; }
.checkout-result > .panel-heading { padding: 14px 22px; }
.checkout-result > .panel-heading p { margin: 0; }
.checkout-result[data-result] { --result-color: #526174; --result-tint: #f5f7fa; --result-border: #dce3ed; border-color: var(--result-border); border-top: 3px solid var(--result-color); background: var(--result-tint); }
.checkout-result[data-result="success"] { --result-color: #15803d; --result-tint: #f0fdf4; --result-border: #bbf7d0; }
.checkout-result[data-result="failure"] { --result-color: #b91c1c; --result-tint: #fef2f2; --result-border: #fecaca; }
.checkout-result[data-result="warning"] { --result-color: #92400e; --result-tint: #fffbeb; --result-border: #fde68a; }
.checkout-result[data-result="processing"] { --result-color: #1d4ed8; --result-tint: #eff6ff; --result-border: #bfdbfe; }
.checkout-result[data-result] > .panel-heading h2,
.checkout-result[data-result] #customer-result { color: var(--result-color); }
.checkout-result[data-result] #customer-result { font-weight: 600; }
.checkout-result[data-result] .badge { color: var(--result-color); background: var(--result-tint); border: 1px solid var(--result-border); }
.checkout-result[data-result] .badge i { background: currentColor; }
.compact-checkout .customer-result-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; padding: 0 22px 18px; }
.customer-result-body #customer-result { margin: 0 0 10px; font-size: 12px; }
.customer-result-body .mono { font-size: 11px; }
.customer-result-body .result-account, .customer-result-body .result-cost { font-size: 11px; color: #7c8e84; margin: 6px 0 0; }
.customer-result-body .customer-proofs { gap: 24px; }
.customer-result-body .customer-proofs span { gap: 5px; font-size: 11px; }
.customer-result-body .customer-proofs strong { font-size: 13px; }
.compact-checkout .portal-footer { padding: 16px 30px; font-size: 10px; }
@media (max-width: 820px) {
  .compact-checkout .portal-form .checkout-columns { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .compact-checkout .subscription-builder { padding: 0 0 20px; border-right: 0; border-bottom: 1px solid #e7eeea; gap: 16px; }
  .compact-checkout .subscription-region-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .checkout-hero-note { display: none; }
}
@media (max-width: 540px) {
  .compact-checkout .portal-header { height: 60px; padding: 0 16px; }
  .compact-checkout .portal-header .brand { font-size: 16px; }
  .compact-checkout .portal-header > div { gap: 8px; }
  .compact-checkout .portal-main { padding: 8px 14px 18px; }
  .compact-checkout .portal-hero { margin-bottom: 14px; }
  .compact-checkout .portal-hero h1 { font-size: 22px; margin-bottom: 5px; }
  .compact-checkout .portal-hero p { font-size: 11px; max-width: none; }
  .compact-checkout .portal-announcement { padding: 10px 12px; font-size: 12px; align-items: flex-start; gap: 10px; }
  .announcement-icon { width: 28px; height: 28px; }
  .announcement-text { font-size: 12px !important; min-width: 0; }
  .announcement-open-btn { padding: 5px 9px !important; font-size: 11px !important; }
  .credential-strip { padding: 12px 14px; gap: 10px 14px; flex-wrap: wrap; margin-bottom: 14px; }
  .credential-strip:not(.is-verified) .credential-heading { display: flex; align-items: baseline; gap: 10px; width: 100%; }
  .credential-strip #customer-login { flex-basis: 100%; }
  .credential-strip #customer-login .button { padding: 0 14px; }
  .credential-strip.is-verified { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .credential-strip.is-verified .credential-heading { display: flex; align-items: baseline; gap: 10px; }
  .credential-strip #customer-balance { grid-row: 2; }
  .credential-strip #customer-logout { grid-column: 2; grid-row: 1 / 3; font-size: 10px; padding: 7px 8px; }
  .credential-strip .customer-balance { gap: 14px; }
  .credential-strip .customer-balance strong { font-size: 16px; }
  .compact-checkout .portal-form .panel-heading, .checkout-result > .panel-heading { padding: 13px 14px; }
  .checkout-heading-note { font-size: 10px; }
  .compact-checkout .portal-form .checkout-columns { padding: 16px 14px; }
  .compact-checkout .subscription-plan-grid { gap: 8px; }
  .compact-checkout .subscription-plan-grid[data-mode="upgrade"] .plan-choice { grid-column: 1 / -1; }
  .subscription-mode-tabs .mode-tab { padding: 9px 10px; }
  .subscription-mode-tabs .mode-tab strong { font-size: 12px; }
  .compact-checkout .subscription-choice .choice-content { min-height: 64px; padding: 11px; gap: 5px; }
  .compact-checkout .subscription-choice input[type=radio] { top: 13px; }
  .compact-checkout .subscription-region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compact-checkout .region-choice .choice-content { min-height: 58px; }
  .compact-checkout .customer-result-body { grid-template-columns: minmax(0, 1fr); padding: 0 14px 14px; gap: 14px; }
  .checkout-result > .panel-heading p { font-size: 10px; }
  .compact-checkout .portal-footer { padding: 12px 16px; }
}
.dashboard-section-label { display:flex; justify-content:space-between; gap:12px; margin-bottom:14px; font-size:12px; color:#647c8c; flex-wrap:wrap; }
.dashboard-stamp { font-size:11px; color:#8799a6; font-weight:400; }
.dashboard-live-label { display:inline-flex; align-items:center; gap:8px; color:#4b8578; font-size:12px; }
.dashboard-live-label i { width:7px; height:7px; border-radius:50%; background:#10a28c; box-shadow:0 0 0 4px #e2f4ef; }
.dashboard-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.dashboard-stats .stat-card { min-width:0; }
.dashboard-stats .stat-icon.red { color:#d65b66; background:#fff0f2; }
.dashboard-points { display:grid; grid-template-columns:repeat(3,1fr) 1.3fr; padding:22px 26px; margin:16px 0 26px; border:1px solid #dce9e6; border-radius:12px; background:linear-gradient(105deg,#eff8f5,#f9fcfb); gap:20px; }
.dashboard-points > div { display:flex; flex-direction:column; gap:8px; min-width:0; }
.dashboard-points span { font-size:12px; color:#65847c; }
.dashboard-points strong { font-size:24px; color:#17685d; font-weight:600; }
.dashboard-points small { font-size:11px; font-weight:400; color:#7f9393; }
.dashboard-ledger { border-left:1px solid #dce9e6; padding-left:24px; align-items:flex-start; }
.dashboard-live-grid { display:grid; grid-template-columns: minmax(210px,.8fr) minmax(0,2.2fr); gap:20px; margin-bottom:26px; align-items:start; }
.dashboard-live-grid .panel, .dashboard-trend-grid .panel { min-width:0; }
.dashboard-capacity-body { padding:24px; }
.dashboard-capacity-number { font-size:44px; line-height:1.2; color:#147e70; font-weight:600; }
.dashboard-capacity-number span { font-size:20px; color:#9aadb4; font-weight:400; }
.dashboard-capacity-body > p { font-size:12px; color:#7e929e; margin:10px 0 20px; }
.dashboard-meter { height:7px; border-radius:20px; background:#e9f0ef; overflow:hidden; }
.dashboard-meter i { display:block; height:100%; border-radius:20px; background:#159f8c; transition:width .25s ease; }
.dashboard-execution-counts { display:grid; grid-template-columns:1fr 1fr; padding:24px 0 4px; }
.dashboard-execution-counts > div { display:flex; flex-direction:column; gap:7px; }
.dashboard-execution-counts strong { font-size:23px; font-weight:550; color:#345c6d; }
.dashboard-execution-counts span { font-size:12px; color:#83959f; }
.dashboard-muted { color:#8b9aa5; font-size:11px!important; line-height:1.8; }
.dashboard-count { color:#8da2b0; font-size:13px; font-weight:400; margin-left:8px; }
.dashboard-filters { display:flex; flex-wrap:wrap; gap:7px; padding:16px 20px; border-bottom:1px solid #edf1f4; }
.dashboard-filter { display:flex; align-items:center; gap:7px; border:1px solid #e4ebef; color:#728697; background:#fff; border-radius:6px; padding:7px 10px; cursor:pointer; font-size:11px; }
.dashboard-filter b { color:#486477; font-weight:500; }
.dashboard-filter.active { background:#edf8f5; border-color:#97cabe; color:#078977; }
.dashboard-attention-row { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:18px; align-items:center; padding:15px 20px; border-bottom:1px solid #edf1f4; }
.dashboard-attention-row > div { display:flex; flex-direction:column; align-items:flex-start; gap:7px; min-width:0; }
.dashboard-attention-row strong { font-size:12px; color:#3a596d; }
.dashboard-attention-row strong small { font-size:10px; color:#91a3ae; margin-left:12px; font-weight:400; }
.dashboard-attention-row .mono { font-size:10px; color:#899ba8; overflow-wrap:anywhere; }
.dashboard-attention-reason small { font-size:10px; color:#96a5b0; }
.dashboard-attention .pagination { padding:14px 20px; }
.dashboard-trend-grid { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr); gap:20px; align-items:start; }
.dashboard-chart-body { padding:18px 22px; }
.dashboard-chart { width:100%; height:auto; display:block; margin:12px 0; overflow:visible; }
.dashboard-chart text { font-size:10px; fill:#8d9daa; }
.dashboard-chart-legend { display:flex; gap:20px; font-size:11px; color:#8294a1; }
.dashboard-chart-legend span { display:flex; align-items:center; gap:6px; }
.dashboard-chart-legend i { height:6px; width:14px; border-radius:4px; }
.dashboard-chart-data { color:#8597a3; font-size:11px; }
.dashboard-chart-data summary { cursor:pointer; padding:8px 0; }
.dashboard-chart-data .table-scroll { max-height:260px; overflow:auto; }
.dashboard-range { display:flex; padding:3px; border:1px solid #e5edf0; border-radius:7px; background:#f5f8fa; flex-shrink:0; }
.dashboard-range button { padding:6px 10px; border:0; background:none; color:#8797a4; font-size:11px; cursor:pointer; border-radius:5px; }
.dashboard-range button.active { color:#078675; background:white; box-shadow:0 1px 4px #193c4d12; }
.dashboard-plan-list { padding:22px; display:flex; flex-direction:column; gap:22px; }
.dashboard-plan-list > div > div:first-child { display:flex; justify-content:space-between; align-items:center; gap:10px; font-size:12px; margin-bottom:9px; color:#657d8f; }
.dashboard-plan-list strong { color:#466d71; font-weight:600; }
.dashboard-plan-list small { color:#93a4ad; font-size:10px; font-weight:400; }
.dashboard-footnote { font-size:11px; color:#91a1ad; line-height:1.9; padding:20px 2px 0; }
@media(max-width:1100px) {
  .dashboard-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .dashboard-trend-grid { grid-template-columns:minmax(0,1fr); }
  .dashboard-plan-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:700px) {
  .dashboard-live-grid { grid-template-columns:minmax(0,1fr); }
  .dashboard-points { grid-template-columns:repeat(2,minmax(0,1fr)); padding:18px; gap:20px; }
  .dashboard-ledger { padding:0; border:0; }
  .dashboard-stats { gap:10px; }
  .dashboard-stats .stat-card { padding:16px; }
  .dashboard-stats .stat-value { font-size:28px; }
  .dashboard-attention-row { grid-template-columns:minmax(0,1fr) auto; gap:10px; padding:14px; }
  .dashboard-attention-reason { grid-column:1; grid-row:2; flex-direction:row!important; align-items:center!important; flex-wrap:wrap; }
  .dashboard-attention-row > button { grid-column:2; grid-row:1 / span 2; }
  .dashboard-chart-body { padding:14px; }
  .dashboard-plan-list { padding:18px; }
  .dashboard-trend-grid .panel-heading { gap:10px; flex-wrap:wrap; }
}
.upgrade-sdk-page { max-width: 820px; margin: 32px auto; padding: 0 20px; }
.upgrade-sdk-page h1 { font-size: 24px; margin: 0; }
.upgrade-sdk-page [hidden] { display: none !important; }
.upgrade-sdk-page fieldset { display: block; width: 100%; min-width: 0; padding: 16px; margin: 8px 0; border: 1px solid var(--border); border-radius: 10px; }
