@charset "UTF-8";
.amount-input input {
  border: none !important;
}

.ab-info-wrap {
  position: relative;
  display: inline-flex;
  margin-left: 4px;
  vertical-align: middle;
  cursor: default;
}

.ab-info-icon {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #e6f1fb;
  color: #185fa5;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ab-info-tooltip {
  display: none;
  position: absolute;
  left: 20px;
  top: -4px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 400;
  z-index: 9999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  min-width: 200px;
  max-width: 300px;
  white-space: normal;
  line-height: 1.55;
}

.ab-info-wrap:hover .ab-info-tooltip {
  display: block;
}

.ab-char-count {
  font-size: 11px;
  color: #9ca3af;
  text-align: right;
  margin-top: 2px;
  transition: color 0.15s;
}

.ab-char-count.warn {
  color: #B45309;
  font-weight: 600;
}

.ab-char-count.error {
  color: #DC2626;
  font-weight: 700;
}

.ab-field-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3px;
  gap: 8px;
}

.ab-field-hint {
  font-size: 11px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ab-field-error {
  display: block;
  font-size: 12px;
  color: #DC2626;
  margin-top: 3px;
}

.ab-validation-banner {
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  margin-top: 1.1rem;
}

.ab-validation-banner-title {
  font-size: 14px;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ab-validation-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ab-validation-list li {
  font-size: 13px;
  color: #b91c1c;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ab-validation-list li::before {
  content: "•";
  font-weight: 700;
}

.step-card {
  margin-top: 0 !important;
}

.step-hint {
  font-size: 13px;
  color: #78716c;
  margin: 6px 0 0;
  line-height: 1.5;
}

.bank-summary-name {
  font-size: 16px;
  font-weight: 600;
  color: #2365D3;
}

.bank-summary-meta {
  font-size: 13px;
  color: #64748B;
  flex: 1;
}

.preferred-checkbox-label input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: #1D4ED8;
  cursor: pointer;
}

.input-error {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15) !important;
}

.step-card-header {
  border-bottom: 1px solid #F0EAF8;
  padding-bottom: 14px;
  margin-bottom: 4px;
}

.step-card-header.with-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.bank-summary-banner {
  background: #F0F4FF;
  border: 1px solid #C7D4F8;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.bank-summary-banner.spaced-top {
  margin-top: 14px;
}

.account-details-block {
  background: #FAFAFA;
  border: 1px solid #EEE;
  border-radius: 10px;
  padding: 20px;
}

.account-details-block.spaced-top {
  margin-top: 18px;
}

.preferred-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
}

.preferred-checkbox-label.spaced-top {
  margin-top: 16px;
}

.step-actions {
  padding-top: 8px;
}

.step-actions.spaced-top {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hard-reject-label {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hard-reject-label span {
  font-size: 12.5px;
  font-weight: 700;
  color: #B91C1C;
}

.hard-reject-label small {
  font-size: 10.5px;
  color: #9CA3AF;
  font-style: italic;
}

.load-tab:hover {
  color: #374151;
  background: #F9F5FF;
}

.load-tab.active.all-tab {
  color: #374151;
  border-bottom-color: #6B7280;
  background: #F3F4F6;
}

.all-badge {
  background: #F3F4F6;
  color: #374151;
}

.load-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #E0D5E8;
  margin-bottom: 0;
}

.load-tabs.heading-font {
  font-family: var(--HeadingFont) !important;
}

.load-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #6B7280;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
  border-radius: 8px 8px 0 0;
}

.load-tab.heading-font {
  font-family: var(--HeadingFont) !important;
}

.load-tab.heading-font-lg {
  font-family: var(--HeadingFont) !important;
  font-size: 15px;
}

.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 700;
}

.tab-badge.heading-font {
  font-family: var(--HeadingFont) !important;
}

.tab-badge.heading-font-lg {
  font-family: var(--HeadingFont) !important;
  font-size: 12px;
}

.load-tab.active.pending-tab {
  color: #1976D2;
  border-bottom-color: #1976D2;
  background: #eef5fb;
}

.load-tab.active.approved-tab {
  color: #92400E;
  border-bottom-color: #F59E0B;
  background: #FEF3C7;
}

.load-tab.active.completed-tab {
  color: #057A55;
  border-bottom-color: #057A55;
  background: #E6F9F0;
}

.load-tab.active.cancelled-tab {
  color: #B42318;
  border-bottom-color: #F04438;
  background: #FDECEA;
}

.cancelled-badge {
  background: #FDECEA;
  color: #B42318;
}

.pending-badge {
  background: #DBEAFE;
  color: #1D4ED8;
}

.approved-badge {
  background: #FEF3C7;
  color: #92400E;
}

.completed-badge {
  background: #D1FAE5;
  color: #065F46;
}

.rejected-badge {
  background: #FDECEA;
  color: #B42318;
}

.load-tab.active.rejected-tab {
  color: #B42318;
  border-bottom-color: #F04438;
  background: #FDECEA;
}

.sv-badge-payout {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.sv-badge-float-balance {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.sv-badge-reserve {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.sv-badge-fee-fixed {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.sv-badge-fee-percentage {
  background: #fdf4ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.threshold-page {
  padding: 8px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section-block {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 24px 28px;
  margin-top: 18px;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.eyebrow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  height: 24px;
  background: #1976D2;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.eyebrow-label {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.search-section {
  background: #F0F7FF;
  border-color: #BFDBFE;
}

.search-row {
  display: flex;
  gap: 14px;
  align-items: center;
}

.search-input-wrap {
  flex: 1;
}

.load-btn {
  white-space: nowrap;
  height: 46px;
  min-width: 150px;
}

.corporate-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1E3A5F 0%, #1976D2 100%);
  border-radius: 14px;
  padding: 16px 24px;
  margin-top: 18px;
  gap: 12px;
  flex-wrap: wrap;
}

.corporate-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.corporate-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.corporate-name {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.corporate-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  margin-top: 2px;
}

.form-section {
  background: #FFFBF0;
  border-color: #FDE68A;
  border-left: 4px solid #F59E0B;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.field-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 7px;
}

.period-toggle {
  display: flex;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  overflow: hidden;
  height: 42px;
}

.period-btn {
  flex: 1;
  border: none;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.15s;
  border-right: 1px solid #D1D5DB;
}

.period-btn:last-child {
  border-right: none;
}

.period-btn.active {
  background: #1976D2;
  color: #fff;
  font-weight: 700;
}

.period-btn:not(.active):hover {
  background: #F3F4F6;
}

.amount-wrap {
  position: relative;
}

.currency-prefix {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  z-index: 1;
  pointer-events: none;
}

.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid #FDE68A;
  padding-top: 16px;
}

.corporate-results {
  border-color: #C7D7F7;
  border-left: 4px solid #1976D2;
}

.filter-section {
  background: #F9FAFB;
  border-color: #E5E7EB;
  padding: 16px 28px;
}

.all-records-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding: 0 4px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: #E5E7EB;
}

.divider-label {
  font-size: 11px;
  font-weight: 700;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  white-space: nowrap;
}

.all-results {
  background: #FAFAFA;
  border-color: #E5E7EB;
}

.results-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.results-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.results-corp-name {
  font-weight: 400;
  color: #6B7280;
}

.results-sub {
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 3px;
}

.filter-badge {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  align-self: flex-start;
}

.empty-state {
  text-align: center;
  padding: 48px 0;
  color: #9CA3AF;
}

.empty-title {
  font-size: 15px;
  font-weight: 600;
  color: #6B7280;
}

.empty-sub {
  font-size: 13px;
  margin-top: 5px;
}

.period-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 14px 16px 16px;
  background: #F9FAFB;
  border-top: 1px solid #E5E7EB;
}

.period-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 14px 16px;
}

.period-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.period-card-title {
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.period-card-amounts {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6B7280;
  margin-bottom: 4px;
}

.period-card-used {
  font-weight: 700;
  color: #111827;
  font-size: 15px;
}

.period-card-limit {
  font-size: 12px;
  color: #9CA3AF;
}

.period-card-remaining {
  font-size: 12px;
  color: #6B7280;
  margin-top: 6px;
}

.period-card-remaining strong {
  color: #111827;
}

.period-card-dates {
  font-size: 11px;
  color: #9CA3AF;
  margin-top: 6px;
  line-height: 1.4;
}

.period-card-na {
  text-align: center;
  padding: 18px 0;
  font-size: 12px;
  color: #D1D5DB;
}

.pc-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.pc-badge-ok {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #86EFAC;
}

.pc-badge-warn {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
}

.pc-badge-danger {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

.pc-badge-none {
  background: #F3F4F6;
  color: #9CA3AF;
  border: 1px solid #E5E7EB;
}

.corp-cell-name {
  font-weight: 600;
  font-size: 13px;
  color: #111827;
}

.corp-cell-email {
  font-size: 11px;
  color: #6B7280;
  margin-top: 2px;
}

.filter-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.filter-toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.tile-grid {
  position: relative;
}

.dash-tile {
  position: relative;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  user-select: none;
}

.dash-tile[draggable=true] {
  cursor: grab;
}

.dash-tile[draggable=true]:active {
  cursor: grabbing;
}

.dash-tile.dragging {
  opacity: 0.4;
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dash-tile.drag-over {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  outline: 2px dashed #3B82F6;
  outline-offset: 2px;
}

.drag-handle {
  position: absolute;
  top: 8px;
  right: 10px;
  opacity: 0;
  color: #9ca3af;
  transition: opacity 0.15s ease;
  pointer-events: none;
  z-index: 2;
}

.dash-tile:hover .drag-handle {
  opacity: 1;
}

.asr-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1d4ed8, #6366f1);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.asr-date-chip {
  display: inline-flex;
  align-items: center;
  background: #f0f4ff;
  border: 1px solid #c5d0ff;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  color: #374151;
  flex-wrap: wrap;
  gap: 2px;
}

.ab-input-error {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15) !important;
}

.ab-phone-field {
  position: relative;
  width: 100%;
  margin-top: 3px;
}

.ab-phone-control {
  width: 100%;
  height: 56px !important;
  box-sizing: border-box;
}

.iti {
  width: 100%;
}

.iti__flag-container {
  border-top-left-radius: 20px !important;
  border-bottom-left-radius: 20px !important;
}

.iti input {
  padding-left: 75px !important;
}

input#bankPhoneInput {
  padding-left: 90px !important;
}

.iti--separate-dial-code .iti__selected-flag {
  background-color: transparent;
  padding: 0 6px 0 8px;
}

.iti--separate-dial-code input {
  padding-left: 90px !important;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.step-node {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}

.step-node.active {
  background: #E3F2FD;
  color: #2365D3;
}

.step-node.done {
  background: #E8F5E9;
  color: #2E7D32;
}

.step-node.pending {
  background: #F5F5F5;
  color: #9E9E9E;
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.step-node.active .step-num {
  background: #2365D3;
  color: #fff;
}

.step-node.done .step-num {
  background: #2E7D32;
  color: #fff;
}

.step-node.pending .step-num {
  background: #BDBDBD;
  color: #fff;
}

.step-arrow {
  color: #BDBDBD;
  font-size: 16px;
}

.bank-summary-edit-btn {
  background: transparent;
  border: 1px solid #93C5FD;
  color: #2365D3;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  cursor: pointer;
}

.bank-summary-edit-btn:hover {
  background: #DBEAFE;
}

.method-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.method-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  color: #475569;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.method-pill:hover {
  border-color: #93C5FD;
  background: #EFF6FF;
  color: #1D4ED8;
}

.method-pill--selected {
  border-color: #2365D3 !important;
  background: #EFF6FF !important;
  color: #2365D3 !important;
}

.method-pill-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.method-pill--selected .method-pill-check {
  background: #1D4ED8;
  border-color: #1D4ED8;
  color: #fff;
}

.selected-methods-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 14px;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-radius: 8px;
}

.summary-label {
  font-size: 12px;
  font-weight: 600;
  color: #0369A1;
  margin-right: 4px;
}

.summary-badge {
  font-size: 12px;
  background: #E0F2FE;
  color: #0369A1;
  border: 1px solid #7DD3FC;
  border-radius: 20px;
  padding: 3px 10px;
  font-weight: 500;
}

.field-error-msg {
  display: block;
  color: #DC2626;
  margin-top: 4px;
  font-size: 12px;
}

.validation-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 8px;
  padding: 10px 16px;
  color: #B91C1C;
  font-size: 13px;
  font-weight: 500;
}

.validation-icon {
  font-size: 16px;
  flex-shrink: 0;
}

span.rz-cell-data.rz-text-truncate {
  min-height: 100px;
}

.cam-doc-filename {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  background: #F3F4F6;
  border: 1px solid #E0D5E8;
  border-radius: 7px;
  padding: 5px 9px;
  margin: 6px 0 8px;
  max-width: 100%;
  overflow: hidden;
}

.cam-kyc-chip.kyc-submitted {
  background: #E8F0FE;
  color: #1D4ED8;
  border: 1px solid #1D4ED8;
  border-radius: 16px;
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 600;
}

.cam-kyc-chip.kyc-pending_info {
  background: #FDF4FF;
  color: #7C3AED;
  border: 1px solid #C084FC;
  border-radius: 16px;
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 600;
}

.cam-doc-filename span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.load-tab.active.active-tab {
  color: #057A55;
  border-bottom-color: #057A55;
  background: #E6F9F0;
}

.load-tab.active.inactive-tab {
  color: #B42318;
  border-bottom-color: #F04438;
  background: #FDECEA;
}

.active-badge {
  background: #D1FAE5;
  color: #065F46;
}

.inactive-badge {
  background: #FDECEA;
  color: #B42318;
}

.acc-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-family: var(--HeadingFont) !important;
}

.status-active {
  background: #D1FAE5;
  color: #057A55;
  border: 1px solid #6EE7B7;
}

.status-frozen {
  background: #FDECEA;
  color: #B42318;
  border: 1px solid #FCA5A5;
}

.cam-stat-dot.red {
  background: #ef4444;
}

.corp-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.corp-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #EEEDFE;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  font-family: var(--HeadingFont) !important;
}

.corp-field-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
}

.corp-field-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #6B7280;
  min-width: 52px;
  font-family: var(--HeadingFont) !important;
}

.corp-name {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  font-family: var(--HeadingFont) !important;
}

.corp-person {
  font-size: 14px;
  color: #111827;
  font-family: var(--HeadingFont) !important;
}

.corp-email {
  font-size: 14px;
  color: #111827;
  font-family: var(--HeadingFont) !important;
}

.acc-panel {
  background: #FAFAF9;
  border-top: 1px solid #E0D5E8;
  padding: 0;
}

.acc-info-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 14px 20px 12px;
  border-bottom: 1px dashed #E0D5E8;
}

.acc-info-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 28px 0 0;
  min-width: 140px;
}

.acc-info-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9CA3AF;
  font-family: var(--HeadingFont) !important;
}

.acc-info-value {
  font-size: 13px;
  color: #111827;
  font-weight: 500;
  font-family: var(--HeadingFont) !important;
}

.acc-info-value.muted {
  color: #6B7280;
  font-weight: 400;
}

.acc-role-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-family: var(--HeadingFont) !important;
}

.acc-role-admin {
  background: #EEEDFE;
  color: #1a73e8;
}

.acc-role-member {
  background: #D1FAE5;
  color: #065F46;
}

.acc-role-viewer {
  background: #E6F1FB;
  color: #0C447C;
}

.acc-role-default {
  background: #F3F4F6;
  color: #374151;
}

.acc-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 20px 14px;
}

.acc-action-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #9CA3AF;
  margin-right: 4px;
  font-family: var(--HeadingFont) !important;
}

.fee-subtabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.fee-stab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1px solid #E0D5E8;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  color: #6B7280;
  transition: all 0.15s;
  font-family: var(--HeadingFont) !important;
}

.fee-stab:hover {
  border-color: #1a73e8;
  color: #1a73e8;
  background: #eaf3ff;
}

.fee-stab.active {
  background: #eaf3ff;
  border-color: #1a73e8;
  color: #1a73e8;
}

.pf-method-list {
  display: flex;
  flex-direction: column;
  border: 1px solid #E0D5E8;
  border-radius: 14px;
  overflow: hidden;
}

.pf-mcard {
  border-bottom: 1px solid #E0D5E8;
  background: #fff;
  transition: background 0.15s;
}

.pf-mcard:last-child {
  border-bottom: none;
}

.pf-mcard-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  user-select: none;
}

.pf-mcard-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eaf3ff;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.pf-mcard.pf-disabled .pf-mcard-icon {
  background: #F3F4F6;
  color: #9CA3AF;
}

.pf-mcard-name {
  font-size: 14px;
  color: #111827;
  flex: 1;
  font-family: var(--HeadingFont) !important;
}

.pf-mcard.pf-disabled .pf-mcard-name {
  color: #9CA3AF;
}

.pf-mcard-chevron-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  color: #9CA3AF;
  transition: background 0.15s, transform 0.2s;
  flex-shrink: 0;
}

.pf-mcard-chevron-btn:hover {
  background: #F3F4F6;
}

.pf-mcard.pf-open .pf-mcard-chevron-btn {
  color: #1a73e8;
}

.pf-mcard.pf-open .pf-mcard-chevron-btn i {
  transform: rotate(180deg);
}

.pf-mcard-chevron-btn i {
  transition: transform 0.2s;
}

.pf-mcard-body {
  display: none;
  padding: 16px;
  border-top: 1px solid #E0D5E8;
  background: #FAFAF9;
}

.pf-mcard.pf-open .pf-mcard-body {
  display: block;
}

.fee-fields-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 700px) {
  .fee-fields-row {
    grid-template-columns: 1fr 1fr;
  }
}
.fee-field-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fee-field-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6B7280;
  font-family: var(--HeadingFont) !important;
}

.fee-field-input-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid #E0D5E8;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s;
}

.fee-field-input-wrap:focus-within {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(127, 119, 221, 0.1);
}

.fee-field-unit {
  font-size: 12px;
  font-weight: 700;
  color: #1a73e8;
  background: #EEEDFE;
  padding: 0 10px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--HeadingFont) !important;
}

.fee-field-unit.pre {
  border-right: 1px solid #EEEDFE;
}

.fee-field-unit.suf {
  border-left: 1px solid #EEEDFE;
}

.fee-field-input-wrap .rz-inputnumber,
.fee-field-input-wrap .rz-inputnumber-input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  height: 36px !important;
  text-align: right;
  font-size: 13px;
  width: 100%;
  background: transparent;
  font-family: var(--HeadingFont) !important;
}

.fee-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 14px;
  font-family: var(--HeadingFont) !important;
}

.pf-disabled-note {
  font-size: 12px;
  color: #9CA3AF;
  padding: 10px 16px 12px;
  font-style: italic;
  font-family: var(--HeadingFont) !important;
}

.lt-summary-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.lt-summary-chip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid #E0D5E8;
  border-radius: 12px;
  padding: 12px 20px;
  min-width: 130px;
  flex: 1;
}

.lt-chip-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9CA3AF;
  font-family: var(--HeadingFont) !important;
}

.lt-chip-value {
  font-size: 20px;
  color: #111827;
  font-family: var(--HeadingFont) !important;
}

.lt-chip-value.green {
  color: #057A55;
}

.lt-chip-value.amber {
  color: #B45309;
}

.lt-chip-value.blue {
  color: #1a73e8;
}

.lt-threshold-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6B7280;
  margin-bottom: 12px;
  font-family: var(--HeadingFont) !important;
}

.lt-threshold-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .lt-threshold-grid {
    grid-template-columns: 1fr;
  }
}
.lt-threshold-card {
  background: #fff;
  border: 1px solid #E0D5E8;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lt-tc-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lt-tc-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.lt-tc-icon.daily {
  background: #EFF6FF;
  color: #1a73e8;
}

.lt-tc-icon.weekly {
  background: #FFFBEB;
  color: #B45309;
}

.lt-tc-icon.monthly {
  background: #F0FDF4;
  color: #057A55;
}

.lt-tc-period {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  font-family: var(--HeadingFont) !important;
  flex: 1;
}

.lt-tc-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lt-tc-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lt-tc-field-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #9CA3AF;
  font-family: var(--HeadingFont) !important;
}

.lt-progress-wrap {
  height: 6px;
  border-radius: 3px;
  background: #F3F4F6;
  overflow: hidden;
  margin-top: 2px;
}

.lt-progress-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease;
}

.lt-progress-bar.daily {
  background: #1a73e8;
}

.lt-progress-bar.weekly {
  background: #F59E0B;
}

.lt-progress-bar.monthly {
  background: #10B981;
}

.lt-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #9CA3AF;
  margin-top: 2px;
  font-family: var(--HeadingFont) !important;
}

.lt-history-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6B7280;
  margin: 20px 0 12px;
  font-family: var(--HeadingFont) !important;
}

.lt-load-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-family: var(--HeadingFont) !important;
}

.lt-load-table thead th {
  text-align: left;
  padding: 8px 12px;
  background: #F9FAFB;
  color: #6B7280;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 1px solid #E0D5E8;
}

.lt-load-table tbody tr {
  border-bottom: 1px solid #F3F4F6;
}

.lt-load-table tbody tr:last-child {
  border-bottom: none;
}

.lt-load-table tbody td {
  padding: 10px 12px;
  color: #111827;
  vertical-align: middle;
}

.lt-method-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 13px;
  background: #EFF6FF;
  color: #1a73e8;
  font-family: var(--HeadingFont) !important;
}

.lt-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 13px;
  font-family: var(--HeadingFont) !important;
}

.lt-status-pill.completed {
  background: #D1FAE5;
  color: #057A55;
}

.lt-status-pill.pending {
  background: #FEF9C3;
  color: #854D0E;
}

.lt-status-pill.failed {
  background: #FDECEA;
  color: #B42318;
}

.lt-amount {
  font-size: 14px;
}

.lt-amount-fee-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lt-amount.send {
  color: #057A55;
}

.lt-fee-sub {
  font-size: 13px;
  color: #9CA3AF;
  font-family: var(--HeadingFont) !important;
}

.lt-method-pill.lt-method-send {
  background: #ECFDF5;
  color: #057A55;
}

.lt-recipient-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lt-recipient-name {
  font-size: 14px;
  color: #111827;
  font-family: var(--HeadingFont) !important;
}

.lt-recipient-sub {
  font-size: 13px;
  color: #9CA3AF;
  font-family: var(--HeadingFont) !important;
}

.lt-tc-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.tc-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: 1px solid #E0D5E8;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: #6B7280;
  font-family: var(--HeadingFont) !important;
  transition: all 0.15s;
}

.tc-edit-btn:hover {
  border-color: #1a73e8;
  color: #1a73e8;
  background: #EFF6FF;
}

.tc-edit-btn i {
  font-size: 14px;
}

.tc-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: 1px solid #10B981;
  border-radius: 7px;
  background: #D1FAE5;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: #057A55;
  font-family: var(--HeadingFont) !important;
  transition: all 0.15s;
}

.tc-save-btn:hover {
  background: #A7F3D0;
}

.tc-save-btn i {
  font-size: 14px;
}

.tc-cancel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #FCA5A5;
  border-radius: 7px;
  background: #FDECEA;
  cursor: pointer;
  color: #B42318;
  transition: all 0.15s;
}

.tc-cancel-btn:hover {
  background: #FCA5A5;
}

.tc-cancel-btn i {
  font-size: 14px;
}

.tc-readonly-value {
  display: flex;
  align-items: baseline;
  gap: 3px;
  padding: 8px 12px;
  background: #F9FAFB;
  border: 1px solid #E0D5E8;
  border-radius: 8px;
  min-height: 38px;
}

.tc-currency {
  font-size: 13px;
  font-weight: 700;
  color: #1a73e8;
  font-family: var(--HeadingFont) !important;
}

.tc-amount {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  font-family: var(--HeadingFont) !important;
}

.lt-threshold-card.tc-editing {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.perm-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 14px;
  padding-top: 22px;
  border-top: 1px solid #E0D5E8;
}

.perm-section-sub {
  font-size: 13px;
  color: #9CA3AF;
  margin-top: 2px;
  font-family: var(--HeadingFont) !important;
}

.perm-select-all-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.perm-select-all-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  font-family: var(--HeadingFont) !important;
}

.perm-master-check {
  width: 16px;
  height: 16px;
  accent-color: #1a73e8;
  cursor: pointer;
}

.perm-count-badge {
  font-size: 12px;
  font-weight: 600;
  color: #6B7280;
  background: #F3F4F6;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: var(--HeadingFont) !important;
}

.perm-table-wrap {
  border: 1px solid #E0D5E8;
  border-radius: 12px;
  overflow: hidden;
}

.perm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-family: var(--HeadingFont) !important;
}

.perm-table thead tr {
  background: #f0f4ff;
  border-bottom: 2px solid #d2deed;
}

.perm-th-check {
  width: 40px;
  padding: 11px 8px 11px 16px;
}

.perm-th-module {
  text-align: left;
  padding: 11px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6B7280;
}

.perm-th-action {
  width: 110px;
  text-align: center;
  padding: 8px 8px;
}

.perm-col-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 0;
}

.perm-col-head.create {
  color: #1a73e8;
}

.perm-col-head.update {
  color: #B45309;
}

.perm-col-head.delete {
  color: #B42318;
}

.perm-col-head.view {
  color: #6B7280;
}

.perm-row {
  border-bottom: 1px solid #F3F4F6;
  transition: background 0.12s;
}

.perm-row:last-child {
  border-bottom: none;
}

.perm-row:hover {
  background: #FAFAF9;
}

.perm-row.perm-row-checked {
  background: #f0f4ff;
}

.perm-td-check {
  padding: 12px 8px 12px 16px;
  vertical-align: middle;
}

.perm-row-check {
  width: 16px;
  height: 16px;
  accent-color: #1a73e8;
  cursor: pointer;
}

.perm-td-module {
  padding: 12px 12px;
  vertical-align: middle;
}

.perm-module-name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  font-family: var(--HeadingFont) !important;
}

.perm-module-desc {
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 2px;
  font-family: var(--HeadingFont) !important;
}

.perm-module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}

.perm-tag {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 500;
  background: #f0f4ff;
  color: #1a73e8;
  font-family: var(--HeadingFont) !important;
}

.perm-td-action {
  text-align: center;
  padding: 12px 8px;
  vertical-align: middle;
}

.perm-granted-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: #D1FAE5;
  color: #057A55;
  white-space: nowrap;
  font-family: var(--HeadingFont) !important;
}

.perm-denied-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: #F3F4F6;
  color: #9CA3AF;
  white-space: nowrap;
  font-family: var(--HeadingFont) !important;
}

.perm-footer-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #9CA3AF;
  margin-top: 10px;
  font-family: var(--HeadingFont) !important;
}

.perm-footer-note strong {
  color: #374151;
}

.cam-modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}

.cam-modal-inner {
  pointer-events: all;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18), 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 92vw;
  max-width: 1300px;
  height: 90vh;
  max-height: 90vh;
}

.cam-modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px 18px;
  border-bottom: 1px solid #E0D5E8;
  flex-shrink: 0;
}

.cam-tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #E0D5E8;
  padding: 0 28px;
  flex-shrink: 0;
  overflow-x: auto;
}

.cam-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
}

.cam-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 28px;
  border-top: 1px solid #E0D5E8;
  flex-shrink: 0;
  background: #FAFAFA;
}

.cam-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 30, 0.45);
  z-index: 1049;
  backdrop-filter: blur(3px);
}

.cam-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .cam-modal-inner {
    width: 98vw;
    height: 96vh;
    max-height: 96vh;
    border-radius: 14px;
  }
  .cam-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .cam-form-grid {
    grid-template-columns: 1fr;
  }
  .cam-modal-body {
    padding: 16px;
  }
  .cam-modal-header,
  .cam-tab-bar,
  .cam-modal-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
}
.pf-approval-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 14px;
  border-bottom: 1px dashed #E0D5E8;
  margin-bottom: 14px;
}

.pf-approval-label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6B7280;
  flex: 1;
  font-family: var(--HeadingFont) !important;
}

.pf-approval-pills {
  display: flex;
  border: 1px solid #E0D5E8;
  border-radius: 8px;
  overflow: hidden;
}

.pf-approval-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: #6B7280;
  font-family: var(--HeadingFont) !important;
  transition: all 0.15s;
  border-right: 1px solid #E0D5E8;
}

.pf-approval-pill:last-child {
  border-right: none;
}

.pf-approval-pill.active-auto {
  background: #D1FAE5;
  color: #057A55;
}

.pf-approval-pill.active-manual {
  background: #FEF9C3;
  color: #854D0E;
}

.pf-approval-pill i {
  font-size: 15px;
}

.pf-approval-desc {
  font-size: 13px;
  color: #9CA3AF;
  margin-top: 2px;
  font-family: var(--HeadingFont) !important;
}

.ap-page {
  font-family: var(--HeadingFont) !important;
}

.ap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.ap-page-title {
  font-size: 22px;
  font-weight: 600;
  color: #111827;
  font-family: var(--HeadingFont) !important;
}

.ap-page-sub {
  font-size: 13px;
  color: #6B7280;
  margin-top: 3px;
  font-family: var(--HeadingFont) !important;
}

.ap-card {
  border-radius: 16px;
  border: 1px solid #E0D5E8;
  background: #fff;
  padding: 28px 24px;
  margin-bottom: 28px;
}

.ap-section-title {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #9CA3AF;
  margin-bottom: 14px;
  font-family: var(--HeadingFont) !important;
}

.ap-select-all-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #F3F4F6;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  font-family: var(--HeadingFont) !important;
}

.ap-perm-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E0D5E8;
}

.ap-perm-table thead tr {
  background: #F9F5FF;
}

.ap-perm-table th {
  padding: 11px 16px;
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6B7280;
  border-bottom: 1px solid #E0D5E8;
  font-family: var(--HeadingFont) !important;
}

.ap-perm-table tbody tr {
  border-bottom: 1px solid #E0D5E8;
  transition: background 0.1s;
}

.ap-perm-table tbody tr:last-child {
  border-bottom: none;
}

.ap-perm-table tbody tr:hover {
  background: #FAFAF9;
}

.ap-perm-table td {
  padding: 12px 16px;
  vertical-align: middle;
}

.ap-module-name {
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  font-family: var(--HeadingFont) !important;
}

.ap-module-desc {
  font-size: 14px;
  color: #9CA3AF;
  margin-top: 2px;
  font-family: var(--HeadingFont) !important;
}

.ap-perm-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #374151;
  font-family: var(--HeadingFont) !important;
  cursor: pointer;
}

.ap-perm-na {
  color: #D1D5DB;
  font-size: 13px;
  font-family: var(--HeadingFont) !important;
}

.ap-perm-label-create {
  color: #085041;
  font-weight: 600;
}

.ap-perm-label-update {
  color: #0C447C;
  font-weight: 600;
}

.ap-perm-label-delete {
  color: #791F1F;
  font-weight: 600;
}

.ap-perm-label-view {
  color: #3C3489;
  font-weight: 600;
}

.ap-perm-header-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-family: var(--HeadingFont) !important;
}

.ap-footer {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #E0D5E8;
}

.ap-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #E1F5EE;
  border: 1px solid #A7DFC8;
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #085041;
  font-family: var(--HeadingFont) !important;
  animation: apFadeIn 0.3s ease;
}

@keyframes apFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.perm-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 10px;
  font-size: 12px;
  font-family: var(--HeadingFont) !important;
}

.perm-create {
  background: #E1F5EE;
  color: #085041;
}

.perm-update {
  background: #E6F1FB;
  color: #0C447C;
}

.perm-delete {
  background: #FCEBEB;
  color: #791F1F;
}

.perm-view {
  background: #EEEDFE;
  color: #3C3489;
}

.ap-history-card {
  border-radius: 16px;
  border: 1px solid #E0D5E8;
  background: #fff;
  padding: 28px 24px;
}

.ap-history-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ap-history-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F3F4F6;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 14px;
  color: #6B7280;
  font-family: var(--HeadingFont) !important;
}

.ap-date-main {
  font-size: 14px;
  color: #111827;
  font-family: var(--HeadingFont) !important;
}

.ap-date-sub {
  font-size: 12px;
  color: #9CA3AF;
  font-family: var(--HeadingFont) !important;
  margin-top: 2px;
}

.ap-module-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 10px;
  background: #EEEDFE;
  color: #3C3489;
  font-size: 12px;
  font-family: var(--HeadingFont) !important;
}

.ap-saved-by {
  font-size: 14px;
  color: #374151;
  font-family: var(--HeadingFont) !important;
}

.ap-saved-role {
  font-size: 12px;
  color: #9CA3AF;
  font-family: var(--HeadingFont) !important;
  margin-top: 2px;
}

.ap-removed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  margin-bottom: 8px;
  gap: 10px;
}

.ap-removed-key {
  font-size: 12px;
  color: #6B7280;
  font-family: monospace;
  background: #F3F4F6;
  padding: 1px 6px;
  border-radius: 4px;
}

.ap-add-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 760px;
}

.ap-field-hint {
  font-size: 11px;
  color: #9CA3AF;
  margin-top: 3px;
  font-family: var(--HeadingFont) !important;
}

.ap-view-auto {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #3C3489;
  background: #EEEDFE;
  border-radius: 6px;
  padding: 2px 7px;
  font-family: var(--HeadingFont) !important;
}

.pm-methods-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 0;
}

.pm-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 500;
  border: 1px solid #057A55;
  background: #E6F9F0;
  color: #057A55;
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.pm-pill span {
  font-size: 13px !important;
}

.pm-pill.disabled {
  border-color: #D1D5DB;
  background: #F9FAFB;
  color: #9CA3AF;
  text-decoration: line-through;
}

.pm-toggle-dot {
  width: 26px;
  height: 14px;
  border-radius: 999px;
  background: #057A55;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.pm-pill.disabled .pm-toggle-dot {
  background: #D1D5DB;
}

.pm-toggle-dot::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
  transition: left 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.pm-pill.disabled .pm-toggle-dot::after {
  left: 2px;
}

.info-banner {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  padding: 0;
  border-radius: 14px;
  background: #EAF4FC;
  border: 1px solid #EAF4FC;
  overflow: hidden;
}

.info-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 200px;
  padding: 16px 20px;
  border-right: 1px solid #C7D4F8;
}

.info-step:last-child {
  border-right: none;
}

.info-step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, #2E77F2, #59C7FA) !important;
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-step-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1E2A5E;
  margin-bottom: 3px;
}

.info-step-text span {
  font-size: 14px;
  color: #4B5A8A;
  line-height: 1.6;
}

.badge-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 14px;
  background: #FAFAFA;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  font-size: 12px;
  color: #6B7280;
}

.badge-sample {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  cursor: default;
  pointer-events: none;
}

.badge-sample.green {
  background: #E6F9F0;
  color: #057A55;
  border: 1px solid #057A55;
}

.badge-sample.grey {
  background: #F9FAFB;
  color: #9CA3AF;
  border: 1px solid #D1D5DB;
  text-decoration: line-through;
}

.badge-sample .dot {
  width: 22px;
  height: 12px;
  border-radius: 999px;
  position: relative;
  flex-shrink: 0;
}

.badge-sample.green .dot {
  background: #057A55;
}

.badge-sample.grey .dot {
  background: #D1D5DB;
}

.badge-sample .dot::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.badge-sample.green .dot::after {
  left: 12px;
}

.badge-sample.grey .dot::after {
  left: 2px;
}

.save-pulse {
  animation: pulse-border 1.5s ease-in-out infinite;
}

@keyframes pulse-border {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(5, 122, 85, 0.4);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(5, 122, 85, 0);
  }
}
.hint-box {
  background: #F8F9FF;
  border: 1px solid #E0D5E8;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  color: #6B7280;
  line-height: 1.7;
  margin-top: 10px;
}

.hint-box b {
  color: #374151;
}

.balance-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.bm-card {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 14px 18px;
}

.bm-label {
  font-size: 12px;
  color: #6B7280;
  font-weight: 500;
  margin-bottom: 6px;
}

.bm-value {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
}

.avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #EDE9FE;
  color: #6D28D9;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D1D5DB;
  display: inline-block;
}

.live-dot--active {
  background: #10B981;
  animation: live-pulse 1.8s ease-out infinite;
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
.delta {
  font-size: 11px;
  font-weight: 600;
}

.delta-up {
  color: #057A55;
}

.delta-down {
  color: #DC2626;
}

.load-tab.active.sandbox-tab {
  color: #1976D2;
  border-bottom-color: #1976D2;
  background: #EEF5FB;
}

.load-tab.active.production-tab {
  color: #057A55;
  border-bottom-color: #057A55;
  background: #E6F9F0;
}

.sandbox-badge {
  background: #DBEAFE;
  color: #1D4ED8;
}

.production-badge {
  background: #D1FAE5;
  color: #065F46;
}

.ci-page {
  padding: 0;
  margin-top: 20px;
}

.ci-info-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.ci-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #DBEAFE;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  margin-right: 14px;
  margin-top: 2px;
}

.ci-info-title {
  font-size: 14px;
  font-weight: 700;
  color: #1E40AF;
  font-family: var(--HeadingFont);
  margin-bottom: 4px;
}

.ci-info-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.ci-info-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #1E40AF;
  font-family: var(--HeadingFont);
}

.ci-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1a73e8;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-info-divider {
  width: 1px;
  height: 20px;
  background: #BFDBFE;
  margin: 0 12px;
  align-self: center;
}

.ci-card {
  background: #fff;
  border: 1px solid #E0D5E8;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}

.ci-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid #E0D5E8;
  background: #FAFAFA;
}

.ci-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #EFF6FF;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.ci-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  font-family: var(--HeadingFont);
}

.ci-card-sub {
  font-size: 14px;
  color: #9CA3AF;
  margin-top: 2px;
  font-family: var(--HeadingFont);
}

.ci-card-body {
  padding: 22px;
}

.ci-connect-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.ci-status-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ci-status-label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #9CA3AF;
  font-family: var(--HeadingFont);
}

.ci-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--HeadingFont);
}

.ci-status-connected {
  background: #D1FAE5;
  color: #057A55;
  border: 1px solid #6EE7B7;
}

.ci-status-disconnected {
  background: #FEE2E2;
  color: #B42318;
  border: 1px solid #FCA5A5;
}

.ci-status-idle {
  background: #F3F4F6;
  color: #6B7280;
  border: 1px solid #E5E7EB;
}

.ci-connect-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 10px;
  border: none;
  background: #1a73e8;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--HeadingFont);
  transition: background 0.15s;
}

.ci-connect-btn:hover {
  background: #1558b0;
}

.ci-connect-btn:disabled {
  background: #9CA3AF;
  cursor: not-allowed;
}

.ci-connect-btn.connecting {
  background: #F59E0B;
}

.ci-connect-btn.connected {
  background: #057A55;
  cursor: default;
}

.ci-connect-note {
  font-size: 14px;
  color: #9CA3AF;
  margin-top: 8px;
  font-family: var(--HeadingFont);
  display: flex;
  align-items: center;
  gap: 5px;
}

.ci-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-top: 16px;
  font-family: var(--HeadingFont);
}

.ci-alert-success {
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  color: #166534;
}

.ci-alert-error {
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
}

.ci-upload-zone {
  border: 2px dashed #BFDBFE;
  border-radius: 14px;
  background: #F8FBFF;
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.ci-upload-zone:hover {
  border-color: #1a73e8;
  background: #EFF6FF;
}

.ci-upload-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #DBEAFE;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 12px;
}

.ci-upload-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  font-family: var(--HeadingFont);
  margin-bottom: 4px;
}

.ci-upload-sub {
  font-size: 14px;
  color: #9CA3AF;
  font-family: var(--HeadingFont);
}

.ci-browse-link {
  color: #1a73e8;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.ci-browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 20px;
  border-radius: 8px;
  border: 1px solid #1a73e8;
  background: #EFF6FF;
  color: #1a73e8;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--HeadingFont);
  transition: all 0.15s;
}

.ci-browse-btn:hover {
  background: #1a73e8;
  color: #fff;
}

.ci-file-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.ci-file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 12px 16px;
}

.ci-file-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #EFF6FF;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.ci-file-info {
  flex: 1;
  min-width: 0;
}

.ci-file-name {
  font-size: 14px;
  color: #111827;
  font-family: var(--HeadingFont);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ci-file-size {
  font-size: 14px;
  color: #9CA3AF;
  font-family: var(--HeadingFont);
  margin-top: 2px;
}

.ci-progress-wrap {
  height: 5px;
  background: #E5E7EB;
  border-radius: 3px;
  margin-top: 6px;
  overflow: hidden;
}

.ci-progress-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease;
}

.ci-progress-uploading {
  background: #1a73e8;
}

.ci-progress-done {
  background: #10B981;
}

.ci-progress-error {
  background: #DC2626;
}

.ci-file-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ci-pct {
  font-size: 13px;
  font-weight: 700;
  font-family: var(--HeadingFont);
  min-width: 32px;
  text-align: right;
}

.ci-pct-uploading {
  color: #1a73e8;
}

.ci-pct-done {
  color: #10B981;
}

.ci-pct-error {
  color: #DC2626;
}

.ci-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 7px;
  border: 1px solid #1a73e8;
  background: #EFF6FF;
  color: #1a73e8;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--HeadingFont);
  transition: all 0.15s;
  text-decoration: none;
}

.ci-download-btn:hover {
  background: #1a73e8;
  color: #fff;
}

.ci-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #FCA5A5;
  background: #FEE2E2;
  color: #B42318;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.15s;
}

.ci-remove-btn:hover {
  background: #B42318;
  color: #fff;
}

.ci-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(15, 10, 30, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
}

.ci-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  padding: 36px 32px;
  text-align: center;
  width: 380px;
  max-width: 95vw;
  animation: ci-pop 0.25s ease;
}

@keyframes ci-pop {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.ci-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #D1FAE5;
  color: #057A55;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 18px;
}

.ci-modal-icon.error {
  background: #FEE2E2;
  color: #B42318;
}

.ci-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  font-family: var(--HeadingFont);
  margin-bottom: 8px;
}

.ci-modal-sub {
  font-size: 14px;
  color: #6B7280;
  font-family: var(--HeadingFont);
  line-height: 1.5;
  margin-bottom: 24px;
}

.ci-modal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 28px;
  border-radius: 10px;
  border: none;
  background: #057A55;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--HeadingFont);
}

.ci-modal-btn.error {
  background: #B42318;
}

.ci-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.ci-drag-over {
  border-color: #1a73e8;
  background: #EFF6FF;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.bi-tabs {
  display: flex;
  gap: 6px;
  background: #F3F4F6;
  border-radius: 12px;
  padding: 5px;
  margin: 8px 0 22px;
  width: fit-content;
}

.bi-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: #6B7280;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--HeadingFont);
  transition: all 0.15s;
}

.bi-tab:hover {
  color: #111827;
}

.bi-tab.active {
  background: #fff;
  color: #1a73e8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.statement-view-dropdown .rz-dropdown {
  border: 2px solid #1d4ed8 !important;
  border-radius: 8px !important;
}

.statement-view-hint {
  margin-top: 2px;
}

.sv-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.coi-page {
  padding: 0;
}

.coi-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid #EEF0F2;
}

.coi-heading-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #EFF6FF;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.coi-heading-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.coi-heading-title {
  font-size: 22px;
  font-weight: 400;
  color: #111827;
  font-family: var(--HeadingFont);
  line-height: 1.25;
}

.coi-heading-subtitle {
  font-size: 14px;
  color: #6B7280;
  font-family: var(--HeadingFont);
  display: flex;
  align-items: center;
  gap: 8px;
}

.coi-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.coi-stat-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.coi-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  flex-shrink: 0;
}

.coi-stat-icon.green {
  background: #D1FAE5;
  color: #057A55;
}

.coi-stat-icon.blue {
  background: #EFF6FF;
  color: #1a73e8;
}

.coi-stat-icon.purple {
  background: #F3E8FF;
  color: #7E22CE;
}

.coi-stat-icon.amber {
  background: #FEF3C7;
  color: #92400E;
}

.coi-stat-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #9CA3AF;
  font-family: var(--HeadingFont);
  margin-bottom: 2px;
}

.coi-stat-value {
  font-size: 19px;
  font-weight: 700;
  color: #111827;
  font-family: var(--HeadingFont);
}

.coi-stat-sub {
  font-size: 12px;
  color: #9CA3AF;
  font-family: var(--HeadingFont);
  margin-top: 1px;
}

.coi-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}

.coi-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid #E5E7EB;
  background: #FAFAFA;
}

.coi-card-head-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.coi-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #EFF6FF;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.coi-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  font-family: var(--HeadingFont);
}

.coi-card-sub {
  font-size: 13px;
  color: #9CA3AF;
  margin-top: 1px;
  font-family: var(--HeadingFont);
}

.coi-card-body {
  padding: 22px;
}

.coi-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  background: #1a73e8;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--HeadingFont);
  transition: background 0.15s;
  white-space: nowrap;
}

.coi-btn:hover {
  background: #1558b0;
}

.coi-btn:disabled {
  background: #9CA3AF;
  cursor: not-allowed;
}

.coi-btn.busy {
  background: #F59E0B;
}

.coi-btn.success {
  background: #057A55;
}

.coi-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #1a73e8;
  background: #EFF6FF;
  color: #1a73e8;
  font-size: 13.5px;
  cursor: pointer;
  font-family: var(--HeadingFont);
  transition: all 0.15s;
  white-space: nowrap;
}

.coi-btn-outline:hover {
  background: #1a73e8;
  color: #fff;
}

.coi-btn-outline:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.coi-btn-outline-sm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #D1D5DB;
  background: #fff;
  color: #374151;
  font-size: 12.5px;
  cursor: pointer;
  font-family: var(--HeadingFont);
}

.coi-btn-outline-sm:hover {
  background: #F9FAFB;
}

.coi-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
  align-items: start;
}

@media (max-width: 900px) {
  .coi-two-col {
    grid-template-columns: 1fr;
  }
}
.coi-form-group {
  margin-bottom: 16px;
}

.coi-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  font-family: var(--HeadingFont);
  margin-bottom: 6px;
}

.coi-select,
.coi-input {
  width: 100%;
  border: 1px solid #D1D5DB;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--HeadingFont);
  color: #111827;
  background: #fff;
  box-sizing: border-box;
}

.coi-select:focus, .coi-input:focus {
  outline: none;
  border-color: #1a73e8;
}

.coi-secret-wrap {
  position: relative;
}

.coi-secret-wrap .coi-input {
  padding-right: 42px;
  font-family: "Courier New", monospace;
}

.coi-secret-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #9CA3AF;
  cursor: pointer;
  font-size: 18px;
  padding: 4px;
  display: flex;
}

.coi-secret-toggle:hover {
  color: #1a73e8;
}

.coi-config-saved-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #057A55;
  font-family: var(--HeadingFont);
  margin-top: 4px;
}

.coi-conn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #E5E7EB;
  font-family: var(--HeadingFont);
}

.coi-conn-row:last-of-type {
  border-bottom: none;
}

.coi-conn-label {
  font-size: 13px;
  color: #6B7280;
}

.coi-conn-value {
  font-size: 13.5px;
  font-weight: 600;
  color: #111827;
}

.coi-grid {
  font-family: var(--HeadingFont);
}

.coi-grid .rz-grid-table thead th {
  background: #F9FAFB;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #6B7280;
}

.coi-grid .rz-grid-table tbody td {
  font-size: 14px;
  color: #111827;
}

.coi-grid .rz-data-row:hover {
  background: #FAFAFA;
}

.coi-account-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.coi-account-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #F3E8FF;
  color: #7E22CE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.coi-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.coi-pill-active {
  background: #D1FAE5;
  color: #057A55;
}

.coi-pill-inactive {
  background: #F3F4F6;
  color: #6B7280;
}

.coi-pill-success {
  background: #D1FAE5;
  color: #057A55;
}

.coi-pill-failed {
  background: #FEE2E2;
  color: #B42318;
}

.coi-response-code {
  font-family: "Courier New", monospace;
  font-weight: 700;
  font-size: 13px;
}

.coi-response-code.ok {
  color: #057A55;
}

.coi-response-code.err {
  color: #B42318;
}

.coi-row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.coi-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid #E5E7EB;
  background: #fff;
  color: #6B7280;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.15s;
  flex-shrink: 0;
}

.coi-icon-btn:hover {
  border-color: #1a73e8;
  color: #1a73e8;
  background: #EFF6FF;
}

.coi-icon-btn.danger:hover {
  border-color: #B42318;
  color: #B42318;
  background: #FEE2E2;
}

.coi-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(15, 10, 30, 0.45);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  backdrop-filter: blur(3px);
  overflow-y: auto;
  padding: 40px 16px;
}

.coi-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  padding: 28px;
  width: 460px;
  max-width: 95vw;
}

.coi-modal-lg {
  width: 760px;
}

.coi-wh-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #E5E7EB;
  margin-bottom: 18px;
  overflow-x: auto;
}

.coi-wh-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: none;
  background: transparent;
  color: #6B7280;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--HeadingFont);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.coi-wh-tab:hover {
  color: #111827;
}

.coi-wh-tab.active {
  color: #1a73e8;
  border-bottom-color: #1a73e8;
}

.coi-wh-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #EFF6FF;
  color: #1a73e8;
  font-size: 11px;
  font-weight: 700;
}

.coi-wh-tab.active .coi-wh-tab-badge {
  background: #1a73e8;
  color: #fff;
}

.coi-modal-title {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  font-family: var(--HeadingFont);
  margin-bottom: 4px;
}

.coi-modal-sub {
  font-size: 13px;
  color: #9CA3AF;
  font-family: var(--HeadingFont);
  margin-bottom: 20px;
}

.coi-checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #374151;
  font-family: var(--HeadingFont);
}

.coi-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #EEF0F2;
}

.coi-btn-cancel {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid #D1D5DB;
  background: #fff;
  color: #374151;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--HeadingFont);
}

.coi-btn-cancel:hover {
  background: #F9FAFB;
}

.coi-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 14px;
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  font-family: var(--HeadingFont);
}

.coi-toast {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 14px;
  background: #D1FAE5;
  border: 1px solid #6EE7B7;
  color: #065F46;
  font-family: var(--HeadingFont);
}

.coi-wh-section {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid #EEF0F2;
}

.coi-wh-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.coi-wh-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.coi-wh-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  font-family: var(--HeadingFont);
}

.coi-wh-section-desc {
  font-size: 12.5px;
  color: #9CA3AF;
  font-family: var(--HeadingFont);
  margin-bottom: 14px;
}

.coi-key-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 640px) {
  .coi-key-grid {
    grid-template-columns: 1fr;
  }
}
.coi-key-hint {
  font-size: 12px;
  color: #9CA3AF;
  font-family: var(--HeadingFont);
  line-height: 1.5;
  margin-bottom: 8px;
}

.coi-key-input-row {
  display: flex;
  gap: 6px;
}

.coi-key-input-row .coi-input {
  font-family: "Courier New", monospace;
  font-size: 12.5px;
}

.coi-header-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}

.coi-event-category {
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}

.coi-event-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #F9FAFB;
  cursor: pointer;
}

.coi-event-category-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #111827;
  font-family: var(--HeadingFont);
  font-weight: 600;
}

.coi-event-category-chevron {
  font-size: 20px;
  color: #9CA3AF;
  transition: transform 0.15s;
}

.coi-event-sub-list {
  padding: 10px 14px 12px 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 260px;
  overflow-y: auto;
}

.coi-event-sub-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #374151;
  font-family: var(--HeadingFont);
}

.coi-event-sub-item input[type=checkbox] {
  margin-top: 2px;
  flex-shrink: 0;
}

.coi-event-sub-name {
  display: block;
  font-weight: 600;
  color: #111827;
}

.coi-event-sub-desc {
  display: block;
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 1px;
}

.coi-entity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  font-size: 13.5px;
  color: #111827;
  font-family: var(--HeadingFont);
  font-weight: 600;
  margin-bottom: 8px;
}

.coi-scroll-body {
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 4px;
  margin-right: -4px;
}

@keyframes coi-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.crd-wrap {
  padding: 4px;
  font-family: inherit;
  min-width: 480px;
}

.crd-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0 18px;
  border-bottom: 1.5px solid #f2f4f7;
  margin-bottom: 18px;
}

.crd-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

.crd-header-info {
  flex: 1;
}

.crd-corp-name {
  font-size: 16px;
  font-weight: 800;
  color: #101828;
}

.crd-corp-email {
  font-size: 12px;
  color: #667085;
  margin-top: 2px;
}

.crd-status-wrap {
  flex-shrink: 0;
}

.crd-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.crd-badge.green {
  background: #dcfce7;
  color: #16a34a;
}

.crd-badge.red {
  background: #fee2e2;
  color: #b42318;
}

.crd-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

@media (max-width: 600px) {
  .crd-kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.crd-kpi {
  border-radius: 12px;
  padding: 12px;
  border: 1.5px solid;
}

.crd-kpi.blue {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.crd-kpi.green {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.crd-kpi.purple {
  background: #faf5ff;
  border-color: #ddd6fe;
}

.crd-kpi.orange {
  background: #fffbeb;
  border-color: #fde68a;
}

.crd-kpi-label {
  font-size: 10px;
  font-weight: 700;
  color: #667085;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.crd-kpi-value {
  font-size: 18px;
  font-weight: 800;
  color: #101828;
  margin: 4px 0 2px;
}

.crd-kpi-sub {
  font-size: 10px;
  color: #98a2b3;
}

.crd-section {
  background: #f9fafb;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  border: 1.5px solid #f2f4f7;
}

.crd-section-title {
  font-size: 11px;
  font-weight: 800;
  color: #667085;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.crd-bar-track {
  height: 10px;
  background: #e5e7eb;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 6px;
}

.crd-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #16a34a, #4ade80);
  border-radius: 5px;
  transition: width 0.8s ease;
  min-width: 4px;
}

.crd-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #9ca3af;
}

.crd-fee-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.crd-fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 4px;
  font-size: 13px;
  color: #374151;
  border-bottom: 1px solid #f2f4f7;
}

.crd-fee-row:last-child {
  border-bottom: none;
}

.crd-fee-row.total-row {
  padding-top: 12px;
}

.crd-fee-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.crd-fee-right {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.crd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.blue-dot {
  background: #3b82f6;
}

.green-dot {
  background: #16a34a;
}

.orange-dot {
  background: #f59e0b;
}

.purple-dot {
  background: #8b5cf6;
}

.crd-pct {
  font-size: 11px;
  font-weight: 500;
  color: #9ca3af;
}

.crd-fee-divider {
  height: 1.5px;
  background: #e5e7eb;
  margin: 4px 0;
}

.crd-period-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #667085;
  background: #f0f4ff;
  border: 1px solid #c5d0ff;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 18px;
}

.crd-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.crd-btn-secondary {
  padding: 9px 18px;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: background 0.2s;
}

.crd-btn-secondary:hover {
  background: #f3f4f6;
}

.crd-btn-primary {
  padding: 9px 20px;
  background: #1d4ed8;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.crd-btn-primary:hover {
  background: #1e40af;
}

.red-placeholder .rz-dropdown-label {
  color: red !important;
}

.dashboard-page {
  padding-bottom: 2rem;
}

.page-header {
  margin-bottom: 0.25rem;
}

.page-title {
  padding: 0.5rem 0;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.5rem 0;
}

.section-divider-line {
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.section-divider-label {
  font-size: 11px;
  font-weight: 700;
  color: #98a2b3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.corp-section-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  transition: background 0.2s;
  user-select: none;
}

.corp-section-toggle:hover {
  background: #f1f5f9;
}

.corp-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #1d4ed8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.corp-toggle-chevron {
  margin-left: auto;
  transition: transform 0.25s;
  color: #667085;
}

.corp-toggle-chevron.open {
  transform: rotate(180deg);
}

.ds-info-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 5px;
  vertical-align: middle;
}

.ds-info-tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #EFF6FF;
  color: #1a73e8;
  font-size: 11px;
  cursor: help;
  transition: background 0.15s, color 0.15s;
}

.ds-info-tooltip:hover .ds-info-tooltip-icon {
  background: #1a73e8;
  color: #fff;
}

.ds-info-tooltip-bubble {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-2px);
  width: 250px;
  background: #111827;
  color: #F9FAFB;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 9999;
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--HeadingFont) !important;
}

.ds-info-tooltip-bubble::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}

.ds-info-tooltip-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #111827;
}

.ds-info-tooltip:hover .ds-info-tooltip-bubble {
  opacity: 1;
  visibility: visible;
}

.ds-page {
  border-radius: 19px;
  border: 1px solid #E0D5E8;
  padding: 28px 24px;
  box-shadow: none;
  margin-top: 20px;
  background: #fff;
}

.ds-page-title {
  font-size: 20px;
  color: #111827;
  font-family: var(--HeadingFont) !important;
}

.ds-page-sub {
  font-size: 14px;
  color: #9CA3AF;
  margin-top: 3px;
  font-family: var(--HeadingFont) !important;
}

.ds-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}

.ds-nav {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #FAFAFA;
  border: 1px solid #E0D5E8;
  border-radius: 14px;
  padding: 10px;
}

.ds-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 9px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #6B7280;
  text-align: left;
  transition: all 0.15s;
  font-family: var(--HeadingFont) !important;
}

.ds-nav-item i {
  font-size: 18px;
  flex-shrink: 0;
}

.ds-nav-item:hover {
  background: #eff6ff;
  color: #1a73e8;
}

.ds-nav-item.active {
  background: #eff6ff;
  color: #1a73e8;
}

.ds-nav-item.active i {
  color: #1a73e8;
}

.ds-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ds-section {
  background: #fff;
  border: 1px solid #E0D5E8;
  border-radius: 16px;
  overflow: visible;
}

.ds-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid #E0D5E8;
  background: #FAFAFA;
}

.ds-section-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.ds-section-icon.purple {
  background: #EFF6FF;
  color: #1a73e8;
}

.ds-section-icon.blue {
  background: #EFF6FF;
  color: #1a73e8;
}

.ds-section-icon.green {
  background: #ECFDF5;
  color: #057A55;
}

.ds-section-icon.amber {
  background: #FFFBEB;
  color: #B45309;
}

.ds-section-icon.teal {
  background: #F0FDFA;
  color: #0F766E;
}

.ds-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  font-family: var(--HeadingFont) !important;
}

.ds-section-desc {
  font-size: 14px;
  color: #9CA3AF;
  margin-top: 2px;
  font-family: var(--HeadingFont) !important;
}

.ds-section-body {
  padding: 22px;
}

.ds-fields-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ds-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ds-field label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6B7280;
  font-family: var(--HeadingFont) !important;
}

.ds-threshold-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ds-threshold-card {
  border: 1px solid #E0D5E8;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
}

.ds-tc-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ds-tc-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ds-tc-icon.daily {
  background: #EFF6FF;
  color: #1a73e8;
}

.ds-tc-icon.weekly {
  background: #FFFBEB;
  color: #B45309;
}

.ds-tc-icon.monthly {
  background: #F0FDF4;
  color: #057A55;
}

.ds-tc-period {
  font-size: 15px;
  color: #111827;
  font-family: var(--HeadingFont) !important;
}

.ds-tc-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #9CA3AF;
  font-family: var(--HeadingFont) !important;
}

.ds-method-list {
  display: flex;
  flex-direction: column;
  border: 1px solid #E0D5E8;
  border-radius: 14px;
  overflow: hidden;
}

.ds-mcard {
  border-bottom: 1px solid #E0D5E8;
  background: #fff;
}

.ds-mcard:last-child {
  border-bottom: none;
}

.ds-mcard-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  user-select: none;
}

.ds-mcard-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eaf3ff;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

.ds-mcard.ds-disabled .ds-mcard-icon {
  background: #F3F4F6;
  color: #9CA3AF;
}

.ds-mcard-name {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  flex: 1;
  font-family: var(--HeadingFont) !important;
}

.ds-mcard.ds-disabled .ds-mcard-name {
  color: #9CA3AF;
}

.ds-mcard-chevron-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  color: #9CA3AF;
  flex-shrink: 0;
  transition: background 0.15s;
}

.ds-mcard-chevron-btn:hover {
  background: #F3F4F6;
}

.ds-mcard-chevron-btn i {
  transition: transform 0.2s;
}

.ds-mcard.ds-open .ds-mcard-chevron-btn {
  color: #1a73e8;
}

.ds-mcard.ds-open .ds-mcard-chevron-btn i {
  transform: rotate(180deg);
}

.ds-mcard-body {
  display: none;
  padding: 16px;
  border-top: 1px solid #E0D5E8;
  background: #FAFAF9;
}

.ds-mcard.ds-open .ds-mcard-body {
  display: block;
}

.ds-fee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ds-fee-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ds-fee-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6B7280;
  font-family: var(--HeadingFont) !important;
}

.ds-fee-input-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid #E0D5E8;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s;
}

.ds-fee-input-wrap:focus-within {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.09);
}

.ds-fee-unit {
  font-size: 13px;
  font-weight: 700;
  color: #1a73e8;
  background: #eff6ff;
  padding: 0 10px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--HeadingFont) !important;
}

.ds-fee-unit.pre {
  border-right: 1px solid #ddd;
}

.ds-fee-unit.suf {
  border-left: 1px solid #ddd;
}

.ds-fee-input-wrap .rz-inputnumber,
.ds-fee-input-wrap .rz-inputnumber-input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  height: 36px !important;
  text-align: right;
  font-size: 13px;
  width: 100%;
  background: transparent;
  font-family: var(--HeadingFont) !important;
}

.ds-direction-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.ds-dtab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border: 1px solid #E0D5E8;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  color: #6B7280;
  transition: all 0.15s;
  font-family: var(--HeadingFont) !important;
}

.ds-dtab:hover {
  border-color: #1a73e8;
  color: #1a73e8;
  background: #eaf3ff;
}

.ds-dtab.active {
  background: #eaf3ff;
  border-color: #1a73e8;
  color: #1a73e8;
}

.ds-fee-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #9CA3AF;
  margin-top: 14px;
  font-family: var(--HeadingFont) !important;
}

.ds-save-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 22px;
  border-top: 1px solid #E0D5E8;
  background: #FAFAFA;
  border-radius: 0 0 16px 16px;
  margin-top: 4px;
}

.ds-delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.ds-delivery-card {
  border: 1px solid #E0D5E8;
  border-radius: 14px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ds-delivery-card:hover {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.07);
}

.ds-delivery-card.selected {
  border-color: #1a73e8;
  background: #F0F7FF;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.ds-delivery-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.ds-delivery-card-icon.same {
  background: #F0FDF4;
  color: #057A55;
}

.ds-delivery-card-icon.one {
  background: #EFF6FF;
  color: #1a73e8;
}

.ds-delivery-card-icon.two {
  background: #FFFBEB;
  color: #B45309;
}

.ds-delivery-card-icon.three {
  background: #FEF2F2;
  color: #B91C1C;
}

.ds-delivery-card-icon.custom {
  background: #F5F3FF;
  color: #7C3AED;
}

.ds-delivery-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  font-family: var(--HeadingFont) !important;
}

.ds-delivery-card-sub {
  font-size: 12px;
  color: #9CA3AF;
  font-family: var(--HeadingFont) !important;
}

.ds-delivery-card.selected .ds-delivery-card-title {
  color: #1a73e8;
}

.ds-delivery-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #D1D5DB;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: all 0.15s;
}

.ds-delivery-card.selected .ds-delivery-check {
  background: #1a73e8;
  border-color: #1a73e8;
  color: #fff;
}

.ds-spinner-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
}

.ds-spinner-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ds-spinner-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6B7280;
  font-family: var(--HeadingFont) !important;
}

.ds-spinner-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid #E0D5E8;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.ds-spinner-wrap:focus-within {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.09);
}

.ds-spinner-suffix {
  font-size: 12px;
  font-weight: 700;
  color: #1a73e8;
  background: #eff6ff;
  padding: 0 10px;
  display: flex;
  align-items: center;
  border-left: 1px solid #ddd;
  font-family: var(--HeadingFont) !important;
}

.ds-delivery-preview {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #F0F7FF;
  border: 1px solid #BFDBFE;
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 8px;
}

.ds-preview-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #DBEAFE;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.ds-preview-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a73e8;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-family: var(--HeadingFont) !important;
}

.ds-preview-msg {
  font-size: 14px;
  color: #1E40AF;
  margin-top: 4px;
  font-family: var(--HeadingFont) !important;
  line-height: 1.5;
}

.ds-preview-msg strong {
  color: #1a73e8;
}

@media (max-width: 900px) {
  .ds-layout {
    grid-template-columns: 1fr;
  }
  .ds-nav {
    flex-direction: row;
    flex-wrap: wrap;
    position: static;
  }
  .ds-fields-grid, .ds-threshold-grid, .ds-fee-grid, .ds-delivery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ds-spinner-row {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .ds-fields-grid, .ds-threshold-grid, .ds-fee-grid,
  .ds-delivery-grid, .ds-spinner-row {
    grid-template-columns: 1fr;
  }
}
.dt-filter-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dt-filter-label {
  font-size: 12px;
  color: #9ca3af;
  margin-right: 2px;
}

.dt-chip {
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #374151;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
}

.dt-chip:hover {
  background: #f3e8ff;
  border-color: #c4b5fd;
  color: #7c3aed;
}

.dt-chip-active {
  background: #7c3aed !important;
  border-color: #7c3aed !important;
  color: #fff !important;
  font-weight: 600;
}

.dt-account-badge {
  display: inline-block;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.dt-account-standard {
  background: #e0f2fe;
  color: #0369a1;
}

.dt-account-premium {
  background: #fef3c7;
  color: #b45309;
}

.dt-account-enterprise {
  background: #f3e8ff;
  color: #7c3aed;
}

.dt-account-corporate {
  background: #dcfce7;
  color: #15803d;
}

.dt-scope-pill {
  display: inline-block;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.dt-scope-current {
  background: #dcfce7;
  color: #15803d;
}

.dt-scope-new {
  background: #e0f2fe;
  color: #0369a1;
}

.dt-corporate-cell {
  line-height: 1.4;
}

.dt-corp-name {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  margin-top: 4px;
}

.dt-corp-meta {
  font-size: 11px;
  color: #9ca3af;
}

.dt-modal-corp-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: #166534;
  margin-bottom: 14px;
}

.draft-template-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid #f3f4f6;
}

.fbm-wrap {
  padding: 4px 4px 8px;
  font-family: inherit;
}

.fbm-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.fbm-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f0f4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 1.5px solid #c5d0ff;
  flex-shrink: 0;
}

.fbm-title {
  font-size: 16px;
  font-weight: 800;
  color: #101828;
}

.fbm-subtitle {
  font-size: 12px;
  color: #667085;
}

.fbm-section {
  background: #f9fafb;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  border: 1.5px solid #f2f4f7;
}

.fbm-section-label {
  margin-bottom: 8px;
}

.fbm-tier-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
}

.fbm-tier-badge.blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.fbm-tier-badge.orange {
  background: #fef3c7;
  color: #d97706;
}

.fbm-tier-badge.purple {
  background: #ede9fe;
  color: #7c3aed;
}

.fbm-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #374151;
  padding: 4px 0;
}

.fbm-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 6px;
  margin-top: 6px;
}

.fbm-subtotal.blue {
  background: #eff6ff;
  color: #1d4ed8;
}

.fbm-subtotal.orange {
  background: #fffbeb;
  color: #b45309;
}

.fbm-subtotal.purple {
  background: #faf5ff;
  color: #6d28d9;
}

.fbm-subtotal strong {
  font-weight: 800;
}

.fbm-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  color: #101828;
  margin-top: 4px;
}

.fbm-total-row strong {
  font-size: 18px;
  font-weight: 800;
  color: #16a34a;
}

.fbm-close-btn {
  margin-top: 18px;
  width: 100%;
  padding: 10px;
  background: #1d4ed8;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.fbm-close-btn:hover {
  background: #1e40af;
}

.fsd-wrap {
  padding: 4px 4px 8px;
  font-family: inherit;
}

.fsd-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.fsd-header-icon {
  width: 44px;
  height: 44px;
  background: #fef9c3;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 1.5px solid #fde68a;
  flex-shrink: 0;
}

.fsd-title {
  font-size: 16px;
  font-weight: 800;
  color: #101828;
}

.fsd-subtitle {
  font-size: 12px;
  color: #667085;
}

.fsd-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fsd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.15s;
}

.fsd-row:hover {
  background: #f9fafb;
}

.fsd-row.total {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  margin-top: 4px;
}

.fsd-row-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #374151;
}

.fsd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.fsd-dot.blue {
  background: #3b82f6;
}

.fsd-dot.orange {
  background: #f59e0b;
}

.fsd-dot.purple {
  background: #8b5cf6;
}

.fsd-dot.green {
  background: #16a34a;
}

.fsd-amount {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.fsd-total {
  font-size: 16px;
  font-weight: 800;
  color: #16a34a;
}

.fsd-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 8px 0;
}

.fsd-note {
  margin-top: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: #92400e;
  line-height: 1.5;
}

.fsd-close-btn {
  margin-top: 20px;
  width: 100%;
  padding: 10px;
  background: #1d4ed8;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.fsd-close-btn:hover {
  background: #1e40af;
}

.profile-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.corp-badge {
  font-weight: 600;
  font-size: 14px;
  color: #fff !important;
  background: radial-gradient(circle, #2e77f2, #59c7fa);
  border-radius: 20px;
  padding: 2px 8px;
  margin-top: 3px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.01em;
  font-family: var(--HeadingFont) !important;
}

.corp-badge-no-company {
  font-size: 14px;
  color: #6B7280;
  background: #F3F4F6;
  border: 1px solid #D1D5DB;
  border-radius: 20px;
  padding: 2px 8px;
  margin-top: 3px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--HeadingFont) !important;
}

.badge-empty {
  background: #9CA3AF;
}

.help-hero {
  text-align: center;
  padding: 36px 24px 32px;
  border-radius: 16px;
  background: #EFF6FF;
  border: 1px solid #DDD6FE;
  margin-bottom: 28px;
}

.help-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle, #2e77f2, #59c7fa);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.help-hero-title {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 10px;
}

.help-hero-desc {
  font-size: 14px;
  color: #4B5563;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

.help-section-label {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 14px;
}

.help-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.help-feature-card {
  padding: 18px 16px;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  background: #fff;
}

.help-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 18px;
}

.help-feature-icon span {
  font-size: 24px !important;
}

.help-feature-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 5px;
}

.help-feature-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.55;
}

.help-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #E5E7EB;
}

.help-contact-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.help-contact-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle, #2e77f2, #59c7fa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.help-contact-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 3px;
}

.help-contact-sub {
  font-size: 14px;
  color: #6B7280;
}

.help-info-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #FAFAFA;
  border: 1px solid #E5E7EB;
  margin-bottom: 28px;
}

.help-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #374151;
  line-height: 1.5;
}

.help-info-item span.material-symbols-outlined {
  font-size: 17px;
  color: #3f97f5;
  margin-top: 1px;
  flex-shrink: 0;
}

.hl-page {
  padding: 0;
}

.hl-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.hl-stat-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hl-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  flex-shrink: 0;
}

.hl-stat-icon.blue {
  background: #EFF6FF;
  color: #1a73e8;
}

.hl-stat-icon.green {
  background: #D1FAE5;
  color: #057A55;
}

.hl-stat-icon.amber {
  background: #FEF3C7;
  color: #92400E;
}

.hl-stat-icon.red {
  background: #FEE2E2;
  color: #B42318;
}

.hl-stat-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #9CA3AF;
  font-family: var(--HeadingFont);
  margin-bottom: 2px;
}

.hl-stat-value {
  font-size: 19px;
  font-weight: 700;
  color: #111827;
  font-family: var(--HeadingFont);
}

.hl-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
}

.hl-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid #E5E7EB;
  background: #FAFAFA;
}

.hl-card-head-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hl-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #EFF6FF;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.hl-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  font-family: var(--HeadingFont);
}

.hl-card-sub {
  font-size: 13px;
  color: #9CA3AF;
  margin-top: 1px;
  font-family: var(--HeadingFont);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hl-demo-tag {
  font-size: 10.5px;
  font-weight: 700;
  color: #92400E;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  padding: 2px 9px;
  border-radius: 10px;
}

.hl-card-body {
  padding: 22px;
}

.hl-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid #1a73e8;
  background: #EFF6FF;
  color: #1a73e8;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--HeadingFont);
  transition: all 0.15s;
}

.hl-btn-outline:hover {
  background: #1a73e8;
  color: #fff;
}

.hl-btn-outline:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #EFF6FF;
  color: #1a73e8;
}

.hl-grid {
  font-family: var(--HeadingFont);
}

.hl-grid .rz-grid-table thead th {
  background: #F9FAFB;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #6B7280;
}

.hl-grid .rz-grid-table tbody td {
  font-size: 14px;
  color: #111827;
}

.hl-grid .rz-data-row:hover {
  background: #FAFAFA;
}

.hl-file-name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 320px;
}

.hl-file-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #EFF6FF;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.hl-file-name-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hl-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.hl-pill-downloaded {
  background: #D1FAE5;
  color: #057A55;
}

.hl-pill-downloading {
  background: #DBEAFE;
  color: #1D4ED8;
}

.hl-pill-pending {
  background: #F3F4F6;
  color: #6B7280;
}

.hl-pill-failed {
  background: #FEE2E2;
  color: #B42318;
}

.hl-pill-queued {
  background: #F3F4F6;
  color: #6B7280;
}

.hl-pill-processing {
  background: #FEF3C7;
  color: #92400E;
}

.hl-pill-completed {
  background: #D1FAE5;
  color: #057A55;
}

.hl-row-actions {
  display: flex;
  justify-content: flex-end;
}

.hl-row-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 7px;
  border: 1px solid #1a73e8;
  background: #EFF6FF;
  color: #1a73e8;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--HeadingFont);
  transition: all 0.15s;
  text-decoration: none;
}

.hl-row-btn:hover {
  background: #1a73e8;
  color: #fff;
}

.hl-row-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hl-empty-state {
  text-align: center;
  padding: 48px 20px;
  color: #9CA3AF;
  font-family: var(--HeadingFont);
}

.hl-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #F3F4F6;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 12px;
}

@keyframes hl-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.hl-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid #EEF0F2;
}

.hl-heading-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #EFF6FF;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.hl-heading-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hl-heading-title {
  font-size: 22px;
  font-weight: 400;
  color: #111827;
  font-family: var(--HeadingFont);
  line-height: 1.25;
}

.hl-heading-subtitle {
  font-size: 14px;
  color: #6B7280;
  font-family: var(--HeadingFont);
}

.jpm-page {
  padding: 0;
  margin-top: 20px;
}

.jpm-info-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.jpm-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #DBEAFE;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  margin-right: 14px;
  margin-top: 2px;
}

.jpm-info-title {
  font-size: 14px;
  font-weight: 700;
  color: #1E40AF;
  font-family: var(--HeadingFont);
  margin-bottom: 4px;
}

.jpm-info-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.jpm-info-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #1E40AF;
  font-family: var(--HeadingFont);
}

.jpm-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1a73e8;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.jpm-info-divider {
  width: 1px;
  height: 20px;
  background: #BFDBFE;
  margin: 0 12px;
  align-self: center;
}

.jpm-card {
  background: #fff;
  border: 1px solid #E0D5E8;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}

.jpm-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid #E0D5E8;
  background: #FAFAFA;
}

.jpm-card-head-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.jpm-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #EFF6FF;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.jpm-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  font-family: var(--HeadingFont);
  display: flex;
  align-items: center;
  gap: 8px;
}

.jpm-card-sub {
  font-size: 14px;
  color: #9CA3AF;
  margin-top: 2px;
  font-family: var(--HeadingFont);
}

.jpm-card-body {
  padding: 22px;
}

.jpm-badge-soon {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
  padding: 2px 8px;
  border-radius: 10px;
}

.jpm-status-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.jpm-status-label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #9CA3AF;
  font-family: var(--HeadingFont);
}

.jpm-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--HeadingFont);
}

.jpm-status-connected {
  background: #D1FAE5;
  color: #057A55;
  border: 1px solid #6EE7B7;
}

.jpm-status-disconnected {
  background: #FEE2E2;
  color: #B42318;
  border: 1px solid #FCA5A5;
}

.jpm-status-idle {
  background: #F3F4F6;
  color: #6B7280;
  border: 1px solid #E5E7EB;
}

.jpm-connect-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.jpm-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #E5E7EB;
}

.jpm-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.jpm-meta-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #9CA3AF;
  font-family: var(--HeadingFont);
}

.jpm-meta-value {
  font-size: 14px;
  color: #111827;
  font-family: var(--HeadingFont);
  display: flex;
  align-items: center;
  gap: 6px;
}

.jpm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 10px;
  border: none;
  background: #1a73e8;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--HeadingFont);
  transition: background 0.15s;
}

.jpm-btn:hover {
  background: #1558b0;
}

.jpm-btn:disabled {
  background: #9CA3AF;
  cursor: not-allowed;
}

.jpm-btn.busy {
  background: #F59E0B;
}

.jpm-btn.success {
  background: #057A55;
}

.jpm-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid #1a73e8;
  background: #EFF6FF;
  color: #1a73e8;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--HeadingFont);
  transition: all 0.15s;
}

.jpm-btn-outline:hover {
  background: #1a73e8;
  color: #fff;
}

.jpm-btn-outline:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #EFF6FF;
  color: #1a73e8;
}

.jpm-connect-note {
  font-size: 14px;
  color: #9CA3AF;
  margin-top: 8px;
  font-family: var(--HeadingFont);
  display: flex;
  align-items: center;
  gap: 5px;
}

.jpm-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-top: 16px;
  font-family: var(--HeadingFont);
}

.jpm-alert-success {
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  color: #166534;
}

.jpm-alert-error {
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
}

.jpm-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.jpm-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #E5E7EB;
  background: #F9FAFB;
  border-radius: 10px;
  padding: 8px 14px;
  min-width: 240px;
}

.jpm-search input {
  border: none;
  background: transparent;
  font-family: var(--HeadingFont);
  font-size: 14px;
  flex: 1;
}

.jpm-search input:focus {
  outline: none;
}

.jpm-table-wrap {
  overflow-x: auto;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
}

table.jpm-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--HeadingFont);
}

table.jpm-table thead th {
  background: #F9FAFB;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #6B7280;
  padding: 12px 16px;
  border-bottom: 1px solid #E5E7EB;
  white-space: nowrap;
}

table.jpm-table tbody td {
  padding: 12px 16px;
  font-size: 14px;
  color: #111827;
  border-bottom: 1px solid #F3F4F6;
  vertical-align: middle;
}

table.jpm-table tbody tr:last-child td {
  border-bottom: none;
}

table.jpm-table tbody tr:hover {
  background: #FAFAFA;
}

.jpm-file-name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 280px;
}

.jpm-file-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #EFF6FF;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.jpm-file-icon.folder {
  background: #F3E8FF;
  color: #7E22CE;
}

.jpm-file-name-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jpm-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.jpm-pill-downloaded {
  background: #D1FAE5;
  color: #057A55;
}

.jpm-pill-downloading {
  background: #DBEAFE;
  color: #1D4ED8;
}

.jpm-pill-pending {
  background: #F3F4F6;
  color: #6B7280;
}

.jpm-pill-failed {
  background: #FEE2E2;
  color: #B42318;
}

.jpm-pill-queued {
  background: #F3F4F6;
  color: #6B7280;
}

.jpm-pill-processing {
  background: #FEF3C7;
  color: #92400E;
}

.jpm-pill-completed {
  background: #D1FAE5;
  color: #057A55;
}

.jpm-pill-folder {
  background: #F3E8FF;
  color: #7E22CE;
}

.jpm-row-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 7px;
  border: 1px solid #1a73e8;
  background: #EFF6FF;
  color: #1a73e8;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--HeadingFont);
  transition: all 0.15s;
}

.jpm-row-btn:hover {
  background: #1a73e8;
  color: #fff;
}

.jpm-row-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.jpm-empty-state {
  text-align: center;
  padding: 48px 20px;
  color: #9CA3AF;
  font-family: var(--HeadingFont);
}

.jpm-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #F3F4F6;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 12px;
}

.jpm-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px dashed #E5E7EB;
}

.jpm-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.jpm-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.jpm-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #D1D5DB;
  border-radius: 24px;
  transition: 0.2s;
}

.jpm-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
}

.jpm-switch input:checked + .jpm-slider {
  background: #057A55;
}

.jpm-switch input:checked + .jpm-slider:before {
  transform: translateX(20px);
}

.jpm-switch input:disabled + .jpm-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.jpm-slot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.jpm-slot-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 14px;
  font-family: var(--HeadingFont);
  color: #111827;
}

.jpm-slot-input {
  border: none;
  background: transparent;
  font-family: var(--HeadingFont);
  font-size: 14px;
  color: #111827;
  width: 84px;
}

.jpm-slot-input:focus {
  outline: none;
}

.jpm-slot-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: #FEE2E2;
  color: #B42318;
  cursor: pointer;
  font-size: 13px;
}

.jpm-slot-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px dashed #93C5FD;
  background: #fff;
  color: #1a73e8;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--HeadingFont);
}

.jpm-slot-add:hover {
  background: #EFF6FF;
}

.jpm-slot-add:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.jpm-limit-note {
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 8px;
  font-family: var(--HeadingFont);
}

.jpm-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(15, 10, 30, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
}

.jpm-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  padding: 36px 32px;
  text-align: center;
  width: 400px;
  max-width: 95vw;
  animation: jpm-pop 0.25s ease;
}

@keyframes jpm-pop {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.jpm-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #D1FAE5;
  color: #057A55;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 18px;
}

.jpm-modal-icon.error {
  background: #FEE2E2;
  color: #B42318;
}

.jpm-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  font-family: var(--HeadingFont);
  margin-bottom: 8px;
}

.jpm-modal-sub {
  font-size: 14px;
  color: #6B7280;
  font-family: var(--HeadingFont);
  line-height: 1.5;
  margin-bottom: 24px;
}

.jpm-modal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 28px;
  border-radius: 10px;
  border: none;
  background: #057A55;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--HeadingFont);
}

.jpm-disabled {
  opacity: 0.5;
  pointer-events: none;
}

@keyframes jpm-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.payout-tabs .rz-tabview-nav {
  border-bottom: 2px solid #E5E7EB;
}

.payout-tabs .rz-tabview-selected {
  font-weight: 700 !important;
}

.payout-tabs .rz-badge {
  margin-left: 6px;
  font-size: 10px;
}

.toggle-add-bank-btn {
  background: transparent;
  border: 1px solid #93C5FD;
  color: #2365D3;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.toggle-add-bank-btn:hover {
  background: #DBEAFE;
}

.payout-summary-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.payout-summary-card {
  flex: 1 1 220px;
  background: #fff;
  border: 1px solid #E0D5E8;
  border-radius: 14px;
  padding: 16px 20px;
  position: relative;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  overflow: hidden;
}

.payout-summary-card:hover {
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.payout-summary-label {
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.payout-summary-value {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-top: 6px;
}

.payout-summary-value.accent {
  color: #2365D3;
}

.payout-summary-card.accent-blue::before, .payout-summary-card.accent-green::before, .payout-summary-card.accent-purple::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.payout-summary-card.accent-blue::before {
  background: #2365D3;
}

.payout-summary-card.accent-green::before {
  background: #057A55;
}

.payout-summary-card.accent-purple::before {
  background: #7C3AED;
}

.payout-summary-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.payout-summary-icon.blue {
  background: #DBEAFE;
  color: #2365D3;
}

.payout-summary-icon.green {
  background: #DCFCE7;
  color: #057A55;
}

.payout-summary-icon.purple {
  background: #EDE9FE;
  color: #7C3AED;
}

.section-icon-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #EFF6FF;
  color: #2365D3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  flex-shrink: 0;
}

.details-table {
  width: 100%;
  border-collapse: collapse;
}

.details-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #F1F1F1;
  font-size: 13px;
  vertical-align: middle;
}

.details-table td:first-child {
  width: 200px;
  color: #6b7280;
  font-weight: 600;
}

.details-table tr.highlight td {
  background: #FBF7FF;
}

.bank-summary-balance {
  font-size: 14px;
  font-weight: 700;
  color: #057A55;
  background: #E6F9F0;
  border: 1px solid #057A55;
  border-radius: 20px;
  padding: 4px 14px;
}

.payout-disabled-note {
  font-size: 12px;
  color: #B45309;
  margin-top: 6px;
}

.amount-input-wrap {
  position: relative;
  width: 100%;
}

.amount-currency-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  color: #475569;
  pointer-events: none;
}

input#payoutAmountInput {
  padding-left: 30px !important;
}

.status-toggle-btn {
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.status-toggle-btn:hover {
  filter: brightness(0.92);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.status-toggle-btn:active {
  transform: translateY(0);
  filter: brightness(0.85);
}

.page-info-bar {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 100%);
  border: 1px solid #DBEAFE;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.page-info-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1 1 200px;
  min-width: 180px;
}

.page-info-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #2365D3;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.page-info-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 2px;
}

.page-info-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
}

.page-info-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93C5FD;
  font-size: 22px;
  font-weight: 700;
  padding: 0 14px;
  flex: 0 0 auto;
}

.target-balance-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.target-balance-opt {
  flex: 1 1 150px;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.15s;
}

.target-balance-opt.selected {
  border-color: #2365D3;
  background: #EFF6FF;
}

.target-balance-opt .tb-title {
  font-weight: 700;
  font-size: 14px;
  color: #1f2937;
}

.target-balance-opt .tb-sub {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

.no-fee-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #057A55;
  background: #E6F9F0;
  border: 1px solid #057A55;
  border-radius: 20px;
  padding: 3px 10px;
  margin-left: 8px;
}

.fld-wrap {
  padding: 4px 2px 16px;
  font-family: var(--HeadingFont) !important;
}

.fld-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px !important;
  border-radius: 10px 10px 0 0;
  border: 1px solid #E5E7EB;
  border-left: 4px solid #DC2626;
  background: #fff;
  margin-bottom: 14px;
  font-family: var(--HeadingFont) !important;
}

.fld-header.status-approved {
  border-left-color: #16A34A;
}

.fld-header.status-completed {
  border-left-color: #0F766E;
}

.fld-header.status-rejected {
  border-left-color: #DC2626;
}

.fld-header.status-pending {
  border-left-color: #1976D2;
}

.fld-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #EFF6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  color: #1D4ED8;
  flex-shrink: 0;
  font-family: var(--HeadingFont) !important;
}

.fld-amount {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  font-family: var(--HeadingFont) !important;
}

.fld-meta {
  font-size: 13px;
  color: #6B7280;
  margin-top: 3px;
  font-family: var(--HeadingFont) !important;
}

.fld-alert {
  border-radius: 9px;
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.55;
  font-family: var(--HeadingFont) !important;
}

.fld-alert-danger {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.fld-alert-warning {
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  color: #92400E;
}

.fld-alert-success {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
}

.fld-alert-info {
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  color: #6B7280;
}

.fld-alert-title {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 14px;
  font-family: var(--HeadingFont) !important;
}

.fld-section-heading {
  font-size: 13px;
  font-weight: 700;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 18px 0 10px;
  font-family: var(--HeadingFont) !important;
}

.fld-period-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fld-period-card {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--HeadingFont) !important;
}

.fld-period-card.exceeded {
  border-color: #FECACA;
  background: #FEF2F2;
}

.fld-period-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-family: var(--HeadingFont) !important;
}

.fld-period-used {
  font-size: 12px;
  color: #6B7280;
  margin-top: 4px;
  line-height: 1.6;
  font-family: var(--HeadingFont) !important;
}

.fld-bar-track {
  height: 6px;
  background: #E5E7EB;
  border-radius: 3px;
  overflow: hidden;
  margin: 6px 0 4px;
}

.fld-bar-fill {
  height: 100%;
  border-radius: 3px;
}

.fld-fill-ok {
  background: #16A34A;
}

.fld-fill-warn {
  background: #D97706;
}

.fld-fill-danger {
  background: #DC2626;
}

.fld-impact {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  margin-top: 8px;
  display: inline-block;
  font-family: var(--HeadingFont) !important;
}

.fld-impact-danger {
  background: #FEE2E2;
  color: #991B1B;
}

.fld-impact-ok {
  background: #DCFCE7;
  color: #166534;
}

.fld-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 14px;
  font-family: var(--HeadingFont) !important;
}

.fld-field-label {
  font-size: 12px;
  color: #6B7280;
  margin-bottom: 3px;
  font-family: var(--HeadingFont) !important;
}

.fld-field-value {
  font-size: 14px;
  color: #111827;
  font-weight: 500;
  font-family: var(--HeadingFont) !important;
}

.fld-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: var(--HeadingFont) !important;
}

.fld-pill-pending {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #1D4ED8;
}

.fld-pill-approved {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #92400E;
}

.fld-pill-completed {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #065F46;
}

.fld-pill-rejected {
  background: #FEF2F2;
  color: #B42318;
  border: 1px solid #F04438;
}

.fld-pill-failed {
  background: #FEF2F2;
  color: #B42318;
  border: 1px solid #FECACA;
}

.fld-pill-ok {
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
}

.fld-pill-neutral {
  background: #F3F4F6;
  color: #6B7280;
  border: 1px solid #E5E7EB;
}

.fld-timeline-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #F3F4F6;
  font-family: var(--HeadingFont) !important;
}

.fld-timeline-item:last-child {
  border-bottom: none;
}

.fld-timeline-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

.fld-dot-pending {
  background: #3B82F6;
}

.fld-dot-approved {
  background: #16A34A;
}

.fld-dot-rejected {
  background: #DC2626;
}

.fld-dot-neutral {
  background: #D1D5DB;
}

.fld-timeline-label {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  font-family: var(--HeadingFont) !important;
}

.fld-timeline-sub {
  font-size: 12px;
  color: #6B7280;
  margin-top: 2px;
  font-family: var(--HeadingFont) !important;
}

.fld-divider {
  height: 1px;
  background: #F3F4F6;
  margin: 4px 0 14px;
}

.fld-action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid #F3F4F6;
  margin-top: 4px;
  justify-content: end;
  font-family: var(--HeadingFont) !important;
}

.logs-page {
  padding: 0;
}

.log-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 1.25rem;
}

.log-stat {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--HeadingFont);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.log-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.log-stat-icon .material-icons {
  font-size: 21px;
}

.log-stat-num {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

.log-stat-lbl {
  font-size: 12.5px;
  color: #6b7280;
  margin-top: 2px;
}

.log-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #EEF2FF;
  color: #1D4ED8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--HeadingFont);
}

.log-expand-detail {
  padding: 16px 22px;
  background: #F9FAFB;
  border-top: 1px solid #E5E7EB;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 22px;
}

.log-expand-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.log-expand-label {
  font-size: 11px;
  color: #9CA3AF;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--HeadingFont);
}

.log-expand-value {
  font-size: 13px;
  color: #111827;
  font-weight: 500;
  font-family: var(--HeadingFont);
  line-height: 1.6;
}

.log-expand-bullets {
  margin: 4px 0 0 18px;
  padding: 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: #374151;
}

.log-record-badge {
  display: inline-block;
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #1d4ed8;
  background: #eff6ff;
  padding: 2px 10px;
  border-radius: 20px;
  width: fit-content;
  font-family: var(--HeadingFont);
}

.log-device-chip {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  color: #374151;
  background: #fff;
  border: 1px solid #E5E7EB;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: var(--HeadingFont);
}

.filter-card {
  background: #fff;
  border: 1px solid #E0D5E8;
  border-radius: 19px;
  padding: 20px;
  box-shadow: none;
  margin-bottom: 1.25rem;
  font-family: var(--HeadingFont);
}

.logs-filter-toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  cursor: pointer;
}

.logs-filter-toggle-label {
  font-size: 15px;
  color: #374151;
  font-weight: 500;
  font-family: var(--HeadingFont);
}

.filter-body {
  margin-top: 1.25rem;
}

.action-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-family: var(--HeadingFont);
}

.pill-login {
  background: #e0fdf4;
  color: #065f46;
}

.pill-logout {
  background: #fee2e2;
  color: #991b1b;
}

.pill-create {
  background: #eff6ff;
  color: #1d4ed8;
}

.pill-update {
  background: #fef9c3;
  color: #854d0e;
}

.pill-delete {
  background: #fee2e2;
  color: #991b1b;
}

.pill-view {
  background: #f3f4f6;
  color: #374151;
}

.pill-default {
  background: #f3f4f6;
  color: #6b7280;
}

.pill-success {
  background: #dcfce7;
  color: #15803d;
}

.pill-fail {
  background: #fee2e2;
  color: #991b1b;
}

.table-card {
  background: #fff;
  border: 1px solid #E0D5E8;
  border-radius: 19px;
  padding: 20px;
  box-shadow: none;
  margin-bottom: 1.25rem;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.table-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  font-family: var(--HeadingFont);
}

.table-meta {
  font-size: 14px;
  color: #6b7280;
  font-family: var(--HeadingFont);
}

.filter-result-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #fde68a;
  border-radius: 20px;
  font-size: 14px;
  padding: 3px 12px;
  font-weight: 600;
  font-family: var(--HeadingFont);
}

.log-terminal {
  background: #111827;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.term-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: #1f2937;
  border-bottom: 1px solid #374151;
}

.term-dots {
  display: flex;
  gap: 6px;
}

.term-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.term-name {
  font-size: 14px;
  color: #9ca3af;
  font-family: var(--HeadingFont);
}

.term-filter-badge {
  font-size: 11px;
  background: #422006;
  color: #fbbf24;
  padding: 2px 10px;
  border-radius: 20px;
  font-family: var(--HeadingFont);
}

.term-body {
  padding: 1rem 1.25rem;
}

.corp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #1f2937;
  margin-bottom: 4px;
}

.corp-row:hover {
  background: #1f2937;
}

.corp-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logs-corp-name {
  font-size: 14px;
  color: #60a5fa;
  font-weight: 600;
  font-family: var(--HeadingFont);
}

.corp-meta {
  font-size: 14px;
  color: #6b7280;
  font-family: var(--HeadingFont);
}

.corp-chev {
  font-size: 16px;
  color: #4b5563;
  transition: transform 0.15s;
}

.corp-chev.open {
  transform: rotate(90deg);
  color: #f59e0b;
}

.seg-row {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
}

.seg-row:hover {
  background: #1f2937;
}

.seg-range {
  font-size: 14px;
  color: #9ca3af;
  font-family: var(--HeadingFont);
}

.seg-count {
  font-size: 14px;
  color: #4b5563;
  font-family: var(--HeadingFont);
}

.seg-chev {
  font-size: 14px;
  color: #4b5563;
  transition: transform 0.15s;
}

.seg-chev.open {
  transform: rotate(90deg);
  color: #f59e0b;
}

.log-line {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 2px 0;
  font-family: var(--HeadingFont);
  font-size: 12px;
  line-height: 1.7;
}

.log-time {
  color: #4b5563;
  flex-shrink: 0;
  font-size: 14px;
}

.log-level {
  font-weight: 700;
  flex-shrink: 0;
}

.log-msg {
  color: #d1d5db;
  font-size: 14px;
}

.empty-term {
  color: #4b5563;
  font-size: 14px;
  font-family: var(--HeadingFont);
  font-style: italic;
  padding: 0.5rem 0;
}

@media (max-width: 640px) {
  .log-stats {
    grid-template-columns: 1fr 1fr;
  }
}
.notes-dialog {
  padding: 4px 8px 8px;
  font-family: var(--HeadingFont) !important;
}

.nd-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 24px;
  font-family: var(--HeadingFont);
}

.nd-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--HeadingFont);
}

.nd-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #9ca3af;
  transition: all 0.2s;
  font-family: var(--HeadingFont);
}

.nd-step.nd-active .nd-circle {
  border-color: #1D4ED8;
  color: #1D4ED8;
  background: #F5F3FF;
}

.nd-step.nd-done .nd-circle {
  border-color: #059669;
  background: #059669;
  color: #fff;
}

.nd-label {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
  font-family: var(--HeadingFont);
}

.nd-step.nd-active .nd-label {
  color: #1D4ED8;
  font-weight: 600;
}

.nd-step.nd-done .nd-label {
  color: #059669;
}

.nd-line {
  flex: 1;
  height: 2px;
  background: #e5e7eb;
  margin: 0 6px;
  margin-bottom: 18px;
  transition: background 0.3s;
}

.nd-line-done {
  background: #059669;
}

.nd-section-header {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
  font-family: var(--HeadingFont);
}

.nd-optional {
  font-weight: 400;
  color: #9ca3af;
  font-size: 14px;
  font-family: var(--HeadingFont);
}

.nd-hint {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 16px;
  margin-top: 0;
  font-family: var(--HeadingFont);
}

.nd-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.nd-tag {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid #D1D5DB;
  background: #F9FAFB;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--HeadingFont);
}

.nd-tag:hover {
  border-color: #1D4ED8;
  color: #1D4ED8;
  background: #E8F0FE;
}

.nd-tag-selected {
  border-color: #1D4ED8 !important;
  background: #E8F0FE !important;
  color: #1D4ED8 !important;
  font-weight: 600;
}

.nd-tag-sm {
  padding: 4px 10px;
  font-size: 13px;
}

.nd-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nd-email-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid #E5E7EB;
  background: #F9FAFB;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--HeadingFont);
}

.nd-email-row:hover {
  border-color: #93C5FD;
  background: #EFF6FF;
}

.nd-email-row.nd-email-selected {
  border-color: #1D4ED8;
  background: #EFF6FF;
}

.nd-email-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #D1D5DB;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
}

.nd-email-row.nd-email-selected .nd-email-check {
  border-color: #1D4ED8;
  background: #1D4ED8;
}

.nd-email-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nd-email-address {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  font-family: var(--HeadingFont);
}

.nd-email-label-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 20px;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  font-size: 13px;
  font-weight: 500;
  color: #6B7280;
  font-family: var(--HeadingFont);
}

.nd-primary-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 20px;
  background: #DCFCE7;
  border: 1px solid #BBF7D0;
  font-size: 11px;
  font-weight: 600;
  color: #15803D;
  flex-shrink: 0;
  font-family: var(--HeadingFont);
}

.nd-delivery-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1D4ED8;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12.5px;
  font-weight: 500;
  font-family: var(--HeadingFont);
}

.nd-internal {
  background: #F3F4F6;
  border-color: #D1D5DB;
  color: #6b7280;
}

.nd-textarea {
  width: 100%;
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--HeadingFont);
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
  line-height: 1.6;
}

.nd-textarea:focus {
  border-color: #1D4ED8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.nd-textarea::placeholder {
  color: #9ca3af;
}

.nd-char-count {
  font-size: 13px;
  color: #9ca3af;
  text-align: right;
  margin-top: 4px;
  font-family: var(--HeadingFont);
  transition: color 0.15s;
}

.nd-char-count.nd-char-warn {
  color: #B45309;
  font-weight: 600;
}

.nd-char-count.nd-char-error {
  color: #DC2626;
  font-weight: 700;
}

.nd-toggle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.nd-toggle-label {
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  font-family: var(--HeadingFont);
}

.nd-review-block {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 10px;
  font-family: var(--HeadingFont);
}

.nd-review-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #9ca3af;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-family: var(--HeadingFont);
}

.nd-review-value {
  font-size: 14px;
  color: #111827;
  font-family: var(--HeadingFont);
}

.nd-name {
  font-weight: 700;
  font-size: 15px;
}

.nd-email {
  color: #6b7280;
  font-size: 13px;
  margin-top: 2px;
}

.nd-message-preview {
  white-space: pre-wrap;
  color: #374151;
  font-size: 13px;
  font-family: var(--HeadingFont);
}

.nd-confirm-intro {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 14px;
  font-family: var(--HeadingFont);
}

.nd-alert-info {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: #1D4ED8;
  margin-top: 4px;
  margin-bottom: 4px;
  font-family: var(--HeadingFont);
}

.nd-validation {
  font-size: 14px;
  color: #DC2626;
  font-weight: 500;
  margin-bottom: 8px;
  font-family: var(--HeadingFont);
}

.nd-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #F3F4F6;
}

.nd-btn {
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  font-family: var(--HeadingFont);
}

.nd-btn-ghost {
  background: #F3F4F6;
  color: #374151;
  border: 1px solid #D1D5DB;
}

.nd-btn-ghost:hover {
  background: #E5E7EB;
}

.nd-btn-primary {
  background: #1D4ED8;
  color: #fff;
}

.nd-btn-primary:hover {
  background: #1E40AF;
}

.nd-btn-send {
  background: #1D4ED8;
  color: #fff;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.3);
}

.nd-btn-send:hover {
  background: #1E40AF;
}

.nh-wrap {
  padding: 4px 0;
  font-family: var(--HeadingFont, sans-serif);
}

.nh-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  color: #9CA3AF;
  gap: 10px;
  font-size: 14px;
}

.nh-empty-icon {
  font-size: 40px;
  color: #D1D5DB;
}

.nh-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nh-entry {
  display: flex;
  gap: 14px;
  padding: 0 0 24px 0;
  position: relative;
}

.nh-entry:last-child {
  padding-bottom: 0;
}

.nh-entry:last-child .nh-line {
  display: none;
}

.nh-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 32px;
}

.nh-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.nh-dot.info {
  background: #EDE9FE;
  color: #7C3AED;
}

.nh-dot.internal {
  background: #FEF3C7;
  color: #B45309;
}

.nh-dot.approved {
  background: #D1FAE5;
  color: #057A55;
}

.nh-dot.rejected {
  background: #FEE2E2;
  color: #B91C1C;
}

.nh-line {
  flex: 1;
  width: 2px;
  background: #E5E7EB;
  margin-top: 6px;
  min-height: 20px;
}

.nh-body {
  flex: 1;
  min-width: 0;
}

.nh-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 0;
}

.nh-card.internal {
  border-color: #FCD34D;
  background: #FFFBEB;
}

.nh-card.info {
  border-color: #C4B5FD;
  background: #FAFAFE;
}

.nh-card.rejected {
  border-color: #FCA5A5;
  background: #FFFAFA;
}

.nh-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.nh-card-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nh-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nh-type-badge.info {
  background: #EDE9FE;
  color: #7C3AED;
}

.nh-type-badge.internal {
  background: #FEF3C7;
  color: #92400E;
}

.nh-type-badge.rejected {
  background: #FEE2E2;
  color: #B91C1C;
}

.nh-sent-by {
  font-size: 14px;
  color: #6B7280;
}

.nh-timestamp {
  font-size: 13px;
  color: #9CA3AF;
  white-space: nowrap;
  margin-top: 2px;
}

.nh-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.nh-reason-chip {
  font-size: 13px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: #F3F4F6;
  color: #374151;
  border: 1px solid #E5E7EB;
}

.nh-message-box {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  white-space: pre-wrap;
}

.nh-message-box.internal {
  background: #FFFDE7;
  border-color: #FDE68A;
  color: #78350F;
}

.nh-email-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #6B7280;
  margin-top: 6px;
}

.nh-header-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
  border-radius: 12px 12px 0 0;
  margin: -4px -4px 20px -4px;
}

.nh-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #E8F0FE;
  color: #1D4ED8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.nh-header-name {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.nh-header-email {
  font-size: 14px;
  color: #6B7280;
}

.nh-count-badge {
  margin-left: auto;
  font-size: 14px;
  padding: 3px 10px;
  border-radius: 20px;
  background: #E8F0FE;
  color: #1D4ED8;
}

.notif-shell {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 60px);
  background: var(--rz-base-background-color, #f5f6fa);
  font-family: var(--HeadingFont) !important;
}

.notif-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #ffffff;
  border-bottom: 1px solid #E5E7EB;
  flex-shrink: 0;
}

.notif-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notif-bell {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E6F1FB;
  border: 1px solid #B5D4F4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #185FA5;
  flex-shrink: 0;
}

.notif-bell-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #E24B4A;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 5px;
  min-width: 16px;
  text-align: center;
  border: 2px solid #ffffff;
}

.notif-page-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.notif-page-sub {
  font-size: 12px;
  color: #6B7280;
  margin: 0;
}

.notif-mark-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  color: #185FA5;
  background: transparent;
  border: 1px solid #B5D4F4;
  border-radius: 8px;
  padding: 6px 13px;
  cursor: pointer;
  font-family: var(--HeadingFont) !important;
  transition: background 0.12s;
}

.notif-mark-all:hover {
  background: #E6F1FB;
}

.notif-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.notif-list {
  width: 280px;
  min-width: 280px;
  border-right: 1px solid #E5E7EB;
  background: #F9FAFB;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.notif-list-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px 8px;
}

.notif-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid #E5E7EB;
  background: #ffffff;
  cursor: pointer;
  position: relative;
  transition: background 0.12s, border-color 0.12s;
}

.notif-card:hover {
  background: #F5F7FF;
  border-color: #C5D3F0;
}

.notif-card.selected {
  background: #E6F1FB;
  border-color: #378ADD;
}

.notif-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.av-blue {
  background: #E6F1FB;
  color: #0C447C;
}

.av-amber {
  background: #FAEEDA;
  color: #633806;
}

.av-gray {
  background: #F1EFE8;
  color: #5F5E5A;
}

.av-green {
  background: #EAF3DE;
  color: #3B6D11;
}

.notif-card-body {
  flex: 1;
  min-width: 0;
}

.notif-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.notif-sender {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.notif-time {
  font-size: 13px;
  color: #9CA3AF;
  white-space: nowrap;
}

.notif-subject {
  font-size: 14px;
  color: #374151;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notif-card.unread .notif-subject {
  color: #111827;
}

.notif-preview {
  font-size: 13px;
  color: #9CA3AF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notif-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: 999px;
  margin-top: 5px;
}

.tag-alert {
  background: #FCEBEB;
  color: #791F1F;
  border: 1px solid #F09595;
}

.tag-system {
  background: #E6F1FB;
  color: #0C447C;
  border: 1px solid #B5D4F4;
}

.tag-news {
  background: #F1EFE8;
  color: #444441;
  border: 1px solid #D3D1C7;
}

.tag-welcome {
  background: #EAF3DE;
  color: #3B6D11;
  border: 1px solid #C0DD97;
}

.tag-action {
  background: #FAEEDA;
  color: #633806;
  border: 1px solid #FAC775;
}

.notif-unread-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #378ADD;
  flex-shrink: 0;
  margin-top: 5px;
}

.notif-detail {
  flex: 1;
  overflow-y: auto;
  padding: 22px 26px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.notif-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #9CA3AF;
  font-size: 13px;
}

.notif-empty-icon {
  font-size: 42px;
  color: #D1D5DB;
}

.notif-detail-sender-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.av-lg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.notif-detail-name {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.notif-detail-role {
  font-size: 13px;
  color: #6B7280;
}

.notif-detail-time {
  margin-left: auto;
  font-size: 13px;
  color: #9CA3AF;
}

.notif-detail-subject {
  font-size: 18px;
  color: #111827;
  margin: 0 0 14px;
  line-height: 1.4;
}

.notif-to-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 14px;
}

.to-label {
  color: #9CA3AF;
}

.to-chip {
  background: #E6F1FB;
  color: #0C447C;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #B5D4F4;
}

.notif-detail-body {
  font-size: 14px;
  line-height: 1.8;
  color: #374151;
  padding-bottom: 18px;
  border-bottom: 1px solid #E5E7EB;
  margin-bottom: 16px;
  flex: 1;
}

.notif-detail-body p {
  margin: 0 0 10px;
}

.notif-detail-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.act-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  background: transparent;
  color: #6B7280;
  cursor: pointer;
  font-family: var(--HeadingFont) !important;
  transition: all 0.12s;
}

.act-btn:hover {
  background: #F3F4F6;
  color: #111827;
}

.act-btn-danger:hover {
  background: #FCEBEB;
  border-color: #F09595;
  color: #791F1F;
}

.notif-composer {
  border: 1px solid #E5E7EB;
  border-radius: 12px;
}

.composer-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
}

.composer-header-label {
  font-size: 13px;
  color: #6B7280;
}

.composer-textarea {
  width: 100%;
  border: none;
  outline: none;
  background: #ffffff;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--HeadingFont) !important;
  color: #374151;
  resize: none;
  box-sizing: border-box;
  min-height: 72px;
  line-height: 1.6;
}

.composer-textarea::placeholder {
  color: #9CA3AF;
}

.composer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  background: #F9FAFB;
  border-top: 1px solid #E5E7EB;
}

.composer-hint {
  font-size: 13px;
  color: #9CA3AF;
}

.send-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 8px;
  border: none;
  background: #185FA5;
  color: #ffffff;
  cursor: pointer;
  font-family: var(--HeadingFont) !important;
  transition: background 0.12s;
}

.send-btn:hover {
  background: #145088;
}

.send-btn:disabled {
  background: #B5D4F4;
  cursor: not-allowed;
}

.ap-shell {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-family: var(--HeadingFont) !important;
}

.ap-page-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-page-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.profile-page-sub {
  font-size: 14px;
  color: #6B7280;
  margin: 4px 0 0;
}

.profile-card {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
}

.ap-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  color: #111827;
  margin-bottom: 6px;
}

.ap-card-desc {
  font-size: 14px;
  color: #6B7280;
  margin: 0 0 20px;
}

.ap-avatar-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  margin-bottom: 24px;
}

.ap-avatar-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #E6F1FB;
  border: 2px solid #B5D4F4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #185FA5;
  flex-shrink: 0;
}

.ap-avatar-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ap-avatar-name {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.ap-avatar-role {
  font-size: 14px;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ap-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: #E6F1FB;
  color: #0C447C;
  border: 1px solid #B5D4F4;
}

.ap-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ap-field-full {
  grid-column: 1/-1;
}

.ap-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ap-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ap-value-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 14px;
  color: #111827;
  font-family: var(--HeadingFont) !important;
  min-height: 42px;
}

.ap-value-box.ap-mono {
  font-family: "Courier New", monospace !important;
  font-size: 13px;
  color: #374151;
  letter-spacing: 0.04em;
}

.ap-value-placeholder {
  color: #9CA3AF;
  font-style: italic;
  font-size: 13px;
}

.ap-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid #E5E7EB;
  background: transparent;
  color: #6B7280;
  cursor: pointer;
  font-family: var(--HeadingFont) !important;
  transition: all 0.12s;
  white-space: nowrap;
  flex-shrink: 0;
}

.ap-copy-btn:hover {
  background: #E6F1FB;
  border-color: #B5D4F4;
  color: #185FA5;
}

.ap-copy-btn.copied {
  background: #EAF3DE;
  border-color: #C0DD97;
  color: #3B6D11;
}

.ap-divider {
  height: 1px;
  background: #E5E7EB;
  margin: 20px 0;
}

.ap-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6B7280;
}

.ap-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
}

.ap-skeleton {
  height: 42px;
  background: linear-gradient(90deg, #F3F4F6 25%, #E5E7EB 50%, #F3F4F6 75%);
  background-size: 200% 100%;
  animation: ap-shimmer 1.4s infinite;
  border-radius: 8px;
}

@keyframes ap-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.ap-balance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.ap-bal-chip {
  padding: 14px 16px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
}

.ap-bal-chip-label {
  font-size: 12px;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.ap-bal-chip-value {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.ap-bal-chip-currency {
  font-size: 11px;
  color: #9CA3AF;
  margin-top: 2px;
}

.restriction-list-page {
  font-family: var(--HeadingFont);
}

.restriction-list-page .material-icons,
.restriction-list-page .rzi,
.restriction-list-page [class*=rz-icon] {
  font-family: "Material Icons" !important;
}

.rl-info-bar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(135deg, #EFF6FF, #F5F9FF);
  border: 1px solid #BFDBFE;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.rl-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: radial-gradient(circle, #2e77f2, #185fa5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(24, 95, 165, 0.25);
}

.rl-info-title {
  font-size: 15px;
  font-weight: 700;
  color: #1E40AF;
  margin-bottom: 4px;
}

.rl-info-sub {
  font-size: 13px;
  color: #3956A6;
  line-height: 1.6;
}

.rl-add-card {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 24px 26px;
  margin-bottom: 24px;
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.05);
}

.rl-add-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rl-add-title .material-icons {
  font-size: 19px;
  color: #185fa5;
}

.rl-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.2fr auto;
  gap: 18px;
  align-items: start;
}

@media (max-width: 900px) {
  .rl-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .rl-form-grid {
    grid-template-columns: 1fr;
  }
}
.rl-form-submit {
  display: flex;
  flex-direction: column;
}

.rl-label--ghost {
  visibility: hidden;
}

.rl-optional {
  text-transform: none;
  font-weight: 400;
  color: #9CA3AF;
  letter-spacing: normal;
}

.rl-type-preview {
  margin-top: 9px;
}

.rl-type-hint {
  margin-top: 8px;
  font-size: 11.5px;
  color: #6B7280;
  line-height: 1.5;
}

.rl-field-group {
  margin-bottom: 4px;
}

.rl-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 7px;
  display: block;
}

.rl-error-text {
  font-size: 12px;
  color: #DC2626;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.rl-table-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 2px 12px;
}

.rl-table-title-left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.rl-table-title-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.rl-table-title-icon--blue {
  background: #E6F1FB;
  color: #185fa5;
}

.rl-table-title-icon--red {
  background: #FEF2F2;
  color: #DC2626;
}

.rl-table-title-icon--green {
  background: #F0FDF4;
  color: #16A34A;
}

.rl-table-title-text {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.rl-table-title-sub {
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 1px;
}

.rl-table-count {
  font-size: 11.5px;
  font-weight: 700;
  color: #6B7280;
  background: #F3F4F6;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.rl-attempts-link {
  cursor: pointer;
  color: #185fa5;
  background: #E6F1FB;
  transition: background 0.15s ease;
}

.rl-attempts-link:hover {
  background: #D6E9FA;
}

.rl-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  background: #F9FAFB;
  border: 1px solid #F0F1F3;
  font-size: 13px;
  color: #111827;
}

.rl-history-row:not(:last-child) {
  margin-bottom: 8px;
}

.rl-history-index {
  font-size: 11px;
  font-weight: 700;
  color: #9CA3AF;
  width: 26px;
}

.rl-table-wrap {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.05);
}

.rl-table-wrap .rz-grid-table tbody tr:hover {
  background: #F9FAFB;
}

.rl-table-wrap .rz-data-grid,
.rl-table-wrap th {
  font-family: var(--HeadingFont);
}

.rl-table-wrap th {
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6B7280 !important;
  background: #FAFAFB !important;
}

.rl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px 5px 9px;
  border-radius: 20px;
  white-space: nowrap;
  border: 1px solid transparent;
}

.rl-badge .material-icons {
  font-size: 13px;
}

.rl-badge--ip {
  background: #E6F1FB;
  color: #185fa5;
  border-color: #BFDDF5;
}

.rl-badge--tld {
  background: #EEF2FF;
  color: #4F46E5;
  border-color: #D6DBFC;
}

.rl-badge--email {
  background: #FFFBEB;
  color: #B45309;
  border-color: #FBE5B8;
}

.rl-badge--domain {
  background: #F5F3FF;
  color: #7C3AED;
  border-color: #DDD6FE;
}

.rl-badge--blocked {
  background: #FEF2F2;
  color: #B91C1C;
  border-color: #FBD5D5;
}

.rl-badge--override {
  background: #F0FDF4;
  color: #15803D;
  border-color: #BFF0CE;
}

.rl-mono {
  font-family: "Courier New", monospace;
  font-size: 12.5px;
  color: #111827;
  background: #F3F4F6;
  padding: 2px 8px;
  border-radius: 6px;
}

.rl-empty {
  text-align: center;
  padding: 48px 20px;
  color: #9CA3AF;
  font-size: 13.5px;
}

.rl-empty .material-icons {
  font-size: 32px;
  color: #D1D5DB;
  display: block;
  margin: 0 auto 10px;
}

.rl-reason-cell {
  color: #6B7280;
  font-size: 12.5px;
  max-width: 220px;
}

.rl-modal-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle, #2e77f2, #185fa5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
  box-shadow: 0 3px 8px rgba(24, 95, 165, 0.25);
}

.rl-action-btn {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rl-loading {
  text-align: center;
  padding: 48px 20px;
  color: #9CA3AF;
  font-size: 13.5px;
}

.rev-filter-card {
  border-radius: 16px !important;
  border: 1.5px solid #e0f2fe !important;
  background: #fff !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.07) !important;
}

.rev-filter-header {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.rev-filter-header-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.rev-filter-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rev-filter-body {
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.rev-filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
  align-items: end;
}

.rev-filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.rev-filter-label {
  font-size: 13px;
  font-weight: 700;
  color: #424242;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--HeadingFont) !important;
}

.rev-filter-footer {
  padding: 0.75rem 1.25rem;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.rev-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 999px;
  padding: 2px 10px;
  font-family: var(--HeadingFont) !important;
}

.rev-active-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  flex-shrink: 0;
}

.rev-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1.5px solid #93c5fd;
  border-radius: 999px;
  padding: 0.28rem 0.85rem 0.28rem 0.35rem;
  font-size: 13px;
  font-weight: 600;
  color: #1d4ed8;
  font-family: var(--HeadingFont) !important;
}

.rev-user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--HeadingFont) !important;
}

.rev-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 1100px) {
  .rev-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .rev-kpi-grid {
    grid-template-columns: 1fr;
  }
}
.rev-kpi-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.2rem 1.25rem;
  border: 1.5px solid #f2f4f7;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.rev-kpi-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
}

.rev-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.accent-green::before {
  background: #16a34a;
}

.accent-blue::before {
  background: #2563eb;
}

.accent-purple::before {
  background: #7c3aed;
}

.accent-teal::before {
  background: #0d9488;
}

.accent-indigo::before {
  background: #4338ca;
}

.accent-rose::before {
  background: #e11d48;
}

.pulse-green {
  animation: pulseCard 2.5s infinite;
}

@keyframes pulseCard {
  0%, 100% {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  }
  50% {
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.2);
  }
}
.kpi-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.green-bg {
  background: #dcfce7;
}

.blue-bg {
  background: #dbeafe;
}

.purple-bg {
  background: #ede9fe;
}

.teal-bg {
  background: #ccfbf1;
}

.indigo-bg {
  background: #e0e7ff;
}

.rose-bg {
  background: #ffe4e6;
}

.kpi-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.kpi-label {
  font-size: 14px;
  color: #667085;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--HeadingFont) !important;
}

.kpi-value {
  font-size: 22px;
  line-height: 1.1;
  font-family: var(--HeadingFont) !important;
}

.kpi-sub {
  font-size: 12px;
  color: #98a2b3;
  font-family: var(--HeadingFont) !important;
}

.kpi-value.green {
  color: #16a34a;
}

.kpi-value.blue {
  color: #2563eb;
}

.kpi-value.purple {
  color: #7c3aed;
}

.kpi-value.teal {
  color: #0d9488;
}

.kpi-value.indigo {
  color: #4338ca;
}

.kpi-value.rose {
  color: #e11d48;
}

.rev-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.rev-skeleton-card {
  background: #f9fafb;
  border-radius: 14px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border: 1.5px solid #f2f4f7;
}

.sk-line {
  background: #e5e7eb;
  border-radius: 4px;
  animation: shimmer 1.4s infinite;
}

.sk-short {
  height: 10px;
  width: 60%;
}

.sk-tall {
  height: 28px;
  width: 80%;
}

.sk-medium {
  height: 10px;
  width: 45%;
}

@keyframes shimmer {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.custom-modal {
  background: white;
  width: 900px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
}

.row-expand-area {
  padding: 14px 18px;
  background: #F8F9FA;
  border-top: 1px solid #E0D5E8;
  border-radius: 0 0 8px 8px;
}

.row-expand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.row-expand-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.row-expand-label {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.row-expand-value {
  font-size: 13px;
  color: #374151;
  font-weight: 500;
}

.expand-badge-yes {
  display: inline-block;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
}

.expand-badge-no {
  display: inline-block;
  background: #F3F4F6;
  color: #6B7280;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
}

.expand-badge-active {
  display: inline-block;
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
}

.row-expand-note {
  margin-top: 10px;
  font-size: 14px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 6px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.row-expand-note .material-icons {
  font-size: 14px;
  color: #3B82F6;
}

@media (max-width: 900px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .period-cards-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .search-row {
    flex-direction: column;
  }
  .load-btn {
    width: 100%;
  }
  .section-block {
    padding: 18px 16px;
  }
  .period-cards-row {
    grid-template-columns: 1fr;
  }
}
.disabled-menu {
  color: #8c8c8c !important;
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
  display: block;
  padding: 8px 12px;
}

.metric-cards-row {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.metric-card {
  background: #F9FAFB;
  border-radius: 10px;
  padding: 14px 18px;
  flex: 1;
  min-width: 130px;
  font-family: var(--HeadingFont) !important;
}

.metric-card-label {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--HeadingFont) !important;
}

.metric-card-value {
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
  font-family: var(--HeadingFont) !important;
}

.metric-card-sub {
  font-size: 14px;
  color: #9CA3AF;
  margin-top: 3px;
  font-family: var(--HeadingFont) !important;
}

.threshold-bar-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.threshold-bar-track {
  flex: 1;
  height: 5px;
  background: #E5E7EB;
  border-radius: 3px;
  overflow: hidden;
}

.threshold-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s;
}

.fill-ok {
  background: #16A34A;
}

.fill-warn {
  background: #D97706;
}

.fill-danger {
  background: #DC2626;
}

.threshold-pct {
  font-size: 12px;
  font-weight: 600;
  min-width: 34px;
  text-align: right;
  font-family: var(--HeadingFont) !important;
}

.pct-ok {
  color: #16A34A;
}

.pct-warn {
  color: #D97706;
}

.pct-danger {
  color: #DC2626;
}

.status-reason-tag {
  font-size: 13px;
  color: #6B7280;
  margin-top: 3px;
  font-style: italic;
  font-family: var(--HeadingFont) !important;
}

.threshold-alert-banner {
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.5;
  font-family: var(--HeadingFont) !important;
}

.threshold-alert-danger {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.threshold-alert-warning {
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  color: #92400E;
}

.threshold-alert-ok {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
}

.threshold-alert-info {
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  color: #6B7280;
}

.threshold-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.threshold-snapshot-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--HeadingFont) !important;
}

.threshold-snapshot-card.danger-border {
  border-color: #FECACA;
}

.threshold-snapshot-card.warn-border {
  border-color: #FCD34D;
}

.snapshot-period {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
  font-family: var(--HeadingFont) !important;
}

.snapshot-used {
  font-size: 12px;
  color: #6B7280;
  margin-bottom: 4px;
  font-family: var(--HeadingFont) !important;
  line-height: 1.6;
}

.snapshot-impact {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  margin-top: 6px;
  font-family: var(--HeadingFont) !important;
}

.snapshot-impact-danger {
  background: #FEF2F2;
  color: #991B1B;
}

.snapshot-impact-warn {
  background: #FFFBEB;
  color: #92400E;
}

.snapshot-impact-ok {
  background: #F0FDF4;
  color: #166534;
}

.ds-metric-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  font-family: var(--HeadingFont) !important;
}

.ds-metric-card {
  flex: 1;
  min-width: 140px;
  background: #F9FAFB;
  border-radius: 10px;
  padding: 14px 18px;
  border: 1px solid #E5E7EB;
  font-family: var(--HeadingFont) !important;
}

.ds-metric-label {
  font-size: 14px;
  font-weight: 700;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  font-family: var(--HeadingFont) !important;
}

.ds-metric-value {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  font-family: var(--HeadingFont) !important;
}

.ds-metric-sub {
  font-size: 14px;
  color: #9CA3AF;
  margin-top: 3px;
  font-family: var(--HeadingFont) !important;
}

.ds-impact-banner {
  border-radius: 9px;
  padding: 11px 14px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--HeadingFont) !important;
}

.ds-impact-info {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
}

.ds-impact-success {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
}

.ds-bar-track {
  height: 6px;
  background: #E5E7EB;
  border-radius: 3px;
  overflow: hidden;
  margin: 5px 0 3px;
}

.ds-bar-fill {
  height: 100%;
  border-radius: 3px;
}

.ds-fill-ok {
  background: #16A34A;
}

.ds-fill-warn {
  background: #D97706;
}

.ds-fill-danger {
  background: #DC2626;
}

.ds-save-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #E5E7EB;
  flex-wrap: wrap;
  font-family: var(--HeadingFont) !important;
}

.ds-save-note {
  font-size: 14px;
  color: #6B7280;
  font-family: var(--HeadingFont) !important;
}

.ds-inputs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 4px;
}

.ds-input-label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
  font-family: var(--HeadingFont) !important;
}

.ds-section-heading {
  font-size: 13px;
  font-weight: 700;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 22px 0 12px;
  font-family: var(--HeadingFont) !important;
}

.ds-breach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 6px;
}

.ds-breach-card {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--HeadingFont) !important;
}

.ds-breach-label {
  font-size: 14px;
  font-weight: 700;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  font-family: var(--HeadingFont) !important;
}

.ds-breach-numbers {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
  font-family: var(--HeadingFont) !important;
}

.ds-breach-count {
  font-size: 22px;
  font-weight: 700;
  color: #1976D2;
  font-family: var(--HeadingFont) !important;
}

.ds-breach-total {
  font-size: 14px;
  color: #6B7280;
  font-family: var(--HeadingFont) !important;
}

.ds-breach-note {
  font-size: 14spx;
  color: #9CA3AF;
  margin-top: 4px;
  font-family: var(--HeadingFont) !important;
}

.ds-pending-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 9px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  font-family: var(--HeadingFont) !important;
}

.ds-pending-corporate {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  font-family: var(--HeadingFont) !important;
}

.ds-pending-meta {
  font-size: 13px;
  color: #6B7280;
  margin-top: 2px;
  font-family: var(--HeadingFont) !important;
}

.ds-pending-reason {
  font-size: 14px;
  padding: 2px 8px;
  border-radius: 20px;
  background: #DBEAFE;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
  white-space: nowrap;
  font-family: var(--HeadingFont) !important;
}

.ds-pending-amount {
  font-size: 15px;
  font-weight: 700;
  color: #1976D2;
  white-space: nowrap;
  font-family: var(--HeadingFont) !important;
}

.ds-trend-row {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 48px;
  margin-top: 10px;
}

.ds-trend-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
}

.ds-trend-bar-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 40px;
  gap: 1px;
}

.ds-trend-approved {
  background: #16A34A;
  border-radius: 2px 2px 0 0;
}

.ds-trend-pending {
  background: #1976D2;
  border-radius: 2px 2px 0 0;
}

.ds-trend-day {
  font-size: 13px;
  color: #9CA3AF;
  font-family: var(--HeadingFont) !important;
}

@media (max-width: 900px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .period-cards-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .search-row {
    flex-direction: column;
  }
  .load-btn {
    width: 100%;
  }
  .section-block {
    padding: 18px 16px;
  }
  .period-cards-row {
    grid-template-columns: 1fr;
  }
}
.td-date-badge {
  display: inline-block;
  background: #f0f4ff;
  color: #3b5bdb;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #c5d0ff;
}

.sv-header-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
  vertical-align: middle;
}

.sv-info-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  margin-bottom: 1rem;
}

.sv-bar-payout {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.sv-bar-float-balance {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

.sv-bar-reserve {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
}

.sv-bar-fee-fixed {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
}

.sv-bar-fee-percentage {
  background: #fdf4ff;
  border: 1px solid #e9d5ff;
  color: #6b21a8;
}

.sv-info-icon {
  font-size: 15px;
}

.sv-info-text {
  line-height: 1.4;
}

.td-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 1100px) {
  .td-summary-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .td-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.td-mini-card {
  background: #f9fafb;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  border: 1.5px solid #e5e7eb;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}

.td-mini-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.td-mini-card.card-green {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.td-mini-card.card-red {
  border-color: #fecaca;
  background: #fef2f2;
}

.td-mini-card.card-blue {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.td-mini-card.card-orange {
  border-color: #fed7aa;
  background: #fff7ed;
}

.td-mini-card.card-purple {
  border-color: #ddd6fe;
  background: #faf5ff;
}

.td-mini-card.card-default {
  border-color: #e5e7eb;
  background: #f9fafb;
}

.td-mini-icon {
  font-size: 18px;
  line-height: 1;
  padding-top: 2px;
}

.td-mini-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.td-mini-label {
  font-size: 11px;
  color: #667085;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.td-mini-value {
  font-size: 18px;
  font-weight: 800;
  color: #101828;
}

.td-mini-hint {
  position: absolute;
  bottom: 5px;
  right: 8px;
  font-size: 10px;
  color: #9ca3af;
  font-style: italic;
}

.td-date-cell {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.td-submitted-label {
  font-size: 9px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.td-date-value {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

.td-desc-main {
  font-weight: 600;
  font-size: 13px;
  color: #101828;
}

.td-ref-id {
  font-size: 11px;
  color: #98a2b3;
  margin-top: 2px;
}

.td-balance {
  font-size: 13px;
  color: #374151;
}

.td-float {
  color: #15803d;
  font-weight: 600;
}

.td-reserve {
  color: #b45309;
  font-weight: 600;
}

.td-debit {
  color: #b42318;
  font-weight: 700;
  font-size: 13px;
}

.td-credit {
  color: #027a48;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.6;
}

.td-dash {
  color: #d1d5db;
  font-size: 16px;
}

.td-source-badge, .td-dest-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 3px;
  vertical-align: middle;
}

.td-source-badge {
  background: #fee2e2;
  color: #b42318;
}

.td-dest-badge {
  background: #dcfce7;
  color: #027a48;
}

.td-fee-link {
  display: inline-block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 700;
  color: #f59e0b;
  text-decoration: underline;
}

.td-fee-fixed {
  font-size: 13px;
  font-weight: 700;
  color: #c2410c;
}

.td-fee-pct {
  font-size: 12px;
  font-weight: 700;
  color: #7e22ce;
}

.td-fee-pct-amt {
  font-size: 11px;
  color: #9ca3af;
}

.sv-badge-all-balances {
  background: #eff8ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.sv-bar-all-balances {
  background: #eff8ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
}

.txn-dialog {
  padding: 0;
  font-size: 14px;
}

.txn-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px 16px;
  border-bottom: 0.5px solid var(--color-border-tertiary);
}

.txn-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-background-secondary);
  border: 0.5px solid var(--color-border-tertiary);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.txn-amount-block {
  margin-left: auto;
  text-align: right;
}

.txn-amount-block .amount-value {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
}

.amount-positive {
  color: var(--color-text-success);
}

.amount-negative {
  color: var(--color-text-danger);
}

.amount-neutral {
  color: var(--color-text-primary);
}

.txn-section {
  padding: 16px 24px;
  border-bottom: 0.5px solid var(--color-border-tertiary);
}

.txn-section:last-child {
  border-bottom: none;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-bottom: 12px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px 24px;
}

.detail-item .d-label {
  font-size: 11px;
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}

.detail-item .d-value {
  font-size: 13px;
  color: var(--color-text-primary);
  word-break: break-word;
}

.fee-breakdown-card {
  background: var(--color-background-secondary);
  border-radius: 10px;
  padding: 14px 16px;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 13px;
}

.fee-row .fee-name {
  color: var(--color-text-secondary);
}

.fee-row .fee-val {
  font-weight: 500;
  color: var(--color-text-primary);
}

.fee-row.total-row {
  border-top: 0.5px solid var(--color-border-tertiary);
  margin-top: 6px;
  padding-top: 10px;
}

.fee-row.total-row .fee-name {
  font-weight: 500;
  color: var(--color-text-primary);
}

.fee-row.total-row .fee-val {
  color: var(--color-text-danger);
}

.balance-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.balance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 10px;
  background: #F9FAFB;
  border: 1px solid #EAECF0;
}

.balance-title {
  font-size: 12px;
  font-weight: 600;
  color: #344054;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.balance-values {
  font-size: 14px;
  font-weight: 700;
  color: #101828;
}

.close-row {
  padding: 14px 24px;
  border-top: 0.5px solid var(--color-border-tertiary);
  display: flex;
  justify-content: flex-end;
}

/*# sourceMappingURL=main.css.map */
